/* Hero */
.hero { position: relative; padding: 170px 0 90px; text-align: left; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.92) 20%, rgba(255,255,255,0.55) 45%, rgba(255,255,255,0.08) 68%, rgba(255,255,255,0) 82%), url(/assets/hero-mountain.webp) center 38% / cover no-repeat; }
/* Sur desktop, main.js (fitHero) mesure la hauteur réelle de ce wrapper et
   lui applique un transform:scale + une hauteur fixe sur .hero pour que le
   bandeau défilant (tout en bas) soit toujours visible sans scroll, quelle
   que soit la hauteur d'écran (retour utilisateur du 2026-10-01 : sur un
   écran plus bas, il fallait scroller pour voir "OFM"). Sans JS ou sur
   mobile, ce wrapper reste neutre et .hero garde son comportement d'origine. */
.hero-fit { transform-origin: top center; }
.hero .wrap { width: min(1800px, 100% - 48px); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(32px, 3.4vw, 58px); }
.hero h1 .h1-soft, .hero h1 .h1-strong { display: block; }
.hero h1 .h1-soft { color: rgba(29,29,29,0.38); }
.hero h1 .h1-strong { color: var(--ink); }
.hero .lead { max-width: 520px; margin: 28px 0 0; }
.cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-video { position: relative; }
.hero-marquee { position: relative; z-index: 1; margin-top: 210px; }
.hero-marquee-text { max-width: 760px; margin: 0 0 24px; color: rgba(255,255,255,0.92); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; }
.hero-marquee .track span { color: #fff; font-size: 34px; }
.track-wide { animation-duration: 140s; }

/* Maquette d'application */
.app { position: relative; z-index: 1; max-width: 960px; margin-inline: auto; padding: 12px; border-radius: 24px; background: rgba(255,255,255,0.7); box-shadow: 0 0 0 1px rgba(255,255,255,0.8), 0 40px 90px rgba(6,26,61,0.22); text-align: left; transform: perspective(1400px) rotateX(var(--tilt, 6deg)); transform-origin: center bottom; transition: transform 0.15s linear; }
.hero-video .app { max-width: 100%; transform: scale(1.1); transform-origin: right center; }
.app-in { display: grid; grid-template-columns: 190px 1fr; gap: 12px; padding: 12px; border-radius: 16px; background: var(--soft); }
/* Vidéo de démo (remplace le mockup .app-in dans le hero) : aspect-ratio
   fige la hauteur avant que les métadonnées de la vidéo ne soient
   chargées, pour éviter un saut de mise en page. pointer-events:none (en
   ligne dans le HTML) empêche tout clic dessus — pas de lecteur natif,
   personne ne peut la mettre en pause ou y toucher. */
.demo-video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: var(--soft); object-fit: cover; }
.side { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 16px; background: #fff; font-size: 14px; font-weight: 500; color: var(--muted); }
.side .brand { margin-bottom: 14px; font-size: 17px; color: var(--ink); }
.side .brand img { width: 24px; height: 24px; border-radius: 8px; }
.side span { padding: 8px 12px; border-radius: 12px; }
.side span.on { background: #e6f0ff; color: var(--blue-2); }
.main { display: grid; gap: 12px; }
.bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-radius: 16px; background: #fff; font-weight: 600; }
.bar small { padding: 6px 12px; border-radius: 12px; background: var(--soft); font-weight: 500; color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { padding: 14px; border-radius: 16px; background: #fff; }
.kpi small { display: block; font-size: 12px; color: var(--muted); }
.kpi strong { display: block; margin-top: 4px; font-size: 26px; letter-spacing: -0.03em; }
.kpi em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--green); }
.charts { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; }
.chart { padding: 16px; border-radius: 16px; background: #fff; font-size: 13px; font-weight: 600; }
.chart svg { width: 100%; height: 130px; margin-top: 8px; }
/* Le tracé du graphique n'est animé (et donc masqué au départ) que si le JS tourne */
.line { fill: none; stroke: var(--blue-2); stroke-width: 3; stroke-linecap: round; }
.js .line { stroke-dasharray: 700; stroke-dashoffset: 700; transition: stroke-dashoffset 2.2s var(--ease) 0.4s; }
.js .in .line, .js .line.go { stroke-dashoffset: 0; }
.area { fill: url(#ga); opacity: 0.5; }
.donut { display: grid; place-items: center; height: 130px; margin-top: 8px; }
.donut svg { width: 118px; height: 118px; margin: 0; }
.legend { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; font-weight: 500; color: var(--muted); }
.legend b { color: var(--ink); }
.note { margin-top: 18px; text-align: center; font-size: 13px; color: var(--muted); }

/* Bandeau défilant */
.marquee { position: relative; margin-top: 26px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; gap: 64px; width: max-content; animation: scroll 19s linear infinite; }
.track span { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: #6a7780; white-space: nowrap; }
.track svg { width: 24px; height: 24px; }
.marquee:hover .track { animation-play-state: paused; }

/* Avant / Après */
.ba { max-width: 860px; margin: 56px auto 0; }
/* Bascule en pill segmentée classique (retour utilisateur du 2026-10-01 :
   l'ancien "knob" — une boule flottante à cheval sur les onglets et la
   carte — faisait "brouillon"). Un fond qui glisse derrière l'onglet actif. */
.ba-tabs { position: relative; z-index: 1; display: flex; gap: 4px; max-width: 340px; margin: 0 auto 22px; padding: 5px; border-radius: 999px; background: var(--soft); }
.ba-tabs::before { content: ""; position: absolute; top: 5px; left: 5px; width: calc(50% - 5px); height: calc(100% - 10px); border-radius: 999px; background: #fff; box-shadow: 0 6px 16px rgba(6,26,61,0.14); transition: transform 0.4s var(--ease); }
.ba.after .ba-tabs::before { transform: translateX(100%); }
.ba-tabs button { position: relative; z-index: 1; flex: 1; padding: 12px 10px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; font-size: 15px; cursor: pointer; color: var(--muted); transition: color 0.3s; }
.ba-tabs button.on { color: var(--ink); }
.ba-card { position: relative; padding: 40px; border: 1px solid var(--line); border-radius: 32px; background: var(--soft); box-shadow: 0 26px 60px rgba(6,26,61,0.1); overflow: hidden; transition: background 0.5s, box-shadow 0.5s, border-color 0.5s; }
/* Texture diagonale en relief, réutilisée du comparatif de tarifs
   (.cb-primary) pour garder la même "profondeur" ailleurs sur le site —
   masquée en dégradé radial pour rester discrète dans un coin. */
.ba-card::before { content: ""; position: absolute; inset: -20%; background: repeating-linear-gradient(45deg, rgba(255,255,255,0.5) 0px, rgba(255,255,255,0.5) 1px, transparent 1px, transparent 12px); mask-image: radial-gradient(ellipse 65% 55% at 100% 0%, #000 50%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 65% 55% at 100% 0%, #000 50%, transparent 100%); opacity: 0.4; pointer-events: none; transition: opacity 0.5s; }
.ba-card.dark::before { opacity: 0.12; }
.ba-card .p { position: relative; z-index: 1; display: none; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; animation: fade 0.6s var(--ease); }
.ba-card .p.on { display: grid; }
.ba-card.dark { background: linear-gradient(180deg, #3a3a3a, #111); color: #fff; border-color: #111; box-shadow: 0 30px 90px rgba(0,0,0,0.5); }
.ba-card h3 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 20px; }
.ba-card li { position: relative; padding: 8px 0 8px 34px; color: inherit; opacity: 0.92; }
.cross li::before, .check li::before { position: absolute; left: 0; top: 6px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 700; }
.cross li::before { content: "✕"; background: rgba(240,68,56,0.14); color: #f04438; }
.check li::before { content: "✓"; background: rgba(50,213,131,0.18); color: #32d583; }
.chips { display: grid; gap: 16px; }
.chip { position: relative; padding: 24px 26px; border-radius: 24px; overflow: hidden; }
.chip strong { display: block; font-size: 28px; letter-spacing: -0.03em; }
.chip span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; opacity: 0.75; }
.chip.red { background: linear-gradient(155deg, #fdf1f2, #f9e0e2); border: none; box-shadow: 0 12px 26px rgba(240,68,56,0.1); }
.chip.green { background: linear-gradient(155deg, #16352a, #0d2119); border: none; box-shadow: 0 12px 26px rgba(50,213,131,0.14), inset 0 1px 0 rgba(255,255,255,0.08); }

/* Bento des fonctionnalités */
.bento { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-auto-rows: minmax(190px, auto); gap: 30px; }
.stack, .stack-hint { display: none; }
.bc { position: relative; overflow: hidden; padding: 32px; border-radius: 32px; background: var(--soft); text-align: center; box-shadow: 0 0px 0px rgba(6,26,61,0); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.bc:hover, .bc.reveal.in:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(6,26,61,0.14); }
.bc h3 { font-size: 26px; }
.bc p { margin-top: 8px; color: var(--muted); }
.bc.wide { grid-column: span 2; }
.bc.tall { grid-row: span 2; }
.bc.black { background: #000; color: #fff; }
.bc.black p { color: #b8c0c6; }
.bc.skyc { background: linear-gradient(#9cc3ee, #d9e9f8); }
.bc .art { display: grid; place-items: center; margin-top: 26px; }
.bc .art svg { width: 150px; height: 150px; filter: drop-shadow(0 14px 18px rgba(6,26,61,0.25)); animation: bob 5s ease-in-out infinite; }
.word { position: relative; display: block; height: 1.05em; margin: 64px 0 26px; font-size: clamp(48px, 5.4vw, 72px); font-weight: 700; letter-spacing: -0.04em; background: linear-gradient(#ffb547, #f2760d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.word b { position: absolute; inset: 0; opacity: 0; transform: translateY(20px); transition: opacity 0.5s, transform 0.5s var(--ease); }
.word b.on { opacity: 1; transform: none; }
.scroller { display: flex; gap: 10px; width: max-content; margin-top: 18px; animation: scroll 24s linear infinite; }
.scroller span { padding: 8px 16px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; white-space: nowrap; }
.tilt { display: flex; justify-content: center; gap: 18px; margin-top: 28px; }
.tc { width: 230px; padding: 16px; border-radius: 24px; background: rgba(255,255,255,0.92); text-align: left; box-shadow: 0 20px 40px rgba(6,26,61,0.2); }
.tc:first-child { transform: rotate(-6deg) translateY(10px); }
.tc:last-child { transform: rotate(5deg); }
.row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.row:last-child { border: 0; }
.tag { padding: 3px 10px; border-radius: 999px; background: #d1fadf; color: #067647; font-size: 12px; font-weight: 600; }
/* Reproduit visuellement le menu déroulant "Critère" de l'onglet
   Statistiques réel (voir MessageDetailRow.jsx) — un simple badge avec un
   chevron, pas un vrai <select> (mockup non interactif). */
.mini-select { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; color: var(--muted); background: #fff; }
.mini-select::after { content: "▾"; font-size: 9px; }
.tag.gray { background: var(--soft); color: var(--muted); }
.alert { display: flex; align-items: center; gap: 12px; margin: 20px auto 0; padding: 12px 16px; max-width: 290px; border-radius: 16px; background: #fff; text-align: left; font-size: 14px; box-shadow: 0 10px 24px rgba(6,26,61,0.08); }
.alert svg { flex: none; width: 38px; height: 38px; }
.alert small { display: block; color: var(--muted); font-size: 12px; }

/* Aperçu large */
/* Fond photo (montagne enneigée, remplace l'ancien dégradé bleu plat —
   retour utilisateur du 2026-09-30) : dégradé blanc superposé pour que
   le titre reste lisible en haut, qui s'estompe pour révéler la photo
   au niveau de la vidéo et des petites cartes. */
.overview {
  position: relative;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.88) 16%, rgba(255,255,255,0.35) 40%, rgba(255,255,255,0) 58%),
    url(/assets/mountain-bg.webp) center 32% / cover no-repeat;
}
.overview .lead { max-width: 560px; margin: 18px auto 0; }
.overview .cta { justify-content: center; }
.overview .app { margin-top: 56px; }

/* Sous la vidéo : 3 petites cartes à la place de l'ancienne liste à
   puces au-dessus (retour utilisateur du 2026-09-30 — reprend la mise
   en page "grande vignette + 3 petites en dessous" d'une référence). */
.mini-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; text-align: left; }
.mini-feature { display: flex; align-items: flex-start; gap: 14px; padding: 24px; border-radius: 24px; background: #fff; box-shadow: 0 10px 30px rgba(6,26,61,0.08); }
.mini-feature p { margin: 0; font-weight: 600; color: var(--ink); }
.mini-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: #0b0b0b; color: #fff; font-size: 14px; font-weight: 700; }

/* Comment ça marche */
.how { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: center; }
.step { padding: 28px 0; border-top: 1px solid var(--line); }
.step span { font-size: 14px; font-weight: 600; color: var(--blue-2); }
.step h3 { margin: 6px 0; }
.step p { color: var(--muted); }
.how-card { position: relative; min-height: 460px; padding: 32px; border-radius: 32px; background: var(--soft); display: grid; align-content: center; gap: 20px; }
.acct { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 24px; background: #fff; font-weight: 500; box-shadow: 0 10px 30px rgba(6,26,61,0.06); }
.acct:nth-child(2) { margin-left: 40px; }
.acct:nth-child(3) { margin-left: 80px; }
.av { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7); color: #fff; font-weight: 700; }
.acct small { display: block; color: var(--muted); font-weight: 400; }
.acct .tag { margin-left: auto; }

/* Sécurité */
.sec { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
/* Onglets "Étape 1/2/3" à cheval sur le haut de la carte (pas flottants
   au-dessus avec un espace — retour utilisateur du 2026-09-30, reprend
   une référence) : position relative + marge négative pour chevaucher
   .sec-art, qui compense avec un padding-top plus généreux. Chaque
   onglet actif se remplit progressivement (barre en bas) puis passe
   tout seul au suivant — pas de bascule instantanée en aplat noir. */
.step-tabs { display: flex; justify-content: center; gap: 8px; position: relative; z-index: 2; margin-bottom: -22px; }
.step-tabs button { position: relative; overflow: hidden; padding: 10px 22px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; transition: color 0.3s, border-color 0.3s; }
.step-tabs button.on { color: var(--ink); border-color: #0b0b0b; }
.step-tabs button .fill { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: #0b0b0b; border-radius: 0 0 999px 999px; }
.step-tabs button.on .fill { animation: stepFill var(--step-duration, 4.5s) linear forwards; }
@keyframes stepFill { from { width: 0; } to { width: 100%; } }
.sec-art { position: relative; min-height: 460px; padding: 62px 40px 40px; border-radius: 32px; background: var(--soft); display: grid; place-items: center; overflow: hidden; }
.sec-art svg.cloud { width: 170px; height: 150px; filter: drop-shadow(0 18px 20px rgba(80,70,220,0.35)); animation: bob 5s ease-in-out infinite; }
.step-panel { display: none; flex-direction: column; align-items: center; gap: 18px; text-align: center; animation: fade 0.5s var(--ease); }
.step-panel.on { display: flex; }
.step-panel h3 { font-size: 24px; }
.step-panel p { max-width: 320px; color: var(--muted); }
.sec h2 { margin: 16px 0 26px; }
.mini-stats { display: flex; gap: 40px; margin-top: 32px; }
.mini-stats strong { display: block; font-size: 30px; letter-spacing: -0.03em; }
.mini-stats span { display: block; margin-top: 4px; max-width: 170px; color: var(--muted); font-size: 14px; }

/* Cas d'usage */
.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.use { padding: 28px; border-radius: 32px; background: var(--soft); transition: transform 0.5s var(--ease), background 0.4s, color 0.4s; }
.use:hover { transform: translateY(-4px); background: #0b0b0b; color: #fff; }
.use:hover p { color: #b8c0c6; }
.use .ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 44px; border-radius: 16px; background: #fff; font-size: 24px; }
.use p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* Chiffres */
.facts { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: end; }
.fact { padding: 32px 28px; border-radius: 32px; background: var(--soft); transition: transform 0.5s var(--ease); }
.fact:hover, .fact.reveal.in:hover { transform: translateY(-4px); }
.fact strong { display: block; font-size: clamp(38px, 4.4vw, 56px); letter-spacing: -0.04em; line-height: 1; }
.fact span { display: block; margin-top: 10px; color: var(--muted); }
.fact.k { background: #000; color: #fff; min-height: 240px; } .fact.k span { color: #b8c0c6; }
.fact.b { background: var(--blue); color: #fff; min-height: 300px; } .fact.b span { color: #dbe8ff; }
.fact.s { min-height: 200px; } .fact.s2 { min-height: 260px; }

/* Tarifs */
.toggle2 { display: flex; align-items: center; justify-content: center; gap: 12px; width: max-content; margin: 0 auto 44px; }
.t2-label { font-weight: 600; color: var(--muted); transition: color 0.3s; }
.t2-label.on { color: var(--ink); }
.switch { position: relative; flex: none; width: 44px; height: 26px; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); cursor: pointer; transition: background 0.3s; }
.switch[aria-checked="true"] { background: var(--ink); border-color: var(--ink); }
.switch-knob { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.2); transition: transform 0.3s var(--ease); }
.switch[aria-checked="true"] .switch-knob { transform: translateX(18px); }
.toggle2 .save { padding: 2px 8px; border-radius: 999px; background: #d1fadf; color: #067647; font-size: 12px; font-weight: 600; font-style: normal; }
.plans-frame { padding: 14px; border-radius: 40px; background: var(--soft); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px; border-radius: 32px; background: #fff; transition: transform 0.5s var(--ease); }
.plan:hover, .plan.reveal.in:hover { transform: translateY(-4px); }
.plan.hot { background: #000; color: #fff; }
.plan.hot .muted { color: #b8c0c6; }
.badge { position: absolute; top: 24px; right: 24px; padding: 4px 12px; border-radius: 999px; background: var(--blue-2); color: #fff; font-size: 13px; font-weight: 600; }
.amount { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 4px; }
.amount strong { font-size: 56px; letter-spacing: -0.04em; line-height: 1; }
.muted { color: var(--muted); }
.plan ul { margin: 26px 0 0; display: grid; gap: 10px; }
.plan li { position: relative; padding-left: 26px; }
.plan li::before { content: "›"; position: absolute; left: 0; color: var(--blue-2); font-weight: 700; }
.plan .btn { margin: 20px 0 4px; align-self: center; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.help { margin-top: 32px; padding: 28px; border-radius: 32px; background: var(--soft); }
.help h3 { margin-bottom: 6px; }
.help .btn { margin-top: 20px; }
.qa { display: grid; gap: 14px; }
details { border: 1px solid var(--line); border-radius: 24px; background: #fff; padding: 0 28px; transition: background 0.3s; }
details[open] { background: var(--soft); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 19px; font-weight: 500; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--soft); font-size: 22px; transition: transform 0.35s var(--ease), background 0.3s; }
details[open] summary::after { transform: rotate(45deg); background: #fff; }
details p { padding-bottom: 22px; color: var(--muted); animation: fade 0.4s var(--ease); }

/* Appel final + pied de page */
.final { position: relative; padding: 120px 0 0; text-align: center; background: linear-gradient(#fff, #cfe2f6 55%, #9cc3ee); overflow: hidden; }
.final .lead { max-width: 560px; margin: 20px auto 0; }
.final .cta { margin-bottom: 90px; justify-content: center; }
.footer { position: relative; z-index: 2; margin-bottom: 40px; padding: 60px 70px 32px; border-radius: 32px; background: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.foot-grid h4 { margin-bottom: 14px; font-size: 20px; font-weight: 500; }
.foot-grid a { display: block; padding: 4px 0; color: var(--muted); transition: color 0.2s, transform 0.3s var(--ease); }
.foot-grid a:hover { color: var(--ink); transform: translateX(4px); }
.foot-grid p { max-width: 280px; margin: 16px 0 24px; color: var(--muted); }
.mail { display: inline-block; padding: 16px 32px; border-radius: 999px; background: #1d1d1d; color: #fff; font-weight: 600; }
.copy { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }

@media (max-width: 900px) {
  .bento, .plans, .uses, .facts, .how, .sec, .faq-grid, .foot-grid, .charts, .ba-card .p.on, .mini-features { grid-template-columns: 1fr; }
  .bc.wide { grid-column: auto; } .bc.tall { grid-row: auto; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .app-in { grid-template-columns: 1fr; } .side { display: none; }
  .footer { padding: 36px 24px 24px; }
  .ba-card { padding: 32px 22px 28px; margin: 0 14px; }
  /* Le hero en min-height:100vh + contenu centré était pensé pour le
     desktop, où le contenu tient sur un seul écran. Sur mobile, tout
     s'empile (titre, vidéo, bandeau) et dépasse largement 100vh : le
     centrage poussait alors le titre au-dessus du haut de l'écran, sous
     la nav (retour utilisateur du 2026-10-01 : "pas stable"). Hauteur
     libre + alignement en haut à la place. */
  .hero { padding: 130px 0 60px; min-height: 0; justify-content: flex-start; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero .lead { max-width: none; }
  /* La carte vidéo était zoomée (scale) pour le desktop où elle a de la
     marge de chaque côté ; sur mobile, pleine largeur, ça dépassait de
     l'écran et créait un scroll horizontal. */
  .hero-video .app { transform: none; }
  /* Même chose pour le bandeau défilant : marge et taille pensées pour
     le desktop, trop grandes une fois tout empilé sur mobile. */
  .hero-marquee { margin-top: 70px; }
  .hero-marquee .track span { font-size: 22px; }
  /* La carte "avant/après" empilait titre + 5 coches + chiffres sans
     respirer, ce qui donnait une impression de mur de texte sur mobile
     (retour utilisateur du 2026-09-29 : "trop chargé"). Plus d'air entre
     les éléments, sans rien retirer. */
  .ba { margin-top: 72px; }
  .ba-card h3 { margin-bottom: 26px; }
  .ba-card li { padding: 10px 0 10px 28px; line-height: 1.4; }
  .ba-card .p.on { gap: 36px; }
  .chips { gap: 20px; margin-top: 8px; }
}

/* Corrections pied de page */
.footer { text-align: left; }
.foot-grid a.brand { display: inline-flex; padding: 0; color: var(--ink); }
.foot-grid a.brand:hover { transform: none; }
.foot-grid a.mail { display: inline-block; padding: 16px 32px; color: #fff; }


/* Chiffres : libellé, nombre, explication */
.fact small { display: block; margin-bottom: 14px; font-size: 14px; font-weight: 600; opacity: 0.7; }
.fact strong span { display: inline; margin: 0; color: inherit; }
.fact strong em { display: block; margin-top: 8px; font-style: normal; font-size: 0.34em; font-weight: 600; letter-spacing: -0.01em; opacity: 0.85; }
.fact > span { display: block; margin-top: 14px; }

/* Bascule tarifaire : pastille d'économie */
/* Comparatif : un bento de 4 stats remplace l'ancien tableau <table> à
   tous les affichages (retour utilisateur du 2026-09-29 — un tableau
   qu'on fait défiler restait perçu comme "coupé"/pas adapté ; puis retour
   du 2026-10-01 — le bento ne devait pas rester mobile uniquement). Un
   bouton "À la main" / "Outrify" fait basculer les 4 cases en même temps
   entre les deux jeux de chiffres.
   Desktop : case "Temps" à gauche (pleine hauteur), à droite un
   empilement de 2 niveaux — Régularité en pleine largeur, puis Ciblage /
   Coût côte à côte (voir .cb-side/.cb-row3). Mobile (≤900px) : les 4
   cases s'empilent en une seule colonne (voir media query plus bas). */
.cb-toggle { display: flex; gap: 6px; max-width: 320px; padding: 4px; border-radius: 999px; background: var(--soft); }
.cb-toggle button { flex: 1; padding: 10px 0; border: 0; border-radius: 999px; background: transparent; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: color 0.3s, background 0.3s, box-shadow 0.3s; }
.cb-toggle button.on { color: var(--ink); background: #fff; box-shadow: 0 6px 16px rgba(6,26,61,0.12); }
.cb-grid { display: flex; gap: 18px; margin-top: 20px; align-items: stretch; }
.cb-card { border-radius: 32px; padding: 32px 30px; position: relative; overflow: hidden; }
.cb-primary { flex: 0 0 40%; }
.cb-side { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.cb-row3 { display: flex; gap: 18px; align-items: stretch; }
.cb-row3 .cb-card { flex: 1; min-width: 0; }
/* Case principale ("Temps") : seule case dont le fond change de couleur
   selon le mode — bleu optimiste pour Outrify, gris plat et neutre pour
   à la main (voir .cb-outrify/.cb-manuel sur .cmp-bento, et main.js pour
   le toggle de classe). */
.cb-primary { background: linear-gradient(155deg, #0b1f4d, #1d4fd7); color: #fff; min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; transition: background 0.5s; }
.cb-primary::before { content: ""; position: absolute; inset: -12px; background: repeating-linear-gradient(45deg, rgba(255,255,255,0.5) 0px, rgba(255,255,255,0.5) 1px, transparent 1px, transparent 10px); mask-image: radial-gradient(ellipse 80% 55% at 100% 0%, #000 65%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 80% 55% at 100% 0%, #000 65%, transparent 100%); opacity: 0.35; pointer-events: none; }
.cmp-bento.cb-manuel .cb-primary { background: #2a3140; }
.cb-pill { position: relative; display: inline-block; align-self: flex-start; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,0.14); font-size: 10.5px; font-weight: 700; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 0.06em; }
.cb-stat { position: relative; margin-top: 18px; font-size: 56px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.cb-desc { position: relative; margin-top: 14px; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,0.75); max-width: 30ch; }
.cb-growth { background: #10182b; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.cb-growth-txt { display: flex; flex-direction: column; gap: 4px; }
.cb-stat2 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.cb-bars { display: flex; align-items: flex-end; gap: 4px; height: 44px; flex: none; }
.cb-bar { width: 6px; border-radius: 999px; background: #fff; transition: height 0.6s var(--ease); }
.cb-small { background: #10182b; color: #fff; text-align: center; display: flex; flex-direction: column; justify-content: center; min-height: 110px; }
.cb-stat3 { font-size: 28px; font-weight: 800; }
.cb-icon-row { background: #10182b; color: #fff; display: flex; align-items: center; gap: 14px; }
.cb-glyph { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: #0b1f4d; font-size: 17px; font-weight: 800; }
.cb-line1 { font-size: 17px; font-weight: 700; line-height: 1.2; }
.cb-sub { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.6); }
.cb-label { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.6); }
.cb-growth .cb-label, .cb-small .cb-label { margin-top: 0; text-transform: uppercase; letter-spacing: 0.04em; font-size: 11px; }
.cb-manuel .cb-cout-label { margin-top: 4px; font-size: 16px; font-weight: 700; color: #fff; }
.cb-growth .cb-reg-label { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -0.02em; text-transform: none; line-height: 1.15; color: #fff; }
.cb-reg-value { display: none; }
@media (max-width: 900px) {
  .cb-grid { flex-direction: column; gap: 14px; }
  .cb-primary { flex: none; }
  .cb-row3 { flex-direction: column; }
  .cb-card { padding: 26px 24px; }
  .cb-stat { font-size: 52px; }
}

/* Bandeau d'appel à l'action fixe (mobile) */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: none; justify-content: center; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform 0.4s var(--ease); }
.sticky.on { transform: none; }
@media (max-width: 900px) { .sticky { display: flex; } }

/* Chiffres : escalier en dégradé de bleus */
.facts { align-items: end; }
.fact { padding: 32px 28px; }
.fact em { display: block; margin-top: 6px; font-style: normal; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.fact strong { font-size: clamp(44px, 5vw, 68px); }
.fact > span { opacity: 0.85; }
.fact.t1 { background: #eaf2ff; min-height: 300px; }
.fact.t2 { background: #cfe0ff; min-height: 350px; }
.fact.t3 { background: #4f86f2; color: #fff; min-height: 400px; }
.fact.t4 { background: linear-gradient(160deg, #1d4fd7, #0b2a63); color: #fff; min-height: 450px; }
.fact.t3 > span, .fact.t4 > span { color: #e3ecff; opacity: 1; }
.fact.t3 small, .fact.t4 small { opacity: 0.8; }

/* Tarifs : clairs, colorés, percutants */
.prices { background: linear-gradient(#fff, #eaf2ff 38%, #d9e7ff); padding-bottom: 120px; }
.plan { border: 0; box-shadow: none; }
.plan h3 { font-size: 26px; }
.plan .amount strong { font-size: 64px; }
.plan .amount { margin: 20px 0 2px; }
.plan .perday { margin: 2px 0 4px; font-weight: 700; color: var(--blue-2); }
.plan .small { font-size: 14px; }
.plan.hot .muted, .plan.hot .perday { color: #b8c0c6; }
.plan.hot .perday { color: #fff; }
.plan.hot li::before { color: #8fb4ff; }
.plan .guarantee { display: inline-block; align-self: flex-start; margin: 8px 0 0; padding: 4px 12px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: 13px; font-weight: 600; }
.plan.hot .guarantee { background: rgba(255,255,255,0.16); color: #fff; }
.note .dot { margin: 0 6px; color: #b7c1c9; }
.plan .btn-white { color: var(--blue-2); }
.plan .btn-white .arrow { background: var(--blue-2); color: #fff; }

/* FOMO */
.fomo { padding: 64px 48px; border-radius: 32px; text-align: center; color: #fff; background: linear-gradient(135deg, #0b1f4d, #1d4fd7); box-shadow: 0 30px 80px rgba(29, 79, 215, 0.3); }
.fomo h2 { max-width: 820px; margin: 18px auto 36px; }
.fomo .note { color: #cfe0ff; }


@media (max-width: 900px) {
  /* Pile de cartes "Fonctionnalités" (mobile uniquement) : la grille .bento
     est masquée, remplacée par une pile de 5 cartes en éventail — on appuie
     sur celle du dessus pour l'envoyer au fond et faire avancer les autres
     d'un cran (voir main.js). Desktop garde la grille .bento (inchangée). */
  .bento { display: none; }
  .stack-hint { display: block; font-size: 15px; }
  .stack { display: block; position: relative; height: 600px; margin: 30px auto 0; max-width: 350px; }
  .stack-card { position: absolute; inset: 0; margin: auto; width: 88vw; max-width: 336px; height: 540px; border: 2px solid #fff; border-radius: 32px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); padding: 28px 26px; display: flex; flex-direction: column; cursor: pointer; transition: transform 0.6s cubic-bezier(0.34,1.2,0.64,1), background 0.6s, box-shadow 0.6s; }
  .stack-card h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; margin: 0 0 12px; text-align: center; }
  .stack-card p { font-size: 15px; font-weight: 400; line-height: 1.6; padding: 0; }
  /* Fond unifié par carte (même thème que la grille desktop équivalente) —
     pas d'encart blanc séparé pour l'image/le mockup : tout vit sur ce fond. */
  .stack-card.sc-blue { background: linear-gradient(160deg, #eef5ff, #cfe0ff); }
  .stack-card.sc-blue h3, .stack-card.sc-blue p { color: #0b2a63; }
  .stack-card.sc-black { background: #0b0b0b; color: #fff; }
  .stack-card.sc-soft { background: var(--soft); }
  .stack-card.sc-soft h3 { color: #111; }
  .stack-card.sc-soft p { color: var(--muted); }
  /* Bleu profond (même dégradé que la carte FOMO desktop) — sert pour la
     carte "Zéro message au hasard", volontairement différent du bleu pâle
     de "Ciblage précis" pour que les cartes ne se répètent pas. */
  .stack-card.sc-deep { background: linear-gradient(135deg, #0b1f4d, #1d4fd7); color: #fff; }
  /* "Taux de réponse en hausse" : fond sombre (même famille que les cartes
     du bento comparatif) pour faire ressortir les notifications blanches. */
  .stack-card.sc-night { background: linear-gradient(165deg, #10182b, #1b2744); color: #fff; }
  /* "Planification horaire" : fond blanc neutre (le bleu est déjà pris par
     "Ciblage précis"/"Zéro message au hasard") pour laisser le calendrier
     en verre dépoli porter toute la couleur. */
  /* Titre + texte + calendrier centrés comme un bloc dans la hauteur de la
     carte (pas collés en haut, pas poussés en bas). */
  .stack-card.sc-white { background: #fff; justify-content: center; }
  .stack-card.sc-white h3 { color: var(--ink); }
  .stack-card.sc-white p { color: var(--muted); }
  .stack-ic { position: relative; align-self: center; width: 84px; height: 84px; margin-bottom: 18px; }
  .stack-ic svg { position: relative; z-index: 1; width: 100%; height: 100%; }
  /* Anneau qui "ping" en boucle autour de la cible, comme un radar. */
  .stack-ic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1d4fd7; animation: stackPing 2.4s ease-out infinite; }
  @keyframes stackPing { 0% { transform: scale(0.85); opacity: 0.7; } 70%, 100% { transform: scale(1.45); opacity: 0; } }
  .stack[data-reduced="true"] .stack-ic::after { animation: none; opacity: 0; }
  /* Bouclier "Zéro message au hasard" : pas de ping radar, la coche se
     pulse doucement en boucle, la coche reste fixe. */
  .stack-ic-shield::after { content: none; }
  .stack-ic-shield svg { transform-origin: center; animation: shieldPulse 2.6s ease-in-out infinite; }
  @keyframes shieldPulse { 0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(255,255,255,0)); } 50% { transform: scale(1.07); filter: drop-shadow(0 0 12px rgba(255,255,255,0.55)); } }
  .stack[data-reduced="true"] .stack-ic-shield svg { animation: none; }
  /* Carte centrée (icône + titre + phrase), voir "Ciblage précis". */
  .stack-card.sc-center { align-items: center; text-align: center; justify-content: center; }
  .stack-lead { font-size: 17px; font-weight: 500; }
  .stack-kw { display: inline-block; font-weight: 700; color: #1d4fd7; transition: opacity 0.35s, transform 0.35s var(--ease); }
  .stack-kw.out { opacity: 0; transform: translateY(6px); }
  .stack-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 11px; }
  .stack-steps li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: #0b2a63; }
  .stack-card.sc-deep .stack-steps li { color: #fff; }
  .stack-card.sc-deep .stack-steps .n { background: rgba(255,255,255,0.22); }
  .stack-card.sc-deep .stack-stat > span { color: #cfe0ff; }
  .stack-steps .n { display: grid; place-items: center; flex: none; width: 23px; height: 23px; border-radius: 50%; background: #1d4fd7; color: #fff; font-size: 12px; font-weight: 700; }
  /* Petite animation "scan" en cascade, rejouée à chaque fois que la carte
     revient devant (voir stackRender() dans main.js, même principe que le
     recomptage des stats). */
  @keyframes stackStepIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
  .stack-steps.animate li { animation: stackStepIn 0.45s var(--ease) both; }
  .stack-steps.animate li:nth-child(1) { animation-delay: 0.05s; }
  .stack-steps.animate li:nth-child(2) { animation-delay: 0.22s; }
  .stack-steps.animate li:nth-child(3) { animation-delay: 0.39s; }
  .stack[data-reduced="true"] .stack-steps.animate li { animation: none; }
  .stack-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
  .stack-tags span { padding: 7px 13px; border-radius: 999px; background: rgba(11,42,99,0.08); font-size: 12px; font-weight: 600; color: #0b2a63; }
  .stack-accts { display: grid; gap: 8px; margin-top: 18px; }
  .stack-acct-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 16px; background: rgba(11,42,99,0.05); font-size: 14px; font-weight: 600; color: #111; }
  .stack-acct-row .av { flex: none; width: 32px; height: 32px; font-size: 13px; }
  .stack-acct-row small { display: block; margin-left: auto; font-weight: 400; color: var(--muted); }
  /* "Taux de réponse en hausse" : notifications qui apparaissent une par
     une avec un effet ressort (scale + fondu, origine en haut), puis
     repartent de zéro en boucle — reproduction fidèle de l'Animated List
     de magicui (même easing "spring", même look carte de notification),
     rejouée à chaque retour sur la carte (voir stackRender() dans
     main.js, même mécanique que les autres cartes de la pile). */
  .stack-notif-list { position: relative; margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
  .stack-notif { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,0.3); transform: scale(0); transform-origin: top; opacity: 0; transition: transform 0.75s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s var(--ease); }
  .stack-notif.in { transform: scale(1); opacity: 1; }
  .stack-notif-ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: var(--soft); font-size: 16px; }
  .stack-notif-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
  .stack-notif-txt b { font-size: 13px; font-weight: 700; color: #111; line-height: 1.25; }
  .stack-notif-txt span { font-size: 11.5px; color: var(--muted); line-height: 1.2; }
  .stack[data-reduced="true"] .stack-notif { transition: none; }
  .stack-card.sc-black .bubble.dark { margin-top: 16px; padding: 14px 16px; }
  .stack-card.sc-black .bubble.dark p { font-size: 13px; color: #fff; }
  /* Carte "Trois issues. Jamais au hasard." : icône loupe+coche, puis un
     stepper "Phase 0X" — pastilles numérotées reliées par un trait à
     gauche, contenu (titre + texte) à droite qui défile automatiquement
     sur les 3 critères, en boucle (fondu simple, voir main.js). */
  .phase-stepper { display: flex; gap: 16px; margin-top: auto; margin-bottom: auto; }
  .phase-rail { position: relative; flex: none; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 2px 0; }
  .phase-rail::before { content: ""; position: absolute; top: 12px; bottom: 12px; left: 50%; width: 1px; background: rgba(255,255,255,0.18); transform: translateX(-50%); }
  .phase-dot { position: relative; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.3); background: #0b0b0b; font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.45); transition: background 0.4s, border-color 0.4s, color 0.4s; }
  .phase-dot.active { background: #fff; border-color: #fff; color: #0b0b0b; }
  /* Le point actif reste gris/blanc pendant l'analyse, puis se colore une
     fois le verdict tombé (voir main.js) : vert = validé, rouge = refusé. */
  .phase-dot.active.verdict[data-state="go"] { background: #12b76a; border-color: #12b76a; color: #fff; }
  .phase-dot.active.verdict[data-state="stop"] { background: #ef4444; border-color: #ef4444; color: #fff; }
  .phase-content { flex: 1; min-width: 0; transition: opacity 0.4s, transform 0.4s var(--ease); }
  .phase-content.out { opacity: 0; transform: translateY(6px); }
  .phase-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
  .phase-title { display: block; margin-top: 5px; font-size: 19px; font-weight: 800; color: #fff; }
  .phase-text { display: block; margin-top: 7px; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.7); }
  .stack[data-reduced="true"] .phase-content { transition: none; }
  /* Carte "Planification horaire" : mini-calendrier en verre dépoli, posé sur
     le fond clair de la carte. Le jour en surbrillance avance tout seul d'un
     jour à l'autre (voir __resetCal() dans main.js), comme si le bot
     choisissait lui-même le prochain créneau de lancement. */
  .mini-cal { margin-top: 20px; }
  /* Verre dépoli coloré (bleu → violet → rose), comme la référence iOS
     partagée — posé sur le fond blanc de la carte pour créer le contraste. */
  .mini-cal-glass { position: relative; overflow: hidden; padding: 18px 16px; border-radius: 24px; background: linear-gradient(165deg, #7c8ce0 0%, #9270d6 50%, #c374bd 100%); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); border: 1px solid rgba(255,255,255,0.3); box-shadow: 0 20px 38px rgba(91,71,163,0.28), inset 0 1px 0 rgba(255,255,255,0.35); }
  .mini-cal-glass::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0) 45%); pointer-events: none; }
  .mini-cal-month { position: relative; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.8); }
  .mini-cal-days { position: relative; display: flex; justify-content: space-between; gap: 6px; margin-top: 14px; }
  /* Pastille qui glisse d'un jour à l'autre (voir __resetCal() dans main.js) :
     une seule transform en transition, plus fluide qu'un fondu par jour. */
  .mini-cal-highlight { position: absolute; top: 18px; left: 0; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #ffb066, #ff5e9f); box-shadow: 0 8px 20px rgba(255,94,159,0.45); transition: transform 0.7s var(--ease); }
  .mini-cal-day { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; }
  .mini-cal-day .wd { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.6); }
  .mini-cal-day .nb { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.75); transition: color 0.4s, transform 0.4s var(--ease); }
  .mini-cal-day.active .nb { color: #fff; transform: scale(1.06); }
  /* Petit point = aujourd'hui, fixe, indépendant du jour choisi qui défile. */
  .mini-cal-day .dot { position: absolute; bottom: -3px; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: #fff; opacity: 0.85; transform: translateX(-50%); }
  .mini-cal-time { position: relative; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.22); font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.8); }
  .mini-cal-time b { font-weight: 800; color: #fff; display: inline-block; }
  .mini-cal-time b.pop { animation: miniCalPop 0.5s var(--ease); }
  @keyframes miniCalPop { from { opacity: 0.35; transform: translateY(2px); } to { opacity: 1; transform: none; } }
  .stack[data-reduced="true"] .mini-cal-highlight { transition: none; }
  .stack[data-reduced="true"] .mini-cal-day .nb { transition: none; }
  .stack[data-reduced="true"] .mini-cal-time b.pop { animation: none; }
  /* Stat chiffrée : même position (bas de carte) sur toutes les cartes qui en
     ont une, chiffre animé (voir count() dans main.js, réutilisé ici). */
  .stack-stat { margin-top: 18px; }
  .stack-stat strong { display: block; font-size: 38px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
  .stack-stat > span { display: block; margin-top: 6px; font-size: 15px; font-weight: 500; line-height: 1.45; }
  .stack-stat-tag { margin-top: 0 !important; font-size: 19px !important; font-weight: 700 !important; color: inherit !important; }
  .stack-card.sc-blue .stack-stat > span { color: #31527a; }
  .stack-card.sc-black .stack-stat > span { color: #b8c0c6; }
  .stack-card.sc-soft .stack-stat > span { color: var(--muted); }
  .stack-card[data-depth="0"] { transform: rotate(0deg) translate(0, 0); z-index: 5; }
  .stack-card[data-depth="1"] { transform: rotate(-6deg) translate(8px, -6px); z-index: 4; background: rgba(255,255,255,0.5); border-color: rgba(255,255,255,0.7); box-shadow: 0 10px 24px rgba(0,0,0,0.08); }
  .stack-card[data-depth="2"] { transform: rotate(-12deg) translate(14px, -12px); z-index: 3; background: rgba(255,255,255,0.35); border-color: rgba(255,255,255,0.6); box-shadow: 0 8px 18px rgba(0,0,0,0.06); }
  .stack-card[data-depth="3"] { transform: rotate(-18deg) translate(20px, -18px); z-index: 2; background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.5); box-shadow: 0 6px 14px rgba(0,0,0,0.05); }
  .stack-card[data-depth="4"] { transform: rotate(-24deg) translate(26px, -24px); z-index: 1; background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.4); box-shadow: 0 4px 10px rgba(0,0,0,0.04); }
  .stack-card:not([data-depth="0"]) * { opacity: 0.15; }
  /* prefers-reduced-motion (voir main.js, .stack[data-reduced]) : un simple
     fondu, sans rotation ni décalage. */
  .stack[data-reduced="true"] .stack-card { transition: opacity 0.3s, background 0.3s; }
  .stack[data-reduced="true"] .stack-card[data-depth="0"] { transform: none; }
  .stack[data-reduced="true"] .stack-card[data-depth="1"] { transform: none; }
  .stack[data-reduced="true"] .stack-card[data-depth="2"] { transform: none; }
  .stack[data-reduced="true"] .stack-card[data-depth="3"] { transform: none; }
  .stack[data-reduced="true"] .stack-card[data-depth="4"] { transform: none; }
  .fomo { padding: 40px 18px; border-radius: 32px; }
  /* Texte du bouton ("Commencer avec 20 messages offerts") trop long pour
     tenir sur une ligne à cette largeur : en inline-flex + nowrap, il déborde
     et n'est du coup plus centré (tout le débordement part à droite). En
     pleine largeur + retour à la ligne autorisé, il reste dans la carte. */
  .fomo a.btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .plan.hot, .plan.hot:hover, .plan.hot.reveal.in:hover { transform: none; }
  /* Formule Pro (Populaire) affichée en premier sur mobile */
  .plan.hot { order: -1; }
  .fact.t1, .fact.t2, .fact.t3, .fact.t4 { min-height: 0; }
}
.fomo .pill { color: #0b1f4d; }
.fact strong { white-space: nowrap; font-size: clamp(40px, 4.4vw, 60px); }

/* Grille de fonctionnalités : nouvelles cartes */
.tagpro { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: #ffd23f; color: #3a2a00; font-size: 12px; font-weight: 700; vertical-align: middle; letter-spacing: 0; }
.alert.steps { margin-top: 12px; max-width: 280px; }
.zone { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 6px; margin-top: 26px; font-size: 13px; font-weight: 600; }
.zone span { padding: 16px 6px; border-radius: 16px; }
.zone .z1 { background: #fde4e4; color: #b42318; }
.zone .z2 { background: repeating-linear-gradient(135deg, #e5e7eb 0 8px, #d5d9df 8px 16px); color: #344054; }
.zone .z3 { background: #d1fadf; color: #067647; }
.bubble { max-width: 520px; margin: 22px auto 0; padding: 18px 20px; border-radius: 24px 22px 22px 6px; background: #fff; text-align: left; box-shadow: 0 12px 30px rgba(6,26,61,0.08); }
.bubble p { margin-top: 10px; color: var(--ink); }
.bigicon { font-size: 64px; filter: drop-shadow(0 10px 14px rgba(6,26,61,0.2)); animation: bob 5s ease-in-out infinite; }
.bc.guarc { background: linear-gradient(160deg, #e7f7ee, #d3efe0); }
.bc .acct { text-align: left; }
.bc.full { grid-column: 1 / -1; }
.bc .accts { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.bc .accts .acct { margin: 0; }
.bubble.dark { margin-top: 30px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); box-shadow: none; }
.bc.black .bubble p { color: #fff; }
.bubble.dark .tag { background: rgba(50,213,131,0.18); color: #7cf0b3; }

/* Grille de fonctionnalités : corrections de mise en page */
.bc { display: flex; flex-direction: column; container-type: inline-size; }
.bc > .art { flex: 1; align-content: center; margin-top: 12px; }
.bc > .scroller, .bc > div[style*="overflow"] { margin-top: auto; padding-top: 18px; }

/* Carte noire : le titre en haut, le mot au centre, l'exemple en bas */
.bc.black.tall { justify-content: space-between; }
.bc.black .word { margin: 24px 0; height: 1.1em; font-size: 52px; font-size: clamp(26px, calc((100cqw - 72px) / 6.4), 66px); }
.word b { display: flex; align-items: center; justify-content: center; white-space: nowrap; transition: opacity 0.25s ease, transform 0.5s var(--ease); }
.word b.on { transition-delay: 0.25s; }
.bc.black .bubble.dark { margin-top: 0; width: 100%; }

/* Carte "Taux de réponse en hausse" (desktop) : même liste de
   notifications que la carte mobile équivalente (.stack-notif-list),
   reconstruite ici avec ses propres classes .bc-notif* car .bento et
   .stack sont deux systèmes parallèles qui ne partagent pas leurs styles.
   Boucle pilotée par main.js (voir le bloc partagé avec .stack-notif). */
.bc-notif-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.bc-notif { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,0.3); transform: scale(0); transform-origin: top; opacity: 0; transition: transform 0.75s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s var(--ease); }
.bc-notif.in { transform: scale(1); opacity: 1; }
.bc-notif-ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: var(--soft); font-size: 16px; }
.bc-notif-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.bc-notif-txt b { font-size: 13px; font-weight: 700; color: #111; line-height: 1.25; }
.bc-notif-txt span { font-size: 11.5px; color: var(--muted); line-height: 1.2; }

/* Tablette et petit écran d'ordinateur : deux colonnes au lieu de trois trop étroites */
@media (max-width: 1180px) and (min-width: 901px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bc.tall, .bc.wide, .bc.full { grid-column: 1 / -1; grid-row: auto; }
}

/* Mot animé : le dégradé est porté par chaque mot (plus fiable que sur le parent) */
.word { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #f2760d; }
.word b { color: transparent; background: linear-gradient(#ffb547, #f2760d); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Carte « 3 analyses » : texte complet, compact */
.bc .intro { margin-top: 8px; font-size: 15px; line-height: 1.45; color: #31527a; }
.flt { list-style: none; margin-top: 16px; padding: 2px 14px; text-align: left; background: #fff; border-radius: 16px; box-shadow: 0 10px 26px rgba(6,26,61,0.08); }
.flt li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #e6edf7; font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--ink); }
.flt li:last-child { border-bottom: 0; }
.flt .n { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #3b82f6; color: #fff; font-size: 12px; font-weight: 700; }
.flt li:nth-child(2) .n { background: #1d4fd7; }
.flt li:nth-child(3) .n { background: #0b2a63; }
.flt .tagpro { margin-left: 4px; font-style: normal; }
.bc .verdict { margin-top: 14px; padding: 10px 14px; border-radius: 16px; background: rgba(255,255,255,0.55); font-size: 14px; font-weight: 600; line-height: 1.35; color: #0b2a63; }


/* Message sous le bouton de téléchargement tant que le lien n'est pas branché */
.dl-msg { margin-top: 18px; padding: 12px 18px; border-radius: 16px; background: #fff; color: var(--ink); font-size: 15px; box-shadow: 0 8px 24px rgba(6,26,61,0.1); }
.dl-msg a { color: var(--blue-2); font-weight: 600; text-decoration: underline; }

/* Réassurance sous le bouton du haut */
.hero-reassure { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Calculateur "Combien vous coûte la prospection à la main ?" (section
   #pourquoi-maintenant) : curseurs à gauche, résultat en direct à droite,
   une seule colonne sur mobile. Calcul dans main.js (basé sur Starter). */
.fomo h2 { margin-bottom: 10px; }
.calc-sub { margin: 0 auto 34px; max-width: 560px; color: #cfe0ff; font-size: 17px; }
.calc { display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px; margin-bottom: 36px; text-align: left; }
.calc-panel { min-width: 0; padding: 28px; border-radius: 24px; }
.calc-inputs { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); }
.calc-field + .calc-field { margin-top: 28px; }
.calc-field-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc-field label { font-weight: 600; }
.calc-field output { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-field small { display: block; font-size: 13px; color: #cfe0ff; }
.calc-field input[type=range] { width: 100%; height: 8px; margin: 16px 0 0; border-radius: 99px; -webkit-appearance: none; appearance: none; background: linear-gradient(90deg, #8fb8ff var(--p, 30%), rgba(255,255,255,0.18) var(--p, 30%)); cursor: pointer; }
.calc-field input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(143,184,255,0.35), 0 4px 12px rgba(0,0,0,0.3); }
.calc-field input[type=range]::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(143,184,255,0.35); }
.calc-result { display: flex; flex-direction: column; gap: 18px; background: #fff; color: var(--ink); box-shadow: 0 20px 50px rgba(0,0,0,0.25); }
.calc-big-label { display: block; font-size: 15px; font-weight: 500; color: var(--muted); }
.calc-big { display: block; font-size: clamp(48px, 6vw, 68px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; color: var(--blue-2); font-variant-numeric: tabular-nums; }
.calc-big small { font-size: 0.4em; font-weight: 700; letter-spacing: 0; color: var(--ink); }
.calc-equiv { font-size: 15px; color: var(--muted); }
.calc-equiv b { color: var(--ink); }
.calc-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-row { min-width: 0; padding: 16px; border-radius: 16px; background: var(--soft); }
.calc-row strong { display: block; font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc-row span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.calc-warn { background: #fdf1f2; }
.calc-warn strong { color: #d92d20; }
.calc-hyp { margin-top: 14px; font-size: 12px; color: rgba(255,255,255,0.55); }
@media (max-width: 900px) {
  .calc { grid-template-columns: 1fr; }
  .calc-panel { padding: 22px; }
  .calc-sub { font-size: 16px; }
}

/* Bandeau sous le haut de page : texte complet sur ordi, version courte sur mobile */
.hm-short { display: none; }
@media (max-width: 900px) {
  .hm-long { display: none; }
  .hm-short { display: inline; }
  /* Sécurité : "14 jours" et "24/7" centrés sur mobile */
  .mini-stats { justify-content: center; text-align: center; }
  .mini-stats span { margin-left: auto; margin-right: auto; }
}

/* Mobile plus court (retour du 2026-11-05 : 18 écrans à faire défiler) */
@media (max-width: 900px) {
  /* Moins d'espace entre les sections et sous les titres */
  .section { padding: 52px 0; }
  .head { margin-bottom: 28px; }
  .stack { height: 572px; margin-top: 18px; }
  /* Comparatif masqué : il répète les Chiffres juste au-dessus (gardé sur ordi) */
  #comparatif { display: none; }
  /* Entreprise réduite à une ligne : titre, phrase et bouton */
  .plan-ent .amount, .plan-ent .guarantee, .plan-ent ul { display: none; }
  .plan-ent { gap: 6px; }
  .plan-ent .btn { margin-top: 10px; }
  /* Bloc final et pied de page plus compacts */
  .final { padding-top: 64px; }
  .final .cta { margin-bottom: 0; }
  .final .final-foot { padding-top: 40px; background: none; }
  .final h2 { text-wrap: balance; }
  .final h2 br { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .foot-grid h4 { margin-bottom: 8px; font-size: 17px; }
  .foot-grid a { padding: 2px 0; }
  .foot-grid p { margin: 10px 0 16px; }
}

/* Fond du calculateur : même bleu nuit que les anciennes cartes du carrousel
   (photo de montagne floutée sous un voile bleu foncé). Le flou est statique,
   jamais animé. */
.fomo { position: relative; overflow: hidden; isolation: isolate; background: #0b1f4d; box-shadow: 0 30px 80px rgba(8, 20, 48, 0.35); }
.fomo::before { content: ""; position: absolute; inset: -24px; z-index: -1; background: linear-gradient(rgba(8,22,58,0.82), rgba(11,31,77,0.6) 55%, rgba(8,20,48,0.7)), url(/assets/mountain-bg.webp) center / cover no-repeat; filter: blur(14px); }
