/* ============================================================
   Ma Bouillotte — Thème Vitrine · main.css
   @layer reset, tokens, base, layout, components, sections, utilities
   ============================================================ */

@layer reset, tokens, base, layout, components, sections, utilities;

/* ---------- @font-face (self-hosted) ---------- */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces/Fraunces-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces/Fraunces-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces/Fraunces-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/Inter-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/Inter-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- @layer tokens ---------- */
@layer tokens {
  :root {
    --color-sand-50: #FDF8EC;
    --color-sand-100: #F5E8C7;
    --color-ink-900: #0B2A39;
    --color-ink-600: #4A5B68;
    --color-ocean-500: #0891B2;
    --color-ocean-700: #0E7490;
    --color-palm-600: #2D6A3E;
    --color-wood-700: #5C3A1E;
    --color-sun-600: #B45309;
    --color-coral-700: #CC4A2E;
    --color-white: #FFFFFF;

    --color-bg: var(--color-sand-50);
    --color-bg-alt: var(--color-sand-100);
    --color-text: var(--color-ink-900);
    --color-text-muted: var(--color-ink-600);
    --color-primary: var(--color-ocean-500);
    --color-primary-hover: var(--color-ocean-700);
    --color-link: var(--color-ocean-700);
    --color-accent: var(--color-palm-600);
    --color-warm: var(--color-sun-600);

    --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-h1: clamp(2rem, 4vw + 1rem, 3.5rem);
    --font-h2: clamp(1.5rem, 3vw + 0.5rem, 2.5rem);
    --font-h3: clamp(1.25rem, 2vw + 0.5rem, 1.75rem);
    --font-body: clamp(1rem, 0.5vw + 0.95rem, 1.125rem);
    --font-small: 0.875rem;
    --line-height-heading: 1.2;
    --line-height-body: 1.65;

    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-section: clamp(4rem, 8vw, 8rem);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 9999px;

    --shadow-sm: 0 2px 8px rgba(92, 58, 30, 0.06);
    --shadow-md: 0 8px 24px rgba(92, 58, 30, 0.08);
    --shadow-lg: 0 16px 40px rgba(92, 58, 30, 0.10);
    --shadow-cta: 0 8px 24px rgba(8, 145, 178, 0.25);

    --container-max: 1200px;
    --container-narrow: 760px;
  }
}

/* ---------- @layer base ---------- */
@layer base {
  html { font-size: 100%; scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: var(--font-body);
    line-height: var(--line-height-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    line-height: var(--line-height-heading);
    color: var(--color-text);
    margin: 0 0 var(--space-md);
    font-weight: 700;
    letter-spacing: -0.01em;
  }
  h1 { font-size: var(--font-h1); }
  h2 { font-size: var(--font-h2); }
  h3 { font-size: var(--font-h3); font-weight: 600; }

  p { margin: 0 0 var(--space-md); }

  a {
    color: var(--color-link);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  a:hover, a:focus-visible { text-decoration-thickness: 2px; }

  :focus-visible {
    outline: 2px solid var(--color-ocean-500);
    outline-offset: 3px;
    border-radius: 2px;
  }

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

  .skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--color-ocean-500);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-md);
    z-index: 9999;
    text-decoration: none;
    border-radius: 0 0 var(--radius-md) 0;
  }
  .skip-link:focus { left: 0; }

  .visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

/* ---------- @layer layout ---------- */
@layer layout {
  .container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--space-lg);
  }
  .container--narrow { max-width: var(--container-narrow); }

  section.section, main section {
    padding-block: var(--space-section);
    position: relative;
  }
  .section--sand-100 { background: var(--color-bg-alt); }
  .section .container { position: relative; z-index: 1; }
}

/* ---------- @layer components ---------- */
@layer components {
  /* ===== Header ===== */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(253, 248, 236, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(92, 58, 30, 0.08);
  }
  .site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: var(--space-sm);
  }
  .site-header__logo { display: flex; text-decoration: none; }
  .site-header__logo-svg { height: 32px; width: auto; }

  .site-header__burger {
    display: none;
    background: none; border: 0;
    color: var(--color-ink-900);
    cursor: pointer;
    padding: var(--space-sm);
  }
  .site-header__burger .icon-close { display: none; }
  .site-header__burger[aria-expanded="true"] svg:first-child { display: none; }
  .site-header__burger[aria-expanded="true"] .icon-close { display: block; }

  .site-header__nav-list {
    list-style: none; margin: 0; padding: 0;
    display: flex; gap: var(--space-lg); align-items: center;
  }
  .site-header__nav-list a:not(.btn) {
    color: var(--color-ink-900);
    text-decoration: none;
    font-weight: 500;
  }
  .site-header__nav-list a:not(.btn):hover,
  .site-header__nav-list a:not(.btn):focus-visible {
    color: var(--color-ocean-700);
  }

  @media (max-width: 768px) {
    .site-header__burger { display: block; }
    .site-header__nav {
      position: absolute; top: 100%; left: 0; right: 0;
      background: var(--color-sand-50);
      border-bottom: 1px solid rgba(92, 58, 30, 0.08);
      transform: translateY(-100%);
      opacity: 0; pointer-events: none;
      transition: transform .2s, opacity .2s;
    }
    .site-header__nav.is-open {
      transform: translateY(0); opacity: 1; pointer-events: auto;
    }
    .site-header__nav-list {
      flex-direction: column; align-items: stretch;
      padding: var(--space-md); gap: var(--space-md);
    }
  }

  /* ===== Boutons ===== */
  .btn {
    display: inline-flex; align-items: center; gap: var(--space-sm);
    padding: 0.75rem 1.25rem;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-sans);
    transition: background-color .15s;
    cursor: pointer;
    border: 0;
    box-shadow: var(--shadow-cta);
  }
  .btn:hover, .btn:focus-visible {
    background: var(--color-primary-hover);
    text-decoration: none;
  }
  .btn--small { padding: 0.5rem 1rem; font-size: var(--font-small); }

  /* ===== Play badge / CTA pulse ===== */
  .play-badge {
    display: inline-flex; align-items: center; gap: var(--space-sm);
    padding: 0.875rem 1.5rem;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    box-shadow: var(--shadow-cta);
    animation: cta-pulse 1.8s ease-in-out infinite;
  }
  .play-badge:hover, .play-badge:focus-visible {
    background: var(--color-primary-hover); text-decoration: none;
  }
  .play-badge__img { height: 28px; width: auto; }
  .cta-primary {
    display: inline-flex; align-items: center; gap: var(--space-sm);
    padding: 0.875rem 1.5rem;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-pill);
    text-decoration: none; font-weight: 600; font-size: 1.125rem;
    box-shadow: var(--shadow-cta);
    animation: cta-pulse 1.8s ease-in-out infinite;
  }
  .cta-primary:hover, .cta-primary:focus-visible {
    background: var(--color-primary-hover); text-decoration: none;
  }
  @keyframes cta-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(8, 145, 178, 0.35), var(--shadow-cta); }
    50% { box-shadow: 0 0 0 16px rgba(8, 145, 178, 0), var(--shadow-cta); }
  }
  @media (prefers-reduced-motion: reduce) {
    .play-badge, .cta-primary { animation: none; }
  }

  /* ===== Footer ===== */
  .site-footer {
    background: var(--color-ink-900);
    color: var(--color-sand-100);
    padding-block: var(--space-3xl) var(--space-xl);
    margin-top: var(--space-section);
  }
  .site-footer h3 {
    font-family: var(--font-sans);
    font-weight: 600; font-size: var(--font-body);
    color: var(--color-white);
    text-transform: uppercase; letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
  }
  .site-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
  }
  .site-footer ul { list-style: none; margin: 0; padding: 0; }
  .site-footer li { margin-bottom: var(--space-sm); }
  .site-footer a {
    color: var(--color-sand-100); text-decoration: none;
    font-size: var(--font-small);
  }
  .site-footer a:hover, .site-footer a:focus-visible { text-decoration: underline; }
  .site-footer__contact p {
    margin-bottom: 0; font-size: var(--font-small); line-height: 1.8;
  }
  .site-footer__legal {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(245, 232, 199, 0.15);
    font-size: var(--font-small);
    color: rgba(245, 232, 199, 0.7);
  }
  .site-footer__legal p { margin: 0; }
}

/* ---------- @layer sections ---------- */
@layer sections {
  /* ===== Décor commun ===== */
  .section__decor {
    position: absolute;
    width: 180px; height: 180px;
    color: var(--color-palm-600);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
  }
  .section__decor--palm-left { top: -40px; left: -40px; }
  .section__decor--palm-right { bottom: -40px; right: -40px; transform: rotate(15deg); }
  .section__decor svg { width: 100%; height: auto; }
  @media (max-width: 768px) { .section__decor { display: none; } }

  .section__h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
    max-width: 24ch;
    margin-inline: auto;
  }

  /* ===== Hero ===== */
  .section--hero {
    padding-block: clamp(3rem, 8vw, 6rem);
    background: linear-gradient(180deg, var(--color-sand-50) 0%, var(--color-sand-100) 100%);
    position: relative; overflow: hidden;
  }
  .hero__grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: var(--space-2xl);
    align-items: center;
  }
  @media (max-width: 768px) {
    .hero__grid { grid-template-columns: 1fr; text-align: center; }
    .hero__mascot { max-width: 320px; margin-inline: auto; }
  }
  .hero__h1 { margin-bottom: var(--space-md); }
  .hero__subtitle {
    font-size: var(--font-h3);
    color: var(--color-ink-600);
    margin-bottom: var(--space-xl);
    max-width: 44ch;
  }
  @media (max-width: 768px) { .hero__subtitle { margin-inline: auto; } }
  .hero__reassurance {
    list-style: none; padding: 0;
    margin: 0 0 var(--space-xl);
    display: flex; flex-direction: column; gap: var(--space-sm);
  }
  .hero__reassurance li {
    display: flex; align-items: center; gap: var(--space-sm);
    font-weight: 500;
  }
  .hero__reassurance-emoji { font-size: 1.5rem; line-height: 1; }
  @media (max-width: 768px) { .hero__reassurance li { justify-content: center; } }
  .hero__cta { display: flex; flex-direction: column; gap: var(--space-sm); align-items: flex-start; }
  @media (max-width: 768px) { .hero__cta { align-items: center; } }
  .hero__microcopy { font-size: var(--font-small); color: var(--color-ink-600); margin: 0; }
  .hero__cta-label { font-weight: 600; margin: 0 0 var(--space-xs); }
  .mascot--hero {
    width: 100%; max-width: 420px; height: auto;
    filter: drop-shadow(0 20px 40px rgba(92, 58, 30, 0.15));
    animation: mascot-float 3s ease-in-out infinite;
  }
  @keyframes mascot-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }
  @media (prefers-reduced-motion: reduce) { .mascot--hero { animation: none; } }

  /* ===== Pour qui ===== */
  .section--pour-qui { background: var(--color-sand-100); }
  .pq-grid {
    list-style: none; padding: 0;
    margin: 0 0 var(--space-2xl);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
  }
  .pq-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex; align-items: flex-start; gap: var(--space-md);
    box-shadow: var(--shadow-sm);
  }
  .pq-card__emoji { font-size: 2rem; line-height: 1; flex-shrink: 0; }
  .pq-card__text { margin: 0; font-weight: 500; }
  .pq-footer {
    text-align: center; font-style: italic; color: var(--color-ink-600);
  }
  .pq-footer p { margin: 0; }

  /* ===== 7 Piliers ===== */
  .section--piliers { background: var(--color-sand-50); overflow: clip; }
  .piliers-grid {
    list-style: none; padding: 0;
    margin: 0 0 var(--space-2xl);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-lg);
  }
  .pilier-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s;
  }
  .pilier-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  @media (prefers-reduced-motion: reduce) { .pilier-card:hover { transform: none; } }
  .pilier-card__icon { font-size: 2.5rem; display: block; margin-bottom: var(--space-md); }
  .pilier-card__title {
    font-size: 1.25rem;
    color: var(--color-palm-600);
    margin-bottom: var(--space-sm);
  }
  .pilier-card__desc { margin: 0; color: var(--color-ink-600); line-height: 1.65; }

  .piliers-callout {
    background: linear-gradient(135deg, var(--color-coral-700) 0%, var(--color-sun-600) 100%);
    color: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    max-width: 880px;
    margin-inline: auto;
  }
  .piliers-callout__title { color: var(--color-white); margin-bottom: var(--space-md); }
  .piliers-callout__body p { margin: 0; font-size: var(--font-h3); line-height: 1.5; }
  .piliers-callout__body strong { color: var(--color-white); }
  .piliers-callout__body em { font-style: italic; opacity: 0.95; }

  /* ===== Démo ===== */
  .section--demo { background: var(--color-sand-100); }
  .demo-grid {
    list-style: none; padding: 0; margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-xl);
    justify-items: center;
  }
  .demo-card { max-width: 320px; text-align: center; }
  .demo-card__img {
    width: 100%; height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    background: var(--color-white);
  }
  .demo-card__caption {
    margin-top: var(--space-md);
    font-size: var(--font-small);
    color: var(--color-ink-600);
    font-style: italic;
  }

  /* ===== USP ===== */
  .section--usp { background: var(--color-sand-50); }
  .usp-grid {
    list-style: none; padding: 0; margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-xl);
  }
  .usp-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
  }
  .usp-card__mascot {
    width: 120px; height: 120px; object-fit: contain;
    margin: 0 auto var(--space-md);
    filter: drop-shadow(0 8px 16px rgba(92, 58, 30, 0.1));
  }
  .usp-card__title {
    color: var(--color-ocean-700);
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
  }
  .usp-card__desc { margin: 0; color: var(--color-ink-600); line-height: 1.65; }

  /* ===== RGPD ===== */
  .section--rgpd { background: var(--color-sand-100); }
  .rgpd__grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: var(--space-2xl);
    align-items: center;
  }
  @media (max-width: 768px) {
    .rgpd__grid { grid-template-columns: 1fr; }
    .rgpd__mascot { max-width: 280px; margin: 0 auto; }
  }
  .rgpd__h2 { text-align: left; margin-left: 0; max-width: none; }
  @media (max-width: 768px) { .rgpd__h2 { text-align: center; margin-inline: auto; } }
  .rgpd-blocks {
    list-style: none; padding: 0;
    margin: 0 0 var(--space-xl);
    display: flex; flex-direction: column; gap: var(--space-lg);
  }
  .rgpd-block {
    display: flex; gap: var(--space-md);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
  }
  .rgpd-block__emoji { font-size: 2rem; line-height: 1; flex-shrink: 0; }
  .rgpd-block__title {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
    color: var(--color-palm-600);
  }
  .rgpd-block__body p { margin: 0; color: var(--color-ink-600); }
  .rgpd-links {
    list-style: none; padding: 0; margin: 0;
    display: flex; gap: var(--space-md); flex-wrap: wrap;
    font-size: var(--font-small);
  }
  .rgpd__mascot img {
    width: 100%; max-width: 320px;
    filter: drop-shadow(0 20px 40px rgba(92, 58, 30, 0.15));
  }

  /* ===== Histoire ===== */
  .section--histoire { background: var(--color-sand-50); }
  .histoire__grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--space-2xl);
    align-items: center;
    max-width: 1040px;
    margin-inline: auto;
  }
  @media (max-width: 768px) {
    .histoire__grid { grid-template-columns: 1fr; }
    .histoire__illustration { max-width: 280px; margin: 0 auto; }
  }
  .histoire__h2 { text-align: left; margin-left: 0; max-width: none; margin-bottom: var(--space-lg); }
  @media (max-width: 768px) { .histoire__h2 { text-align: center; margin-inline: auto; } }
  .histoire__illustration img {
    width: 100%; max-width: 320px;
    border-radius: var(--radius-xl);
    filter: drop-shadow(0 20px 40px rgba(92, 58, 30, 0.15));
  }
  .histoire__body p { margin-bottom: var(--space-md); line-height: 1.75; }

  /* ===== FAQ ===== */
  .section--faq { background: var(--color-sand-100); }
  .faq__grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: var(--space-2xl);
    align-items: start;
  }
  @media (max-width: 768px) {
    .faq__grid { grid-template-columns: 1fr; }
    .faq__mascot { max-width: 200px; margin: 0 auto var(--space-lg); position: static; }
  }
  .faq__mascot { position: sticky; top: 100px; }
  .faq__mascot img {
    width: 100%; max-width: 240px;
    filter: drop-shadow(0 16px 32px rgba(92, 58, 30, 0.12));
  }
  .faq__h2 { text-align: left; margin-left: 0; max-width: none; }
  @media (max-width: 768px) { .faq__h2 { text-align: center; margin-inline: auto; } }

  .faq-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: var(--space-md);
  }
  .faq-item {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
  }
  .faq-item__heading { margin: 0; }
  .faq-item__button {
    width: 100%;
    background: none; border: 0;
    padding: var(--space-lg);
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--space-md);
    cursor: pointer;
    font-family: var(--font-serif);
    font-weight: 600; font-size: 1.125rem;
    color: var(--color-ink-900);
    text-align: left; line-height: 1.3;
  }
  .faq-item__button:hover, .faq-item__button:focus-visible {
    background: var(--color-sand-50);
  }
  .faq-item__chevron {
    transition: transform .2s;
    color: var(--color-ocean-700);
    font-size: 1.25rem;
    flex-shrink: 0;
  }
  .faq-item.is-open .faq-item__chevron { transform: rotate(180deg); }
  .faq-item__answer {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--color-ink-600);
    line-height: 1.75;
  }
  .faq-item__answer p:last-child { margin-bottom: 0; }
  @media (prefers-reduced-motion: reduce) { .faq-item__chevron { transition: none; } }

  /* ===== Urgence ===== */
  .section--urgence {
    background: var(--color-ink-900);
    color: var(--color-sand-100);
  }
  .section--urgence .section__h2 { color: var(--color-white); }
  .urgence-list {
    list-style: none; padding: 0;
    margin: 0 0 var(--space-xl);
    display: flex; flex-direction: column; gap: var(--space-md);
  }
  .urgence-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-lg);
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    background: rgba(245, 232, 199, 0.08);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-ocean-500);
  }
  .urgence-item__number {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-sun-600);
    text-decoration: none;
    white-space: nowrap;
  }
  .urgence-item__number:hover, .urgence-item__number:focus-visible {
    color: var(--color-white); text-decoration: underline;
  }
  .urgence-item__name {
    margin: 0 0 var(--space-xs);
    font-size: 1rem;
    color: var(--color-white);
    font-family: var(--font-sans);
    font-weight: 600;
  }
  .urgence-item__desc {
    margin: 0;
    font-size: var(--font-small);
    color: rgba(245, 232, 199, 0.85);
  }
  .urgence-disclaimer {
    text-align: center;
    font-style: italic;
    color: rgba(245, 232, 199, 0.75);
    max-width: 560px;
    margin-inline: auto;
  }
  .urgence-disclaimer p { margin: 0; }
  @media (max-width: 480px) {
    .urgence-item { grid-template-columns: 1fr; gap: var(--space-xs); }
  }

  /* ===== CTA final ===== */
  .section--cta-final {
    background: linear-gradient(135deg, var(--color-sand-50) 0%, var(--color-sand-100) 100%);
    text-align: center;
    position: relative; overflow: hidden;
  }
  .cta-final__inner { max-width: 720px; margin-inline: auto; }
  .cta-final__mascot { max-width: 240px; margin: 0 auto var(--space-xl); }
  .cta-final__mascot img {
    width: 100%;
    filter: drop-shadow(0 24px 48px rgba(92, 58, 30, 0.15));
    animation: mascot-float 3s ease-in-out infinite;
  }
  @media (prefers-reduced-motion: reduce) { .cta-final__mascot img { animation: none; } }
  .cta-final__h2 { margin-inline: auto; max-width: 22ch; margin-bottom: var(--space-xl); }
  .cta-final__action {
    display: flex; justify-content: center;
    margin-bottom: var(--space-md);
  }
  .cta-final__microcopy {
    font-size: var(--font-small);
    color: var(--color-ink-600);
    margin: 0;
  }

  /* ===== Waitlist form wrapper ===== */
  .waitlist-form {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    max-width: 480px;
  }
  .waitlist-form__fallback {
    margin: 0;
    color: var(--color-ink-600);
    font-style: italic;
  }

  /* ===== 404 ===== */
  .section--404 {
    min-height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-block: var(--space-section);
  }
  .not-found__mascot { max-width: 240px; margin: 0 auto var(--space-xl); }
  .not-found__title { font-size: clamp(1.75rem, 4vw, 2.5rem); }
  .not-found__text { color: var(--color-ink-600); margin-bottom: var(--space-xl); }
  .not-found__links {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: var(--space-md);
    align-items: center;
  }
}

/* ---------- @layer utilities ---------- */
@layer utilities {
  .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .5s ease, transform .5s ease;
  }
  .reveal.is-visible { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
  }
}
