@font-face { font-family: "Unbounded"; src: url("/assets/fonts/unbounded-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --void: #050a12;       /* fond : bleu nuit profond */
  --deck: #0b1522;       /* panneaux */
  --deck-2: #101e2f;
  --holo: #6ee7f0;       /* cyan holographique */
  --holo-deep: #22b8c8;
  --signal: #ffb547;     /* ambre : le signal, clin d'œil au jaune de Flo */
  --text: #e6f1f5;
  --muted: #93a8b8;
  --line: rgba(110, 231, 240, .16);
  --line-strong: rgba(110, 231, 240, .38);
  --r: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--void); }
body {
  margin: 0; color: var(--text); background: var(--void);
  font-family: "Figtree", system-ui, sans-serif; font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* grille holographique très discrète sur toute la page */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(110,231,240,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110,231,240,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%);
}
main, .foot, .top { position: relative; z-index: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--holo); }
h1, h2, h3 { font-family: "Unbounded", sans-serif; line-height: 1.1; margin: 0 0 .55em; letter-spacing: -0.02em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--holo); color: var(--void); padding: 8px 12px; z-index: 20; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }

.eyebrow { font-family: "JetBrains Mono", monospace; font-size: .8rem; color: var(--holo); letter-spacing: .04em; margin-bottom: 16px; }
.eyebrow::before { content: "// "; color: var(--muted); }
.section-lead { color: var(--muted); font-size: 1.1rem; max-width: 40em; }
.fine { font-size: .85rem; color: var(--muted); margin-top: 10px; }

/* ---------- boutons ---------- */
.btn {
  position: relative; display: inline-block; text-decoration: none; cursor: pointer; font-family: inherit;
  font-weight: 700; font-size: 1rem; color: var(--void); background: var(--holo);
  padding: 14px 26px; border-radius: 999px; border: 1px solid var(--holo);
  box-shadow: 0 0 0 0 rgba(110,231,240,.0), 0 0 28px -6px rgba(110,231,240,.65);
  transition: box-shadow .25s, background .25s, color .25s;
}
.btn:hover { box-shadow: 0 0 0 4px rgba(110,231,240,.15), 0 0 40px -4px rgba(110,231,240,.8); }
.btn-ghost { background: transparent; color: var(--holo); box-shadow: none; border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(110,231,240,.08); }
.btn-small { padding: 9px 18px; font-size: .92rem; }

/* ---------- en-tête ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 10; background: rgba(5,10,18,.6); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-family: "Unbounded", sans-serif; font-weight: 600; font-size: 1.1rem; }
.brand-mark { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--holo); box-shadow: 0 0 14px rgba(110,231,240,.7), inset 0 0 8px rgba(110,231,240,.6); position: relative; }
.brand-mark::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--holo); box-shadow: 0 0 10px var(--holo); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--text); }
.nav { gap: 22px; }
.nav-toggle { display: none; }
.back-row { margin: 0 0 22px; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 6px 0; }
.back:hover { color: var(--text); }
@media (max-width: 1060px) { .nav { gap: 16px; } .nav a:not(.btn) { font-size: .88rem; } }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 10px; background: transparent; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; }
  .nav-toggle span { display: block; height: 2px; background: var(--holo); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px; background: rgba(5,10,18,.97); border-bottom: 1px solid var(--line); }
  .menu-open .nav { display: flex; }
  .nav a:not(.btn) { display: block; padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; text-align: center; justify-content: center; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding: 110px 0 90px; overflow: hidden; }
.core { position: absolute; top: 50%; left: 70%; width: min(880px, 120vw); height: min(880px, 120vw); transform: translate(-50%, -50%); z-index: 0; }
.hero-in { position: relative; z-index: 2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(5,10,18,.92) 0%, rgba(5,10,18,.7) 38%, rgba(5,10,18,0) 62%); }
.hero h1 { max-width: 12em; text-shadow: 0 0 40px rgba(5,10,18,.9); }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 36em; text-shadow: 0 0 24px rgba(5,10,18,1); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hud {
  position: absolute; z-index: 2; font-family: "JetBrains Mono", monospace; font-size: .74rem; color: var(--muted);
  border: 1px solid var(--line); padding: 7px 12px; border-radius: 6px; background: rgba(11,21,34,.55); backdrop-filter: blur(6px);
}
.hud b { color: var(--holo); font-weight: 600; margin-left: 6px; }
.hud-tl { top: 96px; left: 3vw; display: flex; align-items: center; gap: 8px; color: var(--holo); }
.hud-tr { top: 96px; right: 3vw; }
.hud-bl { bottom: 32px; left: 3vw; }
.hud-br { bottom: 32px; right: 3vw; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #4ef0a0; box-shadow: 0 0 10px #4ef0a0; animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid var(--line-strong); border-radius: 14px; z-index: 2; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--holo); animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
@media (max-width: 860px) {
  .core { left: 50%; top: 82%; width: 130vw; height: 130vw; opacity: .85; }
  .hero::after { background: linear-gradient(180deg, rgba(5,10,18,.85) 0%, rgba(5,10,18,.6) 55%, rgba(5,10,18,0) 75%); }
  .hero { align-items: start; padding-bottom: 70vw; }
  .hud-tr, .hud-br { display: none; }
  .hud-bl, .hud-tl { display: none; }
  .scroll-cue { display: none; }
}

/* ---------- panneaux HUD ---------- */
.panel {
  position: relative; background: linear-gradient(180deg, rgba(16,30,47,.85), rgba(11,21,34,.85));
  border: 1px solid var(--line); border-radius: var(--r); padding: 30px;
}
.corner { position: absolute; width: 16px; height: 16px; border: 2px solid var(--holo); top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: var(--r); opacity: .9; }
.panel::after {
  content: ""; position: absolute; right: -1px; bottom: -1px; width: 16px; height: 16px;
  border: 2px solid var(--holo); border-left: 0; border-top: 0; border-bottom-right-radius: var(--r); opacity: .9;
}

/* ---------- sections ---------- */
.section { padding: 120px 0; }
.head { margin-bottom: 52px; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pillar p { color: var(--muted); margin: 0; }
.ico { width: 46px; height: 46px; margin-bottom: 20px; fill: none; stroke: var(--holo); stroke-width: 2; filter: drop-shadow(0 0 6px rgba(110,231,240,.6)); }
.ico .thin { stroke-width: 1; opacity: .6; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

.stack { margin-top: 56px; border-top: 1px solid var(--line); padding-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.stack p { margin: 0; color: var(--muted); font-size: .92rem; }
.stack ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.stack li { font-family: "JetBrains Mono", monospace; font-size: .82rem; color: var(--text); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }

/* ---------- pipeline épinglé ---------- */
.pipeline { position: relative; background: radial-gradient(ellipse at 20% 50%, rgba(34,184,200,.10), transparent 60%); }
.pipe-pin { min-height: 100vh; display: grid; align-items: center; padding: 100px 0; }
.pipe-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.pipe-note { font-family: "JetBrains Mono", monospace; color: var(--signal); font-size: .92rem; }
.pipe-track { position: relative; padding-left: 46px; }
.pipe-line { position: absolute; left: 0; top: 10px; bottom: 10px; width: 10px; height: calc(100% - 20px); overflow: visible; }
.pipe-base { stroke: var(--line); stroke-width: 2; }
.pipe-glow { stroke: var(--holo); stroke-width: 3; stroke-dasharray: 1000; filter: drop-shadow(0 0 6px var(--holo)); }
.pipe-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 26px; }
.pstep { position: relative; display: block; }
.pstep h3 { margin-bottom: .3em; }
.pstep p { color: var(--muted); margin: 0; }
.pstep .tag { font-family: "JetBrains Mono", monospace; font-size: .74rem; color: var(--holo); margin-bottom: 6px; }
.node { position: absolute; left: -46px; top: 4px; width: 12px; height: 12px; margin-left: -1px; border-radius: 50%; background: var(--void); border: 2px solid var(--holo); box-shadow: 0 0 12px rgba(110,231,240,.8); }
/* état « pas encore atteint » seulement quand le script anime */
.js-anim .pstep { opacity: .25; transition: opacity .4s; }
.js-anim .pstep.lit { opacity: 1; }
.js-anim .pstep .node { background: var(--void); box-shadow: none; border-color: var(--line-strong); transition: all .4s; }
.js-anim .pstep.lit .node { background: var(--holo); border-color: var(--holo); box-shadow: 0 0 16px var(--holo); }
@media (max-width: 900px) { .pipe-in { grid-template-columns: 1fr; gap: 36px; } .pipe-pin { min-height: 0; } }

/* ---------- solutions ---------- */
.solutions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sol h3 { font-size: 1.12rem; }
.sol p { color: var(--muted); font-size: .97rem; }
.sol .problem { color: var(--text); font-size: .95rem; border-left: 2px solid var(--signal); padding-left: 12px; }
.sol-wide { grid-column: span 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; align-items: center; }
.status { font-family: "JetBrains Mono", monospace; font-size: .74rem; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.status.ok { color: #6ff0b0; } .status.ok::before { background: #4ef0a0; box-shadow: 0 0 8px #4ef0a0; }
.status.dev { color: var(--signal); } .status.dev::before { background: var(--signal); box-shadow: 0 0 8px var(--signal); }
.flo-visual { display: grid; place-items: center; border-radius: 14px; background: radial-gradient(circle, rgba(110,231,240,.22), transparent 65%); aspect-ratio: 1; }
.flo-visual img { width: 64%; border-radius: 50%; background: #fff; padding: 8%; box-shadow: 0 0 40px -6px rgba(110,231,240,.6); }
.shot { margin: 0; }
.shot img { border-radius: 12px; border: 1px solid var(--line-strong); width: 100%; box-shadow: 0 0 40px -12px rgba(110,231,240,.5); }
.shot figcaption { font-size: .8rem; color: var(--muted); margin-top: 8px; }
@media (max-width: 1000px) { .solutions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .solutions { grid-template-columns: 1fr; }
  .sol-wide { grid-column: auto; grid-template-columns: 1fr; }
  .flo-visual { max-width: 220px; }
}

/* ---------- sur mesure ---------- */
.custom { padding: 110px 0; background: linear-gradient(180deg, transparent, rgba(255,181,71,.07) 50%, transparent); border-block: 1px solid rgba(255,181,71,.18); }
.custom-in { max-width: 780px; text-align: center; }
.custom .eyebrow { color: var(--signal); }
.custom p { color: var(--muted); font-size: 1.1rem; }

/* ---------- méthode ---------- */
.steps { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.steps li { border-top: 1px solid var(--line-strong); padding-top: 20px; }
.num { font-family: "JetBrains Mono", monospace; color: var(--holo); font-size: .9rem; display: block; margin-bottom: 12px; }
.steps p { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.sub { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px; }
.sub > div p { color: var(--muted); }
.sub-list { list-style: none; padding: 0; margin: 0; }
.sub-list li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.sub-list li:last-child { border: 0; }
.sub-list b { display: block; color: var(--text); font-family: "Unbounded", sans-serif; font-weight: 500; font-size: .95rem; margin-bottom: 2px; }
@media (max-width: 820px) { .sub { grid-template-columns: 1fr; padding: 28px; } }

/* ---------- contact ---------- */
.contact-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.contact-text p { color: var(--muted); }
.direct a { font-family: "JetBrains Mono", monospace; color: var(--holo); }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 16px; }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: 7px; font: inherit; font-weight: 400; color: var(--text);
  background: rgba(5,10,18,.7); border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 13px;
}
.form select option { background: var(--deck); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--holo); box-shadow: 0 0 0 3px rgba(110,231,240,.18); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.opt { font-weight: 400; color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.consent { font-size: .84rem; color: var(--muted); }
@media (max-width: 860px) { .contact-in { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } .panel { padding: 22px; } }

/* ---------- pied ---------- */
.foot { border-top: 1px solid var(--line); padding: 42px 0 28px; font-size: .9rem; color: var(--muted); }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.foot-brand { font-family: "Unbounded", sans-serif; color: var(--text); font-size: 1.05rem; margin-bottom: 6px; }
.foot a { color: var(--text); }
.foot-note { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .84rem; }
@media (max-width: 680px) { .foot-in { grid-template-columns: 1fr; } }

/* ---------- apparitions (seulement si le script tourne) ---------- */
.js-anim .reveal, .js-anim .reveal-load { opacity: 0; transform: translateY(26px); }

/* ---------- pages légales ---------- */
.legal { padding: 130px 0 90px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2.2em; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot, .scroll-cue span { animation: none; }
}

.sol-more { border-style: dashed; border-color: var(--line-strong); display: flex; flex-direction: column; justify-content: center; }
.sol-more .plus { font-family: "Unbounded", sans-serif; font-size: 2rem; color: var(--signal); line-height: 1; margin-bottom: 14px; }

/* ---------- FAQ ---------- */
.faq-in { max-width: 900px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; font-family: "Unbounded", sans-serif; font-weight: 500; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: "JetBrains Mono", monospace; color: var(--holo); font-size: 1.3rem; transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--holo); }
.faq details p { color: var(--muted); margin: 0 0 22px; max-width: 46em; }

/* champs obligatoires */
.req { color: var(--signal); font-weight: 700; }
.form-error { color: #ff6b6b; font-weight: 600; }
.form :user-invalid, .form.tried :invalid { border-color: #ff6b6b; box-shadow: 0 0 0 3px rgba(255,107,107,.18); }

/* ---------- tarifs ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 40px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan { display: flex; flex-direction: column; gap: 10px; }
.plan h3 { margin: 0; font-size: 1.3rem; }
.plan-tag { font-family: "JetBrains Mono", monospace; font-size: .76rem; color: var(--muted); margin: 0; text-transform: uppercase; letter-spacing: .06em; }
.plan-star { border-color: var(--line-strong); box-shadow: 0 0 0 1px rgba(110,231,240,.25), 0 0 60px -20px rgba(110,231,240,.5); }
.plan-star .plan-tag { color: var(--signal); }
.plan-price { margin: 6px 0 0; color: var(--muted); }
.plan-price span { font-family: "Unbounded", sans-serif; font-size: 2.1rem; color: var(--text); font-weight: 600; }
.plan-founder { margin: 0; color: var(--signal); font-size: .92rem; font-weight: 600; }
.plan-list { margin: 8px 0 0; padding-left: 18px; color: var(--muted); display: grid; gap: 6px; align-content: start; flex: 1; }
.plans-note { margin-top: 22px; max-width: 60em; }

/* vidéo explicative Flo vocale */
.vid { margin: 22px auto 0; max-width: 560px; }
.vid video { width: 100%; height: auto; display: block; border-radius: 18px; border: 1px solid var(--line-strong); background: #050a12; }
.vid figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; text-align: center; }

/* bloc produit entièrement cliquable */
.sol:has(.card-link) { position: relative; cursor: pointer; }
.sol .card-link { position: static; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); z-index: 5; }
.sol:has(.card-link):hover { border-color: var(--line-strong); }

/* ===== v7 : tarifs sur 2 cartes, prix barrés, plus de contraste (argent + ambre) ===== */
.plans-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; margin-left: auto; margin-right: auto; }
@media (max-width: 900px) { .plans-2 { grid-template-columns: 1fr; } }
.plan-old { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.plan-old s { margin-right: 10px; text-decoration-color: var(--signal); text-decoration-thickness: 2px; }
.plan-star { border-color: rgba(255,181,71,.55); box-shadow: 0 0 0 1px rgba(255,181,71,.25), 0 0 70px -24px rgba(255,181,71,.55); }
.plan-star .plan-price span { color: var(--signal); }
h1, h2 {
  background: linear-gradient(180deg, #ffffff 0%, #dfe7ee 45%, #9fb1c1 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 { text-shadow: none; filter: drop-shadow(0 0 30px rgba(5,10,18,.9)); }
.btn-ghost { color: var(--signal); border-color: rgba(255,181,71,.5); }
.btn-ghost:hover { background: rgba(255,181,71,.08); }
.sub-list b, .sol h3 { color: #f1f5f8; }
.plan-cta { margin: 14px 0 0; }
.plan-cta .btn { width: 100%; justify-content: center; text-align: center; }
