  :root {
    /* ===== Système de tokens Aegis ===== */
    --ink:        #10201D; /* fond principal sombre, dominant */
    --slate:      #33433F; /* surfaces secondaires sur fond sombre */
    --parchment:  #F1ECE1; /* fond clair, sections alternées */
    --bone:       #E4DDCB; /* cartes sur fond clair */
    --ivory:      #FBF9F4; /* texte clair sur fond sombre / blanc chaud */
    --bronze:     #B0803E; /* accent unique — CTA, liens, emblème */
    --bronze-deep:#8C6530; /* bronze en état hover/actif */
    --ink-muted:  #4B5450; /* texte secondaire sur fond clair (avant : hex répété 4x) */

    /* Texte atténué sur fond sombre — 2 paliers seulement, plus de valeurs ad hoc */
    --ivory-70: rgba(241, 236, 225, 0.75); /* texte secondaire */
    --ivory-40: rgba(241, 236, 225, 0.5);  /* texte tertiaire / footer */
    --border-subtle: rgba(241, 236, 225, 0.08); /* avant : 0.06, 0.07 et 0.08 mélangés */

    --font-display: 'Fraunces', serif;
    --font-body: 'Public Sans', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;

    /* Rythme vertical des sections — un seul jeu de valeurs, réutilisé partout */
    --space-section: 6rem;
    --space-section-tablet: 4rem;
    --radius-btn: 6px;
    --radius-card: 12px; /* avant : 10px sur les cartes claires, 12px sur les cartes tarifs */
    --content-max: 1200px; /* avant : 1200px ici, 1280px sur la grille tarifs */
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html, body { overflow-x: hidden; max-width: 100%; }

  body {
    background: var(--ink);
    color: var(--ivory);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  a { color: inherit; text-decoration: none; }

  /* ===== Navigation ===== */
  body { padding-top: 122px; transition: padding-top 0.3s ease; } /* bandeau + nav fixes */
  body.bandeau-ferme { padding-top: 78px; }
  nav {
    position: fixed;
    top: 44px; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 4rem;
    background: var(--ink);
    border-bottom: 1px solid var(--border-subtle);
    transition: padding 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                top 0.3s ease;
  }
  body.bandeau-ferme nav { top: 0; }

  /* ===== Bandeau d'annonce — sondage prioritaire ===== */
  .announce-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 101;
    background: var(--bronze);
    color: var(--ink);
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
    transition: opacity 0.25s ease;
  }
  .announce-bar a { text-decoration: underline; text-underline-offset: 2px; }
  .announce-short { display: none; }
  @media (max-width: 600px) {
    .announce-full { display: none; }
    .announce-short { display: inline; }
    .announce-bar { font-size: 0.85rem; padding: 0.6rem 2.75rem; }
  }
  .announce-bar-close {
    position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer; color: var(--ink);
    font-size: 1.1rem; line-height: 1; padding: 0.25rem; opacity: 0.6;
  }
  .announce-bar-close:hover { opacity: 1; }
  body.bandeau-ferme .announce-bar { display: none; }
  nav.nav-condensed {
    padding: 0.9rem 4rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  }
  nav.nav-condensed .logo svg { width: 22px; height: 22px; }
  .logo {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }
  .logo svg { width: 26px; height: 26px; transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), height 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
  .nav-links {
    display: flex;
    gap: 2.25rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ivory-70);
  }
  .nav-links a { transition: color 0.2s ease; padding: 0.5rem 0; }
  .nav-links a:hover { color: var(--ivory); }
  .nav-actions { display: flex; align-items: center; gap: 1.25rem; }
  .nav-actions .ghost-link { font-size: 0.92rem; font-weight: 500; color: var(--ivory-70); transition: color 0.2s ease; }
  .nav-actions .ghost-link:hover { color: var(--bronze); }

  /* ===== Menu mobile (hamburger) ===== */
  .nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ivory);
    margin: 0 auto;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ===== Boutons ===== */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.85rem 1.6rem;
    border-radius: var(--radius-btn);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .btn-primary { background: var(--bronze); color: var(--ink); box-shadow: 0 4px 14px rgba(176, 128, 62, 0.22); }
  .btn-primary:hover { background: var(--bronze-deep); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(176, 128, 62, 0.32); }
  .btn-primary:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(176, 128, 62, 0.22); }
  .label-short { display: none; }
  .btn-outline { border-color: rgba(241, 236, 225, 0.3); color: var(--ivory); }
  .btn-outline:hover { border-color: var(--bronze); color: var(--bronze); transform: translateY(-1px); }
  .btn-outline:active { transform: translateY(0); }
  .btn-block { width: 100%; justify-content: center; }

  /* ===== Hero ===== */
  .hero {
    position: relative;
    padding: clamp(4rem, 10vw, 7rem) 4rem clamp(4rem, 10vw, 8rem);
    max-width: var(--content-max);
    margin: 0 auto;
    overflow: hidden;
  }
  .hero-emblem {
    position: absolute;
    top: -80px;
    right: -60px;
    width: 480px;
    height: 480px;
    max-width: 70vw;
    max-height: 70vw;
    opacity: 0.55;
    pointer-events: none;
  }
  .eyebrow {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bronze);
    margin-bottom: 1.5rem;
    display: inline-block;
  }
  h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.1rem, 5.5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
    max-width: 780px;
    color: var(--ivory);
  }
  h1 em { font-style: normal; color: var(--bronze); }
  .hero p.lede {
    margin-top: 1.75rem;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--ivory-70);
    max-width: 560px;
  }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

  /* ===== Bande de réassurance ===== */
  .trust-strip {
    background: var(--slate);
    padding: 1rem 4rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    border-bottom: 1px solid var(--border-subtle);
  }
  .trust-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.85rem;
    color: var(--ivory-70);
    white-space: nowrap;
  }
  .trust-item svg { width: 16px; height: 16px; color: var(--bronze); flex-shrink: 0; }

  /* ===== Comment ça marche (preuve) ===== */
  .steps-wrap { background: var(--ink); padding: var(--space-section) 4rem; }
  /* .steps-grid n'a plus besoin de règle propre : gap hérité de .grid-3, désormais identique */
  .step-num {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--bronze);
    border: 1px solid rgba(176, 128, 62, 0.4);
    border-radius: 50%;
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
  }
  .step h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin-bottom: 0.6rem; }
  .step p { font-size: 0.92rem; color: var(--ivory-70); }

  /* ===== Section sondage — priorité temporaire ===== */
  .survey-feature { background: var(--bone); padding: 4rem 4rem; }
  .survey-feature-inner {
    max-width: var(--content-max); margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 3rem;
  }
  .survey-feature-text { max-width: 620px; }
  .survey-feature-text h2 { margin-bottom: 0.9rem; }
  .survey-feature-text p { color: var(--ink-muted); font-size: 1.02rem; margin-bottom: 1.75rem; }
  .survey-feature-stat { text-align: center; flex-shrink: 0; }
  .survey-stat-num {
    font-family: var(--font-display); font-weight: 600; font-size: 3.5rem;
    color: var(--bronze); line-height: 1;
  }
  .survey-stat-label { font-size: 0.85rem; color: var(--ink-muted); margin-top: 0.5rem; }

  /* ===== Bande de clôture ===== */
  .closing-cta {
    background: linear-gradient(165deg, var(--bronze), var(--bronze-deep));
    padding: var(--space-section) 4rem;
    text-align: center;
  }
  .closing-cta h2 { color: var(--ink); margin-bottom: 0.75rem; }
  .closing-cta-inner { max-width: 560px; margin: 0 auto; }
  .closing-cta p { color: rgba(16, 32, 29, 0.75); font-size: 1.05rem; margin-bottom: 2rem; }
  .closing-cta .btn-primary { background: var(--ink); color: var(--ivory); box-shadow: 0 4px 14px rgba(16, 32, 29, 0.3); }
  .closing-cta .btn-primary:hover { background: #1a2e29; }

  /* ===== Section claire ===== */
  .section-light {
    background: var(--parchment);
    color: var(--ink);
    padding: var(--space-section) 4rem;
  }
  .section-inner { max-width: var(--content-max); margin: 0 auto; }
  .section-head { max-width: 620px; margin-bottom: 3.5rem; }
  .section-head .eyebrow { color: var(--bronze-deep); }
  h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    letter-spacing: -0.01em;
    color: var(--ink);
  }
  .section-head p { margin-top: 1rem; color: var(--ink-muted); font-size: 1.05rem; }

  /* ===== Cartes fonctionnalités ===== */
  .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
  .card {
    background: var(--bone);
    border-radius: var(--radius-card);
    padding: 2rem;
    border: 1px solid rgba(16, 32, 29, 0.06);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(16, 32, 29, 0.1); }
  .card-mark { width: 34px; height: 34px; margin-bottom: 1.25rem; }
  .card h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--ink);
  }
  .card p { color: var(--ink-muted); font-size: 0.95rem; }

  /* ===== Tarifs ===== */
  .pricing-wrap { background: var(--ink); padding: var(--space-section) 4rem; }
  .grid-pricing {
    max-width: var(--content-max); margin: 0 auto;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.25rem;
  }
  .price-card {
    background: var(--slate);
    border-radius: var(--radius-card);
    padding: 1.85rem 1.5rem;
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
  }
  .price-card:hover { transform: translateY(-4px); border-color: rgba(176, 128, 62, 0.35); }
  .price-card.featured:hover { transform: translateY(-6px); }
  .price-card.featured {
    background: linear-gradient(165deg, var(--slate), #26332F);
    border-color: var(--bronze);
    position: relative;
  }
  .price-card.featured::before {
    content: 'Recommandée';
    position: absolute; top: -13px; left: 2rem;
    background: var(--bronze); color: var(--ink);
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em;
    padding: 0.3rem 0.75rem; border-radius: 4px;
  }
  .price-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; }
  .price-amount {
    font-family: var(--font-mono);
    font-size: 1.9rem;
    color: var(--bronze);
    margin: 1rem 0;
  }
  .price-amount span { font-size: 0.85rem; color: var(--ivory-40); font-family: var(--font-body); }
  .price-card ul { list-style: none; margin: 1.25rem 0 1.75rem; color: var(--ivory-70); font-size: 0.85rem; flex-grow: 1; }
  .price-card li { padding: 0.4rem 0; border-top: 1px solid var(--border-subtle); }
  .price-card li:first-child { border-top: none; }

  /* ===== Contact ===== */
  .contact-wrap { background: var(--parchment); padding: var(--space-section) 4rem; }
  .contact-grid { max-width: 640px; margin: 0 auto; }
  .field { margin-bottom: 1.25rem; }
  .field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--ink); }
  .field input, .field textarea {
    width: 100%; padding: 0.8rem 1rem; border-radius: 6px;
    border: 1px solid rgba(16,32,29,0.15); background: var(--ivory);
    font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  .field input:focus, .field textarea:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(176, 128, 62, 0.15); }

  /* ===== Footer ===== */
  footer {
    padding: 3rem 4rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--ivory-40); font-size: 0.85rem;
  }
  .footer-principal {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  }
  .footer-legal {
    display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
    margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border-subtle);
  }
  .footer-legal a {
    font-size: 0.8rem; color: var(--ivory-40); transition: color 0.2s ease;
  }
  .footer-legal a:hover { color: var(--bronze); }

  /* ============================================================
     Responsive — tablette (≤1024px), mobile large (≤768px),
     petit mobile (≤480px). Mobile-first en cascade descendante.
     ============================================================ */

  @media (max-width: 1024px) {
    nav, .hero, .section-light, .pricing-wrap, .contact-wrap, footer, .trust-strip, .steps-wrap, .closing-cta {
      padding-left: 2.5rem; padding-right: 2.5rem;
    }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-pricing { grid-template-columns: repeat(2, 1fr); }
    .trust-strip { gap: 1.5rem 2rem; }
  }

  @media (max-width: 900px) {
    .nav-links {
      display: none;
      position: absolute;
      top: 100%; left: 0; right: 0;
      flex-direction: column;
      gap: 0;
      background: var(--ink);
      padding: 0.5rem 1.5rem 1.25rem;
      border-bottom: 1px solid var(--border-subtle);
      box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    }
    .nav-links.is-open { display: flex; }
    .nav-links a { padding: 0.85rem 0; border-top: 1px solid var(--border-subtle); font-size: 1rem; }
    .nav-links a:first-child { border-top: none; }
    .nav-toggle { display: flex; }
    .nav-actions .btn-primary { padding: 0.7rem 1.15rem; font-size: 0.88rem; }
  }

  @media (max-width: 768px) {
    nav, .hero, .section-light, .pricing-wrap, .contact-wrap, footer, .trust-strip, .steps-wrap, .closing-cta, .survey-feature {
      padding-left: 1.5rem; padding-right: 1.5rem;
    }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-pricing { grid-template-columns: 1fr; max-width: 420px; }
    .hero-emblem { opacity: 0.35; }
    .section-light, .pricing-wrap, .contact-wrap, .steps-wrap { padding-top: var(--space-section-tablet); padding-bottom: var(--space-section-tablet); }
    .trust-strip { flex-direction: column; align-items: center; gap: 0.85rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
    .closing-cta { padding-top: var(--space-section-tablet); padding-bottom: var(--space-section-tablet); }
    .survey-feature { padding-top: 3rem; padding-bottom: 3rem; }
    .survey-feature-inner { flex-direction: column; text-align: center; gap: 1.75rem; }
    .survey-feature-text { max-width: 100%; }
  }

  @media (max-width: 480px) {
    nav { padding-left: 1.25rem; padding-right: 1.25rem; }
    .logo { font-size: 1.1rem; }
    .label-full { display: none; }
    .label-short { display: inline; }
    .nav-actions .btn-primary { padding: 0.7rem 1rem; }
    .hero { padding-left: 1.25rem; padding-right: 1.25rem; }
    .hero-emblem { display: none; } /* purement décoratif : on l'enlève plutôt que de le comprimer à l'excès */
    .eyebrow { font-size: 0.72rem; }
    .btn-hero { width: 100%; justify-content: center; }
    .price-card.featured::before { left: 1.5rem; }
    footer { padding: 2.5rem 1.25rem; }
    .footer-principal { flex-direction: column; text-align: center; gap: 0.75rem; }
    .footer-copy { order: 2; }
    .footer-sondage { order: 3; }
    .footer-login { order: 4; }
    .footer-legal { justify-content: center; text-align: center; }
  }

  /* Cible tactile confortable partout, indépendamment de la largeur d'écran */
  @media (hover: none) and (pointer: coarse) {
    .nav-links a, .ghost-link, footer a { min-height: 44px; display: flex; align-items: center; }
    .card:hover, .price-card:hover { transform: none; box-shadow: none; } /* pas de survol fantôme au toucher */
  }

  /* ===== Apparition au défilement =====
     Masqué uniquement si le JavaScript est actif (classe posée en tête de
     page) : sans JS, le contenu reste visible dès le chargement plutôt que
     de dépendre d'un script qui ne s'exécutera jamais. */
  html.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  html.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

  /* Les cartes d'une même grille se révèlent en cascade légère */
  .grid-3 .reveal:nth-child(2), .grid-pricing .reveal:nth-child(2) { transition-delay: 0.08s; }
  .grid-3 .reveal:nth-child(3), .grid-pricing .reveal:nth-child(3) { transition-delay: 0.16s; }
  .grid-pricing .reveal:nth-child(4) { transition-delay: 0.24s; }
  .grid-pricing .reveal:nth-child(5) { transition-delay: 0.32s; }

  @media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
    html.js .reveal, .reveal { opacity: 1 !important; transform: none !important; }
  }
