/* =============================================================================
   Kivo — Styles par section (header, hero, scrollytelling, démos, tarifs…)
   ============================================================================= */

/* Fond ambiant global */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% -5%, rgba(59, 130, 246, .22), transparent 60%),
    radial-gradient(45% 40% at 10% 8%, rgba(139, 92, 246, .14), transparent 60%),
    radial-gradient(50% 45% at 50% 110%, var(--accent-soft), transparent 60%);
  transition: background var(--t-slow) var(--ease);
}

/* ====================== HEADER ====================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(11, 16, 32, .55);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t);
}
.site-header.scrolled { background: rgba(9, 13, 26, .85); border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; width: 100%; }
.brand { display: flex; align-items: center; }
.brand svg { height: 32px; width: auto; }

.main-nav { display: flex; align-items: center; gap: .3rem; margin-left: .5rem; }
.main-nav a {
  padding: .55rem .85rem; border-radius: var(--r-sm); color: var(--text-soft);
  font-weight: 500; font-size: var(--step--1); transition: color var(--t), background var(--t);
}
.main-nav a:hover { color: var(--text); background: var(--surface-2); }

.header-spacer { margin-left: auto; }
.header-actions { display: flex; align-items: center; gap: .65rem; }

/* Pastille "Vue : métier" */
.view-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .55rem .4rem .85rem; border-radius: var(--r-pill);
  background: var(--accent-soft); border: 1px solid var(--accent);
  font-size: var(--step--1); font-weight: 600; color: var(--text);
  transition: background var(--t), border-color var(--t);
}
.view-pill .vp-ico { width: 18px; height: 18px; color: var(--accent); }
.view-pill .vp-change { color: var(--accent); font-size: .7rem; opacity: .85; }

/* Méga-menu métiers */
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 0; width: min(560px, 80vw);
  background: var(--bg-700); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1rem; box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: 1fr 1fr; gap: .35rem;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-item {
  display: flex; align-items: center; gap: .7rem; padding: .6rem .7rem; border-radius: var(--r-md);
  cursor: pointer; transition: background var(--t); text-align: left; width: 100%;
}
.mega-item:hover { background: var(--surface-2); }
.mega-item .mi-ico {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none;
  background: var(--surface-2); border: 1px solid var(--border);
}
.mega-item .mi-ico svg { width: 20px; height: 20px; color: var(--accent); }
.mega-item b { font-size: var(--step--1); }
.mega-item small { display: block; color: var(--text-dim); font-size: .75rem; }

/* Burger mobile */
.burger { display: none; width: 44px; height: 44px; border-radius: 10px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px auto; transition: transform var(--t), opacity var(--t); }
.mobile-nav { display: none; }

/* ====================== HERO ====================== */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 5rem)); padding-bottom: clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: 1.2rem; }
.hero .lead { font-size: var(--step-1); max-width: 42ch; margin-bottom: 1.6rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.4rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; color: var(--text-dim); font-size: var(--step--1); }
.hero-proof span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-proof svg { width: 16px; height: 16px; color: var(--success); }

/* Sélecteur de métier intégré à la phrase */
.inline-selector {
  position: relative; display: inline-flex; align-items: center; gap: .4rem;
  vertical-align: baseline;
}
.inline-selector-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .12em .5em; border-radius: 12px;
  background: var(--accent-soft); border: 1px solid var(--accent);
  font-family: var(--font-title); font-weight: 700; color: var(--text);
  font-size: .82em; line-height: 1.1; transition: background var(--t), border-color var(--t);
}
.inline-selector-btn:hover { background: rgba(255, 255, 255, .1); }
.inline-selector-btn svg { width: .8em; height: .8em; color: var(--accent); transition: transform var(--t); }
.inline-selector-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.selector-menu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 30;
  width: 300px; max-height: 340px; overflow-y: auto;
  background: var(--bg-700); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: .5rem; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: top left;
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.selector-menu.open { opacity: 1; visibility: visible; transform: none; }
.selector-opt {
  display: flex; align-items: center; gap: .7rem; width: 100%; text-align: left;
  padding: .6rem .7rem; border-radius: var(--r-md); font-size: var(--step--1);
  transition: background var(--t);
}
.selector-opt:hover, .selector-opt[aria-selected="true"] { background: var(--surface-2); }
.selector-opt .so-ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; background: var(--surface-2); }
.selector-opt .so-ico svg { width: 18px; height: 18px; color: var(--accent); }
.selector-opt small { color: var(--text-dim); display: block; font-size: .72rem; }

/* Visuel orbe hero */
.hero-orb-wrap { position: relative; display: grid; place-items: center; min-height: 380px; }
.hero-orb-wrap .orb { --size: clamp(240px, 32vw, 360px); }

/* ====================== SECTION 2 : cartes métiers ====================== */
.sector-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .8rem; }
.sector-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: .6rem;
  padding: 1.1rem; border-radius: var(--r-md); text-align: left;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform var(--t) var(--ease), border-color var(--t), background var(--t), opacity var(--t);
}
.sector-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.sector-card .sc-ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); }
.sector-card .sc-ico svg { width: 24px; height: 24px; color: var(--accent); }
.sector-card b { font-size: var(--step-0); font-family: var(--font-title); }
.sector-card small { color: var(--text-dim); font-size: .78rem; }
.sector-card.active { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-3px) scale(1.02); box-shadow: 0 0 30px -10px var(--accent); }
.sector-card.dimmed { opacity: .5; }

/* ====================== SECTION 3 : scrollytelling 23h00 ====================== */
.night { background: linear-gradient(180deg, #05070f 0%, #0b1020 60%, var(--bg-800) 100%); }
.night-stage { position: relative; }
.scrolly { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.scrolly-sticky { position: sticky; top: calc(var(--header-h) + 2rem); height: max-content; }
.night-visual {
  position: relative; aspect-ratio: 4/3; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--border); background: #05070f;
  display: grid; place-items: center;
  transition: background var(--t-slow) var(--ease);
}
.night-clock { font-family: var(--font-title); font-size: clamp(3rem, 9vw, 6rem); font-weight: 700; letter-spacing: -.02em; color: var(--text); transition: color var(--t-slow); }
.night-skyline { position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(180deg, transparent, rgba(0,0,0,.5)); }
.night-skyline svg { width: 100%; height: 100%; opacity: .5; }
.night-orb { position: absolute; top: 16%; right: 14%; }
.night-orb .orb { --size: 120px; opacity: .25; transition: opacity var(--t-slow); }
/* Progression nuit -> jour pilotée par --p (0..1) en JS */
.night-visual { --p: 0; }
.night-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(245, 158, 11, .0), rgba(96, 165, 250, .0));
  opacity: var(--p); transition: opacity var(--t-slow); pointer-events: none;
  background: radial-gradient(80% 60% at 50% 110%, rgba(251, 191, 36, .35), transparent 70%);
}

.night-steps { display: flex; flex-direction: column; gap: 1.2rem; }
.night-step {
  padding: 1.4rem 1.5rem; border-radius: var(--r-lg);
  border: 1px solid var(--border); background: var(--surface);
  opacity: .35; transform: translateX(-10px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease), border-color var(--t);
}
.night-step.active { opacity: 1; transform: none; border-color: var(--accent); background: var(--surface-2); }
.night-step .ns-num { font-family: var(--font-title); color: var(--accent); font-weight: 700; font-size: var(--step--1); }
.night-step h3 { font-size: var(--step-1); margin: .3rem 0 .4rem; }
.night-step .ns-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; }
.ns-chip { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 600; padding: .3rem .65rem; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--text); }
.missed-call { color: var(--danger); font-weight: 700; }

/* ====================== SECTIONS DÉMO ====================== */
.demo-split { display: grid; grid-template-columns: 1.2fr .9fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: stretch; }

/* Chat */
.chat-window {
  background: var(--light-50); color: var(--ink-900);
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; min-height: 480px;
}
.chat-head { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; background: var(--ink-900); color: #fff; }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-grad); display: grid; place-items: center; position: relative; }
.chat-avatar::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: var(--success); border: 2px solid var(--ink-900); }
.chat-head b { font-family: var(--font-title); }
.chat-head small { color: #9fb0d6; display: block; font-size: .75rem; }
.chat-body { flex: 1; padding: 1.2rem; overflow-y: auto; display: flex; flex-direction: column; gap: .7rem; background: var(--light-100); max-height: 420px; scroll-behavior: smooth; }
.msg { max-width: 80%; padding: .7rem 1rem; border-radius: 16px; font-size: var(--step--1); line-height: 1.5; animation: msgIn .35s var(--ease); }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.msg.bot { background: #fff; color: var(--ink-900); border: 1px solid var(--light-200); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.user { background: var(--ink-900); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: .9rem 1rem; background: #fff; border: 1px solid var(--light-200); border-radius: 16px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-500); animation: typing 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat-quick { display: flex; flex-wrap: wrap; gap: .5rem; padding: .8rem 1.2rem; background: var(--light-100); border-top: 1px solid var(--light-200); }
.quick-reply { padding: .5rem .9rem; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--brand); color: var(--brand); font-size: .82rem; font-weight: 600; transition: background var(--t), color var(--t); }
.quick-reply:hover { background: var(--brand); color: #fff; }
.chat-input { display: flex; gap: .5rem; padding: .8rem 1.2rem 1.1rem; background: var(--light-100); }
.chat-input input { flex: 1; padding: .8rem 1rem; border-radius: var(--r-pill); border: 1px solid var(--light-200); background: #fff; color: var(--ink-900); }
.chat-input input::placeholder { color: var(--ink-500); }
.chat-send { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--brand-grad); color: #07101f; display: grid; place-items: center; }
.chat-send svg { width: 20px; height: 20px; }

/* Panneau coulisses */
.backstage { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 1.4rem; display: flex; flex-direction: column; gap: .9rem; }
.backstage h3 { font-size: var(--step-1); }
.backstage > p { font-size: var(--step--1); margin-bottom: .3rem; }
.backstage-item { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; border-radius: var(--r-md); background: var(--bg-700); border: 1px solid var(--border); opacity: .4; transition: opacity var(--t), border-color var(--t), background var(--t), transform var(--t); }
.backstage-item.done { opacity: 1; border-color: var(--accent); background: var(--accent-soft); }
.backstage-item.pulse { animation: bsPulse .6s var(--ease); }
@keyframes bsPulse { 0% { transform: scale(1); } 50% { transform: scale(1.03); } 100% { transform: scale(1); } }
.bs-check { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 2px solid var(--border-strong); color: var(--text-dim); transition: all var(--t); }
.backstage-item.done .bs-check { background: var(--success); border-color: var(--success); color: #06210f; }
.bs-check svg { width: 16px; height: 16px; }
.backstage-item b { font-size: var(--step--1); display: block; }
.backstage-item small { color: var(--text-dim); font-size: .76rem; }

/* Voix */
.voice { background: linear-gradient(180deg, var(--bg-800), var(--bg-900)); }
.voice-card { max-width: 760px; margin-inline: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(1.5rem, 4vw, 2.5rem); }
.voice-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.voice-status { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; }
.voice-status .vs-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--text-dim); }
.voice-card.is-live .vs-dot { background: var(--danger); animation: pulse 1s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.voice-timer { font-family: var(--font-title); font-variant-numeric: tabular-nums; color: var(--text-soft); }
.waveform { display: flex; align-items: center; justify-content: center; gap: 3px; height: 90px; margin: 1.2rem 0; }
.waveform .bar { width: 4px; border-radius: 4px; background: var(--accent); height: 12%; transition: height .12s linear; }
.voice-controls { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.voice-transcript { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .6rem; max-height: 260px; overflow-y: auto; padding-right: .3rem; }
.vt-line { max-width: 85%; padding: .65rem .9rem; border-radius: 14px; font-size: var(--step--1); animation: msgIn .3s var(--ease); }
.vt-line.kivo { align-self: flex-start; background: var(--accent-soft); border: 1px solid var(--accent); }
.vt-line.caller { align-self: flex-end; background: var(--surface-2); border: 1px solid var(--border); }
.vt-line .vt-who { display: block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); margin-bottom: .15rem; }
.voice-summary { margin-top: 1.5rem; border-top: 1px solid var(--border); padding-top: 1.2rem; display: none; }
.voice-summary.show { display: block; animation: msgIn .4s var(--ease); }
.voice-summary h4 { font-size: var(--step-0); margin-bottom: .8rem; }
.vsum-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.vsum-item { background: var(--bg-700); border: 1px solid var(--border); border-radius: var(--r-md); padding: .8rem; }
.vsum-item small { color: var(--text-dim); display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.vsum-item b { font-size: var(--step--1); }

/* ====================== SIMULATIONS ====================== */
.sim-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.sim-tile { text-align: left; padding: 1.3rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); transition: transform var(--t) var(--ease), border-color var(--t); }
.sim-tile:hover { transform: translateY(-4px) rotate(-.4deg); border-color: var(--accent); }
.sim-tile .st-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); margin-bottom: .9rem; }
.sim-tile .st-ico svg { width: 24px; height: 24px; color: var(--accent); }
.sim-tile b { font-family: var(--font-title); font-size: var(--step-0); display: block; }
.sim-tile small { color: var(--accent); font-weight: 600; font-size: .78rem; }

/* Lecteur de simulation (modale) */
.sim-player { position: fixed; inset: 0; z-index: 150; display: none; place-items: center; padding: var(--gutter); background: rgba(5, 7, 15, .8); backdrop-filter: blur(6px); }
.sim-player.open { display: grid; animation: msgIn .25s var(--ease); }
.sim-stage { width: min(680px, 100%); background: var(--bg-700); border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(1.5rem, 4vw, 2.4rem); position: relative; box-shadow: var(--shadow-md); }
.sim-close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; }
.sim-close svg { width: 20px; height: 20px; }
.sim-stage h3 { font-size: var(--step-2); margin-bottom: .3rem; padding-right: 2.5rem; }
.sim-progress { height: 5px; border-radius: 5px; background: var(--surface-2); overflow: hidden; margin: 1.2rem 0 1.6rem; }
.sim-progress i { display: block; height: 100%; width: 0; background: var(--brand-grad); transition: width var(--t-slow) var(--ease); }
.sim-steps { display: flex; flex-direction: column; gap: .7rem; min-height: 220px; }
.sim-step { display: flex; gap: 1rem; padding: 1rem; border-radius: var(--r-md); background: var(--bg-650); border: 1px solid var(--border); opacity: .35; transition: opacity var(--t), border-color var(--t), transform var(--t); }
.sim-step.active { opacity: 1; border-color: var(--accent); transform: scale(1.01); }
.sim-step.passed { opacity: .8; }
.sim-step .ss-dot { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); font-weight: 700; font-size: .82rem; }
.sim-step.passed .ss-dot, .sim-step.active .ss-dot { background: var(--accent); color: #07101f; border-color: var(--accent); }
.sim-step b { font-size: var(--step-0); }
.sim-step p { font-size: var(--step--1); margin-top: .15rem; }
.sim-result { margin-top: 1.4rem; padding: 1.2rem; border-radius: var(--r-md); background: rgba(34, 197, 94, .12); border: 1px solid var(--success); display: none; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.sim-result.show { display: flex; animation: msgIn .35s var(--ease); }
.sim-result .sr-label { display: flex; align-items: center; gap: .7rem; font-weight: 700; color: var(--success); }
.sim-result svg { width: 22px; height: 22px; }
.sim-controls { display: flex; gap: .6rem; margin-top: 1.4rem; flex-wrap: wrap; }

/* ====================== CANAUX ====================== */
.channels-stage { position: relative; display: grid; place-items: center; min-height: 420px; }
.channels-hub { position: relative; width: min(560px, 92vw); aspect-ratio: 1; display: grid; place-items: center; }
.channels-hub .orb { --size: 150px; position: relative; z-index: 3; }
.channel-node { position: absolute; display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.channel-node .cn-ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border-strong); backdrop-filter: blur(6px); box-shadow: var(--shadow-sm); }
.channel-node .cn-ico svg { width: 28px; height: 28px; color: var(--text); }
.channel-node span { font-size: .76rem; color: var(--text-soft); font-weight: 600; }
.channels-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.channels-svg line { stroke: var(--accent); stroke-width: 1.5; opacity: .25; }
.channels-svg .flow { stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 6 200; opacity: .9; animation: flow 2.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -206; } }

/* ====================== COMMENT ÇA MARCHE ====================== */
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; position: relative; }
.step-card { padding: 1.8rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); position: relative; }
.step-card .sc-num { font-family: var(--font-title); font-size: var(--step-3); font-weight: 700; line-height: 1; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.step-card h3 { font-size: var(--step-1); margin: .6rem 0 .5rem; }
.control-banner { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; padding: 1.3rem 1.6rem; border-radius: var(--r-lg); background: var(--accent-soft); border: 1px solid var(--accent); }
.control-banner svg { width: 32px; height: 32px; color: var(--accent); flex: none; }

/* ====================== PREUVE SOCIALE ====================== */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 3rem; }
.stat { text-align: center; padding: 1.8rem 1rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.stat .stat-num { font-family: var(--font-title); font-size: var(--step-4); font-weight: 700; line-height: 1; color: var(--accent); }
.stat .stat-label { color: var(--text-soft); font-size: var(--step--1); margin-top: .5rem; }
.testimonial-card { max-width: 760px; margin-inline: auto; text-align: center; padding: clamp(1.8rem, 4vw, 3rem); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); }
.testimonial-card blockquote { font-family: var(--font-title); font-size: var(--step-2); line-height: 1.3; font-weight: 500; }
.testimonial-card .author { display: flex; align-items: center; justify-content: center; gap: .8rem; margin-top: 1.4rem; }
.testimonial-card .avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--brand-grad); display: grid; place-items: center; font-weight: 700; color: #07101f; }
.testimonial-card .author b { display: block; }
.testimonial-card .author small { color: var(--text-dim); }

/* ====================== TARIFS ====================== */
.pricing-toggle { display: inline-flex; align-items: center; gap: .8rem; margin-inline: auto; margin-bottom: 2.5rem; padding: .4rem; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--border); }
.pricing-toggle button { padding: .55rem 1.1rem; border-radius: var(--r-pill); font-weight: 600; font-size: var(--step--1); color: var(--text-soft); transition: background var(--t), color var(--t); }
.pricing-toggle button.active { background: var(--brand-grad); color: #07101f; }
.pricing-toggle .save { color: var(--success); font-size: .7rem; font-weight: 700; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }
.price-card { display: flex; flex-direction: column; padding: 1.8rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); transition: transform var(--t), border-color var(--t); }
.price-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.price-card.featured { border-color: var(--accent); background: var(--accent-soft); transform: scale(1.03); box-shadow: 0 0 40px -12px var(--accent); position: relative; z-index: 2; }
.price-card .plan-name { font-family: var(--font-title); font-size: var(--step-1); }
.price-tag { font-family: var(--font-title); font-size: var(--step-4); font-weight: 700; line-height: 1; margin: .6rem 0; }
.price-tag .per { font-size: var(--step-0); color: var(--text-dim); font-family: var(--font-body); font-weight: 400; }
.featured-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--brand-grad); color: #07101f; padding: .35rem 1rem; border-radius: var(--r-pill); font-size: .75rem; font-weight: 700; }
.price-features { display: flex; flex-direction: column; gap: .7rem; margin: 1.4rem 0; flex: 1; }
.price-features li { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--step--1); color: var(--text-soft); }
.price-features svg { width: 18px; height: 18px; flex: none; margin-top: .15rem; color: var(--success); }
.price-features li.off { color: var(--text-dim); }
.price-features li.off svg { color: var(--text-dim); }
.pricing-reassure { text-align: center; margin-top: 2rem; color: var(--text-dim); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.pricing-reassure span { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--step--1); }
.pricing-reassure svg { width: 16px; height: 16px; color: var(--success); }

/* ====================== FAQ ====================== */
.faq-list { max-width: 800px; margin-inline: auto; display: flex; flex-direction: column; gap: .7rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; text-align: left; font-family: var(--font-title); font-weight: 600; font-size: var(--step-1); }
.faq-q .faq-icon { width: 26px; height: 26px; flex: none; position: relative; }
.faq-q .faq-icon::before, .faq-q .faq-icon::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--accent); border-radius: 2px; }
.faq-q .faq-icon::before { width: 16px; height: 2px; }
.faq-q .faq-icon::after { width: 2px; height: 16px; transition: transform var(--t); }
.faq-item.open .faq-q .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--t-slow) var(--ease); }
.faq-a-inner { padding: 0 1.4rem 1.3rem; color: var(--text-soft); }

/* ====================== CTA FINAL ====================== */
.cta-final { position: relative; text-align: center; overflow: hidden; }
.cta-final .orb { --size: clamp(180px, 26vw, 280px); margin-bottom: 2rem; }
.cta-final h2 { font-size: var(--step-4); max-width: 16ch; margin-inline: auto; }
.cta-final p { font-size: var(--step-1); margin: 1.2rem auto 2rem; max-width: 44ch; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* ====================== FOOTER ====================== */
.site-footer { background: var(--bg-900); border-top: 1px solid var(--border); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; }
.footer-brand p { margin: 1rem 0; font-size: var(--step--1); max-width: 34ch; }
.footer-col h4 { font-family: var(--font-title); font-size: var(--step-0); margin-bottom: 1rem; }
.footer-col a { display: block; padding: .3rem 0; color: var(--text-dim); font-size: var(--step--1); transition: color var(--t); }
.footer-col a:hover { color: var(--text); }
.footer-reassure { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }
.footer-reassure .pill { font-size: .72rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--text-dim); font-size: var(--step--1); }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); }
.footer-social svg { width: 18px; height: 18px; }

/* CTA flottant mobile */
.mobile-cta { display: none; }
