/* =============================================================
   VIVASERRE v2 — Industrial agritech premium
   Mobile-first. Sans-serif bold. Dark hero + photo-rich.
   ============================================================= */

:root {
  /* Palette */
  --bg:        #FAFAF7;
  --bg-paper: #FFFFFF;
  --bg-deep:   #0E1A10;
  --bg-deep-2: #142519;
  --bg-soft:   #F2F1EA;
  --line:      #E6E3D7;
  --line-dark: rgba(255,255,255,.10);

  --ink:       #0E1A10;
  --ink-80:    rgba(14,26,16,.78);
  --ink-60:    rgba(14,26,16,.60);
  --ink-40:    rgba(14,26,16,.40);
  --ink-20:    rgba(14,26,16,.20);
  --ink-10:    rgba(14,26,16,.10);

  --on-deep:        #F4F2EA;
  --on-deep-70:     rgba(244,242,234,.72);
  --on-deep-50:     rgba(244,242,234,.50);

  --amber:     #D97706;
  --amber-2:   #F59E0B;
  --amber-dark:#B45309;
  --amber-soft: rgba(217,119,6,.10);

  --green:     #2A6E2B;
  --green-dark:#1E4F1F;
  --green-soft: rgba(42,110,43,.10);

  --warn:      #B45309;
  --warn-bg:   #FEF3C7;

  /* Typo */
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

  /* Layout */
  --container: 1240px;
  --gutter: 20px;
  --r: 10px;
  --r-lg: 16px;

  /* Motion */
  --ease: cubic-bezier(.2,.8,.2,1);

  /* Shadows */
  --sh-1: 0 1px 2px rgba(14,26,16,.04), 0 1px 1px rgba(14,26,16,.03);
  --sh-2: 0 4px 12px rgba(14,26,16,.06), 0 2px 4px rgba(14,26,16,.04);
  --sh-3: 0 24px 48px rgba(14,26,16,.10), 0 8px 16px rgba(14,26,16,.06);
}

/* =============================================================
   Reset
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  padding-bottom: 88px;
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
}
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; color: inherit; }

/* =============================================================
   Typography
   ============================================================= */
.font-mono { font-family: var(--mono); font-feature-settings: "tnum" 1; }

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.05;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.4rem, 7.5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
}
h2 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  letter-spacing: -.03em;
  line-height: 1.05;
}
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); letter-spacing: -.02em; }
h4 { font-size: 1.05rem; letter-spacing: -.015em; }

p { color: var(--ink-80); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 600;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--amber);
}

/* =============================================================
   Container & section
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding: 64px 0; }
@media (min-width: 768px) {
  .section { padding: 112px 0; }
}

/* =============================================================
   Top bar — Pierre direct
   ============================================================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg-deep);
  color: var(--on-deep);
  border-bottom: 1px solid var(--line-dark);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.topbar__left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
/* Desktop : 3 colonnes (logo · nav centrée · CTAs) */
@media (min-width: 900px) {
  .topbar__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
  }
  .topbar__left { display: contents; }
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  flex-shrink: 0;
  outline: none;
  border-radius: 4px;
}
.brand:focus-visible {
  outline: 2px solid var(--amber-2, #F59E0B);
  outline-offset: 4px;
}
.brand__logo {
  height: 18px;
  width: auto;
  display: block;
  transition: opacity .15s ease;
}
.brand:hover .brand__logo { opacity: .82; }
@media (min-width: 768px) {
  .brand__logo { height: 22px; }
}
.footer .brand__logo { height: 28px; }
.topbar__nav {
  display: none;
  gap: 28px;
  font-size: .85rem;
  color: var(--on-deep-70);
  font-weight: 500;
}
.topbar__nav a:hover { color: var(--on-deep); }
@media (min-width: 900px) {
  .topbar__nav {
    display: flex;
    justify-self: center;   /* centré dans la colonne 1fr */
  }
}
.topbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--amber);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: .85rem;
  font-family: var(--mono);
  letter-spacing: .01em;
  transition: background .15s var(--ease);
  white-space: nowrap;
}
.topbar__cta:hover { background: var(--amber-dark); }

/* =============================================================
   Banner urgency
   ============================================================= */
/* =============================================================
   Banner urgency — ticker premium, pulse animé
   ============================================================= */
.banner {
  background:
    linear-gradient(180deg, #1A1208 0%, #251A0E 100%);
  color: rgba(255, 246, 228, .92);
  border-bottom: 1px solid rgba(217, 119, 6, .28);
  position: relative;
  overflow: hidden;
}
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(217,119,6,.12), transparent 60%);
  pointer-events: none;
}
.banner__inner {
  position: relative;
  z-index: 1;
  padding: 10px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  font-size: .82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  line-height: 1.4;
  text-align: center;
}
@media (max-width: 640px) {
  .banner__inner {
    justify-content: flex-start;
    text-align: left;
    font-size: .78rem;
  }
}

/* Pulse indicator — communique "live / dynamique" */
.banner__pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F59E0B;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(245,158,11,.6);
}
.banner__pulse::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: rgba(245,158,11,.5);
  animation: banner-pulse 2.4s cubic-bezier(.4,0,.6,1) infinite;
  z-index: -1;
}
@keyframes banner-pulse {
  0%   { transform: scale(1);   opacity: .7; }
  70%  { transform: scale(3.2); opacity: 0; }
  100% { transform: scale(3.2); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .banner__pulse::before { animation: none; }
}

.banner__hook {
  font-weight: 600;
  color: #fff;
  letter-spacing: -.005em;
}
.banner__hook strong { color: var(--amber-2); font-weight: 700; }
.banner__sep {
  color: rgba(245,158,11,.45);
  font-weight: 400;
}
.banner__benefit {
  font-family: var(--mono);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: #F59E0B;
}
@media (max-width: 640px) {
  .banner__sep { display: none; }
  .banner__benefit { font-size: .72rem; width: 100%; padding-left: 18px; }
}

/* =============================================================
   Hero — photo + integrated calculator (conversion-optimized)
   ============================================================= */
.hero {
  position: relative;
  background: var(--bg-deep);
  color: var(--on-deep);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.55) saturate(.95);
}
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(14,26,16,.78) 0%,
    rgba(14,26,16,.55) 50%,
    rgba(14,26,16,.96) 100%);
}
.hero__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(14,26,16,.92) 0%,
    rgba(14,26,16,.65) 50%,
    rgba(14,26,16,.40) 100%);
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px var(--gutter) 40px;
}
@media (min-width: 768px) {
  .hero__inner { padding: 72px var(--gutter) 88px; }
}

/* Mobile: text → calc (calc visible au-dessus de la ligne de flottaison)
   Desktop: 2 colonnes, text à gauche, calc à droite */
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "text"
    "calc";
  gap: 24px;
  align-items: start;
}
@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1.05fr .95fr;
    grid-template-areas: "text calc";
    gap: 28px 56px;
  }
}
.hero__text { grid-area: text; }
.hero__calc { grid-area: calc; }

.hero .eyebrow { color: var(--amber-2); }
.hero .eyebrow::before { background: var(--amber-2); }

.hero h1 {
  color: var(--on-deep);
  margin: 12px 0 14px;
  max-width: 620px;
  font-size: clamp(2rem, 6vw, 4rem);
}
@media (min-width: 768px) {
  .hero h1 { margin: 16px 0 20px; }
}
.hero h1 em {
  font-style: normal;
  color: var(--amber-2);
}
.hero__sub {
  font-size: clamp(.98rem, 2.2vw, 1.18rem);
  color: var(--on-deep-70);
  line-height: 1.5;
  max-width: 540px;
  margin-bottom: 0;
}
@media (min-width: 1024px) {
  .hero__sub { margin-bottom: 8px; }
}
.hero__sub strong {
  color: var(--on-deep);
  font-weight: 700;
}

/* Quiz CTA secondaire — lien discret, alternative claire au calculateur */
.hero__quiz-link {
  grid-column: 1 / -1;             /* prend toute la largeur en mode 2 col */
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  background: none;
  border: none;
  color: var(--on-deep-70);
  font-size: .82rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  line-height: 1.3;
  width: max-content;
  border-bottom: 1px dashed rgba(244,242,234,.25);
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.hero__quiz-link:hover {
  color: var(--on-deep);
  border-bottom-color: rgba(244,242,234,.50);
}
.hero__quiz-link:focus-visible {
  outline: 2px solid var(--amber-2);
  outline-offset: 3px;
  border-radius: 4px;
}
.hero__quiz-link strong { color: var(--amber-2); font-weight: 700; }
.hero__quiz-link svg {
  opacity: .55;
  transition: transform .15s var(--ease), opacity .15s var(--ease);
}
.hero__quiz-link:hover svg { transform: translateX(2px); opacity: .9; }

.hero__pills {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(244,242,234,.16);
  max-width: 540px;
}
@media (min-width: 520px) {
  .hero__pills { grid-template-columns: 1fr 1fr; gap: 12px 22px; }
}
@media (min-width: 1024px) {
  .hero__pills { grid-template-columns: 1fr 1fr; gap: 14px 22px; padding-top: 24px; margin-top: 4px; }
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--on-deep-70);
  font-weight: 500;
  line-height: 1.35;
}
.pill__dot {
  display: inline-flex;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(42,110,43,.30);
  align-items: center;
  justify-content: center;
  color: var(--amber-2);
  flex-shrink: 0;
}
.pill strong { color: var(--on-deep); font-weight: 700; }

/* =============================================================
   Calc anchor (in hero) — value tag + calc + trust microcopy
   ============================================================= */
.hero__calc { width: 100%; }
.calc-anchor {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .calc-anchor { margin: 0 0 0 auto; }
}
.calc-anchor__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 8px 16px;
  background: var(--amber);
  color: #fff;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: -.005em;
  box-shadow: 0 4px 14px rgba(217,119,6,.35);
}
.calc-anchor__tag svg { color: #fff; }
.calc-anchor__tag strong { font-weight: 800; }

/* Mini-Pierre dans le calc card */
.calc-pierre {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-soft);
  border-radius: var(--r);
  margin-bottom: 18px;
  border: 1px solid var(--line);
}
.calc-pierre__photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .95rem;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(217,119,6,.25);
}
.calc-pierre__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.calc-pierre__photo::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  background: #2A6E2B;
  border: 2px solid var(--bg-soft);
  border-radius: 50%;
  z-index: 2;
}
.calc-pierre__txt { font-size: .82rem; line-height: 1.35; color: var(--ink-80); }
.calc-pierre__txt strong { color: var(--ink); font-weight: 700; }
.calc-pierre__txt em { font-style: normal; color: var(--green-dark); font-weight: 600; }

/* Référence dossier — look bureaucratique */
.calc-ref {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--ink-60);
  letter-spacing: .03em;
  margin-top: 4px;
}
.calc-ref__dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* Loading analysis — animation 4 étapes au passage step 4 */
.calc-loading {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 24px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 22px;
}
.calc-loading.is-active { display: flex; }
.calc-loading__title {
  font-size: .82rem;
  color: var(--ink-60);
  font-weight: 600;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.calc-loading__title .spinner {
  width: 14px;
  height: 14px;
  border: 2px solid var(--ink-20);
  border-top-color: var(--amber);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.calc-loading__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--ink-40);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.calc-loading__item.is-done {
  opacity: 1;
  color: var(--ink-80);
  transform: translateX(0);
}
.calc-loading__item .check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink-10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: transparent;
  transition: all .25s var(--ease);
}
.calc-loading__item.is-done .check {
  background: var(--green);
  color: #fff;
}

/* Reassurance row sous CTA */
.calc-reassure {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
  font-size: .75rem;
  color: var(--ink-60);
  font-weight: 500;
}
.calc-reassure__item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.calc-reassure__item svg { color: var(--green); }
.calc-anchor .calc {
  width: 100%;
  max-width: none;
  margin: 0;
}
.calc-trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 14px 18px;
  background: rgba(244,242,234,.06);
  border: 1px solid rgba(244,242,234,.10);
  border-radius: var(--r);
  color: var(--on-deep-70);
  font-size: .82rem;
  line-height: 1.4;
}
.calc-trust__row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.calc-trust__row svg { color: var(--amber-2); flex-shrink: 0; }
.calc-trust strong { color: var(--on-deep); font-weight: 600; }

/* =============================================================
   Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  background: var(--amber);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: -.005em;
  transition: all .2s var(--ease);
  min-height: 56px;
  cursor: pointer;
  border: 1.5px solid var(--amber);
  white-space: nowrap;
}
.btn:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  transform: translateY(-1px);
  box-shadow: var(--sh-2);
}
.btn--block { width: 100%; }
.btn--lg { padding: 18px 28px; font-size: 1.05rem; min-height: 60px; }
.btn--ghost-dark {
  background: transparent;
  color: var(--on-deep);
  border-color: rgba(244,242,234,.30);
}
.btn--ghost-dark:hover {
  background: rgba(244,242,234,.10);
  border-color: rgba(244,242,234,.50);
  color: var(--on-deep);
  transform: none;
  box-shadow: none;
}
.btn--ghost {
  background: transparent;
  color: var(--ink-60);
  border-color: var(--ink-20);
}
.btn--ghost:hover {
  background: var(--ink-10);
  color: var(--ink);
  transform: none;
  box-shadow: none;
}
.btn--dark {
  background: var(--bg-deep);
  border-color: var(--bg-deep);
  color: var(--on-deep);
}
.btn--dark:hover {
  background: #000;
  border-color: #000;
  color: var(--on-deep);
}

/* =============================================================
   Sticky mobile CTA (dynamic state)
   ============================================================= */
.sticky-mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--bg-deep);
  border-top: 1px solid var(--line-dark);
  padding: 10px var(--gutter);
  display: flex;
  gap: 8px;
  box-shadow: 0 -8px 24px rgba(14,26,16,.18);
  align-items: stretch;
}
.sticky-mobile .btn { flex: 1; padding: 12px 14px; min-height: 50px; font-size: .92rem; }
.sticky-mobile__icon-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: var(--r);
  background: rgba(244,242,234,.10);
  color: var(--on-deep);
  border: 1px solid rgba(244,242,234,.20);
  transition: all .15s var(--ease);
}
.sticky-mobile__icon-btn:hover { background: rgba(244,242,234,.18); }
.sticky-mobile__icon-btn--wa {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}
.sticky-mobile__icon-btn--wa:hover { background: #1FB855; }
.sticky-mobile__progress {
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--amber);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .35s var(--ease);
}
.sticky-mobile.is-progress .sticky-mobile__progress { transform: scaleX(var(--p, 0)); }
@media (min-width: 900px) {
  .sticky-mobile { display: none; }
}

/* =============================================================
   Reveal pricing — between calculator steps
   ============================================================= */
.reveal-price {
  background: linear-gradient(135deg, var(--amber-soft), rgba(217,119,6,.04));
  border: 1px solid rgba(217,119,6,.20);
  border-radius: var(--r);
  padding: 14px 16px;
  margin-bottom: 22px;
  display: none;
  animation: revealIn .4s var(--ease);
}
.reveal-price.is-visible { display: block; }
@keyframes revealIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal-price__label {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-dark);
  font-weight: 700;
  margin-bottom: 4px;
}
.reveal-price__range {
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
}
.reveal-price__sub {
  font-size: .78rem;
  color: var(--ink-60);
  margin-top: 4px;
  line-height: 1.4;
}

/* =============================================================
   Callback slots picker (Calendly-style)
   ============================================================= */
/* Promesse rappel rapide — pulse + texte court avant le form */
.callback-promise {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(42,110,43,.08), rgba(42,110,43,.04));
  border: 1px solid rgba(42,110,43,.18);
  border-radius: var(--r);
  margin-bottom: 18px;
}
.callback-promise__pulse {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2A6E2B;
  flex-shrink: 0;
  margin-top: 6px;
  box-shadow: 0 0 8px rgba(42,110,43,.5);
}
.callback-promise__pulse::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(42,110,43,.5);
  animation: callback-pulse 2.4s cubic-bezier(.4,0,.6,1) infinite;
  z-index: -1;
}
@keyframes callback-pulse {
  0%   { transform: scale(1);   opacity: .65; }
  70%  { transform: scale(3);   opacity: 0; }
  100% { transform: scale(3);   opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .callback-promise__pulse::before { animation: none; }
}
.callback-promise__txt {
  font-size: .92rem;
  color: var(--ink);
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.callback-promise__txt strong {
  font-weight: 700;
  color: var(--ink);
}
.callback-promise__hours {
  font-size: .76rem;
  color: var(--ink-60);
  font-weight: 400;
}

/* Legacy callback slot picker — déprécié (remplacé par callback-promise) */
.callback {
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.callback__title {
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.callback__sub {
  font-size: .78rem;
  color: var(--ink-60);
  margin-bottom: 12px;
}
.callback__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.callback__slot {
  padding: 10px 8px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-80);
  transition: all .12s var(--ease);
  min-height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.2;
  text-align: center;
}
.callback__slot:hover { border-color: var(--amber); }
.callback__slot.is-selected {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
}
.callback__slot small {
  font-size: .68rem;
  color: var(--ink-60);
  font-weight: 500;
  margin-top: 2px;
}
.callback__slot.is-selected small { color: rgba(255,255,255,.85); }

/* =============================================================
   Form — phone field with inline validation check
   ============================================================= */
.field--phone {
  position: relative;
}
.field--phone .input-tel {
  padding-right: 44px;
}
.field__check {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%) scale(.8);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  pointer-events: none;
}
.field--phone.is-valid .field__check {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.field--phone.is-valid .input-tel {
  border-color: var(--green);
}
.field--invalid .input-tel {
  border-color: #DC2626;
}

/* Trust inline near form */
.form-trust-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 16px;
  font-size: .78rem;
  color: var(--ink-60);
  font-weight: 500;
  line-height: 1.4;
}
.form-trust-inline svg {
  color: var(--green-dark);
  flex-shrink: 0;
}

/* Submit button with success animation */
.btn--submit {
  position: relative;
  overflow: hidden;
  font-size: 1rem;
}
.btn--submit .btn__success-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.5);
  opacity: 0;
  transition: all .25s var(--ease);
}
.btn--submit.is-loading .btn__label { opacity: .6; }
.btn--submit.is-success {
  background: var(--green);
  border-color: var(--green);
  pointer-events: none;
}
.btn--submit.is-success .btn__label { opacity: 0; }
.btn--submit.is-success .btn__success-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Form alternative path (WhatsApp) */
.form-alt-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 0;
  background: transparent;
  border: none;
  border-radius: 0;
  font-size: .78rem;
  color: #25D366;
  font-weight: 500;
  text-decoration: none;
  transition: opacity .15s ease;
}
.form-alt-wa:hover { opacity: .7; }
.form-alt-wa svg { flex-shrink: 0; }

/* Legacy form-alt — gardé pour compat */
.form-alt__wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(37, 211, 102, .08);
  border: 1.5px solid rgba(37, 211, 102, .30);
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 600;
  color: #1FB855;
  transition: all .15s var(--ease);
}
.form-alt__wa:hover {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
}

/* =============================================================
   Email collapse toggle (legacy — kept for magnet/exit modals)
   ============================================================= */
.email-toggle {
  background: transparent;
  border: none;
  color: var(--ink-60);
  font-size: .82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  margin-top: -6px;
  cursor: pointer;
}
.email-toggle:hover { color: var(--amber-dark); }
.email-toggle svg { transition: transform .2s var(--ease); }
.email-toggle.is-open svg { transform: rotate(45deg); }
.email-field {
  display: none;
  margin-top: 12px;
  animation: revealIn .25s var(--ease);
}
.email-field.is-open { display: block; }

/* =============================================================
   Toast notifications (social proof)
   ============================================================= */
.toast-container {
  position: fixed;
  top: 80px;
  right: 16px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 320px;
  pointer-events: none;
}
@media (max-width: 600px) {
  .toast-container { top: auto; bottom: 96px; left: 12px; right: 12px; max-width: none; }
}
.toast {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 12px 16px 12px 14px;
  box-shadow: var(--sh-2);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: var(--ink-80);
  pointer-events: auto;
  animation: toastIn .35s var(--ease);
}
.toast.is-leaving { animation: toastOut .25s var(--ease) forwards; }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
  to { opacity: 0; transform: translateX(40px); }
}
@media (max-width: 600px) {
  @keyframes toastIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes toastOut {
    to { opacity: 0; transform: translateY(20px); }
  }
}
.toast__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
  flex-shrink: 0;
}
.toast strong { color: var(--ink); font-weight: 600; }
.toast__close {
  margin-left: auto;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-40);
  border-radius: 4px;
}
.toast__close:hover { background: var(--ink-10); color: var(--ink); }

/* =============================================================
   WhatsApp button (topbar + inline)
   ============================================================= */
.topbar__wa {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  transition: background .15s;
  margin-right: 8px;
}
.topbar__wa:hover { background: #1FB855; }
@media (min-width: 600px) {
  .topbar__wa { display: inline-flex; }
}

/* Hero secondary CTA row: WhatsApp + phone discrets */
.hero__contact-row {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  font-size: .85rem;
  align-items: center;
  flex-wrap: wrap;
}
.hero__contact-row a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--on-deep-70);
  font-weight: 500;
}
.hero__contact-row a:hover { color: var(--on-deep); }
.hero__contact-row .wa { color: #4ade80; }

/* =============================================================
   Lead magnet block — secondary capture
   ============================================================= */
.magnet {
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
}
@media (min-width: 600px) {
  .magnet { grid-template-columns: 1fr auto; gap: 24px; }
}
.magnet__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -.01em;
}
.magnet__sub {
  font-size: .88rem;
  color: var(--ink-60);
}
.magnet__form {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.magnet__form input {
  padding: 12px 14px;
  background: var(--bg-paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  font-size: .92rem;
  min-width: 200px;
}
.magnet__form .btn { min-height: 44px; padding: 10px 18px; font-size: .88rem; }

/* =============================================================
   Live counter strip (subtle, near hero)
   ============================================================= */
.live-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(42,110,43,.18);
  border: 1px solid rgba(42,110,43,.30);
  border-radius: 999px;
  font-size: .78rem;
  color: var(--on-deep);
  font-weight: 500;
  margin-bottom: 18px;
}
.live-counter__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s infinite;
}
.live-counter strong { font-family: var(--mono); font-weight: 700; color: #4ade80; }

/* =============================================================
   Trust strip — chips + logos
   ============================================================= */
/* =============================================================
   PAIN — Bloc douleur chiffrée (ennemi invisible)
   ============================================================= */
.pain {
  background: linear-gradient(180deg, #1A1208 0%, #0E1A10 88%, #142519 100%);
  color: var(--on-deep);
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}
/* Bordure-accent ambre à la jointure pain → proof : souligne la bascule du problème vers la solution */
.pain::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--amber) 30%, var(--amber-2) 50%, var(--amber) 70%, transparent 100%);
  opacity: .65;
}
.pain::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 380px at 15% 0%, rgba(245,158,11,.06), transparent 60%),
    radial-gradient(600px 320px at 85% 100%, rgba(220,38,38,.05), transparent 60%);
  pointer-events: none;
}
.pain > .container { position: relative; z-index: 1; }

.pain__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}
.pain__head h2 {
  color: var(--on-deep);
  margin: 14px 0 16px;
}
.pain__head h2 em {
  color: var(--amber-2);
  font-style: normal;
  font-weight: 800;
}
.pain__lead {
  color: var(--on-deep-70);
  font-size: 1.02rem;
  max-width: 620px;
  margin: 0 auto;
}

.pain__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 760px) {
  .pain__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

.pain__card {
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(245,158,11,.18);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  position: relative;
  transition: border-color .2s var(--ease), transform .2s var(--ease), background .2s var(--ease);
  display: flex;
  flex-direction: column;
}
.pain__card:hover {
  border-color: rgba(245,158,11,.40);
  transform: translateY(-2px);
  background: rgba(255,255,255,.055);
}

.pain__num {
  display: block;
  font-family: var(--mono);
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 700;
  color: var(--amber-2);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 18px;
}
.pain__num-unit {
  display: block;
  font-size: .42em;
  color: var(--on-deep-70);
  margin-top: 6px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-family: var(--sans);
}

.pain__title {
  color: var(--on-deep);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -.02em;
}
.pain__desc {
  color: var(--on-deep-70);
  font-size: .92rem;
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}
.pain__source {
  display: inline-block;
  font-family: var(--mono);
  font-size: .66rem;
  color: var(--on-deep-50);
  letter-spacing: .1em;
  text-transform: uppercase;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  width: 100%;
}

/* =============================================================
   PROOF — bloc crédibilité unifié (certifs + chiffres marché)
   ============================================================= */
.proof {
  background: var(--bg-paper);
  border-bottom: 1px solid var(--line);
}
.proof__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 44px var(--gutter) 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
@media (min-width: 768px) {
  .proof__inner { padding: 56px var(--gutter) 36px; gap: 36px; }
}

/* Logo wall — ligne horizontale centrée */
.proof__trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.proof__eyebrow {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.proof__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.proof__badge {
  display: block;
  width: 60px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}
.proof__badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(14, 26, 16, .06);
  transition: transform .2s ease;
}
.proof__badge:hover img { transform: translateY(-2px); }
@media (min-width: 768px) {
  .proof__badges { gap: 28px; }
  .proof__badge { width: 76px; }
}

/* Stats — grille 4 colonnes désaturée, séparateurs verticaux fins */
.proof__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 768px) {
  .proof__stats { grid-template-columns: repeat(4, 1fr); }
}
.proof__stat {
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid var(--line);
  position: relative;
}
.proof__stat:nth-child(2n) { border-right: none; }
.proof__stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
@media (min-width: 768px) {
  .proof__stat { padding: 28px 22px; }
  .proof__stat:nth-child(2n) { border-right: 1px solid var(--line); }
  .proof__stat:nth-child(4n) { border-right: none; }
  .proof__stat:nth-child(-n+4) { border-bottom: none; }
}
.proof__stat--accent::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 100%;
  background: var(--amber, #D97706);
}
.proof__num {
  font-family: var(--mono);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -.03em;
}
.proof__unit {
  font-size: .42em;
  color: var(--ink-60);
  margin-left: 6px;
  font-weight: 500;
  letter-spacing: 0;
}
.proof__label {
  font-size: .76rem;
  color: var(--ink-60);
  line-height: 1.4;
  margin-top: 4px;
}
.proof__label sup { font-size: .7em; margin-left: 1px; }

.proof__sources {
  font-size: .68rem;
  color: var(--ink-40);
  line-height: 1.6;
  margin: 0;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
  text-align: left;
}
@media (min-width: 768px) {
  .proof__sources { text-align: center; }
}

/* =============================================================
   Section header
   ============================================================= */
.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .section-head { margin-bottom: 64px; }
}
.section-head h2 { margin-top: 14px; margin-bottom: 16px; }
.section-head h2 em { font-style: normal; color: var(--amber); font-weight: 800; }
.section-head p {
  font-size: 1.1rem;
  color: var(--ink-60);
  line-height: 1.55;
  max-width: 580px;
}

/* =============================================================
   Section: produit — ce qui se pose
   ============================================================= */
.product {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .product { grid-template-columns: 1.1fr .9fr; gap: 48px; }
}
.product__visual {
  background: var(--bg-deep);
  border-radius: var(--r-lg);
  padding: 32px;
  min-height: 360px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--on-deep);
  isolation: isolate;
}
.product__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(217,119,6,.22), transparent 60%);
  z-index: 0;
}
.product__visual > *:not(picture):not(img) { position: relative; z-index: 1; }
.product__visual picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}
.product__visual picture img,
.product__visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
  z-index: 0;
}
.product__caption { color: var(--on-deep-70); font-size: .9rem; margin-bottom: 6px; }
.product__title-on-dark {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--on-deep);
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
.product__title-on-dark strong {
  color: var(--amber-2);
  font-weight: 800;
  letter-spacing: -.01em;
}
.product__title-suffix {
  font-size: .68em;
  font-weight: 500;
  color: var(--on-deep-70);
  letter-spacing: .02em;
  display: inline-block;
  margin-left: 4px;
}

/* Model chips — caractéristiques techniques sous le headline */
.product__model-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  justify-content: flex-start;
}
.model-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px 7px 10px;
  font-size: .82rem;
}
.model-chip__k {
  font-family: var(--mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-60);
  padding: 2px 7px;
  background: var(--bg-soft);
  border-radius: 999px;
  font-weight: 600;
}
.model-chip__v {
  font-weight: 600;
  color: var(--ink);
}

.product__specs {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.spec {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}
.spec__num {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.05;
  min-width: 116px;
}
.spec__num .unit {
  display: block;
  font-size: .42em;
  color: var(--ink-60);
  margin-top: 4px;
  margin-left: 0;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.3;
}
.spec__body { font-size: .94rem; color: var(--ink-60); line-height: 1.55; }
.spec__body strong { color: var(--ink); font-weight: 700; }
.spec + .spec { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 22px; }

/* =============================================================
   Calculator section
   ============================================================= */
.calc-wrap {
  background: var(--bg-deep);
  color: var(--on-deep);
}
.calc-wrap .section-head h2 { color: var(--on-deep); }
.calc-wrap .section-head p { color: var(--on-deep-70); }
.calc-wrap .eyebrow { color: var(--amber-2); }
.calc-wrap .eyebrow::before { background: var(--amber-2); }

.calc {
  background: var(--bg-paper);
  color: var(--ink);                   /* Override la couleur claire héritée du .hero */
  border-radius: var(--r-lg);
  padding: 28px 24px;
  position: relative;
  box-shadow: var(--sh-3);
  max-width: 580px;
  margin: 0 auto;
}
.calc h1, .calc h2, .calc h3, .calc h4, .calc p, .calc div, .calc span, .calc label { color: inherit; }
.calc__title { color: var(--ink); }
@media (min-width: 768px) {
  .calc { padding: 40px 36px; }
}
.calc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.calc__head-main { flex: 1; min-width: 0; }
.calc__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px 6px 10px;
  font-size: .76rem;
  font-weight: 600;
  color: var(--ink-60);
  cursor: pointer;
  transition: all .15s ease;
  flex-shrink: 0;
}
.calc__back:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.calc__back[hidden] { display: none; }
.calc__title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.calc__counter {
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--ink-60);
  background: var(--bg-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
.progress {
  height: 4px;
  background: var(--ink-10);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 28px;
}
.progress__bar {
  height: 100%;
  background: var(--amber);
  width: 25%;
  transition: width .35s var(--ease);
  border-radius: 2px;
}

/* Steps */
.step { display: none; }
.step.is-active { display: block; animation: fadeIn .25s var(--ease); }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.step__q {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -.02em;
  color: var(--ink);
}
.step__hint {
  font-size: .88rem;
  color: var(--ink-60);
  margin-bottom: 22px;
}

/* Surface input */
.input-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 16px;
}
.input-num, .input-text, .input-tel, .input-email {
  flex: 1;
  padding: 16px 18px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  transition: border-color .15s, background .15s;
  -moz-appearance: textfield;
  width: 100%;
}
.input-text, .input-email { font-family: var(--sans); font-weight: 500; }
.input-num::-webkit-outer-spin-button,
.input-num::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.input-num:focus, .input-text:focus, .input-tel:focus, .input-email:focus, .input-select:focus {
  outline: none;
  border-color: var(--amber);
  background: var(--bg-paper);
}
.input-suffix {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-family: var(--mono);
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-60);
  background: var(--bg-soft);
  border-radius: var(--r);
  border: 1.5px solid var(--line);
}

input[type="range"].slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--ink-10);
  border-radius: 2px;
  outline: none;
  margin: 8px 0 18px;
}
input[type="range"].slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: var(--amber);
  border-radius: 50%;
  cursor: pointer;
  border: 4px solid var(--bg-paper);
  box-shadow: 0 0 0 1.5px var(--amber);
}
input[type="range"].slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: var(--amber);
  border-radius: 50%;
  cursor: pointer;
  border: 4px solid var(--bg-paper);
  box-shadow: 0 0 0 1.5px var(--amber);
}
.slider-marks {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--ink-40);
  margin-top: -8px;
  margin-bottom: 18px;
  padding: 0 4px;
}

/* Culture grid */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
@media (min-width: 500px) {
  .culture-grid { grid-template-columns: repeat(3, 1fr); }
}
.culture-btn {
  padding: 14px 10px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  font-size: .92rem;
  color: var(--ink-80);
  font-weight: 600;
  transition: all .12s var(--ease);
  text-align: center;
  min-height: 52px;
}
.culture-btn:hover {
  border-color: var(--amber);
  background: var(--amber-soft);
  color: var(--ink);
}
.culture-btn.is-selected {
  background: var(--bg-deep);
  color: var(--on-deep);
  border-color: var(--bg-deep);
}

/* Select */
.select-row { position: relative; margin-bottom: 18px; }
.input-select {
  width: 100%;
  padding: 16px 44px 16px 18px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.select-row::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-30%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink-60);
  border-bottom: 2px solid var(--ink-60);
  pointer-events: none;
}

/* Toggle yes/no */
.toggle-group {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.toggle-btn {
  flex: 1;
  padding: 16px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  font-size: .98rem;
  font-weight: 600;
  color: var(--ink-80);
  transition: all .12s var(--ease);
  min-height: 52px;
}
.toggle-btn:hover { border-color: var(--amber); }
.toggle-btn.is-selected {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.toggle-btn[data-heated="no"].is-selected {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.field-label {
  display: block;
  font-size: .78rem;
  color: var(--ink-60);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}

.cta-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
}

.dead-end {
  background: var(--green-soft);
  border: 1px solid rgba(42,110,43,.25);
  border-radius: var(--r);
  padding: 14px 16px;
  margin-top: 14px;
  font-size: .9rem;
  color: var(--green-dark);
  line-height: 1.5;
}
.dead-end a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

/* Result */
.result__label {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 700;
  margin-bottom: 10px;
}
.result__range {
  font-family: var(--mono);
  font-size: clamp(1.6rem, 5.5vw, 2.4rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 14px;
}
.result__range .arrow {
  color: var(--ink-20);
  margin: 0 6px;
  font-weight: 300;
}
.result__sub {
  font-size: .92rem;
  color: var(--ink-60);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.result__sub strong {
  color: var(--green-dark);
  font-family: var(--mono);
  font-weight: 700;
}
.result__cta-intro {
  font-size: 1rem;
  color: var(--ink-80);
  margin-bottom: 18px;
  line-height: 1.55;
  font-weight: 500;
}
.form-fields {
  display: grid;
  gap: 14px;
  margin-bottom: 4px;
}
.field { display: flex; flex-direction: column; }
.field input {
  padding: 15px 16px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  font-size: 1rem;
  color: var(--ink);
}
.rgpd {
  font-size: .72rem;
  color: var(--ink-40);
  line-height: 1.5;
  margin-top: 14px;
}
.rgpd a {
  color: var(--ink-60);
  text-decoration: underline;
}

/* Social proof under calc */
.social-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: .8rem;
  color: var(--on-deep-70);
  justify-content: center;
}
.social-proof__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber-2);
  animation: pulse 2s infinite;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(245,158,11,.18);
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

/* =============================================================
   Process — 3 étapes illustrées
   ============================================================= */
/* =============================================================
   PROCESS — timeline visuelle 60 jours
   ============================================================= */
.process-section {
  background:
    radial-gradient(circle at 80% 0%, rgba(217,119,6,.10), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(42,110,43,.15), transparent 55%),
    var(--bg-deep);
  color: var(--on-deep);
  padding: 64px 0 72px;
  position: relative;
}
@media (min-width: 768px) {
  .process-section { padding: 96px 0 104px; }
}

.process-head { max-width: 720px; margin-bottom: 48px; }
@media (min-width: 768px) { .process-head { margin-bottom: 72px; } }

.process-head h2 {
  color: var(--on-deep);
  margin: 14px 0 18px;
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.02em;
}
.process-head h2 em {
  font-style: normal;
  color: var(--amber-2, #F59E0B);
  font-weight: 800;
}
.process-head__lead {
  font-size: 1.05rem;
  color: var(--on-deep-70, rgba(255,255,255,.7));
  line-height: 1.55;
  margin: 0;
  max-width: 560px;
}
.eyebrow--on-deep { color: var(--amber-2, #F59E0B); }
.eyebrow--on-deep::before { background: var(--amber-2, #F59E0B); }

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
}
@media (min-width: 900px) {
  .timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.timeline__step {
  position: relative;
  padding: 0 0 0 60px;     /* mobile : place pour le dot à gauche */
}
@media (min-width: 900px) {
  .timeline__step {
    padding: 0;
    padding-top: 56px;     /* desktop : place pour le dot en haut */
  }
}

/* Le dot numéroté — absolute, isolé du body */
.timeline__num {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--amber, #D97706);
  color: #1a1208;
  font-family: var(--mono);
  font-size: .88rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
  box-shadow: 0 0 0 4px var(--bg-deep), 0 0 0 5px rgba(245,158,11,.35);
  z-index: 2;

  /* mobile : top-left */
  left: 0;
  top: 0;
}
@media (min-width: 900px) {
  .timeline__num {
    /* desktop : top-left aussi mais le body est dessous */
    left: 0;
    top: 0;
  }
}

/* Le filet de connexion — ne passe QUE entre les dots, jamais sous le contenu */
.timeline__step::before {
  content: "";
  position: absolute;
  z-index: 1;
  background: linear-gradient(to bottom, var(--amber-2, #F59E0B) 0%, rgba(245,158,11,.25) 100%);

  /* mobile : ligne verticale de la base du dot jusqu'au dot suivant */
  left: 19px;              /* centre du dot (40/2 - 1) */
  top: 48px;               /* sous le dot (40 + petit gap) */
  bottom: -48px;           /* étend dans le gap inter-step (40px gap + petit recouvrement) */
  width: 2px;
}
@media (min-width: 900px) {
  .timeline__step::before {
    /* desktop : ligne horizontale de la droite du dot jusqu'au dot suivant */
    left: 48px;            /* après le dot (40 + 8 gap) */
    right: -40px;          /* dépasse dans le gutter pour rejoindre le prochain dot */
    top: 19px;             /* centre vertical du dot */
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(to right, var(--amber-2, #F59E0B) 0%, rgba(245,158,11,.25) 100%);
  }
}
.timeline__step:last-child::before { display: none; }

.timeline__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timeline__day {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--amber-2, #F59E0B);
  background: rgba(245,158,11,.08);
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid rgba(245,158,11,.25);
  white-space: nowrap;
  margin-bottom: 4px;
}

.timeline__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--on-deep);
  margin: 0;
  letter-spacing: -.01em;
}

.timeline__desc {
  font-size: .96rem;
  color: var(--on-deep-70, rgba(255,255,255,.72));
  line-height: 1.55;
  margin: 0;
}

.timeline__bullets {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.timeline__bullets li {
  font-size: .85rem;
  color: var(--on-deep-50, rgba(255,255,255,.55));
  display: flex;
  align-items: center;
  gap: 8px;
}
.timeline__bullets li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--amber-2, #F59E0B);
  flex-shrink: 0;
}

/* =============================================================
   Mechanism (AGRI-TH-117 explained) — split layout
   ============================================================= */
.mech .section-head h2 em {
  font-style: normal;
  color: var(--amber);
  font-weight: 800;
}
.mech {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 900px) {
  .mech { grid-template-columns: 1fr 1fr; gap: 56px; }
}
.mech__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mech__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
}
.mech__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mech__body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.mech__body p {
  font-size: .92rem;
  color: var(--ink-60);
  line-height: 1.55;
}

/* =============================================================
   Testimonials
   ============================================================= */
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) {
  .testimonials { grid-template-columns: repeat(3, 1fr); }
}
.testimonial {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial__q {
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.55;
  font-weight: 500;
  flex: 1;
}
.testimonial__q::before {
  content: '“';
  display: block;
  font-family: Georgia, serif;
  font-size: 3rem;
  color: var(--amber);
  line-height: .5;
  margin-bottom: 8px;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--on-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .82rem;
  flex-shrink: 0;
}
.testimonial__name { font-weight: 700; font-size: .92rem; }
.testimonial__meta {
  font-size: .78rem;
  color: var(--ink-60);
  font-family: var(--mono);
  margin-top: 2px;
}

/* =============================================================
   Pierre block
   ============================================================= */
/* Pierre section — full-width dark with rich content */
.pierre-section {
  background: var(--bg-deep);
  color: var(--on-deep);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.pierre-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, rgba(217,119,6,.12), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 100%, rgba(42,110,43,.18), transparent 70%);
  z-index: 0;
}
.pierre-section > .container { position: relative; z-index: 1; }
.pierre-section .section-head h2 { color: var(--on-deep); }
.pierre-section .section-head p { color: var(--on-deep-70); }
.pierre-section .eyebrow { color: var(--amber-2); }
.pierre-section .eyebrow::before { background: var(--amber-2); }

.pierre-card {
  background: rgba(244, 242, 234, .04);
  border: 1px solid rgba(244, 242, 234, .12);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  backdrop-filter: blur(8px);
}
@media (min-width: 768px) {
  .pierre-card { padding: 40px 36px; gap: 32px; }
}

.pierre-card__top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
}
@media (min-width: 600px) {
  .pierre-card__top { gap: 28px; }
}
.pierre-card__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 2rem;
  flex-shrink: 0;
  letter-spacing: -.02em;
  box-shadow: 0 8px 32px rgba(217,119,6,.35), inset 0 2px 0 rgba(255,255,255,.18);
  border: 3px solid rgba(244,242,234,.10);
  position: relative;
  overflow: hidden;
}
.pierre-card__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.pierre-card__photo img + .pierre-card__photo-initials {
  display: none;
}
@media (min-width: 768px) {
  .pierre-card__photo { width: 120px; height: 120px; font-size: 2.4rem; }
}
.pierre-card__role {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-2);
  font-weight: 700;
  margin-bottom: 8px;
}
.pierre-card__name {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.025em;
  margin-bottom: 8px;
  color: var(--on-deep);
  line-height: 1.05;
}
.pierre-card__bio {
  font-size: .98rem;
  color: var(--on-deep-70);
  line-height: 1.55;
  max-width: 540px;
}

.pierre-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid rgba(244,242,234,.10);
  border-bottom: 1px solid rgba(244,242,234,.10);
}
.pierre-card__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pierre-card__stat-num {
  font-family: var(--mono);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--on-deep);
  line-height: 1;
  letter-spacing: -.02em;
}
.pierre-card__stat-num .unit {
  font-size: .55em;
  color: var(--on-deep-50);
  margin-left: 3px;
  font-weight: 500;
}
.pierre-card__stat-label {
  font-size: .78rem;
  color: var(--on-deep-50);
  line-height: 1.35;
}

.pierre-card__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 600px) {
  .pierre-card__actions { grid-template-columns: 1fr 1fr 1fr; }
}
.pierre-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: -.005em;
  transition: all .15s var(--ease);
  min-height: 50px;
}
.pierre-card__btn--call {
  background: var(--amber);
  color: #fff;
  border: 1.5px solid var(--amber);
}
.pierre-card__btn--call:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(217,119,6,.30);
}
.pierre-card__btn--wa {
  background: #25D366;
  color: #fff;
  border: 1.5px solid #25D366;
}
.pierre-card__btn--wa:hover {
  background: #1FB855;
  border-color: #1FB855;
  transform: translateY(-1px);
}
.pierre-card__btn--ghost {
  background: rgba(244,242,234,.08);
  color: var(--on-deep);
  border: 1.5px solid rgba(244,242,234,.20);
}
.pierre-card__btn--ghost:hover {
  background: rgba(244,242,234,.14);
  border-color: rgba(244,242,234,.32);
}

/* =============================================================
   FAQ
   ============================================================= */
.faq {
  display: flex;
  flex-direction: column;
  max-width: 820px;
  margin: 0 auto;
}
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  text-align: left;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  letter-spacing: -.01em;
}
.faq__q:hover { color: var(--amber-dark); }
.faq__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform .25s var(--ease);
  color: var(--ink-60);
}
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.faq__item.is-open .faq__a { max-height: 600px; }
.faq__inner {
  padding: 0 0 24px;
  font-size: .95rem;
  color: var(--ink-60);
  line-height: 1.65;
  max-width: 720px;
}
.faq__inner strong { color: var(--ink); font-weight: 600; }

/* =============================================================
   CTA final section
   ============================================================= */
.cta-final {
  background: var(--bg-deep);
  color: var(--on-deep);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(217,119,6,.14), transparent 70%);
}
.cta-final > .container { position: relative; }
.cta-final h2 {
  color: var(--on-deep);
  max-width: 720px;
  margin: 16px auto 18px;
}
.cta-final p {
  color: var(--on-deep-70);
  max-width: 580px;
  margin: 0 auto 32px;
  font-size: 1.08rem;
}
.cta-final__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================================
   Footer
   ============================================================= */
.footer {
  background: var(--bg-deep-2);
  color: var(--on-deep-70);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (min-width: 600px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
}
.footer p { color: var(--on-deep-50); font-size: .9rem; line-height: 1.6; }
.footer h4 {
  color: var(--on-deep);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer ul { list-style: none; display: grid; gap: 10px; font-size: .9rem; }
.footer ul a { color: var(--on-deep-70); transition: color .15s; }
.footer ul a:hover { color: var(--on-deep); }
.footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: .78rem;
  color: var(--on-deep-50);
}

/* =============================================================
   Modal overlay
   ============================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14,26,16,.6);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn .25s var(--ease);
}
.modal-overlay.is-visible { display: flex; }
.modal {
  background: var(--bg-paper);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  max-width: 440px;
  width: 100%;
  position: relative;
  box-shadow: var(--sh-3);
  animation: slideUp .3s var(--ease);
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-60);
  border-radius: 8px;
}
.modal__close:hover { background: var(--ink-10); color: var(--ink); }
.modal__title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
.modal__sub {
  font-size: .95rem;
  color: var(--ink-60);
  margin-bottom: 20px;
}

/* =============================================================
   Cookie banner (CNIL compliant — accept/refuse same weight)
   ============================================================= */
.cookie-banner {
  position: fixed;
  /* Sur mobile : au-dessus du sticky mobile (88px de hauteur). Sur desktop : bas-droite */
  bottom: calc(88px + 12px);
  left: 12px;
  right: 12px;
  z-index: 200;
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  box-shadow: var(--sh-3);
  display: none;
  max-width: 560px;
  margin: 0 auto;
  animation: cbIn .35s var(--ease);
}
@keyframes cbIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner.is-visible { display: block; }
@media (min-width: 900px) {
  /* Desktop : pas de sticky mobile, on revient en bas-droite normal */
  .cookie-banner { left: auto; right: 24px; bottom: 24px; max-width: 420px; margin: 0; }
}
/* Quand le cookie banner est visible, augmenter le padding-bottom du body
   pour que rien ne soit caché au scroll */
body:has(.cookie-banner.is-visible) {
  padding-bottom: 240px;
}
@media (min-width: 900px) {
  body:has(.cookie-banner.is-visible) {
    padding-bottom: 0;
  }
}
.cookie-banner__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -.01em;
}
.cookie-banner__txt {
  font-size: .85rem;
  color: var(--ink-60);
  line-height: 1.5;
  margin-bottom: 16px;
}
.cookie-banner__txt a {
  color: var(--amber-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cookie-btn {
  padding: 12px 14px;
  border-radius: var(--r);
  font-weight: 600;
  font-size: .88rem;
  border: 1.5px solid;
  cursor: pointer;
  transition: all .15s var(--ease);
  text-align: center;
}
.cookie-btn--accept {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.cookie-btn--accept:hover {
  background: #000;
  border-color: #000;
}
.cookie-btn--refuse {
  background: var(--bg-paper);
  color: var(--ink);
  border-color: var(--line);
}
.cookie-btn--refuse:hover {
  background: var(--bg-soft);
  border-color: var(--ink-20);
}
.cookie-banner__settings {
  margin-top: 10px;
  text-align: center;
}
.cookie-banner__settings a {
  font-size: .78rem;
  color: var(--ink-60);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =============================================================
   Legal / article layout (mentions, RGPD, CGU, guide SEO)
   ============================================================= */
.legal-page, .article-page {
  background: var(--bg);
  min-height: 100vh;
}
.legal-wrap, .article-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px var(--gutter) 80px;
}
@media (min-width: 768px) {
  .legal-wrap, .article-wrap { padding: 72px var(--gutter) 120px; }
}
.legal-wrap h1, .article-wrap h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 14px;
  letter-spacing: -.025em;
}
.legal-wrap .lead, .article-wrap .lead {
  font-size: 1.15rem;
  color: var(--ink-60);
  line-height: 1.55;
  margin-bottom: 14px;
  max-width: 620px;
}
.legal-wrap .updated, .article-wrap .updated {
  font-size: .78rem;
  color: var(--ink-40);
  margin-bottom: 36px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 500;
}
.legal-wrap h2, .article-wrap h2 {
  font-size: clamp(1.4rem, 3vw, 1.7rem);
  margin: 48px 0 14px;
  letter-spacing: -.02em;
}
.legal-wrap h3, .article-wrap h3 {
  font-size: 1.15rem;
  margin: 28px 0 10px;
  font-weight: 700;
  letter-spacing: -.015em;
}
.legal-wrap p, .article-wrap p {
  font-size: .98rem;
  line-height: 1.65;
  color: var(--ink-80);
  margin-bottom: 14px;
}
.legal-wrap ul, .article-wrap ul,
.legal-wrap ol, .article-wrap ol {
  margin: 0 0 14px 22px;
}
.legal-wrap li, .article-wrap li {
  margin-bottom: 8px;
  color: var(--ink-80);
  font-size: .98rem;
  line-height: 1.6;
}
.legal-wrap strong, .article-wrap strong { color: var(--ink); font-weight: 700; }
.legal-wrap a, .article-wrap a {
  color: var(--amber-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-wrap a:hover, .article-wrap a:hover {
  color: var(--amber);
}

.legal-toc, .article-toc {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 22px;
  margin: 24px 0 48px;
}
.legal-toc__title, .article-toc__title {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 700;
  margin-bottom: 12px;
}
.legal-toc ol, .article-toc ol {
  margin: 0 0 0 22px;
  display: grid;
  gap: 6px;
}
.legal-toc li, .article-toc li {
  font-size: .92rem;
  margin: 0;
}
.legal-toc a, .article-toc a {
  color: var(--ink-80);
  text-decoration: none;
}
.legal-toc a:hover, .article-toc a:hover { color: var(--amber-dark); text-decoration: underline; }

.legal-wrap table, .article-wrap table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: .9rem;
}
.legal-wrap th, .article-wrap th {
  text-align: left;
  background: var(--bg-soft);
  padding: 12px 14px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 2px solid var(--line);
  font-size: .82rem;
}
.legal-wrap td, .article-wrap td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-80);
  vertical-align: top;
}

.legal-placeholder {
  background: var(--warn-bg);
  color: var(--warn);
  padding: 2px 8px;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: .82rem;
  font-weight: 500;
}

.article-cta {
  background: linear-gradient(135deg, var(--bg-deep), var(--bg-deep-2));
  color: var(--on-deep);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  margin: 40px 0;
  text-align: center;
}
.article-cta h3 {
  color: var(--on-deep);
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.article-cta p {
  color: var(--on-deep-70);
  margin-bottom: 18px;
  font-size: .95rem;
}
.article-cta .btn {
  display: inline-flex;
}

.article-backlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  font-size: .88rem;
  color: var(--ink-60);
  font-weight: 500;
}
.article-backlink:hover { color: var(--amber-dark); }

/* =============================================================
   Utility
   ============================================================= */
.hidden { display: none !important; }
.text-mono { font-family: var(--mono); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

*:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .01s !important;
    transition-duration: .01s !important;
  }
}

/* =============================================================
   QUIZ MODAL — funnel léger 5 étapes (alternative au calculateur)
   ============================================================= */
.quiz-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s var(--ease);
}
.quiz-modal[hidden] { display: none !important; }
.quiz-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.quiz-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14,26,16,.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}
.quiz-modal__panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: var(--bg-paper);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  padding: 28px 24px 24px;
  transform: translateY(12px) scale(.98);
  transition: transform .25s var(--ease);
}
.quiz-modal.is-open .quiz-modal__panel {
  transform: translateY(0) scale(1);
}
@media (min-width: 640px) {
  .quiz-modal__panel { padding: 32px 36px 28px; }
}

.quiz-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-60);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition: color .15s var(--ease), background .15s var(--ease);
  z-index: 2;
}
.quiz-modal__close:hover {
  color: var(--ink);
  background: var(--line);
}

.quiz-modal__header {
  margin-bottom: 24px;
}
.quiz-modal__header h2 {
  font-size: clamp(1.4rem, 3vw, 1.7rem);
  margin: 8px 0 18px;
  letter-spacing: -.02em;
}
.quiz-modal__header h2 em {
  font-style: normal;
  color: var(--amber);
  font-weight: 800;
}

.quiz-progress {
  width: 100%;
  height: 4px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}
.quiz-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--amber) 0%, var(--amber-2) 100%);
  border-radius: 999px;
  width: 20%;
  transition: width .35s var(--ease);
}
.quiz-modal__counter {
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--ink-60);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 600;
}
.quiz-modal__counter-sep { color: var(--ink-40); margin: 0 1px; }

.quiz-form { display: block; }
.quiz-step {
  display: none;
  animation: quizFadeIn .25s var(--ease);
}
.quiz-step.is-active { display: block; }
@keyframes quizFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.quiz-step__q {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -.015em;
  line-height: 1.3;
}
.quiz-step__q--lg { font-size: 1.32rem; }
.quiz-step__hint {
  font-size: .9rem;
  color: var(--ink-60);
  margin-bottom: 20px;
  line-height: 1.5;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 480px) {
  .quiz-options { grid-template-columns: 1fr 1fr; gap: 12px; }
}
.quiz-options--grid {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 16px;
  background: var(--bg-paper);
  border: 2px solid var(--line);
  border-radius: var(--r);
  text-align: left;
  cursor: pointer;
  transition: border-color .15s var(--ease), background .15s var(--ease), transform .15s var(--ease);
  min-height: 64px;
}
.quiz-option:hover {
  border-color: var(--amber-2);
  background: rgba(245,158,11,.04);
  transform: translateY(-1px);
}
.quiz-option:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
  border-color: var(--amber);
}
.quiz-option.is-selected {
  border-color: var(--amber);
  background: rgba(245,158,11,.08);
}
.quiz-option__icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.quiz-option--soft .quiz-option__icon {
  background: var(--ink-10);
  color: var(--ink-60);
}
.quiz-option__label {
  font-size: .95rem;
  line-height: 1.35;
  color: var(--ink);
}
.quiz-option__label strong {
  font-weight: 700;
  font-size: 1rem;
}
.quiz-option__label small {
  color: var(--ink-60);
  font-size: .8rem;
  font-weight: 400;
}

/* Étape 5 — eligible / not eligible blocks + form */
.quiz-eligible__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 11px;
  background: rgba(42,110,43,.10);
  color: var(--green-dark);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 14px;
  position: relative;
}
.quiz-eligible__pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(42,110,43,.5);
  animation: quizPulse 1.8s var(--ease) infinite;
}
@keyframes quizPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(42,110,43,.5); }
  50% { box-shadow: 0 0 0 6px rgba(42,110,43,0); }
}

.quiz-form__field {
  margin: 20px 0 16px;
}
.quiz-form__label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-80);
  margin-bottom: 6px;
}
.quiz-form__input {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 500;
  background: var(--bg-paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  transition: border-color .15s var(--ease);
}
.quiz-form__input:focus {
  outline: none;
  border-color: var(--amber);
}
.quiz-form__submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  background: var(--ink);
  color: var(--on-deep);
  border: none;
  border-radius: var(--r);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s var(--ease), transform .15s var(--ease);
  letter-spacing: -.01em;
}
.quiz-form__submit:hover { background: #1a2c1d; transform: translateY(-1px); }
.quiz-form__submit:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.quiz-form__submit .btn__success-icon { display: none; }
.quiz-form__submit.is-success {
  background: var(--green-dark);
}
.quiz-form__submit.is-success .btn__label { display: none; }
.quiz-form__submit.is-success .btn__success-icon { display: inline-block; }

.quiz-form__trust {
  margin-top: 12px;
  font-size: .76rem;
  color: var(--ink-60);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  width: 100%;
}

.quiz-modal__footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.quiz-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: var(--ink-60);
  font-weight: 500;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color .15s var(--ease), background .15s var(--ease);
}
.quiz-back:hover { color: var(--ink); background: var(--bg-soft); }
.quiz-modal__legal {
  font-size: .72rem;
  color: var(--ink-40);
  letter-spacing: .02em;
}

/* Body lock when modal open */
body.quiz-open { overflow: hidden; }

/* =============================================================
   MOBILE DECONGESTION v2 — Above-the-fold trim sur <640px
   Le constat : sur mobile, on avait 4 zones qui répétaient
   "AGRI-TH-117 / 1€ / pose financée 100%" — surcharge cognitive
   qui ne laissait pas voir le formulaire au premier scroll.
   Cette section trim systématiquement pour laisser respirer.
   ============================================================= */
@media (max-width: 640px) {

  /* Topbar — CTA téléphone plus compact, libère la barre */
  .topbar__cta {
    padding: 8px 12px;
    font-size: .78rem;
    gap: 6px;
  }

  /* Banner — masquer la sous-ligne "dispositif CEE AGRI-TH-117..."
     (info déjà couverte par le hook principal + l'eyebrow + le sub) */
  .banner__benefit,
  .banner__sep { display: none; }
  .banner__inner {
    padding: 9px 14px;
    justify-content: center;
  }
  .banner__hook { font-size: .82rem; line-height: 1.3; text-align: center; }

  /* Hero — masquer l'eyebrow (redondant avec banner)
     et réduire le H1 pour laisser respirer la suite */
  .hero .hero__text > .eyebrow { display: none; }
  .hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.3rem);
    line-height: 1.05;
    letter-spacing: -.025em;
  }
  .hero__sub {
    font-size: .94rem;
    line-height: 1.45;
  }

  /* Calc anchor — la pastille orange "Jusqu'à 95 000€" était trop massive */
  .calc-anchor__tag {
    padding: 8px 14px;
    font-size: .78rem;
    box-shadow: 0 3px 10px rgba(217,119,6,.28);
  }

  /* Mini-Pierre dans le calc — version condensée
     (photo plus petite, padding réduit, texte plus serré) */
  .calc-pierre {
    padding: 9px 11px;
    gap: 10px;
    margin-bottom: 14px;
  }
  .calc-pierre__photo {
    width: 36px;
    height: 36px;
    font-size: .82rem;
  }
  .calc-pierre__txt { font-size: .76rem; line-height: 1.35; }

  /* Pills hero — un poil de respiration avant le quiz CTA */
  .hero__pills { padding-top: 16px; gap: 8px; }
  .pill { font-size: .82rem; }
}

/* Très petits écrans (<380px, iPhone SE) — encore plus drastique */
@media (max-width: 380px) {
  .hero h1 { font-size: 1.75rem; }
  .hero__sub { font-size: .9rem; }
  .calc-anchor__tag { font-size: .74rem; padding: 7px 12px; }
}

/* =============================================================
   MOBILE FIX v3 — Audit terrain complet
   Issues identifiées sur rendu iframe 390px :
   - Specs produit étaient en 2 colonnes → body à 30% de largeur
   - Calc__head trop horizontal → wrap moche
   - Sections trop padding sur mobile
   - H2 produit S.Plus SH-240 sur 3 lignes (trop verbose)
   - Padding interne calc trop large
   - Texte FAQ pas optimisé pour pouce
   ============================================================= */
@media (max-width: 640px) {

  /* --- SECTIONS GLOBALES --- */
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: clamp(1.55rem, 5.5vw, 1.8rem); line-height: 1.1; }
  .section-head p { font-size: .94rem; }

  /* --- CALC CARD : header en stack vertical, padding serré --- */
  .calc {
    padding: 22px 18px;
    border-radius: 14px;
  }
  .calc__head {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
  }
  .calc__title { font-size: 1.08rem; line-height: 1.25; }
  .calc__counter { font-size: .7rem; padding: 3px 8px; }

  /* Step header — titre de la question */
  .step__q { font-size: 1.05rem; line-height: 1.3; margin-bottom: 4px; }
  .step__hint { font-size: .82rem; line-height: 1.4; margin-bottom: 18px; }

  /* Input + suffix : meilleur visual alignement */
  .input-row { gap: 8px; }
  .input-num, .input-text, .input-tel, .input-email {
    padding: 14px 16px;
    font-size: 1.05rem;
  }
  .input-suffix {
    padding: 0 14px;
    font-size: .88rem;
    min-width: 56px;
    justify-content: center;
  }

  /* Boutons step (Continuer, Voir, etc.) — touch target 48px */
  .btn--block, .btn--lg, .btn--submit {
    padding: 15px 18px;
    font-size: .98rem;
    min-height: 50px;
  }

  /* Reveal price box — moins gros padding */
  .reveal-price { padding: 12px 14px; margin-bottom: 16px; }
  .reveal-price__range { font-size: 1rem; }
  .reveal-price__sub { font-size: .72rem; }

  /* --- PRODUCT SECTION : specs en stack vertical
         (avant : grid 2 cols → body à 30% de largeur, illisible) --- */
  .product__specs {
    padding: 22px 18px;
    gap: 18px;
  }
  .spec {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .spec__num {
    min-width: 0;
    font-size: 1.35rem;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 10px;
  }
  .spec__num .unit {
    display: inline;
    font-size: .58em;
    margin-top: 0;
    line-height: 1.3;
  }
  .spec__body {
    font-size: .92rem;
    line-height: 1.55;
  }
  .spec + .spec { padding-top: 18px; margin-top: 18px; }

  /* Product title on dark visuel — plus serré */
  .product__title-on-dark { font-size: 1.25rem; line-height: 1.25; }
  .product__title-suffix { display: block; margin-left: 0; margin-top: 4px; font-size: .58em; }
  .product__caption { font-size: .8rem; }

  /* Section product : H2 plus serré pour pas avoir 3 lignes */
  #produit .section-head h2 { font-size: 1.5rem; line-height: 1.15; }

  /* Model chips — wrap correct, padding ajusté */
  .product__model-chips { gap: 6px; }
  .model-chip { font-size: .76rem; padding: 6px 11px 6px 8px; }
  .model-chip__k { font-size: .62rem; padding: 2px 6px; }

  /* --- MECANISME (section "Ce sont les pollueurs...") --- */
  .mech { gap: 24px; }
  .mech__list { gap: 18px; }
  .mech__item { gap: 14px; }
  .mech__icon { width: 36px; height: 36px; }
  .mech__body h4 { font-size: 1rem; }
  .mech__body p { font-size: .9rem; }

  /* --- TIMELINE PROCESS --- */
  .timeline__title { font-size: 1.05rem; }
  .timeline__desc { font-size: .92rem; }
  .timeline__bullets li { font-size: .88rem; }

  /* --- TESTIMONIALS --- */
  .testimonial { padding: 22px 20px; }
  .testimonial__q { font-size: .96rem; line-height: 1.55; }

  /* --- FAQ --- */
  .faq__q {
    font-size: .96rem;
    padding: 16px 18px;
    line-height: 1.3;
    min-height: 56px;
  }
  .faq__inner { font-size: .9rem; padding: 4px 18px 18px; line-height: 1.55; }
  .faq__icon { width: 16px; height: 16px; flex-shrink: 0; }

  /* --- PROOF section (badges + stats) --- */
  .proof__inner { padding: 36px var(--gutter) 24px; gap: 22px; }
  .proof__badges { gap: 14px; }
  .proof__badge { max-width: 72px; }
  .proof__stats { gap: 18px; }
  .proof__num { font-size: 1.65rem; }
  .proof__label { font-size: .8rem; }
  .proof__sources { font-size: .7rem; line-height: 1.5; }

  /* --- PAIN cards : padding serré + num plus compact --- */
  .pain { padding: 56px 0 72px; }
  .pain__card { padding: 22px 18px; }
  .pain__num { font-size: 1.65rem; margin-bottom: 14px; }
  .pain__title { font-size: 1.05rem; }
  .pain__desc { font-size: .88rem; margin-bottom: 12px; }
  .pain__source { font-size: .62rem; padding-top: 12px; }

  /* --- CTA FINAL --- */
  .cta-final { padding: 56px 0; }
  .cta-final__buttons { flex-direction: column; gap: 10px; }
  .cta-final__buttons .btn { width: 100%; }

  /* --- FOOTER --- */
  .footer { padding-top: 48px; padding-bottom: 96px; /* place pour sticky mobile */ }
  .footer__grid { gap: 28px; }

  /* --- BANNER : centrage et padding optimisés --- */
  .banner__inner { padding: 9px 14px; min-height: 36px; }
}

/* =============================================================
   BLOG — hub page (grid de cards) + variantes article
   ============================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 32px 0 48px;
}
@media (min-width: 720px) {
  .blog-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
}

.blog-card {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease);
}
.blog-card:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
}

.blog-card__tag {
  display: inline-flex;
  width: max-content;
  font-family: var(--mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
  color: var(--amber-dark);
  background: var(--amber-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.blog-card__title {
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.015em;
  margin: 4px 0 2px;
}
.blog-card__title a {
  color: var(--ink);
  text-decoration: none;
}
.blog-card__title a:hover { color: var(--amber-dark); }

.blog-card__desc {
  font-size: .92rem;
  color: var(--ink-60);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.blog-card__link {
  margin-top: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--amber-dark);
  text-decoration: none;
  width: max-content;
}
.blog-card__link:hover { color: var(--amber); }
