/* ==========================================================================
   Sixtycall — feuille de style principale
   Tokens de marque : voir brand/BRIEF.md
   ========================================================================== */

:root {
  --ink: #0E1420;
  --ink-2: #161E2D;
  --ink-3: #2A3242;
  --signal: #FF5B2E;
  --signal-dark: #D9431A;      /* orange assombri pour texte sur fond clair (contraste AA) */
  --signal-soft: #FFE6DD;
  --cream: #FAF7F2;
  --paper: #FFFFFF;
  --mint: #16C784;
  --mint-dark: #0B8A5A;
  --mint-soft: #DDF6EA;
  --slate: #5B6475;
  --slate-light: #A3ABBA;
  --line: #E6E1D8;
  --line-dark: #2A3242;

  --font-title: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow-s: 0 1px 2px rgba(14, 20, 32, .06), 0 2px 8px rgba(14, 20, 32, .04);
  --shadow: 0 1px 2px rgba(14, 20, 32, .05), 0 12px 32px -8px rgba(14, 20, 32, .14);
  --shadow-l: 0 30px 80px -20px rgba(14, 20, 32, .35);

  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 120px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 1rem/1.2 var(--font-body);
  padding: 15px 22px; border-radius: 12px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--signal); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 20px -6px rgba(255, 91, 46, .55);
}
.btn-primary:hover { background: #FF6A40; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 12px 26px -6px rgba(255, 91, 46, .6); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); background: rgba(255,255,255,.6); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-dark { background: transparent; color: var(--cream); border-color: var(--line-dark); }
.btn-ghost-dark:hover { border-color: var(--cream); }
.btn-sm { padding: 10px 16px; font-size: .92rem; border-radius: 10px; }
.btn-block { width: 100%; white-space: normal; text-align: center; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(250, 247, 242, .94); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { text-decoration: none; color: var(--slate); font-weight: 500; font-size: .95rem; }
.main-nav a:hover { color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 10px; }

@media (max-width: 920px) { .main-nav { display: none; } }
@media (max-width: 420px) {
  .brand img { height: 28px; }
  .header-cta .btn { padding: 9px 12px; font-size: .85rem; }
}

/* ---------- Sections génériques ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.section-dark { background: var(--ink); color: var(--cream); }
.section-paper { background: var(--paper); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 .78rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  color: var(--signal-dark); margin-bottom: 18px;
}
.section-dark .eyebrow { color: var(--signal); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--slate); line-height: 1.6; }
.section-dark .lead { color: var(--slate-light); }
.hl { color: var(--signal); }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 8vw, 110px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(14,20,32,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14,20,32,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -120px;
  background: radial-gradient(circle, rgba(255,91,46,.16), transparent 62%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: nowrap; max-width: 100%;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px 6px 6px; font-size: .88rem; color: var(--slate); margin-bottom: 26px;
  box-shadow: var(--shadow-s);
}
.badge strong { background: var(--ink); color: var(--cream); border-radius: 999px; padding: 3px 10px; font-weight: 600; font-size: .78rem; }
.hero h1 .num { color: var(--signal); white-space: nowrap; }
.hero .lead { max-width: 580px; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; color: var(--slate); font-size: .92rem; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 18px; height: 18px; color: var(--mint-dark); flex-shrink: 0; }

/* Maquette téléphone */
.phone-wrap { position: relative; display: flex; justify-content: center; padding: 10px 0; }
.phone {
  width: 300px; max-width: 100%;
  background: var(--ink); border-radius: 44px; padding: 12px;
  box-shadow: var(--shadow-l), 0 0 0 1px rgba(255,255,255,.06) inset;
  position: relative;
}
.phone-screen {
  background: linear-gradient(180deg, #151D2C 0%, #0E1420 100%);
  border-radius: 34px; padding: 18px 18px 78px; color: var(--cream); position: relative; overflow: hidden;
  min-height: 540px; display: flex; flex-direction: column;
}
.phone-notch { width: 96px; height: 26px; background: #05080E; border-radius: 0 0 16px 16px; margin: -18px auto 14px; }
.phone-status { display: flex; justify-content: space-between; font-size: .72rem; color: var(--slate-light); margin-bottom: 18px; }
.call-card { text-align: center; }
.call-label { font-size: .78rem; color: var(--slate-light); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; display: inline-flex; align-items: center; gap: 8px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(22,199,132,.6); animation: pulse 1.6s infinite; }
.timer-ring { position: relative; width: 168px; height: 168px; margin: 0 auto 16px; }
.timer-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.timer-ring .track { stroke: var(--ink-3); }
.timer-ring .progress { stroke: var(--signal); stroke-linecap: round; transition: stroke-dashoffset .9s linear; }
.timer-value {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-title); font-weight: 700; font-size: 2.3rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.timer-value small { font-family: var(--font-body); font-size: .7rem; font-weight: 500; color: var(--slate-light); letter-spacing: .02em; margin-top: 2px; }
.caller { font-family: var(--font-title); font-weight: 600; font-size: 1.1rem; margin-bottom: 2px; }
.caller-sub { font-size: .8rem; color: var(--slate-light); }
.wave { display: flex; gap: 3px; justify-content: center; align-items: center; height: 26px; margin: 14px 0 0; }
.wave span { width: 3px; background: var(--signal); border-radius: 3px; height: 30%; animation: wave 1.1s ease-in-out infinite; opacity: .9; }
.wave span:nth-child(2) { animation-delay: .1s; } .wave span:nth-child(3) { animation-delay: .25s; }
.wave span:nth-child(4) { animation-delay: .4s; } .wave span:nth-child(5) { animation-delay: .15s; }
.wave span:nth-child(6) { animation-delay: .3s; } .wave span:nth-child(7) { animation-delay: .05s; }
.wave span:nth-child(8) { animation-delay: .35s; } .wave span:nth-child(9) { animation-delay: .2s; }
.phone-steps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-size: .8rem; }
.phone-steps li { display: flex; align-items: center; gap: 10px; color: var(--slate-light); transition: color .3s ease; }
.phone-steps li .tick { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--ink-3); display: grid; place-items: center; flex-shrink: 0; transition: all .3s ease; }
.phone-steps li .tick svg { width: 10px; height: 10px; opacity: 0; color: var(--ink); transition: opacity .2s; }
.phone-steps li.done { color: var(--cream); }
.phone-steps li.done .tick { background: var(--mint); border-color: var(--mint); }
.phone-steps li.done .tick svg { opacity: 1; }
.sms {
  position: absolute; left: -40px; bottom: 30px; width: 250px; z-index: 2;
  background: var(--paper); color: var(--ink); border-radius: 18px 18px 18px 6px; padding: 12px 14px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .45s ease, transform .45s cubic-bezier(.2,.9,.3,1.3);
}
.sms.show { opacity: 1; transform: none; }
.sms-head { display: flex; justify-content: space-between; font-size: .7rem; color: var(--slate); margin-bottom: 4px; }
.sms-body { font-weight: 600; font-size: .95rem; }
.chip-float {
  position: absolute; right: -36px; top: 150px; z-index: 2;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px;
  box-shadow: var(--shadow); font-size: .78rem; color: var(--slate); line-height: 1.35;
}
.chip-float b { display: block; color: var(--ink); font-size: .9rem; font-family: var(--font-title); }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22,199,132,.6); } 70% { box-shadow: 0 0 0 8px rgba(22,199,132,0); } 100% { box-shadow: 0 0 0 0 rgba(22,199,132,0); } }
@keyframes wave { 0%, 100% { height: 25%; } 50% { height: 100%; } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phone-wrap { margin-top: 12px; }
}
@media (max-width: 480px) {
  .phone { width: 272px; }
  .phone-screen { min-height: 500px; }
  .sms { left: 50%; margin-left: -125px; bottom: 24px; width: 250px; }
  .chip-float { display: none; }
  .badge .badge-more { display: none; }
  .hero-ctas .btn { width: 100%; }
}

/* ---------- Bandeau chiffres ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--paper); padding: 26px 24px; }
.stat-num { font-family: var(--font-title); font-weight: 700; font-size: clamp(2rem, 4vw, 2.6rem); letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; }
.stat-num .unit { color: var(--signal); }
.stat p { color: var(--slate); font-size: .93rem; margin: 0; }
.stat cite { display: block; font-style: normal; font-size: .78rem; color: var(--slate); opacity: .85; margin-top: 8px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Pourquoi maintenant ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line-dark); }
.timeline li { position: relative; padding: 0 0 26px 36px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 2px solid var(--slate); }
.timeline li.key::before { border-color: var(--signal); background: var(--signal); box-shadow: 0 0 0 5px rgba(255,91,46,.18); }
.timeline .date { font-family: var(--font-title); font-weight: 600; color: var(--cream); display: block; margin-bottom: 2px; }
.timeline p { color: var(--slate-light); margin: 0; font-size: .95rem; }
.law-card { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius-l); padding: clamp(24px, 3.5vw, 36px); }
.law-card h3 { color: var(--cream); font-size: 1.3rem; }
.law-list { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 14px; }
.law-list li { display: flex; gap: 12px; color: var(--slate-light); font-size: .96rem; }
.law-list li svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--mint); margin-top: 2px; }
.law-list strong { color: var(--cream); font-weight: 600; }
.amount { font-family: var(--font-title); font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 700; color: var(--cream); letter-spacing: -0.03em; }
.disclaimer {
  display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--slate-light);
  border-top: 1px solid var(--line-dark); padding-top: 16px; margin-top: 8px;
}
.disclaimer svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; }
.sources { font-size: .8rem; color: var(--slate-light); margin-top: 18px; }
.sources a { color: var(--slate-light); }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Problème ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-s);
}
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--signal-soft); color: var(--signal-dark);
}
.card .icon svg { width: 22px; height: 22px; }
.card p { color: var(--slate); margin: 0; font-size: .96rem; }
.card .big { font-family: var(--font-title); font-size: 1.9rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 4px; }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } }

/* ---------- Comment ça marche ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { position: relative; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-title); font-weight: 700;
  width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: var(--cream); margin-bottom: 18px; font-size: .95rem;
}
.step .time { display: inline-block; margin-left: 8px; font-size: .78rem; font-weight: 600; color: var(--signal-dark); background: var(--signal-soft); padding: 4px 8px; border-radius: 6px; vertical-align: middle; }
.step p { color: var(--slate); font-size: .94rem; margin: 0; }
.steps-note { margin-top: 26px; color: var(--slate); font-size: .92rem; display: flex; gap: 10px; align-items: flex-start; }
.steps-note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--signal-dark); }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Transcription ---------- */
.transcript-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.transcript {
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius-l); overflow: hidden;
}
.transcript-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-dark); font-size: .85rem; color: var(--slate-light); flex-wrap: wrap; }
.transcript-head .rec { display: inline-flex; align-items: center; gap: 8px; color: var(--cream); font-weight: 600; }
.transcript-head .rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }
.transcript-body { padding: 20px; display: grid; gap: 12px; max-height: 560px; overflow-y: auto; }
.msg { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; }
.msg .av { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font: 700 .78rem var(--font-title); }
.msg.lea .av { background: var(--signal); color: #fff; }
.msg.client .av { background: var(--ink-3); color: var(--cream); }
.msg .bubble { background: var(--ink); border: 1px solid var(--line-dark); border-radius: 4px 14px 14px 14px; padding: 10px 14px; font-size: .93rem; color: #DCE0E8; }
.msg.client .bubble { background: transparent; }
.msg .who { display: block; font-size: .72rem; font-weight: 600; color: var(--slate-light); margin-bottom: 2px; letter-spacing: .02em; }
.msg .who time { font-weight: 400; margin-left: 6px; }
.summary-card { margin: 4px 20px 20px; background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 18px 20px; }
.summary-card h4 { font-size: .95rem; margin: 0 0 10px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 6px; font: 600 .75rem var(--font-body); padding: 4px 10px; border-radius: 999px; }
.tag-hot { background: var(--signal-soft); color: var(--signal-dark); }
.tag-ok { background: var(--mint-soft); color: var(--mint-dark); }
.summary-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: .87rem; }
.summary-card dt { color: var(--slate); }
.summary-card dd { margin: 0; font-weight: 500; }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; color: var(--slate-light); }
.check-list li svg { width: 20px; height: 20px; color: var(--mint); flex-shrink: 0; margin-top: 3px; }
.check-list strong { color: var(--cream); }
@media (max-width: 900px) { .transcript-grid { grid-template-columns: 1fr; } }

/* ---------- ROI ---------- */
.roi { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); }
.roi-inputs, .roi-results { min-width: 0; }
.roi-inputs { padding: clamp(24px, 4vw, 40px); display: grid; gap: 22px; }
.field-range label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; font-size: .95rem; margin-bottom: 10px; }
.field-range output { font-family: var(--font-title); font-weight: 700; font-size: 1.15rem; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.field-range .hint { font-size: .8rem; color: var(--slate); margin-top: 6px; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: var(--line); outline-offset: 6px;
  background-image: linear-gradient(var(--signal), var(--signal)); background-repeat: no-repeat; background-size: var(--fill, 50%) 100%;
}
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 2px solid var(--signal); box-shadow: var(--shadow-s); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 2px solid var(--signal); cursor: pointer; }
.roi-results { background: var(--ink); color: var(--cream); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; }
.roi-results .label { font-size: .85rem; color: var(--slate-light); }
.roi-big { font-family: var(--font-title); font-weight: 700; font-size: clamp(2.6rem, 6vw, 3.8rem); letter-spacing: -0.04em; line-height: 1; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.roi-big .plus { color: var(--mint); }
.roi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0; }
.roi-kpi { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 12px; padding: 14px 16px; }
.roi-kpi b { display: block; font-family: var(--font-title); font-size: 1.45rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.roi-kpi span { font-size: .8rem; color: var(--slate-light); }
.roi-note { font-size: .8rem; color: var(--slate-light); margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-dark); }
.roi-note strong { color: var(--cream); }
.roi-results .btn { margin-top: 18px; }
@media (max-width: 860px) { .roi { grid-template-columns: 1fr; } }
@media (max-width: 400px) { .roi-row { grid-template-columns: 1fr; } }

/* ---------- Fonctionnalités ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.feature { background: var(--paper); padding: 28px 24px; }
.feature .ficon { width: 40px; height: 40px; border-radius: 10px; background: var(--cream); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 16px; color: var(--ink); }
.feature .ficon svg { width: 20px; height: 20px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { color: var(--slate); font-size: .9rem; margin: 0; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .features { grid-template-columns: 1fr; } }

/* ---------- Pour qui ---------- */
.sectors { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.sectors li {
  display: inline-flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line);
  border-radius: 999px; padding: 12px 20px 12px 14px; font-weight: 600; font-size: .98rem; box-shadow: var(--shadow-s);
}
.sectors li svg { width: 22px; height: 22px; color: var(--signal-dark); }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.fit .card h3 { display: flex; align-items: center; gap: 10px; }
.fit ul { margin: 0; padding-left: 20px; color: var(--slate); font-size: .95rem; }
.fit li { margin-bottom: 6px; }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }

/* ---------- Tarifs ---------- */
.founders {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: var(--ink); color: var(--cream); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 28px;
}
.founders-text { display: flex; align-items: center; gap: 16px; flex: 1 1 320px; min-width: 0; }
.founders-text strong { font-family: var(--font-title); font-size: 1.1rem; }
.founders-text p { margin: 0; color: var(--slate-light); font-size: .9rem; }
.seats { display: flex; gap: 6px; flex-shrink: 0; }
@media (max-width: 600px) { .founders-text { flex-direction: column; align-items: flex-start; gap: 12px; } }
.seats span { width: 26px; height: 26px; border-radius: 8px; border: 1.5px dashed var(--slate); display: grid; place-items: center; font: 700 .72rem var(--font-title); color: var(--slate-light); }
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 30px 28px;
  display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow-s);
}
.plan.featured { border: 2px solid var(--signal); box-shadow: var(--shadow); }
.plan-flag { position: absolute; top: -13px; left: 28px; background: var(--signal); color: #fff; font: 600 .75rem var(--font-body); padding: 5px 12px; border-radius: 999px; letter-spacing: .02em; }
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan .plan-desc { color: var(--slate); font-size: .92rem; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 4px; flex-wrap: wrap; }
.price b { font-family: var(--font-title); font-size: 2.8rem; letter-spacing: -0.04em; line-height: 1; }
.price span { color: var(--slate); font-size: .95rem; }
.price-sub { font-size: .86rem; color: var(--slate); min-height: 2.6em; margin-bottom: 18px; }
.price-sub s { color: var(--slate); }
.price-sub .free { color: var(--mint-dark); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; font-size: .93rem; }
.plan ul li { display: flex; gap: 10px; }
.plan ul li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--mint-dark); margin-top: 3px; }
.plan .btn { margin-top: auto; }
.pricing-foot { text-align: center; color: var(--slate); font-size: .88rem; margin-top: 24px; }
@media (max-width: 960px) { .pricing { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .plan .plan-desc, .price-sub { min-height: 0; } }

/* ---------- Garantie ---------- */
.guarantee {
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 40px); align-items: center;
  background: var(--mint-soft); border: 1px solid #BDEBD5; border-radius: var(--radius-l); padding: clamp(24px, 4vw, 44px);
}
.seal { width: 112px; height: 112px; flex-shrink: 0; }
.guarantee h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .35em; }
.guarantee p { margin: 0; color: #2F4A3E; }
.guarantee small { display: block; margin-top: 10px; color: #3E5A4D; font-size: .82rem; }
@media (max-width: 860px) { .guarantee { grid-template-columns: 1fr; text-align: left; } .seal { width: 84px; height: 84px; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--font-title); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--slate); border-bottom: 2px solid var(--slate); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 0 22px; color: var(--slate); font-size: .97rem; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq-aside .card { margin-top: 24px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Démo live / formulaires ---------- */
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.form-card { background: var(--paper); color: var(--ink); border-radius: var(--radius-l); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-l); }
.form-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.form-card .form-intro { color: var(--slate); font-size: .92rem; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field .req { color: var(--signal-dark); }
.field input, .field select {
  width: 100%; font: 400 1rem var(--font-body); color: var(--ink); background: var(--cream);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 14px; min-height: 50px;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235B6475' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.field input:hover, .field select:hover { border-color: #CFC8BC; }
.field input:focus, .field select:focus { outline: none; border-color: var(--signal); background: var(--paper); box-shadow: 0 0 0 4px rgba(255,91,46,.15); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #C8321A; }
.field-error { display: block; color: #B42A14; font-size: .82rem; margin-top: 5px; min-height: 0; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; background: var(--cream); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 6px; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--signal); cursor: pointer; }
.consent label { font-size: .86rem; line-height: 1.5; color: var(--ink); cursor: pointer; }
.consent.invalid { border-color: #C8321A; }
.form-legal { font-size: .76rem; color: var(--slate); margin: 12px 0 0; line-height: 1.5; }
.form-legal a { color: var(--slate); }
.form-status { display: none; border-radius: 12px; padding: 16px; margin-top: 16px; font-size: .93rem; }
.form-status.show { display: flex; gap: 12px; align-items: flex-start; }
.form-status svg { width: 22px; height: 22px; flex-shrink: 0; }
.form-status.success { background: var(--mint-soft); color: #0B5E3E; }
.form-status.error { background: #FDE7E1; color: #8E2410; }
.form-status strong { display: block; margin-bottom: 2px; }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.demo-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.demo-points li { display: flex; gap: 14px; color: var(--slate-light); }
.demo-points .n { width: 28px; height: 28px; border-radius: 8px; background: var(--ink-3); color: var(--cream); display: grid; place-items: center; font: 700 .8rem var(--font-title); flex-shrink: 0; }
.demo-points strong { color: var(--cream); display: block; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- CTA final ---------- */
.final-cta { text-align: center; }
.final-cta .hero-ctas { justify-content: center; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: var(--slate-light); padding: 56px 0 32px; font-size: .9rem; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-grid img { height: 32px; width: auto; margin-bottom: 14px; }
.footer-grid h4 { color: var(--cream); font-size: .92rem; margin-bottom: 12px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--slate-light); text-decoration: none; }
.footer-grid a:hover { color: var(--cream); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Pages légales ---------- */
.legal-banner {
  background: #FFF4D6; border-bottom: 1px solid #F0DA9A; color: #5C4500; font-size: .92rem; padding: 12px 0; text-align: center;
}
.legal-banner strong { font-weight: 700; }
.legal-page { padding: clamp(40px, 6vw, 72px) 0 var(--section-y); }
.legal-page .container { max-width: 820px; }
.legal-page h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.legal-page h2 { font-size: 1.45rem; margin-top: 2.2em; letter-spacing: -0.015em; }
.legal-page h3 { margin-top: 1.6em; }
.legal-page p, .legal-page li { color: #333B4A; font-size: 1rem; }
.legal-page ul, .legal-page ol { padding-left: 22px; }
.legal-page li { margin-bottom: 6px; }
.legal-page .updated { color: var(--slate); font-size: .9rem; }
.legal-page .ph { background: var(--signal-soft); color: var(--signal-dark); padding: 1px 6px; border-radius: 5px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; word-break: break-word; }
.table-wrap { overflow-x: auto; margin: 16px 0 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.legal-page table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
.legal-page th, .legal-page td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-page th { background: var(--cream); font-weight: 600; }
.legal-page tr:last-child td { border-bottom: 0; }
.legal-page .toc { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin: 24px 0; }
.legal-page .toc ol { margin: 0; }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .wave span { height: 60%; }
}

/* Badge hero : jamais sur deux lignes */
.badge { white-space: nowrap; }
@media (max-width: 1180px) { .badge-more { display: none; } }
@media (max-width: 374px) { .badge { font-size: .76rem; gap: 6px; padding-right: 10px; } .badge strong { padding: 3px 8px; font-size: .7rem; } }

/* ---------- Paiement intégré (Stripe Embedded Checkout) ---------- */
.checkout-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-start; justify-content: center; padding: max(16px, env(safe-area-inset-top)) 16px 16px; overflow-y: auto; }
.checkout-modal[hidden] { display: none; }
.checkout-backdrop { position: fixed; inset: 0; background: rgba(14, 20, 32, .62); backdrop-filter: blur(3px); }
.checkout-panel { position: relative; width: 100%; max-width: 560px; margin: clamp(8px, 4vh, 48px) auto; background: var(--paper); border-radius: var(--radius-l); box-shadow: var(--shadow-l); padding: clamp(20px, 3vw, 28px); }
.checkout-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.checkout-kicker { margin: 0 0 4px; font: 600 .78rem/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--signal-dark, #D9441C); }
.checkout-head h2 { margin: 0; font-size: clamp(1.4rem, 3vw, 1.75rem); }
.checkout-head h2 span { font-size: .6em; font-weight: 500; color: var(--slate); }
.checkout-close { border: 0; background: var(--cream); width: 40px; height: 40px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); flex-shrink: 0; }
.checkout-close:hover, .checkout-close:focus-visible { background: var(--line); outline: none; }
.checkout-points { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 6px; color: var(--slate); font-size: .93rem; }
.checkout-points li::before { content: "✓ "; color: var(--mint-dark, #0E9A63); font-weight: 700; }
.checkout-mount { min-height: 320px; }
.checkout-loading { color: var(--slate); text-align: center; padding: 60px 0; }
.checkout-error { background: #FFF1EC; color: #9A2E10; border-radius: var(--radius-s); padding: 12px 14px; font-size: .93rem; }
.checkout-foot { margin: 14px 0 0; text-align: center; font-size: .82rem; color: var(--slate); }
.checkout-foot a { color: inherit; }
