* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    scroll-behavior: smooth;
}

/* Accessibility Utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Helper Classes for Inline Icons & Links */
.icon-inline-start {
    margin-right: 4px;
    vertical-align: middle;
    margin-bottom: 2px;
}

.icon-inline-end {
    margin-left: 4px;
    vertical-align: middle;
    margin-bottom: 2px;
}

.btn-icon-start {
    margin-right: 6px;
}

.link-dotted {
    text-decoration: none;
    border-bottom: 1px dotted currentColor;
    font-weight: 500;
    transition: all 0.3s ease;
}

.link-dotted:hover {
    border-bottom-style: solid;
    opacity: 0.8;
}

/* --- Typography --- */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../assets/fonts/outfit-v15-latin-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../assets/fonts/outfit-v15-latin-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../assets/fonts/outfit-v15-latin-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../assets/fonts/outfit-v15-latin-700.woff2') format('woff2');
}

:root {
    --color-primary: #524036;
    --color-secondary: #ede2cf;
    --text-primary: #ede2cf;
    --text-secondary: #524036;

    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --color-accent: #d4a373;

    --color-accent-dark: #b08d55;

    /* --- Z-Index Layering System --- */
    --z-negative: -1;
    --z-base: 1;
    --z-sticky: 100;
    --z-overlay: 1000;
    --z-modal: 2000;
    --z-tooltip: 3000;
}

/* --- Z-Pattern Layout --- */
.section-wrapper {
    width: 100%;
    min-height: 100dvh;
    padding: clamp(4rem, 8vh, 6rem) clamp(1rem, 4vw, 2rem);
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}



.z-inner-container {
    width: 100%;
    max-width: 1200px;
}

.z-row {
    display: flex;
    align-items: center;
    gap: clamp(3rem, 6vw, 6rem);
    position: relative;
}

.z-row-reverse {
    flex-direction: row-reverse;
}

/* Themes */
.theme-beige {
    background-color: var(--color-secondary);
    color: var(--text-secondary);
    background-image: url('../assets/background_section_beige_droite.svg');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 15% auto;
}

.theme-brown {
    background-color: var(--color-primary);
    color: var(--text-primary);
    background-image: url('../assets/background_sections__brun_gauche.svg');
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 15% auto;
}

.theme-beige .z-title,
.theme-beige .z-text {
    color: var(--text-secondary);
}

.theme-brown .z-title {
    color: var(--text-primary);
}

.theme-brown .z-text {
    color: rgba(237, 226, 207, 0.9);
}

.theme-brown .z-list li {
    color: var(--text-primary);
}

/* Typography & Content */
.z-content {
    flex: 1;
}

.z-label {
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent-dark);
    border-bottom: 2px solid rgba(176, 141, 85, 0.3);
    display: inline-block;

}

.z-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    position: relative;
}

.z-title::after {
    content: '';
    color: var(--color-accent-dark);
}

.z-text {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 0.5rem;
    max-width: 55ch;
    opacity: 0.95;
}

.icon-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--color-accent-dark);
    border-radius: 50%;
    margin-right: 15px;
    vertical-align: middle;
    box-shadow: 0 0 0 4px rgba(212, 163, 115, 0.2);
    margin-top: 0.55em;
    flex-shrink: 0;
}

.z-list li {
    list-style: none;
    margin-bottom: 0.5rem;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    font-size: 1.05rem;
    line-height: 1.5;
}

/* Image Effects */
.z-image-wrapper {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.card-effect-spine img,
.card-effect-diagonal img,
.card-effect-path img {
    display: block;
    width: 100%;
    max-width: clamp(250px, 30vw, 380px);

    height: auto;
    object-fit: cover;
    box-shadow: 0 25px 50px rgba(82, 64, 54, 0.25);
    animation: float 6s ease-in-out infinite;
}

.theme-brown .card-effect-spine img,
.theme-brown .card-effect-diagonal img,
.theme-brown .card-effect-path img {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* 1. Spine Effect */
.card-effect-spine {
    padding: 15px;
}

.card-effect-spine img {
    border-radius: 4px;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
    aspect-ratio: 3/4;
    object-position: top center;
    max-width: clamp(250px, 30vw, 380px);

}

.card-effect-spine::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    z-index: var(--z-negative);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
    opacity: 0.1;
    transition: transform 0.5s ease;
}

.theme-brown .card-effect-spine::before {
    background-color: rgba(255, 255, 255, 0.1);
}

.card-effect-spine:hover::before {
    transform: translate(-10px, -10px);
}

/* 2. Diagonal Effect */
.card-effect-diagonal img {
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    aspect-ratio: 4/3;
    object-position: top center;
    animation-delay: 1s;

}

.card-effect-diagonal::after {
    content: '';
    position: absolute;
    top: 30px;
    left: -30px;
    width: 60%;
    height: 90%;
    border: 2px solid var(--color-accent);
    z-index: var(--z-negative);
    transform: rotate(-5deg);
    opacity: 0.6;
    transition: transform 0.5s ease;
}

.card-effect-diagonal:hover::after {
    transform: rotate(0deg) scale(1.05);
}

/* 3. Path Effect */
.card-effect-path img {
    border-radius: 4px 60px 4px 60px;
    aspect-ratio: 4/5;
    object-position: center 30%;
    animation-delay: 0.5s;
    max-width: clamp(250px, 30vw, 380px);

}

.card-effect-path::before {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80%;
    height: 80%;
    background: repeating-linear-gradient(45deg, rgba(212, 163, 115, 0.1), rgba(212, 163, 115, 0.1) 10px, rgba(212, 163, 115, 0.05) 10px, rgba(212, 163, 115, 0.05) 20px);
    z-index: var(--z-negative);
    border-radius: 4px 60px 4px 60px;
}

/* Buttons adapted for themes */
.btn-identity {
    display: inline-flex;
    align-items: center;
    padding: 12px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.theme-beige .btn-identity {
    background-color: var(--color-primary);
    color: var(--color-secondary);
}

.theme-brown .btn-identity {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

.btn-identity:hover {
    background-color: var(--color-accent);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(212, 163, 115, 0.4);
}

/* Responsive Z-Pattern */
@media (max-width: 900px) {
    .z-row {
        flex-direction: column !important;
        gap: 3rem;
        text-align: center;
    }



    .z-text,
    .z-list {
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .theme-beige {
        background-position: right bottom;
        background-size: 30% auto;
    }

    .theme-brown {
        background-position: left bottom;
        background-size: 30% auto;
    }

    .section-compact .z-title {
        margin-bottom: 2rem;
    }

    .z-label {
        border-bottom: none;
    }

    .card-effect-spine::before,
    .card-effect-diagonal::after,
    .card-effect-path::before {
        opacity: 0.5;
    }

    .card-effect-diagonal img {
        clip-path: none !important;
        object-position: center center;
    }


}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--color-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* --- Animations --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s var(--ease-out-expo);
    will-change: opacity, transform;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}


@media (min-width: 901px) {

    .section-compact .card-effect-path img,
    .section-compact .card-effect-diagonal img,
    .section-compact .card-effect-spine img {
        max-width: clamp(250px, 30vw, 380px);

        aspect-ratio: 4/5;

    }
}



/* --- Hero / Existing Content --- */
.hero-section {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(12px, 4vw, 24px);
    padding-top: 80px;
    text-align: center;
    position: relative;
    background-color: var(--color-primary);
    z-index: var(--z-sticky);
}

.brand-logo {
    width: clamp(280px, 80vw, 750px);
    max-width: 90vw;
    max-height: 42vh;
    height: auto;
    flex-shrink: 1;
    object-fit: contain;
    margin-bottom: clamp(0.5rem, 1.5vw, 1.2rem);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}


.hero-section h1 {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.sub-text {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 300;
    opacity: 0.95;
    line-height: 1.3;
    max-width: 800px;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.seo-text {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    line-height: 1.5;
    opacity: 0.8;
    max-width: 600px;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 5px 28px 5px 6px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(237, 226, 207, 0.2);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.4s var(--ease-out-expo);
    letter-spacing: 0.5px;
}

.email-link:hover {
    background: rgba(237, 226, 207, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(237, 226, 207, 0.4);
}

.email-link img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}


/* --- New Content Sections --- */
.content-section {
    min-height: 100dvh;
    padding: clamp(4rem, 8vh, 6rem) clamp(1rem, 4vw, 2rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Background Images for Content Sections */
.content-section.bg-primary {
    background-image: url('../assets/background_sections__brun_gauche.svg');
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 15% auto;
}

.content-section.bg-secondary {
    background-image: url('../assets/background_section_beige_droite.svg');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 15% auto;
}


#services {
    background-image: none !important;
}

.content-wrapper {
    max-width: 1200px;
    width: 100%;
}



.content-section p {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.7;
    margin-bottom: 0.5rem;
    font-weight: 300;
    max-width: 65ch;

    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}



/* Lists Styling */
.content-section ul {
    text-align: left;
    display: inline-block;
    margin: 0.5rem auto 1.5rem auto;
    padding-left: 0;
    list-style: none;
}

.service-card ul {
    display: block;
    margin: 0.5rem 0;
    text-align: left;
}

.content-section li {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-weight: 500;
}

.content-section li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;

    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-accent-dark);
    box-shadow: 0 0 0 4px rgba(212, 163, 115, 0.2);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    width: 100%;
    align-items: stretch;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: clamp(1.2rem, 2vw, 2rem);
    border-radius: 16px;
    text-align: left;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.01);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}


.bg-secondary .service-card {
    background: rgba(82, 64, 54, 0.03);
    border-color: rgba(82, 64, 54, 0.1);
}

.bg-secondary .service-card:hover {
    background: rgba(82, 64, 54, 0.06);
}


.service-card h3,
.service-card h4 {
    margin-top: 0;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: inherit;
    border: none;
    padding: 0;
}

.service-meta {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.85;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--color-secondary);
}

.bg-secondary .service-meta,
.bg-secondary .service-card h3,
.bg-secondary .service-card h4 {
    color: var(--color-primary);
}

/* Focus Accessibility */
*:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 2px;
}

.bg-secondary *:focus-visible {
    outline-color: var(--color-primary);
}

.bg-primary .service-meta {
    color: rgba(237, 226, 207, 0.6);
}

/* Pricing Styling */
.pricing-block {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bg-secondary .pricing-block {
    border-top-color: rgba(82, 64, 54, 0.1);
}

.promo-badge {
    display: inline-block;
    background-color: #d4a373;
    color: #fff;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    position: relative;
    cursor: help;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    margin-bottom: 0.3rem;
}

.current-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.bg-secondary .current-price {
    color: var(--color-primary);
}







/* Step Badges & Tooltips */
.step-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    cursor: help;
    position: relative;
    transition: all 0.2s ease;
}

.step-start {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.step-locked {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bg-secondary .step-locked {
    background: rgba(82, 64, 54, 0.1);
    color: rgba(82, 64, 54, 0.7);
    border-color: rgba(82, 64, 54, 0.2);
}


.bg-secondary .step-start {
    background: rgba(82, 64, 54, 0.1);
    color: rgba(82, 64, 54, 0.7);
    border-color: rgba(82, 64, 54, 0.2);
}


.step-badge[data-tooltip]::before,
.promo-badge[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 200px;
    padding: 8px;
    background: rgba(40, 40, 40, 0.95);
    white-space: pre-wrap;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    font-size: 0.8rem;
    line-height: 1.4;
    font-weight: 400;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
    z-index: var(--z-tooltip);
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.step-badge[data-tooltip]::after,
.promo-badge[data-tooltip]::after {
    content: '';
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    border: 6px solid transparent;
    border-top-color: rgba(40, 40, 40, 0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.step-badge:hover::before,
.step-badge:hover::after,
.step-badge:focus::before,
.step-badge:focus::after,
.promo-badge:hover::before,
.promo-badge:hover::after,
.promo-badge:focus::before,
.promo-badge:focus::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}


.secondary-cta {
    display: none;
}



/* Alternating Colors */
.bg-primary {
    background-color: var(--color-primary);
    color: var(--text-primary);
}

.bg-secondary {
    background-color: var(--color-secondary);
    color: var(--text-secondary);
}

/* --- Footer --- */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem 1rem;
    height: 32px;
    background: rgba(82, 64, 54, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(237, 226, 207, 0.2);
    color: var(--text-primary);
    text-align: center;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    font-weight: 400;
    letter-spacing: 0.5px;
    z-index: var(--z-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-content span {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    .footer-desktop-text {
        display: none !important;
    }

    footer {
        height: auto;
        min-height: 32px;
        padding: 4px;
    }

    .footer-content {
        display: block;
        /* Disable flex to handle text flow naturally */
        text-align: center;
        white-space: nowrap;
        line-height: 2;
        /* Ensure vertical centering if height allows, or just spacing */
    }

    .footer-content span {
        font-size: 0.7rem;
    }

    .footer-separator {
        margin: 0 4px;
        /* Reduce spacing on mobile */
    }
}

/* --- Navigation System --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-overlay);
    padding: 0.2rem 5%;
    background: rgba(82, 64, 54, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(237, 226, 207, 0.05);
    transition: background 0.4s var(--ease-out-expo), padding 0.4s var(--ease-out-expo);
}

.navbar.scrolled {
    padding: 0.4rem 5%;
    background: rgba(82, 64, 54, 0.85);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(237, 226, 207, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: var(--z-overlay);
}

.nav-logo {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-brand:hover .nav-logo {
    transform: scale(1.05);
}

/* Desktop Menu */
.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: width 0.4s var(--ease-out-expo);
    opacity: 0.8;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* Burger Menu Trigger */
.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    z-index: var(--z-overlay);
    padding: 0;
}

.burger-menu .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100dvh;
        background: rgba(82, 64, 54, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.5s var(--ease-out-expo);
        z-index: var(--z-overlay);
        padding-bottom: 2rem;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-item {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    .nav-menu.active .nav-item {
        opacity: 1;
        transform: translateY(0);
    }


    .nav-menu.active .nav-item:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-menu.active .nav-item:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-menu.active .nav-item:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-menu.active .nav-item:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-menu.active .nav-item:nth-child(5) {
        transition-delay: 0.5s;
    }

    .nav-link {
        font-size: 1.8rem;
        font-weight: 300;
    }

    /* Burger Animation */
    .burger-menu.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .burger-menu.active .bar:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .burger-menu.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }


    .secondary-cta {
        display: inline-flex;
    }
}

.no-scroll {
    overflow: hidden;
}

/* --- Modal Mentions Légales --- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(82, 64, 54, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: var(--z-modal);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out-expo);
    padding: 20px;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--color-primary);
    color: var(--text-primary);
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    border-radius: 16px;
    border: 1px solid rgba(237, 226, 207, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s var(--ease-out-expo);
    display: flex;
    flex-direction: column;
}

.modal-backdrop.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-content {
    padding: 2.5rem;
    overflow-y: auto;
    font-size: 0.95rem;
    line-height: 1.6;
}

.modal-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.modal-content h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
}

.modal-content p {
    margin-bottom: 1rem;
    color: rgba(237, 226, 207, 0.9);
}

.modal-content a {
    color: var(--color-secondary);
    text-decoration: underline;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    transform: rotate(90deg) scale(1.1);
    color: #fff;
}

/* Custom Scrollbar for Modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(237, 226, 207, 0.3);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(237, 226, 207, 0.5);
}

@media (max-width: 768px) {
    .modal-content {
        padding: 1.5rem;
    }

    /* Deleted conflicting footer styles to allow single-line layout */

    .content-section.bg-primary,
    .content-section.bg-secondary {
        background-size: 35% auto !important;
    }
}

/* --- Final Clean Code Refinements --- */

/* Text Colors */
.text-accent {
    color: var(--color-accent);
}

.text-accent-dark {
    color: var(--color-accent-dark);
}

/* Hero */
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-icon {
    margin-right: 8px;
}

/*  List (About) */
.credentials-list {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.credentials-list li {
    align-items: flex-start;
}

.credentials-list .icon-dot {
    margin-top: 6px;
}

.credential-link {
    font-weight: 600;
    color: inherit;
    text-decoration: underline;
    text-decoration-color: var(--color-accent);
}

.credential-subtitle {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 2px;
}

/* Audience & Ethics */
.ethics-placeholder {
    background: rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ethics-placeholder span {
    opacity: 0.3;
    font-style: italic;
}

.service-card-ethics {
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(82, 64, 54, 0.1);
}

/* Contact Cards Specifics */
.card-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

.list-tight {
    margin-top: 0;
}

.list-tight-sm {
    margin-top: 0.5rem;
}

.review-btn {
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
}

.review-star {
    margin-right: 8px;
    color: #FFD700;
}

.map-link {
    text-align: center;
    font-size: 0.85rem;
    color: inherit;
    opacity: 0.8;
    text-decoration: none;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
    align-self: center;
}

.contact-card-highlight {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.25);
}

.contact-intro {
    margin-bottom: 0.5rem;
    font-style: italic;
    font-size: 0.95rem;
}

.contact-details {
    margin-bottom: 1.5rem;
}

.contact-phone {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-email {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    word-break: break-all;
}

.link-reset {
    color: inherit;
    text-decoration: none;
}

.link-dotted {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.4);
}

.btn-contact-sm {
    padding: 6px 16px;
    font-size: 0.9rem;
}

.btn-contact-outline {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    display: inline-flex !important;
}

.footer-separator {
    margin: 0 10px;
}

.legal-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
}

/* Final Contact & Image Utilities */
.contact-col-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: auto;
}

.contact-row-wrapper {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
}


.z-spacing-md {
    margin-top: 1.5rem;
}