/* Vadro Data Platform — data.vadro.fr. Site statique : deux pages (index.html, contact.html), cette feuille,
   engine.js (schéma du moteur) et contact.js (formulaire). Servi par nginx, fichiers montés depuis un ConfigMap
   (k8s/prod/data-site.yaml). Maquette d'origine : mockup/ui-iter-2026-11/pro-vitrine-3.html. */
@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/inter-latin.woff2) format("woff2"); }
:root {
  --bg: #ffffff;
  --paper: #f5f4f2;
  --ink: #0c0c0d;
  --soft: #6e6e73;
  --faint: #a9a9ae;
  --line: #e6e4e1;
  --accent: #e11d48;      /* corail foncé de Vadro */
  --accent-2: #fb7185;    /* corail de Vadro */
  --night: #09090b;
  --night-2: #131316;
  --night-line: rgba(255, 255, 255, 0.13);
  --night-soft: rgba(255, 255, 255, 0.6);
  --wide: 1100px;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: -0.035em; line-height: 1.04; font-weight: 700; text-wrap: balance; }
a { color: inherit; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 22px; }
.label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: background 0.2s; }
.btn:hover { background: var(--accent); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-2); color: var(--ink); }
.link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.link:hover { color: var(--accent); }

/* En-tête : un nom, un lien */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(1.6) blur(14px); }
.top .wrap { height: 56px; display: flex; align-items: center; justify-content: space-between; }
/* Logo : la tuile de vadro.fr (carré arrondi, V d'Inter en 900 ; frontend globals.css, .logo-icon), en noir pour
   ce site. Le V vient du CSS, pas d'un texte : Google lirait sinon « V Vadro ». */
.brand { font-size: 18.5px; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; gap: 9px; }
.brand .ic { width: 1.56em; height: 1.56em; border-radius: 0.39em; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 900; letter-spacing: -0.04em; flex: none; }
.brand .ic::before { content: "V"; font-size: 0.87em; }
.brand b { font-weight: 800; }
.brand .bar { width: 1px; height: 1.15em; background: currentColor; opacity: 0.25; margin: 0 2px; }
.brand .dp { font-weight: 500; color: var(--soft); }
.top a.nav { font-size: 15px; font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.top a.nav:hover { color: var(--accent); }

/* Entrée */
.hero { min-height: calc(92vh - 56px); display: grid; place-items: center; text-align: center; padding: 72px 0 88px; }
.hero h1 { max-width: 15em; font-size: clamp(32px, 8.6vw, 100px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; margin: 22px auto 28px; }

.hero p.sub { font-size: clamp(18px, 2.1vw, 23px); color: var(--soft); max-width: 30em; margin: 0 auto; line-height: 1.4; }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; align-items: center; }

/* Le moteur */
.engine { background: var(--night); color: #fff; padding: 96px 0 104px; overflow: hidden; }
.engine .label { color: var(--accent-2); }
.engine-head { text-align: center; display: grid; gap: 18px; justify-items: center; margin-bottom: 56px; }
.engine h2 { font-size: clamp(34px, 6vw, 68px); }
.engine-head p { color: var(--night-soft); font-size: clamp(17px, 1.9vw, 21px); max-width: 32em; }
.flow-d { display: none; }
.flow-d svg { width: 100%; height: auto; display: block; overflow: visible; }
.flow-d text { font-family: Inter, system-ui, sans-serif; }
.flow-m { display: grid; justify-items: center; }
@media (min-width: 900px) { .flow-d { display: block; } .flow-m { display: none; } }
.flow-m .col-label { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--night-soft); margin-bottom: 14px; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; max-width: 420px; }
.chip { border: 1px solid var(--night-line); border-radius: 999px; padding: 11px 14px; font-size: 14.5px; font-weight: 500; background: rgba(255, 255, 255, 0.035); display: flex; align-items: center; justify-content: center; gap: 9px; }
.chip svg { width: 18px; height: 18px; flex: none; color: var(--accent-2); }
.cloud-m { width: 100%; max-width: 420px; }
.cloud-m svg { width: 100%; height: auto; display: block; overflow: visible; }
.float { animation: flotte 7s ease-in-out infinite; }
@keyframes flotte { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(var(--dx, 0px), var(--dy, -6px)); } }
.pipe { width: 1px; height: 64px; background: var(--night-line); position: relative; margin: 14px 0; }
.pipe::after { content: ""; position: absolute; left: -3px; top: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 12px 2px rgba(251, 113, 133, 0.7); animation: drop 2.2s linear infinite; }
.pipe.out::after { background: #fff; box-shadow: 0 0 12px 2px rgba(255, 255, 255, 0.6); animation-delay: 1.1s; }
@keyframes drop { from { transform: translateY(-4px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { transform: translateY(62px); opacity: 0; } }
.core-m { width: 100%; max-width: 300px; border-radius: 28px; padding: 26px 24px; background: var(--night-2); border: 1px solid rgba(251, 113, 133, 0.55); box-shadow: 0 0 70px rgba(225, 29, 72, 0.35), inset 0 0 40px rgba(225, 29, 72, 0.08); text-align: center; }
.core-m { text-align: left; max-width: 260px; padding: 26px 28px; }
.core-m ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; position: relative; }
.core-m ol::before { content: ""; position: absolute; left: 4px; top: 10px; bottom: 10px; width: 1px; background: rgba(251, 113, 133, 0.45); }
.core-m li b { display: block; font-size: 17.5px; font-weight: 600; letter-spacing: -0.02em; }
.core-m li span { display: block; font-size: 13.5px; color: var(--night-soft); margin-top: 1px; }

/* Trois affirmations */
.claims { padding: 112px 0; }
.claims-grid { display: grid; gap: 56px; }
.claim { border-top: 1px solid var(--ink); padding-top: 22px; display: grid; gap: 14px; align-content: start; }
.claim .fig { color: var(--ink); max-width: none; font-size: clamp(54px, 7vw, 84px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.claim .fig em { font-style: normal; color: var(--accent); }
.claim h3 { font-size: 26px; }
.claim .fmt { display: flex; flex-wrap: wrap; gap: 8px; align-content: center; max-width: 330px; min-height: clamp(54px, 7vw, 84px); font-family: var(--mono); font-size: 15px; font-weight: 600; }
.claim .fmt span { border: 1.5px solid var(--ink); border-radius: 8px; padding: 3px 9px; }
.claim .fmt .more { border-color: var(--accent); background: var(--accent); color: #fff; }
.claim p:not(.fig):not(.fmt) { color: var(--soft); max-width: 30em; }
@media (min-width: 900px) { .claims-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; } .claims { padding: 150px 0; } }

/* Une annonce, toutes ses formes */
.forms { background: var(--paper); padding: 104px 0 112px; }
.forms-head { display: grid; gap: 16px; margin-bottom: 48px; max-width: 34em; }
.forms h2 { font-size: clamp(32px, 5.2vw, 60px); }
.forms-head p { color: var(--soft); font-size: clamp(17px, 1.9vw, 20px); }
.tile { background: #fff; border-radius: 22px; padding: 22px; display: grid; grid-template-rows: auto 1fr; gap: 18px; min-height: 260px; min-width: 0; }
.tile > .label { display: flex; justify-content: space-between; }
.tile-body { align-self: center; min-width: 0; }
@media (min-width: 760px) { .tile { padding: 28px; min-height: 320px; } }

.f-card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; max-width: 360px; margin: 0 auto; }
.f-card .band { background: #f3e8ff; color: #7e22ce; font-size: 12.5px; font-weight: 700; padding: 7px 14px; display: flex; justify-content: space-between; }
.f-card b { font-size: 19px; letter-spacing: -0.02em; }
.f-card span { font-size: 14px; color: var(--soft); }
.f-card .pills { display: flex; gap: 6px; margin-top: 4px; }
.f-card .pills i { font-style: normal; font-size: 12.5px; font-weight: 600; background: var(--paper); border-radius: 999px; padding: 3px 9px; }

.f-paper { max-width: 380px; margin: 0 auto; border-top: 3px solid var(--ink); padding-top: 12px; }
.f-paper .day { font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.f-paper .row { display: grid; grid-template-columns: 50px 1fr; gap: 8px; font-size: 14.5px; margin-top: 8px; line-height: 1.4; }
.f-paper .row b { font-weight: 700; }
.f-paper .row span { color: var(--soft); }
.f-paper .row.dim { opacity: 0.28; }

.f-post { max-width: 250px; margin: 0 auto; aspect-ratio: 1; border-radius: 18px; background: radial-gradient(circle at 100% 0, #f4506c 0 96px, transparent 97px), var(--accent); color: #fff; padding: 20px; display: grid; align-content: space-between; }
.f-post small { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.9; }
.f-post b { font-size: 25px; letter-spacing: -0.03em; line-height: 1.05; display: block; }
.f-post span { font-size: 13px; opacity: 0.92; display: block; margin-top: 6px; }

.f-code { margin: 0; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; background: var(--night); color: #d7d7dc; border-radius: 16px; padding: 18px; white-space: pre-wrap; overflow-wrap: anywhere; }
.f-code .k { color: var(--accent-2); }
.f-code .n { color: #fde68a; }

/* Exemples : ce qui entre (dessiné), ce qui sort */
.step-label { display: flex; align-items: center; gap: 14px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); margin: 0 0 16px; }
.step-label::after { content: ""; flex: 1; height: 1px; background: #d9d6d2; }
.step-label.down { margin-top: 44px; color: var(--accent); }
.inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.in { background: #fff; border-radius: 22px; padding: 18px; display: grid; grid-template-rows: auto 1fr; gap: 14px; min-height: 250px; min-width: 0; }
.in-body { display: grid; place-items: center; min-width: 0; }
@media (min-width: 1000px) { .inputs { grid-template-columns: repeat(4, 1fr); } .in { padding: 22px; min-height: 290px; } }
.v-poster { width: 132px; aspect-ratio: 3 / 4; background: #fde68a; border: 6px solid #fff; box-shadow: 0 10px 24px rgba(12, 12, 13, 0.22); transform: rotate(-5deg); padding: 10px; display: grid; align-content: space-between; position: relative; overflow: hidden; }
.v-poster::before { content: ""; position: absolute; right: -22px; bottom: 26px; width: 74px; height: 74px; border-radius: 50%; background: var(--accent-2); }
.v-poster > * { position: relative; }
.v-poster small { font-size: 6.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.v-poster b { font-size: 25px; font-weight: 800; letter-spacing: -0.04em; line-height: 0.92; }
.v-poster span { font-size: 9px; font-weight: 700; }
.v-poster em { font-style: normal; font-size: 8.5px; font-weight: 700; line-height: 1.3; }
.v-web { width: 100%; max-width: 230px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 6px 18px rgba(12, 12, 13, 0.07); background: #fff; }
.v-web .bar { display: flex; align-items: center; gap: 4px; padding: 6px 8px; background: var(--paper); border-bottom: 1px solid var(--line); }
.v-web .bar i { width: 6px; height: 6px; border-radius: 50%; background: #cfccc8; }
.v-web .bar span { margin-left: 4px; font-size: 9px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-web .pg { padding: 12px; display: grid; gap: 6px; }
.v-web small { font-size: 8px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); }
.v-web b { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.v-web em { font-style: normal; font-size: 10px; color: var(--soft); }
.v-web u { display: block; height: 5px; border-radius: 3px; background: #e9e7e4; }
.v-web u.s { width: 60%; }
.v-web .two { grid-template-columns: 46px 1fr; gap: 10px; align-items: start; }
.v-web .two > div { display: grid; gap: 6px; }
.v-web .ph { aspect-ratio: 1; border-radius: 6px; background: linear-gradient(135deg, #bfdbfe, #e9d5ff); }
.v-web .list { gap: 0; padding: 6px 12px; }
.v-web .list p { margin: 0; display: grid; grid-template-columns: 38px 1fr; gap: 8px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); }
.v-web .list p:first-child { border-top: 0; }
.v-web .list p.on b { font-size: 12px; }
.v-web .list p:not(.on) { opacity: 0.55; }

.tiles { display: grid; gap: 14px; }
@media (min-width: 700px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.f-card .thumb { height: 74px; background: linear-gradient(135deg, #e9d5ff, #fbcfe8); display: flex; align-items: flex-end; justify-content: center; gap: 7px; padding-bottom: 12px; }
.f-card .thumb i { width: 26px; height: 34px; border-radius: 4px; background: rgba(255, 255, 255, 0.75); position: relative; }
.f-card .thumb i::after { content: ""; position: absolute; left: 9px; width: 8px; height: 8px; border-radius: 50%; background: #7e22ce; bottom: 5px; }
.f-card .thumb i:nth-child(2)::after { bottom: 12px; } .f-card .thumb i:nth-child(3)::after { bottom: 20px; } .f-card .thumb i:nth-child(4)::after { bottom: 12px; }
.f-card .in2 { padding: 14px; display: grid; gap: 6px; }
.f-card .in2 p { font-size: 13.5px; color: var(--ink); line-height: 1.45; margin: 4px 0 2px; }
.f-card .pills { flex-wrap: wrap; }
.f-notif { max-width: 320px; margin: 0 auto; display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; background: var(--paper); border-radius: 18px; padding: 14px; box-shadow: 0 10px 28px rgba(12, 12, 13, 0.1); }
.f-notif .app { width: 38px; height: 38px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 800; font-size: 20px; display: grid; place-items: center; }
.f-notif small { display: block; font-size: 11.5px; color: var(--soft); font-weight: 600; }
.f-notif b { display: block; font-size: 15.5px; letter-spacing: -0.01em; margin: 1px 0; }
.f-notif div span { font-size: 13px; color: var(--soft); }
.f-cal { max-width: 300px; margin: 0 auto; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.f-cal .hd { padding: 11px 14px; border-bottom: 1px solid var(--line); display: flex; gap: 6px; align-items: baseline; }
.f-cal .hd b { font-size: 15px; } .f-cal .hd span { font-size: 13px; color: var(--soft); }
.f-cal .grid { position: relative; }
.f-cal .grid i { display: block; height: 30px; border-top: 1px solid var(--line); font-style: normal; font-size: 10.5px; color: var(--faint); padding: 3px 0 0 10px; }
.f-cal .grid i:first-child { border-top: 0; }
.f-cal .ev { position: absolute; left: 48px; right: 8px; top: 31px; height: 88px; border-radius: 8px; background: var(--accent); color: #fff; padding: 8px 10px; }
.f-cal .ev b { display: block; font-size: 13.5px; } .f-cal .ev span { font-size: 11.5px; opacity: 0.92; }

/* La fiche complète : ce que le moteur a compris */
.step-label.mid { margin-top: 44px; }
.understood { background: var(--night); color: #fff; border-radius: 22px; padding: 26px 22px; display: grid; gap: 30px; }
.u-cat { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2); }
.understood h3 { font-size: clamp(30px, 4.2vw, 46px); margin: 12px 0 16px; }
.u-desc { color: var(--night-soft); font-size: 17px; max-width: 30em; }
.u-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.u-tags span { border: 1px solid var(--night-line); border-radius: 999px; padding: 5px 12px; font-size: 13.5px; font-weight: 500; }
.u-data { margin: 0; display: grid; }
.u-data > div { display: grid; grid-template-columns: 104px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--night-line); align-items: baseline; }
.u-data dt { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--night-soft); }
.u-data dd { margin: 0; font-size: 15.5px; font-weight: 500; }
.u-data dd small { display: block; font-size: 14px; font-weight: 400; color: var(--night-soft); margin-top: 1px; }
.u-data dd.mono { font-family: var(--mono); font-size: 14px; }
.u-foot { font-size: 14px; color: var(--night-soft); border-top: 1px solid var(--night-line); padding-top: 16px; }
@media (min-width: 900px) { .understood { grid-template-columns: 1fr 1.05fr; gap: 30px 56px; padding: 44px; } .u-foot { grid-column: 1 / -1; } }

/* Chiffres, sur une ligne */
.facts { padding: 88px 0; text-align: center; }
.facts-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 64px; }
.fact b { display: block; font-size: clamp(40px, 6vw, 64px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.fact span { display: block; margin-top: 8px; font-size: 15px; color: var(--soft); }
.facts small { display: block; margin-top: 34px; color: var(--faint); font-size: 13px; }

/* Appel */
.cta { background: var(--night); color: #fff; text-align: center; padding: 120px 0; }
.cta h2 { font-size: clamp(34px, 6.4vw, 76px); max-width: 12em; margin: 0 auto 36px; }
.cta p { color: var(--night-soft); max-width: 30em; margin: 0 auto 36px; font-size: clamp(17px, 1.9vw, 20px); }
.foot { background: var(--night); color: var(--night-soft); font-size: 13.5px; padding: 0 0 36px; }
.foot .wrap { border-top: 1px solid var(--night-line); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }

/* Contact */
.contact { padding: 72px 0 120px; }
.contact .wrap { max-width: 620px; }
.contact h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; letter-spacing: -0.045em; margin: 16px 0 16px; }
.contact p.sub { color: var(--soft); font-size: 19px; margin-bottom: 44px; }
.form { display: grid; gap: 26px; }
.field { display: grid; gap: 9px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field > legend { font-size: 14px; font-weight: 600; padding: 0; }
.field .opt { color: var(--faint); font-weight: 400; }
.field input, .field textarea { font: inherit; width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid #cfccc8; border-radius: 14px; background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; opacity: 0; cursor: pointer; min-height: 0; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 17px; border-radius: 999px; border: 1px solid #cfccc8; font-size: 15px; font-weight: 500; }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.two { display: grid; gap: 26px; }
@media (min-width: 620px) { .two { grid-template-columns: 1fr 1fr; } }
.form small { color: var(--soft); font-size: 13.5px; }
.form .err { color: var(--accent); font-weight: 600; }
.sent h2 { font-size: 40px; margin-bottom: 12px; }
.sent p { color: var(--soft); margin-bottom: 28px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pipe::after { animation: none; opacity: 1; top: 28px; }
  .flow-d .dot { display: none; }
  .float { animation: none; }
}

.sprite { position: absolute; width: 0; height: 0; }
.form-end { display: grid; gap: 14px; justify-items: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.foot-light { padding-top: 36px; }
/* Page courte (contact) : le pied reste en bas de l'écran. */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
