/* Cbet AR — weave.css */

:root {
    --color-primary: #2cca82;
    --color-accent: #ffffff;
    --color-bg: #111928;
    --color-accent-pressed: #ededed;
    --color-gradient-light: #fefefe;
    --color-gradient-mid: #fdfdfd;
    --color-text: #ffffff;
    --color-text-muted: #c1c1c1;
    --color-bg-elevated: #1a2334;
    --color-on-primary: #0c1220;
    --color-rg-banner: #dc2626;
    --color-border: rgba(255, 255, 255, 0.08);

    --font-display: 'Inter', system-ui, sans-serif;
    --font-body: 'Roboto', system-ui, sans-serif;

    --fs-h1: 60px;
    --fs-h2: 34px;
    --fs-h3: 24px;
    --fs-h4: 19px;
    --fs-h5: 16px;
    --fs-h6: 14px;
    --fs-body: 16px;
    --fs-small: 13px;
    --fs-micro: 10px;

    --lh-tight: 1.1;
    --lh-normal: 1.5;
    --lh-loose: 1.65;
    --ls-tight: -0.02em;
    --ls-normal: 0;
    --ls-wide: 0.06em;
    --fw-regular: 400;
    --fw-medium: 600;
    --fw-bold: 800;

    --space-2xs: 2px;
    --space-xs: 6px;
    --space-sm: 10px;
    --space-md: 16px;
    --space-lg: 48px;
    --space-xl: 80px;
    --space-2xl: 128px;
    --space-3xl: 200px;

    --container-site: 1280px;
    --container-readable: 720px;
    --container-padding-mobile: 16px;
    --container-padding-tablet: 32px;
    --container-padding-desktop: 48px;
    --container-max: calc(var(--container-site) + 2 * var(--container-padding-desktop));

    --radius-xs: 2px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-pill: 9999px;
    --radius-circle: 50%;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.09);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.13);

    --dur-fast: 150ms;
    --dur-base: 300ms;
    --dur-slow: 600ms;
    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);

    --header-h: 120px;
    --header-h-mobile: 80px;
    --section-pad: 52px;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: var(--lh-normal);
    color: var(--color-text);
    background: var(--color-bg);
    padding-top: var(--header-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
    position: absolute;
    left: var(--space-md);
    top: -200px;
    z-index: 200;
    background: var(--color-primary);
    color: var(--color-on-primary);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-weight: var(--fw-bold);
}
.skip-link:focus { top: var(--space-md); }
.skip-link:not(:focus) { top: -200px !important; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; animation: none !important; }
}

.section-inner,
.grove-dark-inner,
.reel-premium-inner,
.rafter-noble-inner,
.page-media-inner,
.oriel-fresh-inner,
.cloister-fluid-inner,
.registre-fast-inner,
.pulpit-bold-inner,
.brochure-dark-inner,
.chambre-dark-inner,
.veranda-dark-inner,
.lutrin-crisp-inner,
.alcove-zone-inner,
.marque-flux-inner,
.crypte-neat-inner,
.nave-fine-inner,
.threshold-swift-inner {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding-desktop);
}

/* Shared vertical rhythm (A-09 safe: pairs <= 110px) */
.rafter-noble,
.page-media,
.oriel-fresh,
.cloister-fluid,
.registre-fast,
.pulpit-bold,
.brochure-dark,
.chambre-dark,
.veranda-dark,
.lutrin-crisp,
.alcove-zone,
.marque-flux {
    padding-block: var(--section-pad);
}

/* ---------- header (HEAD-10 Tall Editorial, NAV-03, STICKY-01) ---------- */
.grove-dark {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    min-height: var(--header-h);
}
.grove-dark-inner { display: flex; flex-direction: column; justify-content: center; min-height: var(--header-h); gap: var(--space-sm); }
.grove-dark-row { display: flex; align-items: center; }
.grove-dark-row--top { justify-content: space-between; }
.grove-dark-logo, .grove-dark-logo img { flex-shrink: 0; }
.grove-dark-logo img { height: 88px; width: auto; }
.grove-dark-row--bottom { justify-content: space-between; gap: var(--space-lg); }

.grove-dark-nav { display: flex; flex-direction: column; gap: var(--space-2xs); }
.grove-dark-nav-list { display: flex; flex-wrap: nowrap; gap: var(--space-md); }
.grove-dark-nav-list--bottom { padding-top: var(--space-2xs); border-top: 1px solid var(--color-border); }
.grove-dark-link {
    font-family: var(--font-display);
    font-weight: var(--fw-medium);
    font-size: var(--fs-h6);
    color: var(--color-text);
    white-space: nowrap;
    transition: color var(--dur-fast) var(--ease-out);
}
.grove-dark-link:hover { color: var(--color-primary); }
.grove-dark-link--active { color: var(--color-primary); }
.grove-dark-actions { display: flex; align-items: center; }
.grove-dark-auth-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: var(--space-sm) var(--space-lg);
    background: var(--color-primary);
    color: var(--color-on-primary);
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    border-radius: var(--radius-pill);
    transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.grove-dark-auth-btn:hover { background: var(--color-accent-pressed); color: var(--color-on-primary); }

.grove-dark-toggle {
    display: none;
    margin-left: auto;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: var(--space-sm);
}
.grove-dark-toggle-bar { display: block; width: 26px; height: 2px; background: var(--color-text); border-radius: 2px; }

.grove-dark-drawer {
    display: none;
    position: fixed;
    top: var(--header-h-mobile);
    left: 0; right: 0; bottom: 0;
    background: var(--color-bg);
    z-index: 99;
    overflow-y: auto;
    padding: var(--space-md) var(--container-padding-mobile) var(--space-lg);
}
.grove-dark-drawer.is-open { display: block; }
.grove-dark-mnav-list { display: flex; flex-direction: column; gap: var(--space-2xs); }
.grove-dark-mlink {
    display: block;
    padding: var(--space-md) 0;
    font-family: var(--font-display);
    font-weight: var(--fw-medium);
    font-size: var(--fs-h5);
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
}
.grove-dark-mlink--active { color: var(--color-primary); }
.grove-dark-auth-btn--mobile { display: inline-block; margin-top: var(--space-md); text-align: center; }

/* ---------- hero (HERO-02 Split Photo Right) ---------- */
.reel-premium { padding-block: var(--space-xl); }
.reel-premium-inner {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: var(--space-lg);
    align-items: center;
    min-height: 480px;
}
.reel-premium-eyebrow {
    display: block;
    font-family: var(--font-body);
    font-weight: var(--fw-medium);
    font-size: var(--fs-small);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}
.reel-premium-title {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: var(--fs-h1);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
    color: var(--color-text);
}
.reel-premium-subtitle {
    font-size: var(--fs-h5);
    line-height: var(--lh-normal);
    color: var(--color-text-muted);
    max-width: 480px;
    margin-top: var(--space-md);
}
.reel-premium-actions { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-top: var(--space-lg); }
.reel-premium-cta-primary,
.reel-premium-cta-secondary {
    display: inline-flex;
    align-items: center;
    height: 52px;
    padding-inline: var(--space-lg);
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    font-size: var(--fs-h6);
    transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.reel-premium-cta-primary { background: var(--color-primary); color: var(--color-on-primary); }
.reel-premium-cta-primary:hover { background: var(--color-accent-pressed); color: var(--color-on-primary); }
.reel-premium-cta-secondary { background: transparent; border: 1px solid var(--color-text-muted); color: var(--color-text); }
.reel-premium-cta-secondary:hover { border-color: var(--color-text); background: rgba(44, 202, 130, 0.12); color: var(--color-text); }
.reel-premium-figure {
    margin: 0;
    aspect-ratio: 4 / 5;
    max-height: 560px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.reel-premium-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.reel-premium-figure:hover img { transform: scale(1.04); }

/* ---------- page-header (PHEAD-03 Big Block) ---------- */
.rafter-noble { background: var(--color-primary); }
.rafter-noble-title {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: clamp(34px, 6vw, 60px);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
    color: var(--color-on-primary);
}
.rafter-noble-desc { margin-top: var(--space-md); font-size: var(--fs-h5); color: var(--color-on-primary); opacity: 0.82; max-width: 820px; }

/* ---------- page media ---------- */
.page-media-inner { display: flex; flex-wrap: wrap; gap: var(--space-md); }
.page-media-fig { margin: 0; flex: 1 1 320px; max-height: 480px; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.page-media-fig img { width: 100%; max-height: 480px; object-fit: cover; }

/* ---------- prose (PROSE-07 Numbered Headers) ---------- */
.oriel-fresh { counter-reset: section; }
.oriel-fresh-h2 {
    counter-increment: section;
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: var(--fs-h2);
    color: var(--color-text);
    line-height: var(--lh-tight);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-md);
}
.oriel-fresh-h2:first-child { margin-top: 0; }
.oriel-fresh-h2::before {
    content: counter(section, decimal-leading-zero) ". ";
    color: var(--color-primary);
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    margin-right: var(--space-sm);
}
.oriel-fresh-p { color: var(--color-text-muted); margin-bottom: var(--space-md); max-width: var(--container-readable); line-height: var(--lh-loose); }
.oriel-fresh-p a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
.oriel-fresh-p a:hover { color: var(--color-accent-pressed); }
.oriel-fresh-p strong { color: var(--color-text); }
.oriel-fresh-list { max-width: var(--container-readable); margin-bottom: var(--space-md); display: flex; flex-direction: column; gap: var(--space-sm); }
.oriel-fresh-list li { position: relative; padding-left: var(--space-md); color: var(--color-text-muted); line-height: var(--lh-loose); }
.oriel-fresh-list li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary); }

/* ---------- items-grid (GRID-12 Initial-Block) ---------- */
.cloister-fluid-title, .registre-fast-title, .pulpit-bold-title, .brochure-dark-title {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: var(--fs-h2);
    color: var(--color-text);
    margin-bottom: var(--space-lg);
}
.cloister-fluid-list { display: flex; flex-direction: column; }
.cloister-fluid-item { display: flex; gap: var(--space-lg); padding: var(--space-lg) 0; border-bottom: 1px solid var(--color-border); align-items: flex-start; }
.cloister-fluid-initial {
    flex-shrink: 0;
    width: 120px; height: 120px;
    aspect-ratio: 1 / 1;
    background: var(--color-accent);
    color: var(--color-bg);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: var(--fs-h1);
}
.cloister-fluid-item-title { font-size: var(--fs-h4); font-weight: var(--fw-bold); color: var(--color-text); margin-bottom: var(--space-sm); }
.cloister-fluid-item-text { font-size: var(--fs-body); line-height: var(--lh-normal); color: var(--color-text-muted); }

/* ---------- reviews (REV-02 Quote-Style) ---------- */
.registre-fast-list { display: flex; flex-direction: column; }
.registre-fast-item { position: relative; max-width: var(--container-readable); padding-block: var(--space-lg); padding-left: var(--space-lg); border-bottom: 1px solid var(--color-border); }
.registre-fast-item:last-child { border-bottom: 0; }
.registre-fast-quote { margin: 0; }
.registre-fast-quote::before {
    content: "\201C";
    position: absolute; left: -6px; top: 8px;
    font-family: var(--font-display);
    font-size: var(--fs-h1);
    line-height: 1;
    color: var(--color-primary);
}
.registre-fast-quote p { font-family: var(--font-display); font-size: var(--fs-h4); font-style: italic; line-height: var(--lh-tight); color: var(--color-text); }
.registre-fast-attribution { display: flex; align-items: center; gap: var(--space-md); margin-top: var(--space-md); font-size: var(--fs-small); color: var(--color-text-muted); }
.registre-fast-author { font-style: normal; font-weight: var(--fw-medium); color: var(--color-text); }
.registre-fast-rating-text { color: var(--color-primary); font-weight: var(--fw-medium); }

/* ---------- faq (FAQ-10 Sidebar Two-Column) ---------- */
.pulpit-bold-inner { display: grid; grid-template-columns: 40% 60%; gap: var(--space-lg); align-items: start; }
.pulpit-bold-aside { position: sticky; top: calc(var(--header-h) + var(--space-md)); padding: var(--space-lg) 0; }
.pulpit-bold-lead { color: var(--color-text-muted); margin-top: var(--space-md); line-height: var(--lh-loose); }
.pulpit-bold-list { display: flex; flex-direction: column; gap: var(--space-lg); }
.pulpit-bold-q { font-size: var(--fs-h4); font-weight: var(--fw-bold); color: var(--color-text); margin-bottom: var(--space-sm); }
.pulpit-bold-a { color: var(--color-text-muted); line-height: var(--lh-loose); }

/* ---------- data-table (TABLE-01 Striped) ---------- */
.brochure-dark-wrap { overflow-x: auto; border-radius: var(--radius-md); }
.brochure-dark-table { width: 100%; border-collapse: collapse; min-width: 520px; background: var(--color-bg-elevated); }
.brochure-dark-table thead { background: var(--color-primary); }
.brochure-dark-table th {
    padding: var(--space-md);
    text-align: left;
    font-family: var(--font-body);
    font-weight: var(--fw-medium);
    text-transform: uppercase;
    font-size: var(--fs-h6);
    letter-spacing: var(--ls-wide);
    color: var(--color-on-primary);
}
.brochure-dark-table td { padding: var(--space-md); font-size: var(--fs-body); color: var(--color-text-muted); border-top: 1px solid var(--color-border); }
.brochure-dark-table td:first-child { color: var(--color-text); font-weight: var(--fw-medium); }
.brochure-dark-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.02); }
.brochure-dark-table tbody tr:hover { background: rgba(255, 255, 255, 0.05); transition: background var(--dur-fast); }

/* ---------- cta-block (CTA-01 Full-Width Strip on Accent) ---------- */
.chambre-dark { background: var(--color-accent); }
.chambre-dark-inner { display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); flex-wrap: wrap; }
.chambre-dark-title { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h2); text-transform: uppercase; letter-spacing: var(--ls-tight); color: var(--color-bg); max-width: 720px; }
.chambre-dark-description { margin-top: var(--space-sm); font-size: var(--fs-body); line-height: var(--lh-normal); color: rgba(12, 18, 32, 0.85); max-width: 580px; }
.chambre-dark-button {
    display: inline-flex; align-items: center; justify-content: center;
    height: 56px; min-width: 220px;
    padding-inline: var(--space-lg);
    background: var(--color-bg);
    color: var(--color-accent);
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    border-radius: var(--radius-pill);
    flex-shrink: 0;
    transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.chambre-dark-button:hover { background: var(--color-primary); color: var(--color-on-primary); transform: scale(1.03); }

/* ---------- author-byline (BYLINE-05 Horizontal Bar) ---------- */
.veranda-dark { background: var(--color-primary); }
.veranda-dark-inner { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); flex-wrap: wrap; }
.veranda-dark-author-info { display: flex; align-items: center; gap: var(--space-md); }
.veranda-dark-portrait { width: 56px; height: 56px; border-radius: var(--radius-circle); object-fit: cover; }
.veranda-dark-label { font-size: var(--fs-small); text-transform: uppercase; letter-spacing: var(--ls-wide); color: var(--color-on-primary); opacity: 0.7; }
.veranda-dark-name { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h5); }
.veranda-dark-name a { color: var(--color-on-primary); }
.veranda-dark-role { font-size: var(--fs-small); color: var(--color-on-primary); opacity: 0.82; }
.veranda-dark-cta {
    display: inline-flex; align-items: center;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-on-primary);
    background: var(--color-on-primary);
    color: var(--color-accent);
    border-radius: var(--radius-pill);
    font-weight: var(--fw-medium);
    transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.veranda-dark-cta:hover { background: var(--color-bg); color: var(--color-accent); }

/* ---------- legal-section (LEGAL-03 Two-Column Sidebar TOC) ---------- */
.lutrin-crisp-inner { display: grid; grid-template-columns: 240px 1fr; gap: var(--space-lg); align-items: start; }
.lutrin-crisp-toc { position: sticky; top: calc(var(--header-h) + var(--space-md)); padding: var(--space-md); background: var(--color-bg-elevated); border-radius: var(--radius-md); font-size: var(--fs-small); }
.lutrin-crisp-toc-title { font-size: var(--fs-h6); text-transform: uppercase; letter-spacing: var(--ls-wide); color: var(--color-text); margin-bottom: var(--space-sm); }
.lutrin-crisp-toc ol { list-style: decimal; padding-left: var(--space-md); display: flex; flex-direction: column; gap: var(--space-xs); }
.lutrin-crisp-toc a { color: var(--color-text-muted); }
.lutrin-crisp-toc a:hover { color: var(--color-primary); }
.lutrin-crisp-title { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h2); color: var(--color-text); line-height: var(--lh-tight); margin-bottom: var(--space-md); }
.lutrin-crisp-intro { color: var(--color-text-muted); font-size: var(--fs-h5); line-height: var(--lh-loose); margin-bottom: var(--space-lg); }
.lutrin-crisp-block { margin-bottom: var(--space-lg); }
.lutrin-crisp-h2 { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h3); color: var(--color-text); margin-bottom: var(--space-md); }
.lutrin-crisp-block p { color: var(--color-text-muted); line-height: var(--lh-loose); margin-bottom: var(--space-md); max-width: var(--container-readable); }
.lutrin-crisp-disclaimer { color: var(--color-text-muted); font-size: var(--fs-small); font-style: italic; border-top: 1px solid var(--color-border); padding-top: var(--space-md); }

/* ---------- author-card (AUTH-02 Vertical Centered) ---------- */
.marque-flux-card { max-width: 600px; margin-inline: auto; text-align: center; }
.marque-flux-portrait { width: 140px; height: 140px; border-radius: var(--radius-circle); object-fit: cover; margin: 0 auto var(--space-lg); }
.marque-flux-job { font-size: var(--fs-small); text-transform: uppercase; letter-spacing: var(--ls-wide); color: var(--color-primary); margin-bottom: var(--space-sm); }
.marque-flux-name { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h2); color: var(--color-text); margin-bottom: var(--space-md); }
.marque-flux-bio { line-height: var(--lh-loose); color: var(--color-text-muted); margin-bottom: var(--space-md); }
.marque-flux-tags { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: center; }
.marque-flux-tag { padding: var(--space-xs) var(--space-md); border: 1px solid var(--color-border); border-radius: var(--radius-pill); font-size: var(--fs-small); color: var(--color-text-muted); }

/* ---------- contact-form (FORM-04) ---------- */
.alcove-zone-box { max-width: var(--container-readable); margin-inline: auto; }
.alcove-zone-intro { color: var(--color-text-muted); line-height: var(--lh-loose); margin-bottom: var(--space-lg); }
.alcove-zone-form { display: flex; flex-direction: column; gap: var(--space-md); }
.alcove-zone-field { display: flex; flex-direction: column; gap: var(--space-xs); }
.alcove-zone-label { font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--color-text); }
.alcove-zone-input {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--fs-body);
}
.alcove-zone-input:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: var(--color-primary); }
.alcove-zone-textarea { resize: vertical; min-height: 120px; }
.alcove-zone-submit {
    align-self: flex-start;
    padding: var(--space-md) var(--space-lg);
    background: var(--color-primary);
    color: var(--color-on-primary);
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    border: 0;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.alcove-zone-submit:hover { background: var(--color-accent-pressed); color: var(--color-on-primary); }
.alcove-zone-success { color: var(--color-primary); font-weight: var(--fw-medium); padding: var(--space-md); border: 1px solid var(--color-primary); border-radius: var(--radius-md); }

/* ---------- error-block (ERR-07 Geometric Pattern) ---------- */
.threshold-swift {
    background-color: var(--color-bg);
    background-image:
        linear-gradient(rgba(44, 202, 130, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(44, 202, 130, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    padding-block: var(--space-xl);
    text-align: center;
}
.threshold-swift-box { max-width: 640px; margin-inline: auto; }
.threshold-swift-code { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 96px; color: var(--color-primary); line-height: 1; }
.threshold-swift-title { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h2); color: var(--color-text); margin-block: var(--space-md); }
.threshold-swift-text { color: var(--color-text-muted); margin-bottom: var(--space-lg); }
.threshold-swift-button {
    display: inline-flex; align-items: center;
    padding: var(--space-md) var(--space-lg);
    background: var(--color-primary);
    color: var(--color-on-primary);
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    border-radius: var(--radius-pill);
    transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.threshold-swift-button:hover { background: var(--color-accent-pressed); color: var(--color-on-primary); }

/* ---------- footer (FOOT-05 Info-Dense) ---------- */
.crypte-neat { background: var(--color-primary); padding-block: var(--space-xl); }
.crypte-neat-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: var(--space-lg); }
.crypte-neat-logo { height: 80px; width: auto; }
.crypte-neat-tagline { margin-top: var(--space-md); font-size: var(--fs-small); color: var(--color-on-primary); opacity: 0.85; line-height: var(--lh-normal); max-width: 340px; }
.crypte-neat-heading { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-small); text-transform: uppercase; letter-spacing: var(--ls-wide); color: var(--color-on-primary); margin-bottom: var(--space-md); }
.crypte-neat-list { display: flex; flex-direction: column; gap: var(--space-sm); }
.crypte-neat-link { font-size: var(--fs-small); color: var(--color-on-primary); opacity: 0.82; transition: opacity var(--dur-fast) var(--ease-out); }
.crypte-neat-link:hover { opacity: 1; text-decoration: underline; }
.crypte-neat-bottom { border-top: 1px solid rgba(12, 18, 32, 0.18); margin-top: var(--space-lg); padding-top: var(--space-md); text-align: center; }
.crypte-neat-copyright { font-size: var(--fs-small); color: var(--color-on-primary); opacity: 0.8; }

/* ---------- cookie-banner (COOK-02 Full-Width Bottom Strip) ---------- */
.nave-fine {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 90;
    background: var(--color-primary);
    border-top: 1px solid rgba(12, 18, 32, 0.18);
    padding-block: var(--space-md);
}
.nave-fine[hidden] { display: none; }
.nave-fine-inner { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); }
.nave-fine-message { flex: 1; font-size: var(--fs-small); color: var(--color-on-primary); }
.nave-fine-actions { display: flex; flex-shrink: 0; gap: var(--space-sm); }
.nave-fine-button {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: var(--fs-small);
    cursor: pointer;
    border: 1px solid var(--color-on-primary);
    transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.nave-fine-button--accept { background: var(--color-on-primary); color: var(--color-primary); }
.nave-fine-button--accept:hover { background: var(--color-bg); color: var(--color-accent); }
.nave-fine-button--decline { background: transparent; color: var(--color-on-primary); }
.nave-fine-button--decline:hover { background: var(--color-on-primary); color: var(--color-primary); }

/* ---------- structural wrappers ---------- */
.grove-dark-nav-list--top { flex-wrap: nowrap; }
.grove-dark-link-item { display: flex; align-items: center; }
.grove-dark-mnav { display: flex; flex-direction: column; }
.grove-dark-mlink-item { display: block; }
.reel-premium-text { display: flex; flex-direction: column; }
.cloister-fluid-body { display: flex; flex-direction: column; }
.chambre-dark-text { display: flex; flex-direction: column; }
.veranda-dark-text { display: flex; flex-direction: column; }
.pulpit-bold-item { display: block; }
.lutrin-crisp-main { min-width: 0; }
.crypte-neat-col { display: block; }
.crypte-neat-col--brand { display: flex; flex-direction: column; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1136px) {
    .reel-premium-inner { grid-template-columns: 1fr; }
    .reel-premium-figure { aspect-ratio: 16 / 9; max-height: none; width: 100%; }
    .pulpit-bold-inner { grid-template-columns: 1fr; }
    .pulpit-bold-aside { position: static; }
    .crypte-neat-inner { grid-template-columns: 1fr 1fr; }
    .lutrin-crisp-inner { grid-template-columns: 1fr; }
    .lutrin-crisp-toc { position: static; }
}

/* Header: burger + drawer up to 1000px (two-row nav only where it fits, >=1001) */
@media (max-width: 1000px) {
    body { padding-top: var(--header-h-mobile); }
    .grove-dark { min-height: var(--header-h-mobile); }
    .grove-dark-inner { min-height: var(--header-h-mobile); justify-content: center; }
    .grove-dark-row--bottom { display: none; }
    .grove-dark-toggle { display: flex; }
    .grove-dark-logo img { height: 60px; }
}

@media (max-width: 832px) {
    :root { --section-pad: 40px; }

    .reel-premium { padding-block: var(--space-lg); }
    .reel-premium-title { font-size: 36px; }
    .reel-premium-subtitle { font-size: 15px; }
    .reel-premium-actions { flex-direction: column; align-items: stretch; }
    .reel-premium-cta-primary, .reel-premium-cta-secondary { justify-content: center; }

    .cloister-fluid-item { flex-direction: column; gap: var(--space-md); }
    .cloister-fluid-initial { width: 80px; height: 80px; font-size: var(--fs-h2); }

    .chambre-dark-inner { flex-direction: column; align-items: flex-start; }
    .chambre-dark-button { width: 100%; }

    .veranda-dark-inner { flex-direction: column; align-items: flex-start; }
    .veranda-dark-cta { width: 100%; justify-content: center; }

    .crypte-neat-inner { grid-template-columns: 1fr; }

    .nave-fine-inner { flex-direction: column; align-items: stretch; }
    .nave-fine-actions { justify-content: stretch; }
    .nave-fine-button { flex: 1; }

    :root { --fs-h1: 36px; --fs-h2: 26px; --fs-h3: 20px; --fs-h4: 17px; }

    .section-inner, [class$="-inner"] { padding-inline: var(--container-padding-mobile); }
}

@media (min-width: 833px) and (max-width: 1136px) {
    .section-inner, [class$="-inner"] { padding-inline: var(--container-padding-tablet); }
}
/* 1001-1136: two-row nav shown; keep it fitting next to auth button */
@media (min-width: 1001px) and (max-width: 1136px) {
    .grove-dark-row--bottom { flex-wrap: wrap; row-gap: var(--space-sm); }
    .grove-dark-nav-list { gap: var(--space-sm); }
}

@media (max-width: 1019px) {
  .grove-dark-row,
  .grove-dark-nav,
  .grove-dark-nav-list,
  .grove-dark-link,
  .grove-dark-actions,
  .grove-dark-auth-btn { display: none !important; }
  .grove-dark-toggle { display: flex !important; }
}
