/* Cairevo, site vitrine, dans la charte du site Xperticar relié au CRM :
[hidden] { display: none !important; }
   en-tête blanc, Inter, texte presque noir, accent bronze, sections anthracite, coins peu arrondis,
   grande photo de voiture à l'ouverture ; grandes captures du vrai logiciel, façon page produit. */
@font-face { font-family: "Poppins"; src: url("fonts/poppins-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-semibold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --night: #202321;
  --night-2: #282c29;
  --night-line: #3a3f3b;
  --on-night: #f7f7f8;
  --on-night-muted: rgba(247, 247, 248, .72);
  --turq: #90734c;
  --turq-bright: #c4ab88;
  --paper: #f5f6f5;
  --surface: #ffffff;
  --ink: #202321;
  --ink-muted: #58605d;
  --line: #dfe3df;
  --display: "Inter", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 6px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--turq); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.night .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--turq-bright); }
.lead { font-size: 20px; color: var(--ink-muted); max-width: 62ch; }
.night .lead, .hero .lead, .page-hero .lead { color: rgba(247, 247, 248, .86); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 4px; font-family: var(--display); font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.night .btn-primary, .hero .btn-primary, .page-hero .btn-primary, .result .btn-primary { background: #fff; color: var(--ink); }
.night .btn-primary:hover, .hero .btn-primary:hover, .result .btn-primary:hover { background: #ecebe7; }
.btn-ghost { background: transparent; color: var(--on-night); border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-dark { background: var(--ink); color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* Barre de navigation : translucide, fixe en haut, menu en tiroir sur téléphone */
.nav { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 6px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav-links a { position: relative; display: block; padding: 10px 12px; color: var(--ink-muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color 140ms ease; }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--turq); }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 14px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 4px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-links, .nav .nav-cta { display: none; }
  .nav.open .wrap { flex-wrap: wrap; padding-bottom: 16px; }
  .nav.open .nav-links { display: grid; width: 100%; margin: 0; gap: 2px; }
  .nav.open .nav-links a { padding: 12px 14px; font-size: 17px; }
  .nav.open .nav-cta { display: inline-flex; width: 100%; }
}

/* Sections */
section { padding-block: 120px; }
.night { background: var(--night); color: var(--on-night); }
.section-head { display: grid; gap: 16px; margin-bottom: 56px; max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
h2.title { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; font-weight: 700; }

/* Accueil : héros */
.hero { position: relative; overflow: hidden; padding-block: 120px 0; background: linear-gradient(180deg, rgba(10, 12, 11, .55) 0%, rgba(10, 12, 11, .78) 55%, #1b1e1c 100%), url("login-audi-sunset.webp") center 40% / cover no-repeat, var(--night); color: var(--on-night); }
.hero-road { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-road { display: none; }
.hero-road path { fill: none; stroke: none; }
.hero-road path.lit { stroke: var(--turq); stroke-width: 1.6; stroke-dasharray: 160 2400; animation: road 9s linear infinite; opacity: .8; }
@keyframes road { from { stroke-dashoffset: 2560; } to { stroke-dashoffset: 0; } }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.hero-copy { display: grid; gap: 26px; }
.hero h1 { font-size: clamp(44px, 7vw, 84px); line-height: 1; font-weight: 600; }
.hero h1 em { font-style: normal; color: var(--turq-bright); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0; margin: 4px 0 0; list-style: none; font-size: 15px; color: #fff; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: "✓"; color: #fff; font-size: 13px; }
.hero-mark { position: relative; justify-self: center; width: min(420px, 80%); aspect-ratio: 256 / 216; }
.hero-mark { display: none; }
.hero-mark img { position: relative; width: 100%; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero-shot { position: relative; margin-top: 88px; perspective: 1600px; }
.browser { border-radius: 8px 8px 0 0; overflow: hidden; background: #1b1e1c; border: 1px solid rgba(255, 255, 255, .14); border-bottom: 0; box-shadow: 0 -20px 80px rgba(0, 0, 0, .55); transform-origin: 50% 100%; transform: rotateX(var(--tilt, 18deg)) scale(var(--shrink, .94)); transition: transform 120ms linear; }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #2a2e2b; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #474d48; }
.browser-bar span { margin-left: 14px; font-size: 12px; color: var(--on-night-muted); background: #1f2220; padding: 4px 14px; border-radius: 4px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-mark { order: -1; width: 180px; justify-self: start; }
  .hero { padding-top: 56px; }
}

/* Parcours en 6 étapes */
.journey { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; list-style: none; padding: 0; margin: 0; counter-reset: step; position: relative; }
.journey::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--line); }
.journey li { position: relative; counter-increment: step; display: grid; gap: 8px; padding-right: 18px; }
.journey li::before { content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); border: 1px solid var(--turq); color: var(--turq); font-family: var(--display); font-weight: 600; font-size: 14px; position: relative; }
.journey strong { font-family: var(--display); font-size: 18px; margin-top: 8px; }
.journey span { font-size: 15px; color: var(--ink-muted); }
@media (max-width: 960px) {
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .journey::before { display: none; }
}
@media (max-width: 520px) { .journey { grid-template-columns: minmax(0, 1fr); } }

/* Vitrines produit : texte + grande capture */
.showcase { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.showcase + .showcase { margin-top: 140px; }
.showcase.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.showcase.flip .showcase-copy { order: 2; }
.showcase-copy { display: grid; gap: 18px; min-width: 0; }
.showcase-copy h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
.showcase-copy ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.showcase-copy li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; color: var(--ink-muted); }
.showcase-copy li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: rgba(144, 115, 76, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2390734c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.showcase-copy li b { color: var(--ink); font-weight: 600; }
.shot { min-width: 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 40px 80px -40px rgba(6, 18, 26, .45); }
@media (max-width: 900px) {
  .showcase, .showcase.flip { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .showcase.flip .showcase-copy { order: 0; }
  .showcase + .showcase { margin-top: 90px; }
}

/* Grille de fonctions */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; align-content: start; min-width: 0; transition: transform 200ms ease, box-shadow 200ms ease; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(6, 18, 26, .35); }
.tile .ico { width: 44px; height: 44px; border-radius: 6px; display: grid; place-items: center; background: #f3f1ec; color: var(--turq); }
.tile .ico svg { width: 22px; height: 22px; }
.tile h3 { font-size: 19px; }
.tile p { color: var(--ink-muted); font-size: 15.5px; }
.tile.wide { grid-column: span 2; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bento { grid-template-columns: minmax(0, 1fr); } .tile.wide { grid-column: auto; } }

/* Partout : nuit + téléphone */
.devices { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: end; }
.devices .shot { border-color: rgba(255, 255, 255, .1); background: #111; }
.phone { border-radius: 38px; padding: 10px; background: #0b0c0b; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); }
.phone img { border-radius: 30px; }
@media (max-width: 760px) { .devices { grid-template-columns: minmax(0, 1fr); } .phone { width: 240px; justify-self: center; } }

/* Sécurité */
.security { background: var(--night); }
.shield-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--night-line); border: 1px solid var(--night-line); border-radius: var(--radius); overflow: hidden; }
.shield { background: var(--night-2); padding: 32px 28px; display: grid; gap: 10px; align-content: start; }
.shield svg { width: 28px; height: 28px; color: var(--turq-bright); }
.shield h3 { font-size: 19px; color: var(--on-night); }
.shield p { color: var(--on-night-muted); font-size: 15.5px; }
@media (max-width: 900px) { .shield-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .shield-grid { grid-template-columns: minmax(0, 1fr); } }

/* Support */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.duo .tile { padding: 34px; }
@media (max-width: 760px) { .duo { grid-template-columns: minmax(0, 1fr); } }

/* Bandeau final */
.cta { position: relative; overflow: hidden; text-align: center; }
.cta .wrap { display: grid; justify-items: center; gap: 22px; position: relative; }
.cta h2 { font-size: clamp(36px, 5.5vw, 64px); line-height: 1.04; max-width: 16ch; }
.cta::before { content: none; }

/* Pied de page */
.footer { background: #171918; color: var(--on-night-muted); padding-block: 56px 40px; font-size: 14.5px; }
.footer .wrap { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.footer img { height: 28px; width: auto; margin-bottom: 14px; }
.footer h4 { margin: 0 0 12px; font-family: var(--display); font-size: 14px; color: var(--on-night); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--on-night); }
.footer-base { grid-column: 1 / -1; border-top: 1px solid var(--night-line); padding-top: 22px; font-size: 13px; }
@media (max-width: 700px) { .footer .wrap { grid-template-columns: minmax(0, 1fr); } }

/* En-tête des pages intérieures */
.page-hero { padding-block: 110px 90px; background: linear-gradient(180deg, rgba(10, 12, 11, .72), rgba(10, 12, 11, .86)), url("login-audi-sunset.webp") center 55% / cover no-repeat, var(--night); color: var(--on-night); }
.page-hero .wrap { display: grid; gap: 20px; }
.page-hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; max-width: 16ch; font-weight: 600; }

/* Services */
.offer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .offer { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .offer { grid-template-columns: minmax(0, 1fr); } }

/* Configurateur */
.config { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; align-items: start; }
.config-form { display: grid; gap: 30px; }
.q { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.q legend { font-family: var(--display); font-weight: 600; font-size: 19px; margin-bottom: 4px; padding: 0; }
.q legend small { display: block; font-family: var(--body); font-weight: 400; font-size: 14.5px; color: var(--ink-muted); margin-top: 2px; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); cursor: pointer; transition: border-color 140ms ease, box-shadow 140ms ease; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice strong { font-family: var(--display); font-size: 16px; }
.choice span { font-size: 14px; color: var(--ink-muted); }
.choice:hover { border-color: #b6c9cb; }
.choice:has(input:checked) { border-color: var(--turq); box-shadow: 0 0 0 3px rgba(144, 115, 76, .16); }
.choice:has(input:focus-visible) { outline: 2px solid var(--turq); outline-offset: 2px; }
.choice::after { content: ""; position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #b6c9cb; }
.choice:has(input[type="checkbox"])::after { border-radius: 5px; }
.choice:has(input:checked)::after { background: var(--turq) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--turq); }
@media (max-width: 560px) { .choices { grid-template-columns: minmax(0, 1fr); } }
.result { position: sticky; top: 96px; background: var(--night); color: var(--on-night); border-radius: 8px; padding: 30px; display: grid; gap: 18px; box-shadow: 0 40px 80px -40px rgba(6, 18, 26, .6); }
.result h3 { font-size: 26px; }
.result .pack { display: inline-flex; width: fit-content; padding: 4px 12px; border-radius: 4px; background: rgba(196, 171, 136, .16); color: var(--turq-bright); font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.result ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.result li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 15px; color: var(--on-night); }
.result li::before { content: ""; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--turq-bright) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23202321' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 10px no-repeat; }
.result p { color: var(--on-night-muted); font-size: 15px; }
.result .btn { width: 100%; }
@media (max-width: 960px) { .config { grid-template-columns: minmax(0, 1fr); } .result { position: static; } }

/* Étapes de mise en route */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: "Étape " counter(s); font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--turq); }
.steps h3 { font-size: 18px; }
.steps p { color: var(--ink-muted); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Questions fréquentes */
.faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--turq); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--ink-muted); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 34px; display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-weight: 600; font-size: 14.5px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; transition: border-color 140ms ease, box-shadow 140ms ease; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--turq); box-shadow: 0 0 0 3px rgba(144, 115, 76, .16); background: #fff; }
.field .err { font-size: 13px; color: #b42318; min-height: 0; }
.form-note { font-size: 13.5px; color: var(--ink-muted); }
.form-done { display: none; padding: 18px 20px; border-radius: 6px; background: #f3f1ec; border: 1px solid rgba(144, 115, 76, .35); }
.form-done.error { background: #fdf0ef; border-color: #f2c4bf; }
.form-done.show { display: block; }
.aside { display: grid; gap: 16px; }
.aside .tile { padding: 26px; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form-row { grid-template-columns: minmax(0, 1fr); } .form { padding: 24px; } }

/* Apparition au défilement : visible par défaut, l'effet n'est ajouté que si le script tourne */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 700ms cubic-bezier(.2, .7, .2, 1), transform 700ms cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-mark img, .hero-road path.lit { animation: none; }
  .browser { transform: none; }
}

/* ===== Section « Et aussi » : cartes animées sur fond anthracite ===== */
.fx { background: #1b1e1c; }
.fx-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.fx-span-2 { grid-column: span 2; }
.fx-span-3 { grid-column: span 3; }
.fx-span-4 { grid-column: span 4; }
.fx-card { position: relative; display: grid; grid-template-rows: 214px auto; overflow: hidden; border-radius: 8px; background: linear-gradient(180deg, #2a2e2b 0%, #232624 100%); border: 1px solid #353a36; transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease; min-width: 0; }
.fx-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(196, 171, 136, .14), transparent 60%); opacity: 0; transition: opacity 260ms ease; pointer-events: none; }
.fx-card:hover { transform: translateY(-4px); border-color: #5b5141; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.fx-card:hover::before { opacity: 1; }
.fx-copy { padding: 22px 26px 26px; display: grid; gap: 8px; align-content: start; }
.fx-copy h3 { font-size: 19px; color: #f7f7f8; }
.fx-copy p { font-size: 15px; color: rgba(247, 247, 248, .7); }
.fx-visual { position: relative; overflow: hidden; padding: 22px 26px; border-bottom: 1px solid #333834; background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0)); font-size: 13px; color: #e9e8e4; }
.fx-visual b { font-weight: 600; }
.fx-visual small { color: rgba(247, 247, 248, .55); font-size: 11.5px; letter-spacing: .02em; }
@media (max-width: 960px) { .fx-span-2, .fx-span-3, .fx-span-4 { grid-column: span 3; } }
@media (max-width: 640px) { .fx-grid { grid-template-columns: minmax(0, 1fr); } .fx-span-2, .fx-span-3, .fx-span-4 { grid-column: auto; } }

/* Les animations ne démarrent qu'une fois la carte visible (classe .in posée au défilement). */
.fx-card:not(.in) .fx-visual * { animation-play-state: paused !important; }

/* 1. Prospects : les demandes arrivent, puis un agent est attribué */
.fx-leads { display: grid; gap: 6px; align-content: center; padding-block: 16px; }
.fx-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 7px 12px; border-radius: 6px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .06); animation: fx-in 6s var(--d) ease-in-out infinite both; }
.fx-avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #3a3f3b; font-size: 11px; font-weight: 600; color: #c4ab88; }
.fx-lines { display: grid; min-width: 0; }
.fx-lines b { font-size: 13px; }
.fx-lines i { font-style: normal; font-size: 11.5px; color: rgba(247, 247, 248, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-chip { padding: 3px 10px; border-radius: 4px; background: rgba(196, 171, 136, .16); color: #d8c3a2; font-size: 11.5px; font-weight: 600; animation: fx-chip 6s var(--d) ease-out infinite both; }
.fx-chip::before { content: "→ "; opacity: .7; }
@keyframes fx-in { 0% { opacity: 0; transform: translateX(-18px); } 10%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes fx-chip { 0%, 22% { opacity: 0; transform: scale(.7); } 30%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* 2. Signature : le tracé se dessine sur le téléphone */
.fx-sign { display: grid; place-items: center; }
.fx-phone { position: relative; width: 170px; height: 150px; border-radius: 18px 18px 0 0; border: 1px solid #4a504b; border-bottom: 0; background: #f5f6f5; padding: 14px 14px 0; display: grid; align-content: start; gap: 6px; transform: translateY(14px); }
.fx-phone small { color: #58605d; font-size: 10.5px; }
.fx-phone svg { width: 100%; height: 56px; border-bottom: 1px dashed #bfc6c0; }
.fx-phone path { fill: none; stroke: #202321; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: fx-draw 4.5s ease-in-out infinite; }
.fx-signed { justify-self: start; padding: 3px 9px; border-radius: 4px; background: #e6f0ea; color: #2f6b4a; font-size: 11px; font-weight: 600; animation: fx-pop 4.5s ease-in-out infinite; }
@keyframes fx-draw { 0% { stroke-dashoffset: 340; } 55%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes fx-pop { 0%, 55% { opacity: 0; transform: translateY(4px); } 65%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* 3. Prix : le curseur dépasse le prix conseillé, une validation est demandée */
.fx-price { display: grid; align-content: center; gap: 10px; }
.fx-band { position: relative; height: 10px; border-radius: 5px; background: #3a3f3b; margin-top: 26px; }
.fx-range { position: absolute; left: 22%; right: 30%; top: 0; bottom: 0; border-radius: 5px; background: linear-gradient(90deg, #6f6a5f, #c4ab88); }
.fx-marker { position: absolute; top: -6px; width: 4px; height: 22px; border-radius: 2px; background: #fff; animation: fx-slide 5s ease-in-out infinite; }
.fx-marker em { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 11.5px; font-weight: 600; white-space: nowrap; color: #fff; }
.fx-scale { display: flex; justify-content: space-between; font-size: 10.5px; color: rgba(247, 247, 248, .5); }
.fx-flag { justify-self: start; padding: 3px 9px; border-radius: 4px; background: rgba(229, 155, 70, .16); color: #f0b46c; font-size: 11px; font-weight: 600; animation: fx-flag 5s ease-in-out infinite; }
@keyframes fx-slide { 0% { left: 30%; } 45% { left: 60%; } 70%, 100% { left: 80%; } }
@keyframes fx-flag { 0%, 62% { opacity: 0; } 72%, 100% { opacity: 1; } }

/* 4. Recherches : une demande rencontre un véhicule du stock */
.fx-match { display: grid; grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr); align-items: center; gap: 0; }
.fx-mini { display: grid; gap: 4px; padding: 12px; border-radius: 6px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); min-width: 0; }
.fx-mini b { font-size: 12.5px; white-space: nowrap; }
.fx-link { height: 2px; background: repeating-linear-gradient(90deg, #c4ab88 0 6px, transparent 6px 10px); background-size: 20px 2px; animation: fx-dash .8s linear infinite; }
.fx-ok { grid-column: 1 / -1; justify-self: center; margin-top: 14px; padding: 3px 10px; border-radius: 4px; background: #e6f0ea; color: #2f6b4a; font-size: 11px; font-weight: 600; animation: fx-blink 3s ease-in-out infinite; }
@keyframes fx-dash { to { background-position: 20px 0; } }
@keyframes fx-blink { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* 5. Agenda : les rendez-vous se posent dans la semaine */
.fx-cal { display: grid; gap: 8px; align-content: center; }
.fx-week, .fx-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.fx-week span { font-size: 10.5px; color: rgba(247, 247, 248, .5); text-align: center; }
.fx-days { grid-template-rows: repeat(3, 26px); background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 20%); }
.fx-days i { grid-column: var(--c); grid-row: var(--r); font-style: normal; font-size: 10px; font-weight: 600; display: grid; place-items: center; border-radius: 4px; background: #c4ab88; color: #202321; white-space: nowrap; overflow: hidden; animation: fx-drop 6s var(--d) ease-out infinite both; }
.fx-days i.alt { background: #3f4a45; color: #e9e8e4; }
@keyframes fx-drop { 0% { opacity: 0; transform: translateY(-10px) scale(.9); } 8%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* 6. Commissions : le dossier avance jusqu'au paiement */
.fx-com { display: grid; gap: 10px; align-content: center; }
.fx-com-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.fx-paid { padding: 3px 9px; border-radius: 4px; background: #e6f0ea; color: #2f6b4a; font-size: 11px; font-weight: 600; animation: fx-flag 5s ease-in-out infinite; }
.fx-amount { font-size: 34px; font-weight: 600; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.fx-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); font-size: 10.5px; color: rgba(247, 247, 248, .55); }
.fx-progress { height: 6px; border-radius: 3px; background: #3a3f3b; overflow: hidden; }
.fx-progress span { display: block; height: 100%; width: 100%; border-radius: 3px; background: linear-gradient(90deg, #90734c, #c4ab88); transform-origin: left; animation: fx-fill 5s ease-in-out infinite; }
@keyframes fx-fill { 0% { transform: scaleX(.05); } 62%, 100% { transform: scaleX(1); } }

/* 7. Personnalisation : la couleur de l'espace change, jour et nuit */
.fx-brand { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 22px; }
.fx-screen { border-radius: 6px; overflow: hidden; border: 1px solid #4a504b; animation: fx-theme 8s ease-in-out infinite; background: #f5f6f5; }
.fx-screen-top { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: var(--brand, #202321); animation: fx-brand 8s steps(1) infinite; }
.fx-screen-top img { width: 18px; height: auto; }
.fx-screen-top span { font-size: 11px; font-weight: 600; color: #fff; }
.fx-screen-body { display: grid; gap: 6px; padding: 12px; }
.fx-screen-body i { height: 8px; border-radius: 4px; background: rgba(32, 35, 33, .14); }
.fx-screen-body i:nth-child(2) { width: 70%; }
.fx-screen-body i:nth-child(3) { width: 45%; }
.fx-swatches { display: grid; gap: 8px; }
.fx-swatches span { width: 22px; height: 22px; border-radius: 50%; background: var(--s); border: 2px solid rgba(255, 255, 255, .25); }
@keyframes fx-brand { 0% { background: #202321; } 25% { background: #90734c; } 50% { background: #1f6f8b; } 75% { background: #2f6b4a; } }
@keyframes fx-theme { 0%, 45% { background: #f5f6f5; } 55%, 95% { background: #2a2e2b; } 100% { background: #f5f6f5; } }

/* ===== Ouverture : logo Cairevo animé ===== */
.hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; max-width: none; }
.hero-logo { position: relative; justify-self: center; width: min(440px, 100%); aspect-ratio: 1; display: grid; place-items: center; }
.hero-logo svg.orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit circle { fill: none; stroke: rgba(196, 171, 136, .22); stroke-width: 1; }
.orbit circle.run { stroke: #c4ab88; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 120 1200; animation: orbit 7s linear infinite; }
.orbit circle.run.slow { stroke: rgba(196, 171, 136, .6); stroke-dasharray: 60 1300; animation-duration: 11s; animation-direction: reverse; }
.orbit .dot { fill: #c4ab88; }
@keyframes orbit { to { stroke-dashoffset: -1320; } }
.logo-stack { position: relative; width: 62%; aspect-ratio: 256 / 216; animation: hover 6s 1.8s ease-in-out infinite; }
.logo-stack img { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .55)); }
.logo-stack .part-top { animation: part-top 1.1s .2s cubic-bezier(.2, .8, .2, 1) both; }
.logo-stack .part-bottom { animation: part-bottom 1.1s .55s cubic-bezier(.2, .8, .2, 1) both; }
/* Reflet qui balaie le logo (masqué par la forme du C) */
.logo-stack .shine { position: absolute; inset: 0; -webkit-mask: url("cairevo-mark.png") center / contain no-repeat; mask: url("cairevo-mark.png") center / contain no-repeat; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%) -150% 0 / 250% 100% no-repeat; animation: shine 5s 1.7s ease-in-out infinite; }
.hero-logo::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(32, 160, 150, .22), transparent 65%); filter: blur(10px); animation: glow 6s ease-in-out infinite; }
@keyframes part-top { from { opacity: 0; transform: translate(-40px, -30px) rotate(-6deg); } to { opacity: 1; transform: none; } }
@keyframes part-bottom { from { opacity: 0; transform: translate(40px, 30px) rotate(6deg); } to { opacity: 1; transform: none; } }
@keyframes shine { 0%, 55% { background-position: -150% 0; } 85%, 100% { background-position: 150% 0; } }
@keyframes hover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes glow { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-logo { order: -1; width: 220px; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .fx-visual *, .fx-card, .logo-stack, .logo-stack *, .orbit circle, .hero-logo::before { animation: none !important; transition: none !important; }
  .fx-phone path { stroke-dashoffset: 0; }
  .fx-row, .fx-chip, .fx-signed, .fx-flag, .fx-days i, .fx-paid { opacity: 1 !important; }
}
.js .fx-card.reveal.in:hover { transform: translateY(-4px); }

/* ===== Sécurité : texte + schéma animé (cloisonnement + passkey) ===== */
.sec { background: #1b1e1c; }
.sec-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.sec-copy { display: grid; gap: 20px; }
.sec-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; }
.sec-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid #333834; }
.sec-list svg { width: 22px; height: 22px; color: #c4ab88; margin: 2px 0 0 4px; }
.sec-list b { display: block; color: #f7f7f8; font-weight: 600; }
.sec-list span { color: rgba(247, 247, 248, .66); font-size: 15px; }
.sec-visual { display: grid; gap: 16px; }
.vault { position: relative; padding: 26px; border-radius: 10px; background: linear-gradient(180deg, #2a2e2b, #232624); border: 1px solid #353a36; display: grid; gap: 18px; }
.vault-db { position: relative; justify-self: center; width: 170px; height: 74px; display: grid; place-items: end center; padding-bottom: 8px; }
.vault-db span { position: absolute; left: 0; right: 0; height: 22px; border-radius: 50%; border: 1px solid #5b5141; background: #2f2a22; }
.vault-db span:nth-child(1) { top: 0; } .vault-db span:nth-child(2) { top: 18px; } .vault-db span:nth-child(3) { top: 36px; }
.vault-db b { position: relative; font-size: 12px; color: #d8c3a2; }
.vault-lanes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lane { position: relative; overflow: hidden; display: grid; gap: 4px; padding: 14px 12px; border-radius: 6px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.lane b { color: #f7f7f8; font-size: 13.5px; }
.lane small { color: rgba(247, 247, 248, .55); font-size: 11.5px; }
.lane .lock { width: 18px; height: 18px; background: #c4ab88; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='5' y='10' width='14' height='10' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='5' y='10' width='14' height='10' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat; }
.lane .pulse { position: absolute; left: 0; top: 0; width: 2px; height: 100%; background: linear-gradient(180deg, transparent, #c4ab88, transparent); animation: lane 3.2s ease-in-out infinite; }
.lane:nth-child(2) .pulse { animation-delay: .5s; } .lane:nth-child(3) .pulse { animation-delay: 1s; }
@keyframes lane { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }
.vault-block { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px; border-radius: 6px; border: 1px dashed rgba(229, 115, 100, .5); background: rgba(229, 115, 100, .08); font-size: 12.5px; color: rgba(247, 247, 248, .75); animation: deny 4s ease-in-out infinite; }
.vault-block em { font-style: normal; font-weight: 600; color: #f19a8e; }
.vault-block em::before { content: "✕ "; }
@keyframes deny { 0%, 30% { opacity: .35; transform: translateX(-6px); } 40%, 85% { opacity: 1; transform: none; } 100% { opacity: .35; } }
.passkey { position: relative; overflow: hidden; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 22px; border-radius: 10px; background: #f5f6f5; color: #202321; }
.passkey .finger { width: 48px; height: 48px; color: #202321; }
.passkey .scan { position: absolute; left: 20px; top: 14px; width: 56px; height: 3px; border-radius: 2px; background: #90734c; box-shadow: 0 0 12px rgba(144, 115, 76, .7); animation: scan 2.6s ease-in-out infinite; }
.passkey b { display: block; font-size: 15px; }
.passkey small { color: #2f6b4a; font-weight: 600; font-size: 12.5px; animation: verified 2.6s ease-in-out infinite; }
.passkey small::before { content: "✓ "; }
@keyframes scan { 0% { transform: translateY(0); } 50% { transform: translateY(54px); } 100% { transform: translateY(0); } }
@keyframes verified { 0%, 45% { opacity: 0; } 55%, 100% { opacity: 1; } }
@media (max-width: 900px) { .sec-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 520px) { .vault-lanes { grid-template-columns: minmax(0, 1fr); } }

/* ===== Support : deux cartes claires avec scène animée ===== */
.sup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sup-card { display: grid; grid-template-rows: 270px auto; overflow: hidden; border-radius: 8px; background: #fff; border: 1px solid var(--line); transition: transform 240ms ease, box-shadow 240ms ease; }
.js .sup-card.reveal.in:hover, .sup-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(32, 35, 33, .35); }
.sup-visual { padding: 26px; background: linear-gradient(180deg, #f5f6f5, #eceeec); border-bottom: 1px solid var(--line); display: grid; align-content: center; gap: 12px; overflow: hidden; }
.sup-copy { padding: 24px 28px 28px; display: grid; gap: 8px; }
.sup-copy h3 { font-size: 20px; }
.sup-copy p { color: var(--ink-muted); font-size: 15.5px; }
.ro-banner { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 12px; border-radius: 4px; background: #202321; color: #f7f7f8; font-size: 12.5px; font-weight: 600; }
.ro-banner svg { width: 16px; height: 16px; color: #c4ab88; }
.ro-log { display: grid; gap: 6px; }
.ro-log p { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; padding: 7px 10px; border-radius: 4px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; color: var(--ink); animation: logline 7s var(--d) ease-out infinite both; }
.ro-log time { color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.ro-log p.deny { border-color: #f2c4bf; background: #fdf0ef; color: #9b2c22; }
@keyframes logline { 0% { opacity: 0; transform: translateY(6px); } 6%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.pipeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pipeline li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 14px; color: var(--ink-muted); animation: stepdone 7s var(--d) ease-out infinite both; }
.pipeline span { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #bfc6c0; background: #fff; }
@keyframes stepdone { 0%, 4% { color: var(--ink-muted); } 10%, 90% { color: var(--ink); } }
.pipeline li span { animation: dot 7s var(--d) ease-out infinite both; }
@keyframes dot { 0%, 4% { background: #fff; border-color: #bfc6c0; box-shadow: none; } 10%, 90% { background: #2f6b4a 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='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat; border-color: #2f6b4a; box-shadow: 0 0 0 4px rgba(47, 107, 74, .12); } }
.rollback { margin-top: 4px; padding: 8px 12px; border-radius: 4px; background: #f3f1ec; border: 1px solid rgba(144, 115, 76, .3); color: #735b3b; font-size: 12.5px; }
.sup-card:not(.in) *, .sec-visual:not(.in) * { animation-play-state: paused !important; }
@media (max-width: 860px) { .sup-grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  .sec-visual *, .sup-visual * { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ===== Ouverture (refaite) : fond anthracite, lueur bronze, grille, route ; captures réelles en composition animée ===== */
.hero2 { position: relative; overflow: hidden; background: #111312; color: var(--on-night); padding-block: 110px 120px; }
.hero2-bg { position: absolute; inset: 0; pointer-events: none; }
.hero2-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 70% 45%, #000 20%, transparent 75%); }
.hero2-glow { position: absolute; width: 900px; height: 900px; right: -180px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(196, 171, 136, .22), rgba(196, 171, 136, 0) 62%); animation: glow2 9s ease-in-out infinite; }
.hero2-glow::after { content: ""; position: absolute; width: 520px; height: 520px; left: -380px; top: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(32, 150, 140, .14), rgba(32, 150, 140, 0) 65%); }
@keyframes glow2 { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.08); opacity: 1; } }
.hero2-road { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero2-road path { fill: none; stroke: rgba(196, 171, 136, .14); stroke-width: 1.4; }
.hero2-road path.lit { stroke: #c4ab88; stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 220 2600; animation: road2 7s linear infinite; }
@keyframes road2 { from { stroke-dashoffset: 2820; } to { stroke-dashoffset: 0; } }
.hero2-grid-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero2-copy { display: grid; gap: 26px; }
.hero2 h1 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1; font-weight: 600; }
.hero2 h1 em { font-style: normal; background: linear-gradient(90deg, #d9c4a2, #a8865a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2 .lead { color: rgba(247, 247, 248, .82); }
.hero2 .eyebrow { color: #c4ab88; }
.hero2 .btn-primary { background: #fff; color: var(--ink); }
.hero2 .btn-primary:hover { background: #ecebe7; }

/* Composition à droite */
.hero2-stage { position: relative; aspect-ratio: 1.15; perspective: 1800px; }
.stage-screen { position: absolute; left: 0; right: 6%; top: 8%; border-radius: 10px; overflow: hidden; background: #1b1e1c; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(196, 171, 136, .06); transform: rotateY(-14deg) rotateX(6deg); transform-origin: 60% 50%; animation: screen-in 1.1s .1s cubic-bezier(.2, .8, .2, 1) both, drift 9s 1.3s ease-in-out infinite; }
.stage-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #2a2e2b; }
.stage-bar i { width: 10px; height: 10px; border-radius: 50%; background: #474d48; }
.stage-bar span { margin-left: 10px; padding: 3px 12px; border-radius: 4px; background: #1f2220; color: rgba(247, 247, 248, .7); font-size: 11px; }
.stage-screen img { width: 100%; height: auto; }
.stage-phone { position: absolute; right: 0; bottom: 0; width: 27%; padding: 6px; border-radius: 26px; background: #0b0c0b; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .8); animation: phone-in 1.1s .45s cubic-bezier(.2, .8, .2, 1) both, bob 7s 1.6s ease-in-out infinite; }
.stage-phone img { border-radius: 21px; width: 100%; height: auto; max-height: 380px; object-fit: cover; object-position: top; }
.stage-badge { position: absolute; left: -4%; top: -2%; width: 22%; aspect-ratio: 256 / 216; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .6)); animation: bob 6s 1.8s ease-in-out infinite; }
.stage-badge img { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-badge .part-top { animation: part-top 1s .5s cubic-bezier(.2, .8, .2, 1) both; }
.stage-badge .part-bottom { animation: part-bottom 1s .8s cubic-bezier(.2, .8, .2, 1) both; }
.stage-badge .shine { position: absolute; inset: 0; -webkit-mask: url("cairevo-mark.png") center / contain no-repeat; mask: url("cairevo-mark.png") center / contain no-repeat; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .6) 50%, transparent 65%) -150% 0 / 250% 100% no-repeat; animation: shine 5s 2s ease-in-out infinite; }
.stage-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; background: rgba(32, 35, 33, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7); font-size: 13px; white-space: nowrap; }
.stage-chip b { display: block; color: #fff; font-weight: 600; }
.stage-chip small { color: rgba(247, 247, 248, .6); font-size: 11.5px; }
.stage-chip .dot { width: 10px; height: 10px; border-radius: 50%; background: #5aa9e6; box-shadow: 0 0 0 4px rgba(90, 169, 230, .18); }
.stage-chip .dot.ok { background: #4cb27c; box-shadow: 0 0 0 4px rgba(76, 178, 124, .18); }
.stage-chip .dot.gold { background: #c4ab88; box-shadow: 0 0 0 4px rgba(196, 171, 136, .2); }
.stage-chip.c1 { right: 2%; top: 0; animation: chip-in .7s 1.2s ease-out both, bob 6.5s 2s ease-in-out infinite; }
.stage-chip.c2 { left: -6%; top: 52%; animation: chip-in .7s 1.6s ease-out both, bob 7.5s 2.4s ease-in-out infinite; }
.stage-chip.c3 { left: 18%; bottom: 2%; animation: chip-in .7s 2s ease-out both, bob 7s 2.8s ease-in-out infinite; }
@keyframes screen-in { from { opacity: 0; transform: rotateY(-24deg) rotateX(10deg) translateY(40px); } to { opacity: 1; transform: rotateY(-14deg) rotateX(6deg); } }
@keyframes drift { 0%, 100% { transform: rotateY(-14deg) rotateX(6deg) translateY(0); } 50% { transform: rotateY(-11deg) rotateX(5deg) translateY(-8px); } }
@keyframes phone-in { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
@keyframes chip-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 960px) {
  .hero2 { padding-block: 70px 80px; }
  .hero2-grid-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero2-stage { max-width: 620px; width: 100%; justify-self: center; }
}
@media (max-width: 520px) {
  .stage-chip { font-size: 11.5px; padding: 8px 10px; }
  .stage-chip small { display: none; }
  .stage-chip.c2 { left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero2 *, .hero2-glow { animation: none !important; }
  .stage-screen { transform: rotateY(-14deg) rotateX(6deg); }
}

/* ===== Module Prospection (scraping) : texte + panneau animé, style du panneau réel (sombre et doré) ===== */
.scrap { background: radial-gradient(ellipse 50% 60% at 85% 30%, rgba(196, 171, 136, .12), transparent 70%), #151716; }
.scrap-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.scrap-copy { display: grid; gap: 20px; }
.scrap-note { font-size: 13.5px; color: rgba(247, 247, 248, .55); }
.scrap-panel { border-radius: 10px; background: linear-gradient(180deg, #23211d, #1b1a17); border: 1px solid #4a4235; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8); padding: 22px; display: grid; gap: 14px; color: #ece6da; font-size: 13px; }
.sp-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sp-head b { font-size: 15px; color: #d8c3a2; }
.sp-live { display: inline-flex; align-items: center; gap: 8px; padding: 3px 10px; border-radius: 4px; background: rgba(76, 178, 124, .14); color: #7fd1a3; font-size: 11.5px; font-weight: 600; }
.sp-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4cb27c; animation: live 1.4s ease-in-out infinite; }
@keyframes live { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.sp-search { display: grid; gap: 4px; padding: 10px 12px; border-radius: 6px; background: rgba(0, 0, 0, .25); border: 1px solid #3a352c; }
.sp-search small, .sp-stats small { color: rgba(236, 230, 218, .55); font-size: 11px; }
.sp-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-filters span { padding: 3px 9px; border-radius: 4px; border: 1px solid #5b5141; color: #d8c3a2; font-size: 11.5px; }
.sp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sp-stats div { padding: 10px 12px; border-radius: 6px; background: rgba(255, 255, 255, .04); border: 1px solid #333028; display: grid; gap: 2px; }
.sp-stats b { font-size: 22px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.sp-feed { display: grid; gap: 8px; }
.sp-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border-radius: 6px; background: rgba(255, 255, 255, .04); border: 1px solid #333028; animation: sp-in 7.2s var(--d) ease-out infinite both; }
.sp-item img { width: 56px; height: 40px; object-fit: cover; border-radius: 4px; }
.sp-item b { display: block; font-size: 13px; color: #fff; }
.sp-item small { color: rgba(236, 230, 218, .55); font-size: 11.5px; }
.sp-item span { padding: 3px 9px; border-radius: 4px; background: rgba(196, 171, 136, .16); color: #d8c3a2; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
@keyframes sp-in { 0% { opacity: 0; transform: translateY(10px); } 6%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.scrap-panel:not(.in) * { animation-play-state: paused !important; }
@media (max-width: 900px) { .scrap-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (prefers-reduced-motion: reduce) { .scrap-panel * { animation: none !important; opacity: 1 !important; transform: none !important; } }

/* Images : pas de sélection ni de glisser-déposer (le site reste une vitrine). */
img { -webkit-user-drag: none; user-drag: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

/* ===== Module Prospection (refait) : parcours animé en 3 temps ===== */
.pro { background: radial-gradient(ellipse 60% 55% at 50% 0%, rgba(196, 171, 136, .14), transparent 70%), #151716; }
.pro-flow { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr) 56px minmax(0, 1fr); align-items: stretch; margin-top: 10px; }
.pro-step { display: grid; grid-template-rows: auto auto 1fr; gap: 12px; min-width: 0; }
.pro-num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #c4ab88; color: #c4ab88; font-weight: 600; font-size: 14px; }
.pro-step h3 { font-size: 20px; color: #f7f7f8; }
.pro-card { position: relative; overflow: hidden; border-radius: 10px; padding: 18px; background: linear-gradient(180deg, #2a2e2b, #222523); border: 1px solid #383d39; display: grid; gap: 12px; align-content: start; min-height: 220px; color: #ece9e2; font-size: 13px; }
.pro-link { display: grid; place-items: center; padding-top: 46px; }
.pro-link span { position: relative; width: 100%; height: 2px; background: repeating-linear-gradient(90deg, rgba(196, 171, 136, .5) 0 6px, transparent 6px 11px); }
.pro-link span::after { content: ""; position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: #c4ab88; box-shadow: 0 0 12px rgba(196, 171, 136, .8); animation: pro-travel 2.4s ease-in-out infinite; }
@keyframes pro-travel { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }

/* 1. Critères : saisie qui s'écrit */
.pro-input { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 6px; background: #f5f6f5; color: #202321; font-size: 13px; }
.pro-input svg { width: 16px; height: 16px; flex-shrink: 0; color: #90734c; }
.pro-typed { overflow: hidden; white-space: nowrap; border-right: 2px solid #90734c; width: 0; animation: pro-type 6s steps(34) infinite, pro-caret .8s step-end infinite; }
@keyframes pro-type { 0% { width: 0; } 45%, 90% { width: 100%; } 100% { width: 0; } }
@keyframes pro-caret { 50% { border-color: transparent; } }
.pro-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pro-chips span { padding: 4px 10px; border-radius: 4px; border: 1px solid #4b4f4b; color: rgba(236, 233, 226, .75); font-size: 12px; }
.pro-chips span.on { border-color: #c4ab88; background: rgba(196, 171, 136, .16); color: #e6d4b6; }

/* 2. Analyse : un faisceau passe, chaque annonce est retenue ou écartée */
.pro-scan { gap: 8px; }
.pro-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px; border-radius: 6px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); }
.pro-row img { width: 46px; height: 32px; object-fit: cover; border-radius: 4px; }
.pro-row b { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pro-row em { font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 4px; animation: pro-verdict 6s var(--d) ease-out infinite both; }
.pro-row.ok em { background: rgba(76, 178, 124, .16); color: #7fd1a3; }
.pro-row.ok em::before { content: "✓ "; }
.pro-row.ko em { background: rgba(229, 115, 100, .14); color: #f19a8e; }
.pro-row.ko em::before { content: "✕ "; }
.pro-row.ko { animation: pro-dim 6s var(--d) ease-out infinite both; }
@keyframes pro-verdict { 0%, 18% { opacity: 0; transform: scale(.85); } 26%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes pro-dim { 0%, 26% { opacity: 1; } 34%, 92% { opacity: .45; } 100% { opacity: 1; } }
.pro-beam { position: absolute; left: 0; right: 0; height: 40px; top: -40px; background: linear-gradient(180deg, transparent, rgba(196, 171, 136, .18), transparent); animation: pro-beam 3s linear infinite; pointer-events: none; }
@keyframes pro-beam { from { top: -40px; } to { top: 100%; } }

/* 3. CRM : la fiche prospect arrive */
.pro-lead { background: #f5f6f5; border-color: #dfe3df; color: #202321; animation: pro-arrive 6s ease-out infinite both; }
.pro-lead-head { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 12px; align-items: center; }
.pro-lead-head img { width: 54px; height: 40px; object-fit: cover; border-radius: 4px; }
.pro-lead-head b { display: block; font-size: 14px; }
.pro-lead-head small { color: #58605d; font-size: 12px; }
.pro-lead-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.pro-lead-meta span { padding: 3px 9px; border-radius: 4px; background: #fff; border: 1px solid #dfe3df; font-size: 11.5px; color: #58605d; }
.pro-lead-meta .agent { background: #f3f1ec; border-color: rgba(144, 115, 76, .35); color: #735b3b; font-weight: 600; }
.pro-lead-status { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #202321; }
.pro-lead-status i { width: 8px; height: 8px; border-radius: 50%; background: #e59b46; box-shadow: 0 0 0 4px rgba(229, 155, 70, .18); }
@keyframes pro-arrive { 0%, 30% { opacity: 0; transform: translateY(14px); } 40%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.pro-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.pro-points div { padding-top: 16px; border-top: 1px solid #333834; display: grid; gap: 6px; }
.pro-points b { color: #f7f7f8; font-weight: 600; }
.pro-points span { color: rgba(247, 247, 248, .66); font-size: 15px; }
.pro-note { margin-top: 26px; text-align: center; font-size: 13.5px; color: rgba(247, 247, 248, .5); }
.pro-flow:not(.in) * { animation-play-state: paused !important; }
@media (max-width: 960px) {
  .pro-flow { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pro-link { padding: 0; height: 40px; }
  .pro-link span { width: 2px; height: 100%; background: repeating-linear-gradient(180deg, rgba(196, 171, 136, .5) 0 6px, transparent 6px 11px); }
  .pro-link span::after { display: none; }
  .pro-points { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .pro-flow *, .pro-flow *::after { animation: none !important; opacity: 1 !important; transform: none !important; }
  .pro-typed { width: auto; border: 0; }
}

/* ===== Page Services (refaite) ===== */
.svc-hero { padding-block: 100px 110px; }
.svc-builder { justify-self: end; width: min(440px, 100%); border-radius: 12px; padding: 22px; background: linear-gradient(180deg, rgba(42, 46, 43, .92), rgba(30, 33, 31, .92)); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8); display: grid; gap: 16px; animation: chip-in .8s .2s ease-out both; }
.svc-builder-head { display: grid; grid-template-columns: 40px minmax(0, 1fr) 46px; gap: 12px; align-items: center; }
.svc-builder-head img { width: 40px; height: auto; }
.svc-builder-head b { display: block; color: #fff; }
.svc-builder-head small { color: rgba(247, 247, 248, .55); font-size: 12px; }
.svc-pct { width: 46px; height: 46px; border-radius: 50%; background: conic-gradient(#c4ab88 var(--p, 0%), rgba(255, 255, 255, .08) 0); display: grid; place-items: center; animation: svc-fill 6s linear infinite; }
.svc-pct i { width: 36px; height: 36px; border-radius: 50%; background: #262a27; }
@property --p { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@keyframes svc-fill { 0% { --p: 0%; } 60%, 100% { --p: 100%; } }
.svc-builder ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.svc-builder li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 6px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); color: rgba(247, 247, 248, .85); font-size: 14px; }
.tog { position: relative; width: 34px; height: 20px; border-radius: 10px; background: #3a3f3b; flex-shrink: 0; animation: tog-bg 6s var(--d) ease-out infinite both; }
.tog::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; animation: tog-knob 6s var(--d) ease-out infinite both; }
@keyframes tog-bg { 0%, 4% { background: #3a3f3b; } 10%, 92% { background: #90734c; } 100% { background: #3a3f3b; } }
@keyframes tog-knob { 0%, 4% { transform: none; } 10%, 92% { transform: translateX(14px); } 100% { transform: none; } }
.svc-builder-foot { display: flex; justify-content: flex-end; }
.ready { padding: 4px 10px; border-radius: 4px; background: rgba(76, 178, 124, .16); color: #7fd1a3; font-size: 12.5px; font-weight: 600; animation: svc-ready 6s ease-out infinite both; }
@keyframes svc-ready { 0%, 58% { opacity: 0; } 64%, 94% { opacity: 1; } 100% { opacity: 0; } }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pillar { position: relative; overflow: hidden; display: grid; gap: 14px; align-content: start; padding: 30px; border-radius: 8px; background: #fff; border: 1px solid var(--line); transition: transform 240ms ease, box-shadow 240ms ease; }
.js .pillar.reveal.in:hover, .pillar:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(32, 35, 33, .35); }
.pillar-num { position: absolute; right: 22px; top: 14px; font-size: 64px; font-weight: 600; letter-spacing: -.04em; color: #f0ede6; line-height: 1; }
.pillar-ico { position: relative; width: 48px; height: 48px; border-radius: 8px; display: grid; place-items: center; background: #f3f1ec; color: var(--turq); }
.pillar-ico svg { width: 24px; height: 24px; }
.pillar h3 { position: relative; font-size: 24px; }
.pillar ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pillar li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; color: var(--ink-muted); font-size: 15px; }
.pillar li::before { content: ""; width: 14px; height: 14px; margin-top: 5px; border-radius: 50%; background: rgba(144, 115, 76, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2390734c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 9px no-repeat; }
@media (max-width: 900px) { .pillars { grid-template-columns: minmax(0, 1fr); } .svc-builder { justify-self: stretch; } }

/* Configurateur sur fond sombre : cartes claires */
.svc-config { background: #151716; }
.svc-config .q legend { color: #f7f7f8; }
.svc-config .q legend small { color: rgba(247, 247, 248, .6); }
.svc-config .result { background: #f5f6f5; color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.svc-config .result h3 { color: var(--ink); }
.svc-config .result p { color: var(--ink-muted); }
.svc-config .result li { color: var(--ink); }
.svc-config .result li::before { background-color: #90734c; background-image: 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='m6 12 4 4 8-8'/%3E%3C/svg%3E"); }
.svc-config .result .pack { background: #f3f1ec; color: #735b3b; }
.svc-config .result .btn-primary { background: var(--ink); color: #fff; }
.svc-config .result strong { color: var(--ink) !important; }

/* Mise en route : frise avec ligne qui se remplit */
.timeline { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.timeline::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: var(--line); }
.timeline::after { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: linear-gradient(90deg, #90734c, #c4ab88); transform-origin: left; transform: scaleX(0); transition: transform 1.6s cubic-bezier(.2, .8, .2, 1) .2s; }
.timeline.in::after { transform: scaleX(1); }
.timeline li { position: relative; display: grid; gap: 10px; align-content: start; }
.t-dot { position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid #90734c; color: #90734c; font-weight: 600; }
.timeline h3 { font-size: 19px; margin-top: 6px; }
.timeline p { color: var(--ink-muted); font-size: 15px; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .timeline::before, .timeline::after { left: 22px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .timeline::after { transform-origin: top; transform: scaleY(0); }
  .timeline.in::after { transform: scaleY(1); }
  .timeline li { grid-template-columns: 46px minmax(0, 1fr); column-gap: 18px; }
  .timeline li > :not(.t-dot) { grid-column: 2; }
  .timeline h3 { margin-top: 10px; }
}

/* Questions : deux colonnes */
.svc-faq { padding-top: 0; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.faq-layout .section-head { margin-bottom: 0; }
.faq-layout .faq { margin: 0; max-width: none; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
@media (prefers-reduced-motion: reduce) { .svc-builder *, .svc-pct { animation: none !important; } .tog { background: #90734c; } .tog::after { transform: translateX(14px); } .ready { opacity: 1; } .timeline::after { transition: none; } }

/* Sécurité : icône « base sécurisée » fournie (remplace le cylindre dessiné) */
.vault-db { position: relative; justify-self: center; width: auto; height: auto; display: grid; justify-items: center; gap: 10px; padding-bottom: 0; }
.vault-db span { display: none; }
.vault-db img { width: 150px; height: auto; filter: drop-shadow(0 0 18px rgba(196, 171, 136, .25)); animation: db-glow 4s ease-in-out infinite; }
.vault-db b { font-size: 12.5px; color: #d8c3a2; }
@keyframes db-glow { 0%, 100% { filter: drop-shadow(0 0 10px rgba(196, 171, 136, .15)); } 50% { filter: drop-shadow(0 0 24px rgba(196, 171, 136, .4)); } }
@media (prefers-reduced-motion: reduce) { .vault-db img { animation: none; } }

/* Page Démo : en-tête clair, titre en noir, sans bandeau photo */
.demo-head { padding-block: 72px 8px; background: var(--paper); }
.demo-head .wrap { display: grid; gap: 16px; }
.demo-head h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; color: var(--ink); font-weight: 600; max-width: 18ch; }
.demo-head .lead { color: var(--ink-muted); }
.svc-config .choice { color: var(--ink); }
.svc-config .choice span { color: var(--ink-muted); }

/* ===== Ce qui nous démarque : point fort prospection + tableau comparatif ===== */
.edge { background: var(--paper); }
.edge-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; overflow: hidden; border-radius: 12px; background: #1b1e1c; color: #f7f7f8; box-shadow: 0 50px 100px -50px rgba(20, 22, 21, .6); margin-bottom: 40px; }
.edge-hero-copy { padding: 44px; display: grid; gap: 18px; align-content: center; }
.edge-badge { width: fit-content; padding: 5px 12px; border-radius: 4px; background: rgba(196, 171, 136, .16); color: #e6d4b6; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.edge-hero-copy h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; }
.edge-hero-copy p { color: rgba(247, 247, 248, .75); }
.edge-hero-copy .btn-primary { width: fit-content; background: #fff; color: var(--ink); }
.edge-hero-visual { padding: 34px; background: radial-gradient(ellipse 70% 70% at 70% 30%, rgba(196, 171, 136, .16), transparent 70%), #151716; display: grid; align-content: center; }
.edge-vs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.edge-col { display: grid; gap: 12px; align-content: start; padding: 18px; border-radius: 8px; border: 1px solid #333834; }
.edge-col small { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(247, 247, 248, .55); }
.edge-col.old ol { margin: 0; padding-left: 18px; display: grid; gap: 7px; color: rgba(247, 247, 248, .6); font-size: 13px; }
.edge-col.old li { animation: edge-strike 6s ease-in-out infinite; }
.edge-col.old li:nth-child(2) { animation-delay: .3s; } .edge-col.old li:nth-child(3) { animation-delay: .6s; } .edge-col.old li:nth-child(4) { animation-delay: .9s; } .edge-col.old li:nth-child(5) { animation-delay: 1.2s; }
@keyframes edge-strike { 0%, 40% { text-decoration-color: transparent; opacity: 1; } 55%, 100% { text-decoration: line-through; text-decoration-color: rgba(229, 115, 100, .7); opacity: .45; } }
.edge-col.new { border-color: #5b5141; background: rgba(196, 171, 136, .06); }
.edge-auto { display: grid; justify-items: center; gap: 8px; padding: 18px 10px; text-align: center; }
.edge-spin { width: 54px; height: 54px; border-radius: 50%; border: 3px solid rgba(196, 171, 136, .2); border-top-color: #c4ab88; animation: edge-spin 1.4s linear infinite; }
@keyframes edge-spin { to { transform: rotate(360deg); } }
.edge-auto b { font-size: 18px; color: #fff; }
.edge-auto em { font-style: normal; font-size: 12.5px; color: rgba(247, 247, 248, .65); }
.edge-time { font-size: 12px; color: #f19a8e; }
.edge-time.ok { color: #7fd1a3; }

.edge-table { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.edge-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); align-items: center; border-top: 1px solid var(--line); }
.edge-row:first-child { border-top: 0; }
.edge-row > span { padding: 16px 22px; min-width: 0; }
.edge-row b { display: block; font-weight: 600; }
.edge-row small { color: var(--ink-muted); font-size: 13.5px; }
.edge-row.head { background: #f5f6f5; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-muted); }
.edge-row.head .c { color: #735b3b; font-weight: 600; }
.edge-row .c { background: rgba(144, 115, 76, .06); align-self: stretch; display: flex; align-items: center; font-weight: 600; }
.edge-row .c.yes::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-right: 10px; border-radius: 50%; background: #2f6b4a 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='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.edge-row .g { color: var(--ink-muted); font-size: 14.5px; }
.edge-row.star { background: linear-gradient(90deg, rgba(196, 171, 136, .14), rgba(196, 171, 136, 0) 70%); }
.edge-row.star b::after { content: "Point fort"; margin-left: 10px; padding: 2px 8px; border-radius: 4px; background: #202321; color: #e6d4b6; font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; vertical-align: middle; }
.edge-note { margin-top: 14px; font-size: 13px; color: var(--ink-muted); text-align: center; }
.edge-hero-visual:not(.in) *, .edge-hero:not(.in) .edge-hero-visual * { animation-play-state: paused; }
@media (max-width: 900px) {
  .edge-hero { grid-template-columns: minmax(0, 1fr); }
  .edge-hero-copy { padding: 30px 26px; }
}
@media (max-width: 640px) {
  .edge-vs { grid-template-columns: minmax(0, 1fr); }
  .edge-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .edge-row > span:first-child { grid-column: 1 / -1; padding-bottom: 6px; }
  .edge-row > span.c, .edge-row > span.g { padding-top: 8px; font-size: 13.5px; }
  .edge-row.head > span:first-child { display: none; }
}
@media (prefers-reduced-motion: reduce) { .edge * { animation: none !important; } }

/* ===== Pages séparées : intro claire, cartes « Explorer » (accueil), fin de page Prospection ===== */
.page-intro { padding-block: 80px 24px; }
.page-intro .eyebrow { color: var(--ink-muted); }
.explore { background: #151716; }
.explore-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.explore-card { display: grid; grid-template-rows: 190px auto; overflow: hidden; border-radius: 10px; background: #232624; border: 1px solid #353a36; color: #f7f7f8; text-decoration: none; transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease; }
.explore-card:hover, .js .explore-card.reveal.in:hover { transform: translateY(-4px); border-color: #5b5141; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.explore-card > img { width: 100%; height: 190px; object-fit: cover; object-position: top left; }
.explore-icon { display: grid; place-items: center; height: 190px; background: radial-gradient(circle at 50% 50%, rgba(196, 171, 136, .14), transparent 65%), #1b1e1c; }
.explore-icon img { width: 130px; height: auto; }
.explore-card > div { padding: 22px 24px 26px; display: grid; gap: 8px; }
.explore-card h3 { font-size: 20px; }
.explore-card p { color: rgba(247, 247, 248, .7); font-size: 15px; }
.explore-go { margin-top: 6px; color: #d8c3a2; font-weight: 600; font-size: 14.5px; }
@media (max-width: 900px) { .explore-grid { grid-template-columns: minmax(0, 1fr); } }
.pro-end { padding-block: 80px; }
.pro-end-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 34px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.pro-end h2 { font-size: clamp(24px, 3vw, 32px); }
.pro-end p { color: var(--ink-muted); margin-top: 6px; }
.btn-ghost-dark { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost-dark:hover { border-color: #bfc6c0; }

/* ===== Ce qui nous démarque : automatisations en tête de l'accueil ===== */
.hero-auto li { font-weight: 600; }
.hero-auto li::before { content: "" !important; width: 8px; height: 8px; border-radius: 50%; background: #c4ab88; box-shadow: 0 0 0 4px rgba(196, 171, 136, .18); }
.auto-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 40px; }
.auto-card { position: relative; display: grid; gap: 12px; align-content: start; padding: 28px 24px; border-radius: 10px; background: #1b1e1c; border: 1px solid #333834; color: #f7f7f8; text-decoration: none; transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease; }
.auto-card:hover, .js .auto-card.reveal.in:hover { transform: translateY(-4px); border-color: #5b5141; box-shadow: 0 30px 60px -30px rgba(20, 22, 21, .6); }
.auto-card.star { background: radial-gradient(ellipse 80% 60% at 20% 0%, rgba(196, 171, 136, .22), transparent 70%), #1b1e1c; border-color: #5b5141; }
.auto-tag { position: absolute; top: 16px; right: 16px; padding: 3px 9px; border-radius: 4px; background: #c4ab88; color: #202321; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.auto-ico { position: relative; width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; background: rgba(196, 171, 136, .14); color: #d8c3a2; }
.auto-ico svg { width: 24px; height: 24px; }
.auto-ping { position: absolute; inset: 0; border-radius: 10px; border: 2px solid #c4ab88; animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.45); } }
.auto-card h3 { font-size: 20px; }
.auto-card p { color: rgba(247, 247, 248, .72); font-size: 15px; }
.auto-go { color: #d8c3a2; font-weight: 600; font-size: 14.5px; margin-top: 4px; }
@media (max-width: 1080px) { .auto-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .auto-grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .auto-ping { animation: none; opacity: 0; } }

/* ===== Contact : page refaite ===== */
.ct { position: relative; overflow: hidden; padding-block: 96px 110px; background: var(--paper); color: var(--ink); }
.ct-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 15% 20%, rgba(196, 171, 136, .22), transparent 70%), radial-gradient(ellipse 45% 55% at 90% 85%, rgba(15, 118, 110, .08), transparent 70%); }
.ct-layout { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.ct-copy { display: grid; gap: 24px; padding-top: 12px; }
.ct .eyebrow { color: #735b3b; }
.ct h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.02; font-weight: 600; }
.ct h1 em { font-style: normal; background: linear-gradient(90deg, #a8865a, #735b3b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ct .lead { color: var(--ink-muted); max-width: 46ch; }
.ct-steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; }
.ct-steps li { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding-bottom: 22px; }
.ct-steps li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 38px; bottom: 4px; width: 1px; background: linear-gradient(#c4ab88, transparent); }
.ct-steps span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #c4ab88; background: #fff; color: #735b3b; font-weight: 600; font-size: 14px; }
.ct-steps b { display: block; font-weight: 600; margin-top: 6px; }
.ct-steps small { display: block; color: var(--ink-muted); font-size: 14.5px; margin-top: 2px; }
.ct-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ct-link { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; transition: border-color 200ms ease, transform 200ms ease; }
.ct-link:hover { border-color: #c4ab88; transform: translateY(-2px); }
.ct-link svg { flex-shrink: 0; width: 22px; height: 22px; color: #90734c; }
.ct-link div { flex: 1; min-width: 0; }
.ct-link b { display: block; font-size: 15px; font-weight: 600; }
.ct-link small { display: block; color: var(--ink-muted); font-size: 13px; line-height: 1.4; }
.ct-link i { font-style: normal; color: #90734c; }
.ct-form { position: relative; display: grid; gap: 20px; padding: 36px; border-radius: 14px; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 50px 100px -50px rgba(20, 22, 21, .35); }
.ct-form-head h2 { font-size: 26px; font-weight: 600; }
.ct-form-head p { color: var(--ink-muted); margin-top: 4px; font-size: 15px; }
.ct-form .field label small { font-weight: 400; color: var(--ink-muted); }
.ct-choice { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.ct-choice legend { width: 100%; padding: 0; margin-bottom: 8px; font-weight: 600; font-size: 14.5px; }
.ct-choice label { position: relative; cursor: pointer; }
.ct-choice input { position: absolute; opacity: 0; pointer-events: none; }
.ct-choice span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14.5px; font-weight: 500; transition: background 160ms ease, border-color 160ms ease, color 160ms ease; }
.ct-choice label:hover span { border-color: #bfc6c0; }
.ct-choice input:checked + span { background: #202321; border-color: #202321; color: #fff; }
.ct-choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(144, 115, 76, .35); }
.ct-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.ct-seg legend { grid-column: 1 / -1; }
.ct-seg span { display: block; text-align: center; border-radius: 0; margin-left: -1px; }
.ct-seg label:first-of-type span { border-radius: 6px 0 0 6px; margin-left: 0; }
.ct-seg label:last-of-type span { border-radius: 0 6px 6px 0; }
.ct-seg input:checked + span { position: relative; z-index: 1; background: rgba(144, 115, 76, .1); border-color: #90734c; color: #5e4a2f; }
.ct-submit { width: 100%; justify-content: center; padding-block: 15px; }
@media (max-width: 960px) { .ct-layout { grid-template-columns: minmax(0, 1fr); gap: 44px; } }
@media (max-width: 560px) {
  .ct { padding-block: 64px 72px; }
  .ct-form { padding: 24px 20px; }
  .ct-links { grid-template-columns: minmax(0, 1fr); }
  .ct-seg span { padding-inline: 6px; font-size: 13.5px; }
}
