/* ============================================================================
   Sophia — vitrine getsophia.fr
   Direction : premium, AI-native, sobre, éditoriale. La palette vient de la
   vague de l'écran de connexion (abysse, ardoise, acier, brume) ; l'orange de
   marque ne sert qu'au mark. Une seule voix typographique, Geist,
   du titre au corps — servie depuis ce domaine, jamais Google Fonts.
   ========================================================================== */

/* Le lettrage du logo, et de lui seul : un geometrique a bols circulaires,
   c'est le dessin du wordmark officiel. Il ne sert jamais au texte courant. */
@font-face {
  font-family: "Sophia Wordmark";
  src: url("/fonts/outfit.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("/fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* --- la vague --- */
  --abyss:  #0b121a;
  --deep:   #131c27;
  --ocean:  #1f2c3a;
  --slate:  #34455a;
  --steel:  #526b85;
  --haze:   #7793ae;
  --mist:   #aec0d5;
  --foam:   #dfe6ee;
  --paper:  #f5f7f9;
  --white:  #ffffff;

  /* --- encre --- */
  --ink:       #0f1720;
  --ink-soft:  #48545f;
  --ink-faint: #7a8591;
  --line:      #e2e7ec;
  --line-soft: #edf0f3;

  /* --- sur fond sombre --- */
  --d-text:      #eef2f6;
  --d-text-soft: rgba(223, 230, 238, .72);
  --d-text-faint:rgba(174, 192, 213, .55);
  --d-line:      rgba(174, 192, 213, .16);
  --d-surface:   rgba(255, 255, 255, .04);

  /* --- le seul orange : le mark, et les numeros de section (01, 02, 03)
         qui en reprennent la couleur --- */
  --mark: #ff651f;

  /* --- signaux --- */
  --ok: #2f9e6a;
  --warn: #c2801a;

  --f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", sans-serif;
  --f-logo: "Sophia Wordmark", "Avenir Next", "Century Gothic", var(--f-sans);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;

  --shadow-card: 0 0 0 1px rgba(15, 23, 32, .04), 0 1px 2px rgba(15, 23, 32, .04), 0 12px 32px -16px rgba(15, 23, 32, .12);
  --shadow-float: 0 0 0 1px rgba(15, 23, 32, .05), 0 24px 60px -24px rgba(15, 23, 32, .35), 0 8px 24px -12px rgba(15, 23, 32, .12);
  --shadow-composer: 0 0 0 1px rgba(255,255,255,.35) inset, 0 30px 80px -30px rgba(0, 0, 0, .55), 0 10px 30px -10px rgba(0, 0, 0, .35);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.22, 1, .36, 1);

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--abyss);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01", "calt";
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
::selection { background: rgba(82, 107, 133, .35); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 860px; }

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

/* ---------------------------------------------------------------- type --- */
/* UNE seule voix de titre : un grotesque serre, du hero au dernier h3. Le
   second membre de phrase (<em>) ne change plus ni de police ni de style --
   il change d'ENCRE, ce qui suffit a le detacher sans casser le bloc. */

.display {
  font-family: var(--f-sans);
  font-weight: 600;
  font-variation-settings: normal;
  letter-spacing: -.032em;
  line-height: 1.05;
  text-wrap: balance;
  margin: 0;
}
.display em { font-style: normal; font-weight: 600; }

h1.display { font-size: clamp(33px, 5.2vw, 66px); line-height: 1.02; letter-spacing: -.036em; }
h2.display { font-size: clamp(31px, 4.2vw, 52px); letter-spacing: -.036em; line-height: 1.02; }
h3.display { font-size: clamp(21px, 2.3vw, 27px); letter-spacing: -.028em; line-height: 1.12; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--steel);
}
.kicker::before {
  /* Le tiret est le plus petit accent possible : il ouvre chaque section, une
     fois, et donne le ton de la marque sans colorer un seul mot. */
  content: ""; width: 18px; height: 1px; background: var(--mark); opacity: 1;
}
.dark .kicker { color: var(--haze); }

.lede {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 58ch;
  text-wrap: pretty;
  margin: 18px 0 0;
}
.dark .lede { color: var(--d-text-soft); }
.small { font-size: 14px; color: var(--ink-faint); }

/* ------------------------------------------------------------- buttons --- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border-radius: 10px; border: 1px solid transparent;
  font-family: var(--f-sans); font-size: 14.5px; font-weight: 500; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s var(--ease-soft), border-color .2s var(--ease-soft),
              color .2s var(--ease-soft), transform .25s var(--ease-soft), box-shadow .25s var(--ease-soft);
}
.btn svg { width: 15px; height: 15px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15.5px; border-radius: 12px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 9px; }

.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #1f2a36; transform: translateY(-1px); }

.btn-white { background: #fff; color: var(--ink); box-shadow: 0 10px 30px -12px rgba(0,0,0,.45); }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 16px 36px -12px rgba(0,0,0,.5); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-faint); background: #fff; }

.btn-glass { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); }

.btn-link { height: auto; padding: 0; border: 0; border-radius: 0; background: none; color: var(--steel); font-weight: 500; }
.btn-link:hover { color: var(--ink); }
.dark .btn-link { color: var(--mist); }
.dark .btn-link:hover { color: #fff; }

a:focus-visible, button:focus-visible { outline: 2px solid var(--haze); outline-offset: 3px; border-radius: 4px; }

/* ----------------------------------------------------------------- nav --- */
/* Trois zones, une seule ligne : la marque a gauche, le menu CENTRE sur la
   page (et non apres le logo -- il est donc pose en absolu, seul moyen de le
   centrer sur la fenetre quel que soit le nombre de liens), les actions a
   droite. La barre est un verre depoli des le haut de page : sur une video,
   une barre invisible laisse les liens flotter sans support. */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  background: rgba(11, 18, 26, .28);
  backdrop-filter: saturate(150%) blur(18px);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  border-bottom: 1px solid rgba(174, 192, 213, .12);
  transition: background-color .35s var(--ease-soft), border-color .35s var(--ease-soft);
}
.nav.is-solid {
  background: rgba(11, 18, 26, .74);
  border-color: rgba(174, 192, 213, .16);
}
.nav-in { position: relative; display: flex; align-items: center; gap: 20px; height: 68px; }

.brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--f-logo); font-weight: 600; font-size: 19.5px; letter-spacing: -.015em;
  color: #fff; text-decoration: none;
}
.brand svg { display: block; }
/* Le mark est servi en <img> (fichier autonome /logo.svg), seule forme que
   lisent les moissonneurs de marque -- cf. le commentaire de l'en-tete. */
.brand-logo { display: block; }
/* Le mark dans sa tuile : meme geste que l'icone d'application. */
.brand-tile {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: background-color .2s var(--ease-soft), border-color .2s var(--ease-soft);
}
.brand:hover .brand-tile { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .34); }

/* Centre sur la FENETRE, pas sur l'espace restant entre marque et actions. */
.nav-links {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 30px;
}
.nav-links a {
  font-size: 15px; font-weight: 500; color: rgba(238, 242, 246, .74); text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: #fff; }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
/* Les tarifs ne sont pas une section de la page : le lien vit a droite, avec
   les actions, et non dans le menu centre des ancres. */
.nav-aside {
  font-size: 15px; font-weight: 500; color: rgba(238, 242, 246, .74);
  text-decoration: none; margin-right: 6px; transition: color .2s;
}
.nav-aside:hover { color: #fff; }
/* Le francais est ~15 % plus long que l'anglais, et le menu est centre sur la
   FENETRE : mesure du 13/09/2026, « Integrations » passait de 38 px sous les
   actions des 1200 px (88 px a 1081). Deux leviers, parce qu'aucun ne
   suffisait seul : deux libelles raccourcissent (« Connexion », « Ce qu'on
   envoie ») et cet ecart se resserre. Le selecteur de langue, lui, a quitte la
   barre pour le pied de page (decision de Remi) : sans lui, le francais garde
   52 px de degagement en bureau et reste positif jusqu'a 1081. */
@media (min-width: 1081px) {
  html[lang="fr"] .nav-links { gap: 24px; }
}
.nav .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .22); }
.nav .btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); }
.nav .btn-white { box-shadow: none; font-weight: 600; }

/* ---------------------------------------------------------------- hero --- */

.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 140px 0 96px;
  color: #fff;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; background: var(--ocean); }
.hero-media img, .hero-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%;
}
.hero-media video { opacity: 0; transition: opacity 1.6s ease; }
.hero-media video.is-ready { opacity: 1; }
.hero-media img { transform: scale(1.04); }
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,18,26,.62) 0%, rgba(11,18,26,.28) 32%, rgba(11,18,26,.34) 62%, var(--abyss) 100%),
    radial-gradient(90% 60% at 50% 42%, rgba(11,18,26,0) 30%, rgba(11,18,26,.35) 100%);
}

.hero-in { text-align: center; display: flex; flex-direction: column; align-items: center; width: 100%; }

.hero h1 { color: #fff; max-width: 21ch; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero h1 em { color: #fff; }
.hero .lede {
  color: rgba(238, 242, 246, .8); max-width: 52ch; margin: 26px auto 0;
  text-shadow: 0 1px 14px rgba(0,0,0,.35);
  /* `balance` et non `pretty` : sous un titre centre, une phrase unique doit
     tomber en lignes de longueur egale. `pretty` se contente d'eviter le mot
     orphelin, et laissait « deals forward. » seul sur la seconde ligne. */
  text-wrap: balance;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.hero-foot {
  margin-top: 26px; font-size: 13px; color: rgba(223,230,238,.62); letter-spacing: .01em;
  display: flex; align-items: center; gap: 8px;
}
.hero-foot .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mark); }

/* ------------------------------------------------------------ composer --- */
/* Réplique fidèle du composeur de l'application : coin 16 px, curseur clignotant,
   suggestions tapées depuis le CRM, bouton +, réglage de mode, envoi. */

.composer {
  width: min(100%, 720px);
  margin: 44px auto 0;
  text-align: left;
  background: rgba(255,255,255,.96);
  border-radius: 20px;
  box-shadow: var(--shadow-composer);
  padding: 18px 18px 14px;
  color: var(--ink);
}
.composer-field {
  display: flex; align-items: flex-start; gap: 8px;
  min-height: 52px; padding: 4px 4px 8px;
  font-size: 16px; line-height: 1.5;
}
.composer-caret {
  flex: none; width: 2px; height: 20px; margin-top: 3px; border-radius: 2px;
  background: var(--mark);
  animation: caret 1.06s steps(1, end) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.composer-text { color: var(--ink); min-height: 24px; }
.composer-text .ghost { color: var(--ink-faint); }
.composer-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink-faint);
  display: grid; place-items: center;
}
.icon-btn svg { width: 16px; height: 16px; }
.crm-line {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; color: var(--ink-faint); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.crm-line .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); flex: none; }
.send {
  margin-left: auto; flex: none;
  width: 36px; height: 36px; border-radius: 11px;
  background: var(--ink); color: #fff; display: grid; place-items: center;
}
.send svg { width: 16px; height: 16px; }

/* ------------------------------------------------------------ sections --- */

section.band { padding: clamp(88px, 11vw, 150px) 0; position: relative; }
section.band.first { padding-top: clamp(124px, 12vw, 168px); }
.light { background: var(--paper); color: var(--ink); }
.white { background: var(--white); color: var(--ink); }
.dark { background: var(--abyss); color: var(--d-text); }
.dark.deep { background: var(--deep); }
.dark h2, .dark h3, .dark .display { color: #fff; }
.dark h2 em { color: var(--mist); }
.light h2 em, .white h2 em { color: var(--steel); }

.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }
.dark .hairline { background: var(--d-line); }

/* ----------------------------------------------------------- manifeste --- */

.manifesto { padding-top: clamp(40px, 6vw, 80px); }
.manifesto .statement {
  font-size: clamp(25px, 3.3vw, 42px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -.03em;
  max-width: 26ch;
  color: #fff;
}
.manifesto .statement em { font-weight: 500; }
.manifesto .statement em { color: var(--mist); }
.facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-top: clamp(48px, 7vw, 84px); padding-top: 40px;
  border-top: 1px solid var(--d-line);
}
.fact h3 {
  font-family: var(--f-sans); font-weight: 600; font-size: 19px; letter-spacing: -.022em;
  margin: 0 0 10px; color: #fff;
}
.fact p { margin: 0; color: var(--d-text-soft); font-size: 15px; line-height: 1.6; }
.fact .n { font-size: 11.5px; letter-spacing: .14em; color: var(--mark); font-weight: 600; margin-bottom: 14px; display: block; }

/* ----------------------------------------------------------- l'agent --- */

.steps { margin: 40px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.steps-row { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps-row li { display: block; padding: 26px 0 0; border-top: 1px solid var(--ink); }
.steps-row .n { display: block; margin-bottom: 14px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps .n { font-family: var(--f-sans); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--mark); padding-top: 4px; }
.steps h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -.012em; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }

/* ----------------------------------------------------- comprendre ------ */

.understand { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.understand .principles { margin-top: 0; }
.principles { list-style: none; margin: 36px 0 0; padding: 0; }
.principles li { padding: 20px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.principles li:last-child { border-bottom: 1px solid var(--line); }
.principles svg { width: 18px; height: 18px; color: var(--mark); margin-top: 3px; }
.principles h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.principles p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }

/* --------------------------------------------------- intégrations ------- */

.integrations { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px 10px 12px; border-radius: 10px;
  border: 1px solid var(--d-line); background: var(--d-surface);
  font-size: 14px; font-weight: 500; color: var(--d-text);
}
.chip span { color: var(--d-text-faint); font-weight: 400; }
.chip svg { width: 16px; height: 16px; }
.chip.soon { opacity: .55; }
.chip .badge { padding: 0 7px; font-size: 10.5px; }
.chip-h { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--haze); margin: 26px 0 12px; }
.chip-h:first-child { margin-top: 0; }


/* ------------------------------------------------ ce qu'on envoie --- */
/* Deux blocs alternes : le texte d'un cote, une illustration abstraite de
   l'autre. Aucune capture d'application -- des schemas, dans la palette de
   la vague : l'accent orange de la maquette d'origine devient de l'acier. */

.feature-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 76px); align-items: center;
  padding: clamp(34px, 5vw, 58px) 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row.flip .feature-copy { order: 2; }

.step {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; margin-bottom: 20px; border-radius: 8px;
  background: rgba(255, 101, 31, .1); color: var(--mark);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12.5px; letter-spacing: -.01em;
}
.step svg { width: 14px; height: 14px; }
.feature-copy h3 { margin: 0 0 14px; max-width: 21ch; }
.feature-copy > p { margin: 0; color: var(--ink-soft); font-size: 16.5px; line-height: 1.6; max-width: 46ch; }

.checks { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.checks svg { width: 15px; height: 15px; color: var(--steel); margin-top: 3px; }

/* Le cadre des illustrations : trame pointillee + halo froid. */
.panel {
  position: relative; aspect-ratio: 16 / 11; overflow: hidden;
  border-radius: var(--r-xl); border: 1px solid var(--line);
  background:
    radial-gradient(80% 70% at 72% 82%, rgba(82, 107, 133, .16), transparent 62%),
    radial-gradient(60% 60% at 22% 18%, rgba(174, 192, 213, .18), transparent 60%),
    var(--paper);
}
.panel::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(82, 107, 133, .2) 1px, transparent 1px);
  background-size: 17px 17px;
  mask-image: radial-gradient(75% 70% at 50% 50%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(75% 70% at 50% 50%, #000 30%, transparent 85%);
}

/* 1/2 — la page envoyee. */
.mockcard {
  position: absolute; left: 16%; top: 30%; width: 54%;
  display: flex; flex-direction: column; gap: 9px;
  padding: 15px 16px 14px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 18px 40px -22px rgba(15, 23, 32, .45);
}
.mc-mark { color: var(--steel); display: block; margin-bottom: 1px; }
.mc-line { display: block; height: 6px; border-radius: 3px; background: var(--line); }
.mc-line.w90 { width: 90%; } .mc-line.w75 { width: 75%; } .mc-line.w60 { width: 60%; } .mc-line.w45 { width: 45%; }
.mc-cta { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.mc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--steel); flex: none; }
.mc-cta .mc-line { flex: 1; background: rgba(82, 107, 133, .3); }
.mc-go {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--slate); color: #fff; display: grid; place-items: center;
}
.mc-go svg { width: 12px; height: 12px; }
.cursor { position: absolute; left: 71%; top: 60%; color: var(--slate); transform: rotate(14deg); }
.cursor svg { width: 26px; height: 26px; }

/* 2/2 — le lien unique et ses lecteurs. */
.web { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(82, 107, 133, .45); }
.av {
  position: absolute; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); display: grid; place-items: center;
  box-shadow: 0 8px 18px -10px rgba(15, 23, 32, .4);
}
.av svg { width: 20px; height: 20px; }
.av.a1 { left: 18%; top: 20%; color: var(--steel); }
.av.a2 { left: 70%; top: 15%; color: var(--slate); }
.av.a3 { left: 23%; top: 71%; color: var(--haze); }
.linkpill {
  position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 9px;
  padding: 9px 14px; border-radius: 10px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 14px 32px -18px rgba(15, 23, 32, .45);
  white-space: nowrap;
}
.lp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--steel); flex: none; }
.linkpill b { display: block; font-size: 13px; font-weight: 600; letter-spacing: -.01em; }
.linkpill small { display: block; font-size: 11px; color: var(--ink-faint); }

/* --------------------------------------------------- schema outils --- */
/* Le noyau en haut, huit outils en bas, des courbes entre les deux. Les
   courbes portent `non-scaling-stroke` : le SVG s'etire en largeur sans que
   le trait n'epaississe, ce qui garde les extremites sous les tuiles. */

.hub { position: relative; max-width: 900px; margin: 0 auto; padding-top: 76px; }
.hub-core {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 62px; height: 62px; border-radius: 16px;
  display: grid; place-items: center; color: var(--mark);
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 14px 34px -16px rgba(15, 23, 32, .35);
}
.hub-lines { display: block; width: 100%; height: 176px; color: rgba(82, 107, 133, .34); }
.hub-nodes { display: grid; grid-template-columns: repeat(8, 1fr); margin-top: -1px; }
.node { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.node .tile {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 8px 20px -14px rgba(15, 23, 32, .4);
}
.node .tile svg { width: 24px; height: 24px; }
.node .tw { font-family: var(--f-logo); font-weight: 600; font-size: 12px; letter-spacing: -.02em; color: var(--ink); }
.node .nl { font-size: 12px; color: var(--ink-faint); }
.node.soon { opacity: .42; }

.hub-legend { display: flex; justify-content: center; gap: 22px; margin: 34px 0 0; font-size: 12.5px; color: var(--ink-faint); }
.hub-legend .lg { display: inline-flex; align-items: center; gap: 7px; }
.hub-legend .d { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong, #cfd9e3); }
.hub-legend .d.on { background: var(--steel); }


/* ------------------------------------------- animation des panneaux --- */
/* Les deux scenes ne demarrent QUE lorsque leur bloc entre dans l'ecran
   (`.reveal.in`, meme observateur que le reste de la page). L'entree se joue
   une fois ; seule la boucle courte -- l'envoi, le partage -- se repete. */

.mc-line, .mockcard, .linkpill, .av { transform-origin: left center; }
.mockcard, .linkpill { transform-origin: center; }

@keyframes line-grow { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
@keyframes card-in   { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes av-in     { from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: none; } }
/* Le halo du bouton, puis l'avion : la page part, et repart. */
@keyframes ring      { 0% { box-shadow: 0 0 0 0 rgba(82,107,133,.4); } 70%, 100% { box-shadow: 0 0 0 13px rgba(82,107,133,0); } }
@keyframes fly {
  0%   { transform: rotate(14deg) translate(0, 0); opacity: 0; }
  14%  { opacity: 1; }
  72%  { opacity: .95; }
  100% { transform: rotate(14deg) translate(54px, -48px); opacity: 0; }
}
/* Le trait se dessine du centre vers le lecteur, puis s'efface par l'autre
   bout : aucune coupure au bouclage. */
@keyframes draw      { 0% { stroke-dashoffset: 1; } 38%, 68% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
@keyframes orbit     { to { transform: rotate(360deg); } }
@keyframes dot-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(82,107,133,.45); } 55% { box-shadow: 0 0 0 8px rgba(82,107,133,0); } }

.feature-row.in .mockcard { animation: card-in .8s var(--ease-out) both; }
.feature-row.in .mockcard > :nth-child(2) { animation: line-grow .6s var(--ease-out) .25s both; }
.feature-row.in .mockcard > :nth-child(3) { animation: line-grow .6s var(--ease-out) .38s both; }
.feature-row.in .mockcard > :nth-child(4) { animation: line-grow .6s var(--ease-out) .51s both; }
.feature-row.in .mc-cta                   { animation: card-in .6s var(--ease-out) .68s both; }
.feature-row.in .mc-go   { animation: ring 3.4s ease-out 1.4s infinite; }
.feature-row.in .cursor  { animation: fly 3.4s ease-out 1.4s infinite; }

.spoke { stroke-dasharray: 1; stroke-dashoffset: 1; }
.feature-row.in .spoke { animation: draw 3.6s var(--ease-out) infinite; }
.feature-row.in .s1 { animation-delay: .35s; }
.feature-row.in .s2 { animation-delay: .6s; }
.feature-row.in .s3 { animation-delay: .85s; }
.orbit { transform-box: fill-box; transform-origin: center; }
.feature-row.in .orbit { animation: orbit 34s linear infinite; }
.feature-row.in .linkpill { animation: card-in .8s var(--ease-out) .1s both; }
.feature-row.in .lp-dot { animation: dot-pulse 2.8s ease-out 1s infinite; }
.feature-row.in .av { animation: av-in .6s var(--ease-out) both; }
.feature-row.in .av.a1 { animation-delay: .4s; }
.feature-row.in .av.a2 { animation-delay: .62s; }
.feature-row.in .av.a3 { animation-delay: .84s; }


/* ------------------------------------------------------------ tarifs --- */
/* Trois offres, une seule decision : l'oeil doit tomber sur Pro -- seule carte
   bordee et surelevee, les deux autres neutres. Le basculement mensuel/annuel
   n'ecrit aucun nombre en JS : les deux montants sont dans le HTML, le CSS
   montre celui de la periode choisie. Un chiffre affiche ne peut donc pas
   diverger de ce que le serveur facture. */

.period {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 30px;
  padding: 4px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
}
.period button {
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 14px; border: 0; border-radius: 9px; background: none;
  font-size: 14px; font-weight: 500; color: var(--ink-soft); cursor: pointer;
  transition: background-color .2s var(--ease-soft), color .2s var(--ease-soft);
}
.period button:hover { color: var(--ink); }
.period button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.period .save {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px; color: var(--steel); background: rgba(82,107,133,.12);
  padding: 2px 7px; border-radius: 6px;
}
.period button[aria-pressed="true"] .save { background: rgba(255,255,255,.18); color: #fff; }

#pricing[data-period="monthly"] .y,
#pricing[data-period="yearly"] .m { display: none; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }

/* La carte unique de /pricing : une seule offre a l'ecran, celle que le menu
   de volume designe. Les trois sont dans le HTML, seule la retenue s'affiche
   -- aucun montant n'est ecrit en JavaScript. */
.picker { display: flex; justify-content: center; }
.picker .plan { width: 100%; max-width: 452px; }
#pricing[data-plan="starter"] [data-for]:not([data-for~="starter"]),
#pricing[data-plan="pro"] [data-for]:not([data-for~="pro"]),
#pricing[data-plan="enterprise"] [data-for]:not([data-for~="enterprise"]) { display: none; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 26px 28px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line);
}
.plan.featured {
  border-color: var(--slate);
  box-shadow: 0 0 0 1px var(--slate), 0 26px 60px -30px rgba(15, 23, 32, .5);
}
.tagpop {
  position: absolute; right: 22px; top: 26px;
  padding: 3px 9px; border-radius: 6px; background: var(--slate); color: #fff;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11px;
}
.plan h3, .plan .plan-name { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
/* Le nom de l'offre est une etiquette, pas un titre de section : la balise
   a change pour le plan du document, le style est rigoureusement le meme. */
.plan-line { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-soft); min-height: 42px; }
.price { margin: 22px 0 0; display: flex; align-items: baseline; gap: 8px; }
.price .amt { font-size: 44px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.price .amt.custom { font-size: 34px; }
.price .per { font-size: 14px; color: var(--ink-faint); }
.price-note { margin: 8px 0 0; font-size: 12.5px; color: var(--ink-faint); min-height: 18px; }
.allow {
  margin: 18px 0 0; padding: 9px 12px; border-radius: 9px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 500; color: var(--ink);
}
.plan .btn { margin-top: 16px; width: 100%; }

/* Menu de volume : une liste maison plutot qu'un <select>, chaque volume
   portant une seconde ligne qui dit a qui il s'adresse. Le bouton reste un
   bouton (clavier, focus visible) et la liste un vrai listbox ARIA. */
.volume { position: relative; margin-top: 22px; }
.volume-label { display: block; font-size: 12.5px; color: var(--ink-faint); margin-bottom: 7px; }
.volume-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; height: 46px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--paper);
  font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); text-align: left;
  cursor: pointer; transition: border-color .2s var(--ease-soft), background-color .2s var(--ease-soft);
}
.volume-btn:hover { border-color: var(--ink-faint); background: #fff; }
.volume-btn svg { width: 16px; height: 16px; flex: none; color: var(--ink-faint); transform: rotate(90deg); transition: transform .22s var(--ease-soft); }
.volume-btn[aria-expanded="true"] { border-color: var(--slate); background: #fff; }
.volume-btn[aria-expanded="true"] svg { transform: rotate(-90deg); }

.volume-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 5;
  margin: 0; padding: 5px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-float);
}
.volume-list li {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px; border-radius: 8px; cursor: pointer;
}
.volume-list li:hover, .volume-list li.is-active { background: var(--paper); }
.volume-list li[aria-selected="true"] { background: rgba(82, 107, 133, .1); }
.vo-name { font-size: 15px; font-weight: 500; color: var(--ink); }
.vo-note { font-size: 13px; line-height: 1.45; color: var(--ink-faint); }
.plan .checks { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); gap: 10px; }
.plan .checks li { font-size: 14px; }

/* Recharges : un complement de l'offre, pas une offre. D'ou un encart discret
   sous la liste d'inclus, jamais une seconde carte ni un second prix en grand. */
.topups {
  margin-top: 22px; padding: 14px 14px 12px; border-radius: 12px;
  background: var(--paper); border: 1px solid var(--line);
}
.topups-head {
  margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px;
  font-size: 14px; font-weight: 600; color: var(--ink);
}
.topups-head span { font-size: 12.5px; font-weight: 400; color: var(--ink-faint); }
/* Deux colonnes quand elles tiennent, une seule sur un telephone : a 375 px,
   deux colonnes cassaient « +25 credits » sur deux lignes. */
.topups-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 8px; }
.topups-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  padding: 9px 12px; border-radius: 9px; background: #fff; border: 1px solid var(--line);
  font-size: 14px; color: var(--ink-soft);
}
.topups-list li > span { white-space: nowrap; }
.tu-price { font-weight: 600; color: var(--ink); letter-spacing: -.01em; }

.credit-note { margin: 26px 0 0; font-size: 13px; color: var(--ink-faint); text-align: center; }


/* ---------------------------------------------------------- la FAQ --- */

.faq { margin-top: clamp(52px, 6vw, 82px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line); }
.faq h2, .faq h3 { margin: 0 0 12px; }

.qa { border-top: 1px solid var(--line); }
.qa:last-of-type { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 2px; cursor: pointer; list-style: none;
  font-size: 16.5px; font-weight: 500; letter-spacing: -.015em; color: var(--ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--steel); }
.qa summary svg { width: 16px; height: 16px; flex: none; color: var(--ink-faint); transform: rotate(90deg); transition: transform .25s var(--ease-soft); }
.qa[open] summary svg { transform: rotate(-90deg); }
.qa p { margin: -4px 2px 20px; max-width: 68ch; font-size: 15px; line-height: 1.65; color: var(--ink-soft); }

/* ------------------------------------------------------- final CTA ----- */

.final {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(110px, 14vw, 180px) 0; text-align: center; color: #fff;
}
.final-media { position: absolute; inset: 0; z-index: -2; }
.final-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transform: scale(1.08); filter: saturate(.9); }
.final-veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--abyss) 0%, rgba(11,18,26,.5) 30%, rgba(11,18,26,.55) 70%, var(--abyss) 100%); }
.final h2 { max-width: 18ch; margin: 0 auto; }
.final .lede { color: rgba(238,242,246,.78); margin: 22px auto 0; }
.final .hero-actions { margin-top: 34px; }

/* ----------------------------------------------------------- légal ----- */

.legal { padding: 56px 0 60px; }
.legal .kicker { margin-bottom: 14px; }
.legal h2 { font-size: 22px; margin: 0 0 8px; }
.legal p { margin: 0 0 22px; color: var(--d-text-soft); font-size: 15px; max-width: 60ch; }
.legal .chip { text-decoration: none; transition: border-color .2s, background-color .2s; }
.legal .chip:hover { border-color: rgba(174,192,213,.4); background: rgba(255,255,255,.07); }

/* ------------------------------------------------------------ footer --- */

footer { border-top: 1px solid var(--d-line); padding: 36px 0 56px; color: var(--d-text-faint); font-size: 13.5px; }
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.foot .brand { font-size: 17.5px; letter-spacing: -.015em; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; }
.foot a { color: var(--d-text-soft); text-decoration: none; }
.foot a:hover { color: #fff; }
/* Le selecteur de langue vit ICI et nulle part ailleurs (decision de Remi,
   13/09/2026 : pas dans la barre). Un lien vers la page jumelle, dessine en
   bouton discret : un liseré, jamais un aplat, pour qu'il se trouve sans
   rivaliser avec les liens legaux voisins. */
.foot .lang-switch {
  display: inline-flex; align-items: center;
  padding: 5px 10px; border-radius: 7px; line-height: 1;
  border: 1px solid rgba(174, 192, 213, .22);
  color: var(--d-text-soft); transition: color .2s, border-color .2s;
}
.foot .lang-switch:hover { color: #fff; border-color: rgba(174, 192, 213, .45); }

/* ---------------------------------------------------------- reveal ----- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

.hero .ob { opacity: 0; transform: translateY(16px); animation: ob .9s var(--ease-soft) forwards; }
@keyframes ob { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero .ob { opacity: 1; transform: none; transition: none; animation: none; }
  .composer-caret { animation: none; }
  .feature-row.in .mockcard, .feature-row.in .mockcard > :nth-child(n), .feature-row.in .mc-cta,
  .feature-row.in .mc-go, .feature-row.in .cursor, .feature-row.in .spoke,
  .feature-row.in .orbit, .feature-row.in .linkpill, .feature-row.in .lp-dot,
  .feature-row.in .av { animation: none; opacity: 1; transform: none; }
  .spoke { stroke-dashoffset: 0; }
}

/* ------------------------------------------------------- responsive ---- */

@media (max-width: 1080px) {
  .nav-links { position: static; transform: none; margin-left: 10px; gap: 22px; }
  .understand, .integrations { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan-line { min-height: 0; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.flip .feature-copy { order: 0; }
  .hub-nodes { grid-template-columns: repeat(4, 1fr); gap: 22px 0; }
  .hub-lines { display: none; }
  .hub { padding-top: 0; }
  .hub-core { position: static; transform: none; margin: 0 auto 28px; }
  .steps-row { grid-template-columns: 1fr; gap: 0; }
  .steps-row li { padding: 22px 0; border-top: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-in { height: 60px; gap: 12px; }
  .nav-actions .btn { height: 36px; padding: 0 13px; font-size: 13px; }
  .nav .btn-ghost { display: none; }
  .nav-aside { display: none; }   /* le pied de page porte le lien */
  .hero { padding: 120px 0 80px; min-height: 92svh; }
  .hero h1 { max-width: 15ch; }
  .facts { grid-template-columns: 1fr; gap: 26px; }
  .composer { padding: 14px 14px 12px; }
  .composer-field { font-size: 15px; }
  .crm-line { display: none; }
}
@media (max-width: 560px) {
  .steps li { grid-template-columns: 32px 1fr; }
}
