/* Maithos, landing du 30/10/2026.
   Direction choisie par Mathis : le haut façon Apple (bloc noir, centré), l'animation de flux au centre,
   les cartes sombres animées pour « Ce qu'on construit », la bande d'outils en couleur. Une seule couleur : le bleu. */

/* Polices hébergées sur le site (Geist et Geist Mono, licence SIL OFL 1.1, Vercel). Sous-ensemble latin : couvre le français. */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("assets/fonts/Geist-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("assets/fonts/GeistMono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --page: #FFFFFF;
  --alt: #F5F5F7;
  --ink: #1D1D1F;
  --text-2: #6E6E73;
  --muted: #86868B;
  --line: #E5E5EA;

  --black: #0A0A0B;
  --black-2: #161618;
  --black-3: #1C1C1E;
  --black-line: #2C2C2E;
  --on-black: #F5F5F7;
  --on-black-2: #A1A1A6;
  --tile: #0E0F12;
  --tile-line: rgba(255, 255, 255, 0.08);

  --blue: #2F6BFF;
  --blue-hover: #1F57E6;
  --blue-soft: #6E9BFF;
  --green: #30D158;

  --f: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: 16px;
  --section: 80px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 768px) { :root { --gutter: 28px; --section: 120px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font-family: var(--f); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Boutons et liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 24px; border-radius: 999px; background: var(--blue); color: #fff;
  font: 500 17px/1.2 var(--f); text-decoration: none;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--blue-hover); }
.btn:active { transform: scale(0.98); }
.btn--small { min-height: 34px; padding: 7px 15px; font-size: 14px; }
.link { color: var(--blue-soft); text-decoration: none; font-size: 17px; font-weight: 500; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; color: var(--on-black);
  background: rgba(10, 10, 11, 0.82); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 56px; }
.nav__links { display: none; gap: 26px; margin-left: auto; font-size: 14px; }
.nav__links a { text-decoration: none; color: var(--on-black-2); transition: color .2s; }
.nav__links a:hover { color: var(--on-black); }
.nav__cta { margin-left: auto; }
@media (min-width: 920px) { .nav__links { display: flex; } .nav__cta { margin-left: 6px; } }
.nav.is-day { background: rgba(255, 255, 255, 0.84); color: var(--ink); border-bottom-color: var(--line); }
.nav.is-day .nav__links a { color: var(--text-2); }
.nav.is-day .nav__links a:hover { color: var(--ink); }
.show-sm { display: none; }
@media (max-width: 479px) { .hide-sm { display: none; } .show-sm { display: inline; } }

.wordmark { font: 600 21px/1 var(--f); letter-spacing: -0.045em; text-decoration: none; display: inline-flex; align-items: baseline; }
.wordmark__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); margin-left: 3px; }
.wordmark--small { font-size: 18px; }

/* ---------- Haut de page (noir) ---------- */
.hero { background: var(--black); color: var(--on-black); padding: 64px 0 56px; overflow: hidden; }
@media (min-width: 768px) { .hero { padding: 104px 0 80px; } }
.hero__inner { text-align: center; }
.hero__kick { color: var(--blue-soft); font-size: 17px; font-weight: 500; margin-bottom: 14px; }
.hero h1 {
  font: 600 clamp(42px, 7.4vw, 84px)/1.02 var(--f); letter-spacing: -0.048em;
  max-width: 15ch; margin: 0 auto; text-wrap: balance;
}
.hero__lead { max-width: 46ch; margin: 22px auto 0; font-size: clamp(18px, 2vw, 21px); line-height: 1.45; color: var(--on-black-2); }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: center; align-items: center; }
.hero__micro { max-width: 52ch; margin: 18px auto 0; font-size: 14px; color: var(--muted); }

/* Le flux : la signature */
.flow { margin: 56px auto 0; padding: 0 var(--gutter); max-width: 1020px; }
.flow svg { width: 100%; height: auto; display: block; overflow: visible; }
.flow .flow__tall { display: none; max-width: 380px; margin: 0 auto; }
@media (max-width: 640px) { .flow .flow__wide { display: none; } .flow .flow__tall { display: block; } }
.flow figcaption { margin-top: 22px; text-align: center; color: var(--muted); font-size: 14px; }
.wire { fill: none; stroke: var(--black-line); stroke-width: 1.5; }
.wire--you { stroke: rgba(47, 107, 255, 0.55); }
.node rect { fill: var(--black-2); stroke: var(--black-line); stroke-width: 1; }
.node text { fill: var(--on-black); font: 500 15px var(--f); }
.node .node__sm { font-size: 13px; fill: var(--on-black-2); }
.node .ico { fill: #fff; stroke: none; }
.node--you rect { fill: rgba(47, 107, 255, 0.12); stroke: var(--blue); }
.node--you circle { fill: var(--blue); }
.node--you .node__check { fill: #fff; font: 600 13px var(--f); }
.node--you .node__sm { fill: var(--on-black); }
.core rect { fill: var(--black); stroke: var(--blue); stroke-width: 1.5; }
.core .core__halo { fill: rgba(47, 107, 255, 0.45); stroke: none; animation: halo 3.2s ease-in-out infinite; }
.core__name { fill: var(--on-black); font: 600 21px var(--f); letter-spacing: -0.02em; }
.core__sub { fill: var(--on-black-2); font: 400 12px var(--f-mono); }
.flow__note { fill: var(--blue-soft); font: 400 13px var(--f-mono); }
.pkts circle { fill: var(--blue-soft); }
@keyframes halo { 0%, 100% { opacity: .35; } 50% { opacity: .85; } }

/* ---------- Bande des places ---------- */
.band { background: var(--alt); border-bottom: 1px solid var(--line); }
.band .wrap { padding-top: 18px; padding-bottom: 18px; text-align: center; }
.band p { font-size: 15px; color: var(--text-2); max-width: 88ch; margin: 0 auto; }
.band strong { color: var(--ink); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--alt { background: var(--alt); }
.head { max-width: 760px; margin-bottom: 44px; display: grid; gap: 14px; }
.head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section h2 { font: 600 clamp(32px, 5vw, 52px)/1.06 var(--f); letter-spacing: -0.04em; text-wrap: balance; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.45; color: var(--text-2); }
.section h3 { font: 600 20px/1.3 var(--f); letter-spacing: -0.015em; }

/* ---------- Ce qu'on construit : les cartes sombres (grille) ---------- */
.bento { display: grid; gap: 16px; }
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .tile:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1040px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .tile--wide { grid-column: span 3; }
  .tile:not(.tile--wide) { grid-column: span 2; }
  .bento .tile:last-child { grid-column: span 2; }
}
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--tile); color: var(--on-black); border-radius: 26px;
  display: flex; flex-direction: column; min-height: 400px;
}
.tile::before {
  content: ""; position: absolute; z-index: -1; inset: -30% 30% auto -20%; height: 75%;
  background: radial-gradient(closest-side, rgba(47, 107, 255, 0.22), transparent);
  filter: blur(10px);
}
.tile__text { padding: 0 26px 28px; display: grid; gap: 6px; }
.tile__kind { font-size: 14px; color: var(--on-black-2); }
.tile h3 { font-size: 21px; line-height: 1.3; color: var(--on-black); letter-spacing: -0.015em; }
.tile__built { font-size: 15px; color: var(--on-black-2); max-width: 46ch; }
.tile__built b { color: var(--blue-soft); font-weight: 500; }

.viz {
  margin: 22px 22px 22px; flex: 1; min-height: 180px; position: relative;
  border: 1px solid var(--tile-line); border-radius: 18px; padding: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  font-size: 14px;
}
.vhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 10px; color: #D1D1D6; font-weight: 500; margin-bottom: 8px; }
.pill { font: 400 13px var(--f-mono); white-space: nowrap; padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.12); color: var(--on-black-2); }
.pill--rule { color: var(--blue-soft); border-color: rgba(110, 155, 255, 0.35); }
.pill--wait { background: var(--blue); border-color: var(--blue); color: #fff; }
.pill--ok { color: var(--green); border-color: rgba(48, 209, 88, 0.4); }

/* Relances */
.rel li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 11px 6px; border-top: 1px solid var(--tile-line); border-radius: 10px; }
.rel__doc { color: var(--on-black); }
.rel__when { font: 400 13px var(--f-mono); color: var(--muted); }

/* Demandes entrantes */
.count { min-width: 22px; height: 22px; border-radius: 999px; background: var(--on-black); color: var(--black); font: 600 13px/22px var(--f); text-align: center; }
.stack { display: grid; gap: 8px; }
.note { display: flex; gap: 12px; align-items: center; background: var(--black-3); border: 1px solid var(--tile-line); border-radius: 14px; padding: 10px 12px; }
.note__ico { width: 34px; height: 34px; flex: none; border-radius: 9px; background: #fff; display: grid; place-items: center; }
.note__ico img { width: 20px; height: 20px; }
.note b { display: block; font-weight: 600; color: var(--on-black); }
.note small { display: block; font-size: 13px; color: var(--on-black-2); }

/* Tableau de bord */
.bars { display: flex; gap: 8px; align-items: flex-end; height: 120px; margin: 10px 2px 12px; }
.bars span { flex: 1; height: var(--h); border-radius: 7px; background: #2A2A2D; transform-origin: bottom; }
.bars .is-now { background: var(--blue); }
.bars span:nth-child(1) { --h: 42%; } .bars span:nth-child(2) { --h: 58%; } .bars span:nth-child(3) { --h: 51%; }
.bars span:nth-child(4) { --h: 73%; } .bars span:nth-child(5) { --h: 66%; } .bars span:nth-child(6) { --h: 88%; }
.dash__row { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--tile-line); color: var(--on-black-2); }
.dash__row span:last-child { color: var(--blue-soft); font-family: var(--f-mono); font-size: 13px; }

/* CRM */
.viz--crm { --colgap: 8px; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--colgap); height: 100%; }
.col { background: rgba(255,255,255,0.03); border: 1px solid var(--tile-line); border-radius: 12px; padding: 8px 6px; display: grid; gap: 6px; align-content: start; }
.col__t { font-size: 13px; color: var(--on-black-2); padding: 0 2px 2px; }
.col i { display: block; height: 30px; border-radius: 8px; background: var(--black-3); }
.mover {
  position: absolute; top: 50px; left: calc(14px + 6px);
  width: calc((100% - 28px - 2 * var(--colgap)) / 3 - 12px);
  background: var(--on-black); color: var(--ink); border-radius: 9px; padding: 6px 8px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.45);
}
.mover b { display: block; font-size: 13px; line-height: 1.2; }
.mover small { display: block; font-size: 12px; color: var(--text-2); line-height: 1.2; }

/* Outils connectés */
.viz--link { display: grid; place-items: center; }
.link__row { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 300px; }
.app { display: grid; justify-items: center; gap: 8px; flex: none; }
.app img { width: 64px; height: 64px; padding: 15px; border-radius: 18px; background: #fff; }
.app small { font-size: 13px; color: var(--on-black-2); }
.link__wire { flex: 1; height: 2px; position: relative; margin-bottom: 24px; background-image: linear-gradient(90deg, rgba(255,255,255,0.25) 50%, transparent 0); background-size: 8px 2px; }
.link__wire i { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--blue-soft); box-shadow: 0 0 12px var(--blue); }

/* Les vignettes ne bougent que quand on les voit */
@media (prefers-reduced-motion: no-preference) {
  .js .tile.is-on .rel li:first-child { animation: rowflash 3.6s var(--ease) infinite; }
  .js .tile.is-on .pill--wait { animation: pulse 1.8s ease-in-out infinite; }
  .js .tile .note { opacity: 0; transform: translateY(10px); }
  .js .tile.is-on .note { animation: notein 7.5s var(--ease) infinite; }
  .js .tile.is-on .note:nth-child(2) { animation-delay: .6s; }
  .js .tile.is-on .note:nth-child(3) { animation-delay: 1.2s; }
  .js .tile .bars span { transform: scaleY(.15); }
  .js .tile.is-on .bars span { transform: none; transition: transform 1s var(--ease); }
  .js .tile.is-on .bars span:nth-child(2) { transition-delay: .08s; } .js .tile.is-on .bars span:nth-child(3) { transition-delay: .16s; }
  .js .tile.is-on .bars span:nth-child(4) { transition-delay: .24s; } .js .tile.is-on .bars span:nth-child(5) { transition-delay: .32s; }
  .js .tile.is-on .bars span:nth-child(6) { transition-delay: .4s; }
  .js .tile.is-on .mover { animation: move 6s var(--ease) infinite; }
  .js .tile.is-on .link__wire i { animation: travel 2.4s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .mover { transform: translateX(calc(200% + 40px)); }
  .core .core__halo { animation: none; }
}
@keyframes rowflash { 0%, 100% { background: transparent; } 20%, 55% { background: rgba(47, 107, 255, 0.12); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(47, 107, 255, 0.5); } 50% { box-shadow: 0 0 0 6px rgba(47, 107, 255, 0); } }
@keyframes notein { 0% { opacity: 0; transform: translateY(10px); } 8%, 86% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes move {
  0% { transform: translateX(0); opacity: 0; }
  5%, 14% { transform: translateX(0); opacity: 1; }
  32%, 48% { transform: translateX(calc(100% + 20px)); opacity: 1; }
  66%, 88% { transform: translateX(calc(200% + 40px)); opacity: 1; }
  94% { transform: translateX(calc(200% + 40px)); opacity: 0; }
  95%, 100% { transform: translateX(0); opacity: 0; }
}
@keyframes travel { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }

/* ---------- La bande d'outils (étape « La construction ») ---------- */
.marquee { display: grid; gap: 14px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; }
.marquee__track span { width: 60px; height: 60px; flex: none; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.marquee__track img { width: 30px; height: 30px; }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 48s linear infinite; }
  .marquee__track--rev { animation-direction: reverse; animation-duration: 54s; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Comment ça se passe : les étapes à gauche, ce que vous recevez à droite ---------- */
.process { display: grid; gap: 20px; }
@media (min-width: 960px) { .process { grid-template-columns: 5fr 7fr; gap: 28px; align-items: stretch; } }
.process__steps { display: grid; gap: 8px; align-content: start; }
.pstep {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 18px; border-radius: 20px; background: transparent; transition: background-color .25s var(--ease);
}
.pstep { position: relative; }
.pstep:hover { background: rgba(0, 0, 0, 0.035); }
.pstep__bar { position: absolute; left: 68px; right: 22px; bottom: 10px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; display: none; }
.pstep__bar i { display: block; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.process.is-auto .pstep.is-active .pstep__bar { display: block; }
.process.is-auto .pstep.is-active .pstep__bar i { animation: stepfill var(--dur, 10s) linear forwards; }
.process.is-hover .pstep__bar i, .process.is-off .pstep__bar i { animation-play-state: paused !important; }
@keyframes stepfill { to { transform: scaleX(1); } }
.pstep:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.pstep.is-active { padding-bottom: 26px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.05); }
.pstep__n { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 600 15px var(--f); color: var(--ink); border: 1.5px solid #C7C7CC; transition: all .25s var(--ease); }
.pstep.is-active .pstep__n { background: var(--ink); border-color: var(--ink); color: #fff; }
.pstep__body { display: grid; gap: 3px; }
.pstep__when { font-size: 14px; color: var(--blue); font-weight: 500; }
.pstep b { font: 600 19px/1.3 var(--f); letter-spacing: -0.015em; color: var(--ink); }
.pstep__text { font-size: 15px; color: var(--text-2); line-height: 1.5; display: none; }
.pstep.is-active .pstep__text { display: block; }
.process__panels { position: relative; background: #fff; border-radius: 28px; padding: 28px; display: grid; place-items: center; min-height: 420px; }
@media (max-width: 959px) { .process__panels { padding: 18px; min-height: 0; } }
.ppanel { width: 100%; max-width: 520px; }
.ppanel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .ppanel.is-active { animation: panelin .45s var(--ease); } }
@keyframes panelin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.sheet { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 18px 40px rgba(0,0,0,.07); }
.sheet__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sheet__head b { font: 600 18px var(--f); }
.tag { font: 400 13px var(--f-mono); color: var(--text-2); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; }
.sheet__sub { font-size: 14px; color: var(--muted); margin-top: 4px; }
.pistes { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: p; }
.pistes li, .month li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.pistes li span::before { counter-increment: p; content: counter(p) ". "; color: var(--muted); }
.pistes b, .month b { font-weight: 600; white-space: nowrap; }
.month { margin: 14px 0 0; }
.sheet__total { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(47,107,255,.08); display: flex; justify-content: space-between; gap: 14px; align-items: baseline; flex-wrap: wrap; }
.sheet__total span { font-size: 14px; color: var(--text-2); }
.sheet__total b { color: var(--blue); font-weight: 600; }
.sheet__note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.prop { margin: 16px 0 0; display: grid; }
.prop div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.prop dt { color: var(--muted); }
.prop dd { margin: 0; font-weight: 500; }
@media (max-width: 480px) { .prop div { grid-template-columns: 1fr; gap: 2px; } }
.checks { margin: 14px 0 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.checks li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/14px no-repeat; }
.sheet--tools .marquee { margin-top: 16px; }

/* ---------- Vous gardez la main ---------- */
.trio { display: grid; gap: 16px; }
@media (min-width: 900px) { .trio { grid-template-columns: repeat(3, 1fr); } }
.trio__item { background: var(--alt); border-radius: 26px; padding: 30px 26px; display: grid; gap: 10px; align-content: start; }
.trio__ico { width: 46px; height: 46px; border-radius: 50%; background: rgba(47, 107, 255, 0.1); display: grid; place-items: center; margin-bottom: 6px; }
.trio__ico svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trio__item p { color: var(--text-2); font-size: 16px; }
.guarantees { margin-top: 16px; background: var(--alt); border-radius: 26px; padding: 34px 26px; }
@media (min-width: 768px) { .guarantees { padding: 44px 44px 48px; } }
.guarantees__title { font-size: clamp(26px, 3.4vw, 34px) !important; margin-bottom: 26px; }
.guarantees__grid { display: grid; gap: 24px; }
@media (min-width: 900px) {
  .guarantees__grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .g { padding: 0 30px; border-left: 1px solid var(--line); }
  .g:first-child { padding-left: 0; border-left: 0; }
}
.g { display: grid; gap: 8px; align-content: start; }
.g p { color: var(--text-2); font-size: 16px; }

/* ---------- Qui est derrière ---------- */
.who { max-width: 760px; text-align: center; display: grid; gap: 18px; }
.who h2 { margin-bottom: 6px; }
.who p { font-size: 19px; color: var(--text-2); }
.who .who__first { color: var(--ink); }
.who__mail a { color: var(--blue); text-decoration: none; }
.who__mail a:hover { text-decoration: underline; }

/* ---------- Questions ---------- */
.faq { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq { grid-template-columns: 4fr 8fr; gap: 64px; } }
.faq__list { border-top: 1px solid #D2D2D7; }
.faq details { border-bottom: 1px solid #D2D2D7; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 600 18px/1.4 var(--f); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 300 28px/1 var(--f); color: var(--text-2); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 44px 24px 0; color: var(--text-2); max-width: 64ch; }

/* ---------- Diagnostic ---------- */
.diag { max-width: 720px; margin: 0 auto; background: #fff; border-radius: 28px; padding: 28px 24px 26px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
@media (min-width: 768px) { .diag { padding: 36px 40px 34px; } }
.diag__top { display: grid; gap: 10px; margin-bottom: 22px; }
.diag__count { font-size: 14px; color: var(--muted); }
.diag__count b { color: var(--ink); font-weight: 600; }
.diag__bar { height: 4px; border-radius: 4px; background: var(--alt); overflow: hidden; }
.diag__bar i { display: block; height: 100%; width: 20%; background: var(--ink); border-radius: 4px; transition: width .4s var(--ease); }
.dq { border: 0; margin: 0; padding: 0; min-width: 0; }
.dq[hidden] { display: none; }
.dq legend { font: 600 22px/1.3 var(--f); letter-spacing: -0.02em; padding: 0; margin-bottom: 16px; }
.dq__hint { font-size: 15px; color: var(--text-2); margin: -8px 0 16px; }
.opts { display: grid; gap: 10px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: block; padding: 15px 18px; border-radius: 16px; border: 1.5px solid var(--line); font-size: 16px; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.opt:hover span { border-color: #C7C7CC; }
.opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.opt input:checked + span { border-color: var(--blue); background: rgba(47,107,255,.06); font-weight: 500; }
.range { display: grid; gap: 14px; padding: 6px 2px 4px; }
.range input { width: 100%; accent-color: var(--blue); height: 28px; }
.range output { font: 600 28px var(--f); letter-spacing: -0.03em; }
.diag__error { margin-top: 12px; font-size: 14px; color: #C0392B; }
.diag__nav { display: flex; justify-content: space-between; margin-top: 24px; gap: 12px; }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { background: var(--alt); }
.btn--ghost[disabled] { visibility: hidden; }
.diag__result[hidden] { display: none; }
.diag__result { display: grid; gap: 16px; }
.diag__result:focus { outline: none; }
.res__big { background: var(--black); color: var(--on-black); border-radius: 20px; padding: 22px 24px; display: grid; gap: 4px; }
.res__big span { font-size: 14px; color: var(--on-black-2); }
.res__big b { font: 600 clamp(34px, 6vw, 46px)/1.05 var(--f); letter-spacing: -0.04em; color: var(--blue-soft); }
.res__big small { font-size: 14px; color: var(--on-black-2); }
.res__calc { font-size: 15px; color: var(--text-2); }
.res__cols { display: grid; gap: 10px; }
@media (min-width: 600px) { .res__cols { grid-template-columns: 1fr 1fr; } }
.res__cols div { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: grid; gap: 4px; }
.res__cols span { font-size: 13px; color: var(--muted); }
.res__cols b { font-weight: 600; font-size: 16px; }
.res__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.res__note { font-size: 14px; color: var(--muted); }

/* ---------- Appel final (noir) ---------- */
.cta { background: var(--black); color: var(--on-black); padding: var(--section) 0; }
.cta__inner { text-align: center; display: grid; gap: 20px; justify-items: center; }
.cta h2 { font: 600 clamp(38px, 6.4vw, 72px)/1.03 var(--f); letter-spacing: -0.048em; max-width: 14ch; text-wrap: balance; }
.cta__inner > p { max-width: 50ch; font-size: clamp(18px, 2vw, 21px); color: var(--on-black-2); line-height: 1.45; }
.booking { display: grid; gap: 14px; justify-items: center; margin-top: 10px; width: 100%; }
.booking__note { font-size: 14px; color: var(--muted); max-width: 44ch; }
.booking--cal { max-width: 1040px; background: #fff; border-radius: 24px; padding: 6px; min-height: 560px; overflow: hidden; }
.booking--cal #cal-inline { width: 100%; min-height: 548px; overflow: auto; }
.cta__mail { font-size: 14px; color: var(--muted); }
.cta__mail a { color: var(--blue-soft); text-decoration: none; }
.cta__mail a:hover { text-decoration: underline; }

/* ---------- Pied de page ---------- */
.foot { background: var(--black); color: var(--muted); border-top: 1px solid var(--black-line); }
.foot__inner { display: grid; gap: 10px; padding-top: 30px; padding-bottom: 38px; font-size: 14px; }
.foot .wordmark { color: var(--on-black); }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot__links a { text-decoration: none; }
.foot__links a:hover { color: var(--on-black); }
@media (min-width: 900px) { .foot__inner { grid-template-columns: auto 1fr auto auto; align-items: center; gap: 32px; } }

/* ---------- Page mentions légales ---------- */
.legal { padding: 56px 0 96px; }
.legal h1 { font: 600 clamp(32px, 5vw, 46px)/1.08 var(--f); letter-spacing: -0.04em; margin-bottom: 32px; }
.legal h2 { font: 600 22px/1.3 var(--f); margin: 36px 0 10px; }
.legal p { color: var(--text-2); max-width: 70ch; margin-bottom: 10px; }
.legal .todo { background: #FFF4D6; color: var(--ink); padding: 0 4px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
