/* Immodrim — feuille de style (thème « glacial »). Aucune dépendance externe : polices système. */
:root {
  --brand: #4b3be0;
  --brand-dark: #2e2394;
  --brand-soft: #eef4ff;
  --brand-line: #d5e4fb;
  --ice-50: #f4f9ff;
  --ice-100: #e6f1ff;
  --ice-200: #cfe5ff;
  --frost: #7fd6ff;
  --ink: #14122b;
  --muted: #2d3158;
  --white: #fff;
  --ok: #0b7a4b;
  --err: #b42318;
  --radius: 22px;
  --glass: rgba(255, 255, 255, .62);
  --glass-line: rgba(255, 255, 255, .85);
  --shadow: 0 14px 40px rgba(46, 35, 148, .16);
  --shadow-soft: 0 8px 30px rgba(46, 35, 148, .08);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--ice-50) 0%, #fff 38%);
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .6em; letter-spacing: -.025em; }
h1 { font-size: clamp(2.1rem, 6.4vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid #ffb547; outline-offset: 3px; border-radius: 4px; }
.container { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 1rem; color: #fff; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-dark); background: var(--glass); border: 1px solid var(--glass-line);
  padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1rem; box-shadow: var(--shadow-soft);
}

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  padding: .9rem 1.6rem; border-radius: 999px; border: 2px solid transparent; min-height: 48px;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, #5b4bf0, #3a2ed0 60%, #2f7bf0); color: #fff; box-shadow: 0 10px 26px rgba(75, 59, 224, .35); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 32px rgba(75, 59, 224, .45); }
.btn-ghost { background: var(--glass); color: var(--brand-dark); border-color: rgba(75, 59, 224, .45); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: #fff; color: var(--brand-dark); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: var(--ice-100); color: var(--brand-dark); }

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(244, 249, 255, .8);
  backdrop-filter: blur(16px) saturate(150%); border-bottom: 1px solid var(--glass-line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; }
.logo img { display: block; height: 36px; width: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.logo span em { color: var(--brand); font-style: normal; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: var(--glass); border: 1px solid var(--glass-line); border-radius: 14px; cursor: pointer; color: var(--brand-dark); }
.main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: rgba(255, 255, 255, .96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--brand-line); padding: 1rem; }
.main-nav.open { display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.main-nav a { display: block; padding: .8rem 1rem; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 600; }
.main-nav a:hover { background: var(--ice-100); }
.header-cta { display: none; }

/* Hero */
.hero {
  position: relative; padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 5rem); overflow: hidden;
  background:
    radial-gradient(55% 55% at 88% 8%, rgba(127, 214, 255, .6), transparent 70%),
    radial-gradient(45% 50% at 6% 22%, rgba(160, 150, 255, .38), transparent 70%),
    radial-gradient(40% 40% at 50% 100%, rgba(207, 229, 255, .8), transparent 70%),
    linear-gradient(180deg, #e8f3ff, #f7fbff);
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; position: relative; }
.hero p.lead { font-size: 1.2rem; font-weight: 500; color: var(--ink); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.5rem 0; }
.hero-points { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .5rem; color: var(--ink); font-weight: 700; }
.hero-points li::before { content: "✓"; color: var(--brand); font-weight: 800; margin-right: .6rem; }
.hero-visual { position: relative; max-width: 480px; margin-inline: auto; width: 100%; padding: 1rem 0 1.5rem; }
.glass-frame {
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: 32px; padding: 1rem;
  backdrop-filter: blur(18px) saturate(150%); box-shadow: var(--shadow), inset 0 1px 0 #fff;
}
.glass-frame svg { display: block; width: 100%; border-radius: 22px; }
.chip-float {
  position: absolute; background: rgba(255, 255, 255, .82); border: 1px solid #fff; border-radius: 999px;
  padding: .5rem .95rem; font-size: .85rem; font-weight: 700; color: var(--brand-dark);
  backdrop-filter: blur(12px); box-shadow: var(--shadow); animation: float 6s ease-in-out infinite;
}
.chip-float.c1 { top: 0; left: -2%; }
.chip-float.c2 { top: 46%; right: -3%; animation-delay: -2s; }
.chip-float.c3 { bottom: 0; left: 8%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Bandeau de logos défilant */
.logos { padding: 2rem 0 2.2rem; background: #fff; border-block: 1px solid var(--brand-line); }
.logos-title { text-align: center; margin: 0 0 1.2rem; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: scroll 36s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.logo-list { display: flex; align-items: center; gap: 3.5rem; list-style: none; margin: 0; padding: 0 1.75rem; }
.logo-list img { display: block; height: 48px; width: auto; mix-blend-mode: multiply; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logo-list img:hover { filter: none; opacity: 1; }
.logo-slot { display: inline-flex; align-items: center; height: 40px; padding: 0 1.4rem; border-radius: 999px; background: var(--ice-100); color: #6a7396; font-weight: 700; font-size: .9rem; white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
section.logos { padding: 2rem 0 2.2rem; }
.section-head { max-width: 42rem; margin-bottom: 2.5rem; }
.section-head p { color: var(--ink); font-size: 1.12rem; font-weight: 500; }
.alt { background: linear-gradient(180deg, var(--ice-50), var(--ice-100)); }
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius); padding: 1.7rem;
  display: flex; flex-direction: column; gap: .4rem; backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, .9);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow), inset 0 1px 0 #fff; }
.card .icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: .6rem; color: #fff;
  background: linear-gradient(135deg, #7fd6ff, #4b3be0); box-shadow: 0 8px 18px rgba(75, 59, 224, .3);
}
.card p { color: var(--muted); margin: 0; }
.card .btn { margin-top: auto; align-self: flex-start; }
.card .btn-ghost { margin-top: 1rem; }
@supports not (backdrop-filter: blur(1px)) {
  .card, .glass-frame, .btn-ghost, .eyebrow { background: #fff; }
}

/* Étapes */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.steps li {
  counter-increment: step; position: relative; padding: 4.2rem 1.5rem 1.5rem; border-radius: var(--radius);
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow-soft); backdrop-filter: blur(14px);
}
.steps li::before {
  content: counter(step); position: absolute; top: 1.2rem; left: 1.5rem; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: linear-gradient(135deg, #7fd6ff, #4b3be0); color: #fff; font-weight: 800; display: grid; place-items: center;
}
.steps p { color: var(--muted); margin: 0; }

/* Vendre */
.split { display: grid; gap: 2rem; align-items: center; }
.panel {
  position: relative; overflow: hidden; color: #fff; border-radius: 28px; padding: 2.2rem;
  background: radial-gradient(70% 90% at 100% 0%, rgba(127, 214, 255, .55), transparent 70%), linear-gradient(135deg, #2e2394, #4b3be0);
  box-shadow: var(--shadow);
}
.panel h3 { color: #fff; font-size: 1.5rem; }
.panel p { color: #e3e8ff; }
.badge { display: inline-block; background: #ffb547; color: #3b2600; font-weight: 800; font-size: .8rem; padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1rem; }

/* FAQ */
.faq { max-width: 52rem; }
.faq details { border: 1px solid var(--glass-line); border-radius: 16px; background: var(--glass); box-shadow: var(--shadow-soft); margin-bottom: .8rem; backdrop-filter: blur(12px); }
.faq summary { cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--brand); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 1.3rem 1.2rem; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* Contact */
.contact {
  color: #fff;
  background: radial-gradient(50% 60% at 90% 0%, rgba(127, 214, 255, .45), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(110, 90, 255, .5), transparent 70%), linear-gradient(135deg, #2e2394, #4b3be0);
}
.contact .eyebrow { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); color: #fff; box-shadow: none; }
.contact h2 { color: #fff; }
.contact-grid { display: grid; gap: 2rem; align-items: start; }
.contact p { color: #ecefff; }
.form-card { background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 26px; padding: 1.7rem; box-shadow: 0 20px 50px rgba(10, 8, 60, .35); }
.form-row { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-weight: 700; font-size: .95rem; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); width: 100%; padding: .8rem .9rem; border-radius: 12px; border: 2px solid #c6d6ef; background: #fff; min-height: 48px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: 3px solid #cfe5ff; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.consent input { width: 22px; height: 22px; margin-top: .15rem; flex: none; accent-color: var(--brand); }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.form-status { margin-top: 1rem; font-weight: 700; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.form-card .btn { width: 100%; }

/* Pied de page */
.site-footer { background: #0f1030; color: #c4c8e6; padding: 3rem 0 2rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 2rem; margin-bottom: 2rem; }
.site-footer h2 { font-size: 1rem; color: #fff; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer button.linklike { background: none; border: 0; padding: 0; font: inherit; color: #fff; text-decoration: underline; cursor: pointer; }
.footer-logo { color: #fff; margin: 0 0 .8rem; }
.footer-logo em { color: #9fd8ff; font-style: normal; }
.legal-note { border-top: 1px solid #2c2e5c; padding-top: 1.5rem; font-size: .85rem; color: #a3a8d2; }

/* Bannière cookies */
.cookie-banner { position: fixed; inset: auto 0 0 0; z-index: 200; background: #fff; border-top: 3px solid var(--brand); box-shadow: 0 -10px 30px rgba(20, 18, 43, .18); padding: 1.2rem 0; max-height: 92vh; overflow: auto; }
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.1rem; margin-bottom: .4rem; }
.cookie-banner p { margin-bottom: .8rem; color: var(--muted); font-size: .95rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-actions .btn { flex: 1 1 150px; padding: .75rem 1rem; }
.cookie-prefs { margin: 1rem 0; display: grid; gap: .8rem; }
.cookie-prefs[hidden] { display: none; }
.pref { border: 1px solid var(--brand-line); border-radius: 14px; padding: .9rem 1rem; }
.pref label { display: flex; gap: .7rem; align-items: flex-start; font-weight: 700; }
.pref input { width: 22px; height: 22px; accent-color: var(--brand); flex: none; }
.pref small { display: block; font-weight: 400; color: var(--muted); }

/* Pages légales */
.legal { padding: 2.5rem 0 4rem; max-width: 50rem; }
.legal h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; margin-bottom: 1rem; }
.legal th, .legal td { text-align: left; border: 1px solid var(--brand-line); padding: .6rem .7rem; vertical-align: top; }
.legal th { background: var(--ice-100); }
.todo { background: #fff2cc; color: #5c3b00; padding: .05rem .35rem; border-radius: 4px; }
.error-page { min-height: 60vh; display: grid; place-content: center; text-align: center; padding: 3rem 1rem; }

/* Photos, fondateur, chiffres */
.glass-frame .hero-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 22px; }
.card-media { margin: -1.7rem -1.7rem 1rem; height: 190px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.card-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.founder { display: grid; gap: 2rem; align-items: center; }
.founder-photo { width: min(100%, 360px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 32px; box-shadow: var(--shadow); border: 6px solid rgba(255, 255, 255, .85); margin-inline: auto; }
.founder .quote { font-size: 1.2rem; line-height: 1.55; color: var(--ink); }
.founder .signature { color: var(--muted); }
.press { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--brand-dark); font-weight: 700; background: var(--glass); border: 1px solid var(--glass-line); border-radius: 16px; padding: .6rem 1rem .6rem .6rem; box-shadow: var(--shadow-soft); }
.press img { border-radius: 10px; }
.stats { padding: 0; margin-top: clamp(-2rem, -3vw, -1rem); }
.stats-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); padding: clamp(2rem, 5vw, 3.5rem) 0 0; }
.stat { background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius); padding: 1.2rem 1.4rem; box-shadow: var(--shadow-soft); backdrop-filter: blur(14px); }
.stat strong { display: block; font-size: 2.2rem; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: var(--brand); }
.stat span { color: var(--muted); font-size: .95rem; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.mini-stats .stat strong { font-size: 1.8rem; }
.address { font-style: normal; color: #ecefff; margin-top: 1rem; }
.footer-logo-img { display: block; margin-bottom: 1rem; }

/* Pages de service */
.card .text-link { font-weight: 700; text-decoration: none; margin-top: .6rem; }
.card .text-link:hover { text-decoration: underline; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: #9aa1c7; }
.breadcrumb a { color: var(--brand-dark); }
.glass-frame img.page-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; border-radius: 22px; }
.page-visual { max-width: 400px; margin-inline: auto; width: 100%; }
.checks { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .6rem; }
.checks li { padding-left: 1.8rem; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.callout { background: var(--glass); border: 1px solid var(--glass-line); border-left: 6px solid var(--brand); border-radius: var(--radius); padding: 1.6rem 1.8rem; box-shadow: var(--shadow-soft); backdrop-filter: blur(14px); max-width: 52rem; }
.callout h3 { margin-bottom: .6rem; }
.prose { max-width: 46rem; }
.prose p { color: var(--muted); font-size: 1.05rem; }
.note-small { font-size: .85rem; color: var(--muted); margin-top: 1.2rem; }

/* Apparition douce au scroll (activée uniquement si JS actif) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; gap: 1rem; } }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .main-nav { display: block !important; position: static; border: 0; padding: 0; background: none; backdrop-filter: none; }
  .main-nav ul { display: flex; gap: .2rem; }
  .main-nav a { padding: .6rem .8rem; font-size: .95rem; }
  .header-cta { display: inline-flex; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .founder { grid-template-columns: .8fr 1.2fr; gap: 3.5rem; }
  .split { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 3.5rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
  .chip-float { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; justify-content: center; }
  .marquee-track .logo-list { flex-wrap: wrap; justify-content: center; }
  .marquee-track .logo-list[aria-hidden="true"] { display: none; }
}
.legal .meta { color: var(--muted, #5b5f86); font-size: .9rem; margin-top: 2rem; }
.legal code { font-size: .88em; background: var(--ice-100); padding: .05rem .3rem; border-radius: .25rem; }
.legal .table-wrap { overflow-x: auto; }

/* ===== Simulateur d'estimation ===== */
.estim-card fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.estim-card legend { font-weight: 800; font-size: 1.15rem; color: var(--brand-dark); margin-bottom: 1rem; padding: 0; }
.estim-progress { list-style: none; display: flex; gap: .4rem; padding: 0; margin: 0 0 1.4rem; font-size: .8rem; font-weight: 700; color: var(--muted); }
.estim-progress li { flex: 1; border-top: 4px solid #d5def0; padding-top: .4rem; }
.estim-progress li.is-current, .estim-progress li.is-done { border-top-color: var(--brand); color: var(--brand-dark); }
.estim-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.estim-thanks h2 { font-size: 1.5rem; }
.estim-thanks:focus { outline: none; }
.js .estim-step { display: none; }
.js .estim-step.is-active { display: block; }
.estim-card .field.invalid input, .estim-card .field.invalid select { border-color: var(--err); }

/* ===== Typographie Figtree (auto-hébergée) ===== */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/figtree-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/figtree-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/figtree-latin-900-normal.woff2") format("woff2"); }
h1, h2, h3 { font-family: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); font-weight: 900; line-height: 1.05; letter-spacing: -.04em; }
h2 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.hero-home h1 { font-size: clamp(2.9rem, 5.4vw, 5.1rem); }
.contact h2, .section-head h2 { text-wrap: balance; }

/* ===== Hero : vidéo en fond + mot qui défile ===== */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247, 251, 255, .93), rgba(247, 251, 255, .7) 55%, rgba(247, 251, 255, .25)); }
.rotator { display: grid; margin-top: .05em; }
.rotator > .sr-only { grid-area: 1 / 1; }
.rot-words { display: grid; grid-area: 1 / 1; }
.rot-words > span {
  grid-area: 1 / 1; opacity: 0; transform: translateY(60%);
  color: var(--brand);
  background: linear-gradient(100deg, #4b3be0, #2f7bf0 60%, #7fd6ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: rot-word 12s infinite;
}
.rot-words > span:nth-child(1) { animation-delay: 0s; }
.rot-words > span:nth-child(2) { animation-delay: 3s; }
.rot-words > span:nth-child(3) { animation-delay: 6s; }
.rot-words > span:nth-child(4) { animation-delay: 9s; }
@keyframes rot-word {
  0% { opacity: 0; transform: translateY(60%); }
  4%, 22% { opacity: 1; transform: translateY(0); }
  26%, 100% { opacity: 0; transform: translateY(-60%); }
}
@media (prefers-reduced-motion: reduce) {
  .rot-words > span { animation: none; }
  .rot-words > span:nth-child(1) { opacity: 1; transform: none; }
}

/* Lisibilité : textes plus foncés */
.card p, .steps p, .stat span, .faq .answer, .prose p { color: var(--muted); }
.card h3, .steps h3 { color: var(--ink); }
.stat span { font-weight: 500; }

.site-version { display: block; margin-top: .6rem; font-size: .72rem; opacity: .6; letter-spacing: .02em; }

/* ===== Accueil : mouvement au scroll ===== */
.home { overflow-x: clip; }
.home .hero-bg .hero-video { transform: translate3d(0, var(--hy, 0px), 0) scale(1.12); will-change: transform; }

/* Projets : trois grandes tuiles côte à côte */
.projects { padding-bottom: clamp(4rem, 9vw, 7rem); }
.tiles { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); align-items: start; }
.tile { position: relative; overflow: hidden; border-radius: 28px; min-height: 460px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; box-shadow: var(--shadow); }
.tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: translate3d(0, var(--py, 0px), 0) scale(1.18); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 18, 43, 0) 25%, rgba(20, 18, 43, .55) 62%, rgba(20, 18, 43, .92)); }
.tile-body { padding: 1.8rem; display: grid; gap: .5rem; }
.tile h3 { font-size: 1.7rem; font-weight: 800; color: #fff; margin: 0; }
.tile p { margin: 0 0 .6rem; color: #fff; font-weight: 500; }
.tile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; }
.tile-link { color: #fff; font-weight: 700; text-underline-offset: 4px; }
.tile-link:hover { color: var(--frost); }
@media (min-width: 900px) {
  .tile { min-height: 540px; }
}

/* Chiffres : bande sombre */
.band { position: relative; overflow: hidden; color: #fff; padding: clamp(3.5rem, 8vw, 6rem) 0; background: linear-gradient(160deg, #14122b 0%, #2e2394 75%, #4b3be0 140%); }
.band-grid { position: relative; display: grid; gap: 2.2rem 2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.band-stat strong { display: block; font: 900 clamp(2.8rem, 6.4vw, 4.8rem)/1 "Figtree", system-ui, sans-serif; letter-spacing: -.04em; color: #fff; font-variant-numeric: tabular-nums; }
.band-stat > span { display: block; margin-top: .7rem; max-width: 17rem; color: #e6ecff; font-weight: 500; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; transform: translate3d(0, var(--py, 0px), 0); }
.orb-a { width: 380px; height: 380px; right: -80px; top: -120px; background: #7fd6ff; }
.orb-b { width: 320px; height: 320px; left: -100px; bottom: -140px; background: #5b4bf0; }

/* Pourquoi le neuf : cartes qui s'empilent */
.why { padding-block: clamp(4rem, 9vw, 7rem); }
.why-grid { display: grid; gap: 2rem; align-items: start; }
.why-head h2 { margin-bottom: .6em; }
.why-head p { color: var(--ink); font-size: 1.12rem; font-weight: 500; }
.why-stack { display: grid; gap: 1.5rem; padding-bottom: 2rem; }
.why-card {
  position: sticky; top: calc(5.5rem + var(--i) * 3.2rem); min-height: 15rem; padding: 1.4rem 2rem 2rem; border-radius: 28px;
  display: flex; flex-direction: column; justify-content: flex-start; gap: .5rem; overflow: hidden; isolation: isolate;
  transform: scale(var(--s, 1)); transform-origin: 50% 0; box-shadow: var(--shadow);
}
.why-card h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin: 0; }
.why-card p { margin: 0; max-width: 28rem; font-size: 1.05rem; font-weight: 500; }
.why-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -60px; top: -70px; border-radius: 50%; z-index: -1; opacity: .5; background: radial-gradient(circle, currentColor, transparent 68%); }
.tone-white { background: #fff; color: var(--ink); } .tone-white::after { color: var(--ice-200); }
.tone-violet { background: linear-gradient(135deg, #4b3be0, #2e2394); color: #fff; } .tone-violet::after { color: var(--frost); }
.tone-ice { background: var(--ice-200); color: var(--ink); } .tone-ice::after { color: #fff; }
.tone-ink { background: var(--ink); color: #fff; } .tone-ink::after { color: #5b4bf0; }
.tone-frost { background: linear-gradient(135deg, #7fd6ff, #cfe5ff); color: var(--ink); } .tone-frost::after { color: #fff; }
@media (min-width: 900px) {
  .why-grid { grid-template-columns: 1fr 1.15fr; gap: 4rem; }
  .why-head { position: sticky; top: 7rem; }
}

/* Accompagnement : ligne de temps qui se dessine */
.journey .section-head { margin-bottom: 3rem; }
.timeline { --p: 0; list-style: none; counter-reset: step; margin: 0; padding: 0 0 0 3.6rem; display: grid; gap: 3rem; position: relative; max-width: 46rem; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 1.2rem; top: .5rem; bottom: .5rem; width: 4px; border-radius: 4px; }
.timeline::before { background: var(--brand-line); }
.timeline::after { background: linear-gradient(180deg, var(--frost), var(--brand)); transform-origin: top; transform: scaleY(var(--p)); }
.timeline li { counter-increment: step; position: relative; }
.timeline li::before {
  content: counter(step); position: absolute; left: -3.6rem; top: -.2rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; z-index: 1;
  display: grid; place-items: center; font-weight: 800; background: #fff; color: var(--brand-dark); border: 3px solid var(--brand-line); transition: background .35s, color .35s, border-color .35s, transform .35s;
}
.timeline li.on::before { background: var(--brand); color: #fff; border-color: var(--brand); transform: scale(1.12); }
.timeline h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; margin: 0 0 .3rem; }
.timeline p { margin: 0; font-size: 1.08rem; color: var(--muted); font-weight: 500; }

/* Fondateur : la citation se révèle mot à mot */
.founder .quote { font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.4; font-weight: 700; font-family: "Figtree", system-ui, sans-serif; letter-spacing: -.01em; }
.js-words .w { color: #b9c6e6; transition: color .25s linear; }
.js-words .w.on { color: var(--ink); }

/* Titres de section : apparition par masque */
.js .section-head h2, .js .why-head h2 { clip-path: inset(0 0 100% 0); transform: translateY(.5em); transition: clip-path .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .section-head.in h2, .js .why-head.in h2 { clip-path: inset(0 0 -20% 0); transform: none; }

@media (prefers-reduced-motion: reduce) {
  .home .hero-bg .hero-video, .tile-img, .orb { transform: none; }
  .tile-img { transform: scale(1.05); }
  .why-card { transform: none; }
  .js .section-head h2, .js .why-head h2 { clip-path: none; transform: none; transition: none; }
}

/* Avis clients : carrousel */
.reviews { background: linear-gradient(180deg, #fff, var(--ice-50)); overflow: hidden; }
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; max-width: none; }
.reviews-head h2 { margin: 0; max-width: 34rem; }
.review-nav { display: flex; gap: .6rem; flex-shrink: 0; }
.review-btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--brand); background: #fff; color: var(--brand); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.review-btn:hover { background: var(--brand); color: #fff; }
.review-track { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .4rem .2rem 2rem; scrollbar-width: none; align-items: flex-start; }
.review-track::-webkit-scrollbar { display: none; }
.review { flex: 0 0 min(86%, 24rem); scroll-snap-align: start; background: #fff; border: 1px solid var(--brand-line); border-radius: 24px; padding: 1.6rem; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: .6rem; }
.review-stars { margin: 0; color: #f5a524; letter-spacing: .15em; font-size: 1.05rem; }
.review h3 { font-size: 1.25rem; font-weight: 800; margin: 0; color: var(--ink); }
.review-text { margin: 0; color: var(--muted); font-weight: 500; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review.open .review-text { display: block; -webkit-line-clamp: unset; }
.review-more { align-self: flex-start; background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.review footer { display: flex; align-items: center; gap: .8rem; margin-top: .6rem; padding-top: 1rem; border-top: 1px solid var(--brand-line); color: var(--muted); font-size: .95rem; line-height: 1.35; }
.review footer strong { color: var(--ink); }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--frost), var(--brand)); }
@media (min-width: 900px) { .review { flex-basis: calc((100% - 2.5rem) / 3); } }
@media (max-width: 560px) { .reviews-head { align-items: flex-start; flex-direction: column; } }

/* Avis : flèches latérales + points */
.review-hint { margin: 0; color: var(--muted); font-weight: 700; flex-shrink: 0; }
.review-wrap { position: relative; }
.review-side { position: absolute; top: 42%; z-index: 3; transform: translateY(-50%); box-shadow: 0 8px 22px rgba(30, 40, 120, .22); }
.review-side-prev { left: -8px; }
.review-side-next { right: -8px; }
@media (min-width: 1200px) { .review-side-prev { left: -24px; } .review-side-next { right: -24px; } }
.reviews { overflow: hidden; }
.reviews .container { overflow: visible; }
.review-dots { display: flex; justify-content: center; gap: .55rem; margin-top: -.6rem; }
.review-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: var(--brand-line); cursor: pointer; transition: background .2s, transform .2s; }
.review-dots button.on { background: var(--brand); transform: scale(1.35); }

/* Pages intérieures : mouvement au scroll */
.js .card.reveal, .js .steps li.reveal { transition-delay: calc(var(--d, 0) * 90ms); }
.js .card.reveal:not(.in), .js .steps li.reveal:not(.in) { transform: translateY(28px) scale(.97); }
.steps li::before { transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) .15s, box-shadow .5s; }
.js .steps li.reveal:not(.in)::before { transform: scale(.4); }
.steps li.in::before { box-shadow: 0 0 0 6px rgba(75, 59, 224, .14); }
.glass-frame img.page-photo { transform: translate3d(0, var(--py, 0px), 0) scale(1.1); clip-path: inset(0 round 22px); will-change: transform; }
.js .checks li { opacity: 0; transform: translateX(-14px); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--d, 0) * 110ms); }
.js .callout.in .checks li, .js .checks.in li { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .glass-frame img.page-photo { transform: scale(1.03); }
  .js .checks li { opacity: 1; transform: none; transition: none; }
  .js .card.reveal:not(.in), .js .steps li.reveal:not(.in) { transform: none; }
}

/* Estimation : parcours une question par écran */
.estim-head { margin-bottom: 1.4rem; }
.estim-count { margin: 0 0 .5rem; font-weight: 800; color: var(--brand-dark); font-size: .95rem; }
.estim-bar { height: 8px; border-radius: 8px; background: #d5def0; overflow: hidden; }
.estim-bar span { display: block; height: 100%; width: calc(var(--sp, 1) / 7 * 100%); background: linear-gradient(90deg, var(--frost), var(--brand)); border-radius: 8px; transition: width .4s ease; }
.estim-card legend { font-size: 1.45rem; line-height: 1.25; color: var(--ink); }
.estim-sub { margin: -.4rem 0 1rem; color: var(--muted); font-weight: 500; }
.estim-assure { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1rem; padding: 0; margin: 0 0 1.2rem; font-weight: 700; color: var(--brand-dark); font-size: .92rem; }
.estim-assure li::before { content: "✓ "; color: var(--brand); }
.opts { display: grid; gap: .6rem; margin-bottom: 1.4rem; }
.opts-2 { grid-template-columns: 1fr 1fr; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span { display: flex; align-items: center; gap: .7rem; padding: .95rem 1.1rem; border: 2px solid var(--brand-line); border-radius: 16px; background: #fff; font-weight: 700; color: var(--ink); transition: border-color .15s, background .15s, box-shadow .15s; }
.opts-2:not(.opts-civ) .opt span { flex-direction: column; justify-content: center; text-align: center; padding: 1.4rem 1rem; color: var(--brand-dark); }
.opt input:checked + span { border-color: var(--brand); background: var(--ice-50); box-shadow: 0 0 0 3px rgba(75, 59, 224, .15); }
.opt input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.opts-list .opt span::before { content: ""; flex: 0 0 22px; height: 22px; border: 2px solid var(--brand-line); border-radius: 6px; background: #fff; }
.opts-list .opt input[type="radio"] + span::before { border-radius: 50%; }
.opts-list .opt input:checked + span::before { background: var(--brand) center / 14px no-repeat 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); border-color: var(--brand); }
.stepper { display: flex; }
.stepper input { text-align: center; border-radius: 0 !important; min-width: 0; flex: 1; }
.stepper button { flex: 0 0 46px; border: 1px solid var(--brand-line); background: #fff; color: var(--brand); font-size: 1.3rem; font-weight: 800; cursor: pointer; }
.stepper button:first-child { border-radius: 12px 0 0 12px; }
.stepper button:last-child { border-radius: 0 12px 12px 0; }
.stepper button:hover { background: var(--ice-50); }
.hint { display: block; margin-top: .3rem; color: var(--muted); font-size: .85rem; }
.with-unit { position: relative; }
.with-unit span { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--muted); }
.ac { position: relative; }
.ac-list { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; margin: .3rem 0 0; padding: .3rem; list-style: none; background: #fff; border: 1px solid var(--brand-line); border-radius: 14px; box-shadow: var(--shadow-soft); max-height: 16rem; overflow: auto; }
.ac-list li { padding: .65rem .8rem; border-radius: 10px; cursor: pointer; font-weight: 500; color: var(--ink); }
.ac-list li:hover, .ac-list li[aria-selected="true"] { background: var(--ice-50); }
.estim-card .field.invalid .opt span, .opts.invalid .opt span { border-color: var(--err); }
@media (max-width: 480px) { .opts-2 { gap: .5rem; } .estim-card legend { font-size: 1.25rem; } }
.estim-card .form-row { align-items: start; }
.stepper input { margin: 0; border-left: 0; border-right: 0; height: 52px; }
.stepper button { height: 52px; }
.estim-actions { flex-wrap: nowrap; }
.estim-actions .btn { flex: 1 1 0; min-width: 0; padding-left: .8rem; padding-right: .8rem; }

/* ===== Attente de l'estimation : cycliste qui alimente le moteur de recherche ===== */
.estim-wait { text-align: center; padding: 1rem 0 .5rem; }
.estim-wait h2 { font-size: clamp(1.3rem, 4.5vw, 1.8rem); margin: 0 0 1rem; text-wrap: balance; }
.wait-svg { width: min(100%, 460px); height: auto; display: block; margin: 0 auto; overflow: visible; }
.w-ground { stroke: var(--brand-line); stroke-width: 2; }
.w-cable { fill: none; stroke: var(--frost); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 7 9; animation: wflow .7s linear infinite; }
.w-tire { fill: none; stroke: var(--ink); stroke-width: 4; }
.w-line { stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; }
.w-fill { fill: var(--brand); stroke: none; }
.w-belt { stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 3 3; }
.w-frame { fill: none; stroke: var(--brand); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.w-body { stroke: var(--brand-dark); stroke-width: 9; stroke-linecap: round; }
.w-head { fill: var(--brand-dark); }
.w-arm { fill: none; stroke: var(--brand-dark); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.w-leg1, .w-leg2 { fill: none; stroke: var(--brand-dark); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.w-leg2 { opacity: .55; }
.w-mon { fill: #fff; stroke: var(--brand); stroke-width: 3; }
.w-bar { fill: var(--brand-soft); stroke: var(--brand-line); }
.w-lens { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; }
.w-row { fill: var(--brand-line); opacity: 0; animation: wpop 3.6s ease-in-out infinite; }
.w-row.r2 { animation-delay: .9s; } .w-row.r3 { animation-delay: 1.8s; }
.w-track { fill: var(--brand-soft); }
.w-prog { fill: var(--brand); transform-box: fill-box; transform-origin: left center; animation: wfill 20s cubic-bezier(.2, .6, .3, 1) forwards; transform: scaleX(0); }
.w-spin { transform-box: fill-box; transform-origin: center; animation: wspin .9s linear infinite; }
.wait-msg { margin: 1rem 0 .2rem; font-weight: 700; font-size: 1.05rem; color: var(--brand-dark); min-height: 1.6em; transition: opacity .3s; }
.wait-msg.fade { opacity: 0; }
.wait-note { margin: 0; font-size: .9rem; color: var(--muted); }
@keyframes wspin { to { transform: rotate(360deg); } }
@keyframes wflow { to { stroke-dashoffset: -16; } }
@keyframes wpop { 0%, 15% { opacity: 0; } 30%, 80% { opacity: 1; } 100% { opacity: 0; } }
@keyframes wfill { to { transform: scaleX(.96); } }
@media (prefers-reduced-motion: reduce) { .w-cable, .w-row, .w-spin, .w-prog { animation: none; } .w-row { opacity: 1; } .w-prog { transform: scaleX(.6); } }

.wait-choice { margin: 1.4rem auto 0; max-width: 34rem; padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--brand-soft); border: 1px solid var(--brand-line); }
.wait-choice p { margin: 0 0 .8rem; }
.wait-btns { display: flex; gap: .7rem; flex-wrap: wrap; justify-content: center; }

/* ===== Formulaire d'estimation : blocs par type de bien, erreurs, saisie manuelle ===== */
[data-for][hidden], #ac-manual[hidden], .link-btn[hidden] { display: none !important; }
.field-err { display: block; margin-top: .35rem; color: var(--err); font-weight: 600; font-size: .9rem; }
.field-err:empty { display: none; }
.link-btn { background: none; border: 0; padding: .3rem 0; margin-top: .5rem; color: var(--brand); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.estim-step textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--brand-line); border-radius: 14px; padding: .8rem 1rem; }
.estim-step textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.estim-sub { margin: 0 0 1rem; }
