/* =========================================================================
   Jean Lambert — site de vente
   Tout est ecrit a la main : aucune dependance, aucun framework.
   Palette sobre et chaude : un cabinet comptable n'achete pas a un site
   qui clignote. L'elegance vient de la typographie et du blanc, pas des effets.
   ========================================================================= */

:root {
  --ink:        #12110F;   /* noir chaud, jamais #000 */
  --ink-soft:   #3A372F;
  --ink-mute:   #6B675C;
  --paper:      #FAF7F1;   /* creme */
  --paper-2:    #F2EDE3;   /* creme plus dense pour alterner */
  --line:       #DCD5C7;
  --accent:     #16453C;   /* vert sapin — serieux, peu utilise, memorisable */
  --accent-lt:  #2C6D5F;
  --warm:       #C4622D;   /* terracotta — reserve aux chiffres et accents */
  --white:      #FFFFFF;

  --serif: "Newsreader", ui-serif, Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --r: 14px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper); padding: 12px 18px; z-index: 200;
}
.skip:focus { left: 12px; top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 780px; }

/* ---------------------------------------------------------------- Type -- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.35rem);
  line-height: 1.03;
  letter-spacing: -0.025em;
}
h1 em {
  font-style: italic;
  color: var(--accent);
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.08;
}
h2 em { font-style: italic; color: var(--accent); }

h3 { font-size: 1.35rem; line-height: 1.2; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; color: var(--ink); }

.eyebrow, .kicker {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 22px;
}
.kicker { color: var(--accent); }

.lede, .sec-lede, .who-lede {
  font-size: 1.16rem;
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 60ch;
}
.who-lede { font-size: 1.24rem; }

/* --------------------------------------------------------------- Boutons */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: var(--paper);
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .01em;
  text-decoration: none;
  padding: 15px 28px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  transition: background .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -14px rgba(18,17,15,.55);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-sm { padding: 10px 20px; font-size: .875rem; }
.btn-lg { padding: 17px 34px; font-size: 1rem; }
.btn-full { width: 100%; margin-top: 24px; }

/* ------------------------------------------------------------------- Nav */

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,241,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 74px; }

.nav-mark {
  font-family: var(--serif);
  font-size: 1.18rem;
  text-decoration: none;
  display: flex; align-items: center; gap: 11px;
  white-space: nowrap;
}
.nav-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--warm);
  flex: none;
}
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a {
  text-decoration: none;
  font-size: .93rem;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color .2s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { transform: scaleX(1); }

/* ------------------------------------------------------------------ Hero */

.hero { padding: 92px 0 104px; overflow: hidden; }
.hero-in {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 72px;
  align-items: center;
}
.hero-txt { max-width: 640px; }
.lede { margin-top: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero-guard {
  list-style: none;
  margin: 44px 0 0; padding: 22px 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 26px;
}
.hero-guard li {
  font-size: .875rem;
  color: var(--ink-mute);
  display: flex; align-items: center; gap: 9px;
}
.hero-guard li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--warm); flex: none;
}

/* L'antithese ne porte que si la seconde proposition tombe sur sa propre ligne :
   sinon « Ils » remonte a la fin de la ligne precedente et le contraste se perd.
   On force la coupure, et on neutralise `text-wrap: balance` qui redistribuerait
   les mots entre les deux blocs. */
.hero h1 { text-wrap: initial; }
.hero h1 em { display: block; }

/* Bandeau de compatibilite. Il occupe la place ou les concurrents alignent des
   logos clients — sauf qu'il enonce un fait verifiable (« a cote de, sans y
   toucher ») au lieu d'emprunter une caution. */
.hero-compat {
  margin: 20px 0 0;
  font-size: .84rem; line-height: 1.75;
  color: var(--ink-mute);
}
.hero-compat strong { color: var(--ink-soft); font-weight: 500; }

/* --- Le tableau de suivi : la demonstration du produit, pas une image --- */

.board {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 40px 80px -50px rgba(18,17,15,.4), 0 2px 6px -2px rgba(18,17,15,.06);
  overflow: hidden;
  font-size: .875rem;
}
.board-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: var(--ink);
  color: var(--paper);
}
.board-title { font-family: var(--serif); font-size: .98rem; }
.board-tag {
  font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(196,98,45,.18); color: #E8A175;
  padding: 5px 10px; border-radius: 999px; white-space: nowrap;
}
.board-head, .row {
  display: grid;
  grid-template-columns: 1.15fr 1.25fr .78fr;
  gap: 14px;
  align-items: center;
  padding: 13px 20px;
}
.board-head {
  font-size: .68rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase;
  color: var(--ink-mute);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.row { border-bottom: 1px solid #EFEAE0; }
.row:last-child { border-bottom: 0; }
.cell-n { font-weight: 500; letter-spacing: -.01em; }
.cell-m { color: var(--ink-mute); }

.pill {
  justify-self: start;
  font-size: .72rem; font-weight: 600;
  padding: 5px 11px; border-radius: 999px;
  white-space: nowrap;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.pill-late { background: #FBEAE0; color: #A34818; }
.pill-sent { background: #EAEDF6; color: #3B4E86; }
.pill-ok   { background: #E4EFE9; color: #1D5B45; }

.board-foot {
  padding: 16px 20px;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  font-size: .82rem; line-height: 1.5;
  color: var(--ink-mute);
  display: flex; gap: 11px; align-items: flex-start;
}
.board-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-lt); flex: none; margin-top: 6px;
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(44,109,95,.5); }
  50%      { opacity: .75; box-shadow: 0 0 0 7px rgba(44,109,95,0); }
}

/* -------------------------------------------------------------- Sections */

.sec { padding: 116px 0; scroll-margin-top: 74px; }
.sec-alt { background: var(--paper-2); }
.sec-head { margin-bottom: 64px; max-width: 780px; }
.sec-head h2 { margin-bottom: 24px; }

/* ---------------------------------------------------------- Calculatrice */

.calc {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 40px 80px -60px rgba(18,17,15,.45);
}
.calc-in { padding: 44px; display: flex; flex-direction: column; gap: 34px; }
.field label {
  display: block;
  font-size: .93rem; font-weight: 500;
  margin-bottom: 14px;
}
.range-row { display: flex; align-items: center; gap: 18px; }
.range-row output {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--accent);
  min-width: 68px; text-align: right;
  font-variant-numeric: tabular-nums;
}
.hint { font-size: .8rem; color: var(--ink-mute); margin: 11px 0 0; }

input[type=range] {
  -webkit-appearance: none; appearance: none;
  flex: 1; height: 3px; border-radius: 999px;
  background: linear-gradient(to right,
    var(--accent) 0 var(--fill, 0%), var(--line) var(--fill, 0%) 100%);
  outline: none; cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--white);
  box-shadow: 0 2px 10px -2px rgba(18,17,15,.4);
  transition: transform .2s var(--ease);
}
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.14); }
input[type=range]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--white);
  box-shadow: 0 2px 10px -2px rgba(18,17,15,.4);
  cursor: pointer;
}

.calc-out {
  background: var(--ink);
  color: var(--paper);
  padding: 44px;
  display: flex; flex-direction: column; gap: 26px;
}
.calc-res { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.calc-lab { font-size: .88rem; color: #A29C8E; margin: 0; }
.calc-val {
  font-family: var(--serif);
  font-size: 1.9rem; margin: 0;
  font-variant-numeric: tabular-nums;
}
.calc-val small { font-size: .95rem; color: #A29C8E; font-family: var(--sans); }
.calc-res-hero {
  flex-direction: column; align-items: flex-start; gap: 4px;
  border-top: 1px solid #2E2B25;
  padding-top: 26px;
}
.calc-big { font-size: clamp(2.6rem, 4.6vw, 3.5rem); color: var(--warm); line-height: 1; }
.calc-big small { color: #A29C8E; font-size: 1.05rem; }
.calc-sub { font-size: .9rem; color: #A29C8E; margin: 8px 0 0; }
.calc-note {
  font-size: .84rem; line-height: 1.62; color: #A29C8E;
  border-top: 1px solid #2E2B25; padding-top: 24px; margin: 4px 0 0;
}
.calc-note strong { color: var(--paper); }

.tagest {
  display: inline-block;
  font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid currentColor; border-radius: 4px;
  padding: 1px 7px; margin-right: 8px;
  opacity: .8;
  vertical-align: 1px;
}

/* ------------------------------------------------------------- 4 étapes */

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 34px;
  padding: 38px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-n {
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: var(--serif);
  font-size: 3rem;
  line-height: .85;
  color: var(--line);
  transition: color .4s var(--ease);
}
.step:hover .step-n { color: var(--warm); }
.step h3 { grid-column: 2; margin-bottom: 12px; }
.step p { grid-column: 2; color: var(--ink-soft); max-width: 62ch; margin: 0; }

.extras {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.extra {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 26px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.extra:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px -30px rgba(18,17,15,.42);
}
.extra h4 {
  font-family: var(--serif); font-size: 1.08rem;
  margin: 0 0 10px;
}
.extra p { font-size: .9rem; color: var(--ink-mute); margin: 0; line-height: 1.55; }

/* --------------------------------------------------------- Ce que ce n'est pas */

.sec-dark { background: var(--ink); color: var(--paper); }
.sec-dark .kicker { color: #E8A175; }
.sec-dark h2 em { color: #E8A175; }
.sec-dark .sec-lede { color: #A29C8E; }

.nots {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px;
}
.nots li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid #2E2B25;
  font-size: .97rem; line-height: 1.55;
  color: #C9C3B6;
}
.nots li span {
  color: var(--warm); font-size: .95rem; line-height: 1.6; flex: none;
}
.nots li strong { color: var(--paper); font-weight: 500; }
.nots-foot {
  margin-top: 44px; max-width: 66ch;
  font-size: .95rem; color: #A29C8E;
}

/* ---------------------------------------------------------------- Tarifs */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 36px 32px;
  display: flex; flex-direction: column; height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(18,17,15,.45); }
.plan-install { background: var(--paper-2); }
.plan-feat { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan-tag {
  font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute); margin: 0 0 14px;
}
.plan h3 { margin-bottom: 18px; }
.plan-price {
  font-family: var(--serif);
  font-size: 2.7rem; line-height: 1;
  color: var(--accent);
  margin: 0 0 26px;
  font-variant-numeric: tabular-nums;
}
.plan-price span { font-size: .92rem; font-family: var(--sans); color: var(--ink-mute); margin-left: 4px; }
.plan-list { list-style: none; margin: 0 0 auto; padding: 0; display: grid; gap: 13px; }
.plan-list li {
  font-size: .91rem; line-height: 1.5; color: var(--ink-soft);
  padding-left: 24px; position: relative;
}
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 11px; height: 6px;
  border-left: 1.5px solid var(--accent-lt);
  border-bottom: 1.5px solid var(--accent-lt);
  transform: rotate(-45deg);
}
.plan-foot { font-size: .85rem; color: var(--ink-mute); margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.plans-note {
  margin-top: 32px; font-size: .92rem; color: var(--ink-mute);
  max-width: 72ch;
}
/* La limite de capacite est une contrainte reelle, pas une fausse urgence.
   Elle est donc ecrite en gris, sans compte a rebours ni couleur d'alerte :
   un cabinet reconnait au premier coup d'oeil la rarete fabriquee. */
.plans-cap {
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: .92rem; color: var(--ink-mute); max-width: 72ch;
}

/* -------------------------------------------------------------- Le mail */

/* La section qui vend. Un expert-comptable n'achete pas une promesse de mail,
   il achete le mail — il veut lire ce qui partira sous sa signature. */

.mails {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  align-items: start;
}
.mail {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 26px 26px;
  box-shadow: 0 1px 2px rgba(18,17,15,.04), 0 12px 30px -22px rgba(18,17,15,.4);
}
.mail:first-child { grid-row: 1 / span 2; }
.mail-top {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 14px; margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.mail-when {
  font-family: var(--sans); font-size: .74rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase; color: var(--ink-mute);
}
.mail-tag {
  margin-left: auto;
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
}
.mail-tag-1 { background: #E4EFEA; color: var(--accent); }
.mail-tag-2 { background: var(--paper-2); color: var(--ink-soft); }
.mail-tag-3 { background: #FBEFE4; color: var(--warm); }
.mail-obj {
  font-family: var(--serif); font-size: 1.12rem; line-height: 1.35;
  margin-bottom: 16px;
}
.mail-obj span {
  display: inline-block; margin-right: 8px;
  font-family: var(--sans); font-size: .7rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase; color: var(--ink-mute);
  transform: translateY(-2px);
}
.mail-body { font-size: .95rem; color: var(--ink-soft); }
.mail-body p + p { margin-top: 11px; }
.mail-body ul { margin: 11px 0; padding-left: 18px; }
.mail-body li { margin-bottom: 5px; }
.mail-sig {
  margin-top: 16px !important; padding-top: 14px;
  border-top: 1px solid var(--line); font-size: .9rem;
}
.mail-ia {
  margin-top: 12px !important;
  font-size: .78rem; line-height: 1.5; color: var(--ink-mute);
  font-style: italic;
}
.mail-mini { padding: 20px 22px 22px; }
.mail-stop { border-style: dashed; background: transparent; box-shadow: none; }
.mail-why {
  list-style: none; margin-top: 28px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.mail-why li {
  font-size: .92rem; color: var(--ink-soft);
  padding-top: 16px; border-top: 2px solid var(--accent);
}

/* ------------------------------------------------------------------- FAQ */

.faq { display: grid; gap: 0; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 4px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.3;
  padding: 26px 46px 26px 0;
  position: relative;
  transition: color .25s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 13px; height: 13px;
  border-right: 1.5px solid var(--ink-mute);
  border-bottom: 1.5px solid var(--ink-mute);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.faq details[open] summary::after {
  transform: translateY(-25%) rotate(-135deg);
  border-color: var(--accent);
}
.faq-body {
  padding: 0 60px 30px 0;
  color: var(--ink-soft);
  font-size: 1rem;
  animation: unfold .4s var(--ease);
}
@keyframes unfold { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq-tab {
  width: 100%; border-collapse: collapse; margin: 16px 0;
  font-size: .9rem;
}
.faq-tab th, .faq-tab td {
  text-align: left; padding: 10px 14px 10px 0;
  border-bottom: 1px solid var(--line); vertical-align: top;
}
.faq-tab th { white-space: nowrap; color: var(--accent); font-weight: 600; }
.faq-tab td:last-child { color: var(--ink-mute); }
.faq-src { font-size: .8rem; color: var(--ink-mute); margin-bottom: 14px !important; }

/* -------------------------------------------------------------- Garantie */

/* Le seul encadre du site. A zero reference, l'inversion du risque est
   l'argument le plus fort de la page : il merite d'etre le bloc qu'on ne peut
   pas manquer en faisant defiler. */
.guarantee {
  background: var(--white);
  border: 1px solid var(--accent);
  border-left: 4px solid var(--accent);
  border-radius: var(--r);
  padding: 40px 44px;
  box-shadow: 0 40px 80px -60px rgba(18,17,15,.45);
}
.guar-lab {
  display: block;
  font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-lt);
  margin-bottom: 12px;
}
.guar-crit {
  font-family: var(--serif);
  font-size: 1.32rem; line-height: 1.5;
  color: var(--ink);
  margin: 0 0 26px;
}
.guar-crit strong { font-weight: 600; }
.guar-if {
  margin: 0 0 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}
.guar-why { margin: 0; font-size: .95rem; color: var(--ink-mute); }

@media (max-width: 620px) {
  .guarantee { padding: 30px 24px; }
  .guar-crit { font-size: 1.14rem; }
}

/* ------------------------------------------------------------------- Qui */

.who h2 { margin-bottom: 26px; }
.who-lede { margin-bottom: 22px; }
.who p { color: var(--ink-soft); max-width: 64ch; }

/* ------------------------------------------------------------------- CTA */

.sec-cta { background: var(--accent); color: var(--paper); text-align: center; padding: 116px 0; }
.cta h2 { color: var(--paper); margin-bottom: 22px; }
.cta > p { color: #BFD4CE; max-width: 56ch; margin: 0 auto 38px; font-size: 1.1rem; }
/* `.cta > p` porte une specificite superieure a une simple classe : les
   paragraphes particuliers doivent donc etre cibles par le meme chemin, sinon
   leurs marges sont ecrasees. */
.cta > .cta-deliv {
  max-width: 60ch; margin: -18px auto 30px;
  font-size: .98rem; line-height: 1.75; color: #BFD4CE;
}
.cta-deliv strong { color: var(--paper); font-weight: 600; }
.cta-chips {
  list-style: none; margin: 0 auto 34px; padding: 0;
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}
.cta-chips li {
  font-size: .8rem; color: #BFD4CE;
  border: 1px solid rgba(250,247,241,.28);
  border-radius: 999px;
  padding: 6px 15px;
}
.cta-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.sec-cta .btn { background: var(--paper); color: var(--accent); border-color: var(--paper); }
.sec-cta .btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sec-cta .btn-ghost { background: transparent; color: var(--paper); border-color: rgba(250,247,241,.4); }
.sec-cta .btn-ghost:hover { background: var(--paper); color: var(--accent); border-color: var(--paper); }
.cta > .cta-fine { margin: 40px auto 0; font-size: .86rem; color: #A9C2BB; max-width: 60ch; }
.cta-fine strong { color: var(--paper); }

/* ---------------------------------------------------------------- Footer */

.foot { background: var(--ink); color: #A29C8E; padding: 56px 0; }
.foot-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-mark { font-family: var(--serif); font-size: 1.2rem; color: var(--paper); margin: 0 0 8px; }
.foot-sub { font-size: .88rem; line-height: 1.55; margin: 0; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: .9rem; }
.foot-col a { text-decoration: none; transition: color .2s var(--ease); }
.foot-col a:hover { color: var(--paper); }

/* --------------------------------------------------------- Apparitions -- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .board-pulse { animation: none; }
}

/* ----------------------------------------------------------- Barre d'appel */

/* Sur telephone, le bouton du haut de page disparait des la premiere section
   et ne revient qu'apres 4 000 mots. Cette barre est le seul element du site
   qui suit le lecteur — donc elle reste discrete et se cache a l'impression. */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  display: none;
  align-items: center; gap: 14px;
  padding: 12px 22px calc(12px + env(safe-area-inset-bottom));
  background: rgba(250,247,241,.96);
  backdrop-filter: saturate(160%) blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(105%);
  transition: transform .35s var(--ease);
}
.dock.is-on { transform: none; }
.dock-t { font-size: .86rem; color: var(--ink-soft); line-height: 1.3; }
.dock-a { margin-left: auto; display: flex; gap: 8px; flex-shrink: 0; }
.dock .btn { padding: 10px 16px; font-size: .84rem; }

/* --------------------------------------------------------------- Responsive */

@media (max-width: 1080px) {
  .mail-why { grid-template-columns: 1fr 1fr; }
  .hero-in { grid-template-columns: 1fr; gap: 56px; }
  .hero-vis { max-width: 620px; }
  .extras { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan-feat { order: -1; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .dock { display: flex; }
  .mails { grid-template-columns: 1fr; }
  .mail:first-child { grid-row: auto; }
  .calc { grid-template-columns: 1fr; }
  .nots { grid-template-columns: 1fr; gap: 0; }
  .sec { padding: 84px 0; }
  .hero { padding: 64px 0 76px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 22px; }
  .calc-in, .calc-out { padding: 30px 24px; }
  .step { grid-template-columns: 1fr; gap: 14px; }
  .step-n { grid-row: auto; font-size: 2.2rem; }
  .step h3, .step p { grid-column: 1; }
  .extras { grid-template-columns: 1fr; }
  .hero-cta .btn, .cta-links .btn { width: 100%; }
  .board-head, .row { grid-template-columns: 1fr 1fr; }
  .board-head span:nth-child(2), .row .cell-m { display: none; }
  .mail-why { grid-template-columns: 1fr; gap: 16px; }
  .faq-body { padding-right: 0; }
  .faq-tab, .faq-tab tr, .faq-tab th, .faq-tab td { display: block; }
  .faq-tab th { border: 0; padding-bottom: 2px; }
  .faq-tab td { padding: 0 0 2px; border: 0; }
  .faq-tab tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .dock-t { display: none; }
  .dock-a { margin-left: 0; width: 100%; }
  .dock .btn { flex: 1; text-align: center; }
}

@media print { .dock, .nav { display: none !important; } }

/* ------------------------------------------------------- Page mentions -- */

.legal { padding: 72px 0 96px; }
.legal h1 { font-size: clamp(2.1rem, 4vw, 2.9rem); margin-bottom: 34px; }
.legal h2 { font-size: 1.35rem; margin: 44px 0 14px; }
.legal p, .legal li { color: var(--ink-soft); font-size: .98rem; }
.legal ul { padding-left: 20px; }
.legal .back { display: inline-block; margin-bottom: 34px; text-decoration: none; color: var(--accent); font-size: .93rem; }
.legal .back:hover { text-decoration: underline; }
.todo {
  background: #FBEFE4;
  border: 1px solid #E7C7A8;
  border-left: 3px solid var(--warm);
  border-radius: 8px;
  padding: 18px 22px;
  font-size: .93rem;
  color: #7A4318;
  margin: 22px 0;
}
.todo strong { color: #6B3A13; }
