body {
    background: linear-gradient(135deg, #5f7fff 0%, #743dd8 100%);
    min-height: 100vh;
    color: #1f2748;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #172040;
    font-weight: 700;
}

label {
    color: #1f2748;
    font-weight: 600;
}

/* Palette boutons : enregistrer/supprimer en rouge, annuler bien contrasté */
.btn-primary,
.btn-danger,
.btn-outline-danger:hover,
.btn-outline-danger:focus {
    background-color: #c62828;
    border-color: #c62828;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.35);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-danger:hover,
.btn-danger:focus {
    background-color: #a51f24;
    border-color: #a51f24;
}

.btn-outline-primary,
.btn-outline-danger {
    color: #c62828;
    border-color: #c62828;
    font-weight: 600;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: #c62828;
    border-color: #c62828;
    color: #ffffff;
}

.btn-secondary {
    background-color: #2b2f36;
    border-color: #2b2f36;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(43, 47, 54, 0.25);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #1f2127;
    border-color: #1f2127;
}

.btn-outline-secondary {
    color: #1f2127;
    border-color: #1f2127;
    font-weight: 600;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(31, 33, 39, 0.15);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    background-color: #1f2127;
    border-color: #1f2127;
    color: #ffffff;
}

/* Hero Section */
.hero-section {
    background: white;
    border-radius: 0 0 50px 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-logo-main {
    max-width: 400px;
    width: 100%;
    height: auto;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bouton avec dégradé */
.btn-gradient {
    background: linear-gradient(135deg, #ef5350 0%, #c62828 100%);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(198, 40, 40, 0.35);
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #d84343 0%, #b71c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(165, 31, 36, 0.45);
    color: white;
}

.btn-hero-green {
    background: linear-gradient(135deg, #2ecc71 0%, #1f9e4d 100%);
    border: none;
    color: #ffffff;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(31, 158, 77, 0.35);
}

.btn-hero-green:hover,
.btn-hero-green:focus {
    background: linear-gradient(135deg, #25a75e 0%, #15703a 100%);
    color: #ffffff;
    transform: translateY(-3px);
}

.btn-hero-outline-blue {
    border: 2px solid #2f5be7;
    color: #2f5be7;
    background: #ffffff;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(47, 91, 231, 0.15);
}

.btn-hero-outline-blue:hover,
.btn-hero-outline-blue:focus {
    background: #2f5be7;
    color: #ffffff;
    transform: translateY(-3px);
}

/* Features Section */
.features-section {
    background: transparent;
}

.feature-card {
    background: white;
    border-radius: 20px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.feature-card-link:hover {
    text-decoration: none;
}

.feature-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, #4a90e2 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card {
    background-color: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Navbar moderne avec fond blanc */
.navbar {
    background: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 0;
}

.navbar-brand {
    padding: 0;
}

.navbar-text {
    color: #4a90e2 !important;
    font-weight: 600;
    font-size: 1rem;
}

.navbar-logo {
    height: 150px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
    margin-top: -25px;
    margin-bottom: -25px;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

/* Liens navbar avec dégradé au survol */
.navbar-nav .nav-link {
    color: #4a90e2;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background: linear-gradient(135deg, #4a90e2, #667eea);
    color: white;
    transform: translateY(-2px);
}

/* Bouton toggle pour mobile */
.navbar-toggler {
    border-color: #4a90e2;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%234a90e2' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Logo page d'accueil */
.hero-logo {
    max-width: 460px;
    width: 100%;
    height: auto;
}
