/* ============================================================
   La Mandarine — Atlantique 1955
   Système de design refondu : palette + typo + motion
   ============================================================ */

:root {
    /* --- Palette Atlantique 1955 --- */
    --color-sand: #EFE6D2;        /* Sable golden hour — sections claires */
    --color-cream: #FAF7F0;       /* Crème — alternative claire douce */
    --color-pine: #1F3A2E;        /* Vert pin profond — encre, texte */
    --color-mandarine: #C8501E;   /* Mandarine brûlée — signature, CTA */
    --color-mandarine-dark: #A8421A;
    --color-night: #152E3B;       /* Atlantique nuit — sections sombres */

    /* --- Aliases sémantiques (compat ascendante) --- */
    --primary-color: var(--color-pine);
    --accent-color: var(--color-mandarine);
    --light-bg: var(--color-sand);
    --dark-bg: var(--color-night);
    --text-color: var(--color-pine);
    --text-on-dark: var(--color-sand);

    /* --- Typographie --- */
    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --- Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--color-sand);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Typographie globale --- */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--primary-color);
}

h2 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    margin-bottom: 1rem;
    font-variation-settings: "SOFT" 30, "opsz" 80;
}

p { font-size: 1.02rem; line-height: 1.75; }

a { color: var(--color-mandarine); text-decoration: none; }
a:hover { color: var(--color-mandarine-dark); }

img { max-width: 100%; height: auto; display: block; }

/* --- Conteneurs --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}
.text-center { text-align: center; }

/* --- Numérotation de sections --- */
.section-number {
    display: block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--color-mandarine);
    margin-bottom: 1.25rem;
}

/* --- Dividers --- */
.divider, .divider-left {
    width: 48px;
    height: 1.5px;
    background-color: var(--color-mandarine);
    border: none;
}
.divider { margin: 0 auto 2.5rem auto; }
.divider-left { margin: 0 0 2.5rem 0; }

/* --- Boutons --- */
.btn-primary {
    display: inline-block;
    background-color: var(--color-mandarine);
    color: white;
    padding: 16px 36px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: none;
    border-radius: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn-primary:hover {
    background-color: var(--color-mandarine-dark);
    color: white;
    transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

/* ============================================================
   Header & Navigation (avec hamburger mobile)
   ============================================================ */

header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 40px;
    background-color: rgba(239, 230, 210, 0.88);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(31, 58, 46, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-family: var(--font-display);
    font-size: 1.55rem;
    color: var(--primary-color);
    font-weight: 500;
    letter-spacing: -0.02em;
    text-decoration: none;
    font-variation-settings: "SOFT" 40, "opsz" 30;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
header .logo-dot {
    color: var(--color-mandarine);
    font-size: 1.8rem;
    line-height: 0;
    margin-left: 1px;
    position: relative;
    top: 1px;
}

/* Toggle caché (checkbox hack pour le hamburger) */
.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Hamburger — mobile only */
.hamburger {
    display: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1100;
    background: none;
    border: none;
    padding: 0;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: var(--primary-color);
    transition: transform 0.35s ease, opacity 0.25s ease;
    transform-origin: center;
}

/* Nav desktop */
.main-nav {
    display: flex;
    align-items: center;
}
.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 28px;
}
.main-nav ul li a {
    color: var(--primary-color);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    text-decoration: none;
}
.main-nav ul li a:hover { color: var(--color-mandarine); }

/* Selecteur de langue */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid rgba(31, 58, 46, 0.18);
}
.lang-switcher a {
    position: relative;
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    font-weight: 400;
    text-transform: uppercase;
    padding: 4px 6px 4px 26px;
    opacity: 0.55;
    text-decoration: none;
    transition: opacity 0.25s ease, color 0.25s ease;
    line-height: 1;
}
.lang-switcher a::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 13px;
    border-radius: 1px;
    box-shadow: 0 0 0 1px rgba(31, 58, 46, 0.18);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Drapeau France */
.lang-switcher a[lang="fr"]::before {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'><rect width='3' height='2' fill='%23fff'/><rect width='1' height='2' fill='%23002654'/><rect x='2' width='1' height='2' fill='%23ED2939'/></svg>");
}
/* Drapeau Royaume-Uni (English) */
.lang-switcher a[lang="en"]::before {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'><rect width='60' height='30' fill='%23012169'/><path d='M0,0 L60,30 M60,0 L0,30' stroke='%23fff' stroke-width='6'/><path d='M0,0 L60,30 M60,0 L0,30' stroke='%23C8102E' stroke-width='2.5'/><path d='M30,0 v30 M0,15 h60' stroke='%23fff' stroke-width='10'/><path d='M30,0 v30 M0,15 h60' stroke='%23C8102E' stroke-width='6'/></svg>");
}
/* Drapeau Espagne */
.lang-switcher a[lang="es"]::before {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 3'><rect width='4' height='3' fill='%23C60B1E'/><rect y='0.75' width='4' height='1.5' fill='%23FFC400'/></svg>");
}
/* Drapeau Allemagne */
.lang-switcher a[lang="de"]::before {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 3'><rect width='5' height='1' fill='%23000'/><rect y='1' width='5' height='1' fill='%23DD0000'/><rect y='2' width='5' height='1' fill='%23FFCE00'/></svg>");
}
/* Drapeau Belgique (NL flamand) */
.lang-switcher a[lang="nl"]::before {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'><rect width='1' height='2' fill='%23000'/><rect x='1' width='1' height='2' fill='%23FAE042'/><rect x='2' width='1' height='2' fill='%23EF3340'/></svg>");
}
.lang-switcher a:hover {
    opacity: 1;
    color: var(--color-mandarine);
}
.lang-switcher a.active {
    opacity: 1;
    color: var(--color-mandarine);
    font-weight: 500;
}

.btn-nav {
    background-color: var(--primary-color);
    color: var(--color-sand) !important;
    padding: 11px 22px;
    border-radius: 1px;
    transition: background-color 0.3s ease;
}
.btn-nav:hover { background-color: var(--color-mandarine); color: white !important; }

/* ============================================================
   Hero — texte bottom-left, full-bleed
   ============================================================ */

#hero {
    position: relative;
    min-height: 100vh;
    background-image:
        /* Scrim horizontal : 95% sombre a gauche, decroit progressivement pour preserver la villa a droite */
        linear-gradient(90deg,
            rgba(21,46,59,0.95) 0%,
            rgba(21,46,59,0.90) 22%,
            rgba(21,46,59,0.80) 38%,
            rgba(21,46,59,0.62) 48%,
            rgba(21,46,59,0.45) 58%,
            rgba(21,46,59,0.25) 70%,
            rgba(21,46,59,0.08) 82%,
            transparent 94%),
        /* Vertical : renforce le haut (eyebrow sur le ciel) et le bas (CTA) */
        linear-gradient(180deg,
            rgba(21,46,59,0.25) 0%,
            rgba(21,46,59,0.08) 22%,
            transparent 40%,
            transparent 62%,
            rgba(21,46,59,0.35) 100%),
        url('images/sud.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    color: white;
    padding: 80px 56px 80px;
}

.hero-content {
    max-width: 900px;
    padding-bottom: 80px;
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-mandarine);
    margin-bottom: 1.75rem;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.85);
    animation: fadeUp 1s ease-out 0.1s both;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 9vw, 7.5rem);
    font-weight: 500;
    line-height: 0.94;
    letter-spacing: -0.035em;
    margin-bottom: 1.5rem;
    color: white;
    font-variation-settings: "SOFT" 30, "opsz" 144;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.75), 0 0 50px rgba(0, 0, 0, 0.35);
    animation: fadeUp 1.1s ease-out 0.3s both;
}

.hero-content .subtitle {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    margin-bottom: 1.25rem;
    max-width: 650px;
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 1px 16px rgba(0, 0, 0, 0.85);
    animation: fadeUp 1.1s ease-out 0.5s both;
}

.hero-content p:not(.subtitle) {
    font-size: 1.02rem;
    margin-bottom: 2.25rem;
    max-width: 560px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.85);
    animation: fadeUp 1.1s ease-out 0.7s both;
}

.hero-content .btn-primary {
    animation: fadeUp 1.1s ease-out 0.9s both;
}

/* ============================================================
   Animations
   ============================================================ */

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

/* ============================================================
   Sections — Sand / Night / Cream
   ============================================================ */

.section-light {
    background-color: var(--color-sand);
    padding: 130px 0;
    position: relative;
}
.section-dark {
    background-color: var(--color-night);
    color: var(--color-sand);
    padding: 130px 0;
    position: relative;
}
.section-dark h2 { color: var(--color-sand); }
.section-dark .section-number { color: var(--color-mandarine); }
.section-dark p { color: rgba(239, 230, 210, 0.88); }
.section-dark a { color: var(--color-mandarine); }

.section-cream {
    background-color: var(--color-cream);
    padding: 130px 0;
}

/* --- Split layouts (avec variations) --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.split-layout.asymmetric {
    grid-template-columns: 1.4fr 1fr;
}
.split-layout.asymmetric-reverse {
    grid-template-columns: 1fr 1.4fr;
}

/* --- Wrapper image avec hover zoom --- */
.image-content {
    overflow: hidden;
    border-radius: 2px;
    position: relative;
}
.image-content img {
    width: 100%;
    height: auto;
    transition: transform 0.9s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.image-content:hover img {
    transform: scale(1.045);
}

/* ============================================================
   Section #hossegor — sand, split asymmetric
   ============================================================ */

#hossegor .container {
    margin-bottom: 0;
}
#hossegor .text-block {
    text-align: left;
}
#hossegor h2 { text-align: left; }

/* ============================================================
   Section #villa — dark, split + emphasis sur le texte
   ============================================================ */

#villa .text-content h2 { color: var(--color-sand); }
#villa .text-content p {
    color: rgba(239, 230, 210, 0.85);
    margin-bottom: 1.2rem;
}
#villa a { color: var(--color-mandarine); text-decoration: underline; }

/* ============================================================
   Section #equipements — grille éditoriale (chiffres en gros)
   ============================================================ */

#equipements { background-color: var(--color-cream); padding: 130px 0; }
#equipements .container { text-align: center; }
#equipements .intro-text {
    max-width: 620px;
    margin: 0 auto 70px auto;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--primary-color);
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px;
    background-color: rgba(31, 58, 46, 0.12);
    border: 1px solid rgba(31, 58, 46, 0.12);
    text-align: left;
}
.feature {
    background-color: var(--color-cream);
    padding: 48px 32px;
    transition: background-color 0.35s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.feature:hover { background-color: white; }

.feature .feature-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-mandarine);
    margin-bottom: 14px;
}
.feature h3 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 500;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 12px;
    font-variation-settings: "SOFT" 30, "opsz" 100;
}
.feature h3 small {
    font-size: 0.55em;
    font-weight: 400;
    margin-left: 4px;
    color: var(--primary-color);
    opacity: 0.7;
}
.feature p {
    font-size: 0.92rem;
    color: var(--primary-color);
    opacity: 0.78;
    line-height: 1.55;
    margin: 0;
}

/* ============================================================
   Section #tarifs — sand, tableau minimal éditorial
   ============================================================ */

#tarifs { background-color: var(--color-sand); }
#tarifs .container { text-align: center; }
#tarifs > .container > p {
    max-width: 560px;
    margin: 0 auto 30px auto;
    font-style: italic;
    color: var(--primary-color);
    opacity: 0.78;
}

.pricing-table {
    width: 100%;
    max-width: 800px;
    margin: 40px auto 0;
    border-collapse: collapse;
    background-color: transparent;
}
.pricing-table th, .pricing-table td {
    padding: 28px 24px;
    text-align: left;
    border-bottom: 1px solid rgba(31, 58, 46, 0.15);
}
.pricing-table th {
    background-color: transparent;
    color: var(--color-mandarine);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--primary-color);
    padding-top: 16px;
    padding-bottom: 16px;
}
.pricing-table td {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 400;
}
.pricing-table td:first-child {
    font-weight: 500;
    font-size: 1.25rem;
}
.pricing-table td:last-child {
    text-align: right;
    color: var(--color-mandarine);
    font-style: italic;
}
.pricing-table tr:last-child td { border-bottom: 0; }
.pricing-table tr:hover td { background-color: rgba(31, 58, 46, 0.03); }

/* ============================================================
   Section #galerie — dark, carrousel pleine largeur
   ============================================================ */

#galerie { background-color: var(--color-night); padding-bottom: 130px; }
#galerie .container { max-width: 1100px; }

/* ============================================================
   Section #contact — cream, split form + info
   ============================================================ */

#contact { background-color: var(--color-cream); }
.contact-form .section-number { margin-top: 0; }
form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 30px;
}
input[type="text"], input[type="email"], textarea {
    padding: 14px 18px;
    border: 1px solid rgba(31, 58, 46, 0.22);
    border-radius: 1px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: transparent;
    color: var(--primary-color);
    transition: border-color 0.3s ease;
    width: 100%;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
    outline: none;
    border-color: var(--color-mandarine);
}
input::placeholder, textarea::placeholder {
    color: rgba(31, 58, 46, 0.5);
    font-family: var(--font-body);
}

.contact-info {
    background-color: var(--color-sand);
    padding: 50px 40px;
    border-radius: 2px;
}
.contact-info h3 {
    font-family: var(--font-display);
    font-size: 1.55rem;
    margin-bottom: 22px;
    color: var(--primary-color);
    font-variation-settings: "SOFT" 30, "opsz" 80;
}
.contact-info p { margin-bottom: 12px; font-size: 0.95rem; }
.contact-info strong { color: var(--primary-color); font-weight: 500; }

/* ============================================================
   Footer
   ============================================================ */

footer {
    background-color: var(--color-night);
    color: var(--color-sand);
    padding: 64px 0 44px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-align: center;
}
footer p { margin-bottom: 8px; line-height: 1.65; color: rgba(239, 230, 210, 0.92); }
footer .legal {
    font-size: 0.78rem;
    opacity: 0.7;
    margin-top: 14px;
}
footer .legal a {
    color: var(--color-sand);
    text-decoration: underline;
    opacity: 0.85;
}
footer .legal a:hover { color: var(--color-mandarine); opacity: 1; }
footer .legal-links {
    margin-top: 14px;
    font-size: 0.8rem;
}
footer .legal-links a {
    color: var(--color-sand);
    text-decoration: underline;
    transition: color 0.3s ease, opacity 0.3s ease;
    opacity: 0.85;
}
footer .legal-links a:hover { color: var(--color-mandarine); opacity: 1; }

/* ============================================================
   Honeypot anti-spam + case RGPD
   ============================================================ */

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    visibility: hidden;
}

.consent-label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--primary-color);
    cursor: pointer;
    padding: 6px 0 12px;
    opacity: 0.88;
}
.consent-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--color-mandarine);
}
.consent-label a {
    color: var(--color-mandarine);
    text-decoration: underline;
}
.consent-label a:hover { color: var(--color-mandarine-dark); }

/* ============================================================
   Carrousel CSS pur (galerie)
   ============================================================ */

.css-carousel {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 40px auto 0;
    overflow: hidden;
    border-radius: 2px;
}
.css-carousel input[type="radio"] { display: none; }
.css-carousel .carousel-slides {
    display: flex;
    width: 300%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.css-carousel .carousel-item {
    width: 33.33%;
    flex-shrink: 0;
}
.css-carousel .carousel-item img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    object-position: center;
    display: block;
}
.css-carousel .carousel-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}
.css-carousel .carousel-dots label {
    width: 9px;
    height: 9px;
    background-color: rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s, border-color 0.3s;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
}
.css-carousel .carousel-dots label:hover { transform: scale(1.25); }
#slide-1:checked ~ .carousel-slides { transform: translateX(0%); }
#slide-2:checked ~ .carousel-slides { transform: translateX(-33.33%); }
#slide-3:checked ~ .carousel-slides { transform: translateX(-66.66%); }
#slide-1:checked ~ .carousel-dots label[for="slide-1"],
#slide-2:checked ~ .carousel-dots label[for="slide-2"],
#slide-3:checked ~ .carousel-dots label[for="slide-3"] {
    background-color: var(--color-mandarine);
    border-color: var(--color-mandarine);
    transform: scale(1.2);
}

/* ============================================================
   Pages légales
   ============================================================ */

.legal-page {
    padding-top: 160px;
    padding-bottom: 100px;
    min-height: 80vh;
    background-color: var(--color-cream);
}
.legal-page .container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 32px;
}
.legal-page h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.025em;
    font-variation-settings: "SOFT" 30, "opsz" 144;
}
.legal-page h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 2.75rem;
    margin-bottom: 1rem;
    text-align: left;
    font-weight: 500;
    font-variation-settings: "SOFT" 30, "opsz" 60;
}
.legal-page p {
    margin-bottom: 1rem;
    line-height: 1.75;
    color: var(--primary-color);
    font-size: 1rem;
}
.legal-page ul {
    margin: 0 0 1rem 1.5rem;
    line-height: 1.75;
}
.legal-page ul li { margin-bottom: 0.4rem; }
.legal-page a {
    color: var(--color-mandarine);
    text-decoration: underline;
}
.legal-page a:hover { color: var(--color-mandarine-dark); }
.legal-page .last-updated {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(31, 58, 46, 0.15);
    color: rgba(31, 58, 46, 0.6);
    font-size: 0.9rem;
}

/* ============================================================
   Responsive — Mobile (hamburger menu)
   ============================================================ */

@media (max-width: 1100px) {
    header {
        padding: 16px 24px;
    }
    header .logo { font-size: 1.35rem; }

    .hamburger { display: flex; }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--color-sand);
        transform: translateX(100%);
        transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 36px;
        z-index: 1050;
    }
    .nav-toggle:checked ~ .main-nav {
        transform: translateX(0);
    }
    .nav-toggle:checked ~ .hamburger span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .nav-toggle:checked ~ .hamburger span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle:checked ~ .hamburger span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }
    .main-nav ul li a {
        font-size: 1rem;
        letter-spacing: 0.22em;
    }
    .btn-nav { padding: 12px 26px; }

    /* Lang switcher en bas du menu mobile */
    .lang-switcher {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        padding-top: 24px;
        border-top: 1px solid rgba(31, 58, 46, 0.18);
        width: 280px;
        justify-content: center;
        gap: 10px;
    }
    .lang-switcher a {
        font-size: 0.85rem;
        padding: 6px 8px 6px 32px;
    }
    .lang-switcher a::before {
        left: 6px;
        width: 22px;
        height: 16px;
    }

    /* Sections */
    .section-light, .section-dark, .section-cream, #equipements, #galerie {
        padding: 80px 0;
    }
    .container { padding: 0 24px; }

    #hero {
        min-height: 92vh;
        padding: 80px 24px 60px;
    }
    .hero-content { padding-bottom: 40px; }

    .split-layout,
    .split-layout.asymmetric,
    .split-layout.asymmetric-reverse {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .grid-features {
        grid-template-columns: 1fr;
    }
    .feature {
        min-height: 0;
        padding: 36px 28px;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 18px 12px;
        font-size: 0.95rem;
    }
    .pricing-table td:first-child { font-size: 1.05rem; }

    .contact-info { padding: 36px 28px; }
    .css-carousel .carousel-item img { height: 360px; }

    .legal-page { padding-top: 130px; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 3rem; }
    .feature h3 { font-size: 1.85rem; }
    .css-carousel .carousel-item img { height: 280px; }
}

/* --- Reduced motion (respect des préférences accessibilité) --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
