/* ═══════════════════════════════════════════════════════════════════════════
   Folotim — site vitrine
   Feuille partagée par index.html et tarifs.html. Extraite du <style> inline
   quand une deuxième page est arrivée : dupliquer 300 lignes de CSS aurait
   garanti la divergence des deux pages au premier ajustement.
   ═══════════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand:#4452F8; --brand-dark:#2534BA; --brand-light:#5A66FA; --brand-muted:#ECEEFF; --brand-hover:#3340D6;
  --accent:#23E2B6; --accent-dark:#0E9E82; --accent-muted:#E4FBF5;
  --ink:#101A4B; --ink-muted:#5B6488; --ink-faint:#9AA1C0;
  --navy:#0C1440; --navy-light:#242F6B; --navy-border:#2E3A7A;
  --page:#F4F5FB; --card:#fff; --border:#E3E6F2;
  --red:#F53B21; --red-muted:#F53B2122;
  --grad:linear-gradient(135deg,#4452F8 0%,#2534BA 100%);
  --font:'DM Sans',system-ui,sans-serif; --mono:'DM Mono',monospace;
  --r:12px; --r-lg:20px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--page); overflow-x: hidden; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brand-muted); }

.eyebrow {
  font-family: var(--mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
  display: block; margin-bottom: 16px;
}
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; }
.section { padding: 104px 24px; }
.wrap { max-width: 1120px; margin: 0 auto; }
.lead { font-size: 1.1rem; line-height: 1.65; color: var(--ink-muted); }

/* ── Boutons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 100px; border: 1px solid transparent;
  font-family: var(--font); font-weight: 600; font-size: .95rem;
  text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: var(--brand-muted); }
.btn-ghost { background: transparent; color: #fff; border-color: var(--navy-border); }
.btn-ghost:hover { background: rgba(255,255,255,.06); border-color: var(--brand-light); }
.btn-outline { background: transparent; color: var(--brand-dark); border-color: var(--border); }
.btn-outline:hover { background: var(--brand-muted); border-color: var(--brand-light); }

/* ── Nav ── */
nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px; transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
nav.scrolled { background: rgba(12,20,64,.92); backdrop-filter: blur(14px); border-color: var(--navy-border); }
/* Les sous-pages n'ont pas de hero plein écran : la barre est opaque dès le chargement. */
nav.solid { background: rgba(12,20,64,.92); backdrop-filter: blur(14px); border-color: var(--navy-border); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo svg { width: 32px; height: 32px; border-radius: 8px; }
.nav-logo span { font-weight: 700; font-size: 1.2rem; color: #fff; letter-spacing: -.02em; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a:not(.btn) { color: rgba(255,255,255,.7); text-decoration: none; font-size: .9rem; font-weight: 500; transition: color .2s; }
.nav-links a:not(.btn):hover { color: #fff; }
.nav-links a[aria-current="page"] { color: #fff; }
.nav-links .btn { padding: 9px 20px; font-size: .85rem; }
.nav-burger {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
}
.nav-burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s, opacity .25s; }
nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
nav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
#hero {
  background: var(--navy); color: #fff; position: relative; overflow: hidden;
  padding: 168px 24px 110px;
}
#hero::before {
  content: ''; position: absolute; top: -30%; right: -12%;
  width: 60vw; height: 60vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(68,82,248,.35) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--navy-border); border-radius: 100px;
  padding: 7px 16px; margin-bottom: 30px;
}
.hero-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.h1-accent { color: var(--accent); }
.hero-sub { margin: 26px 0 38px; font-size: 1.15rem; line-height: 1.6; color: #B8BEDF; max-width: 34em; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-family: var(--mono); font-size: .78rem; color: #8891BC; }

/* ── Hero : captures de l'app en cascade ── */
.hero-shots { position: relative; z-index: 2; padding: 9% 0 14%; }
.hero-shots .shot { box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); }
.hero-shots .back { position: absolute; top: 0; right: -3%; width: 58%; z-index: 0; }
.hero-shots .main { position: relative; width: 88%; z-index: 1; }
.hero-shots .front { position: absolute; bottom: 0; left: -4%; width: 56%; z-index: 2; }

/* ── Problème ── */
#probleme { background: #fff; border-block: 1px solid var(--border); }
.probleme-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--mono); font-size: .82rem; color: var(--ink-muted);
  border: 1px solid var(--border); border-radius: 100px; padding: 8px 16px;
  background: var(--page);
}
.probleme-punch { margin-top: 28px; font-size: 1.25rem; font-weight: 700; color: var(--brand-dark); }

/* ── Sections navy : concept, FoloBot ── */
#concept, #folobot { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
#concept::before, #folobot::before {
  content: ''; position: absolute; bottom: -35%; left: -15%;
  width: 55vw; height: 55vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(68,82,248,.3) 0%, transparent 65%);
  pointer-events: none;
}
#concept .wrap, #folobot .wrap { position: relative; }
#concept .eyebrow, #folobot .eyebrow { color: var(--accent); }
#concept .lead, #folobot .lead { color: #B8BEDF; margin-top: 16px; max-width: 36em; }
.script { margin-top: 64px; max-width: 820px; position: relative; }
.script::before {
  content: ''; position: absolute; left: 7px; top: 10px; bottom: 10px;
  width: 2px; background: var(--navy-border);
}
.script-step { position: relative; padding: 0 0 48px 44px; }
.script-step:last-of-type { padding-bottom: 0; }
.script-step::before {
  content: ''; position: absolute; left: 0; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--navy); border: 3px solid var(--brand-light);
}
.script-cue {
  display: block; font-family: var(--mono); font-size: .75rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 10px;
}
.script-line {
  font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 600;
  letter-spacing: -.015em; line-height: 1.32; color: #fff;
}
.concept-punch {
  margin-top: 56px; max-width: 40em;
  padding-left: 24px; border-left: 3px solid var(--accent);
  font-size: 1.15rem; line-height: 1.6; color: #D9DDFB;
}
.concept-punch b { color: #fff; }
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.concept-card {
  background: rgba(255,255,255,.04); border: 1px solid var(--navy-border);
  border-radius: var(--r-lg); padding: 28px;
}
.concept-card h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 10px; }
.concept-card p { font-size: .92rem; line-height: 1.6; color: #B8BEDF; }

/* ── L'app en images ── */
#app { background: #fff; border-block: 1px solid var(--border); }
.shot-rows { display: flex; flex-direction: column; gap: 80px; margin-top: 64px; }
.shot-row { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.shot-row:nth-child(even) .shot-media { order: 2; }
.shot-kicker {
  display: block; font-family: var(--mono); font-size: .75rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand);
  margin-bottom: 12px;
}
.shot-row h3 { font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 12px; line-height: 1.2; }
.shot-row > div:not(.shot-media) p { color: var(--ink-muted); line-height: 1.65; font-size: .98rem; }
.shot {
  border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
  background: var(--page); box-shadow: 0 28px 56px -28px rgba(16,26,75,.22);
}
.shot-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--border);
}
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.shot-url {
  margin-left: 10px; font-family: var(--mono); font-size: .68rem;
  color: var(--ink-faint); background: var(--page); border-radius: 100px; padding: 3px 12px;
}
.shot img { display: block; width: 100%; height: auto; }

/* ═══ FoloBot : les plateformes où le bot est invité ═══
   Une tuile par plateforme, glyphe de marque en tête (tracés Simple Icons,
   CC0 — voir le commentaire dans index.html). */
.plat-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 56px;
}
.plat {
  background: rgba(255,255,255,.04); border: 1px solid var(--navy-border);
  border-radius: var(--r); padding: 20px 18px;
}
/* Pastille claire sous le glyphe : posées à même le navy, les couleurs
   officielles de Slack (#4A154B) et de Teams (#6264A7) seraient illisibles.
   Le fond blanc rend chaque marque à sa teinte réelle, et la tuile se lit
   comme l'icône d'application qu'elle désigne. */
.plat-icon {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-bottom: 15px;
  background: #fff; border-radius: 11px;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.plat-icon svg { display: block; width: 22px; height: 22px; }
.plat b { display: block; font-size: .98rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 6px; }
/* Classe explicite, et non `.plat span` : ce sélecteur-là (0,1,1) l'emportait sur
   `.plat-icon` (0,1,0) et remettait la pastille en `display: block`, ce qui
   collait le glyphe en haut à gauche au lieu de le centrer. */
.plat-detail { display: block; font-family: var(--mono); font-size: .72rem; line-height: 1.5; color: #8891BC; }
.plat-note { margin-top: 18px; font-family: var(--mono); font-size: .78rem; color: #8891BC; }

/* ═══ Mes tâches : le kanban personnel du manager ═══ */
#taches { background: var(--page); }
.taches-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: center; }
.taches-points { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.taches-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-muted); font-size: .96rem; line-height: 1.6; }
.taches-points b { color: var(--ink); font-weight: 600; }
.taches-points svg { flex: 0 0 auto; margin-top: 4px; color: var(--brand); }

/* Maquette d'écran, posée dans un cadre `.shot` comme les captures de la section
   « L'application » : celui-ci porte la bordure, le rayon et l'ombre, la maquette
   ne fournit que la surface.
   Aucun défilement : une capture ne se fait pas glisser. Les colonnes se
   partagent la largeur disponible (`minmax(0, 1fr)`, sans quoi la grille refuse
   de descendre sous la taille du contenu) et passent à deux sur les petits
   écrans, là où quatre rendraient les cartes illisibles. */
.kanban { background: var(--card); padding: 18px; }
.kanban-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 16px;
}
.kanban-title { font-size: .95rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.kanban-add {
  font-family: var(--mono); font-size: .7rem; color: var(--brand);
  background: var(--brand-muted); border-radius: 100px; padding: 5px 11px; white-space: nowrap;
}
.kanban-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kanban-col { background: var(--page); border-radius: var(--r); padding: 12px; }
.kanban-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px;
  font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-faint);
}
.kanban-head em { font-style: normal; color: var(--ink-faint); }
.kanban-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 11px 12px; font-size: .82rem; line-height: 1.45; color: var(--ink);
  box-shadow: 0 1px 2px rgba(16,26,75,.05);
}
.kanban-card + .kanban-card { margin-top: 9px; }
.kanban-card.done { color: var(--ink-faint); text-decoration: line-through; text-decoration-color: var(--ink-faint); }
.kanban-from {
  display: block; margin-top: 7px; font-family: var(--mono); font-size: .66rem;
  letter-spacing: .04em; color: var(--brand); text-decoration: none;
}

/* ═══ Agent IA / MCP ═══
   Section claire, carte navy : le contraste isole la conversation, seul
   endroit de la page où l'on montre la mécanique plutôt que la promesse. */
#agent { background: #fff; border-block: 1px solid var(--border); }
.agent-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; margin-top: 56px; }
.agent-points { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.agent-points h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 6px; }
.agent-points p { color: var(--ink-muted); font-size: .94rem; line-height: 1.6; }

.chat {
  background: var(--navy); border-radius: var(--r-lg); padding: 26px;
  box-shadow: 0 34px 68px -30px rgba(12,20,64,.5); position: relative; overflow: hidden;
}
.chat::before {
  content: ''; position: absolute; top: -40%; right: -20%;
  width: 60%; height: 120%; border-radius: 50%;
  background: radial-gradient(circle, rgba(68,82,248,.4) 0%, transparent 65%);
  pointer-events: none;
}
.chat-head {
  position: relative; display: flex; align-items: center; gap: 10px;
  padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--navy-border);
  font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #8891BC;
}
.chat-head::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.chat-turn { position: relative; }
.chat-turn + .chat-turn { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(46,58,122,.55); }
.chat-ask {
  background: rgba(255,255,255,.07); border: 1px solid var(--navy-border);
  border-radius: 14px 14px 14px 4px; padding: 13px 16px;
  font-size: .95rem; line-height: 1.5; color: #fff;
}
.chat-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 12px; }
.tool-chip {
  font-family: var(--mono); font-size: .72rem; color: var(--accent);
  background: rgba(35,226,182,.1); border: 1px solid rgba(35,226,182,.3);
  border-radius: 100px; padding: 5px 12px;
}
.tool-chip::before { content: '→ '; color: rgba(35,226,182,.6); }
.chat-answer { font-size: .92rem; line-height: 1.6; color: #B8BEDF; padding-left: 2px; }
.chat-answer b { color: #fff; font-weight: 600; }

/* ═══ Pour qui — la carte minimaliste, filigrane de marque en fond étendu ═══
   Le logo déborde volontairement de la carte : il n'y a pas d'illustration
   dans le dépôt, et la marque elle-même fait un fond plus juste qu'une
   capture recadrée au hasard. */
#personas { background: var(--page); }
.brandmark-card {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--card); border: 1px solid var(--border); border-radius: 28px;
  padding: 80px 56px; text-align: center;
  box-shadow: 0 34px 68px -34px rgba(16,26,75,.22);
}
.brandmark-card::before {
  content: ''; position: absolute; z-index: -1;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(150%, 1100px); aspect-ratio: 1;
  background: url('images/logo_solo.svg') center / contain no-repeat;
  opacity: .06;
}
.brandmark-card .eyebrow { text-align: center; }
.brandmark-card .lead { margin: 24px auto 0; max-width: 40em; }

/* ── FAQ ── */
#faq { background: #fff; border-block: 1px solid var(--border); }
.faq { max-width: 760px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 14px; }
details { background: var(--page); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  font-weight: 600; font-size: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-family: var(--mono); font-size: 1.2rem; color: var(--brand); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 24px 22px; color: var(--ink-muted); line-height: 1.65; font-size: .95rem; }
details p + p { padding-top: 0; margin-top: -8px; }

/* ── Contact ── */
#contact { background: var(--page); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 36px; box-shadow: 0 28px 56px -32px rgba(16,26,75,.22);
}
.field { margin-bottom: 18px; text-align: left; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--border); border-radius: var(--r);
  font-family: var(--font); font-size: .95rem; color: var(--ink); background: var(--page);
  outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field textarea:focus {
  border-color: var(--brand); background: var(--card); box-shadow: 0 0 0 4px rgba(68,82,248,.12);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); }
.field-error { display: none; margin-top: 7px; font-size: .8rem; color: var(--red); }
.field-error.on { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#contact-submit { width: 100%; }
#contact-submit[disabled] { opacity: .65; cursor: not-allowed; }
.spinner {
  width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2s; } }
.form-note { margin-top: 14px; font-size: .8rem; color: var(--ink-faint); text-align: center; }
.form-status { margin-top: 14px; font-size: .88rem; color: var(--red); text-align: center; }
.form-done { text-align: center; padding: 24px 0; }
.form-done .check {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--accent-muted); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
}
.form-done h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.form-done p { color: var(--ink-muted); font-size: .95rem; line-height: 1.6; }
.contact-points { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.contact-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-muted); font-size: .95rem; line-height: 1.55; }
.contact-points svg { flex: 0 0 auto; margin-top: 3px; color: var(--brand); }

/* ── CTA final ── */
#cta { background: var(--grad); color: #fff; text-align: center; }
#cta h2 { color: #fff; }
#cta p { margin: 20px auto 36px; max-width: 36em; color: #D9DDFB; font-size: 1.1rem; line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════════════════════
   Page Tarifs
   ═══════════════════════════════════════════════════════════════════════════ */

/* En-tête de sous-page : même navy que le hero, sans la cascade de captures. */
.page-head {
  background: var(--navy); color: #fff; position: relative; overflow: hidden;
  padding: 152px 24px 88px; text-align: center;
}
.page-head::before {
  content: ''; position: absolute; top: -45%; left: 50%; transform: translateX(-50%);
  width: 90vw; height: 90vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(68,82,248,.32) 0%, transparent 62%);
  pointer-events: none;
}
.page-head .wrap { position: relative; }
.page-head .eyebrow { color: var(--accent); }
.page-head h1 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); }
.page-head p { margin: 22px auto 0; max-width: 40em; font-size: 1.12rem; line-height: 1.6; color: #B8BEDF; }

#plans { background: var(--page); padding-top: 88px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--border); border-radius: 24px;
  padding: 36px; text-align: left; box-shadow: 0 28px 56px -34px rgba(16,26,75,.2);
}
.plan-featured { border-color: var(--brand); box-shadow: 0 34px 68px -30px rgba(68,82,248,.35); }
.plan-tag {
  position: absolute; top: -13px; left: 36px;
  font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: var(--brand); border-radius: 100px; padding: 6px 14px;
}
.plan h2 { font-size: 1.5rem; letter-spacing: -.02em; }
.plan-for { margin-top: 8px; color: var(--ink-muted); font-size: .95rem; line-height: 1.55; }
.plan-price { margin: 26px 0 4px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan-price strong { font-size: 2.6rem; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.plan-price span { color: var(--ink-muted); font-size: .95rem; }
.plan-vat { font-family: var(--mono); font-size: .75rem; color: var(--ink-faint); min-height: 1.2em; }
.plan .btn { margin: 26px 0 30px; width: 100%; }
.plan-list-title { font-size: .85rem; font-weight: 600; color: var(--ink-muted); margin-bottom: 14px; }
.plan-list { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.plan-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; line-height: 1.55; }
.plan-list svg { flex: 0 0 auto; margin-top: 4px; color: var(--accent-dark); }
.plan-list b { font-weight: 600; }
.plan-soon { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); }
.plan-soon .plan-list svg { color: var(--ink-faint); }
.plan-soon .plan-list li { color: var(--ink-muted); }
.badge-soon {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-dark); background: var(--brand-muted); border-radius: 100px; padding: 3px 8px;
  white-space: nowrap;
}

/* Tableau comparatif — la lecture ligne à ligne que les deux cartes ne donnent pas.
   Fond clair, comme les cartes d'offre juste au-dessus : les deux blocs se lisent
   d'une traite, et la FAQ blanche qui suit rompt la zone. Le tableau porte son
   propre fond blanc, sans quoi son en-tête clair disparaîtrait dans la section. */
#compare { background: var(--page); }
.cmp-scroll {
  overflow-x: auto; margin-top: 48px; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--r-lg);
}
table.cmp { width: 100%; min-width: 620px; border-collapse: collapse; text-align: left; }
table.cmp th, table.cmp td { padding: 15px 20px; border-bottom: 1px solid var(--border); font-size: .93rem; vertical-align: top; }
table.cmp thead th { background: var(--page); font-size: .8rem; font-weight: 700; letter-spacing: .02em; }
table.cmp thead th:not(:first-child) { text-align: center; width: 22%; }
table.cmp td:not(:first-child) { text-align: center; }
table.cmp tbody tr:last-child th, table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp tbody th { font-weight: 600; color: var(--ink); }
table.cmp .yes { color: var(--accent-dark); font-weight: 700; }
table.cmp .no { color: var(--ink-faint); }
table.cmp .val { font-family: var(--mono); font-size: .82rem; color: var(--ink); }
.cmp-foot { margin-top: 18px; font-size: .85rem; color: var(--ink-faint); }

/* ── Footer ── */
footer {
  background: var(--navy); color: var(--ink-faint);
  padding: 44px 24px; text-align: center; font-size: .88rem;
}
.footer-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo svg { width: 28px; height: 28px; border-radius: 7px; }
.footer-logo span { color: #fff; font-weight: 700; font-size: 1.05rem; }
footer p { font-family: var(--mono); font-size: .8rem; }
.footer-nav {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
  margin: 0 0 18px;
}
.footer-nav a { color: rgba(255,255,255,.62); text-decoration: none; font-size: .88rem; transition: color .2s; }
.footer-nav a:hover { color: #fff; }

/* ── Reveal (progressive enhancement : sans JS, tout reste visible) ── */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Responsive ── */
@media (max-width: 1040px) {
  .plat-grid { grid-template-columns: repeat(3, 1fr); }
  /* La barre porte 7 entrées : on resserre avant de basculer sur le burger. */
  nav { padding: 18px 24px; }
  .nav-links { gap: 20px; }
}

@media (max-width: 880px) {
  nav { padding: 14px 20px; }
  .nav-burger { display: flex; }
  nav.menu-open { background: rgba(12,20,64,.97); border-color: var(--navy-border); }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(12,20,64,.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--navy-border); padding: 8px 20px 20px;
  }
  nav.menu-open .nav-links { display: flex; }
  .nav-links a:not(.btn) { display: block; padding: 13px 0; font-size: 1rem; }
  .nav-links li:has(.btn) { display: none; }
  #hero { padding: 140px 20px 80px; }
  .page-head { padding: 128px 20px 68px; }
  .hero-grid, .probleme-grid, .contact-grid, .taches-grid, .agent-grid { grid-template-columns: 1fr; gap: 44px; }
  .section { padding: 72px 20px; }
  #plans { padding-top: 60px; }
  .concept-grid { grid-template-columns: 1fr; }
  .plat-grid { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; gap: 32px; }
  .plan { padding: 30px 24px; }
  .brandmark-card { padding: 56px 26px; border-radius: 22px; }
  .shot-row { grid-template-columns: 1fr; gap: 24px; }
  .shot-row:nth-child(even) .shot-media { order: 0; }
  .shot-rows { gap: 56px; }

  /* Textes centrés sur mobile */
  #hero, .section { text-align: center; }
  .hero-sub, #concept .lead, #folobot .lead, .concept-punch, .script { margin-left: auto; margin-right: auto; }
  .hero-ctas, .chips { justify-content: center; }
  .plat-icon { margin-left: auto; margin-right: auto; }
  .script::before, .script-step::before { display: none; }
  .script-step { padding-left: 0; }
  .concept-punch { border-left: 0; padding-left: 0; }
  summary { text-align: left; }
  .taches-points, .agent-points, .plan, .kanban, .chat, table.cmp { text-align: left; }
  .taches-points li, .contact-points li { justify-content: flex-start; }
}

/* Quatre colonnes deviennent illisibles sous ~560 px : la maquette passe en 2×2
   plutôt que de se faire défiler. */
@media (max-width: 560px) {
  .kanban { padding: 14px; }
  .kanban-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .plat-grid { grid-template-columns: 1fr; }
}
