/* ============================================
   PRELUD 2026 — Eggshell Blueprint
   Direction : ElevenLabs-inspired — type-first, near-white warmth, obsidian black
   ============================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- Custom Properties --- */
:root {
    --bg: #FDFCFC;
    --bg-alt: #F5F3F1;
    --bg-card: #FFFFFF;
    --bg-glass: rgba(253, 252, 252, 0.78);

    --text: #000000;
    --text-2: #777169;
    --text-3: #A59F97;

    --accent: #000000;
    --accent-hover: #1A1A1A;
    --accent-text: #FDFCFC;
    --on-accent-rgb: 253, 252, 252;
    --accent-soft: rgba(0, 0, 0, 0.04);
    --accent-border: rgba(0, 0, 0, 0.12);
    --accent-glow: rgba(0, 0, 0, 0.08);

    --detail: #575349;

    --border: #E5E5E5;
    --border-hover: #B1B0B0;

    --shadow-diffuse: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-lift: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-subtle: 0 0 0 1px rgba(0, 0, 0, 0.04);
    --shadow-glass: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);

    --font-display: 'Outfit', 'Cabinet Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

    --nav-h: 56px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 9999px;

    --section-py: clamp(6rem, 12vh, 10rem);
    --section-py-sm: clamp(4rem, 8vh, 6rem);
}

[data-theme="dark"] {
    --bg: #000000;
    --bg-alt: #0A0A0A;
    --bg-card: #141414;
    --bg-glass: rgba(0, 0, 0, 0.78);

    --text: #FDFCFC;
    --text-2: #A59F97;
    --text-3: #777169;

    --accent: #FDFCFC;
    --accent-hover: #FFFFFF;
    --accent-text: #000000;
    --on-accent-rgb: 0, 0, 0;
    --accent-soft: rgba(253, 252, 252, 0.06);
    --accent-border: rgba(253, 252, 252, 0.18);
    --accent-glow: rgba(253, 252, 252, 0.10);

    --detail: #B1B0B0;

    --border: rgba(255, 255, 255, 0.10);
    --border-hover: rgba(255, 255, 255, 0.20);

    --shadow-diffuse: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-lift: 0 0 0 1px rgba(255, 255, 255, 0.10), 0 4px 12px rgba(0, 0, 0, 0.6);
    --shadow-subtle: 0 0 0 1px rgba(255, 255, 255, 0.04);
    --shadow-glass: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 4px 16px rgba(0, 0, 0, 0.5);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.005em;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "kern" 1;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* --- Utilities --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem);
}
.sr-only {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

/* --- Eyebrow Tag (stamp-style ElevenLabs) --- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
}

/* --- Section Typography --- */
.section-head { margin-bottom: 3rem; }
.section-head--center { text-align: center; }
.section-head--center .section-desc { margin-left: auto; margin-right: auto; }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.022em;
    margin-top: 1.25rem;
}
.section-desc {
    font-size: 1.0625rem;
    color: var(--text-2);
    max-width: 52ch;
    line-height: 1.75;
    margin-top: 1rem;
}
@media (max-width: 768px) {
    .section-head { margin-bottom: 2rem; }
}

/* ============================================
   FLOATING PILL NAV
   ============================================ */
.nav {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2.5rem);
    max-width: 860px;
    height: var(--nav-h);
    z-index: 100;
    background: var(--bg-glass);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-glass);
    transition: box-shadow 0.4s var(--ease-smooth), border-color 0.4s;
}
.nav.scrolled {
    box-shadow: var(--shadow-lift);
    border-color: var(--border-hover);
}
.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 0.5rem 0 1.5rem;
}
.nav__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}
.nav__logo img { height: 28px; width: auto; }
[data-theme="dark"] .nav__logo-dark { display: none !important; }
[data-theme="dark"] .nav__logo-light { display: block !important; }
:root:not([data-theme="dark"]) .nav__logo-light { display: none !important; }
:root:not([data-theme="dark"]) .nav__logo-dark { display: block !important; }

.nav__links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.nav__link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-2);
    transition: color 0.2s;
    position: relative;
}
.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1.5px;
    background: var(--accent);
    border-radius: 1px;
    transition: width 0.4s var(--ease-out);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }
.nav__link.active { color: var(--text); }

.nav__actions {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
.nav__theme-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-3);
    transition: color 0.2s, background 0.2s;
}
.nav__theme-btn:hover { color: var(--text); background: var(--accent-soft); }
.nav__theme-btn .icon-sun { display: none; }
.nav__theme-btn .icon-moon { display: block; }
[data-theme="dark"] .nav__theme-btn .icon-sun { display: block; }
[data-theme="dark"] .nav__theme-btn .icon-moon { display: none; }

.nav__cta {
    padding: 8px 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent-text);
    background: var(--accent);
    border-radius: var(--radius-pill);
    transition: background 0.2s, transform 0.3s var(--ease-spring);
}
.nav__cta:hover { background: var(--accent-hover); transform: scale(1.04); }

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px; width: 20px;
}
.nav__burger span {
    display: block; height: 1.5px;
    background: var(--text); border-radius: 1px;
    transition: transform 0.5s var(--ease-out), opacity 0.3s;
    transform-origin: center;
}
.nav__burger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 768px) {
    .nav {
        top: 0.75rem;
        width: calc(100% - 1.5rem);
        border-radius: var(--radius-lg);
    }
    .nav__links {
        position: fixed;
        top: calc(var(--nav-h) + 1.5rem + 0.75rem);
        left: 0.75rem; right: 0.75rem;
        flex-direction: column;
        gap: 0;
        background: var(--bg-glass);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lift);
        padding: 0.5rem;
        opacity: 0; pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
    }
    .nav__links.open {
        opacity: 1; pointer-events: auto;
        transform: translateY(0);
    }
    .nav__link {
        display: block;
        padding: 0.875rem 1rem;
        font-size: 0.9375rem;
        border-radius: 12px;
        transition: color 0.2s, background 0.2s;
    }
    .nav__link:hover { background: var(--accent-soft); }
    .nav__link::after { display: none; }
    .nav__burger { display: flex; }
    .nav__cta--desk { display: none; }
}

/* ============================================
   BUTTONS — with icon micro-interaction
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    transition: transform 0.4s var(--ease-spring),
                box-shadow 0.4s var(--ease-out),
                background 0.2s;
    white-space: nowrap;
    position: relative;
}
.btn svg {
    width: 16px; height: 16px; flex-shrink: 0;
    transition: transform 0.4s var(--ease-spring);
}
.btn:hover svg { transform: translate(3px, -2px); }
.btn:active { transform: scale(0.97); }

.btn--primary {
    color: var(--accent-text);
    background: var(--accent);
}
.btn--primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.20);
    transform: translateY(-2px);
}
.btn--secondary {
    color: var(--text);
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-subtle);
}
.btn--secondary:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-diffuse);
    transform: translateY(-2px);
}
.btn--outline {
    color: var(--accent);
    border: 1px solid var(--accent-border);
    background: transparent;
}
.btn--outline:hover { background: var(--accent-soft); }
.btn--full { width: 100%; }
.btn--lg { padding: 18px 36px; font-size: 1rem; }

/* ============================================
   HERO — Asymmetric Split 60/40 + Double Bezel
   ============================================ */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 4rem) 0 var(--section-py);
}
.hero__grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: center;
}
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.04em;
    margin-top: 1.5rem;
}
.hero__title em {
    font-style: normal;
    color: var(--accent);
}
.hero__desc {
    font-size: 1.125rem;
    color: var(--text-2);
    line-height: 1.8;
    margin-top: 1.5rem;
    max-width: 48ch;
}
.hero__actions {
    display: flex; gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}
.hero__proof {
    display: flex; gap: 3rem;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}
.hero__proof-item {}
.hero__proof-val {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--accent);
}
.hero__proof-lbl {
    font-size: 0.8125rem;
    color: var(--text-3);
    margin-top: 2px;
}

/* Double bezel image frame */
.hero__visual {
    position: relative;
    padding: 10px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-xl);
    max-width: 320px;
    justify-self: end;
}
.hero__visual-inner {
    border-radius: calc(var(--radius-xl) - 6px);
    overflow: hidden;
    aspect-ratio: 9/16;
    background: var(--bg-alt);
}
.hero__visual-inner img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero__visual-inner--video {
    aspect-ratio: 9/16;
    pointer-events: none;
    user-select: none;
}
.hero__visual-inner--video iframe {
    width: 100%; height: 100%;
    border: none;
    display: block;
}
.hero__float-card {
    position: absolute;
    bottom: 2rem; left: -1.5rem;
    padding: 0.875rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lift);
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 0.8125rem; font-weight: 600;
}
.hero__float-card .accent {
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .hero { min-height: auto; padding-top: calc(var(--nav-h) + 3rem); }
    .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero__visual { max-width: 260px; margin: 0 auto; justify-self: center; }
    .hero__proof { flex-wrap: wrap; gap: 1.5rem; }
    .hero__float-card { left: 0.5rem; bottom: 1rem; }
}

/* ============================================
   TRUST STRIP — Partner + credibility
   ============================================ */
.trust {
    padding: var(--section-py-sm) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.trust__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, 5vw, 4rem);
    flex-wrap: wrap;
    text-align: center;
}
.trust__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}
.trust__val {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
}
.trust__lbl {
    font-size: 0.8125rem;
    color: var(--text-2);
}

/* Liens partenaires (Herbeth) — invisibles au repos, soulignement subtil au hover */
a[href*="herbeth-immobilier.com"] {
    color: inherit !important;
    text-decoration: none !important;
    font-weight: inherit !important;
    transition: text-decoration-color 0.15s;
}
a[href*="herbeth-immobilier.com"]:hover {
    text-decoration: underline !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.22em;
}
.trust__sep {
    width: 1px; height: 40px;
    background: var(--border);
}
@media (max-width: 640px) {
    .trust__sep { display: none; }
    .trust__inner { gap: 2rem; }
    .trust__item { flex: 0 0 calc(50% - 1rem); }
}

/* ============================================
   EDITORIAL ZIG-ZAG — Services
   Each service = full-width block, alternating sides
   ============================================ */
.services { padding: var(--section-py) 0; }

.editorial {
    display: flex;
    flex-direction: column;
    gap: clamp(4rem, 8vh, 7rem);
    margin-top: 3.5rem;
}
.editorial__block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: center;
}
.editorial__block:nth-child(even) .editorial__content { order: 2; }
.editorial__block:nth-child(even) .editorial__visual { order: 1; }

.editorial__content {}
.editorial__icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    margin-bottom: 1.25rem;
}
.editorial__label {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.editorial__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.03em;
}
.editorial__desc {
    font-size: 0.9375rem;
    color: var(--text-2);
    line-height: 1.8;
    margin-top: 1rem;
    max-width: 48ch;
}
.editorial__list {
    display: flex; flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.25rem;
}
.editorial__list li {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.8125rem;
    color: var(--text-2);
}
.editorial__list li::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

/* Double bezel visual for services */
.editorial__visual {
    padding: 8px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-xl);
}
.editorial__visual-inner {
    border-radius: calc(var(--radius-xl) - 4px);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg-alt);
}
.editorial__visual-inner img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out);
}
.editorial__block:hover .editorial__visual-inner img {
    transform: scale(1.03);
}

/* Featured block (Matterport) — accent background */
.editorial__block--featured {
    padding: clamp(2.5rem, 5vw, 4rem);
    background: var(--accent);
    border-radius: var(--radius-xl);
    color: var(--accent-text);
}
.editorial__block--featured .editorial__icon {
    background: rgba(var(--on-accent-rgb), 0.15);
    border-color: rgba(var(--on-accent-rgb), 0.2);
    color: var(--accent-text);
}
.editorial__block--featured .editorial__label { color: rgba(var(--on-accent-rgb), 0.7); }
.editorial__block--featured .editorial__title { color: var(--accent-text); }
.editorial__block--featured .editorial__desc { color: rgba(var(--on-accent-rgb), 0.8); }
.editorial__block--featured .editorial__list li { color: rgba(var(--on-accent-rgb), 0.8); }
.editorial__block--featured .editorial__list li::before { background: rgba(var(--on-accent-rgb), 0.5); }
.editorial__block--featured .editorial__visual {
    background: rgba(var(--on-accent-rgb), 0.1);
    border-color: rgba(var(--on-accent-rgb), 0.15);
}

@media (max-width: 768px) {
    .editorial__block { grid-template-columns: 1fr; }
    .editorial__block:nth-child(even) .editorial__content { order: 1; }
    .editorial__block:nth-child(even) .editorial__visual { order: 2; }
    .editorial__block--featured { padding: 2rem; }
}

/* ============================================
   MATTERPORT SHOWCASE — Framed like artwork
   ============================================ */
.showcase {
    padding: var(--section-py) 0;
    background: var(--bg-alt);
}
.showcase__grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: center;
}
.showcase__features {
    display: flex; flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.showcase__feat h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.showcase__feat p {
    font-size: 0.875rem;
    color: var(--text-2);
    line-height: 1.75;
}
.showcase__callout {
    padding: 1.25rem 1.5rem;
    background: var(--accent-soft);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
    line-height: 1.65;
}

/* Artwork frame for embed */
.showcase__frame {
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lift);
}
.showcase__embed {
    position: relative;
    border-radius: calc(var(--radius-xl) - 8px);
    overflow: hidden;
}
.showcase__embed--h { aspect-ratio: 16/9; }
.showcase__embed--v { aspect-ratio: 9/16; display: none; }
.showcase__embed iframe {
    position: absolute;
    inset: 0; width: 100%; height: 100%;
    border: 0;
}
@media (max-width: 768px) {
    .showcase__grid { grid-template-columns: 1fr; }
    .showcase__embed--h { display: none; }
    .showcase__embed--v { display: block; }
}

/* ============================================
   GALLERY — Horizontal scroll portfolio
   ============================================ */
.gallery {
    padding: var(--section-py) 0;
    overflow: hidden;
}
.gallery__head {
    margin-bottom: 2.5rem;
}
.gallery__filters {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.gallery__filter {
    padding: 8px 18px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-2);
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease-spring);
}
.gallery__filter:hover,
.gallery__filter.active {
    color: var(--accent-text);
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.04);
}

.gallery__track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0 2rem;
    scrollbar-width: none;
    cursor: grab;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track:active { cursor: grabbing; }

.gallery__card {
    flex: 0 0 min(420px, 80vw);
    scroll-snap-align: start;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-diffuse);
    transition: transform 0.6s var(--ease-spring), box-shadow 0.5s var(--ease-out);
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.gallery__card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}
.gallery__card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-lift);
}
.gallery__img {
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
    background: var(--bg-alt);
}
.gallery__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease-out);
}
.gallery__card:hover .gallery__img img { transform: scale(1.06); }

.gallery__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(26,26,26,0.6) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}
.gallery__card:hover .gallery__overlay { opacity: 1; }

.gallery__body { padding: 1.25rem 1.5rem; }
.gallery__tags {
    display: flex; gap: 0.375rem;
    margin-bottom: 0.5rem;
}
.gallery__tag {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--accent);
    padding: 3px 10px;
    background: var(--accent-soft);
    border-radius: 8px;
}
.gallery__card-title {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.gallery__card-desc {
    font-size: 0.8125rem;
    color: var(--text-2);
    margin-top: 0.25rem;
}

/* ============================================
   SOCIAL PROOF — Stats + Testimonials Masonry
   ============================================ */
.proof {
    padding: var(--section-py) 0;
    background: var(--bg-alt);
}
.proof__grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: clamp(3rem, 6vw, 5rem);
    align-items: start;
    margin-top: 3.5rem;
}

/* Counter stats */
.proof__stats {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    position: sticky;
    top: calc(var(--nav-h) + 4rem);
}
.proof__stat {}
.proof__stat-val {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.03em;
    line-height: 1;
}
.proof__stat-lbl {
    font-size: 0.875rem;
    color: var(--text-2);
    margin-top: 0.25rem;
    line-height: 1.5;
}
.proof__stat-src {
    font-size: 0.6875rem;
    color: var(--text-3);
    margin-top: 0.125rem;
}

/* Testimonials masonry */
.proof__masonry {
    columns: 2;
    column-gap: 1.25rem;
}
.testi-card {
    break-inside: avoid;
    margin-bottom: 1.25rem;
    padding: 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-subtle);
    transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease-out);
}
.testi-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-diffuse);
}
.testi-card__stars {
    display: flex; gap: 2px;
    color: #D4A853;
    margin-bottom: 1rem;
}
.testi-card__text {
    font-size: 0.9375rem;
    color: var(--text-2);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.25rem;
}
.testi-card__author {
    display: flex; align-items: center; gap: 0.75rem;
}
.testi-card__avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700;
    color: var(--accent);
}
.testi-card__name { font-size: 0.8125rem; font-weight: 600; }
.testi-card__role { font-size: 0.6875rem; color: var(--text-3); }

@media (max-width: 1024px) {
    .proof__grid { grid-template-columns: 1fr; }
    .proof__stats {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
    }
    .proof__stat { flex: 1; min-width: 120px; }
}
@media (max-width: 640px) {
    .proof__masonry { columns: 1; }
}

/* ============================================
   BIO — About with overlapping photo
   ============================================ */
.bio {
    padding: var(--section-py) 0;
}
.bio__grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: clamp(3rem, 5vw, 5rem);
    align-items: center;
}
.bio__text {
    font-size: 0.9375rem;
    color: var(--text-2);
    line-height: 1.85;
    margin-bottom: 1rem;
}
.bio__quote {
    padding: 1.5rem 2rem;
    border-left: 3px solid var(--accent);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    font-style: italic;
    margin: 2rem 0;
    color: var(--text);
}
.bio__socials {
    display: flex; gap: 0.625rem;
    margin-top: 2rem;
}
.bio__social {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-2);
    transition: color 0.3s, border-color 0.3s, transform 0.4s var(--ease-spring);
}
.bio__social:hover {
    color: var(--accent);
    border-color: var(--accent-border);
    transform: translateY(-2px);
}

/* Photo with offset shadow */
.bio__photo {
    position: relative;
}
.bio__photo-frame {
    padding: 10px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-xl);
}
.bio__photo-inner {
    border-radius: calc(var(--radius-xl) - 6px);
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--bg-alt);
}
.bio__photo-inner img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 768px) {
    .bio__grid { grid-template-columns: 1fr; }
    .bio__photo { max-width: 320px; margin: 0 auto; }
}

/* ============================================
   CONTACT — Generous full experience
   ============================================ */
.contact {
    padding: var(--section-py) 0;
    background: var(--bg-alt);
}
.contact__grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(3rem, 6vw, 5rem);
}
.contact__methods {
    display: flex; flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}
.contact__method {
    display: flex; align-items: flex-start; gap: 1rem;
}
.contact__method-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}
.contact__method h4 {
    font-size: 0.875rem; font-weight: 600; margin-bottom: 2px;
}
.contact__method p, .contact__method a {
    font-size: 0.875rem; color: var(--text-2);
}
.contact__method a:hover { color: var(--accent); }

/* --- Forms --- */
.form { display: flex; flex-direction: column; gap: 1.25rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form__group { display: flex; flex-direction: column; gap: 0.4rem; }
.form__label { font-size: 0.8125rem; font-weight: 500; }
.form__input, .form__textarea, .form__select {
    width: 100%;
    padding: 12px 16px;
    font: inherit;
    font-size: 0.875rem;
    color: var(--text);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.3s var(--ease-spring);
}
.form__input:focus, .form__textarea:focus, .form__select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}
.form__textarea { resize: vertical; min-height: 110px; }
.form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B6560' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.form__legal {
    margin-top: 0.875rem;
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--text-2);
    text-align: center;
}
.form__legal a {
    color: var(--accent);
    text-decoration: underline;
}

.form__success {
    display: none;
    padding: 1.25rem;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius);
    text-align: center;
    color: var(--accent);
    font-weight: 500;
    font-size: 0.875rem;
}
.form__success.visible { display: block; }

@media (max-width: 768px) {
    .contact__grid { grid-template-columns: 1fr; }
    .form__row { grid-template-columns: 1fr; }
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
    padding: clamp(4rem, 8vh, 6rem) 0;
    text-align: center;
    background: var(--accent);
    color: var(--accent-text);
}
.cta-band__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}
.cta-band__desc {
    font-size: 1.0625rem;
    opacity: 0.85;
    margin-top: 0.75rem;
    margin-bottom: 2rem;
}
.cta-band .btn--secondary {
    color: var(--accent); background: var(--accent-text);
    border-color: transparent;
}
.cta-band .btn--secondary:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

/* ============================================
   MODAL — Slide-in panel
   ============================================ */
.modal {
    position: fixed; inset: 0;
    z-index: 200;
    display: flex; justify-content: center; align-items: center;
    padding: 1.5rem;
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s var(--ease-out);
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal__overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(8px);
}
.modal__panel {
    position: relative;
    width: 100%; max-width: 560px;
    max-height: calc(100vh - 3rem);
    background: var(--bg);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    overflow-y: auto;
    box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.45);
    transform: scale(0.94) translateY(12px);
    opacity: 0;
    transition: transform 0.35s var(--ease-spring), opacity 0.25s var(--ease-out);
}
.modal.open .modal__panel { transform: scale(1) translateY(0); opacity: 1; }
.modal__close {
    position: absolute;
    top: 1.25rem; right: 1.25rem;
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-2);
    transition: color 0.2s, background 0.2s;
}
.modal__close:hover { color: var(--text); background: var(--accent-soft); }
.modal__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 0.75rem;
}
.modal__desc {
    font-size: 0.875rem;
    color: var(--text-2);
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}
@media (max-width: 640px) {
    .modal { padding: 1rem; align-items: flex-end; }
    .modal__panel {
        max-width: 100%; padding: 1.75rem 1.5rem;
        max-height: calc(100vh - 2rem);
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
        transform: translateY(100%);
    }
    .modal.open .modal__panel { transform: translateY(0); }
}

/* ============================================
   MOBILE FLOATING CTA
   ============================================ */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 1.25rem; left: 1.25rem; right: 1.25rem;
    z-index: 90;
}
.mobile-cta .btn { width: 100%; box-shadow: var(--shadow-lift); }
@media (max-width: 768px) { .mobile-cta { display: block; } }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: clamp(4rem, 8vh, 5rem) 0 1.5rem;
    border-top: 1px solid var(--border);
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer__tagline { font-size: 0.875rem; color: var(--text-2); margin-top: 0.75rem; }
.footer__sub { font-size: 0.75rem; color: var(--text-3); margin-top: 0.25rem; }
.footer__heading { font-size: 0.8125rem; font-weight: 600; margin-bottom: 1rem; }
.footer__link {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-2);
    padding: 0.2rem 0;
    transition: color 0.2s;
}
.footer__link:hover { color: var(--accent); }
.footer__socials { display: flex; gap: 0.5rem; margin-top: 1rem; }
.footer__social {
    width: 34px; height: 34px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-3);
    transition: color 0.2s, transform 0.3s var(--ease-spring);
}
.footer__social:hover { color: var(--accent); transform: translateY(-2px); }
.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--text-3);
}
.footer__legal a { color: var(--text-3); transition: color 0.2s; }
.footer__legal a:hover { color: var(--accent); }
@media (max-width: 768px) {
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ============================================
   SUB-PAGES — Page header, Pricing, etc.
   ============================================ */
.page-header {
    padding: calc(var(--nav-h) + 3.5rem) 0 2rem;
    text-align: center;
}
.page-header__title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    margin-top: 0.75rem;
}
.page-header__desc {
    font-size: 1.0625rem;
    color: var(--text-2);
    max-width: 50ch;
    margin: 1rem auto 0;
}

/* --- Audience Gate (full-screen choice) --- */
.audience-gate {
    min-height: calc(100vh - var(--nav-h));
    min-height: calc(100dvh - var(--nav-h));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-h) + 2rem) 1.5rem 3rem;
    text-align: center;
    transition: opacity 0.5s, transform 0.5s var(--ease-out);
}
.audience-gate.hidden {
    opacity: 0;
    transform: translateY(-30px);
    pointer-events: none;
    position: absolute;
    height: 0; min-height: 0;
    overflow: hidden;
    padding: 0;
}
.audience-gate__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 1rem 0 0.5rem;
}
.audience-gate__desc {
    font-size: 1.0625rem;
    color: var(--text-2);
    max-width: 42ch;
    margin: 0 auto;
}
.audience-gate__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.audience-gate__card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg, 16px);
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.4s var(--ease-spring);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.audience-gate__card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 32px var(--accent-glow);
    transform: translateY(-4px);
}
.audience-gate__icon {
    width: 64px; height: 64px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    margin-bottom: 0.25rem;
}
.audience-gate__card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}
.audience-gate__card-desc {
    font-size: 0.875rem;
    color: var(--text-2);
    line-height: 1.5;
}
.audience-gate__card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: auto;
    padding-top: 0.5rem;
}
.audience-gate__card:hover .audience-gate__card-cta svg {
    transform: translateX(4px);
    transition: transform 0.3s var(--ease-spring);
}

@media (max-width: 600px) {
    .audience-gate__cards { grid-template-columns: 1fr; max-width: 360px; }
    .audience-gate__card { padding: 2rem 1.5rem 1.5rem; }
}

/* --- Audience Toggle (sticky tab switcher) --- */
.audience-toggle {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    position: sticky;
    top: calc(var(--nav-h) + 0.5rem);
    z-index: 90;
    padding: 0.75rem 1rem;
    margin: 0 auto;
    width: fit-content;
    border-radius: 100px;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid var(--border);
    transition: opacity 0.4s;
}
.audience-toggle.audience-hidden {
    display: none;
}
.audience-toggle__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-family: var(--ff-display);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-2);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition:
        background 0.4s var(--ease-spring),
        color 0.3s,
        border-color 0.3s,
        box-shadow 0.3s,
        transform 0.4s var(--ease-spring);
}
.audience-toggle__btn:hover {
    border-color: var(--border-hover);
    transform: translateY(-1px);
}
.audience-toggle__btn.active {
    background: var(--accent);
    color: var(--accent-text);
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14);
}
.audience-toggle__btn.active svg { stroke: #fff; }

/* Audience section visibility */
[data-audience] {
    transition: opacity 0.4s ease, transform 0.4s var(--ease-spring);
}
[data-audience].audience-hidden {
    display: none !important;
}

/* --- Pricing sections --- */
.pricing { padding: var(--section-py-sm) 0; }
.audience-gate.hidden ~ .pricing[data-audience="pro"],
.audience-gate.hidden ~ .pack-confiance[data-audience="particulier"],
.audience-gate.hidden ~ .packs[data-audience="particulier"] {
    padding-top: calc(var(--nav-h) + 3.5rem);
}

/* --- Price Cards --- */
.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 960px;
    margin: 0 auto;
}
.price-card {
    padding: 2.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-subtle);
    transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease-out);
    position: relative;
}
.price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-diffuse);
}
.price-card--pop { border-color: var(--accent); }
.price-card__badge {
    position: absolute;
    top: -11px; left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--accent-text);
    background: var(--accent);
    border-radius: var(--radius-pill);
}
.price-card__name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
}
.price-card__amount {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 0.5rem;
    letter-spacing: -0.02em;
}
.price-card__amount small {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-3);
}
.price-card__sub {
    font-size: 0.75rem;
    color: var(--text-3);
    margin-top: 0.25rem;
    margin-bottom: 1.5rem;
}
.price-card__features { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.5rem; }
.price-card__feat {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.8125rem; color: var(--text-2);
}
.price-card__feat::before {
    content: '';
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--accent-soft) url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%232D5A47' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .pricing__grid { grid-template-columns: 1fr; max-width: 400px; }
}

/* --- Option Cards --- */
.options { padding: var(--section-py-sm) 0; }
.options__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}
.opt-card {
    padding: 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-subtle);
    transition: border-color 0.2s, transform 0.5s var(--ease-spring);
    position: relative;
}
.opt-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.opt-card--pop { border-color: var(--accent); }
.opt-card__badge {
    position: absolute;
    top: -10px; right: 1.25rem;
    padding: 3px 12px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--accent-text);
    background: var(--accent);
    border-radius: var(--radius-pill);
}
.opt-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}
.opt-card__name { font-family: var(--font-display); font-size: 1rem; font-weight: 600; }
.opt-card__price {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent);
}
.opt-card__price small { font-size: 0.6875rem; font-weight: 400; color: var(--text-3); }
.opt-card__desc {
    font-size: 0.8125rem;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}
.opt-card__list { display: flex; flex-direction: column; gap: 0.35rem; }
.opt-card__list li {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.8125rem; color: var(--text-2);
}
.opt-card__list li::before {
    content: ''; width: 4px; height: 4px;
    border-radius: 50%; background: var(--accent);
    flex-shrink: 0;
}


/* --- Packs --- */
.packs { padding: var(--section-py-sm) 0; background: var(--bg-alt); }
.packs__subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 500;
    color: var(--text-2);
    text-align: center;
    margin: 0 0 1.5rem;
    letter-spacing: 0.02em;
}
.packs__subtitle strong { color: var(--accent); font-weight: 600; }
.packs__subtitle--spaced { margin-top: 4rem; }
.packs__subtitle-desc {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
.packs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
@media (max-width: 1024px) { .packs__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; } }

/* --- Plans Agence (home — section dédiée B2B) --- */
.home-plans { padding: var(--section-py) 0; background: var(--bg-alt); }
.home-plans__grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 4rem;
    align-items: center;
}
.home-plans__title { margin-bottom: 1.5rem; }
.home-plans__desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-2);
    margin: 0 0 2rem;
    max-width: 540px;
}
.home-plans__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.home-plans__note {
    font-size: 0.875rem;
    color: var(--text-3);
    margin: 0;
}
.home-plans__note a {
    color: var(--text-2);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
}
.home-plans__note a:hover { color: var(--accent); }
.home-plans__cards {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.home-plan-card {
    position: relative;
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s, transform 0.2s;
}
.home-plan-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}
.home-plan-card--pop {
    border-color: var(--accent);
    border-width: 2px;
    padding: 1.4rem 1.5rem;
}
.home-plan-card__badge {
    position: absolute;
    top: -10px;
    left: 1.5rem;
    background: var(--accent);
    color: var(--bg);
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: 100px;
}
.home-plan-card__name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}
.home-plan-card__price {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.home-plan-card__price small {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-3);
    margin-left: 0.15rem;
}
.home-plan-card__sub {
    font-size: 0.8125rem;
    color: var(--text-2);
    margin: 0.35rem 0 0.6rem;
}
.home-plan-card__feat {
    font-size: 0.8125rem;
    color: var(--text-3);
    line-height: 1.5;
    border-top: 1px solid var(--border);
    padding-top: 0.6rem;
}
@media (max-width: 960px) {
    .home-plans__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .home-plans__desc { max-width: none; }
}

/* --- Note custom (devis sur mesure photos seules) --- */
.packs__custom-note {
    text-align: center;
    margin: 2rem auto 0;
    max-width: 640px;
    font-size: 0.875rem;
    color: var(--text-2);
    line-height: 1.6;
}
.packs__custom-note a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.packs__custom-note a:hover { color: var(--accent); }

/* --- Pack Confiance — Accompagnement mandat (option principale particuliers) --- */
.pack-confiance { padding: var(--section-py-sm) 0 1.5rem; background: var(--bg-alt); }
.pack-confiance__hero {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-subtle);
    overflow: hidden;
    position: relative;
}
.pack-confiance__hero-tag {
    display: inline-block;
    background: var(--text);
    color: var(--bg);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.55rem 1.25rem;
    border-bottom-right-radius: var(--radius-lg);
}
.pack-confiance__hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
    padding: 2rem 2.5rem 2.5rem;
    align-items: center;
}
.pack-confiance__title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 1rem;
    color: var(--text);
    letter-spacing: -0.01em;
}
.pack-confiance__desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-2);
    margin: 0 0 1.5rem;
}
.pack-confiance__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.pack-confiance__list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-2);
}
.pack-confiance__list li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.45rem;
    width: 8px; height: 8px;
    background: var(--text);
    border-radius: 50%;
}
.pack-confiance__list li strong { color: var(--text); font-weight: 600; }
.pack-confiance__cta-box {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-align: center;
}
.pack-confiance__price {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--text-2);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}
.pack-confiance__price span {
    display: block;
    font-size: clamp(1.4rem, 2.8vw, 1.85rem);
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.015em;
    margin-top: 0.25rem;
    line-height: 1.15;
}
.pack-confiance__price-suffix {
    display: block;
    font-size: 0.8125rem;
    font-weight: 400;
    font-style: normal;
    color: var(--text-3);
    margin-top: 0.5rem;
    letter-spacing: 0;
}
.pack-confiance__price-note {
    font-size: 0.8125rem;
    color: var(--text-3);
    line-height: 1.55;
    margin: 0 0 1.25rem;
}
.pack-confiance__price-note strong { color: var(--text-2); font-weight: 600; }
.pack-confiance__price-note a {
    color: var(--text-2);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
}
.pack-confiance__price-note a:hover { color: var(--accent); }
.pack-confiance__note {
    font-size: 0.75rem;
    color: var(--text-3);
    line-height: 1.5;
    margin: 0.85rem 0 0;
    font-style: italic;
}
.pack-confiance__legal {
    border-top: 1px solid var(--border);
    padding: 1rem 2.5rem 1.25rem;
    background: var(--bg-alt);
    font-size: 0.7rem;
    line-height: 1.55;
    color: var(--text-3);
    letter-spacing: 0.01em;
}
.pack-confiance__legal strong { color: var(--text-2); font-weight: 600; }
@media (max-width: 860px) {
    .pack-confiance__hero-grid {
        grid-template-columns: 1fr;
        padding: 1.75rem;
        gap: 1.75rem;
    }
    .pack-confiance__hero-tag {
        font-size: 0.7rem;
        padding: 0.5rem 1rem;
    }
    .pack-confiance__legal { padding: 0.85rem 1.25rem 1rem; font-size: 0.68rem; }
}

/* --- Drone notice --- */
.drone-notice { padding: var(--section-py-sm) 0; }
.drone-notice__card {
    display: flex; gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid #D4A853;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-subtle);
}
.drone-notice__icon { flex-shrink: 0; color: #D4A853; }
.drone-notice__content h3 {
    font-family: var(--font-display);
    font-size: 1rem; font-weight: 600;
    margin-bottom: 0.5rem;
}
.drone-notice__content p { font-size: 0.875rem; color: var(--text-2); line-height: 1.75; }
.drone-notice__link {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 0.8125rem; color: var(--accent);
    font-weight: 500; margin-top: 0.75rem;
}
@media (max-width: 640px) { .drone-notice__card { flex-direction: column; } }

/* --- Checklist --- */
.checklist { padding: var(--section-py-sm) 0; }
.checklist__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.checklist__image {
    padding: 8px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-xl);
}
.checklist__image-inner {
    border-radius: calc(var(--radius-xl) - 4px);
    overflow: hidden; aspect-ratio: 3/2;
    background: var(--bg-alt);
}
.checklist__image-inner img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) { .checklist__grid { grid-template-columns: 1fr; } }

/* --- Pricing note --- */
.pricing-note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: var(--text-3);
}

/* --- Legal page --- */
.legal { padding: var(--section-py-sm) 0; }
.legal__wrap { max-width: 720px; margin: 0 auto; }
.legal__section { margin-bottom: 3rem; }
.legal__section h2 {
    font-family: var(--font-display);
    font-size: 1.375rem; font-weight: 600;
    margin-bottom: 0.75rem;
}
.legal__section p { font-size: 0.9375rem; color: var(--text-2); line-height: 1.8; margin-bottom: 0.75rem; }
.legal__section a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal__back {
    text-align: center;
    margin-top: 3rem; padding-top: 3rem;
    border-top: 1px solid var(--border);
}

/* --- FAQ Accordion --- */
.faq { padding: var(--section-py) 0; }
.faq__list {
    max-width: 780px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.faq__item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.faq__item.open {
    border-color: var(--accent-border);
    box-shadow: var(--shadow-diffuse);
}
.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.25rem 1.5rem;
    font-family: var(--ff-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}
.faq__question:hover { color: var(--accent); }
.faq__question svg {
    flex-shrink: 0;
    transition: transform 0.4s var(--ease-spring);
}
.faq__item.open .faq__question svg {
    transform: rotate(45deg);
}
.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-out), padding 0.4s;
}
.faq__item.open .faq__answer {
    max-height: 600px;
}
.faq__answer-inner {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-2);
}
.faq__answer-inner p + p { margin-top: 0.75rem; }
.faq__answer-inner strong { color: var(--text); }
.faq__answer-inner a { color: var(--accent); text-decoration: underline; }

/* --- Blog Listing --- */
.blog { padding: var(--section-py) 0; }
.blog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease-out);
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-diffuse);
}
.blog-card__img {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.blog-card__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.blog-card:hover .blog-card__img img {
    transform: scale(1.04);
}
.blog-card__body {
    padding: 1.75rem;
}
.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: var(--text-3);
    margin-bottom: 0.75rem;
}
.blog-card__tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.blog-card__title {
    font-family: var(--ff-display);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}
.blog-card__title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}
.blog-card__title a:hover { color: var(--accent); }
.blog-card__excerpt {
    font-size: 0.9375rem;
    color: var(--text-2);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}
.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: gap 0.3s var(--ease-spring);
}
.blog-card__link:hover { gap: 0.75rem; }

/* --- Blog Article --- */
.article { padding: var(--section-py) 0; }
.article__wrap {
    max-width: 740px;
    margin: 0 auto;
}
.article__expertise {
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    background: var(--bg-alt);
    border-left: 3px solid var(--text);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-2);
}
.article__expertise strong { color: var(--text); font-weight: 600; }

.article__byline {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}
.article__byline-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-2);
    transition: color 0.2s;
}
.article__byline-link:hover { color: var(--text); }
.article__byline-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border);
}
.article__byline-text {
    font-size: 0.875rem;
    line-height: 1.4;
}
.article__byline-text strong { color: var(--text); font-weight: 600; }

.article__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--text-3);
}
.article__content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text);
}
.article__content h2 {
    font-family: var(--ff-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: var(--text);
}
.article__content h3 {
    font-family: var(--ff-display);
    font-size: 1.1875rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
}
.article__content p { margin-bottom: 1.25rem; }
.article__content p + p { margin-top: 0; }
.article__content a { color: var(--accent); text-decoration: underline; }
.article__content a.btn { text-decoration: none; }
.article__content a.btn--primary { color: var(--accent-text); }
.article__content a.btn--secondary { color: var(--text); }
.article__content ul, .article__content ol {
    margin: 1rem 0 1.5rem 1.25rem;
}
.article__content li {
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
}
.article__content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: var(--accent-soft);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 1.0625rem;
    font-style: italic;
    color: var(--text);
}
.article__content img {
    width: 100%;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}
.article__content strong { color: var(--text); }
.article__related {
    margin-top: 3rem;
    padding: 1.75rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
}
.article__related h3 {
    font-family: var(--ff-display);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
}
.article__related ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.article__related li {
    padding: 0.5rem 0;
    border-top: 1px solid var(--border);
}
.article__related li:first-child { border-top: none; }
.article__related a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: color 0.15s;
}
.article__related a:hover { color: var(--accent); }

.article__cta {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-xl);
    text-align: center;
}
.article__cta h3 {
    font-family: var(--ff-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.article__cta p {
    font-size: 0.9375rem;
    color: var(--text-2);
    margin-bottom: 1.25rem;
}
.article__back {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

@media (max-width: 600px) {
    .blog__grid { grid-template-columns: 1fr; }
    .faq__question { padding: 1rem 1.25rem; font-size: 0.9375rem; }
    .faq__answer-inner { padding: 0 1.25rem 1.25rem; }
    .audience-toggle:not(.audience-hidden) { width: calc(100% - 2rem); border-radius: 16px; }
    .audience-toggle__btn { flex: 1; justify-content: center; font-size: 0.8125rem; padding: 0.625rem 0.75rem; }
}

/* --- 404 --- */
.page-404 {
    min-height: 100vh; min-height: 100dvh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
}
.page-404__code {
    font-family: var(--font-display);
    font-size: clamp(6rem, 18vw, 14rem);
    font-weight: 700; line-height: 1;
    color: var(--accent); opacity: 0.12;
}
.page-404__title {
    font-family: var(--font-display);
    font-size: 2rem; font-weight: 700;
    margin-top: -1rem;
}
.page-404__desc {
    font-size: 1.0625rem; color: var(--text-2);
    margin: 1rem auto 2rem; max-width: 380px;
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 9999;
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 40px rgba(26, 26, 26, 0.08);
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-out);
}
.cookie-banner.visible { transform: translateY(0); }

.cookie-banner__inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; gap: 2rem;
    flex-wrap: wrap;
}
.cookie-banner__text { flex: 1; min-width: 280px; }
.cookie-banner__title {
    font-family: var(--font-display);
    font-weight: 600; font-size: 1.0625rem;
    margin-bottom: 0.35rem;
}
.cookie-banner__desc {
    font-size: 0.875rem; color: var(--text-2);
    line-height: 1.55;
}
.cookie-banner__link {
    color: var(--accent); text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-banner__actions {
    display: flex; gap: 0.625rem; flex-shrink: 0; flex-wrap: wrap;
}
.cookie-banner__btn {
    padding: 0.625rem 1.25rem;
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 0.8125rem; font-weight: 600;
    cursor: pointer; border: none;
    transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.cookie-banner__btn--accept {
    background: var(--accent); color: var(--accent-text);
}
.cookie-banner__btn--accept:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 16px var(--accent-glow);
}
.cookie-banner__btn--reject {
    background: var(--bg-alt); color: var(--text);
    border: 1px solid var(--border);
}
.cookie-banner__btn--reject:hover {
    border-color: var(--border-hover);
    background: var(--bg);
}
.cookie-banner__btn--settings {
    background: transparent; color: var(--text-2);
    text-decoration: underline; text-underline-offset: 2px;
    padding: 0.625rem 0.75rem;
}
.cookie-banner__btn--settings:hover { color: var(--text); }

@media (max-width: 600px) {
    .cookie-banner { padding: 1rem; }
    .cookie-banner__inner { flex-direction: column; gap: 1rem; align-items: stretch; }
    .cookie-banner__actions { justify-content: stretch; }
    .cookie-banner__btn { flex: 1; text-align: center; }
    .cookie-banner__btn--settings { flex: 0 0 100%; }
}

/* ---- Cookie Settings Panel ---- */
.cookie-settings {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
}
.cookie-settings.visible { opacity: 1; pointer-events: auto; }

.cookie-settings__overlay {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
}
.cookie-settings__panel {
    position: relative; z-index: 1;
    width: 90%; max-width: 520px;
    background: var(--bg-card);
    border-radius: var(--radius-lg, 16px);
    box-shadow: var(--shadow-lift);
    transform: translateY(20px);
    transition: transform 0.3s var(--ease-out);
    overflow: hidden;
}
.cookie-settings.visible .cookie-settings__panel { transform: translateY(0); }

.cookie-settings__header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}
.cookie-settings__title {
    font-family: var(--font-display);
    font-size: 1.125rem; font-weight: 700;
}
.cookie-settings__close {
    background: none; border: none; cursor: pointer;
    color: var(--text-2); padding: 4px;
    border-radius: 8px;
    transition: background 0.2s;
}
.cookie-settings__close:hover { background: var(--accent-soft); }

.cookie-settings__body { padding: 0.5rem 1.5rem; }

.cookie-settings__item {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}
.cookie-settings__item:last-child { border-bottom: none; }
.cookie-settings__info { flex: 1; }
.cookie-settings__info h4 {
    font-family: var(--font-display);
    font-size: 0.9375rem; font-weight: 600;
    margin-bottom: 0.2rem;
}
.cookie-settings__info p {
    font-size: 0.8125rem; color: var(--text-2); line-height: 1.5;
}

/* Toggle switch */
.toggle-switch {
    position: relative; display: inline-block;
    width: 46px; height: 26px; flex-shrink: 0;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-switch__slider {
    position: absolute; inset: 0;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 26px;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s;
}
.toggle-switch__slider::before {
    content: '';
    position: absolute; left: 3px; top: 50%;
    transform: translateY(-50%);
    width: 18px; height: 18px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    transition: transform 0.25s var(--ease-out);
}
.toggle-switch input:checked + .toggle-switch__slider {
    background: var(--accent);
    border-color: var(--accent);
}
.toggle-switch input:checked + .toggle-switch__slider::before {
    transform: translateY(-50%) translateX(20px);
}
.toggle-switch--disabled { opacity: 0.55; }
.toggle-switch--disabled .toggle-switch__slider { cursor: not-allowed; }

.cookie-settings__footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    text-align: right;
}

/* Modal pack badge */
.modal__pack-badge {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    border: 1px solid var(--accent-border);
    margin-bottom: 1rem;
}

/* Footer cookie link */
.footer__cookie-link {
    display: inline-block; margin-left: 1rem;
    cursor: pointer; background: none; border: none;
    font-size: inherit; font-family: inherit;
    color: var(--text-3); text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}
.footer__cookie-link:hover { color: var(--accent); }

/* ============================================
   SCROLL REVEAL — Blur + translate + stagger
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    filter: blur(6px);
    transition: opacity 0.9s var(--ease-out),
                transform 0.9s var(--ease-out),
                filter 0.9s var(--ease-out);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* ============================================
   PORTFOLIO — Project detail pages
   ============================================ */
.project-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 480px;
    max-height: 780px;
    overflow: hidden;
    background: var(--accent-soft);
}
.project-hero picture,
.project-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.project-hero__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding-bottom: clamp(2rem, 6vh, 4rem);
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 45%, rgba(0,0,0,0) 70%);
    color: #fff;
}
.project-hero__overlay .eyebrow { color: rgba(255,255,255,0.85); }
.project-hero__title {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0.5rem 0 0.75rem;
    color: #fff;
}
.project-hero__desc {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    max-width: 640px;
    color: rgba(255,255,255,0.92);
}

.project-meta {
    padding: clamp(2rem, 5vh, 3.5rem) 0;
    border-bottom: 1px solid var(--border);
}
.project-meta__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem 2rem;
}
.project-meta__item { display: flex; flex-direction: column; gap: 0.25rem; }
.project-meta__label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-2);
}
.project-meta__value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.project-matterport {
    padding: clamp(2rem, 6vh, 4rem) 0;
    background: var(--bg-alt);
}
.project-matterport__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.5rem;
}
.project-matterport__desc {
    color: var(--text-muted);
    margin: 0 0 1.5rem;
}
.project-matterport__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lift);
    background: #000;
}
.project-matterport__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/* Placeholder Matterport (en attente du scan définitif) */
.project-matterport__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.92);
    background: linear-gradient(135deg, #141414 0%, #000000 100%);
    padding: 2rem;
    pointer-events: none;
}
.project-matterport__placeholder p { margin: 0; font-size: 1.0625rem; }
.project-matterport__placeholder-sub {
    font-size: 0.9rem !important;
    opacity: 0.75;
}

/* Section FPV verticale (9:16 mobile-first) */
.project-fpv {
    padding: clamp(2rem, 6vh, 4rem) 0;
    background: var(--bg-alt);
}
.project-fpv__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.5rem;
}
.project-fpv__desc {
    color: var(--text-muted);
    margin: 0 0 1.5rem;
    max-width: 60ch;
}
.project-fpv__frame {
    position: relative;
    width: min(360px, 80vw);
    aspect-ratio: 9 / 16;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lift);
    background: #000;
}
.project-fpv__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.92);
    background: linear-gradient(160deg, #000000 0%, #141414 100%);
    padding: 2rem 1.5rem;
}
.project-fpv__placeholder svg { color: rgba(255, 255, 255, 0.85); }
.project-fpv__placeholder p { margin: 0; font-size: 1rem; line-height: 1.4; }
.project-fpv__placeholder-sub {
    font-size: 0.85rem !important;
    opacity: 0.75;
}

/* Galerie suite (réduit l'espace en haut quand un bloc Matterport/FPV précède) */
.project-gallery--continued { padding-top: clamp(1rem, 3vh, 2rem); }

.project-gallery {
    padding: clamp(3rem, 8vh, 5rem) 0;
}
/* Grid portfolio : ratios figés par classe (aucun JS, aucun gap irrégulier) */
.project-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.project-gallery__item {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: zoom-in;
    background: var(--accent-soft);
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;            /* landscape par défaut */
}
.project-gallery__item--portrait { aspect-ratio: 2 / 3; }
.project-gallery__item--wide {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
}
.project-gallery__item picture,
.project-gallery__item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;              /* remplit la case sans déformer */
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-gallery__item:hover img { transform: scale(1.03); }

@media (max-width: 720px) {
    .project-gallery__grid { grid-template-columns: 1fr; }
    /* Wide = re-bascule en 3/2 classique (plus de span 2 colonnes) */
    .project-gallery__item--wide {
        grid-column: auto;
        aspect-ratio: 3 / 2;
    }
    /* Portrait garde son ratio 2/3 pour respecter le cadrage vertical */
    /* Landscape (défaut) garde son 3/2 */
}

.project-back {
    padding: 0 0 clamp(3rem, 6vh, 4rem);
}
.project-back__link {
    display: inline-block;
    color: var(--text-2);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}
.project-back__link:hover { color: var(--accent); }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.94);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.lightbox--open { display: flex; }
.lightbox__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 60px -12px rgba(0,0,0,0.6);
}
.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    line-height: 1;
    transition: background 0.15s;
    backdrop-filter: blur(4px);
}
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover { background: rgba(255,255,255,0.2); }
.lightbox__close { top: 1.25rem; right: 1.25rem; }
.lightbox__prev  { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: 1.25rem; top: 50%; transform: translateY(-50%); }

@media (max-width: 600px) {
    .lightbox__prev, .lightbox__next { width: 40px; height: 40px; font-size: 1.5rem; }
}

/* ============================================
   CHECKLIST — Preview card on tarifs page
   ============================================ */
.checklist__preview-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text);
    box-shadow: 0 4px 20px -8px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s, box-shadow 0.25s;
}
.checklist__preview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.16);
}
.checklist__preview-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.checklist__preview-logo { height: 26px; width: auto; }
.checklist__preview-title {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
    text-align: center;
}
.checklist__preview-url {
    font-size: 0.75rem;
    color: var(--text-2);
    font-weight: 500;
}
.checklist__preview-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.checklist__preview-col {
    background: var(--accent-soft);
    border-radius: var(--radius);
    padding: 1rem 0.9rem;
}
.checklist__preview-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    text-align: center;
    margin-bottom: 0.6rem;
}
.checklist__preview-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.checklist__preview-col li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--text);
    line-height: 1.4;
}
.checklist__dot {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    margin-top: 3px;
    position: relative;
}
.checklist__dot::after {
    content: "";
    position: absolute;
    left: 3px; top: 4px;
    width: 5px; height: 3px;
    border-left: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    transform: rotate(-45deg);
}
.checklist__more {
    font-style: italic;
    color: var(--text-2);
    font-size: 0.72rem;
    padding-left: 1.25rem;
    margin-top: 0.15rem;
}

@media (max-width: 560px) {
    .checklist__preview-cols { grid-template-columns: 1fr; }
    .checklist__preview-head { grid-template-columns: 1fr; text-align: center; gap: 0.4rem; }
}
