/* Site vitrine Zookeeper Management.
   Reprend le visuel de l'application (global.css de la PWA) : fond clair, panneaux
   arrondis à ombre douce, en-têtes terre, accent terracotta, police Nunito arrondie.
   Le vert kaki reste une touche (titres, petits détails), jamais un aplat. */
:root {
  --screen: #efe7d8;
  --panel: #fffaf1;
  --white: #ffffff;
  --surface: #f4efe4;
  --ink: #263028;
  --ink-strong: #34463b;
  --muted: #6c715f;
  --line: #e2d7c2;
  --cta: #c85228;
  --cta-dark: #873514;
  --cta-soft: rgb(200 82 40 / 10%);
  --panel-border: #7a4a28;
  --head-1: #d4a080;
  --head-2: #c49070;
  --head-3: #c09870;
  --head-4: #f1b297;
  --table-head: #ead7ad;
  --positive: #2f7f4f;

  --font: "Nunito", "Nunito Sans", "Aptos Rounded", "Segoe UI", system-ui, sans-serif;
  --step-0: 1.0625rem;
  --step-1: 1.2rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.9rem, 1.3rem + 2.2vw, 2.75rem);
  --step-4: clamp(2.5rem, 1.4rem + 4.4vw, 4.4rem);
  --wrap: 1140px;
  --r-card: 22px;
  --r-panel: 12px;
  --shadow: 0 24px 60px rgb(49 45 34 / 13%), 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.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.1; text-wrap: balance; margin: 0; color: var(--ink-strong); }
p { margin: 0; }
a { color: var(--cta-dark); }
a:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cta);
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  font-size: 1rem;
  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 clair, translucide */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: rgb(255 250 241 / 82%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand {
  display: flex; align-items: center; gap: 11px;
  color: var(--ink-strong); text-decoration: none;
  font-weight: 900; font-size: 1.05rem;
  margin-right: auto;
}
.brand img { width: 38px; height: 38px; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 0.95rem; }
.nav a:hover { color: var(--ink); }
.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: 40px; padding: 0 18px; font-size: 0.92rem; box-shadow: none; }
@media (max-width: 900px) { .nav { display: none; } }
@media (max-width: 520px) { .header-cta { display: none; } }

/* Ouverture : comme le panneau de connexion de l'application */
.hero {
  background:
    linear-gradient(rgb(239 231 216 / 22%), rgb(239 231 216 / 22%)),
    linear-gradient(90deg, rgb(239 231 216 / 85%) 0%, rgb(239 231 216 / 55%) 50%, rgb(239 231 216 / 0%) 80%),
    linear-gradient(180deg, var(--screen) 0%, rgb(239 231 216 / 70%) 45%, rgb(239 231 216 / 20%) 100%),
    url("savane.webp") center bottom / cover no-repeat,
    var(--screen);
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding-block: 96px 120px;
}
.hero-text { display: grid; gap: 24px; }
.hero h1 { font-size: var(--step-4); font-weight: 900; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--cta); }
.hero .lead { font-size: var(--step-1); color: var(--muted); max-width: 30em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 56px 72px; gap: 40px; }
}

/* Panneau d'illustration, au style des panneaux métier de l'application */
.app-panel {
  border-radius: var(--r-panel);
  background: var(--panel);
  border-top: 4px solid var(--panel-border);
  box-shadow: var(--shadow);
  overflow: hidden;
  font-size: 0.92rem;
}
.app-panel h2, .app-panel .ph {
  margin: 0;
  padding: 12px 20px;
  background: var(--head-1);
  color: #3a1a08;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.app-panel .ph small { font-weight: 700; text-transform: none; letter-spacing: 0; opacity: .8; }
.task {
  display: grid;
  grid-template-columns: 3.4em minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.task:last-child { border-bottom: 0; }
.task .h { color: var(--muted); font-weight: 800; }
.task .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.pill {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px;
  border-radius: 999px; font-size: 0.8rem; font-weight: 800; white-space: nowrap;
}
.pill-ok { color: #195f38; background: rgb(47 127 79 / 14%); }
.pill-todo { color: #fff; background: var(--cta); }
.illus-note { margin-top: 14px; font-size: 0.85rem; color: var(--muted); text-align: center; }

/* Sections */
.section { padding-block: 112px; }
.section-head { display: grid; gap: 14px; max-width: 42rem; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head h2 { font-size: var(--step-3); font-weight: 900; letter-spacing: -0.015em; }
.section-head p { color: var(--muted); font-size: var(--step-1); }
.section-head p.eyebrow, .contact-card p.eyebrow { color: var(--cta); font-size: 0.8rem; }
.band { background: var(--panel); border-block: 1px solid var(--line); }

/* Principe */
.principle {
  font-size: var(--step-3);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--ink-strong);
  max-width: 22em;
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
}
.principle em { font-style: normal; color: var(--cta); }

/* Du papier à l'écran */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@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(--white);
  border-radius: var(--r-card);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 12px;
  align-content: start;
}
.card h3 { font-size: 1.15rem; font-weight: 900; }
.card p { color: var(--muted); font-size: 1rem; }
.before {
  font-size: 0.84rem; font-weight: 800; color: var(--muted);
  text-decoration: line-through; text-decoration-color: rgb(200 82 40 / 60%); text-decoration-thickness: 2px;
}

/* Fonctionnalités : liste sobre en colonnes */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.feature { display: grid; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.feature h3 { font-size: 1.1rem; font-weight: 900; }
.feature p { color: var(--muted); font-size: 1rem; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; gap: 28px; } }

/* Profils */
.profile { padding: 0; overflow: hidden; gap: 0; }
.profile-head { padding: 22px 26px 18px; display: grid; gap: 10px; }
.profile-head .dot { width: 34px; height: 6px; border-radius: 999px; background: var(--head-1); }
.profile:nth-child(1) .dot { background: var(--head-4); }
.profile:nth-child(2) .dot { background: var(--head-1); }
.profile:nth-child(3) .dot { background: var(--head-3); }
.profile:nth-child(4) .dot { background: var(--head-2); }
.profile p { padding: 0 26px 26px; }
.footnote { margin-top: 24px; color: var(--muted); font-size: 0.92rem; text-align: center; }

/* Données */
.trust .card { background: var(--panel); box-shadow: none; border: 1px solid var(--line); }
.todo {
  margin-top: 28px; border: 2px dashed var(--cta); border-radius: 16px;
  padding: 16px 20px; color: var(--cta-dark); font-weight: 700; background: var(--cta-soft);
}

/* Formules : tableau blanc à en-têtes dorés, comme dans l'application */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 4px; }
.chip {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 16px;
  border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  font-weight: 800; font-size: 0.9rem; color: var(--ink);
}
.table-box { overflow-x: auto; background: var(--white); border-radius: var(--r-card); box-shadow: var(--shadow-soft); }
.plans { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.98rem; }
.plans th, .plans td { padding: 13px 22px; text-align: center; border-bottom: 1px solid var(--line); }
.plans th:first-child, .plans td:first-child { text-align: left; }
.plans thead th { background: var(--table-head); vertical-align: bottom; padding-block: 22px 18px; border-bottom: 0; }
.plans thead th b { display: block; font-size: 1.3rem; font-weight: 900; color: var(--ink-strong); }
.plans thead th small { display: block; font-weight: 700; color: var(--muted); font-size: 0.84rem; }
.plans .group th {
  text-align: left; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cta); padding-block: 22px 8px; border-bottom: 0;
}
.plans tbody td:first-child { font-weight: 700; }
.plans td.y::before {
  content: ""; display: inline-block; width: 22px; height: 22px; border-radius: 50%;
  background: var(--cta-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23c85228' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  vertical-align: middle;
}
.plans tr:last-child td { border-bottom: 0; }
.plans .soon td:first-child { font-style: italic; color: var(--muted); font-weight: 600; }
.plans-note {
  margin-top: 32px; display: flex; flex-wrap: wrap; gap: 18px 32px;
  align-items: center; justify-content: space-between;
  background: var(--white); border-radius: var(--r-card); padding: 26px 30px; box-shadow: var(--shadow-soft);
}
.plans-note p { font-size: var(--step-1); font-weight: 800; color: var(--ink-strong); max-width: 36rem; }

/* Fin de page */
.closing {
  background:
    linear-gradient(rgb(239 231 216 / 22%), rgb(239 231 216 / 22%)),
    linear-gradient(180deg, var(--screen) 0%, rgb(239 231 216 / 55%) 55%, rgb(239 231 216 / 10%) 100%),
    url("savane-bas.webp") center bottom / cover no-repeat,
    var(--screen);
  padding-block: 112px 220px;
}
.closing .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.origin { display: grid; gap: 18px; }
.origin img { width: 88px; height: 88px; }
.origin h2 { font-size: var(--step-3); font-weight: 900; letter-spacing: -0.015em; }
.origin p { color: var(--muted); font-size: var(--step-1); }
.contact-card {
  background: var(--panel);
  border-radius: var(--r-card);
  border: 1px solid rgb(200 82 40 / 20%);
  padding: 36px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}
.contact-card h2 { font-size: var(--step-2); font-weight: 900; }
.contact-card p { color: var(--muted); }
.mail {
  font-size: 1.25rem; font-weight: 900; color: var(--cta-dark);
  overflow-wrap: anywhere; text-decoration-thickness: 2px; text-underline-offset: 5px;
}
@media (max-width: 860px) { .closing .wrap { grid-template-columns: 1fr; gap: 40px; } .closing { padding-block: 72px 160px; } }

/* Pied de page */
.site-footer { background: var(--panel); 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; }

/* Comment on démarre : une vraie suite d'étapes, d'où la numérotation */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step-n {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--cta-soft); color: var(--cta); font-weight: 900; font-size: 1.2rem;
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.contact-card .btn { justify-self: start; }
.mail-line { font-size: 0.95rem; }
.mail-line .mail { font-size: 1rem; }

/* Formules : une couleur par colonne, de plus en plus soutenue (teintes terre de l'application) */
.plans thead th:first-child { background: var(--white); }
.plans thead th:nth-child(2) { background: #f6d9c4; }
.plans thead th:nth-child(3) { background: var(--head-1); }
.plans thead th:nth-child(4) { background: var(--head-2); }
.plans thead th:nth-child(4) small, .plans thead th:nth-child(3) small { color: #4a3424; }
.plans tbody tr:not(.group) td:nth-child(2) { background: rgb(246 217 196 / 22%); }
.plans tbody tr:not(.group) td:nth-child(3) { background: rgb(212 160 128 / 16%); }
.plans tbody tr:not(.group) td:nth-child(4) { background: rgb(196 144 112 / 16%); }
.plans .group th { background: var(--white); }

/* Ouverture sans illustration : texte seul, centré, sur toute la largeur utile */
.hero .wrap { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding-block: 120px 200px; }
.hero-text { max-width: 52rem; justify-items: center; }
.hero .lead { max-width: 40em; }
.actions { justify-content: center; }
.hero {
  background:
    linear-gradient(rgb(239 231 216 / 22%), rgb(239 231 216 / 22%)),
    linear-gradient(180deg, var(--screen) 0%, rgb(239 231 216 / 80%) 50%, rgb(239 231 216 / 25%) 100%),
    url("savane.webp") center bottom / cover no-repeat,
    var(--screen);
}
@media (max-width: 920px) { .hero .wrap { padding-block: 64px 140px; } }
.hero-text { max-width: 64rem; }
.hero h1 { font-size: clamp(2.3rem, 1.2rem + 4vw, 4.2rem); }
.hero .lead { text-wrap: balance; }

/* Logo horizontal V3 (fichier « Logo V3 Horizontal sans fond ») */
.brand img { width: auto; height: 50px; }
.site-header .wrap { min-height: 72px; }
.origin img.origin-logo { width: min(340px, 100%); height: auto; }
.brand img { height: 62px; }
.site-header .wrap { min-height: 82px; }
@media (max-width: 520px) { .brand img { height: 48px; } }

/* Bien-être animal */
ul.chips { list-style: none; margin: 0; padding: 0; }
.chips-left { justify-content: flex-start; }
.welfare .section-head { max-width: 50rem; margin-bottom: 32px; }
.welfare .chip { background: var(--white); min-height: 40px; font-size: 0.95rem; }
/* Les cartes posées sur une bande claire restent blanches, la bande des formules aussi */
.trust .card { background: var(--white); }

/* Essai typographique : Montserrat (famille du logo) pour les titres, Nunito Sans (charte v6) pour le texte */
:root {
  --font: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --display: "Montserrat", "Segoe UI", system-ui, sans-serif;
}
h1, h2, h3, .principle, .plans thead th b, .mail { font-family: var(--display); }
.hero h1 { font-weight: 800; letter-spacing: -0.025em; }
.section-head h2, .origin h2, .principle, .contact-card h2 { font-weight: 800; letter-spacing: -0.02em; }
.card h3, .feature h3, .profile-head h3, .plans thead th b { font-weight: 700; letter-spacing: -0.01em; }
.btn, .chip, .nav a { font-weight: 700; }

/* Ce qu'on vend, lisible au premier coup d'œil au-dessus de la promesse */
.hero-kicker {
  font-family: var(--display);
  font-size: clamp(1.15rem, 0.9rem + 1.1vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cta);
}

/* La page secteur : une colonne de panneaux, lue de haut en bas comme dans l'application */
.day-page {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 14px;
  padding: 0 0 18px;
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.day-bar {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 22px; background: var(--white); border-bottom: 1px solid var(--line);
  font-family: var(--display); font-weight: 700; color: var(--ink-strong);
}
.day-page .app-panel { margin-inline: 18px; box-shadow: 0 4px 12px rgb(49 45 34 / 10%); }
.day-page .app-panel:nth-of-type(2) .ph { background: var(--head-4); }
.day-page .app-panel:nth-of-type(3) .ph { background: var(--head-1); }
.day-page .app-panel:nth-of-type(4) .ph { background: var(--head-3); }
.day-page .app-panel:nth-of-type(5) .ph { background: var(--head-2); }
.day-page .app-panel:nth-of-type(6) .ph { background: var(--head-1); }
.day-page .app-panel:nth-of-type(7) .ph { background: var(--head-4); }
.day-page .task { grid-template-columns: auto minmax(0, 1fr) auto; }
.pill-critical { color: #fff; background: #b0291f; }
.pill-line { color: var(--ink-strong); background: var(--white); box-shadow: inset 0 0 0 1px var(--field-border); }
.weight { font-weight: 800; font-variant-numeric: tabular-nums; }
.task-note { grid-template-columns: 1fr; }
.task-note .t { color: var(--muted); font-style: italic; font-weight: 600; white-space: normal; }
@media (max-width: 560px) {
  .day-page .app-panel { margin-inline: 10px; }
  .day-page .app-panel .ph small { display: none; }
  .day-page .task .t { white-space: normal; }
}
@media (max-width: 1120px) { .nav { display: none; } }

/* Ordre de lecture de la page secteur, de haut en bas */
ol.reading-order { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; justify-content: center; counter-reset: lecture; }
.reading-order .chip { counter-increment: lecture; min-height: 42px; font-size: 0.95rem; gap: 8px; }
.reading-order .chip::before { content: counter(lecture); color: var(--cta); font-weight: 800; }
#page-secteur .section-head { margin-bottom: 0; }

/* Formules, version alignée sur le tableau « Ce que comprend chaque formule » de l'application :
   coches vertes simples, groupes sur fond clair, et une couleur de l'app par formule
   (beige pour la Fondamentale, terracotta pour l'Avancée, kaki pour l'Intégrale). */
.table-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--shadow-soft); }
.plans thead th:first-child { background: var(--table-head); }
.plans thead th:nth-child(2) { background: var(--table-head); }
.plans thead th:nth-child(3) { background: var(--cta); }
.plans thead th:nth-child(4) { background: var(--kaki, #516157); }
.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 / 82%); }
.plans thead th:nth-child(2) { box-shadow: inset 0 -4px 0 #c9a96a; }
.plans tbody tr:not(.group) td:nth-child(2) { background: transparent; }
.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 .group th {
  background: var(--surface); color: var(--ink-strong); font-size: 0.82rem;
  letter-spacing: 0.06em; padding-block: 12px; border-bottom: 1px solid var(--line);
}
.plans td.y::before {
  content: "✓"; width: auto; height: auto; border-radius: 0; background: none;
  color: var(--positive); font-size: 1.15rem; font-weight: 700; line-height: 1;
}
.plans thead th:first-child { background: var(--panel); }
.plans thead th:first-child .eyebrow { color: var(--ink-strong); }
.plans thead th:nth-child(2) { box-shadow: none; }

/* En-tête réduit au logo, à la langue et au bouton de démo (menu retiré à la demande de l'user) */
.btn { white-space: nowrap; }
.site-header .wrap { gap: 16px; }

/* Paysage du bas plus discret : voile clair porté de 22 % à 45 % */
.closing {
  background:
    linear-gradient(rgb(239 231 216 / 45%), rgb(239 231 216 / 45%)),
    linear-gradient(180deg, var(--screen) 0%, rgb(239 231 216 / 55%) 55%, rgb(239 231 216 / 10%) 100%),
    url("savane-bas.webp") center bottom / cover no-repeat,
    var(--screen);
}
/* Voile porté à 65 % */
.closing {
  background:
    linear-gradient(rgb(239 231 216 / 65%), rgb(239 231 216 / 65%)),
    linear-gradient(180deg, var(--screen) 0%, rgb(239 231 216 / 55%) 55%, rgb(239 231 216 / 10%) 100%),
    url("savane-bas.webp") center bottom / cover no-repeat,
    var(--screen);
}
/* Voile porté à 80 % */
.closing {
  background:
    linear-gradient(rgb(239 231 216 / 80%), rgb(239 231 216 / 80%)),
    linear-gradient(180deg, var(--screen) 0%, rgb(239 231 216 / 55%) 55%, rgb(239 231 216 / 10%) 100%),
    url("savane-bas.webp") center bottom / cover no-repeat,
    var(--screen);
}

/* Origine : texte plus contrasté sur le paysage, et la preuve mise en exergue */
.origin h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.3rem); }
.origin p { color: var(--ink); font-weight: 600; font-size: 1.22rem; line-height: 1.6; }
.origin p.origin-proof {
  color: var(--ink-strong);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  padding: 14px 18px;
  border-left: 4px solid var(--cta);
  background: rgb(255 250 241 / 75%);
  border-radius: 0 12px 12px 0;
}

/* Pages légales (mentions légales, confidentialité) : un seul panneau de lecture. */
.legal { padding-block: 64px 96px; }
.legal-panel {
  max-width: 46rem; margin-inline: auto; background: var(--panel);
  border-radius: var(--r-card); box-shadow: var(--shadow-soft);
  padding: clamp(24px, 5vw, 56px); display: grid; gap: 14px;
}
.legal-panel h1 { font-family: var(--display); font-size: var(--step-3); font-weight: 800; letter-spacing: -0.02em; }
.legal-panel h2 { font-family: var(--display); font-size: 1.15rem; font-weight: 700; margin-top: 22px; }
.legal-panel p, .legal-panel li, .legal-panel dd { color: var(--ink); font-size: 1rem; overflow-wrap: anywhere; }
.legal-panel { min-width: 0; }
/* Bouton retour en bas des pages légales, visible aussi sur téléphone (celui de l'en-tête y est masqué) */
.legal-back { margin-top: 36px; }
.legal-panel ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 6px; }
.legal-panel .legal-date { color: var(--muted); font-size: 0.9rem; }
.legal-panel dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; }
.legal-panel dt { color: var(--muted); font-size: 0.95rem; }
.legal-panel dd { margin: 0; }
.legal-panel .todo { background: #fff0c2; border-radius: 4px; padding: 0 4px; }
@media (max-width: 560px) { .legal-panel dl { grid-template-columns: 1fr; } .legal-panel dd { margin-bottom: 8px; } }

/* Formulaire de demande de démo : trois champs, rien d'autre. */
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.contact-form input, .contact-form textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--white);
  border: 1px solid #9a8470; border-radius: var(--r-panel); padding: 12px 14px; min-width: 0; width: 100%;
}
.contact-form textarea { resize: vertical; min-height: 7.5rem; line-height: 1.5; }
.contact-form .facultatif { font-weight: 400; color: var(--muted); }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--cta); outline-offset: 1px; border-color: var(--cta); }
.contact-form .btn { justify-self: start; margin-top: 4px; }
.contact-form .form-note { font-size: 0.88rem; }
.contact-form .form-note a { color: var(--muted); }
.contact-form .piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Messages après envoi : cachés, sauf celui que l'adresse vise (#merci ou #erreur). */
.form-msg { display: none; margin: 0; padding: 14px 18px; border-radius: var(--r-panel); font-weight: 700; }
.form-msg:target { display: block; }
.contact-card .form-ok { background: rgb(47 127 79 / 12%); color: #1f5a37; }
.contact-card .form-ko { background: rgb(204 48 32 / 10%); color: #8f2216; }
.contact-card:has(.form-ok:target) .contact-form { display: none; }
@media (max-width: 560px) { .contact-card { padding: 24px 18px; } .contact-form .btn { justify-self: stretch; } }

/* Un seul paysage fixe derrière toute la page, comme le tableau de bord de l'application.
   Calque fixé en position: fixed (et non background-attachment: fixed, que Safari iPad/iPhone ignore).
   Voile plus léger en haut de l'écran (ciel) que dans le bas (végétation, plus sombre). */
body { background: var(--screen); }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgb(239 231 216 / 25%) 0%, rgb(239 231 216 / 50%) 100%),
    url("savane-app.webp") center bottom / cover no-repeat,
    var(--screen);
}
@media (max-width: 900px) {
  body::before {
    background:
      linear-gradient(180deg, rgb(239 231 216 / 25%) 0%, rgb(239 231 216 / 50%) 100%),
      url("savane-app-1200.webp") center bottom / cover no-repeat,
      var(--screen);
  }
}

/* Ouverture : le paysage bien visible, puis le voile du milieu arrive en douceur */
.hero {
  background: linear-gradient(180deg, rgb(239 231 216 / 30%) 0%, rgb(239 231 216 / 0%) 35%, rgb(239 231 216 / 0%) 60%, rgb(239 231 216 / 55%) 100%);
}

/* Milieu de page : voile continu, le paysage reste en arrière-plan pendant la lecture */
main > .section { background: rgb(239 231 216 / 55%); }

/* Les anciennes bandes blanches deviennent des panneaux posés sur le paysage */
main > .section.band { border: 0; padding-block: 40px; }
.band > .wrap {
  max-width: none;
  width: min(var(--wrap), 100% - 32px);
  margin-inline: auto;
  padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 56px);
  background: rgb(255 250 241 / 88%);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-soft);
}

/* Fin de page : le voile se retire et la savane remonte sous le contact */
.closing {
  background: linear-gradient(180deg, rgb(239 231 216 / 55%) 0%, rgb(239 231 216 / 55%) 45%, rgb(239 231 216 / 5%) 100%);
}

/* Pied de page translucide, pour finir sur le paysage */
.site-footer { background: rgb(255 250 241 / 88%); }

/* Texte d'accroche plus contrasté sur le paysage : encre foncée au lieu du gris, un peu plus gras */
.hero .lead { color: var(--ink); font-weight: 600; text-shadow: 0 0 18px rgb(239 231 216 / 90%); }

/* Ouverture remontée : moins d'espace au-dessus, le texte passe sur le ciel, plus clair */
.hero .wrap { padding-top: 56px; }
@media (max-width: 920px) { .hero .wrap { padding-top: 32px; } }
