/* =====================================================================
   Zenalp — feuille de style du site
   Palette et typographie reprises de l'app (design system §8)
   ===================================================================== */

@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url('../fonts/fraunces.woff2') format('woff2'); }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/public-sans.woff2') format('woff2'); }

:root {
  --bg: #F4F7FB;
  --bg-alt: #E9EEF6;
  --surface: #FFFFFF;
  --surface-soft: #F8FAFD;
  --border: #E1E7F0;
  --border-strong: #D7E0EC;
  --text: #1B2430;
  --text-muted: #4A5468;
  --text-faint: #6B7688;
  --accent: #3B6FE0;
  --accent-hover: #2F5FCE;
  --accent-light: #E8EFFD;
  --accent-border: #C9DAF8;
  --on-accent: #FFFFFF;
  --swiss: #D9362F;
  --swiss-light: #FCE9E7;
  --violet: #6B4FDA;  --violet-light: #EEEDFE;
  --green: #1E9E72;   --green-light: #E1F5EE;
  --cyan: #1C8FC7;    --cyan-light: #E0F2FA;
  --emerald: #13896A; --emerald-light: #DDF3EC;
  --gold: #C4870F;    --gold-light: #FBF1DC;
  --coral: #D8654A;   --coral-light: #FBE9E3;
  --slate: #5B6B85;   --slate-light: #E9EDF3;
  --terracotta-bg: #F6E9DE; --terracotta-border: #E5C7AC; --terracotta-text: #7A4A22;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 2px 8px rgba(15, 23, 42, .04);
  --shadow-md: 0 10px 30px -12px rgba(30, 50, 90, .22), 0 2px 6px rgba(15, 23, 42, .05);
  --shadow-lg: 0 40px 80px -30px rgba(30, 60, 120, .35), 0 12px 30px -12px rgba(15, 23, 42, .18);
  --inset: inset 0 2px 4px rgba(15, 23, 42, .05), inset 0 -1px 0 rgba(255, 255, 255, .6);
  --radius: 18px;
  --radius-lg: 26px;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #10151F; --bg-alt: #141A26; --surface: #171E2C; --surface-soft: #1A2232;
    --border: #29334A; --border-strong: #323D58;
    --text: #EAF0FB; --text-muted: #B7C2D9; --text-faint: #8C99B5;
    --accent: #6EA8FF; --accent-hover: #8AB9FF; --accent-light: #1B2C4F; --accent-border: #2C3E66; --on-accent: #0B1322;
    --swiss: #FF7A6E; --swiss-light: #3A1D1B;
    --violet: #B6A6F7; --violet-light: #241F42;
    --green: #6ED8B0;  --green-light: #113328;
    --cyan: #6CCAF2;   --cyan-light: #112F3E;
    --emerald: #5FD3AE; --emerald-light: #0F3027;
    --gold: #F2C265;   --gold-light: #362A12;
    --coral: #FF9C84;  --coral-light: #3A2019;
    --slate: #AEBBD2;  --slate-light: #222B3C;
    --terracotta-bg: #3A2A1B; --terracotta-border: #5A3F27; --terracotta-text: #F0C6A0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
    --shadow-md: 0 12px 30px -12px rgba(0,0,0,.6);
    --shadow-lg: 0 40px 80px -30px rgba(0,0,0,.8);
    --inset: inset 0 2px 4px rgba(0,0,0,.25), inset 0 -1px 0 rgba(255,255,255,.03);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--text); letter-spacing: -.01em; }
h1 { font-size: clamp(38px, 6vw, 68px); letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
strong { font-weight: 700; color: var(--text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 16px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--text-muted); }
.faint { color: var(--text-faint); font-size: 15px; }

.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head p { font-size: 19px; color: var(--text-muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow.swiss { color: var(--swiss); }
.lead { font-size: 20px; color: var(--text-muted); line-height: 1.6; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 16px/1 var(--font-sans); padding: 16px 26px; border-radius: 999px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 20px -8px rgba(59, 111, 224, .7); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent-border); color: var(--accent); }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-lg { padding: 19px 32px; font-size: 17px; }
.btn[aria-disabled="true"] { background: var(--slate-light); color: var(--text-faint); box-shadow: none; cursor: default; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.center .btn-row { justify-content: center; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img { border-radius: 10px; box-shadow: 0 6px 14px -6px rgba(59, 111, 224, .6); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-serif); font-weight: 700; font-size: 22px; }
.brand-tag { font-size: 12.5px; color: var(--text-faint); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: 15.5px; padding: 6px 0; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { color: var(--accent); }
.site-nav ul a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
.site-nav ul.lang-switch { gap: 2px; padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-soft); }
.site-nav ul.lang-switch a { display: block; padding: 4px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--text-faint); }
.site-nav ul.lang-switch a:hover { color: var(--accent); }
.site-nav ul.lang-switch a[aria-current="true"] { background: var(--accent-light); color: var(--accent); box-shadow: none; }
.lang-switch .lang-name { display: none; }
@media (max-width: 1080px) and (min-width: 901px) { .site-nav { gap: 20px; } .site-nav ul:not(.lang-switch) { gap: 18px; } }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; border-radius: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 16px;
    background: var(--surface); border-bottom: 1px solid var(--border); padding: 18px 24px 26px;
    box-shadow: var(--shadow-md); display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav ul a { display: block; padding: 10px 0; font-size: 17px; }
  .site-nav ul a[aria-current="page"] { box-shadow: none; }
  .site-nav ul.lang-switch { flex-direction: row; flex-wrap: wrap; align-self: flex-start; border-radius: 14px; }
  .site-nav ul.lang-switch a { padding: 8px 12px; font-size: 15px; font-weight: 500; letter-spacing: 0; border-radius: 11px; }
  .lang-switch .lang-code { display: none; }
  .lang-switch .lang-name { display: inline; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 80px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 900px; z-index: -1;
  background:
    radial-gradient(600px 380px at 18% 20%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%),
    radial-gradient(520px 360px at 85% 10%, color-mix(in srgb, var(--violet) 16%, transparent), transparent 70%),
    radial-gradient(500px 300px at 60% 70%, color-mix(in srgb, var(--cyan) 10%, transparent), transparent 70%);
}
.hero-copy { text-align: center; max-width: 900px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; margin-bottom: 26px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px; font-size: 14.5px; color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}
.hero-badge .flag { width: 22px; height: 22px; border-radius: 6px; background: var(--swiss); position: relative; flex-shrink: 0; }
.hero-badge .flag::before, .hero-badge .flag::after { content: ""; position: absolute; background: #fff; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.hero-badge .flag::before { width: 12px; height: 4px; }
.hero-badge .flag::after { width: 4px; height: 12px; }
.hero h1 .accent { color: var(--accent); }
.hero .lead { max-width: 720px; margin: 22px auto 34px; }
.hero-meta { margin-top: 18px; font-size: 14.5px; color: var(--text-faint); display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { color: var(--green); }

.hero-visual { position: relative; max-width: 1080px; margin: 64px auto 0; }
.window {
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.window-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.window-bar .title { margin-left: 10px; font-size: 13px; color: var(--text-faint); font-weight: 600; }
.window img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-md);
  font-size: 14.5px; line-height: 1.35; max-width: 290px; animation: float 6s ease-in-out infinite;
}
.float-chip strong { display: block; font-size: 15px; }
.float-chip span.small { color: var(--text-faint); font-size: 13.5px; }
.float-chip .tile { width: 40px; height: 40px; border-radius: 12px; }
.float-chip .tile svg { width: 21px; height: 21px; }
.chip-1 { left: -70px; top: 58%; }
.chip-2 { right: -70px; top: 16%; animation-delay: -2s; }
.chip-3 { right: 12%; bottom: -30px; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 1320px) { .chip-1 { left: 10px; } .chip-2 { right: 10px; } }
@media (max-width: 760px) { .float-chip { display: none; } .hero { padding-top: 48px; } }

/* ---------- Bandeau modules ---------- */
.modules-strip { padding: 60px 0 20px; }
.modules-strip ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.modules-strip li {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px; font-weight: 600; font-size: 15px;
}
.modules-strip .tile { width: 32px; height: 32px; border-radius: 10px; }
.modules-strip .tile svg { width: 17px; height: 17px; }

/* ---------- Tuiles d'icônes (façon Fluent, une couleur par section) ---------- */
.tile {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; color: #fff; flex-shrink: 0;
  position: relative; overflow: hidden;
  box-shadow: 0 8px 18px -10px var(--tile-shadow, rgba(59,111,224,.8)), inset 0 1px 0 rgba(255,255,255,.35);
  background: linear-gradient(160deg, var(--tile-a), var(--tile-b));
}
.tile::before { content: ""; position: absolute; left: -20%; top: -45%; width: 140%; height: 90%; border-radius: 50%; background: rgba(255,255,255,.2); }
.tile svg { width: 26px; height: 26px; position: relative; }
.tile-blue    { --tile-a: #7DAEFF; --tile-b: #3464D6; --tile-shadow: rgba(52,100,214,.8); }
.tile-violet  { --tile-a: #A28BFF; --tile-b: #5F43CF; --tile-shadow: rgba(95,67,207,.8); }
.tile-green   { --tile-a: #5FD69A; --tile-b: #1E9E5E; --tile-shadow: rgba(30,158,94,.8); }
.tile-cyan    { --tile-a: #6CD3FF; --tile-b: #1C86C7; --tile-shadow: rgba(28,134,199,.8); }
.tile-emerald { --tile-a: #4FD8B4; --tile-b: #0F8D6B; --tile-shadow: rgba(15,141,107,.8); }
.tile-gold    { --tile-a: #FFD36B; --tile-b: #E0981A; --tile-shadow: rgba(224,152,26,.8); }
.tile-coral   { --tile-a: #FF9E83; --tile-b: #DB5B3E; --tile-shadow: rgba(219,91,62,.8); }
.tile-red     { --tile-a: #FF8A7D; --tile-b: #D2302A; --tile-shadow: rgba(210,48,42,.8); }
.tile-slate   { --tile-a: #A7B4CA; --tile-b: #5B6B85; --tile-shadow: rgba(91,107,133,.8); }
.tile-pink    { --tile-a: #FF9CC6; --tile-b: #D14A87; --tile-shadow: rgba(209,74,135,.8); }

/* ---------- Cartes ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-border); }
.card h3 { margin-top: 18px; margin-bottom: 10px; }
.card p { color: var(--text-muted); margin-bottom: 0; }
.card-inset { background: var(--surface-soft); box-shadow: var(--inset); }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .card { padding: 24px; } }

.card .tag {
  display: inline-block; font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: var(--accent-light); color: var(--accent); margin-left: 6px; vertical-align: middle; font-family: var(--font-sans);
}

/* ---------- Mises en avant (texte + visuel) ---------- */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.split.reverse { grid-template-columns: 1.15fr 1fr; }
.split.reverse .split-copy { order: 2; }
@media (max-width: 960px) { .split, .split.reverse { grid-template-columns: 1fr; gap: 40px; } .split.reverse .split-copy { order: 0; } }
.split-copy h2 { margin-bottom: 18px; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-muted); }
.check-list li::before {
  content: ""; flex-shrink: 0; width: 24px; height: 24px; margin-top: 2px; border-radius: 8px;
  background: var(--green-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E9E72' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.check-list strong { color: var(--text); }
.shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); background: var(--surface); }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* ---------- Personnel / Pro ---------- */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 900px) { .modes { grid-template-columns: 1fr; } }
.mode-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.mode-card .mode-body { padding: 34px 34px 28px; }
.mode-card .mode-label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mode-card.perso .mode-label { color: var(--coral); }
.mode-card.pro .mode-label { color: var(--accent); }
.mode-card h3 { font-size: 28px; margin: 10px 0 12px; }
.mode-card .shot { margin: auto 34px 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; box-shadow: var(--shadow-md); }
.mode-card .check-list { margin-top: 18px; }

/* ---------- Pipeline documents ---------- */
.steps { counter-reset: step; display: grid; gap: 16px; margin-top: 30px; }
.step { display: flex; gap: 18px; align-items: flex-start; padding: 18px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.step::before {
  counter-increment: step; content: counter(step);
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-light); color: var(--accent); border: 1px solid var(--accent-border); font-weight: 700;
}
.step h4 { font-family: var(--font-sans); font-size: 16.5px; font-weight: 700; margin: 4px 0 4px; }
.step p { margin: 0; color: var(--text-muted); font-size: 15.5px; }
.step .ai-none { color: var(--green); font-weight: 700; }

/* ---------- Sécurité ---------- */
.security-hero { background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; font-size: 15.5px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--bg-alt); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); }
.compare thead th.us { color: var(--accent); }
.compare td:first-child { font-weight: 600; color: var(--text); width: 32%; }
.compare td.us { background: color-mix(in srgb, var(--accent-light) 55%, transparent); color: var(--text); }
.compare td.them { color: var(--text-muted); }
.yes, .no { display: inline-flex; align-items: flex-start; gap: 9px; }
.yes::before, .no::before { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; font-weight: 800; }
.yes::before { content: "✓"; background: var(--green-light); color: var(--green); }
.no::before { content: "–"; background: var(--slate-light); color: var(--slate); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
@media (max-width: 720px) {
  .compare, .compare tbody, .compare tr, .compare td { display: block; width: 100% !important; }
  .compare thead { display: none; }
  .compare tr { border-bottom: 1px solid var(--border); padding: 6px 0; }
  .compare td { border: 0; padding: 8px 18px; }
  .compare td.us::after { content: " — Zenalp"; color: var(--accent); font-size: 12.5px; font-weight: 700; }
  .compare td.them::after { content: " — Assistant IA en ligne type"; color: var(--text-faint); font-size: 12.5px; font-weight: 600; }
}

.principles .card h3 { font-family: var(--font-sans); font-size: 18px; font-weight: 700; }
.principle-num { font-family: var(--font-serif); font-size: 15px; color: var(--accent); font-weight: 700; }
.why { font-size: 14.5px; color: var(--text-faint) !important; margin-top: 12px !important; padding-top: 12px; border-top: 1px dashed var(--border); }

.callout {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px 26px; border-radius: 16px;
  background: var(--terracotta-bg); border: 1px solid var(--terracotta-border); color: var(--terracotta-text); font-size: 15.5px;
}
.callout strong { color: var(--terracotta-text); }
.callout p:last-child { margin: 0; }
.callout-info { background: var(--accent-light); border-color: var(--accent-border); color: var(--text); }
.callout-info strong { color: var(--text); }

.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 50px; }
@media (max-width: 860px) { .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { text-align: center; padding: 24px 16px; }
.stat b { display: block; font-family: var(--font-serif); font-size: 38px; font-weight: 600; color: var(--accent); line-height: 1.1; margin-bottom: 6px; }
.stat span { color: var(--text-muted); font-size: 15px; }

/* ---------- Métiers ---------- */
.usecase { display: flex; flex-direction: column; }
.usecase .uc-head { display: flex; align-items: center; gap: 14px; }
.usecase .uc-head h3 { margin: 0; font-size: 21px; }
.usecase .uc-scenario { margin: 16px 0 0; font-size: 15.5px; color: var(--text-muted); }
.usecase .uc-scenario em { font-style: normal; color: var(--text); font-weight: 600; }
.usecase .check-list { margin-top: 16px; gap: 10px; font-size: 15.5px; }
.usecase .gain { margin-top: auto; padding-top: 18px; font-size: 14.5px; font-weight: 700; color: var(--green); }

/* ---------- Galerie de captures ---------- */
.gallery-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 34px; }
.gallery-tabs button {
  display: inline-flex; align-items: center; gap: 9px; font: 600 14.5px/1 var(--font-sans); color: var(--text-muted);
  padding: 8px 15px 8px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); cursor: pointer;
  transition: all .15s ease;
}
.gallery-tabs button .tile { width: 26px; height: 26px; border-radius: 8px; }
.gallery-tabs button .tile svg { width: 15px; height: 15px; }
.gallery-tabs button[aria-selected="true"] { color: var(--accent); border-color: var(--accent-border); background: var(--accent-light); }
.gallery-stage { max-width: 1040px; margin: 0 auto; }
.gallery-panel[hidden] { display: none; }
.gallery-caption { text-align: center; max-width: 680px; margin: 26px auto 0; color: var(--text-muted); }
.gallery-caption strong { display: block; font-family: var(--font-serif); font-size: 22px; font-weight: 600; margin-bottom: 4px; }

/* ---------- Tarifs ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
@media (max-width: 980px) { .pricing { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.plan { display: flex; flex-direction: column; padding: 34px; position: relative; }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow-md); }
.plan .badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--on-accent); font-size: 12.5px; font-weight: 700; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 26px; margin: 0; }
.plan .audience { color: var(--text-faint); font-size: 15px; margin: 4px 0 20px; }
.plan .price { font-family: var(--font-serif); font-size: 40px; font-weight: 600; line-height: 1.1; margin-bottom: 4px; }
.plan .price.soon { font-size: 22px; color: var(--text-muted); padding: 10px 0 8px; }
.plan .check-list { margin: 22px 0 30px; gap: 11px; font-size: 15.5px; }
.plan .btn { margin-top: auto; width: 100%; }
.pay-methods { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.pay-methods span { padding: 7px 14px; border-radius: 10px; border: 1px dashed var(--border-strong); color: var(--text-faint); font-size: 14px; font-weight: 600; }

/* ---------- Téléchargement ---------- */
.download-card { display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: center; padding: 40px; }
@media (max-width: 760px) { .download-card { grid-template-columns: 1fr; text-align: center; padding: 30px 24px; } .download-card .btn-row { justify-content: center; } .download-card img { margin: 0 auto; } }
.download-card img { width: 120px; height: 120px; border-radius: 28px; box-shadow: 0 20px 40px -18px rgba(52,100,214,.9); }
.download-card h2 { font-size: 34px; margin-bottom: 8px; }
.version-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--green); background: var(--green-light); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.version-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.install-steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.install-steps li { counter-increment: step; display: flex; gap: 16px; align-items: flex-start; color: var(--text-muted); }
.install-steps li::before { content: counter(step); flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-light); color: var(--accent); font-weight: 700; font-size: 14.5px; }
.req { list-style: none; padding: 0; margin: 0; }
.req li { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 15.5px; }
.req li:last-child { border-bottom: 0; }
.req li span:first-child { color: var(--text-faint); }
.req li span:last-child { font-weight: 600; text-align: right; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 0 24px; transition: border-color .15s; }
.faq details[open] { border-color: var(--accent-border); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 34px 20px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--text-muted); padding-bottom: 20px; margin: 0; }

/* ---------- Appel à l'action final ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 72px 40px; text-align: center;
  background: linear-gradient(140deg, #4A7FEA, #3059C8 60%, #5B45C9); color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-band::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(closest-side, rgba(255,255,255,.18), transparent); }
.cta-band .mountains { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 120px; opacity: .18; }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 19px; max-width: 620px; margin: 0 auto 32px; position: relative; }
.cta-band .btn-row { position: relative; justify-content: center; }
.cta-band .btn-primary { background: #fff; color: #2F5FCE; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.cta-band .btn-primary:hover { background: #F0F5FF; color: #2F5FCE; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ---------- Pages internes ---------- */
.page-hero { padding: 80px 0 60px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 700px; z-index: -1;
  background: radial-gradient(560px 320px at 50% 40%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%);
}
.page-hero .lead { max-width: 720px; margin: 18px auto 0; }
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 30px; margin-top: 48px; }
.prose h3 { margin-top: 30px; }
.prose p, .prose li { color: var(--text-muted); }
.todo { background: var(--gold-light); color: var(--text); padding: 1px 6px; border-radius: 5px; }

/* ---------- Pied de page ---------- */
.site-footer { margin-top: 110px; padding: 64px 0 34px; background: var(--bg-alt); border-top: 1px solid var(--border); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand p { color: var(--text-muted); max-width: 340px; margin-top: 16px; }
.site-footer h2 { font-family: var(--font-sans); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); margin: 6px 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer ul a { color: var(--text-muted); text-decoration: none; }
.site-footer ul a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-faint); font-size: 14px; }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip { animation: none; }
  .btn, .card { transition: none; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 40px; }
  .lead, .section-head p { font-size: 17.5px; }
  .cta-band { padding: 54px 22px; border-radius: 20px; }
  .btn-lg { padding: 17px 26px; }
}

code { font-family: Consolas, 'Courier New', monospace; font-size: .88em; background: var(--accent-light); color: var(--accent); padding: 1px 6px; border-radius: 5px; }

/* ---------- Factures d'exemple ---------- */
.ex-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.ex-head h2 { margin-bottom: 8px; }
.ex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.ex-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ex-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-border); }
.ex-thumb { display: block; background: var(--bg-alt); padding: 14px 14px 0; border-bottom: 1px solid var(--border); height: 190px; overflow: hidden; }
.ex-thumb img { width: 100%; border-radius: 6px 6px 0 0; box-shadow: 0 4px 14px rgba(15,23,42,.14); }
.ex-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.ex-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.ex-body h3 { font-family: var(--font-sans); font-size: 16px; font-weight: 700; margin: 0 0 2px; }
.ex-cat { color: var(--text-faint); font-size: 14px; margin: 0 0 10px; }
.ex-amount { font-weight: 700; margin: 0 0 4px; font-size: 15.5px; }
.ex-amount span { font-weight: 400; color: var(--text-faint); font-size: 14px; }
.ex-format { font-size: 13.5px; color: var(--text-muted); margin: 0 0 14px; }
.ex-dl { margin-top: auto; font-weight: 600; font-size: 14.5px; text-decoration: none; }
.ex-dl::before { content: "↓ "; }
.xbadge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.xbadge-green { background: var(--green-light); color: var(--green); }
.xbadge-gold { background: var(--gold-light); color: var(--gold); }
.xbadge-coral { background: var(--coral-light); color: var(--coral); }
.xbadge-slate { background: var(--slate-light); color: var(--slate); }

/* Bloc « Vidéo » : lecteur du navigateur, aux proportions de la vidéo */
.video-frame { max-width: 1080px; margin: 0 auto; }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 16px; border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); background: #10172a; }
.video-frame figcaption { text-align: center; margin: 16px auto 0; max-width: 720px; font-size: 15px; }
.video-empty { aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 24px; text-align: center; border: 2px dashed var(--border-strong); border-radius: 16px; }
