:root {
    --rose-clair: #D2247C;
    --rose-pale: #FFEE3B;
    --bleu: #2F277E;
    --bleu-fonce: #009BDD;
    --vert: #00934A;
    --texte: #2d2d2d;
    --texte-clair: #5a5a5a;
}

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,600;0,6..96,700;1,6..96,400;1,6..96,500;1,6..96,600;1,6..96,700&family=Poppins:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: white;
    color: var(--texte);
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,155,221,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.8rem 5%;
    box-shadow: 0 5px 15px rgba(0,155,221,0.1);
}

.logo img {
    height: 35px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.5rem;
}

nav ul li {
    margin-left: 0;
}
nav ul li:not(:last-child) {
    position: relative;
}
nav ul li:nth-last-child(3) {
    margin-right: 2rem;
}

nav ul li:nth-child(4)::after {
    content: "";
    position: absolute;
    right: -2.75rem;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 1px;
    background-color: rgba(0,0,0,0.1);
}

nav ul li a {
    text-decoration: none;
    color: var(--texte);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--bleu);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--bleu);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a.btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    color: white !important;
    transform: none;
    vertical-align: middle;
    line-height: normal;
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* BOUTONS */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    background-color: var(--rose-clair);
    color: white;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.btn:hover {
    background-color: var(--bleu-fonce);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn:active {
    transform: translateY(-1px);
}

/* SECTIONS */
.section {
    padding: 6rem 5%;
    position: relative;
}

.section-titre {
    font-family: 'Bodoni Moda', serif;
    font-size: 2.5rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--bleu);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-titre::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    bottom: -10px;
    left: 25%;
    background-color: var(--bleu);
}

h1, h2, h3 {
    font-family: 'Bodoni Moda', serif;
    font-weight: 400;
}

/* FOOTER */
.pied-de-page {
    background-color: var(--bleu);
    color: white;
    padding: 4rem 5% 2rem;
}

.conteneur-pied-de-page {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.Réseaux-sociaux {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.Réseaux-sociaux a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.Réseaux-sociaux a:hover {
    transform: translateY(-3px);
}

.Réseaux-sociaux img {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}



.navigation-pied-de-page h3,
.legal-pied-de-page h3, 
.newsletter-pied-de-page h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    color: white;
    font-family: 'Bodoni Moda', serif;
    font-weight: 400;
}

.navigation-pied-de-page h3::after,
.legal-pied-de-page h3::after,
.newsletter-pied-de-page h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    bottom: -8px;
    left: 0;
    background-color: var(--rose-pale);
}

.navigation-pied-de-page ul,
.legal-pied-de-page ul {
    list-style: none;
}

.navigation-pied-de-page li,
.legal-pied-de-page li {
    margin-bottom: 0.8rem;
}

.navigation-pied-de-page a,
.legal-pied-de-page a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.navigation-pied-de-page a:hover,
.legal-pied-de-page a:hover {
    color: var(--rose-pale);
    transform: translateX(5px);
}

.newsletter-pied-de-page p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.formulaire-newsletter {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.formulaire-newsletter input {
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
}

.formulaire-newsletter button {
    background-color: var(--rose-pale);
    color: var(--texte);
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.formulaire-newsletter button:hover {
    background-color: white;
    transform: translateY(-2px);
}

.bas-de-page {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .conteneur-pied-de-page {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .Réseaux-sociaux {
        justify-content: center;
    }
    
    .navigation-pied-de-page,
    .legal-pied-de-page,
    .newsletter-pied-de-page {
        text-align: center;
    }
    
    .navigation-pied-de-page h3::after,
    .legal-pied-de-page h3::after,
    .newsletter-pied-de-page h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .mobile-menu {
        display: block;
        font-size: 1.5rem;
        background: none;
        border: none;
        cursor: pointer;
    }

    nav {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        background: white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transition: left 0.3s;
        padding: 1rem 0;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        padding: 0 2rem;
        gap: 0;
    }

    nav ul li {
        margin: 0;
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 0.8rem 1rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    nav ul li:nth-child(4)::after {
        display: none;
    }

    nav ul li a.btn {
        margin: 0.5rem 1rem;
        display: block;
        text-align: center;
        border: none;
    }
}