/* ──────────────────────────────────────────────────────────────
   HorecAI — Édition imprimée belge
   Sombre profond + crème papier. Serif éditorial + mono sur les
   chiffres. Trois touches handmade. Pas de gadget.
   ────────────────────────────────────────────────────────────── */

:root {
  /* Ink — deep paper-printed black, not pure */
  --ink:       #151411;
  --ink-2:     #1c1b17;
  --ink-3:     #24221d;
  --line:      #2e2b24;
  --line-2:    #3d392f;
  --ink-text:  #f3ead7;

  /* Cream — belgian-paper warm */
  --cream:     #f2ead5;
  --cream-2:   #e8deb9;
  --cream-3:   #d9cd9f;
  --cream-ink: #1b1a17;

  /* Signal green — HorecAI */
  --green:     #4ec38f;
  --green-2:   #0f7a52;
  --green-on-cream: #0b6a45;

  /* Sector accents — same chroma, vary hue */
  --sc-snack:       #4ec38f;
  --sc-plombier:    #6aa6e0;
  --sc-serrurier:   #d9594d;
  --sc-cabinet:     #e0b247;
  --sc-boulangerie: #d9a66b;
  --sc-btp:         #d98648;

  --muted:     #8a8372;
  --muted-2:   #b8b098;
  --red-pen:   #c44738;

  --radius:    8px;
  --radius-sm: 4px;
  --maxw:      1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--ink);
  color: var(--ink-text);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

.mono { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-weight: 500; letter-spacing: 0.02em; }
.nb { white-space: nowrap; }
em, .em { font-style: italic; font-family: "Fraunces", Georgia, serif; font-weight: 500; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
}

/* ══════ MASTHEAD ══════ */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mast-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.mast-brand {
  display: inline-flex; align-items: baseline; gap: 10px;
}
.mast-word {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.mast-led {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(78,195,143,0.2), 0 0 10px rgba(78,195,143,0.6);
  animation: led 2.2s infinite;
}
@keyframes led {
  0%, 100% { box-shadow: 0 0 0 3px rgba(78,195,143,0.2), 0 0 10px rgba(78,195,143,0.6); }
  50%      { box-shadow: 0 0 0 6px rgba(78,195,143,0.06), 0 0 14px rgba(78,195,143,0.8); }
}
.mast-edition {
  justify-self: center;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.14em;
  display: inline-flex; gap: 8px;
}
.mast-edition span:nth-child(even) { color: var(--line-2); }
.mast-nav {
  display: flex; gap: 22px;
  font-size: 13px;
  color: var(--muted-2);
}
.mast-nav a { padding: 4px 0; border-bottom: 1px solid transparent; }
.mast-nav a:hover { color: var(--green); border-color: var(--green); }

/* 2026-04-23 — header primary CTA (replaces .mast-nav on desktop AND mobile).
 * Tahar: "metsmoi un gros bouton vert Contactez-nous". Green pill, big touch
 * target (44px+), animated pulse-dot on the left to echo the hero LED.
 * Doesn't shrink on mobile — stays readable and thumb-friendly. */
.mast-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  background: var(--green);
  color: #0b1f17;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid var(--green);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25), 0 0 0 3px rgba(78, 195, 143, 0.12);
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.mast-cta:hover {
  background: #5fd5a2;
  transform: translateY(-1px);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3), 0 0 0 4px rgba(78, 195, 143, 0.18);
}
.mast-cta:active { transform: translateY(0); }
.mast-cta-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #0b1f17;
  box-shadow: 0 0 0 3px rgba(11, 31, 23, 0.18);
  animation: mast-cta-pulse 2.4s infinite;
}
@keyframes mast-cta-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(11, 31, 23, 0.18); }
  50%      { box-shadow: 0 0 0 6px rgba(11, 31, 23, 0.06); }
}

/* ══════ HERO ══════ */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px 40px;
}
.hero-rule {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
  margin: 6px 0 24px;
  font-family: "JetBrains Mono", monospace;
  overflow: hidden;
  white-space: nowrap;
}
.hero-rule span:nth-child(2) { color: var(--ink-text); }
.hero-rule--bottom { margin: 40px 0 0; color: var(--muted); font-size: 10.5px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 72svh;
}

.hero-copy { position: relative; }
.hero-kick {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--green);
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.hero h1 em {
  font-style: italic;
  color: var(--green);
  font-weight: 500;
  position: relative;
}
.hero h1 em::after {
  content: "";
  position: absolute; left: -2px; right: -4px; bottom: 6px;
  height: 14px;
  background: rgba(78,195,143,0.18);
  z-index: -1;
  transform: skew(-6deg);
}
.hero-lede {
  max-width: 54ch;
  margin-top: 24px;
  font-size: 18px;
  color: var(--muted-2);
  line-height: 1.5;
}

/* ── HERO MULTILINGUAL MARQUEE intro lede ── */
.hero-marquee-lede {
  margin: 28px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 56ch;
  /* subtle left border like a pull-quote — anchors the lede visually */
  padding: 4px 0 4px 14px;
  border-left: 3px solid var(--green);
}
.hero-marquee-lede-kick {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--green);
  font-weight: 700;
}
.hero-marquee-lede-kick b { color: var(--ink-text); font-weight: 700; }
.hero-marquee-lede > span:last-child {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 21px;
  line-height: 1.4;
  color: var(--ink-text);
}
.hero-marquee-lede em {
  font-style: italic;
  color: var(--green);
  background: linear-gradient(transparent 65%, rgba(78,195,143,0.18) 65%);
}

/* ── HERO MULTILINGUAL "tick" — single-line cross-fade, one language at a
 * time (Tahar 2026-04-23 replaced the scrolling marquee: too dominant, and
 * on mobile the scroll caused horizontal text bleed). Each .hml is stacked
 * absolute and fades in for ~2.4s, then next. Pure CSS, --i is the index. */
.hero-marquee {
  position: relative;
  height: 56px;
  margin: 8px 0 24px;
  overflow: hidden;
}
.hero-marquee-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hml {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 4px 0;
  opacity: 0;
  animation: hmlFade 28.8s linear infinite;
  animation-delay: calc(var(--i, 0) * 2.4s);
}
@keyframes hmlFade {
  0%    { opacity: 0; transform: translateY(6px); }
  1.5%  { opacity: 1; transform: translateY(0); }
  7%    { opacity: 1; transform: translateY(0); }
  8.3%  { opacity: 0; transform: translateY(-6px); }
  100%  { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hml { animation: none; opacity: 0; }
  .hml[style*="--i:0"] { opacity: 1; }
}
.hml-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--green);
  padding: 2px 6px 2px 3px;
  border-radius: 3px;
  background: rgba(78,195,143,0.06);
  white-space: nowrap;
  align-self: center;
  justify-self: end;
}
/* Flag SVGs via jsDelivr (lipis/flag-icons) — universal: works on Windows
 * Chrome too where native emoji flags render as bare letter pairs (FR, NL…).
 * 4x3 ratio crops nicely; ~2KB per flag, cached by browser. */
.hml-flag {
  display: inline-block;
  width: 18px;
  height: 13px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.hml-flag--fr { background-image: url('https://cdn.jsdelivr.net/gh/lipis/flag-icons@7.2.3/flags/4x3/fr.svg'); }
.hml-flag--nl { background-image: url('https://cdn.jsdelivr.net/gh/lipis/flag-icons@7.2.3/flags/4x3/nl.svg'); }
.hml-flag--gb { background-image: url('https://cdn.jsdelivr.net/gh/lipis/flag-icons@7.2.3/flags/4x3/gb.svg'); }
.hml-flag--lb { background-image: url('https://cdn.jsdelivr.net/gh/lipis/flag-icons@7.2.3/flags/4x3/lb.svg'); }
.hml-flag--ma { background-image: url('https://cdn.jsdelivr.net/gh/lipis/flag-icons@7.2.3/flags/4x3/ma.svg'); }
.hml-flag--tr { background-image: url('https://cdn.jsdelivr.net/gh/lipis/flag-icons@7.2.3/flags/4x3/tr.svg'); }
.hml-flag--es { background-image: url('https://cdn.jsdelivr.net/gh/lipis/flag-icons@7.2.3/flags/4x3/es.svg'); }
.hml-flag--it { background-image: url('https://cdn.jsdelivr.net/gh/lipis/flag-icons@7.2.3/flags/4x3/it.svg'); }
.hml-flag--pt { background-image: url('https://cdn.jsdelivr.net/gh/lipis/flag-icons@7.2.3/flags/4x3/pt.svg'); }
.hml-flag--pl { background-image: url('https://cdn.jsdelivr.net/gh/lipis/flag-icons@7.2.3/flags/4x3/pl.svg'); }
.hml-flag--de { background-image: url('https://cdn.jsdelivr.net/gh/lipis/flag-icons@7.2.3/flags/4x3/de.svg'); }
.hml-flag--ro { background-image: url('https://cdn.jsdelivr.net/gh/lipis/flag-icons@7.2.3/flags/4x3/ro.svg'); }
.hml-code {
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: var(--green);
  font-weight: 700;
  line-height: 1;
}
.hml-text {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--muted-2);
  letter-spacing: -0.005em;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hml-text[dir="rtl"] {
  font-family: "Noto Naskh Arabic", "Amiri", "Geeza Pro", "Traditional Arabic", serif;
  font-style: normal;
  font-size: 15px;
  text-align: right;
  letter-spacing: 0;
  unicode-bidi: isolate;
}
@media (max-width: 520px) {
  .hero-marquee { height: 48px; }
  .hml { grid-template-columns: 64px minmax(0, 1fr); gap: 8px; }
  .hml-flag { width: 18px; height: 13px; }
  .hml-text { font-size: 15px; }
  .hml-text[dir="rtl"] { font-size: 16px; }
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: 28px;
  /* Cap column width so it doesn't sprawl across the whole hero-copy.
   * 500px = enough headroom for the longest CTA variant
   * ("un cabinet médical d'exemple →") in Fraunces italic 26px + padding. */
  max-width: 500px;
}
.hero-chips {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 14px 22px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted-2);
}
.hero-chips b { color: var(--green); font-family: "JetBrains Mono", monospace; font-weight: 700; }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  min-height: 48px;
  transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-green { background: var(--green); color: #0a1a13; border-color: var(--green); box-shadow: 0 6px 0 var(--green-2); }
.btn-green:hover { background: #66d2a0; }
.btn-ghost { background: transparent; color: var(--ink-text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-text); }
.btn-xl { padding: 18px 26px; font-size: 15px; min-height: 60px; }

/* ── GROS CTA HERO — sector-rotating ── */
.btn-mega {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 30px 18px;
  min-height: 88px;
  text-align: center;
  position: relative;
  font-size: 16px;
  background: var(--green);
  color: #0a1a13;
  border-color: var(--green);
  box-shadow: 0 8px 0 var(--green-2), 0 18px 32px -16px rgba(78,195,143,0.55);
  border-radius: var(--radius);
  transition: transform .15s, box-shadow .15s;
}
.btn-mega:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 0 var(--green-2), 0 22px 40px -16px rgba(78,195,143,0.65);
  background: #66d2a0;
}
.btn-mega:active {
  transform: translateY(2px);
  box-shadow: 0 4px 0 var(--green-2), 0 10px 20px -10px rgba(78,195,143,0.45);
}
.btn-mega-pre {
  font-size: 11px;
  letter-spacing: 0.22em;
  opacity: 0.78;
}
.btn-mega-main {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: 0;
  transition: opacity 0.25s ease-out;
  /* Reserve space for the LONGEST variant ("un cabinet médical d'exemple →")
   * via an invisible ghost — prevents layout shift on rotation. */
  display: inline-block;
  position: relative;
  text-align: center;
  white-space: nowrap;
}
.btn-mega-main::before {
  content: "un cabinet médical d’exemple →";
  display: block;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  white-space: nowrap; /* explicit — block elements don't always inherit cleanly */
  pointer-events: none;
}
/* Force the .btn-mega to span the full hero-ctas column */
.btn-mega { width: 100%; min-width: 0; }
/* "Voir le tarif" ghost — same full width, centered text, sits below mega */
.hero-ctas .btn-ghost {
  width: 100%;
  text-align: center;
  justify-content: center;
}
.btn-mega-hint {
  font-size: 10px;
  letter-spacing: 0.12em;
  opacity: 0.7;
  margin-top: 2px;
}
@media (max-width: 520px) {
  .btn-mega { padding: 14px 18px 16px; min-height: 80px; width: 100%; }
  /* Allow the rotating CTA text to wrap on very narrow screens so the longest
   * variant ("un cabinet médical d'exemple →") doesn't force horizontal scroll. */
  .btn-mega-main { font-size: 19px; white-space: normal; }
  .btn-mega-main::before { white-space: normal; }
}

.btn-ring {
  position: relative;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: currentColor;
}
.btn-ring::before {
  content: "";
  position: absolute; inset: -6px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  opacity: .4;
  animation: ring 1.8s ease-out infinite;
}
@keyframes ring { from { transform: scale(.6); opacity: .6; } to { transform: scale(1.4); opacity: 0; } }

/* Post-it (handmade touch #1) */
.postit {
  position: absolute;
  /* Tahar 2026-04-22 — bumped down from -12px to -110px so the post-it sits
   * clearly below the chips instead of overlapping them. */
  right: -8px; bottom: -110px;
  transform: rotate(-3deg);
  background: #f7e58c;
  color: #3a2b00;
  padding: 14px 18px 12px;
  font-family: "Caveat", cursive;
  font-size: 18px;
  box-shadow: 4px 6px 0 rgba(0,0,0,0.18), 0 14px 26px rgba(0,0,0,0.3);
  border-radius: 2px;
  min-width: 200px;
  display: none;
}
.postit-pin {
  position: absolute; top: -6px; left: 18px;
  width: 12px; height: 12px;
  background: var(--red-pen);
  border-radius: 50%;
  box-shadow: 0 2px 3px rgba(0,0,0,0.3);
}
.postit-line { display: block; font-size: 15px; opacity: .72; }
.postit-num {
  display: block;
  font-size: 17px; font-weight: 700; color: #1b1300; margin-top: 2px;
  font-family: "JetBrains Mono", monospace;
}
.postit-hand { display: block; font-size: 13px; opacity: .6; margin-top: 4px; }
@media (min-width: 1080px) { .postit { display: block; } }

/* Handset */
.handset {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  position: relative;
}
.handset::before {
  content: "";
  position: absolute; top: 50%; left: -8px;
  width: 6px; height: 56px;
  background: var(--line-2);
  border-radius: 0 3px 3px 0;
  transform: translateY(-50%);
  box-shadow: 0 68px 0 var(--line-2);
}
.handset-top {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted-2);
}
.handset-top .dot { width: 9px; height: 9px; border-radius: 50%; }
.handset-top .dot.red    { background: #d9594d; }
.handset-top .dot.amber  { background: #e0b247; }
.handset-top .dot.green  { background: var(--green); }
.handset-label {
  margin-left: 6px;
  display: inline-flex; align-items: center; gap: 6px;
  letter-spacing: 0.1em;
  color: var(--ink-text);
}
.handset-label i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  animation: led 1.6s infinite;
}
.handset-time { margin-left: auto; color: var(--green); }

.handset-screen {
  background: var(--ink);
  border-radius: 10px;
  padding: 18px;
  min-height: 360px;
  border: 1px solid var(--line);
  background-image:
    linear-gradient(to bottom, rgba(255,255,255,0.02), transparent 30px);
}
.chat { display: flex; flex-direction: column; gap: 10px; min-height: 320px; }
.chat--demo { min-height: 200px; }

.bubble {
  max-width: 82%;
  padding: 10px 14px 11px;
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(6px);
  animation: bub .3s ease-out forwards;
  animation-delay: calc(var(--i, 0) * 0.06s);
  position: relative;
}
@keyframes bub { to { opacity: 1; transform: translateY(0); } }
.bubble-role {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  opacity: .55;
  margin-bottom: 3px;
  text-transform: uppercase;
}
.bubble.client {
  align-self: flex-start;
  background: var(--ink-3);
  color: var(--ink-text);
  border-bottom-left-radius: 4px;
}
.bubble.ai {
  align-self: flex-end;
  background: var(--green);
  color: #0a1a13;
  border-bottom-right-radius: 4px;
}
.bubble.ai .bubble-role { opacity: .7; color: #0a1a13; }
.bubble.typing::after {
  content: "···";
  letter-spacing: 2px;
  font-weight: 700;
  animation: blink 1s steps(3) infinite;
}
@keyframes blink { 50% { opacity: .4; } }

.handset-foot { padding-top: 10px; }
.pulse {
  display: flex; gap: 3px; align-items: flex-end;
  height: 28px; padding: 0 8px;
}
.pulse span {
  flex: 1;
  background: var(--green);
  border-radius: 1px;
  animation: pulse-bar 1.2s ease-in-out infinite;
  opacity: .75;
}
.pulse span:nth-child(1) { --d: .00s; height: 20%; }
.pulse span:nth-child(2) { --d: .05s; height: 45%; }
.pulse span:nth-child(3) { --d: .10s; height: 70%; }
.pulse span:nth-child(4) { --d: .15s; height: 55%; }
.pulse span:nth-child(5) { --d: .20s; height: 85%; }
.pulse span:nth-child(6) { --d: .25s; height: 60%; }
.pulse span:nth-child(7) { --d: .30s; height: 40%; }
.pulse span:nth-child(8) { --d: .35s; height: 75%; }
.pulse span:nth-child(9) { --d: .40s; height: 50%; }
.pulse span:nth-child(10){ --d: .45s; height: 65%; }
.pulse span:nth-child(11){ --d: .50s; height: 30%; }
.pulse span:nth-child(12){ --d: .55s; height: 80%; }
.pulse span:nth-child(13){ --d: .60s; height: 45%; }
.pulse span:nth-child(14){ --d: .65s; height: 70%; }
.pulse span:nth-child(15){ --d: .70s; height: 55%; }
.pulse span:nth-child(16){ --d: .75s; height: 25%; }
.pulse span:nth-child(17){ --d: .80s; height: 60%; }
.pulse span:nth-child(18){ --d: .85s; height: 85%; }
.pulse span:nth-child(19){ --d: .90s; height: 40%; }
.pulse span:nth-child(20){ --d: .95s; height: 70%; }
.pulse span:nth-child(21){ --d:1.00s; height: 35%; }
.pulse span:nth-child(22){ --d:1.05s; height: 55%; }
.pulse span:nth-child(23){ --d:1.10s; height: 75%; }
.pulse span:nth-child(24){ --d:1.15s; height: 45%; }
.pulse span { animation-delay: var(--d); }
@keyframes pulse-bar {
  0%, 100% { transform: scaleY(.4); }
  50%      { transform: scaleY(1.1); }
}
.handset-note { font-size: 11px; color: var(--muted); margin-top: 8px; letter-spacing: 0.06em; }
.handset-note a { color: var(--green); border-bottom: 1px dotted var(--green); }

/* ══════ SMARTPHONE 3D (hero) — Claude Design v3 bundle ══════ */
.phone {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  aspect-ratio: 9 / 19;
  perspective: 2200px;
  perspective-origin: 50% 40%;
  color: #fff;
}
.phone-3d {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  box-shadow: -40px 50px 60px -20px rgba(0,0,0,0.6);
  transform: rotateY(-22deg) rotateX(8deg) rotateZ(-2deg);
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
  animation: phoneFloat 7s ease-in-out infinite;
}
.phone:hover .phone-3d {
  transform: rotateY(-8deg) rotateX(2deg) rotateZ(0deg);
}
@keyframes phoneFloat {
  0%,100% { transform: rotateY(-22deg) rotateX(8deg) rotateZ(-2deg) translateY(0); }
  50%     { transform: rotateY(-20deg) rotateX(7deg) rotateZ(-1.5deg) translateY(-8px); }
}

.phone-back {
  position: absolute;
  inset: 0;
  border-radius: 44px;
  transform: translateZ(-22px);
  background: linear-gradient(135deg, #2a2a2e 0%, #1a1a1d 40%, #0f0f11 100%);
  box-shadow: inset 0 0 0 1px #3a3a3f, inset 0 0 40px rgba(255,255,255,0.02);
}

.phone-rail {
  position: absolute;
  background: linear-gradient(to right, #1a1a1d, #3a3a3f 50%, #1a1a1d);
  transform-style: preserve-3d;
}
.phone-rail--t { top: 0; left: 0; right: 0; height: 22px; border-radius: 44px 44px 0 0; transform: translateZ(-11px) rotateX(-90deg); transform-origin: top; }
.phone-rail--b { bottom: 0; left: 0; right: 0; height: 22px; border-radius: 0 0 44px 44px; transform: translateZ(-11px) rotateX(90deg); transform-origin: bottom; }
.phone-rail--l {
  top: 0; left: 0; bottom: 0; width: 22px;
  background: linear-gradient(to bottom, #1a1a1d, #3a3a3f 50%, #1a1a1d);
  border-radius: 44px 0 0 44px;
  transform: translateZ(-11px) rotateY(90deg); transform-origin: left;
}
.phone-rail--r {
  top: 0; right: 0; bottom: 0; width: 22px;
  background: linear-gradient(to bottom, #1a1a1d, #3a3a3f 50%, #1a1a1d);
  border-radius: 0 44px 44px 0;
  transform: translateZ(-11px) rotateY(-90deg); transform-origin: right;
}

.phone-btn {
  position: absolute;
  background: linear-gradient(to right, #3a3a3f, #2a2a2e);
  border-radius: 2px;
  transform-style: preserve-3d;
}
.phone-btn--mute { left: -6px;  top: 14%;  width: 6px;  height: 30px; transform: translateZ(-6px); background: #d9594d; box-shadow: 0 0 0 1px #b0352a; }
.phone-btn--up   { left: -8px;  top: 22%;  width: 8px;  height: 54px; transform: translateZ(-8px); background: linear-gradient(to right, #1a1a1d, #3a3a3f 50%, #1a1a1d); }
.phone-btn--down { left: -8px;  top: 32%;  width: 8px;  height: 54px; transform: translateZ(-8px); background: linear-gradient(to right, #1a1a1d, #3a3a3f 50%, #1a1a1d); }
.phone-btn--power{ right: -8px; top: 24%;  width: 8px;  height: 76px; transform: translateZ(-8px); background: linear-gradient(to right, #1a1a1d, #3a3a3f 50%, #1a1a1d); }

.phone-body {
  position: absolute;
  inset: 0;
  border-radius: 44px;
  background: #050506;
  padding: 8px;
  transform: translateZ(0);
  box-shadow: inset 0 0 0 2px #1f1f22, inset 0 0 0 4px #050506, inset 0 0 30px rgba(255,255,255,0.02);
}
.phone-body::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 44px;
  background: linear-gradient(125deg,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.04) 18%,
    transparent 30%,
    transparent 70%,
    rgba(255,255,255,0.02) 88%,
    rgba(255,255,255,0.06) 100%);
  pointer-events: none;
  z-index: 10;
  mix-blend-mode: screen;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(78,195,143,0.22), transparent 55%),
    linear-gradient(to bottom, #121315 0%, #0b0c0e 100%);
  display: flex;
  flex-direction: column;
  padding: 14px 16px 16px;
}

.phone-status {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 2px 4px 10px;
  font-size: 13px;
  color: #fff;
  position: relative;
  z-index: 2;
}
.phone-time { font-weight: 600; justify-self: start; }
.phone-notch {
  width: 82px; height: 22px;
  background: #000;
  border-radius: 14px;
  position: relative;
  justify-self: center;
  box-shadow: inset 0 0 0 1px #1a1a1a;
}
.phone-notch::after {
  content: "";
  position: absolute;
  top: 50%; right: 8px;
  transform: translateY(-50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #2a2a2a 0%, #050506 60%);
  box-shadow: inset 0 0 0 1px #1a1a1a;
}
.phone-icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  justify-self: end;
}

.phone-incall {
  text-align: center;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.phone-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--green);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.phone-state i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: led 1.6s infinite;
}
.phone-avatar {
  position: relative;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  margin-bottom: 4px;
}
.phone-avatar svg { border-radius: 50%; position: relative; z-index: 2; }
.phone-avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--green);
  opacity: 0.6;
  animation: avRing 2s ease-out infinite;
}
.phone-avatar-ring--2 { animation-delay: 1s; }
@keyframes avRing {
  0%   { transform: scale(.9); opacity: .7; }
  100% { transform: scale(1.6); opacity: 0; }
}
.phone-caller {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 18px;
  color: #fff;
}
.phone-number {
  font-size: 11px;
  color: #9a9a9a;
  letter-spacing: 0.06em;
}
.phone-timer {
  margin-top: 6px;
  font-size: 13px;
  color: var(--green);
}

.phone-transcript {
  flex: 1;
  margin: 12px -2px 10px;
  padding: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.phone-transcript-kick {
  font-size: 9px;
  color: #6a6a6a;
  letter-spacing: 0.2em;
  margin-bottom: 6px;
}

.phone-controls {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 2px 0 0;
}
.phone-ctrl {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: grid; place-items: center;
  margin: 0 auto;
  transition: background .15s;
  border: none;
  cursor: pointer;
}
.phone-ctrl:hover { background: rgba(255,255,255,0.14); }
.phone-ctrl--end { background: #e0554a; }
.phone-ctrl--end:hover { background: #e86a60; }

.phone-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 18px;
  text-align: center;
  letter-spacing: 0.04em;
}
.phone-note a { color: var(--green); border-bottom: 1px dotted var(--green); }

@media (prefers-reduced-motion: reduce) {
  .phone-3d { animation: none; }
}
@media (max-width: 1080px) { .phone { max-width: 300px; } }
@media (max-width: 520px) {
  .phone { max-width: 280px; aspect-ratio: 9 / 18; }
  .phone-3d { transform: rotateY(-8deg) rotateX(2deg); animation: none; }
  .phone-controls { display: none; }
}

/* ══════ SECTION HEAD ══════ */
.sec-head {
  max-width: 820px;
  margin: 0 auto;
  padding: 100px 24px 32px;
}
.sec-head--wide { max-width: var(--maxw); }
.sec-head--on-dark h2, .sec-head--on-dark em { color: var(--ink-text); }
.kick {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--green);
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  margin-bottom: 18px;
}
.sec-head h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 22ch;
  text-wrap: balance;
}
.sec-head h2 em { color: var(--green); font-weight: 500; }
.sec-sub { margin-top: 14px; color: var(--muted-2); max-width: 58ch; font-size: 17px; }
.sec-sub a { color: var(--green); border-bottom: 1px dotted var(--green); }

/* ══════ DEMO ══════ */
.demo { border-top: 1px solid var(--line); background: var(--ink); padding-bottom: 80px; }
.demo-stage {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
}

/* Sector picker */
.picker {
  list-style: none;
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  counter-reset: sec;
}
.picker-item {
  --sc: var(--green);
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 12px 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  transition: background .15s, border-color .15s;
  width: 100%;
}
.picker-item:hover { background: var(--ink-3); }
.picker-item[aria-pressed="true"] {
  background: var(--ink-3);
  border-color: var(--sc);
  box-shadow: inset 3px 0 0 var(--sc);
}
.picker-n {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.picker-item[aria-pressed="true"] .picker-n { color: var(--sc); }
.picker-name {
  font-family: "Fraunces", serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-text);
}
.picker-name small {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
}
.picker-flag { font-size: 14px; align-self: center; }

/* ═════════════════════════════════════════════════════════════════════
 * "BIENTÔT" badge + card style — Tahar redesign 2026-05-03.
 *
 * Old design used opacity:0.55 + grayscale(0.9) + light gray bg which
 * made cards look BROKEN/DEAD on a dark-themed picker. New goal:
 * communicate "anticipation / sneak peek" not "out of order". Cards
 * stay readable, brand-coherent, with a clear amber "coming soon" pill
 * + a dashed border that hints at "in construction".
 * ═════════════════════════════════════════════════════════════════════ */

/* Hidden by default — only shown when parent has .picker-item--beta. */
.picker-beta {
  display: none;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  /* Amber pill — warm "preview" color that contrasts with the green
   * brand primary used on the active card. Clearly readable on both
   * light + dark variants of the card background. */
  background: #f59e0b;
  color: #ffffff;
  align-self: center;
  margin-left: 6px;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(245, 158, 11, 0.3);
}
.picker-item--beta .picker-beta { display: inline-flex; align-items: center; gap: 4px; }
/* Optional clock icon prepended via ::before — pure CSS, no asset needed. */
.picker-item--beta .picker-beta::before {
  content: '⏳';
  font-size: 9px;
}

/* Card style for "coming soon" sectors. Keep ALL text fully readable —
 * the prospect needs to see the vertical name + subtitle clearly, that's
 * what convinces them HorecAI covers their industry. The dashed border +
 * subtle striped background do the "in construction" signaling without
 * killing legibility. */
.picker-item--beta {
  cursor: pointer;  /* still clickable — opens contact form */
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.04) 0%,
    rgba(245, 158, 11, 0.04) 8px,
    rgba(245, 158, 11, 0.07) 8px,
    rgba(245, 158, 11, 0.07) 16px
  );
  border: 1px dashed rgba(245, 158, 11, 0.45);
}
/* Text stays at full color — readability beats "subtle" for sales cards. */
.picker-item--beta .picker-n { color: #b45309; }       /* darker amber for the "07" code */
.picker-item--beta .picker-name { color: var(--ink-text); }
.picker-item--beta .picker-name small { color: var(--muted); }
.picker-item--beta .picker-flag { /* keep emoji at full saturation */ filter: none; }

.picker-item--beta:hover {
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.08) 0%,
    rgba(245, 158, 11, 0.08) 8px,
    rgba(245, 158, 11, 0.12) 8px,
    rgba(245, 158, 11, 0.12) 16px
  );
  border-color: rgba(245, 158, 11, 0.7);
  transform: translateY(-1px);
  transition: all .15s ease;
}

.picker-item--beta[aria-pressed="true"] {
  /* When a beta sector is selected (form swapped to contact card),
   * promote the amber accent into a solid border so the choice is clear. */
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.10) 0%,
    rgba(245, 158, 11, 0.10) 8px,
    rgba(245, 158, 11, 0.15) 8px,
    rgba(245, 158, 11, 0.15) 16px
  );
  border: 1px solid #f59e0b;
  box-shadow: inset 3px 0 0 #f59e0b, 0 0 0 2px rgba(245, 158, 11, 0.15);
}
.picker-item--beta[aria-pressed="true"] .picker-n { color: #b45309; }

/* Beta callout that replaces the call-me-back form when a beta sector is
 * selected. Same vertical real-estate as the form so the layout doesn't jump. */
.demo-beta-card {
  background: linear-gradient(180deg, rgba(245,158,11,0.08), rgba(245,158,11,0.02));
  border: 1px solid rgba(245,158,11,0.4);
  border-radius: 14px;
  padding: 22px 22px 18px;
  margin-bottom: 14px;
  text-align: center;
}
.demo-beta-kick {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  background: #f59e0b;
  color: #1f2937;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.demo-beta-title { font-size: 18px; margin: 6px 0 8px; color: var(--ink-1, #fff); }
.demo-beta-body { font-size: 14px; color: var(--text-2, #cbd5e1); margin: 0 0 16px; line-height: 1.5; }
.demo-beta-foot { font-size: 11px; color: var(--text-3, #94a3b8); margin: 12px 0 0; }
.demo-beta-foot a { color: var(--sc, #4ec38f); text-decoration: underline; }

/* "Autre secteur ? On configure sur mesure" — static chip under the picker.
 * Tahar 2026-04-23: clarifies that the 6 demo sectors aren't the full catalog;
 * the admin supports 20+ verticals (boucherie, fleuriste, hôtel, électricien…). */
.picker-custom {
  margin: 10px 0 0;
  padding: 12px 14px;
  background: var(--ink-2);
  border: 1px dashed var(--line-2);
  border-radius: var(--radius-sm);
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.picker-custom a {
  color: var(--green);
  font-weight: 600;
  border-bottom: 1px solid rgba(78,195,143,0.35);
  white-space: nowrap;
}
.picker-custom a:hover { border-bottom-color: var(--green); }

/* "🌍 97 langues supportées" chip — inside callcard-head, clarifies that
 * the FR/NL toggle below (only for BTP profile) is a demo detail, not a
 * limit on what the AI actually speaks. */
.callcard-langs-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(78,195,143,0.08);
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: auto;
  white-space: nowrap;
}
.callcard-langs-badge b { color: var(--green); font-weight: 700; }

/* Callcard */
.callcard {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  grid-template-areas:
    "head head"
    "dial chat";
  --sc: var(--green);
  position: relative;
  overflow: hidden;
}
.callcard::before {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: 3px;
  background: var(--sc);
}

.callcard-head { grid-area: head; display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--line-2); }
.callcard-tag {
  font-size: 11px; letter-spacing: 0.14em;
  color: var(--sc);
  border: 1px solid var(--line-2);
  padding: 3px 8px;
  border-radius: 2px;
}
.callcard-head h3 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.01em;
}
.callcard-sub { width: 100%; color: var(--muted-2); font-size: 14px; }
.callcard-lang {
  margin-left: auto;
  display: inline-flex; gap: 4px;
  padding: 3px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
}
/* .callcard-lang's class selector was winning over the UA [hidden]
 * default, so the FR/NL toggle stayed visible even for profiles without
 * hasLang:true (JS sets el.hidden=true correctly). Explicit override. */
.callcard-lang[hidden] { display: none; }
.callcard-lang button {
  padding: 6px 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--muted-2);
  border-radius: 4px;
}
.callcard-lang button[aria-pressed="true"] {
  background: var(--sc);
  color: #0a1a13;
  font-weight: 700;
}

.callcard-dial { grid-area: dial; display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }
.callcard-dial-kick { font-size: 11px; color: var(--muted); letter-spacing: 0.18em; }
.bignum {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: 0.02em;
  color: var(--ink-text);
  padding: 14px 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--ink);
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.015) 0 1px, transparent 1px 3px);
  transition: color .2s, border-color .2s;
}
.bignum:hover { color: var(--sc); border-color: var(--sc); }
/* Tag variant — used when the bignum is a tagline, not a phone number */
.bignum--tag {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: 0;
  color: var(--green);
  padding: 16px 18px;
}
.bignum--tag:hover { color: var(--green); border-color: var(--line-2); }
.callcard-disclaim { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }

.callcard-chat { grid-area: chat; display: flex; flex-direction: column; gap: 10px; }
.callcard-chat-kick { font-size: 11px; color: var(--muted); letter-spacing: 0.18em; }
.replay {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted-2);
  padding: 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  letter-spacing: 0.1em;
}
.replay:hover { color: var(--sc); border-color: var(--sc); }

/* ══════ BENEFITS · editorial list ══════ */
.benefits {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px 80px;
}
/* 2026-04-22 Tahar — restructured into 3 thematic groups (A · B · C) instead
 * of a single 9-item irregular grid. Cleaner narrative: client → setup → patron. */
.ben-group {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px 28px;
}
.ben-group + .ben-group { padding-top: 8px; }
.ben-group-title {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-text);
  margin: 0 0 16px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.ben-group-letter {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  background: var(--green);
  color: #0a1a13;
  font-weight: 700;
  font-size: 11px;
  border-radius: 2px;
  letter-spacing: 0;
}
.ben-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 36px;
  margin: 0;
  padding: 0;
  counter-reset: ben;
}

.ben { position: relative; }
.ben-num {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-style: italic;
  font-size: 44px;
  color: var(--line-2);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.ben h3 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin-bottom: 8px;
  color: var(--ink-text);
}
.ben-accent-green { color: var(--green); }
.ben p {
  color: var(--muted-2);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 44ch;
}
.ben p a { color: var(--green); border-bottom: 1px dotted var(--green); }
.ben p a:hover { border-bottom-style: solid; }
.ben p b.mono {
  color: var(--ink-text);
  background: rgba(78,195,143,0.08);
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 700;
}
/* .ben--big / .ben--shift removed — replaced by clean 3×3 thematic groups */

.scribble {
  font-family: "Caveat", cursive;
  color: var(--red-pen);
  font-size: 22px;
  margin-left: 8px;
  transform: rotate(-3deg);
  display: inline-block;
}

/* ══════ CALC — slate ══════ */
.calc {
  background: var(--cream);
  color: var(--cream-ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-bottom: 90px;
}
.calc .sec-head h2 { color: var(--cream-ink); }
.calc .sec-head h2 em { color: var(--green-on-cream); }
.calc .kick { color: var(--green-on-cream); border-color: var(--cream-3); background: var(--cream-2); }
.calc .sec-sub { color: #4b453a; }

/* 2026-05-01 (Tahar req): didactic intro for the ROI calculator. The 2-step
 * form was missing a "what is this for / how to use it" lead — first-time
 * visitors didn't understand they were about to estimate lost revenue. */
.sec-sub--on-dark { color: #d8d3c5; max-width: 64ch; }
.sec-sub-foot { display: block; margin-top: 10px; font-size: 12px; color: #8a8474; opacity: 0.85; }
.legend-hint { margin-left: 6px; font-size: 11px; color: #8a8474; font-weight: 400; letter-spacing: 0.04em; text-transform: none; }
.legend-help { margin: 6px 0 12px; font-size: 12px; color: #6b6557; line-height: 1.5; max-width: 60ch; }

.slate {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 30px 24px 0;
  display: grid;
  gap: 24px;
}

/* Inputs */
.slate-inputs {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--cream-3);
  border-radius: var(--radius);
}
.slate-field legend {
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--cream-ink);
  margin-bottom: 12px;
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--cream-3);
  background: var(--cream);
  border-radius: 2px;
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.sector-chip {
  display: flex; flex-direction: column;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--cream-3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .15s, background .15s;
  position: relative;
}
.sector-chip input { position: absolute; opacity: 0; pointer-events: none; }
.sector-chip:hover { background: var(--cream); }
.sector-chip:has(input:checked) {
  border-color: var(--green-on-cream);
  background: #fff;
  box-shadow: inset 3px 0 0 var(--green-on-cream);
}
.sector-name { font-weight: 600; font-size: 14px; color: var(--cream-ink); }
.sector-ticket { font-size: 11px; color: #6a6356; letter-spacing: 0.04em; }

.slider-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}
#callsRange {
  -webkit-appearance: none; appearance: none;
  width: 100%;
  height: 4px;
  background: var(--cream-3);
  border-radius: 2px;
  outline: none;
}
#callsRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--cream-ink);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--cream-3), 0 2px 6px rgba(0,0,0,.2);
  cursor: pointer;
}
#callsRange::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--cream-ink);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--cream-3);
  cursor: pointer;
}
.slider-out {
  min-width: 64px;
  text-align: right;
  font-size: 28px;
  font-weight: 700;
  color: var(--cream-ink);
}
.slider-marks {
  display: flex; justify-content: space-between;
  font-size: 11px;
  color: #6a6356;
  margin-top: 6px;
}

/* EQUATION · slate */
.slate-equation {
  background: var(--cream-ink);
  color: var(--cream);
  padding: 44px 36px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.slate-equation::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.015) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.015) 0 1px, transparent 1px 4px);
  pointer-events: none;
}
.eq-tag {
  font-size: 11px; color: var(--muted-2); letter-spacing: 0.18em;
  margin-bottom: 14px;
  position: relative;
}
.eq-line {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 14px 18px;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
}
.eq-a {
  font-style: normal;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 0.7em;
  color: var(--cream);
  background: rgba(255,255,255,0.06);
  padding: 6px 12px;
  border-radius: 4px;
  transition: background .2s, transform .25s;
}
.eq-a.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.08); background: rgba(78,195,143,0.25); } }
.eq-op, .eq-eq { color: var(--muted-2); font-weight: 400; }
.eq-total {
  font-style: italic;
  color: var(--green);
  font-size: 1.2em;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  text-decoration-color: rgba(78,195,143,0.4);
}
.eq-unit { font-size: 0.4em; color: var(--muted-2); }
.eq-foot { margin-top: 18px; font-size: 13px; color: var(--muted-2); letter-spacing: 0.04em; position: relative; }
.eq-annot {
  position: absolute;
  right: 36px; bottom: 22px;
  font-family: "Caveat", cursive;
  color: var(--red-pen);
  font-size: 28px;
  transform: rotate(-6deg);
}
.scribble-red { color: var(--red-pen); }

/* TIERS */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: stretch;
}
.tier {
  background: #fff;
  border: 1px solid var(--cream-3);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  position: relative;
}
.tier:hover { transform: translateY(-2px); }
.tier-tag { font-size: 11px; letter-spacing: 0.2em; color: #6a6356; }
/* 2026-05-01 (Tahar req): hide all monthly prices on tier cards. The
 * pricing decision is now framed as "demande un devis personnalisé selon
 * ton volume" rather than a public price grid — easier to negotiate per
 * client + avoids competitor scraping. Toggleable: remove the line below
 * to restore public prices. */
.tier-price { display: none !important; }
.tier-price-line { display: none !important; }
/* Original styles kept for reference (unused while tier-price is hidden) */
.tier-price-original { font-family: "Fraunces", serif; font-size: 44px; font-weight: 500; line-height: 1; color: var(--cream-ink); display: flex; align-items: baseline; gap: 4px; }
.tier-price-original small { font-size: 14px; color: #6a6356; font-weight: 400; }
.tier-limit { font-size: 12px; color: #6a6356; margin-top: 4px; letter-spacing: 0.04em; }
.tier ul { list-style: none; display: grid; gap: 8px; font-size: 14.5px; color: var(--cream-ink); padding-top: 12px; border-top: 1px dashed var(--cream-3); }
.tier li { padding-left: 18px; position: relative; }
.tier li::before { content: "→"; position: absolute; left: 0; top: 1px; color: var(--green-on-cream); font-weight: 700; }

.tier--featured {
  border-color: var(--green-on-cream);
  box-shadow: 0 10px 30px -14px rgba(11,106,69,0.3), inset 0 0 0 2px var(--green-on-cream);
  transform: translateY(-6px);
  background: #fdfbf4;
}
.tier--featured:hover { transform: translateY(-8px); }
.tier-badge {
  position: absolute; top: -12px; left: 20px;
  background: var(--green-on-cream);
  color: #fff;
  font-size: 10.5px; letter-spacing: 0.18em;
  padding: 5px 10px;
  border-radius: 2px;
}

.tier.match {
  border-color: var(--green-on-cream);
  box-shadow: 0 0 0 2px var(--green-on-cream) inset;
}
.tier.custom-match {
  border-color: var(--green-on-cream);
  box-shadow: 0 0 0 2px var(--green-on-cream) inset, 0 14px 32px -16px rgba(11,106,69,0.4);
}

/* 2026-04-22 v3 — 4-tier grid (Essai · Starter · Standard ⭐ · Pro) */
.tiers--four { grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tier--essai {
  background: linear-gradient(180deg, #fdfbf4 0%, #fff 100%);
  border-style: dashed;
}
.tier--essai .tier-tag { color: var(--green-on-cream); }

/* SUR MESURE row — Volume + BTP */
.tiers--custom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: stretch;
  margin-top: 18px;
}
.tier--custom {
  background: var(--cream-2, #f7f1de);
  border-style: solid;
  border-color: var(--cream-3);
}
.tier--custom .tier-price {
  font-size: 36px;
  flex-wrap: wrap;
  align-items: baseline;
}
.tier--custom .tier-price small:first-child {
  font-family: "Caveat", cursive;
  font-size: 22px;
  color: var(--green-on-cream);
  font-weight: 700;
  margin-right: 4px;
}
.tier-pitch {
  font-size: 14px;
  line-height: 1.55;
  color: var(--cream-ink);
  padding-top: 12px;
  border-top: 1px dashed var(--cream-3);
  margin: 0;
}
.tier-cta {
  display: inline-block;
  margin-top: auto;
  padding: 10px 16px;
  background: var(--green-on-cream);
  color: #fff;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  align-self: flex-start;
  transition: transform 0.15s, background 0.15s;
}
.tier-cta:hover { background: #084d33; transform: translateY(-1px); }
.tier--btp {
  background: linear-gradient(135deg, #f7f1de 0%, #ede5cb 100%);
}

/* 2026-04-22 v4+v5+hotels — slate mode visibility (4 grids, exclusive):
 * - mode-horeca   : show .tiers--horeca only (Essai/Starter/Standard/Pro)
 * - mode-services : show .tiers--services only (Filtre/Agenda/Sur-mesure)
 * - mode-volume   : show .tiers--volume only (Volume card)
 * - mode-hotel    : show .tiers--hotel only (Concierge/Premium)
 */
.tiers--horeca, .tiers--services, .tiers--volume, .tiers--hotel { display: none; }
.slate--mode-horeca   .tiers--horeca   { display: grid; }
.slate--mode-services .tiers--services { display: grid; }
.slate--mode-volume   .tiers--volume   { display: grid; }
.slate--mode-hotel    .tiers--hotel    { display: grid; }

/* Hotel mode hides the other tier grids (defensive — they are already
 * display:none above, but explicit override prevents a stale class from
 * leaking a second grid into the DOM). */
.slate--mode-hotel .tiers--horeca,
.slate--mode-hotel .tiers--services,
.slate--mode-hotel .tiers--volume,
.slate--mode-hotel .tiers--four { display: none; }

/* SERVICES grid: 3 columns equal */
.tiers--services { grid-template-columns: repeat(3, 1fr); gap: 12px; }
/* VOLUME grid: single centered card, max-width to avoid awkward wide stretch */
.tiers--volume {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}
/* HOTEL grid: 2 columns (Concierge / Premium), centered */
.tiers--hotel {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}
.slate--mode-volume .tier[data-tier="volume"] {
  padding: 32px 28px;
  box-shadow: 0 18px 40px -18px rgba(11,106,69,0.45), 0 0 0 2px var(--green-on-cream) inset;
}
.slate--mode-volume .tier[data-tier="volume"] .tier-price { font-size: 44px; }

/* Service tier styling — slightly different vibe from HORECA */
.tier--service {
  background: linear-gradient(180deg, #fff 0%, #fdfbf4 100%);
}
.tier--service .tier-tag { color: var(--green-on-cream); }

/* Hotel tier styling — premium feel, similar to services but distinct accent */
.tier--hotel {
  background: linear-gradient(180deg, #fff 0%, #fdfbf4 100%);
}
.tier--hotel .tier-tag { color: var(--green-on-cream); }

/* Self-serve addons hidden in services / volume / hotel modes (custom = all-inclusive) */
.slate--mode-services .addons,
.slate--mode-volume .addons,
.slate--mode-hotel .addons { display: none; }
/* Show all-inclusive notice in services / volume / hotel modes */
.custom-incl { display: none; }
.slate--mode-services .custom-incl,
.slate--mode-volume .custom-incl,
.slate--mode-hotel .custom-incl { display: block; }
/* BTP-specific line only when sector=BTP (handled by extra body class on slate) */
.custom-incl-list-btp { display: none; }
.slate--mode-services.slate--btp-sector .custom-incl-list-btp { display: list-item; }
/* Hotel-specific PMS line only when mode=hotel */
.custom-incl-list-hotel { display: none; }
.slate--mode-hotel .custom-incl-list-hotel { display: list-item; }

.custom-incl {
  background: #fdfbf4;
  border: 1px dashed var(--green-on-cream);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-top: 12px;
}
.custom-incl-kick {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--green-on-cream);
  margin: 0 0 12px;
}
.custom-incl-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  font-size: 14.5px;
  color: var(--cream-ink);
}
.custom-incl-list li {
  padding-left: 22px;
  position: relative;
  line-height: 1.45;
}
.custom-incl-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-on-cream);
  font-weight: 700;
}

/* ADDONS */
.addons {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--cream-3);
  border-radius: var(--radius);
  overflow: hidden;
}
.addons-kick {
  padding: 18px;
  font-size: 11px;
  color: #6a6356;
  letter-spacing: 0.2em;
  border-right: 1px solid var(--cream-3);
  align-self: center;
  white-space: nowrap;
}
.addon {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 16px 18px;
  cursor: pointer;
  border-right: 1px solid var(--cream-3);
  transition: background .15s;
}
.addon:last-child { border-right: none; }
.addon:hover { background: var(--cream); }
.addon input { width: 18px; height: 18px; accent-color: var(--green-on-cream); }
.addon-name { font-weight: 600; font-size: 14px; }
.addon-desc { display: block; font-size: 12px; color: #6a6356; margin-top: 2px; }
.addon-price { color: var(--green-on-cream); font-weight: 700; }

.slate-disclaim {
  font-size: 12px; color: #6a6356;
  letter-spacing: 0.04em;
}
.slate-disclaim b { color: var(--green-on-cream); }

/* ══════ LANGS ══════ */
.langs { padding-bottom: 90px; }
.langs-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
}
.lang {
  padding: 22px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
}
.lang:last-child { border-right: none; }
.lang header { display: flex; align-items: center; gap: 8px; border-bottom: 1px dashed var(--line-2); padding-bottom: 10px; }
.flag { font-size: 22px; }
.lang header .mono { font-size: 11px; color: var(--muted); letter-spacing: 0.14em; }
.lang-q { font-size: 14px; color: var(--muted-2); font-style: italic; font-family: "Fraunces", serif; }
.lang-a {
  font-size: 15px;
  color: var(--ink-text);
  font-family: "Fraunces", serif;
  padding: 12px;
  background: rgba(78,195,143,0.08);
  border-left: 2px solid var(--green);
  border-radius: 0 6px 6px 0;
}
.langs-note {
  max-width: var(--maxw);
  margin: 18px auto 0;
  padding: 0 24px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
}

/* ══════ ONBOARD ══════ */
.onboard { padding-bottom: 90px; border-top: 1px solid var(--line); background: var(--ink-2); }
.onboard-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}
.steps {
  list-style: none;
  display: grid;
  gap: 20px;
}
.step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 6px 24px;
  padding: 20px 0;
  border-bottom: 1px dashed var(--line-2);
}
.step:last-child { border-bottom: none; }
.step-tag {
  grid-column: 1;
  grid-row: 1 / span 2;
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.18em;
  padding-top: 4px;
}
.step h3 {
  grid-column: 2;
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.step p { grid-column: 2; margin-top: 6px; color: var(--muted-2); font-size: 15px; }

/* Visit card — handmade touch #2 (stamp) */
.visit {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--ink);
  border-radius: var(--radius);
  transform: rotate(-0.6deg);
}
.visit-kick { font-size: 11px; color: var(--green); letter-spacing: 0.2em; }
.visit h3 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-top: 10px;
}
.visit p { margin-top: 12px; color: var(--muted-2); font-size: 15px; }
.visit-sig {
  font-family: "Caveat", cursive;
  color: var(--muted-2);
  font-size: 20px;
  margin-top: 16px;
}
.stamp {
  position: absolute;
  bottom: 20px; right: 20px;
  width: 96px; height: 96px;
  display: grid; place-items: center;
  border: 3px solid var(--red-pen);
  border-radius: 50%;
  color: var(--red-pen);
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  letter-spacing: 0.12em;
  transform: rotate(-8deg);
  opacity: 0.85;
  line-height: 1.1;
}
.stamp::before, .stamp::after {
  content: "";
  position: absolute;
  left: -6px; right: -6px;
  height: 1.5px;
  background: var(--red-pen);
  opacity: 0.5;
}
.stamp::before { top: 22px; }
.stamp::after { bottom: 22px; }
.stamp small { font-size: 10px; letter-spacing: 0.14em; opacity: 0.8; font-weight: 500; }

/* ══════ FORM ══════ */
.access { padding: 0 0 100px; border-top: 1px solid var(--line); }
.form {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row--wide { grid-column: span 2; }
.form-row label { font-size: 13px; color: var(--muted-2); letter-spacing: 0.02em; font-weight: 500; }
.form-row .hint { color: var(--muted); font-size: 11px; margin-left: 6px; }
.form-row input, .form-row select, .form-row textarea {
  font: inherit;
  padding: 14px 14px;
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--ink-text);
  transition: border-color .15s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--green);
}
.form-consent { grid-column: span 2; }
.form-consent label { display: flex; gap: 10px; align-items: flex-start; color: var(--muted-2); font-size: 13px; }
.form-consent input { width: 18px; height: 18px; accent-color: var(--green); margin-top: 2px; flex: 0 0 auto; }
.form-submit { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-status { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.form-status.is-error { color: var(--red-pen); }
.form-status.is-ok { color: var(--green); }

/* ══════ FOOT ══════ */
.foot {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 30px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.foot-brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.foot-baseline { color: var(--muted); font-size: 13px; width: 100%; margin-top: 4px; }
.foot-meta { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; text-align: right; }
.foot-meta a:hover { color: var(--green); }
.foot-credit { margin-top: 10px; opacity: 0.7; font-size: 11px; }
.foot-credit a { color: var(--ink-text); border-bottom: 1px dotted var(--muted); }
.foot-credit a:hover { color: var(--green); border-bottom-color: var(--green); }

/* ══════ RESPONSIVE ══════ */
@media (max-width: 1080px) {
  /* Tahar 2026-04-23 — minmax(0, 1fr) instead of 1fr so the column can
   * shrink below its min-content. Without this, any nowrap descendant
   * (btn-mega ghost, hml-text ellipsis) forces the grid cell wider than
   * the viewport. min-width:0 on .hero-copy is the belt-and-braces. */
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; min-height: auto; padding-top: 20px; }
  .hero-copy, .phone { min-width: 0; }
  /* 2026-04-23 — Tahar: "l'animation de téléphone dans le héros tu peux
   * l'enlever parce que mon téléphone ça rend vraiment pas Ouf". The 3D
   * iPhone mockup + live transcript is a desktop-only flourish; on mobile
   * it eats ~600px of scroll and the perspective tilt looks broken at
   * small widths. Hide it + kill the heroLoop() work it feeds. */
  .phone { display: none; }
  .postit { position: static; display: inline-block; margin-top: 26px; transform: rotate(-2deg); }
  .demo-stage { grid-template-columns: 1fr; }
  .callcard { grid-template-columns: 1fr; grid-template-areas: "head" "dial" "chat"; }
  .onboard-grid { grid-template-columns: 1fr; }
  .mast-edition { display: none; }
  /* 2026-04-23 — keep grid at 3 cols (auto 1fr auto) so the CTA stays
   * right-anchored and brand stays left, with the hidden .mast-edition
   * column collapsed to 0 by display:none. Override removed. */
  .mast-inner { padding: 12px 16px; gap: 12px; }
  .mast-cta { padding: 10px 16px; font-size: 13px; }
  .mast-cta-label { }
}
@media (max-width: 960px) {
  .tiers--four { grid-template-columns: 1fr 1fr; }
  .ben-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .hero-rule { font-size: 10px; gap: 8px; }
  .hero-rule span:nth-child(2) { display: none; }
  .hero-rule--bottom span:nth-child(2) { display: block; }
  .ben-row { grid-template-columns: 1fr; gap: 28px; }
  .ben-group + .ben-group { padding-top: 0; }
  .slate-inputs { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: 1fr 1fr; }
  .tiers, .tiers--four, .tiers--custom, .tiers--hotel { grid-template-columns: 1fr; }
  .tier--featured { transform: none; }
  .addons { grid-template-columns: 1fr; }
  .addon, .addons-kick { border-right: none; border-bottom: 1px solid var(--cream-3); }
  .addons-kick { padding: 14px 18px; }
  .langs-grid { grid-template-columns: 1fr 1fr; }
  .lang:nth-child(2) { border-right: none; }
  .lang:nth-child(1), .lang:nth-child(2) { border-bottom: 1px solid var(--line); }
  .form { grid-template-columns: 1fr; }
  .form-row--wide { grid-column: auto; }
  .mast-nav { gap: 12px; font-size: 12px; }
  .step { grid-template-columns: 1fr; gap: 6px; }
  .step-tag, .step h3, .step p { grid-column: 1; }
  .step-tag { grid-row: auto; }
  .foot { flex-direction: column; text-align: left; }
  .foot-meta { text-align: left; }
  .eq-line { font-size: 34px; gap: 8px 12px; }
  .eq-annot { position: static; display: block; margin-top: 12px; text-align: right; }
}
@media (max-width: 520px) {
  .mast-nav a:not([href="#demo"]) { display: none; }
  /* Tahar 2026-04-23 — mobile H1 was overflowing at clamp min 44px
   * ("Continue de travailler," = ~480px > 390px viewport). 32px + tight
   * line-height keeps the 3-line composition but fits in a 360px column. */
  .hero h1 { font-size: 32px; line-height: 1.02; letter-spacing: -0.02em; }
  /* Keep the line breaks — they shape the rhythm of the phrase. */
  .hero-marquee-lede { padding-left: 10px; margin: 22px 0 10px; }
  .hero-marquee-lede > span:last-child { font-size: 17px; line-height: 1.35; }
  .hero-marquee-lede-kick { font-size: 10px; }
  .hero-ctas .btn { flex: 1 1 100%; justify-content: center; }
  .bignum { font-size: 28px; text-align: center; }
  .langs-grid { grid-template-columns: 1fr; }
  .lang { border-right: none; border-bottom: 1px solid var(--line); }
  .lang:last-child { border-bottom: none; }
  /* Demo section header — tighten on small screens */
  .demo .sec-head h2 { font-size: 28px; line-height: 1.1; }
  .demo .sec-head .sec-sub { font-size: 15px; }

  /* 2026-04-23 — full mobile redesign of the demo section after Tahar said
   * "c'est vraiment moche et incompréhensible". Key changes:
   *  - Picker: 2-col → 1-col (tall rows, one tap per choice, no wrap)
   *  - Each row: 64px min-height, big name, subtitle, chevron-style affordance
   *  - Hide the scripted-dialogue preview (.callcard-chat) — redundant with the
   *    hero marquee and adds ~600px of scroll for zero action value on phones
   *  - Hide the "97 langues" badge on mobile (repeated info)
   *  - Kill the "Dans quelques secondes." decorative bignum
   *  - Form inputs: min 52px + 16px font (stops iOS auto-zoom)
   *  - Submit: full width, same height */
  .picker { grid-template-columns: 1fr; gap: 8px; padding: 8px; }
  .picker-item {
    min-height: 64px;
    padding: 14px 16px;
    grid-template-columns: 28px 1fr auto;
    gap: 12px;
    align-items: center;
  }
  .picker-item[aria-pressed="true"] {
    box-shadow: inset 4px 0 0 var(--sc);
  }
  .picker-n { font-size: 12px; align-self: center; }
  .picker-name { font-size: 16px; line-height: 1.25; }
  .picker-name small { font-size: 12px; margin-top: 3px; }
  .picker-flag { align-self: center; font-size: 16px; }
  .picker-custom { font-size: 12px; padding: 10px 12px; }

  /* Callcard — strip decorative noise on mobile, keep the form as the hero action */
  .callcard { padding: 18px 16px; }
  .callcard-head h3 { font-size: 20px; }
  .callcard-langs-badge { display: none; }   /* already in hero marquee */
  .callcard-dial .bignum { display: none; }  /* "Dans quelques secondes." — decorative */
  .callcard-dial-kick { font-size: 10px; }
  .callcard-chat { display: none; }           /* CE QUE TU VAS ENTENDRE — redundant */

  /* Demo-request form — bigger everything, full-width submit */
  .drf-row input {
    min-height: 52px;
    font-size: 16px;           /* >= 16px prevents iOS zoom-on-focus */
    padding: 14px 16px;
  }
  .drf-submit {
    width: 100%;
    min-height: 56px;
    font-size: 16px;
  }

  /* 2026-04-23 — mobile polish pass 2 (contact form + ROI equation) */

  /* Contact form (section #contact, .form-row) — same iOS-zoom fix + bigger
   * touch targets as the demo form above. */
  .form-row input, .form-row select, .form-row textarea {
    font-size: 16px;
    min-height: 48px;
    padding: 12px 14px;
  }
  .form-row textarea { min-height: 96px; }
  .form-submit .btn { width: 100%; min-height: 52px; justify-content: center; }

  /* ROI equation — tone down the clamp min so it doesn't overflow on 360px
   * phones. Was 34px at the 820px rule, but even that wraps awkwardly on
   * narrow screens. 24px keeps the editorial feel without eating 2 lines
   * for a 3-term equation. */
  .eq-line { font-size: 24px; gap: 6px 10px; }
  .eq-a { padding: 4px 8px; font-size: 0.75em; }
  .eq-total { font-size: 1.1em; }
  .eq-annot { font-size: 22px; margin-top: 8px; }

  /* Sector chips (ROI) — 1 per row on narrow phones; 2-col was cramping
   * "Cabinet médical" / "Boulangerie" text. */
  .sector-grid { grid-template-columns: 1fr; }
  .sector-chip { min-height: 52px; padding: 12px 14px; }
}

/* Commit 3 — reverse-call form inside the callcard dial */
.callcard-sub-small {
  font-size: 0.8rem;
  color: var(--muted-2);
  margin-top: -4px;
  margin-bottom: 12px;
}

.demo-request-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0 8px;
}

.drf-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drf-row label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.drf-row input {
  padding: 12px 14px;
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  color: var(--ink-text);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.drf-row input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(78, 195, 143, 0.18);
}

.drf-turnstile {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drf-robot-fallback {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius-sm);
  color: var(--muted-2);
  font-size: 0.9rem;
  cursor: pointer;
}

.drf-submit[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.drf-status {
  font-size: 0.85rem;
  color: var(--muted-2);
  min-height: 1.2em;
}

.drf-status.is-error {
  color: var(--red-pen);
}

/* I3 fix — Turnstile-load-failure surface */
.drf-robot-fallback.drf-error {
  border-color: var(--red-pen);
  color: var(--red-pen);
  font-size: 0.85rem;
  padding: 12px 14px;
}
.drf-robot-fallback.drf-error a {
  color: var(--red-pen);
  text-decoration: underline;
  font-weight: 600;
}
