@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800&family=Geist+Mono:wght@400;500&display=swap');

  :root {
    color-scheme: light;
    --logo: url("/logo.png");
    --paper: #eef0f5;
    --surface: #ffffff;
    --ink: #151a36;
    --muted: #6b7280;
    --line: #e3e5ee;
    --brand: #4f46e5;
    --brand-hover: #4338ca;
    --brand-soft: #ecebfd;
    --brand-glow: rgba(79, 70, 229, .5);
    --brand-glow-strong: rgba(79, 70, 229, .55);

    --deep: #101427;
    --deep-ink: #eef0f8;
    --deep-muted: #9aa1c4;
    --deep-line: #262c48;
    --deep-accent: #a7a2f5;

    --raise: 0 1px 2px rgba(17,21,44,.06), 0 10px 22px -10px rgba(17,21,44,.18);
    --raise-lg: 0 2px 6px rgba(17,21,44,.07), 0 20px 38px -14px rgba(17,21,44,.24);
    --edge: inset 0 1px 0 rgba(255,255,255,.85);
    --press: inset 0 2px 6px rgba(17,21,44,.16), inset 0 -1px 0 rgba(255,255,255,.4);

    --glass-bg: linear-gradient(155deg, rgba(255,255,255,.66), rgba(244,247,252,.44));
    --glass-border: rgba(255,255,255,.75);
    --glass-ink: #1a2140;
    --glass-muted: #5b6478;
    --glass-line: rgba(21,26,54,.1);
    --glass-shadow:
      0 2px 6px rgba(17,21,44,.1),
      0 14px 26px -6px rgba(30,27,75,.18),
      0 60px 120px -34px rgba(30,27,75,.5),
      inset 0 1px 0 rgba(255,255,255,.9);
    --glass-sheen: rgba(255,255,255,.6);
    --header-bg: rgba(240,242,247,.72);
    --header-line: rgba(200,205,222,.5);
    --header-line-scrolled: rgba(190,196,214,.9);

    --bf-blue: #000091;
    --bf-red: #e1000f;
    --bf-ink: #161616;
    --bf-mute: #4a4a52;
    --bf-bg: #ffffff;
    --bf-alt: #f6f6f6;
    --bf-line: #dddddd;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
  body {
    margin: 0; background: var(--paper); color: var(--ink);
    font-family: 'Geist', ui-sans-serif, system-ui, sans-serif;
    font-size: 1.02rem; line-height: 1.62; -webkit-font-smoothing: antialiased;
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
  }
  p { margin: 0 0 1rem; } p:last-child { margin: 0; }
  h1, h2, h3 { letter-spacing: -.025em; text-wrap: balance; margin: 0; }
  a { color: inherit; }

  .shell { max-width: 1080px; margin: 0 auto; padding-inline: clamp(1.15rem, 5vw, 3rem); }
  .eyebrow { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }

  /* ---- Boutons ---- */
  .btn {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand); color: #fff; text-decoration: none;
    font-weight: 600; font-size: .92rem; padding: .62rem 1.2rem; border-radius: .7rem;
    border: 0; cursor: pointer;
    box-shadow: 0 1px 2px rgba(17,21,44,.12), 0 10px 20px -8px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,.2);
    transition: box-shadow .15s ease, transform .1s ease, background .15s ease;
  }
  .btn:hover {
    background: var(--brand-hover);
    box-shadow: 0 2px 5px rgba(17,21,44,.14), 0 16px 28px -8px var(--brand-glow-strong), inset 0 1px 0 rgba(255,255,255,.22);
  }
  .btn:active { transform: translateY(1px); box-shadow: inset 0 3px 9px rgba(9,10,30,.4); }
  .btn.ghost { background: var(--surface); color: var(--muted); border: 1px solid var(--line); box-shadow: var(--raise), var(--edge); }
  .btn.ghost:hover { color: var(--ink); box-shadow: var(--raise-lg), var(--edge); }
  .btn.ghost:active { transform: translateY(1px); box-shadow: var(--press); }

  /* ---- Header : exactement la couleur de la page, invisible en haut,
     se détache seulement au scroll (filet + ombre légère) ---- */
  header {
    position: sticky; top: 0; z-index: 20;
    background: var(--paper);
    border-bottom: 1px solid transparent;
    transition: border-color .28s ease, box-shadow .28s ease;
  }
  header.scrolled {
    border-bottom-color: var(--header-line-scrolled);
    box-shadow: 0 8px 24px -20px rgba(17,21,44,.45);
  }
  header .bar { display: flex; align-items: center; justify-content: space-between; height: 4.4rem; }
  .wordmark { font-weight: 800; font-size: 1.32rem; letter-spacing: -.03em; text-decoration: none; white-space: nowrap; }
  .wordmark .b { color: var(--brand); }
  .wordmark .g { color: var(--muted); font-weight: 500; }
  nav.links { display: flex; gap: 1.6rem; align-items: center; }
  nav.links a:not(.btn) { text-decoration: none; font-size: .92rem; font-weight: 500; color: color-mix(in srgb, var(--ink) 78%, transparent); transition: color .15s; }
  nav.links a:not(.btn):hover { color: var(--ink); }
  @media (max-width: 820px) { nav.links a:not(.btn) { display: none; } }

  section { padding-block: clamp(2.6rem, 5.5vw, 4.5rem); }
  section + section { border-top: 1px solid var(--line); }

  h2.title { font-weight: 800; font-size: clamp(1.7rem, 4.5vw, 2.5rem); margin-top: .5rem; }
  .intro { margin-top: 1rem; font-size: 1.1rem; color: var(--muted); max-width: 58ch; }

  /* ---- Hero ---- */
  .hero { padding-top: clamp(3.5rem, 9vw, 6rem); padding-bottom: clamp(3rem, 8vw, 5.5rem); }
  .hero .shell { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: center; }
  .hero h1 { font-weight: 800; font-size: clamp(2.4rem, 7vw, 4rem); line-height: 1.02; }
  .hero .sub { margin-top: 1.3rem; font-size: clamp(1.1rem, 2.6vw, 1.35rem); color: var(--muted); max-width: 36ch; }
  .hero .cta { margin-top: 2.2rem; display: flex; gap: .8rem; flex-wrap: wrap; }
  .hero .baseline {
    margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
    font-size: .95rem; color: var(--muted);
  }
  .hero .baseline b { color: var(--ink); font-weight: 600; }

  /* ---- Hero : carte de réservation ---- */
  .hero-viz { display: none; }
  @media (min-width: 900px) {
    .hero .shell { grid-template-columns: minmax(0, 1fr) 380px; }
    .hero-viz { display: block; position: relative; }
  }
  @media (min-width: 1100px) {
    .hero .shell { grid-template-columns: minmax(0, 1fr) 410px; }
  }
  .hero-viz::before {
    content: ""; position: absolute; inset: 4% -12% -12% 4%;
    background: radial-gradient(58% 58% at 66% 42%, var(--brand-glow), transparent 72%);
    filter: blur(58px); opacity: .34; z-index: 0; pointer-events: none;
  }
  .bk {
    position: relative; z-index: 1;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: 1.1rem; padding: 1.4rem;
    box-shadow: var(--raise-lg), var(--edge);
    display: grid; gap: 1rem;
  }
  .bk-top { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; }
  .bk-hotel { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--ink); }
  .bk-hotel::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--brand); }
  .bk-tag { color: var(--brand); font-weight: 600; background: var(--brand-soft); padding: .2rem .6rem; border-radius: 999px; box-shadow: var(--edge); }
  .bk-dates { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
  .bk-dates > div {
    background: color-mix(in srgb, var(--paper) 55%, var(--surface));
    border: 1px solid var(--line); border-radius: .6rem; padding: .55rem .75rem;
  }
  .bk-dates span { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin-bottom: .15rem; }
  .bk-dates b { font-size: .92rem; }
  .bk-room { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; }
  .bk-room .r b { display: block; font-size: .95rem; }
  .bk-room .r span { font-size: .8rem; color: var(--muted); }
  .bk-room .p { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
  .bk-btn {
    text-align: center; background: var(--brand); color: #fff;
    font-weight: 600; font-size: .9rem; padding: .72rem; border-radius: .7rem;
    box-shadow: 0 10px 20px -8px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,.2);
  }
  .bk-note { margin: 0; font-size: .74rem; color: var(--muted); text-align: center; }
  .bk-chip {
    position: absolute; left: -1rem; bottom: -1.1rem; z-index: 2;
    display: flex; align-items: center; gap: .5rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: .8rem;
    padding: .55rem .85rem; font-size: .82rem; font-weight: 700; color: var(--ink);
    box-shadow: var(--raise-lg), var(--edge);
  }
  .bk-chip::before {
    content: "✓"; display: grid; place-items: center;
    width: 1.3rem; height: 1.3rem; border-radius: 50%;
    background: var(--brand-soft); color: var(--brand); font-size: .78rem;
  }
  @media (prefers-reduced-motion: no-preference) {
    .bk { animation: bkfloat 7s ease-in-out infinite; }
    @keyframes bkfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
  }

  /* ---- Carte relief ---- */
  .card {
    background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
    box-shadow: var(--raise), var(--edge);
    transition: box-shadow .18s ease, transform .18s ease;
  }
  .card.lift:hover { box-shadow: var(--raise-lg), var(--edge); transform: translateY(-2px); }

  /* ---- Le constat ---- */
  .compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
  .compare .col { padding: 1.5rem 1.6rem; }
  .compare .col.own { border-color: var(--brand); }
  .compare .col h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
  .compare .col.own h3 { color: var(--brand); }
  .compare .col p { color: var(--muted); font-size: .97rem; }

  /* ---- Bloc Direct Booking Engine : plaque de verre en relief ---- */
  #dbe { overflow-x: clip; }
  #dbe .shell { position: relative; }
  #dbe .shell::before {
    content: ""; position: absolute; right: 2%; bottom: 0;
    width: 42%; aspect-ratio: 1.3; border-radius: 50%;
    background: radial-gradient(circle, rgba(79,70,229,.16), transparent 70%);
    filter: blur(120px); z-index: 0; pointer-events: none;
  }
  #dbe .shell::after {
    content: ""; position: absolute; left: -4%; bottom: 8%;
    width: 34%; aspect-ratio: 1.4; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.5), transparent 70%);
    filter: blur(100px); z-index: 0; pointer-events: none;
  }
  #dbe > .shell > * { position: relative; z-index: 1; }

  .feature {
    position: relative; isolation: isolate; overflow: hidden;
    color: var(--glass-ink); border-radius: 26px;
    padding: clamp(1.9rem, 5vw, 3rem); margin-top: 2rem;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(30px) saturate(1.6);
    backdrop-filter: blur(30px) saturate(1.6);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
  }
  .feature::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: radial-gradient(120% 110% at 88% 6%, rgba(79,70,229,.14), transparent 52%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
  }
  .feature::after {
    content: ""; position: absolute; inset: -20%; pointer-events: none;
    background: linear-gradient(116deg, transparent 32%, var(--glass-sheen) 42%, rgba(255,255,255,.12) 48%, transparent 56%);
    opacity: .85;
  }
  .feature > * { position: relative; z-index: 1; }
  .feature .eyebrow { color: var(--brand); }
  .feature h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; margin: .6rem 0 0; color: var(--glass-ink); }
  .feature > p { color: var(--glass-muted); margin-top: 1rem; max-width: 62ch; }
  .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.1rem; margin-top: 2rem; }
  .step { border-top: 1.5px solid var(--glass-line); padding-top: .9rem; }
  .step b { display: block; font-family: 'Geist Mono', monospace; font-size: .74rem; color: var(--brand); margin-bottom: .3rem; }
  .step span { font-size: .95rem; color: var(--glass-ink); }
  .feature .kicker { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--glass-line); color: var(--glass-muted); font-size: .95rem; }
  .feature .kicker b { color: var(--glass-ink); }

  /* ---- Ce qu'on construit ---- */
  .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin-top: 2.2rem; }
  .tile { padding: 1.5rem 1.55rem; }
  .tile .n { font-family: 'Geist Mono', monospace; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); font-weight: 500; }
  .tile h3 { font-size: 1.14rem; font-weight: 700; margin: .5rem 0 .5rem; }
  .tile p { color: var(--muted); font-size: .95rem; }

  /* ---- Pour qui ---- */
  .audience { margin-top: 1.6rem; display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
  .audience .card { padding: 1.5rem 1.6rem; }
  .audience h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
  .audience .no h3 { color: var(--muted); }
  .audience p { color: var(--muted); font-size: .97rem; }

  /* ---- Comment ça se passe ---- */
  .flow { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1px; }
  .flow li { padding: 1.2rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 3rem 12rem 1fr; gap: 1rem 1.4rem; align-items: baseline; }
  .flow li:first-child { border-top: 0; }
  .flow .num { font-family: 'Geist Mono', monospace; font-weight: 500; color: var(--brand); font-size: 1.1rem; }
  .flow b { font-weight: 700; font-size: 1.05rem; }
  .flow span { color: var(--muted); }

  /* ---- Projet type : qui fait quoi, par étape ---- */
  .pt { display: grid; gap: 1rem; margin-top: 2rem; }
  .pt-phase {
    background: var(--surface); border: 1px solid var(--line); border-radius: 1rem;
    box-shadow: var(--raise), var(--edge); padding: 1.4rem 1.6rem;
  }
  .pt-phase > h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 1rem; }
  .pt-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; }
  .pt-cols .who { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); }
  .pt-cols .who.you { color: var(--muted); }
  .pt-cols ul { margin: .45rem 0 0; padding-left: 1.05rem; }
  .pt-cols li { color: var(--muted); font-size: .92rem; line-height: 1.5; margin: .3rem 0; }
  @media (max-width: 700px) { .pt-cols { grid-template-columns: 1fr; gap: 1.1rem; } }

  /* ---- Aperçu du parcours de réservation ---- */
  .parcours { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.2rem; }
  @media (max-width: 940px) { .parcours { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 540px) { .parcours { grid-template-columns: 1fr; } }
  .pscreen {
    background: var(--surface); border: 1px solid var(--line); border-radius: 1rem;
    box-shadow: var(--raise-lg), var(--edge); padding: 1rem 1rem 1.1rem; display: grid; gap: .55rem; align-content: start;
  }
  .pscreen .slab { border: 1px solid var(--line); border-radius: .6rem; padding: .6rem .7rem; display: grid; gap: .4rem; background: color-mix(in srgb, var(--paper) 50%, var(--surface)); }
  .pscreen .lbl { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--brand); }
  .pscreen .ln { height: .55rem; border-radius: 999px; background: color-mix(in srgb, var(--ink) 12%, transparent); }
  .pscreen .ln.sm { width: 55%; } .pscreen .ln.xs { width: 35%; }
  .pscreen .ph { border-radius: .5rem; height: 3rem; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 22%, var(--paper)), var(--paper)); flex-shrink: 0; }
  .pscreen .rowm { display: flex; gap: .55rem; align-items: center; }
  .pscreen .rowm .col { flex: 1; display: grid; gap: .35rem; }
  .pscreen .price { font-weight: 800; font-size: .9rem; font-variant-numeric: tabular-nums; }
  .pscreen .go { background: var(--brand); color: #fff; text-align: center; font-size: .78rem; font-weight: 600; padding: .45rem; border-radius: .5rem; }
  .pscreen .chip0 { justify-self: start; font-size: .7rem; font-weight: 700; background: var(--brand-soft); color: var(--brand); padding: .2rem .55rem; border-radius: 999px; }
  .pscreen .check { width: 2rem; height: 2rem; border-radius: 50%; background: color-mix(in srgb, #1f8a5b 16%, transparent); color: #1f8a5b; display: grid; place-items: center; font-weight: 700; }
  .pscreen .cap { font-size: .82rem; color: var(--muted); line-height: 1.45; }
  .pscreen > .step { font-size: .78rem; font-weight: 700; }
  .pscreen > .step em { font-style: normal; color: var(--brand); }

  /* ---- Page de texte légal ---- */
  .doc { max-width: 68ch; }
  .doc h2 { font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; margin: 2.1rem 0 .5rem; }
  .doc h2:first-child { margin-top: 0; }
  .doc p, .doc li { color: var(--muted); line-height: 1.7; font-size: .97rem; }
  .doc p { margin: .55rem 0; }
  .doc ul { margin: .5rem 0; padding-left: 1.2rem; }
  .doc li { margin: .25rem 0; }
  .doc a { color: var(--brand); }
  .doc strong { color: var(--ink); font-weight: 600; }
  .doc .updated { font-size: .82rem; font-style: italic; margin-bottom: 1.5rem; }

  /* ---- Offres ---- */
  .offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.2rem; }
  .offer { padding: 1.7rem 1.6rem; display: flex; flex-direction: column; border-radius: 18px; }
  .offer.mid { border-color: var(--brand); box-shadow: var(--raise-lg), var(--edge); }
  .offer .tag { align-self: flex-start; font-size: .62rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: .3em .65em; border-radius: 999px; margin-bottom: .9rem; box-shadow: var(--edge); }
  .offer h3 { font-size: 1.3rem; font-weight: 800; }
  .offer .who { margin-top: .4rem; font-size: .95rem; color: var(--muted); }
  .offer ul { list-style: none; margin: 1.1rem 0 0; padding: 0; }
  .offer li { padding: .45rem 0 .45rem 1.5rem; position: relative; font-size: .95rem; border-top: 1px solid var(--line); }
  .offer li:first-child { border-top: 0; }
  .offer li::before { content: "+"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

  /* ---- Pourquoi ---- */
  .why { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .1rem; }
  .why li { padding: 1.1rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 13rem 1fr; gap: 1.4rem; }
  .why li:first-child { border-top: 0; }
  .why li b { font-weight: 700; font-size: 1.05rem; }
  .why li span { color: var(--muted); }

  /* ---- FAQ : un léger creux, l'inverse du relief des cartes ---- */
  .faq {
    margin-top: .5rem;
    display: grid; gap: .1rem;
    background: color-mix(in srgb, var(--paper) 96%, var(--ink));
    border: 1px solid color-mix(in srgb, var(--line) 45%, transparent);
    border-radius: 1.3rem;
    padding: .3rem clamp(1.4rem, 3.5vw, 2.4rem);
    box-shadow:
      inset 0 3px 8px -1px rgba(17,21,44,.10),
      inset 0 -1px 0 rgba(255,255,255,.55);
  }
  .faq details { border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent); }
  .faq details:first-child { border-top: 0; }
  .faq summary {
    list-style: none; cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; position: relative;
    font-weight: 700; font-size: 1.05rem; color: var(--ink);
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after {
    content: "+"; position: absolute; right: .2rem; top: 1rem; color: var(--brand);
    font-weight: 700; font-size: 1.3rem; transition: transform .2s;
  }
  .faq details[open] summary::after { transform: rotate(45deg); }
  .faq .a { padding: 0 0 1.2rem; color: color-mix(in srgb, var(--ink) 74%, transparent); max-width: 64ch; }

  /* ---- Équipe ---- */
  .team { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
  .team.solo { grid-template-columns: 1fr; max-width: 34rem; }
  .person { padding: 1.6rem 1.7rem; }
  .person b { display: block; font-weight: 700; font-size: 1.1rem; }
  .person span { display: block; margin-top: .5rem; color: var(--muted); font-size: .95rem; }

  /* ---- Contact ---- */
  .contact { background: var(--deep); color: var(--deep-ink); }
  .contact h2 { color: var(--deep-ink); }
  .contact .intro { color: var(--deep-muted); }
  .contact-card {
    margin-top: 2rem; background: rgba(255,255,255,.04); border: 1px solid var(--deep-line);
    border-radius: 18px; padding: 1.8rem; display: flex; justify-content: space-between;
    align-items: center; gap: 1.5rem; flex-wrap: wrap;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.06);
  }
  .contact-card .mail { font-size: clamp(1.05rem, 3vw, 1.4rem); font-weight: 700; text-decoration: none; color: var(--deep-ink); word-break: break-all; }
  .contact-card .mail:hover { color: var(--deep-accent); }

  /* ---- Footer ---- */
  footer { padding-block: 2.6rem; border-top: 1px solid var(--line); }
  footer .row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; flex-wrap: wrap; }
  footer .mark { width: 40px; height: 40px; border-radius: 10px; background-image: var(--logo); background-size: cover; box-shadow: var(--raise), var(--edge); flex-shrink: 0; }
  footer .legal { font-size: .82rem; color: var(--muted); line-height: 1.7; max-width: 62ch; }
  footer .legal a { color: var(--muted); }

  @media (max-width: 860px) {
    .compare, .offers, .team, .audience { grid-template-columns: 1fr; }
    .why li { grid-template-columns: 1fr; gap: .3rem; }
    .flow li { grid-template-columns: 2rem 1fr; }
    .flow li b { grid-column: 2; }
    .flow li span { grid-column: 2; }
  }

/* ================= PAGE CONTACT ================= */
.page-head { padding-top: clamp(3rem, 8vw, 5rem); padding-bottom: clamp(.8rem, 2vw, 1.3rem); }
.page-head h1 { font-weight: 800; font-size: clamp(2rem, 5.5vw, 3rem); line-height: 1.05; margin-top: .5rem; }
.page-head .sub { margin-top: 1rem; font-size: 1.12rem; color: var(--muted); max-width: 48ch; }
.page-head + section { padding-top: clamp(.9rem, 2vw, 1.5rem); border-top: 0; }

.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; padding-bottom: clamp(3.5rem, 9vw, 6rem); }

form.lead { display: grid; gap: 1.1rem; }
.f-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .82rem; font-weight: 600; color: var(--muted); }
.field label .req { color: var(--brand); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: .65rem;
  padding: .7rem .85rem;
  box-shadow: inset 0 2px 5px rgba(17,21,44,.06);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: inset 0 2px 5px rgba(17,21,44,.06), 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
form.lead .btn { justify-self: start; margin-top: .3rem; padding: .75rem 1.5rem; font-size: .95rem; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-status { font-size: .95rem; padding: .9rem 1.1rem; border-radius: .65rem; display: none; }
.form-status.ok { display: block; background: color-mix(in srgb, var(--brand) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line)); color: var(--ink); }
.form-status.err { display: block; background: #fbeee6; border: 1px solid #e7c3ab; color: #8a4620; }

.aside .card { padding: 1.5rem 1.6rem; }
.aside h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.aside p { color: var(--muted); font-size: .95rem; }
.aside .mail { display: block; margin-top: 1.2rem; font-weight: 700; color: var(--brand); text-decoration: none; word-break: break-all; }
.aside ul { list-style: none; margin: .6rem 0 0; padding: 0; }
.aside li { padding: .4rem 0 .4rem 1.3rem; position: relative; color: var(--muted); font-size: .93rem; border-top: 1px solid var(--line); }
.aside li:first-child { border-top: 0; }
.aside li::before { content: "→"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

@media (max-width: 780px) {
  .contact-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .f-row { grid-template-columns: 1fr; }
}

/* ================= PIED DE SITE (dans la bande foncée) ================= */
.site-foot { background: var(--deep); color: var(--deep-ink); }
.site-foot .eyebrow { color: var(--deep-accent); }
.site-foot h2 { color: var(--deep-ink); }
.site-foot .intro { color: var(--deep-muted); }
.foot-bottom {
  margin-top: clamp(1.8rem, 4.5vw, 2.8rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--deep-line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 2.5rem;
  align-items: center;
}
.foot-bottom .wordmark .g { color: var(--deep-muted); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 1.3rem; font-size: .9rem; justify-self: end; }
.foot-nav a { color: var(--deep-muted); text-decoration: none; transition: color .15s; }
.foot-nav a:hover { color: var(--deep-ink); }
.foot-legal {
  grid-column: 1 / -1; margin: 0; padding-top: 1.1rem; border-top: 1px solid var(--deep-line);
  font-size: .8rem; line-height: 1.6; color: var(--deep-muted); max-width: 80ch;
}
.foot-legal a { color: var(--deep-muted); }
.foot-legal a:hover { color: var(--deep-ink); }
@media (max-width: 720px) {
  .foot-bottom { grid-template-columns: 1fr; gap: 1.4rem; }
  .foot-nav { justify-self: start; }
}

/* Pied compact : limite la hauteur de la bande foncée, donc l'espace clair au-dessus */
.site-foot { padding-block: clamp(1.8rem, 3.5vw, 2.6rem); }

/* ================= PIED DE SITE QUI SE DÉVOILE AU SCROLL ================= */
/* La bande foncée est fixée au bas de la fenêtre, derrière le contenu.
   Le contenu (main, opaque) glisse par-dessus : plus on descend, plus le pied apparaît.
   --foot-h est calé sur la hauteur réelle du pied par reveal.js. */
body { --foot-h: 70vh; }
main {
  position: relative;
  z-index: 1;
  background: var(--paper);
  margin-bottom: var(--foot-h);
  border-bottom-left-radius: clamp(2.4rem, 5.5vw, 4rem);
  border-bottom-right-radius: clamp(2.4rem, 5.5vw, 4rem);
}
/* la dernière section colle au pied, le dévoilement fait la séparation */
main > section:last-child { padding-bottom: clamp(2rem, 4vw, 3.2rem); }
.site-foot {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 100%;
}
@media (prefers-reduced-motion: reduce) {
  main { margin-bottom: 0; }
  .site-foot { position: static; }
}

/* ================= APPARITION AU SCROLL ================= */
/* .js-anim est posé sur <html> par reveal.js : sans JS, rien n'est masqué. */
@media (prefers-reduced-motion: no-preference) {
  .js-anim .anim {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s cubic-bezier(.22,.61,.25,1), transform .6s cubic-bezier(.22,.61,.25,1);
  }
  .js-anim .anim.in { opacity: 1; transform: none; }
}

/* ================= REPÈRES DE MARCHÉ (chiffres sourcés) ================= */
.stats {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.stat {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: .9rem;
  padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: var(--raise), var(--edge);
  display: flex;
  flex-direction: column;
}
.stat b {
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--ink);
}
.stat b .nb { white-space: nowrap; }
.stat.own b { color: var(--brand); }
.stat figcaption { margin-top: .6rem; font-size: .93rem; color: var(--muted); flex: 1; }
.stat cite {
  margin-top: .9rem; padding-top: .7rem; border-top: 1px solid var(--line);
  font-style: normal; font-size: .74rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted);
}
@media (max-width: 720px) { .stats { grid-template-columns: 1fr; } }

/* ================= SIMULATEUR DE COMMISSIONS ================= */
.sim {
  margin-top: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  box-shadow: var(--raise-lg), var(--edge);
}
.sim h3 { font-size: 1.15rem; font-weight: 700; }
.sim-lead { margin-top: .3rem; font-size: .88rem; color: var(--muted); }
.sim-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.3rem 2rem;
}
.sim-grid label {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: .3rem .8rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink);
}
.sim-grid output {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-weight: 500;
  color: var(--brand);
  font-size: .92rem;
  white-space: nowrap;
}
.sim-grid input[type="range"] {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: var(--brand);
  height: 1.5rem;
  cursor: pointer;
}
.sim-grid label.wide { grid-column: 1 / -1; }
.sim-out {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: .9rem;
  overflow: hidden;
}
.sim-res { background: var(--surface); padding: 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; }
.sim-res .k { font-size: .82rem; color: var(--muted); }
.sim-res .v {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.sim-res.ota .v { color: var(--ink); }
.sim-res.mfv { background: var(--brand-soft); }
.sim-res.mfv .v { color: var(--brand); }
.sim-note { margin-top: 1rem; font-size: .8rem; line-height: 1.6; color: var(--muted); }
@media (max-width: 640px) {
  .sim-grid { grid-template-columns: 1fr; }
  .sim-out { grid-template-columns: 1fr; }
}

/* ================= CADRE LÉGAL (reproduction façon Légifrance / DSFR) ================= */
.legif {
  margin-top: 1.9rem;
  background: var(--bf-bg);
  color: var(--bf-ink);
  border: 1px solid var(--bf-line);
  border-top: 3px solid var(--bf-blue);
  font-family: 'Marianne', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  box-shadow: var(--raise);
}
.legif-head {
  padding: 1.4rem clamp(1.2rem, 4vw, 2rem) 1.3rem;
  background: var(--bf-alt);
  border-bottom: 1px solid var(--bf-line);
}
.legif-crumb { margin: 0; font-size: .8rem; line-height: 1.6; color: var(--bf-mute); }
.legif-head h3 {
  margin: .9rem 0 0;
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--bf-ink);
}
.legif-meta { margin: .7rem 0 0; font-size: .82rem; line-height: 1.8; color: var(--bf-mute); }
.legif-vigueur {
  display: inline-block;
  background: color-mix(in srgb, var(--bf-blue) 12%, transparent);
  color: var(--bf-blue);
  font-weight: 600;
  padding: .12rem .5rem;
  margin-bottom: .35rem;
}
.legif-body { padding: clamp(1.4rem, 4vw, 2rem); }
.legif-body p {
  margin: 0;
  font-size: clamp(1.05rem, 2.6vw, 1.22rem);
  line-height: 1.7;
  color: var(--bf-ink);
}
.legif-src {
  margin: 0;
  padding: 1rem clamp(1.2rem, 4vw, 2rem) 1.2rem;
  border-top: 1px solid var(--bf-line);
  font-size: .82rem;
  color: var(--bf-mute);
}
.legif-src a { color: var(--bf-blue); text-underline-offset: 2px; }
.legif-plain {
  margin: 1.6rem 0 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 60ch;
}
.legif-plain b { color: var(--ink); font-weight: 600; }
