/* Variables globales */
:root {
    --bordeaux: #800020;
    --rose: #e6b8c4;
    --blanc: #ffffff;
    --gris: #f4f4f4;
    --text-color: #333;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--blanc);
    line-height: 1.6;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--bordeaux), #5a0018);
    padding: 1rem 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar .logo {
    color: var(--blanc);
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;
    transition: transform 0.3s ease;
}

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.nav-links li a {
    color: var(--blanc);
    text-decoration: none;
    padding: 0.5rem 1rem;
    position: relative;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: 0;
    background-color: var(--rose);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links li a:hover {
    color: var(--rose);
}

/* SECTION */
.section {
    padding: 6rem 2rem;
    text-align: center;
    background-color: var(--gris);
}

.section h2 {
    color: var(--bordeaux);
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--rose);
    margin: 0.5rem auto 2rem;
    border-radius: 2px;
}

/* BOUTON */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, var(--bordeaux), #5a0018);
    color: var(--blanc);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn:hover {
    background: var(--rose);
    color: var(--bordeaux);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* FOOTER */
footer {
    background: linear-gradient(135deg, var(--bordeaux), #5a0018);
    color: var(--blanc);
    text-align: center;
    padding: 2.5rem 1rem;
    margin-top: 3rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 60px;
    height: 4px;
    background-color: var(--rose);
    transform: translateX(-50%);
    border-radius: 2px;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    color: var(--blanc);
    font-size: 1.7rem;
    margin: 0 0.5rem;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    color: var(--rose);
    transform: scale(1.2);
}

/* CARDS GÉNÉRIQUES */
.card {
    background-color: var(--blanc);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .section {
        padding: 4rem 1rem;
    }

    .section h2 {
        font-size: 2.2rem;
    }
}
/* Lien actif */
.nav-links li a.active {
    color: var(--rose);
    font-weight: bold;
    position: relative;
}

.nav-links li a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
    bottom: -2px;
    background-color: var(--rose);
    border-radius: 2px;
}

.navbar .logo {
    display: flex;
    align-items: center; /* Aligne verticalement le logo et le texte */
    gap: 10px; /* Ajoute un espace de 10px entre l'image et le texte */
    text-decoration: none;
    color: var(--blanc); /* Assurez-vous d'avoir une couleur de texte lisible */
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar .logo img {
    height: 50px; /* Ajustez la taille du logo selon vos besoins */
    width: auto;
}

.hero-logo {
    width: 200px; /* Ajustez la taille selon vos besoins */
    height: auto;
    margin-bottom: 2rem; /* Espace sous le logo */
}

.graftic-signature a {
    color: #fff; /* Couleur du lien en blanc */
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.graftic-signature a:hover {
    color: #d1d1d1; /* Changement de couleur au survol */
}