/* =========================================================
   Captain.Food — landing styles (no framework)
   Art direction: fond sérieux, forme pirate.
   Univers maritime / carnet d'aventure — chaud, distinct des
   apps de livraison (noir/vert, turquoise). Navy + laiton + corail
   sur parchemin. Lisibilité d'abord.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Le site est conçu en palette claire (parchemin). On le déclare
     explicitement pour que les navigateurs en mode sombre n'inversent pas
     la page (sinon l'en-tête devient foncé et le logo sombre disparaît). */
  color-scheme: light;
  --navy: #0e3a5f;         /* haute mer */
  --navy-deep: #0a2b46;
  --gold: #e0a12b;         /* laiton / boussole */
  --gold-dark: #b9821b;
  --orange: #e8613a;       /* corail — énergie, CTA */
  --orange-dark: #c94d2b;
  --parchment: #f7efdf;    /* fond principal */
  --parchment-alt: #efe4cd;/* bande alternée */
  --white: #fffdf8;        /* cartes */
  --ink: #2a2018;          /* texte principal */
  --ink-soft: #493e2c;     /* texte secondaire — assombri pour la lisibilité (~8:1 sur parchemin) */
  --line: #ddcdac;
  --good: #1c7a4d;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow: 0 6px 22px rgba(20, 40, 60, 0.10);
  --shadow-lg: 0 16px 44px rgba(10, 30, 50, 0.16);
  --maxw: 1080px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Poppins", var(--font-body);
  /* text-safe brass for gold-on-light (WCAG AA, ~4.9:1 on parchment) */
  --brass-ink: #7d550e;
  /* pain marker — distinct from the orange CTA */
  --rust: #a2402a;
  /* spacing scale (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  /* reused navy gradient (hero + CTA) */
  --grad-navy: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}

/* ---------- Reset-ish ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--parchment);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--navy);
}
code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.9em;
  color: var(--navy);
  /* blue-grey tint so the chip is visible on parchment, the alt band AND white cards */
  background: rgba(14, 58, 95, 0.09);
  padding: 0.12em 0.45em;
  border-radius: 5px;
  border: 1px solid rgba(14, 58, 95, 0.18);
}

/* ---------- Accessibility helpers ---------- */
.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;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}
.container.narrow {
  max-width: 760px;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 16px rgba(201, 77, 43, 0.28);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201, 77, 43, 0.34);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 0.7rem 1.25rem;
  font-size: 0.95rem;
}
.btn-block {
  width: 100%;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 239, 223, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 0.7rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
}
.brand-mark {
  /* transparent emblem — no rounding needed */
}
.brand-dot {
  color: var(--orange);
}
.nav-links {
  display: flex;
  gap: 1.3rem;
  margin-left: auto;
}
.nav-links a {
  position: relative;
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.96rem;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 2px;
  background: var(--gold);
  transition: right 0.18s ease;
}
.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--navy);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  right: 0;
}
.nav-cta {
  margin-left: auto;
  white-space: nowrap;
}

/* Reading-progress bar (fills on scroll) */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 55;
  background: rgba(14, 58, 95, 0.12);
  pointer-events: none;
}
.read-progress > span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--gold);
}

/* Chip nav — a menu of the restaurateur's real QUESTIONS, under the header.
   Follows the scroll and highlights the current section. */
.chip-nav {
  border-top: 1px solid var(--line);
  background: rgba(247, 239, 223, 0.85);
}
.chip-nav-inner {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.chip-nav-inner::-webkit-scrollbar {
  display: none;
}
.chip {
  flex: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.chip:hover,
.chip:focus-visible {
  border-color: var(--navy);
  background: var(--parchment);
}
.chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
/* Rejoindre = primary action, styled as a CTA inside the bottom bar */
.chip-cta,
.chip-cta.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.chip-cta:hover,
.chip-cta:focus-visible {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}
@media (min-width: 721px) {
  .chip-nav-inner {
    justify-content: center;
    gap: 0.6rem;
  }
}

/* Anchors land clear of the sticky header + chip bar */
section[id],
[id="contenu"] {
  scroll-margin-top: 6.5rem;
}
@media (max-width: 400px) {
  .nav-cta {
    padding: 0.55rem 0.85rem;
    font-size: 0.88rem;
  }
  .brand-name {
    font-size: 1.05rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--grad-navy);
  color: #f3ede0;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.eyebrow-center {
  text-align: center;
  color: var(--brass-ink);
}
.hero-title {
  color: #fff;
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: -0.01em;
}
.hero-sub {
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  font-weight: 500;
  margin-top: 1rem;
  color: #fdf6e8;
}
.hero-note {
  margin-top: 0.9rem;
  color: #cdd8e2;
  font-size: 1rem;
  max-width: 46ch;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}
.hero-reassure {
  margin-top: 1.2rem;
  font-size: 0.94rem;
  color: #c3d0dc;
}
.hero-reassure strong {
  color: var(--gold);
}
.hero-portrait {
  position: relative;
  text-align: center;
}
.hero-portrait img {
  margin-inline: auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
  animation: cf-bob 6s ease-in-out infinite;
}
/* the Captain gently rides the swell */
@keyframes cf-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.hero-portrait figcaption {
  margin-top: 0.8rem;
  font-style: italic;
  color: var(--gold);
  font-size: 0.95rem;
}

/* wave divider at hero bottom → parchment */
.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
}
.wave svg {
  display: block;
  width: 100%;
  height: 70px;
}
.wave path {
  fill: var(--parchment);
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.section-alt {
  background: var(--parchment-alt);
}
.section-title {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.01em;
}
.section-intro {
  text-align: center;
  font-size: 1.16rem;
  font-weight: 500;
  color: var(--ink);
  max-width: 62ch;
  margin: 1rem auto 0;
}
.lead {
  font-size: 1.1rem;
  margin-top: 1.1rem;
}
.lead strong {
  color: var(--navy);
}
.fine-print {
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 1.2rem;
  font-style: italic;
}

/* ---------- Combat band (on écrase la commission) ---------- */
.combat-band {
  background: var(--grad-navy);
  color: #f3ede0;
  padding-block: clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
}
.combat-inner {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.combat-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  color: #fff;
  line-height: 1.15;
}
.combat-sub {
  margin-top: 0.8rem;
  font-size: 1.1rem;
  color: #cdd8e2;
  max-width: 46ch;
}
.combat-figure {
  margin: 0;
  text-align: center;
}
.combat-figure img {
  max-height: 470px;
  width: auto;
  margin-inline: auto;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.4));
}
@media (max-width: 820px) {
  .combat-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .combat-sub {
    margin-inline: auto;
  }
  .combat-figure img {
    max-height: 360px;
  }
}

/* ---------- Section split (text + captain illustration) ---------- */
.section-split {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.section-split .split-text .eyebrow-center,
.section-split .split-text .section-title,
.section-split .split-text .section-intro {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}
.section-split-figure {
  margin: 0;
  text-align: center;
}
.section-split-figure img {
  max-height: 360px;
  width: auto;
  margin-inline: auto;
  filter: drop-shadow(0 14px 24px rgba(10, 30, 50, 0.22));
}
@media (max-width: 820px) {
  .section-split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .section-split .split-text .eyebrow-center,
  .section-split .split-text .section-title,
  .section-split .split-text .section-intro {
    text-align: center;
    margin-inline: auto;
  }
  .section-split-figure {
    order: -1;
  }
  .section-split-figure img {
    max-height: 300px;
  }
}

/* ---------- Grids & cards ---------- */
.grid {
  display: grid;
  gap: var(--space-5); /* 1.5rem — matches card padding for even rhythm */
  margin-top: var(--space-6);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}
.card h3 {
  font-size: 1.18rem;
  margin-bottom: 0.5rem;
}
.card h4 {
  font-size: 1.08rem;
  margin-bottom: 0.4rem;
}
.card p {
  color: var(--ink-soft);
}
/* rope accent on problem cards */
.problem-card {
  border-top: 3px solid var(--rust); /* pain, not action — keep orange for CTAs only */
}
.feature-card {
  border-top: 3px solid var(--gold);
}

/* ---------- Pull quote ---------- */
.pull-quote {
  margin-top: 2.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow);
}
.pull-quote p {
  color: var(--ink-soft);
  margin-top: 0.7rem;
}
.pull-quote-lead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy) !important;
  margin-top: 0 !important;
}
.pull-quote-kicker {
  color: var(--ink) !important;
  font-weight: 600;
}

/* ---------- Sélecteur « 3 taux, 3 vérités » (CSS-only) ---------- */
.selector {
  margin-top: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}
.taux-fieldset {
  border: 0;
  padding: 0;
}
.taux-fieldset legend {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.9rem;
}
.taux-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.taux-opt {
  display: block;
  cursor: pointer;
}
.taux-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.taux-opt-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.15rem;
  padding: 0.9rem 0.8rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--parchment);
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.taux-opt-label em {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy);
}
.taux-opt:hover .taux-opt-label {
  border-color: var(--gold);
}
.taux-opt input:checked + .taux-opt-label {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}
.taux-opt input:checked + .taux-opt-label em {
  color: var(--gold);
}
.taux-opt input:focus-visible + .taux-opt-label {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.taux-messages {
  margin-top: 1.1rem;
  background: var(--parchment-alt);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  min-height: 5.5rem;
  display: flex;
  align-items: center;
}
.taux-msg {
  display: none;
  color: var(--ink);
}
.taux-msg strong {
  color: var(--navy);
}
/* reveal the message matching the checked radio — no JS */
.selector:has(#taux-0:checked) .msg-0,
.selector:has(#taux-50:checked) .msg-50,
.selector:has(#taux-100:checked) .msg-100 {
  display: block;
  animation: cf-fade 0.25s ease;
}
@keyframes cf-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* Safety net: browsers without :has() would hide ALL three messages and the
   whole argument would vanish. Show them stacked instead. */
@supports not (selector(:has(*))) {
  .taux-msg {
    display: block;
    margin-top: 0.6rem;
  }
  .taux-messages {
    flex-direction: column;
    align-items: stretch;
  }
  .taux-fieldset {
    opacity: 0.6; /* the radios no longer drive anything here */
  }
}
.selector-conclusion {
  margin-top: 1.6rem;
  font-size: 1.12rem;
  text-align: center;
  background: linear-gradient(90deg, rgba(224, 161, 43, 0.14), rgba(232, 97, 58, 0.12));
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
}
.selector-conclusion strong {
  color: var(--navy);
}

/* ---------- Comparison table ---------- */
.table-scroll {
  overflow-x: auto;
  margin-top: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.compare-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: var(--white);
}
.compare-table th,
.compare-table td {
  padding: 0.95rem 1.1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.compare-table thead th {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  background: var(--parchment-alt);
}
.compare-table tbody th[scope="row"] {
  font-weight: 600;
  color: var(--ink);
  width: 30%;
  background: rgba(0, 0, 0, 0.015);
}
.compare-table td {
  color: var(--ink-soft);
}
.compare-table .col-us {
  background: rgba(224, 161, 43, 0.12);
  color: var(--ink);
  border-left: 2px solid var(--gold);
}
.compare-table thead .col-us {
  color: var(--navy);
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- Finance box ---------- */
.finance-box {
  margin-top: 2.4rem;
  background: var(--white);
  border: 2px dashed var(--navy);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
}
.finance-box h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}
.finance-box p {
  color: var(--ink-soft);
  margin-top: 0.7rem;
}
.finance-box strong {
  color: var(--navy);
}

/* ---------- Finance example (chiffré) ---------- */
/* Sub-page framed hero illustrations (scene images with white bg) */
.finance-hero-figure,
.livraison-hero-figure {
  margin: 2rem auto 0;
  text-align: center;
}
.finance-hero-figure {
  max-width: 440px;
}
.livraison-hero-figure {
  max-width: 620px;
}
.finance-hero-figure img,
.livraison-hero-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.finance-hero-figure figcaption,
.livraison-hero-figure figcaption {
  margin-top: 0.7rem;
  font-style: italic;
  color: var(--brass-ink);
  font-size: 0.95rem;
}

.finance-example {
  margin-top: var(--space-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow);
}
.finance-example-tag {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brass-ink);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}
.finance-example-rows {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}
.finance-example-rows > li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.finance-example-rows > li.fe-detail {
  display: block;
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-top: -0.1rem;
}
.fe-label {
  color: var(--ink-soft);
}
.fe-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy);
  white-space: nowrap;
}
.fe-value em {
  display: inline-block;
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--good);
  background: rgba(28, 122, 77, 0.12);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  margin-left: 0.3rem;
  vertical-align: middle;
}
.finance-example-note {
  margin-top: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.finance-example-compare {
  margin-top: 0.7rem;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--line);
  color: var(--ink);
  font-size: 0.95rem;
}
.finance-example-note strong,
.finance-example-compare strong {
  color: var(--navy);
}
.finance-example-fine {
  margin-top: 0.8rem;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--ink-soft);
}

/* ---------- Form ---------- */

/* ---------- Trois canaux ---------- */
.channels {
  margin-top: 3rem;
}
.channels-captain {
  margin: 0 auto clamp(0.4rem, 2vw, 1rem);
  text-align: center;
  max-width: 440px;
}
.channels-captain img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(10, 30, 50, 0.18));
}
.channels-title {
  text-align: center;
  font-size: 1.5rem;
}
.channels-intro {
  text-align: center;
  color: var(--ink-soft);
  max-width: 58ch;
  margin: 0.8rem auto 0;
}
.channel-card {
  text-align: center;
}
.channel-icon {
  font-size: 2rem;
  margin-bottom: 0.3rem;
}
.channel-highlight {
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-lg);
}
.channel-highlight strong {
  color: var(--navy);
}
.channels-note {
  text-align: center;
  font-style: italic;
  color: var(--ink-soft);
  margin-top: 1.4rem;
}

/* ---------- Rider note ---------- */
.rider-note {
  margin-top: 2rem;
  background: rgba(224, 161, 43, 0.1);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
}
.rider-note-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.rider-note p:last-child {
  color: var(--ink-soft);
}
.rider-note strong {
  color: var(--ink);
}
.src {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* ---------- Pour qui ---------- */
.pour-qui-close {
  text-align: center;
  max-width: 64ch;
  margin: 2rem auto 0;
  font-size: 1.08rem;
}
.pour-qui-close strong {
  color: var(--orange-dark);
}

/* ---------- Check list ---------- */
.check-list {
  list-style: none;
  padding: 0;
  margin-top: 1.8rem;
  display: grid;
  gap: 1rem;
}
.check-list li {
  position: relative;
  padding-left: 2.2rem;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "⚓";
  position: absolute;
  left: 0;
  top: -0.1rem;
  color: var(--brass-ink);
  font-size: 1.15rem;
}
.check-list strong {
  color: var(--ink);
}

/* ---------- CTA section ---------- */
.section-cta {
  background: var(--grad-navy);
  color: #f3ede0;
}
.section-cta .section-title {
  color: #fff;
}
.section-cta .section-intro {
  color: #d3dde6;
}
.cta-captain {
  text-align: center;
  margin-bottom: 0.5rem;
}
.cta-captain img {
  max-height: 360px;
  width: auto;
  margin-inline: auto;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.35));
  animation: cf-bob 7s ease-in-out infinite; /* offset period so the two don't sync */
}

/* ---------- CTA captain: centred, static, above the content ---------- */
/* No side column, no sticky, no bob — he simply stands centred above the title
   (same on desktop and mobile). Predictable and calm. */
.cta-layout {
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-layout .cta-body {
  width: 100%;
  min-width: 0;
}
.cta-layout .cta-captain {
  margin: 0 auto clamp(0.4rem, 2vw, 1rem);
  text-align: center;
  pointer-events: none;
}
.cta-layout .cta-captain img {
  max-height: 300px;
  animation: none; /* no up/down bob */
}
.cta-layout .form,
.cta-layout .form-success {
  width: 100%;
}

/* ---------- FAQ: sticky captain beside the list ---------- */
/* FAQ captain: centred, static, above the questions (same as the CTA). */
.faq-layout {
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.faq-figure {
  margin: 0 auto clamp(0.4rem, 2vw, 1rem);
  text-align: center;
}
.faq-figure img {
  max-height: 300px;
  width: auto;
  margin-inline: auto;
  filter: drop-shadow(0 14px 24px rgba(10, 30, 50, 0.22));
}
.faq-body {
  width: 100%;
  min-width: 0;
}

@media (max-width: 820px) {
  /* Captains a touch smaller on phones. */
  .cta-layout .cta-captain img {
    max-height: 240px;
  }
  .faq-figure img {
    max-height: 240px;
  }
}

/* ---------- Pre-form reassurance strip (answers top objections at decision) ---------- */
.pre-embark {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.pre-embark li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}
.pre-embark strong {
  display: block;
  font-family: var(--font-display);
  color: #fff;
  margin-bottom: 0.2rem;
}
.pre-embark p {
  color: #cdd8e2;
  font-size: 0.92rem;
  margin: 0;
}
@media (max-width: 720px) {
  .pre-embark {
    grid-template-columns: 1fr;
  }
}

/* ---------- Floating WhatsApp bubble ---------- */
.wa-fab {
  position: fixed;
  right: 1.3rem;
  bottom: 1.4rem;
  z-index: 65;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wa-fab:hover {
  transform: scale(1.07);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
}
.wa-fab svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}
@media (max-width: 860px) {
  .wa-fab {
    right: 1rem;
  }
}

/* The old sticky mobile CTA is retired: the fixed bottom chip-nav (with its
   orange "Rejoindre" chip) plus the sticky header CTA now cover conversion. */
.mobile-cta {
  display: none !important;
}

/* ---------- Form ---------- */
.form {
  margin-top: 1.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-lg);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field {
  margin-bottom: 1.1rem;
}
.field label {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
  font-size: 0.96rem;
}
.req {
  color: var(--orange-dark);
}
.opt {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.85rem;
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--parchment);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem; /* ~44px tap target */
}
.field ::placeholder {
  color: #6b5f4c; /* ~5:1 on parchment */
  opacity: 1;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(14, 58, 95, 0.15);
}
.field input.invalid,
.field textarea.invalid {
  border-color: var(--orange-dark);
}
.field-error {
  color: var(--orange-dark);
  font-size: 0.85rem;
  margin-top: 0.35rem;
}
.field-consent .consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.field-consent input {
  width: auto;
  margin-top: 0.25rem;
  flex-shrink: 0;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 0.9rem;
}
.form-success {
  margin-top: 1.8rem;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-lg);
}
.form-success:focus {
  outline: none;
}
.form-success-captain {
  margin: 0;
}
.form-success-captain img {
  max-height: 300px;
  width: auto;
  margin-inline: auto;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.28));
  animation: cf-drop 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.form-success-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--navy);
  margin-top: 0.8rem;
}
.form-success-text {
  color: var(--ink-soft);
  margin-top: 0.5rem;
}
.form-success-actions {
  margin-top: 1.1rem;
}
.btn-wa {
  background: #25d366;
  color: #fff;
}
.btn-wa:hover {
  background: #1eb85a;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
}
.btn-wa .wa-ico {
  width: 20px;
  height: 20px;
  fill: #fff;
}
.form-status {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-align: center;
}
.form-status.ok {
  background: rgba(28, 122, 77, 0.14);
  color: var(--good);
}
.form-status.err {
  background: rgba(201, 77, 43, 0.14);
  color: var(--orange-dark);
}
/* success: the anchor gently drops & settles (one-shot) */
.form-status.done {
  animation: cf-drop 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}
@keyframes cf-drop {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* animated ellipsis while the form is sending */
.cf-dots::after {
  content: "";
  animation: cf-dots 1.2s steps(1) infinite;
}
@keyframes cf-dots {
  0% {
    content: ".";
  }
  33% {
    content: "..";
  }
  66%,
  100% {
    content: "…";
  }
}

/* ---------- FAQ ---------- */
.faq {
  margin-top: 2rem;
  display: grid;
  gap: 0.7rem;
}
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.3rem 1.2rem;
}
.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  padding: 0.85rem 0;
  list-style: none;
  position: relative;
  padding-right: 1.8rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0.7rem;
  font-size: 1.4rem;
  color: var(--brass-ink);
  line-height: 1;
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  color: var(--ink-soft);
  padding-bottom: 1rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #cdd8e2;
  padding-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
@media (min-width: 721px) and (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.4rem;
}
.footer-h {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 0.7rem;
}
.footer-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.footer-list a {
  color: #cdd8e2;
  text-decoration: none;
}
.footer-list a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.2rem;
  font-size: 0.85rem;
  color: #9fb0be;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-note {
    margin-inline: auto;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-portrait {
    order: -1;
  }
  .hero-portrait img {
    max-width: 260px;
  }
  .nav-links {
    display: none;
  }
}
/* ---------- Commission calculator ---------- */
.calc {
  margin-top: var(--space-6);
  background: var(--grad-navy);
  color: var(--parchment);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-lg);
}
.calc-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.calc-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.calc-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(247, 239, 223, 0.85);
}
.calc-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.calc-input-wrap input {
  width: 100%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  background: var(--white);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.6rem 3rem 0.6rem 0.8rem;
}
.calc-input-wrap input:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(224, 161, 43, 0.4);
}
.calc-unit {
  position: absolute;
  right: 0.8rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  pointer-events: none;
}
.calc-result {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px dashed rgba(247, 239, 223, 0.3);
  text-align: center;
}
.calc-result-lead {
  font-size: 0.95rem;
  color: rgba(247, 239, 223, 0.85);
  margin-bottom: 0.7rem;
}
.calc-figures {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 2.6rem;
  flex-wrap: wrap;
}
.calc-fig {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.calc-fig-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  line-height: 1.1;
  color: var(--gold);
}
.calc-fig-year .calc-fig-value {
  font-size: 2.7rem;
  color: var(--orange);
}
.calc-fig-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(247, 239, 223, 0.75);
  margin-top: 0.25rem;
}
.calc-sentence {
  margin-top: 1.1rem;
  font-weight: 600;
  color: var(--parchment);
  min-height: 1.4em;
}
.calc-cta {
  margin-top: 1.6rem;
}
.calc-presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.calc-presets-lbl {
  font-size: 0.85rem;
  color: rgba(247, 239, 223, 0.8);
  font-weight: 600;
}
.calc-preset {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--parchment);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.calc-preset:hover,
.calc-preset:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--gold);
}
.calc-reassure {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(247, 239, 223, 0.92);
  line-height: 1.5;
}
.calc-reassure strong {
  color: var(--gold);
}
.calc-reassure a {
  color: #ffe7b0;
  white-space: nowrap;
}
.calc-fine {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: rgba(247, 239, 223, 0.74);
  text-align: center;
  line-height: 1.5;
}
.calc-fine a {
  color: #ffe7b0; /* legible link on the dark box (was navy = invisible) */
}

@media (max-width: 720px) {
  .calc-inputs {
    grid-template-columns: 1fr;
  }
  .calc-fig-value {
    font-size: 1.8rem;
  }
  .calc-fig-year .calc-fig-value {
    font-size: 2.2rem;
  }
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .taux-options {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
}

/* ---------- Répercussion : deux boutons + phrase, dans la citation ---------- */
.repercuss-inline {
  margin-top: 1.3rem;
}
.repercuss-q {
  font-style: normal;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.repercuss-btns {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.repercuss-btns label {
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.repercuss-btns input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.repercuss-btns label:hover {
  border-color: var(--orange);
}
.repercuss-btns label:has(input:checked) {
  border-color: var(--orange);
  background: rgba(232, 97, 58, 0.12);
}
.repercuss-btns label:has(input:focus-visible) {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
.rep-msg {
  display: none;
  font-style: normal;
  margin-top: 0.85rem;
  color: var(--ink);
}
.rep-msg strong {
  color: var(--navy);
}
.repercuss-inline:has(input[value="100"]:checked) .rep-100,
.repercuss-inline:has(input[value="50"]:checked) .rep-50 {
  display: block;
}
/* Fallback where :has() is unsupported — show both explanations */
@supports not (selector(:has(*))) {
  .rep-msg {
    display: block;
  }
  .repercuss-btns label {
    border-color: var(--line);
  }
}

/* ---------- "Le constat" : statistiques ---------- */
.stat-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.6rem;
}
.stat-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--rust);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow);
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--rust);
  line-height: 1;
}
.stat-lbl {
  display: block;
  margin-top: 0.5rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.4;
}
.stat-lbl strong { color: var(--navy); }
@media (max-width: 720px) {
  .stat-tiles {
    grid-template-columns: 1fr;
  }
}

/* ---------- Table brand cell (logo instead of the anchor emoji) ---------- */
.th-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  color: var(--navy);
}
.th-brand img {
  display: inline-block;
}

/* ---------- Dish caption ---------- */
.dish-caption {
  margin-top: 0.7rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
}

/* ---------- Clickable zones (turn navy on hover) ---------- */
.card-cue {
  display: inline-block;
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--orange-dark);
}
.finance-box.clickable-card {
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.finance-box.clickable-card:hover,
.finance-box.clickable-card:focus-visible {
  background: var(--grad-navy);
  border-color: var(--navy);
  color: #e8eef4;
  outline: none;
}
.finance-box.clickable-card:hover h3,
.finance-box.clickable-card:focus-visible h3 {
  color: #fff;
}
.finance-box.clickable-card:hover p,
.finance-box.clickable-card:focus-visible p {
  color: #e8eef4;
}
.finance-box.clickable-card:hover strong,
.finance-box.clickable-card:focus-visible strong {
  color: var(--gold);
}
.finance-box.clickable-card:hover .card-cue,
.finance-box.clickable-card:hover a,
.finance-box.clickable-card:focus-visible .card-cue,
.finance-box.clickable-card:focus-visible a {
  color: #ffe7b0;
}

.channel-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}
.channel-link:hover,
.channel-link:focus-visible {
  background: var(--grad-navy);
  border-color: var(--navy);
  transform: translateY(-2px);
}
.channel-link:hover h4,
.channel-link:hover p,
.channel-link:focus-visible h4,
.channel-link:focus-visible p {
  color: #e8eef4;
}
.channel-link:hover .card-cue,
.channel-link:focus-visible .card-cue {
  color: #ffe7b0;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
  /* the blanket rule above kills transitions but NOT keyframe animations,
     so disable each one explicitly */
  .hero-portrait img,
  .cta-captain img,
  .taux-msg,
  .form-status.done,
  .form-success-captain img,
  .cf-dots::after {
    animation: none !important;
  }
}

/* ---------- Shared footer enhancements (logo, icons, tagline) ---------- */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-logo {
  width: 30px;
  height: 30px;
  flex: none;
  /* light medallion so the emblem (dark linework) reads on the navy footer */
  background: var(--parchment);
  border-radius: 50%;
  padding: 5px;
  box-sizing: content-box;
}
.footer-tagline {
  color: #9fb0be;
  margin-top: 0.2rem;
}
.footer-tagline em {
  font-style: italic;
}
.footer-nav a,
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.footer-nav .fi {
  width: 1.15em;
  text-align: center;
  flex: none;
}
.footer-list .ic {
  width: 16px;
  height: 16px;
  flex: none;
}

/* ---------- First-time WhatsApp hint bubble ---------- */
.wa-hint {
  position: fixed;
  right: 1.3rem;
  bottom: 5.6rem;
  z-index: 66;
  max-width: 232px;
  background: var(--navy);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 0.7rem 1.9rem 0.7rem 0.9rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.wa-hint.is-visible {
  opacity: 1;
  transform: none;
}
.wa-hint::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: -7px;
  border: 7px solid transparent;
  border-top-color: var(--navy);
  border-bottom: 0;
}
.wa-hint-close {
  position: absolute;
  top: 3px;
  right: 6px;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
}
.wa-hint-close:hover {
  color: #fff;
}
@media (max-width: 860px) {
  .wa-hint {
    right: 1rem;
    bottom: 11.6rem;
  }
}

/* ---------- Commission simulator: platform presets + dynamic camembert ---------- */
.calc-plats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-bottom: 1.4rem;
}
.calc-plat {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 1.8rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.calc-plat:hover,
.calc-plat:focus-visible {
  border-color: var(--plat);
}
.calc-plat.is-active {
  border-color: var(--plat);
  background: color-mix(in srgb, var(--plat) 10%, var(--white));
  box-shadow: 0 4px 14px rgba(10, 30, 50, 0.1);
}
.calc-plat-logo {
  width: 34px;
  height: 34px;
  flex: none;
  color: var(--plat);
}
.calc-plat-rate {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink-soft);
  background: var(--parchment-alt);
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
}
.calc-plat.is-active .calc-plat-rate {
  color: var(--plat);
}
.calc-field-ca {
  max-width: 420px;
  margin: 0 auto 1.8rem;
  text-align: center;
}
.calc-field-ca label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
/* Zone "perte" : le montant annuel domine visuellement (aversion à la perte) */
.calc-loss {
  text-align: center;
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}
.calc-loss .loss-lead {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}
.calc-loss .loss-big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 12vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #ff7a5c;
  text-shadow: 0 2px 22px rgba(255, 90, 60, 0.3);
}
.calc-loss .loss-unit {
  font-size: 0.32em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}
.calc-loss .loss-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 0.35rem;
}
.calc-loss .loss-empty {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
}
.calc-habitues {
  text-align: center;
  margin: 1.3rem 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #eafff3;
}
.calc-habitues strong {
  color: #7ee0a8;
}

/* ---------- Simulator lead heading + SMIC measure ---------- */
.calc-lead-title {
  text-align: center;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  color: var(--navy);
  margin-top: 0.5rem;
}
.calc-smic {
  text-align: center;
  margin-top: 0.55rem;
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.calc-smic strong {
  color: var(--gold);
}
.form-reassure-inline {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 0.7rem;
}

/* ---------- Legibility: key phrases pop, card bodies a touch darker ---------- */
/* Bold phrases inside light-background prose take the navy accent so the key
   information stands out from the running text. */
.card p strong,
.channels strong,
.channel-card strong,
.pour-qui-close strong {
  color: var(--navy);
}
/* Card + channel body copy: darker ink (not the soft secondary) for readability. */
.card p,
.channels-intro,
.channel-card p {
  color: var(--ink);
}

/* ---------- Editable commission-rate field (under the presets) ---------- */
.calc-field-rate {
  max-width: 260px;
  margin: 0.2rem auto 1.4rem;
  text-align: center;
}
.calc-field-rate label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.calc-rate-hint {
  font-weight: 400;
  opacity: 0.75;
  font-size: 0.85rem;
}

/* ---------- Maquettes / co-construction (section #maquettes) ---------- */
.mockup-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0 1.75rem;
}
.mockup-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.4rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.mockup-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.mockup-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.mc-emo { font-size: 1.9rem; }
.mc-role { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.mc-desc { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.45; }
.mc-badge {
  position: absolute; top: 0.9rem; right: 0.9rem;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  background: #fbeee0; color: #c77f1a; padding: 0.2rem 0.55rem; border-radius: 999px;
}
.mockup-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.mockup-note { text-align: center; color: var(--ink-soft); font-size: 0.9rem; margin-top: 1rem; }
@media (max-width: 720px) {
  .mockup-cards { grid-template-columns: 1fr; }
}

/* ---------- Hero : bandeau de stats (Axe 1) ---------- */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  max-width: var(--maxw);
  margin: 1.75rem auto 0;
  padding: 0 var(--space-4);
  list-style: none;
}
.hero-stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.9rem;
  text-align: center;
}
.hero-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1.05;
}
.hero-stat span {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.25rem;
  line-height: 1.3;
}
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
}

/* ---------- Constat : ratio choc commission vs marge (Yan) ---------- */
.ratio-punch {
  text-align: center;
  max-width: 46ch;
  margin: 1.8rem auto 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  line-height: 1.3;
  color: var(--ink);
}
.ratio-punch b { color: var(--rust); font-size: 1.18em; white-space: nowrap; }

/* ---------- Combat band : relance d'action au pic émotionnel (Yan) ---------- */
.combat-cue {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease;
}
.combat-cue:hover { border-color: var(--gold); }

/* ---------- Comparatif : le "0 %" gagnant domine (Yan) ---------- */
.us-zero {
  font-size: 1.7rem;
  color: var(--good);
  line-height: 1;
}
