/* Site vitrine Zookeeper Management, proposition v2 (25/10/2026).
   Même base que le site actuel (savane fixe de l'app, panneaux translucides, Montserrat + Nunito Sans,
   tableau des formules), avec de vraies captures de l'application recadrées.
   Couleurs alignées sur la charte v6 du 19/10 : fond #f1e9dc, panneaux blancs, surface #f6f1e8.
   Le vert kaki reste une touche (titres, Intégrale), jamais un aplat. Thème clair seul, par choix. */
:root {
  --screen: #f1e9dc;
  --screen-rgb: 241 233 220;
  --panel: #ffffff;
  --surface: #f6f1e8;
  --ink: #1a1814;
  --ink-strong: #34463b;
  --muted: #6b665f;
  --line: #e4d9c6;
  --cta: #c85228;
  --cta-dark: #873514;
  --cta-soft: rgb(200 82 40 / 11%);
  --kaki: #516157;
  --kaki-soft: rgb(81 97 87 / 10%);
  --gold: #ead7ad;
  --positive: #22904a;
  --bezel: #2b2c28;

  --font: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --step-0: 1.0625rem;
  --step-1: 1.2rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.8rem, 1.25rem + 2vw, 2.6rem);
  --step-4: clamp(2.3rem, 1.3rem + 3.4vw, 3.9rem);
  --wrap: 1180px;
  --r-card: 22px;
  --r-panel: 12px;
  --shadow: 0 24px 60px rgb(49 45 34 / 14%), 0 3px 10px rgb(49 45 34 / 6%);
  --shadow-soft: 0 10px 30px rgb(49 45 34 / 8%);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--screen);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* Le paysage de l'application, fixe derrière toute la page (position: fixed, que Safari respecte) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgb(var(--screen-rgb) / 20%) 0%, rgb(var(--screen-rgb) / 50%) 100%),
    url("../assets/savane-app.webp") center bottom / cover no-repeat,
    var(--screen);
}
@media (max-width: 900px) {
  body::before {
    background:
      linear-gradient(180deg, rgb(var(--screen-rgb) / 20%) 0%, rgb(var(--screen-rgb) / 50%) 100%),
      url("../assets/savane-app-1200.webp") center bottom / cover no-repeat,
      var(--screen);
  }
}
h1, h2, h3 { margin: 0; line-height: 1.12; text-wrap: balance; color: var(--ink-strong); font-family: var(--display); }
p { margin: 0; }
a { color: var(--cta-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; display: block; height: auto; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.eyebrow {
  font-size: 1.05rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--cta);
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 700 1rem/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, color .15s, box-shadow .15s;
}
.btn-cta { background: var(--cta); color: #fff; box-shadow: 0 8px 20px rgb(200 82 40 / 28%); }
.btn-cta:hover { background: var(--cta-dark); }
.btn-ghost { color: var(--ink); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--cta); color: var(--cta-dark); }

/* En-tête : logo, langue, démo (pas de menu, retiré le 11/10) */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: rgb(255 255 255 / 84%);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 80px; }
.brand { margin-right: auto; }
.brand img { height: 60px; width: auto; }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.82rem; }
.lang a, .lang span { padding: 2px 10px; border-radius: 999px; font-weight: 800; text-decoration: none; }
.lang span { background: var(--ink-strong); color: #fff; }
.lang a { color: var(--muted); }
.header-cta { min-height: 42px; padding: 0 18px; font-size: 0.92rem; box-shadow: none; }
@media (max-width: 560px) { .header-cta { display: none; } .brand img { height: 46px; } }

/* Ouverture : le texte à gauche, l'application en tablette à droite */
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 64px;
  align-items: center;
  padding-block: 64px 96px;
}
.hero-text { display: grid; gap: 22px; min-width: 0; }
.hero-kicker { font-family: var(--display); font-weight: 800; font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem); line-height: 1.25; color: var(--cta); }
.hero h1 { font-size: clamp(2rem, 1.2rem + 2.3vw, 3.1rem); font-weight: 800; letter-spacing: -0.025em; }
.hero h1 em { font-style: normal; color: var(--cta); display: block; margin-top: 0.15em; }
.hero .lead { font-size: var(--step-1); font-weight: 600; color: var(--ink); max-width: 30em; text-shadow: 0 0 18px rgb(var(--screen-rgb) / 90%); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

.showcase { position: relative; min-width: 0; padding-bottom: 72px; }
.tablet {
  background: var(--bezel);
  border-radius: 30px;
  padding: 14px;
  box-shadow: var(--shadow), inset 0 0 0 2px rgb(255 255 255 / 6%);
}
.tablet img { border-radius: 14px; width: 100%; }
.float {
  position: absolute;
  background: var(--panel);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 18px 40px rgb(49 45 34 / 22%);
}
.float img { border-radius: 9px; }
.float-a { width: 52%; left: -7%; bottom: 0; }
.float-b { width: 46%; right: -4%; bottom: 22px; }
.shot-note { margin-top: 14px; font-size: 0.82rem; font-weight: 600; color: var(--muted); text-align: right; }
.showcase .shot-note { position: absolute; right: 0; bottom: -30px; margin: 0; }
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 40px 72px; gap: 40px; }
  .hero-text { text-align: center; justify-items: center; }
  .actions { justify-content: center; }
}
@media (max-width: 640px) {
  .showcase { padding-bottom: 0; display: grid; gap: 12px; }
  .float { position: static; width: 100%; }
  .float-b { display: none; }
  .showcase .shot-note { position: static; }
  .tablet { padding: 8px; border-radius: 18px; }
  .tablet img { border-radius: 10px; }
}

/* Sections : panneaux translucides posés sur le paysage */
.section { padding-block: 36px; }
.panel {
  background: rgb(255 255 255 / 86%);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-soft);
  padding: clamp(28px, 5vw, 60px) clamp(20px, 4vw, 56px);
}
.section-head { display: grid; gap: 12px; max-width: 44rem; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head h2 { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.02em; }
.section-head p:not(.eyebrow) { color: #3f3b36; font-size: var(--step-1); }

/* Principe : porté par la section « Du papier à l'écran », en encadré */
.section-head p.principle {
  color: var(--ink); padding: 14px 18px; border-left: 4px solid var(--cta);
  background: var(--surface); border-radius: 0 12px 12px 0;
}
.principle strong { font-family: var(--display); color: var(--ink-strong); }

/* La page secteur : des extraits de la vraie page, lus de haut en bas, et le fil de la journée */
.day { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.day-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.day-steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 18px; }
.step-n {
  grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--cta-soft); color: var(--cta); font: 800 1.25rem/1 var(--display);
}
.day-steps h3, .steps h3 { font-size: 1.25rem; font-weight: 700; }
.day-steps p { color: var(--muted); }
/* Les trois temps reprennent les couleurs des formules : or, terracotta, kaki. */
.day-steps li:nth-child(1) .step-n { background: var(--gold); color: var(--ink-strong); }
.day-steps li:nth-child(2) .step-n { background: var(--cta); color: #fff; }
.day-steps li:nth-child(3) .step-n { background: var(--kaki); color: #fff; }
@media (max-width: 980px) { .day { grid-template-columns: 1fr; } }

/* Grilles de cartes */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }
.card {
  background: var(--panel); border-radius: 18px; padding: 24px;
  border: 1px solid var(--line);
  display: grid; gap: 10px; align-content: start;
}
.card h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 1rem; }

/* Du papier à l'écran : ce qu'on quitte, barré, au-dessus de ce qu'on gagne */
.before {
  font-size: 0.84rem; font-weight: 800; color: var(--muted);
  text-decoration: line-through; text-decoration-color: rgb(200 82 40 / 65%); text-decoration-thickness: 2px;
}
.card .badge {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--cta-soft); color: var(--cta);
}
.card .badge.k { background: var(--kaki-soft); color: var(--kaki); }

/* Bien-être : le texte et deux vraies vues de suivi */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.split .section-head { margin-bottom: 24px; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; } }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips.center { justify-content: center; }
.chip {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px;
  border-radius: 999px; background: var(--panel); border: 1px solid var(--line);
  font-weight: 700; font-size: 0.93rem; color: var(--ink);
}
.stack { display: grid; gap: 14px; min-width: 0; }
.shot {
  margin: 0; background: var(--panel); border-radius: 14px; padding: 6px;
  box-shadow: var(--shadow-soft); border: 1px solid var(--line);
}
.shot img { border-radius: 9px; }
.shot figcaption { padding: 8px 8px 4px; font-size: 0.88rem; color: var(--muted); font-weight: 600; }

/* L'application : liste à icônes, sans cadre par élément */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.feature {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 2px 16px;
  padding-block: 22px; border-top: 1px solid var(--line);
}
.feature .badge {
  grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--cta-soft); color: var(--cta);
}
/* Pastilles pleines, comme celles des blocs cahier de suivi et responsables : or, terracotta, kaki, à la suite. */
.feature:nth-child(3n+1) .badge { background: var(--gold); color: var(--ink-strong); }
.feature:nth-child(3n+2) .badge { background: var(--cta); color: #fff; }
.feature:nth-child(3n) .badge { background: var(--kaki); color: #fff; }
.feature h3 { font-size: 1.1rem; font-weight: 700; }
.feature p { color: var(--muted); font-size: 0.98rem; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* Profils : un trait de couleur terre par profil, comme les en-têtes de panneaux de l'app */
.profile .bar { width: 36px; height: 5px; border-radius: 999px; }
.profile:nth-child(1) .bar { background: var(--kaki); }
.profile:nth-child(2) .bar { background: var(--cta); }
.profile:nth-child(3) .bar { background: #c09870; }
.profile:nth-child(4) .bar { background: #d9a441; }
.profile .icon { color: var(--ink-strong); width: 28px; height: 28px; }
.footnote { margin-top: 22px; color: var(--muted); font-size: 0.92rem; }

/* Vue d'ensemble : la capture du tableau de bord en grand */
.overview { display: grid; gap: 28px; }
.overview .shot { box-shadow: var(--shadow); }

/* Vos données : icône au-dessus du titre, comme les cartes « Du papier à l'écran » */

/* Formules : le tableau validé le 10/10, repris tel quel */
.table-box { overflow-x: auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--shadow-soft); }
.plans { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.98rem; }
.plans th, .plans td { padding: 12px 22px; text-align: center; border-bottom: 1px solid var(--line); }
.plans th:first-child, .plans td:first-child { text-align: left; }
.plans thead th { vertical-align: bottom; padding-block: 20px 16px; border-bottom: 0; }
.plans thead th:first-child { background: var(--panel); }
.plans thead th:first-child .eyebrow { color: var(--ink-strong); }
.plans thead .eyebrow { font-size: 0.8rem; }
.plans thead th:nth-child(2) { background: var(--gold); }
.plans thead th:nth-child(3) { background: var(--cta); }
.plans thead th:nth-child(4) { background: var(--kaki); }
.plans thead th b { display: block; font: 700 1.25rem/1.2 var(--display); color: var(--ink-strong); }
.plans thead th small { display: block; font-weight: 700; color: var(--muted); font-size: 0.84rem; }
.plans thead th:nth-child(3) b, .plans thead th:nth-child(4) b { color: #fff; }
.plans thead th:nth-child(3) small, .plans thead th:nth-child(4) small { color: rgb(255 255 255 / 85%); }
.plans .group th {
  text-align: left; background: var(--surface); color: var(--ink-strong);
  font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; padding-block: 11px;
}
.plans tbody td:first-child { font-weight: 700; }
.plans tbody tr:not(.group) td:nth-child(3) { background: rgb(200 82 40 / 5%); }
.plans tbody tr:not(.group) td:nth-child(4) { background: rgb(81 97 87 / 8%); }
.plans td.y::before { content: "✓"; color: var(--positive); font-size: 1.15rem; font-weight: 700; }
/* Non compris : un tiret foncé, bien lisible sans faire penser à une erreur (pas de rouge). */
.plans td.n::before { content: "—"; color: var(--ink-strong); font-size: 1.05rem; font-weight: 700; }
.plans tr:last-child td { border-bottom: 0; }
.plans thead th .prix { display: block; margin-top: 12px; font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.plans thead th .prix strong { display: block; font: 800 1.5rem/1.2 var(--display); color: var(--ink-strong); }
.plans thead th:nth-child(3) .prix, .plans thead th:nth-child(4) .prix,
.plans thead th:nth-child(3) .prix strong, .plans thead th:nth-child(4) .prix strong { color: #fff; }
/* Ce que le parc y gagne : une situation vécue, puis ce qui change */
/* subgrid : les bandeaux du haut ont la même hauteur sur une rangée */
.situations { grid-auto-rows: auto auto; row-gap: 0; }
.situations .situation { grid-row: span 2; grid-template-rows: subgrid; margin-bottom: 18px; padding: 0; gap: 0; overflow: hidden; border-top: 4px solid var(--sit); box-shadow: var(--shadow-soft); }
/* une couleur par carte, seulement celles de l'app : CTA, kaki, CTA foncé, en-têtes terre et dorés */
.situation:nth-child(1) { --sit: var(--cta); --sit-bg: rgb(241 178 151 / 35%); }
.situation:nth-child(2) { --sit: var(--kaki); --sit-bg: rgb(81 97 87 / 12%); }
.situation:nth-child(3) { --sit: var(--cta-dark); --sit-bg: rgb(212 160 128 / 32%); }
.situation:nth-child(4) { --sit: var(--ink-strong); --sit-bg: rgb(234 215 173 / 60%); }
.sit-top { background: var(--sit-bg); padding: 20px 24px 16px; display: grid; gap: 4px; align-content: start; }
.card .sit-big { font: 800 1.45rem/1.1 var(--display); color: var(--sit); letter-spacing: -0.02em; }
.card .sit { font-style: italic; color: var(--ink); font-weight: 600; font-size: 1rem; }
.sit-bottom { padding: 18px 24px 24px; display: grid; gap: 8px; align-content: start; }
.sit-bottom h3 { font-size: 1.38rem; font-weight: 800; }
/* Présentation du fondateur, discrète : petit portrait rond et citation */
.founder { display: flex; gap: 16px; align-items: center; }
.founder-photo { width: 105px !important; height: 105px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: var(--shadow-soft); }
.founder-name { font-size: 1.1rem !important; margin: 0; }
.founder blockquote { margin: 4px 0 0; font-style: italic; color: var(--ink); font-size: 1.14rem; }
.plans .soon td:first-child { font-style: italic; color: var(--muted); font-weight: 600; }
.plans-note {
  margin-top: 24px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between;
  background: var(--surface); border-radius: 18px; padding: 22px 26px; border: 1px solid var(--line);
}
.plans-note p { font-size: var(--step-1); color: var(--ink); max-width: 38rem; }
.plans-note strong { font-family: var(--display); color: var(--ink-strong); }

/* Démarrer : une vraie suite d'étapes, d'où les numéros */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps .card { grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; }
.steps .step-n { grid-row: span 2; }
/* une couleur par étape, celles de l'app (comme les situations) */
.steps .step-n { background: var(--gold); color: var(--ink-strong); }
.steps .card:nth-child(2) .step-n { background: var(--cta); color: #fff; }
.steps .card:nth-child(3) .step-n { background: var(--kaki); color: #fff; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Fin de page : l'origine à gauche, le formulaire à droite, sur la savane */
.closing { padding-block: 56px 200px; }
.closing .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.origin { display: grid; gap: 34px; min-width: 0; }
.origin img { width: min(400px, 100%); }
.origin h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; }
.origin p { color: var(--ink); font-weight: 600; font-size: 1.25rem; text-shadow: 0 0 16px rgb(var(--screen-rgb) / 90%); }
.origin p.proof {
  color: var(--ink-strong); font-family: var(--display); font-weight: 700; font-size: 1.1rem;
  padding: 14px 18px; border-left: 4px solid var(--cta); background: rgb(255 255 255 / 80%); border-radius: 0 12px 12px 0;
  text-shadow: none;
}
.contact-card {
  background: var(--panel); border-radius: var(--r-card); border: 1px solid rgb(200 82 40 / 20%);
  padding: 34px; box-shadow: var(--shadow); display: grid; gap: 14px; min-width: 0;
}
.contact-card h2 { font-size: var(--step-2); font-weight: 800; }
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-weight: 700; font-size: 0.95rem; }
.contact-form input, .contact-form textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--panel);
  border: 1px solid #9a8470; border-radius: var(--r-panel); padding: 12px 14px; width: 100%; min-width: 0;
}
.contact-form textarea { resize: vertical; min-height: 7rem; line-height: 1.5; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--cta); outline-offset: 1px; border-color: var(--cta); }
.contact-form .facultatif { font-weight: 400; color: var(--muted); }
.contact-form .btn { justify-self: start; }
.contact-form .piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note, .mail-line { font-size: 0.9rem; color: var(--muted); }
.form-note a { color: var(--muted); }
.mail { font-weight: 800; color: var(--cta-dark); overflow-wrap: anywhere; }
.form-msg { display: none; padding: 14px 18px; border-radius: var(--r-panel); font-weight: 700; }
.form-msg:target { display: block; }
.form-ok { background: rgb(34 144 74 / 12%); color: #1f5a37; }
.form-ko { background: rgb(204 48 32 / 10%); color: #8f2216; }
.contact-card:has(.form-ok:target) .contact-form { display: none; }
@media (max-width: 860px) { .closing .wrap { grid-template-columns: 1fr; gap: 36px; } .closing { padding-block: 40px 140px; } }
@media (max-width: 560px) { .contact-card { padding: 24px 18px; } .contact-form .btn { justify-self: stretch; justify-content: center; } }

.site-footer { background: rgb(255 255 255 / 88%); border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; padding-block: 22px; }
.site-footer a { color: var(--muted); }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* Voile beige, comme sur la v1 : léger sur l'ouverture (ciel), continu au milieu, qui se retire sous le contact */
.hero { background: linear-gradient(180deg, rgb(var(--screen-rgb) / 30%) 0%, rgb(var(--screen-rgb) / 0%) 35%, rgb(var(--screen-rgb) / 0%) 60%, rgb(var(--screen-rgb) / 55%) 100%); }
main > .section { background: rgb(var(--screen-rgb) / 55%); }
.closing { background: linear-gradient(180deg, rgb(var(--screen-rgb) / 55%) 0%, rgb(var(--screen-rgb) / 55%) 45%, rgb(var(--screen-rgb) / 5%) 100%); }

/* Mini-écrans : l'esprit de l'application (panneaux à bord de couleur, pastilles, boutons « Fait »),
   simplifié exprès pour ne pas reproduire ses vrais écrans. */
.mini {
  display: grid; gap: 10px; padding: 12px;
  background: var(--surface); border-radius: 14px;
  font-size: 0.8rem; line-height: 1.35; color: var(--ink);
}
.tablet .mini { border-radius: 16px; }
.mini-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px; border-radius: 10px; background: var(--kaki); color: #fff;
  font: 700 0.85rem/1 var(--display);
}
.mini-dots { display: flex; gap: 5px; }
.mini-dots i { width: 18px; height: 8px; border-radius: 999px; background: rgb(255 255 255 / 35%); }
.mp {
  background: var(--panel); border-radius: 10px; padding: 10px 12px;
  border-top: 3px solid var(--kaki); display: grid; gap: 7px; min-width: 0;
  box-shadow: 0 2px 8px rgb(49 45 34 / 7%);
}
.mp-cta { border-top-color: var(--cta); }
.mp-blue { border-top-color: #3a6090; }
.mp-green { border-top-color: var(--positive); }
.mp-earth { border-top-color: #7a4a28; }
.mp-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mp-h b { font: 700 0.78rem/1.2 var(--display); text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink-strong); }
.row {
  display: flex; align-items: center; gap: 8px; min-width: 0;
  padding: 6px 8px; border-radius: 8px; background: var(--surface);
}
.row-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.num { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tag {
  display: inline-flex; align-items: center; min-height: 20px; padding: 0 8px; border-radius: 999px;
  font-size: 0.68rem; font-weight: 800; white-space: nowrap; background: var(--surface); color: var(--muted);
}
.tag-cta { background: var(--cta); color: #fff; }
.tag-ok { background: rgb(34 144 74 / 14%); color: #1d6b3a; }
.tag-ko { background: rgb(204 48 32 / 12%); color: #a02a1c; }
.lu { font-size: 0.7rem; font-weight: 800; color: #1d6b3a; white-space: nowrap; }
.cnt { font-weight: 800; color: var(--muted); font-size: 0.72rem; white-space: nowrap; }
.cnt span { display: none; }
.scene:not(.playing) .cnt span:last-child, .cnt span.on:not(:has(+ span.on)) { display: inline; }
.bar4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.bar4 i { height: 6px; border-radius: 999px; background: var(--cta); transition: background-color .3s; }

/* Pastilles de périodicité, couleurs de l'app */
.pas {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; flex: none;
  color: #fff; font: 800 0.66rem/1 var(--font);
}
.pas-q { background: #1f8f45; }
.pas-h { background: #2a6db5; }
.pas-m { background: #7a3fa0; }
.pas-x { background: #d0312d; }

/* Bouton « Fait » : affiché fait par défaut, « À faire » tant que la scène n'y est pas arrivée */
.fait { display: inline-grid; flex: none; }
.fait span {
  grid-area: 1 / 1; display: grid; place-items: center; min-width: 64px; padding: 4px 10px;
  border-radius: 999px; font-weight: 800; font-size: 0.7rem; transition: opacity .3s;
}
.fait span:first-child { background: var(--panel); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); opacity: 0; }
.fait span:last-child { background: #27a74a; color: #fff; }
.task { background: rgb(34 144 74 / 9%); transition: background-color .3s; }
/* Validée juste après l'élément précédent de la même étape (prise du soir après celle du matin). */
.task.apres.on, .task.apres.on .fait span { transition-delay: .9s; }

/* Lignes de texte esquissées */
.sk { display: grid; gap: 6px; flex: 1; min-width: 0; }
.sk i { display: block; height: 7px; width: var(--w); border-radius: 999px; background: #e3d8c5; transition: width .9s ease; }

/* Vignettes flottantes de l'ouverture */
.float { padding: 10px 12px; }
.fl-h { font: 700 0.78rem/1.2 var(--display); color: var(--ink-strong); }
.fl-t { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.float-b { display: flex; align-items: center; gap: 10px; width: auto; max-width: 62%; }
.send { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--cta); color: #fff; flex: none; }
.send .icon { width: 19px; height: 19px; }
.curve { width: 100%; height: auto; display: block; margin-top: 6px; }
.curve .grid { stroke: #ece3d3; stroke-width: 1; fill: none; }
.curve .line { fill: none; stroke: #903060; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s ease; }
.curve .end { fill: var(--panel); stroke: #903060; stroke-width: 2.5; transition: opacity .3s; }
.curve .zone { fill: rgb(34 144 74 / 10%); }
.curve .treat { fill: rgb(58 96 144 / 10%); stroke: rgb(58 96 144 / 55%); stroke-dasharray: 4 3; transition: opacity .5s; }
.curve .treat-l { fill: #3a6090; font: 700 9px var(--font); transition: opacity .5s; }
.curve-big .line, .curve-big .end { stroke: var(--cta); }
@media (max-width: 640px) { .float-b { display: flex; max-width: none; } }

/* Page secteur en miniature, et les blocs que la lecture éclaire tour à tour */
.mini-page { padding: 14px; border: 1px solid var(--line); border-radius: var(--r-card); }
.mini-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.blk { transition: opacity .4s, box-shadow .4s, transform .4s; }
.day-steps li { transition: opacity .4s; }

/* Tableau de bord en miniature */
.mini-dash { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); padding: 16px; gap: 14px; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-soft); }
.dash-col { display: grid; gap: 14px; align-content: start; min-width: 0; }
.prog { display: grid; grid-template-columns: 4.5em minmax(0, 1fr) 4em; gap: 10px; align-items: center; font-weight: 700; }
.track { height: 9px; border-radius: 999px; background: #ece3d3; overflow: hidden; }
.track i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--cta); transition: width 1.2s ease; }
.prog .num { text-align: right; font-size: 0.75rem; color: var(--muted); }
@media (max-width: 700px) { .mini-dash { grid-template-columns: 1fr; } }

/* Bien-être : la scène prend la place des captures */
.shot.scene { padding: 8px; }
.shot .mini { font-size: 0.82rem; }

.pop { transition: opacity .45s, transform .45s; }

/* États « avant », appliqués seulement quand la scène joue (sans JavaScript, tout reste affiché) */
.scene.playing .lu:not(.on),
.scene.playing .pop:not(.on),
.scene.playing .tag[data-at]:not(.on),
.scene.playing .treat:not(.on),
.scene.playing .treat-l:not(.on),
.scene.playing .end[data-at]:not(.on) { opacity: 0; }
.scene.playing .pop:not(.on) { transform: translateY(10px); }
.scene.playing .task:not(.on) { background: var(--surface); }
.scene.playing .task:not(.on) .fait span:first-child { opacity: 1; }
.scene.playing .task:not(.on) .fait span:last-child { opacity: 0; }
.scene.playing .bar4 i:not(.on) { background: #ece3d3; }
.scene.playing .draw:not(.on) { stroke-dashoffset: 1; }
.scene.playing .write i:not(.on), .scene.playing .track i:not(.on) { width: 0; }
.scene.playing .blk, .scene.playing .day-steps li { opacity: .65; }
/* Ouverture : intitulés sur deux lignes si besoin, et la valeur relevée de la clôture avec sa plage */
.row-t.multi { white-space: normal; text-overflow: clip; }
.row-main { flex: 1; min-width: 0; display: grid; gap: 4px; }
.val { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 0.7rem; }
.plage { color: var(--muted); font-weight: 700; }
.champ {
  display: inline-grid; min-width: 52px; padding: 2px 8px; border-radius: 6px;
  background: var(--panel); box-shadow: inset 0 0 0 1px #9a8470;
  font-weight: 800; font-variant-numeric: tabular-nums; text-align: right;
}
.champ span { grid-area: 1 / 1; transition: opacity .3s; }
.unit { font-weight: 700; color: var(--ink-strong); }
.scene.playing .champ:not(.on) span:last-child { opacity: 0; }
.pas-j { background: #c85228; }

/* La tablette posée de trois quarts, pas à plat : moins rigide, et on comprend que c'est une tablette */
.showcase { perspective: 1800px; }
.tablet {
  transform: rotateY(-14deg) rotateX(5deg) rotateZ(1deg);
  transform-origin: 60% 50%;
  border: 2px solid #4a4b45;
  box-shadow: 30px 40px 70px rgb(49 45 34 / 26%), 0 4px 12px rgb(49 45 34 / 12%), inset 0 0 0 2px rgb(255 255 255 / 6%);
}
.float { z-index: 1; }
@media (max-width: 640px) { .tablet { transform: none; } }

/* 25/10 : tablette plus basse, textes plus petits (la lecture fine n'est pas le but) */
.tablet .mini { font-size: 0.66rem; gap: 6px; padding: 8px; }
.tablet .mini-top { padding: 5px 10px; font-size: 0.72rem; }
.tablet .mini-dots i { width: 14px; height: 6px; }
.tablet .mp { padding: 6px 9px; gap: 4px; border-top-width: 2px; }
.tablet .mp-h b { font-size: 0.64rem; }
.tablet .row { padding: 3px 6px; gap: 6px; }
.tablet .row-main { gap: 2px; }
.tablet .pas { width: 20px; height: 20px; font-size: 0.52rem; }
.tablet .fait span { min-width: 46px; padding: 2px 7px; font-size: 0.6rem; }
.tablet .val { font-size: 0.58rem; gap: 4px; }
.tablet .champ { min-width: 40px; padding: 0 6px; }
.tablet .bar4 i { height: 4px; }
.tablet .tag { min-height: 16px; font-size: 0.58rem; padding: 0 6px; }

/* Consigne critique, comme dans l'app */
.tag-crit { background: #cc3020; color: #fff; }

/* « À faire » en rouge comme dans l'app : rouge = une action attendue, vert = c'est fait */
.fait span:first-child { background: #cc3020; color: #fff; box-shadow: none; }

/* Axes et graduations de la mini courbe */
.curve .axis { stroke: #b9ae9c; stroke-width: 1.2; fill: none; }

/* Vignettes de l'ouverture : la courbe descend sous la tablette, l'observation dit qui et montre la photo */
.float-a { bottom: -44px; }
.showcase .shot-note { bottom: -78px; }
.hero .wrap { padding-bottom: 128px; }
.float-b { max-width: 70%; gap: 12px; }
.fl-body { display: grid; gap: 1px; min-width: 0; }
.fl-by { font-size: 0.74rem; color: var(--muted); }
.fl-photo { width: 58px; height: 58px; border-radius: 10px; flex: none; display: block; object-fit: cover; }
/* Observation centrée en hauteur sur la vignette de la courbe */
.float-b { bottom: -16px; }
@media (max-width: 640px) { .showcase .shot-note { bottom: auto; } .hero .wrap { padding-bottom: 72px; } }

/* Les deux vignettes sur une ligne, centrées l'une sur l'autre, sans se chevaucher */
.float-row {
  position: absolute; left: -12%; right: -4%; bottom: -44px; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.float-row .float { position: static; }
.float-row .float-a { width: 42%; flex: none; }
.float-row .float-b { width: auto; max-width: 56%; min-width: 0; }
@media (max-width: 1100px) and (min-width: 981px) { .float-row .fl-photo { display: none; } }
@media (max-width: 640px) {
  .float-row { position: static; flex-direction: column; align-items: stretch; gap: 12px; }
  .float-row .float-a, .float-row .float-b { width: 100%; max-width: none; }
}

/* Moins d'espace sous l'ouverture : les vignettes et la mention restent dans le cadre de l'illustration */
.showcase { padding-bottom: 144px; }
.float-row { bottom: 28px; }
.showcase .shot-note { bottom: 0; }
.hero .wrap { padding-bottom: 24px; }
@media (max-width: 640px) { .showcase { padding-bottom: 0; } .hero .wrap { padding-bottom: 40px; } }

/* En-têtes alignés à gauche : titre et texte sur toute la largeur du panneau */
.section-head:not(.center) { max-width: none; }

/* Cahier de suivi : fenêtre fixe qui défile pendant l'animation (sans JavaScript, tout est déplié) */
.scroll-in { display: grid; gap: 10px; transition: transform .9s cubic-bezier(.4, .1, .2, 1); }
.mini-page.scroller { display: block; position: relative; }
.scene.playing .mini-page.scroller { height: 430px; overflow: hidden; }
.scene.playing .mini-page.scroller::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 36px; pointer-events: none;
  background: linear-gradient(rgb(246 241 232 / 0%), var(--surface)); border-radius: 0 0 var(--r-card) var(--r-card);
}
.scroll-in .row-t { font-size: 0.78rem; }

/* Éclairage : un seul bloc à la fois, agrandi, sans cadre (la couleur d'en-tête suffit) */
.scene.playing .blk.actif, .scene.playing .day-steps li.actif { opacity: 1; }
.scene.playing .blk.actif {
  transform: scale(1.05); position: relative; z-index: 2;
  box-shadow: 0 16px 36px rgb(49 45 34 / 22%), 0 3px 8px rgb(49 45 34 / 10%);
}
.blk { transition: opacity .45s, box-shadow .45s, transform .55s cubic-bezier(.3, .1, .2, 1); }
.mini-page.scroller { padding-inline: 22px; }

/* Traitement : la dose du matin et celle du soir sur la même ligne */
.doses { display: flex; gap: 8px; padding: 0; background: none; }
.dose { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px; border-radius: 8px; font-weight: 600; }

/* Rapport du soir : le résumé de la journée, puis quelques mots du soigneur qui s'écrivent */
.rap-txt { display: grid; gap: 2px; padding: 6px 8px; border-radius: 8px; background: var(--surface); font-size: 0.78rem; font-weight: 600; }
.typed { white-space: nowrap; overflow: hidden; text-overflow: clip; clip-path: inset(0 0 0 0); transition: clip-path 1s linear; }
.typed-2 { transition-delay: .9s; }
.scene.playing .typed:not(.on) { clip-path: inset(0 100% 0 0); transition: none; }

/* Tableau de bord en miniature (avant le cahier de suivi) : trois colonnes, puis le bouton vers le cahier */
.mini-dash3 { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 16px; gap: 14px; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-soft); }
.jour { display: grid; grid-template-columns: 6.2em minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 5px 0; border-top: 1px solid var(--line); font-weight: 600; }
.jour:first-of-type { border-top: 0; }
.jour > span:first-child { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.jour .ok { color: #1d6b3a; grid-column: span 2; }
.jour > span:nth-child(2):last-child { grid-column: span 2; }
/* Bloc responsables : les exemples défilent dans une fenêtre fixe, les trois textes restent à droite, toujours lisibles. */
.resp-scroll .row-t { font-size: 0.78rem; }
.scene.playing.resp-day .day-steps li { opacity: 1; }
/* Mot mis en avant dans un texte de carte (l'archivage dans la carte « 2 ans »). */
/* Le texte de la réponse porte l'avantage : plus foncé que le gris des autres cartes. */
.sit-bottom p { color: var(--ink); }
.sit-bottom .accent { color: var(--cta-dark); font-weight: 800; }
/* Traitement : l'animal, puis la pathologie et le nombre de médicaments, filet vert comme dans l'application. */
.row-trait { border-left: 3px solid var(--positive); }
.row-trait small { font-size: 0.72rem; color: var(--muted); }
/* Fenêtre toujours à hauteur fixe : dépliée, elle était trop haute pour que l'animation démarre (35 % visibles). */
.resp-scroll.scroller { height: 430px; overflow: hidden; }
.mp-s { margin: 0; font-size: 0.72rem; font-weight: 700; color: var(--muted); }
.mp-s.ko { color: #a02a1c; }
.bsn { flex: none; min-width: 2.6em; padding: 2px 6px; border-radius: 999px; background: #1d6b3a; color: #fff; font-size: 0.72rem; font-weight: 800; text-align: center; }
.bsn-ko { background: #cc3020; }
.tag-warn { background: #fbe3d6; color: #8a3a12; }
.step-n .icon { width: 24px; height: 24px; }
/* Notification ou déclaration : titre, détail, puis les deux boutons, comme dans l'application. */
.notif { display: grid; gap: 3px; padding: 7px 9px; border-radius: 8px; background: #fbf0ea; border: 1px solid #f1d6c9; font-size: 0.74rem; }
.notif b { font-size: 0.78rem; color: var(--ink-strong); }
.notif > span { color: var(--ink); line-height: 1.35; }
.notif .rap-act { margin-top: 3px; }
.rap-act { gap: 6px; }
.jour .ko { color: #a02a1c; grid-column: span 2; }
.mini-btn { font-size: 0.66rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: rgb(81 97 87 / 12%); color: var(--kaki); white-space: nowrap; }
.rap-act { display: flex; }
.mini-ok { background: var(--positive, #22904a); color: #fff; }
@media (max-width: 860px) { .mini-dash3 { grid-template-columns: 1fr; } }

/* Bien-être : le titre remplit sa colonne (pas d'équilibrage des lignes), colonne de texte un peu plus large */
.split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
/* Titres de section : remplir la largeur avant de passer à la ligne (pas d'équilibrage des lignes) */
.section-head h2 { text-wrap: wrap; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; } }

/* Accès rapide dans l'en-tête (remis le 25/10 : la page est devenue longue). Quatre liens discrets,
   masqués sur les écrans étroits où il ne reste que le logo, la langue et la démo. */
.nav { display: flex; gap: 26px; margin-right: 8px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 0.95rem; white-space: nowrap; }
.nav a:hover { color: var(--cta-dark); }
@media (max-width: 1080px) { .nav { display: none; } }
/* Sous 1080 px, les quatre liens passent dans un bouton Menu */
.nav-menu { display: none; position: relative; }
@media (max-width: 1080px) { .nav-menu { display: block; } }
.nav-menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line);
  font-weight: 700; font-size: 0.92rem; color: var(--ink);
}
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.nav-menu[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.nav-menu-liens {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px;
  display: grid; padding: 8px; border-radius: 14px; background: var(--panel);
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.nav-menu-liens a { padding: 10px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 700; }
.nav-menu-liens a:hover { background: var(--cta-soft); color: var(--cta-dark); }
/* Les ancres s'arrêtent sous l'en-tête collant, pas dessous */
main section[id] { scroll-margin-top: 90px; }

/* Retour au début de la boucle : sans transition, pour ne pas voir la scène se « défaire » */
.scene.reset, .scene.reset * { transition: none !important; }

/* Bloc animaux : une vraie photo, carrée, à côté du texte. */
.photo-animal { position: relative; margin: 0; justify-self: center; width: min(100%, 460px); }
/* Notes flottantes autour de la photo : tout en vert, rien qui fasse penser à un problème. */
.note-fl { position: absolute; display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px 7px 8px; border-radius: 999px; background: #fff; box-shadow: 0 8px 22px rgb(49 45 34 / 16%); font-size: 0.82rem; font-weight: 700; color: var(--ink-strong); white-space: nowrap; }
.note-i { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--cta); box-shadow: inset 0 0 0 6px #fbe3d6; }
.note-i.ok { display: grid; place-items: center; background: var(--positive); box-shadow: none; color: #fff; font-size: 0.72rem; }
/* Body score : la note dans une bulle verte, comme dans l'application. */
.note-i.bs { display: grid; place-items: center; width: auto; min-width: 22px; padding: 0 6px; border-radius: 999px; background: #1d6b3a; box-shadow: none; color: #fff; font-size: 0.74rem; font-weight: 800; }
/* Nom de l'animal centré sur le haut de la photo ; tâches à gauche ; pesée et body score groupés à droite ;
   préférences de prise sur le bas, pour ne pas masquer les pattes. */
.note-nom { top: -17px; left: 0; right: 0; width: max-content; margin-inline: auto; }
.note-nom b { font-weight: 800; }
.note-1 { top: 24%; left: -34px; }
.note-2 { top: 38%; left: -52px; }
.note-3 { top: 13%; right: -30px; }
.note-4 { top: 25%; right: -40px; }
.note-5 { bottom: -17px; left: -22px; padding-left: 13px; gap: 6px; }
.note-5 .tag { font-size: 0.74rem; }
.note-i.male { display: grid; place-items: center; background: var(--male, #3a6090); box-shadow: none; color: #fff; font-size: 0.78rem; }
/* Écran étroit : les notes passent sous la photo, en ligne. */
@media (max-width: 980px) {
  .photo-animal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .photo-animal img { margin-bottom: 6px; }
  .note-fl { position: static; }
}
.photo-animal img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r-card); box-shadow: var(--shadow-soft); }

/* Bloc « Vos données » : pastilles pleines or, terracotta, kaki, comme le reste de la page. */
.trust .card .badge { width: 48px; height: 48px; border-radius: 50%; }
.trust .card:nth-child(3n+1) .badge { background: var(--gold); color: var(--ink-strong); }
.trust .card:nth-child(3n+2) .badge { background: var(--cta); color: #fff; }
.trust .card:nth-child(3n) .badge { background: var(--kaki); color: #fff; }

/* Bloc Formules : pastilles plus grandes, chacune avec son signe dans une bulle (1 forfait, ∞ utilisateurs, + formule précédente). */
.chips-plus .chip { min-height: 48px; padding: 0 20px 0 7px; gap: 10px; font-size: 1.02rem; }
.chip-i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font: 800 1.05rem/1 var(--display); color: #fff; }
.chip-i.c1 { background: var(--gold); color: var(--ink-strong); }
.chip-i.c2 { background: var(--cta); font-size: 1.35rem; }
.chip-i.c3 { background: var(--kaki); font-size: 1.3rem; }

/* Tableau des formules : trois colonnes de même largeur, et « Contenu » centré dans sa case,
   à la taille des noms de formule. */
.plans { table-layout: fixed; }
.plans thead th:first-child { width: 37%; vertical-align: middle; }
.plans thead th:first-child .eyebrow { font: 700 1.25rem/1.2 var(--display); letter-spacing: 0; text-transform: none; color: var(--ink-strong); }

/* Offre de lancement : visible d'un coup d'œil (bandeau terracotta, chiffre en grand). */
.plans-note:has(.offre) { background: rgb(200 82 40 / 9%); border: 2px solid var(--cta); }
.offre { display: grid; gap: 6px; justify-items: start; max-width: 40rem; }
.offre-badge { padding: 5px 12px; border-radius: 999px; background: var(--cta); color: #fff; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.plans-note .offre-big { font: 800 clamp(1.6rem, 3vw, 2.2rem)/1.1 var(--display); color: var(--cta-dark); max-width: none; }
.plans-note .offre-txt { font-size: 1rem; color: var(--ink); }
/* Rassurance au moment de cliquer : pas d'engagement de durée (le préavis sera expliqué dans la FAQ). */
.plans-note .offre-plus { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 0.95rem; font-weight: 700; color: var(--ink-strong); }
.offre-ok { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--positive); color: #fff; font-size: 0.75rem; }

/* FAQ repliée, rangée sous les trois étapes : une seule barre visible ; ouverte, elle déroule les questions, chacune dépliable avec son + doré. */
.faq-box { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.faq-box[open] { background: rgb(255 255 255 / 60%); }
.faq-box > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 18px; align-items: center; padding: 20px 28px; }
.faq-box > summary::-webkit-details-marker { display: none; }
.faq-box > summary .eyebrow { grid-column: 1; }
.faq-accroche { grid-column: 1; font: 800 1.3rem/1.25 var(--display); color: var(--ink-strong); }
.faq-box > summary::after { content: ""; grid-column: 2; grid-row: 1 / span 2; width: 12px; height: 12px; margin: 0 6px 6px; border-right: 3px solid var(--cta); border-bottom: 3px solid var(--cta); transform: rotate(45deg); transition: transform .2s; }
.faq-box[open] > summary::after { transform: rotate(-135deg); margin-bottom: 0; margin-top: 6px; }
.faq-list { display: grid; gap: 10px; padding: 0 28px 26px; }
.faq-list details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.faq-list details[open] { box-shadow: var(--shadow-soft); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 18px; font: 700 1.02rem/1.3 var(--display); color: var(--ink-strong); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); font: 800 1.1rem/1 var(--display); color: var(--ink-strong); }
.faq-list details[open] summary::after { content: "−"; background: var(--cta); color: #fff; }
.faq-a { padding: 0 18px 16px; color: var(--ink); font-size: 1rem; }
.faq-a p { margin: 0 0 10px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a ul { margin: 0 0 10px; padding-left: 1.2em; display: grid; gap: 6px; }
@media (max-width: 760px) { .faq-box > summary { padding: 18px 20px; } .faq-list { padding: 0 16px 20px; } }

/* Ce que le parc y gagne : la conséquence possible, entre la situation et la réponse (retour d'Anthony, 02/11) */
.sit-top .risk { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; padding: 9px 11px; border-radius: 10px;
  background: rgb(255 255 255 / 72%); color: #8f2216; font-size: 0.95rem; font-weight: 700; line-height: 1.35; }
.sit-top .risk .icon { flex: none; width: 20px; height: 20px; margin-top: 1px; stroke: #cc3020; stroke-width: 2.2; }
.sit-top .risk b { font-weight: 800; }
/* Les encadrés « Le risque » alignés en bas du bandeau, à la même hauteur sur toute la rangée */
.situations .sit-top { display: flex; flex-direction: column; }
.situations .sit-top .risk { margin-top: auto; }
.situations .sit-top .sit { margin-bottom: 12px; }

/* Cartes situation → risque → solution (02/11, demande de l'user) : plus compactes, lues comme un schéma */
.situations .sit-top { padding: 18px 20px 14px; }
.situations .sit-top .sit { margin-bottom: 10px; font-size: 0.95rem; }
.situations .sit-top .risk { font-size: 0.9rem; padding: 8px 10px; }
.situations .sit-bottom { padding: 6px 20px 20px; gap: 6px; justify-items: start; }
.sit-arrow { justify-self: center; display: grid; place-items: center; width: 30px; height: 30px; margin-top: -21px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 8px rgb(49 45 34 / 16%); position: relative; z-index: 1; }
.sit-arrow svg { width: 18px; height: 18px; fill: none; stroke: var(--positive); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sol { display: flex; gap: 8px; align-items: flex-start; width: 100%; padding: 9px 11px; border-radius: 10px;
  background: rgb(34 144 74 / 11%); border: 1px solid rgb(34 144 74 / 35%); color: #1d6b3a; font-size: 0.95rem; font-weight: 700; line-height: 1.3; }
.sol b { font-weight: 800; }
.sol-ok { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--positive); color: #fff; font-size: 0.72rem; font-weight: 800; margin-top: 1px; }
.sit-bottom .sol-txt { color: var(--ink); font-size: 0.95rem; line-height: 1.45; }
