/* Cyveo — site public (v0.47) : page d'accueil et mentions légales.
   Même identité que la plateforme : bleu nuit, bleu Cyveo, carré orange ; Archivo (titres), Atkinson Hyperlegible Next (texte). */
@font-face { font-family: "Atkinson Hyperlegible Next"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2"), url("../fonts/atkinson-hyperlegible-next-latin-400-normal.woff") format("woff"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-next-latin-700-normal.woff2") format("woff2"), url("../fonts/atkinson-hyperlegible-next-latin-700-normal.woff") format("woff"); }
@font-face { font-family: "Atkinson Hyperlegible Mono"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-mono-latin-400-normal.woff2") format("woff2"), url("../fonts/atkinson-hyperlegible-mono-latin-400-normal.woff") format("woff"); }
@font-face { font-family: "Archivo Var"; font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/archivo-latin-700-normal.woff") format("woff"); }

:root {
  --nuit: #0F1B2D; --nuit-2: #16253C; --trait-nuit: #263750; --bleu: #2350C9; --orange: #E8743B;
  --encre: #0F1B2D; --texte: #3A4658; --discret: #5B6779; --brume: #F4F6FA; --trait: #E1E6EE; --blanc: #FFFFFF;
  --sur-nuit: #C9D3E3; --sur-nuit-2: #9FB0C8;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--blanc); color: var(--texte); font: 400 17px/1.55 "Atkinson Hyperlegible Next", "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); }
h1, h2, h3, .brand .word { font-family: "Archivo Var", "Archivo", "Segoe UI", Arial, sans-serif; font-stretch: 112%; color: var(--encre); margin: 0; }
p { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--blanc); color: var(--encre); padding: 10px 14px; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid #7FA0FF; outline-offset: 3px; border-radius: 4px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 20; background: var(--nuit); border-bottom: 1px solid var(--trait-nuit); }
.top-in { display: flex; align-items: center; height: 64px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--blanc); }
.brand svg { width: 30px; height: 30px; margin-right: 10px; }
.brand .word { color: var(--blanc); font-size: 21px; font-weight: 600; letter-spacing: -0.03em; }
.top-nav { margin-left: 44px; display: flex; }
.top-nav a { color: var(--sur-nuit); text-decoration: none; font-size: 15px; padding: 8px 14px; border-radius: 6px; }
.top-nav a:hover { color: var(--blanc); background: var(--nuit-2); }
.top-cta { margin-left: auto; display: flex; align-items: center; }
.top-cta .lnk { color: var(--blanc); text-decoration: none; font-size: 15px; font-weight: 700; padding: 9px 16px; border: 1px solid #3B4E6C; border-radius: 8px; }
.top-cta .lnk:hover { border-color: var(--sur-nuit-2); }
.top-cta .demo { margin-left: 12px; }

/* Boutons */
.btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1; padding: 13px 18px; border-radius: 8px; border: 1px solid transparent; white-space: nowrap; }
.btn.big { font-size: 16px; padding: 16px 24px; }
.btn.orange { background: var(--orange); color: #1A1206; }
.btn.orange:hover { background: #F08650; }
.btn.ghost { color: var(--blanc); border-color: #3B4E6C; }
.btn.ghost:hover { border-color: var(--sur-nuit-2); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Ouverture */
.hero { background: var(--nuit); color: var(--sur-nuit); padding: 72px 0 0; overflow: hidden; }
.hero-in { display: flex; align-items: center; }
.hero-txt { flex: 0 0 46%; max-width: 46%; padding-right: 40px; }
.kicker { font: 400 13px/1 "Atkinson Hyperlegible Mono", Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--sur-nuit-2); margin-bottom: 22px; }
.kicker::before { content: ""; display: inline-block; width: 9px; height: 9px; background: var(--orange); margin-right: 10px; }
.hero h1 { color: var(--blanc); font-size: 46px; line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; }
.lead { font-size: 19px; line-height: 1.5; margin: 22px 0 32px; max-width: 520px; }
.hero-art { flex: 1 1 auto; position: relative; margin-right: -120px; padding: 8px 0 56px 40px; }
.screen { border-radius: 10px; box-shadow: 0 24px 60px rgba(4, 10, 22, .45); }
.hero-art .screen { border: 1px solid var(--trait-nuit); }
.phone { position: absolute; display: block; background: #0A121F; padding: 7px; border-radius: 26px; box-shadow: 0 18px 44px rgba(4, 10, 22, .5); }
.phone img { border-radius: 20px; }
.hero-art .phone { width: 188px; left: 0; bottom: 0; border: 1px solid #2B3D5A; }

.facts { display: flex; margin: 64px 0 0; border-top: 1px solid var(--trait-nuit); }
.facts div { flex: 1 1 0; padding: 26px 24px 30px 0; }
.facts div + div { padding-left: 24px; border-left: 1px solid var(--trait-nuit); }
.facts dt { font: 400 34px/1 "Atkinson Hyperlegible Mono", Consolas, monospace; color: var(--blanc); }
.facts dd { margin: 10px 0 0; font-size: 15px; line-height: 1.35; color: var(--sur-nuit-2); }

/* Blocs */
.bloc { padding: 96px 0; }
.bloc.alt { background: var(--brume); }
.duo { display: flex; align-items: center; }
.duo .txt { flex: 0 0 40%; max-width: 40%; padding-right: 56px; }
.duo.rev { flex-direction: row-reverse; }
.duo.rev .txt { padding: 0 0 0 56px; }
.num { font: 400 14px/1 "Atkinson Hyperlegible Mono", Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--discret); margin-bottom: 18px; }
.num span { color: var(--orange); margin-right: 10px; }
.num.on-dark { color: var(--sur-nuit-2); }
h2 { font-size: 33px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.txt h2 + p { margin-top: 18px; }
.pts { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid var(--trait); }
.pts li { position: relative; padding: 13px 0 13px 22px; border-bottom: 1px solid var(--trait); font-size: 16px; line-height: 1.45; color: var(--encre); }
.pts li::before { content: ""; position: absolute; left: 0; top: 21px; width: 8px; height: 8px; background: var(--orange); }
.art { flex: 1 1 auto; margin: 0; min-width: 0; }
.pile { position: relative; }
.art .screen { border: 1px solid var(--trait); box-shadow: 0 18px 48px rgba(15, 27, 45, .14); }
.art figcaption { margin-top: 16px; font-size: 13px; color: var(--discret); }
.art .phone { width: 168px; right: 0; bottom: 0; }
.art-video .pile { padding: 0 124px 34px 0; }
.art-score .pile { padding: 0 64px 84px 0; }

/* Sécurité */
.trust { background: var(--nuit); color: var(--sur-nuit); padding: 96px 0; }
.trust h2 { color: var(--blanc); max-width: 560px; }
.grid { display: flex; flex-wrap: wrap; margin: 44px -28px 0; }
.grid > div { flex: 0 0 33.333%; max-width: 33.333%; padding: 0 28px; margin-bottom: 8px; }
.grid > div::before { content: ""; display: block; height: 1px; background: var(--trait-nuit); margin-bottom: 22px; }
.grid h3 { color: var(--blanc); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.grid p { margin: 8px 0 30px; font-size: 15.5px; line-height: 1.5; }
.trust { padding-bottom: 66px; }

/* Démarrer : la ligne et ses arrêts */
.ligne { list-style: none; padding: 0; margin: 52px 0 0; display: flex; counter-reset: arret; position: relative; }
.ligne::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 3px; background: var(--bleu); border-radius: 2px; }
.ligne li { flex: 1 1 0; position: relative; padding: 54px 40px 0 0; counter-increment: arret; }
.ligne li::before { content: counter(arret); position: absolute; left: 0; top: 0; width: 33px; height: 33px; border-radius: 50%; background: var(--blanc); border: 3px solid var(--bleu); color: var(--bleu); font: 700 15px/27px "Atkinson Hyperlegible Next", Arial, sans-serif; text-align: center; }
.ligne li:last-child::before { background: var(--orange); border-color: var(--orange); color: #1A1206; }
.ligne strong { display: block; font: 700 19px/1.25 "Archivo Var", "Archivo", Arial, sans-serif; font-stretch: 112%; color: var(--encre); }
.ligne span { display: block; margin-top: 8px; font-size: 16px; max-width: 320px; }

/* Appel final */
.final { background: var(--bleu); padding: 64px 0; }
.final-in { display: flex; align-items: center; justify-content: space-between; }
.final h2 { color: var(--blanc); }
.final p { color: #DCE5FB; margin-top: 8px; font-size: 18px; }
.final .btn.ghost { border-color: rgba(255, 255, 255, .5); }
.final .btn.ghost:hover { border-color: var(--blanc); }

/* Pied de page */
.foot { background: var(--nuit); color: var(--sur-nuit-2); padding: 48px 0 28px; font-size: 15px; }
.foot-in { display: flex; justify-content: space-between; }
.foot-brand p { margin-top: 12px; }
.foot a { color: var(--sur-nuit); text-decoration: none; }
.foot a:hover { color: var(--blanc); text-decoration: underline; }
.foot-nav a, .foot-contact a { display: block; padding: 5px 0; }
.foot-legal { margin-top: 36px; font-size: 13px; }
.foot-legal span { display: block; padding-top: 20px; border-top: 1px solid var(--trait-nuit); }

/* Page de texte (mentions légales) */
.doc { padding: 64px 0 88px; }
.doc h1 { font-size: 36px; letter-spacing: -0.02em; }
.doc h2 { font-size: 21px; margin: 40px 0 10px; }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 0; padding-left: 20px; }
.doc li { margin: 6px 0; }

/* Tablette */
@media (max-width: 1020px) {
  .top-nav { display: none; }
  .hero { padding-top: 48px; }
  .hero-in, .duo, .duo.rev { display: block; }
  .hero-txt, .duo .txt { max-width: none; padding: 0; }
  .duo.rev .txt { padding: 0; }
  .hero h1 { font-size: 40px; max-width: 640px; }
  .hero-art { margin: 44px -60px 0 0; padding: 0 0 48px 36px; }
  .art { margin-top: 40px; }
  .bloc, .trust { padding: 72px 0; }
  .grid > div { flex-basis: 50%; max-width: 50%; }
  .final-in { display: block; }
  .final .cta { margin-top: 26px; }
}

/* Téléphone */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .top-in { height: 58px; }
  .top-cta .demo { display: none; }
  .top-cta .lnk { padding: 9px 14px; }
  .hero { padding-top: 36px; }
  .kicker { font-size: 12px; margin-bottom: 16px; }
  .hero h1 { font-size: 31px; line-height: 1.14; }
  .lead { font-size: 17px; margin: 16px 0 24px; }
  .cta .btn.big { flex: 1 1 100%; text-align: center; padding: 16px 18px; }
  .hero-art { margin: 36px -90px 0 0; padding: 0 0 34px 0; }
  .hero-art .screen { margin-left: 64px; width: auto; }
  .hero-art .phone { width: 128px; padding: 5px; border-radius: 19px; }
  .hero-art .phone img { border-radius: 15px; }
  .facts { flex-wrap: wrap; margin-top: 36px; }
  .facts div { flex: 0 0 50%; padding: 18px 12px 20px 0; }
  .facts div + div { padding-left: 0; border-left: 0; }
  .facts div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--trait-nuit); }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--trait-nuit); }
  .facts dt { font-size: 28px; }
  .facts dd { font-size: 14px; }
  .bloc, .trust { padding: 56px 0; }
  h2 { font-size: 26px; }
  .art { margin-top: 30px; }
  .art .phone { width: 112px; padding: 5px; border-radius: 17px; }
  .art .phone img { border-radius: 13px; }
  .art-video .pile { padding: 0 40px 26px 0; }
  .art-score .pile { padding: 0 34px 96px 0; }
  .grid { margin: 30px 0 0; display: block; }
  .grid > div { max-width: none; padding: 0; }
  .grid p { margin-bottom: 24px; }
  .ligne { display: block; margin-top: 34px; }
  .ligne::before { display: none; }
  .ligne li { padding: 4px 0 30px 52px; }
  .ligne li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 33px; bottom: 0; width: 3px; background: var(--bleu); }
  .ligne li:last-child { padding-bottom: 0; }
  .ligne span { max-width: none; }
  .final { padding: 48px 0; }
  .final p { font-size: 17px; }
  .foot-in { display: block; }
  .foot-nav, .foot-contact { margin-top: 24px; }
  .doc { padding: 40px 0 56px; }
  .doc h1 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
