/* BRIQ, Gennevilliers · landing page
   Charte BRIQ transmise par OODID le 21/09/2026 (sources/identite/) : jaune #F4BC41, bleu #1D7FAA, noir #1D1D1B,
   logo en blocs (version blanche sur les fonds sombres). Typographie Outfit en attendant les polices de la charte (HYPOTHESE H5). */

@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/outfit-variable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #FFFFFF;
  --paper: #FFFFFF;
  --sand: #F4F7FB;
  --mist: #EEF3FA;
  --ink: #0E1726;
  --ink-2: #4A5568;
  --ink-3: #646D7F;
  --blue: #1D7FAA;          /* bleu de l'accroche, pour les grands textes sur fond clair */
  --slate: #18729A;         /* meme bleu un ton plus fonce, lisible en petit texte (5,4:1 sur blanc) */
  --slate-deep: #0F4C68;
  --slate-soft: #E6F2F8;
  --brand: #F4BC41;         /* jaune BRIQ */
  --brand-deep: #E5A62B;
  --brand-soft: #FEF3D8;
  --brand-ink: #1D1D1B;     /* noir de la charte, texte sur le jaune */
  --navy: #0E1726;
  --navy-grad: linear-gradient(160deg, #15305A 0%, #0E1726 100%);
  --line: rgba(14, 23, 38, .09);
  --line-strong: rgba(14, 23, 38, .16);
  --glass: rgba(255, 255, 255, .1);
  --glass-line: rgba(255, 255, 255, .22);

  --f: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --shadow-1: 0 1px 2px rgba(14,23,38,.05), 0 10px 30px -14px rgba(14,23,38,.16);
  --shadow-2: 0 2px 6px rgba(14,23,38,.06), 0 40px 80px -32px rgba(14,23,38,.34);
  --shadow-brand: 0 14px 30px -14px rgba(196,138,20,.7);

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 44px);
  --section: clamp(84px, 11vw, 150px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; font-family: var(--f); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--brand); color: var(--brand-ink); }
:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; border-radius: 6px; }
.header :focus-visible, .hero :focus-visible, .city :focus-visible, .recap :focus-visible, .footer :focus-visible, .types :focus-visible, .plus :focus-visible, .mobile-bar :focus-visible { outline-color: var(--brand); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }

/* ---------- Typographie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--slate);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); transform: rotate(45deg); }
.h2 {
  font-weight: 600; font-size: clamp(34px, 5vw, 64px); line-height: 1.02; letter-spacing: -.045em;
  margin: 18px 0 0; text-wrap: balance;
}
.h2 em { font-style: normal; color: var(--blue); }
.lead { font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.6; color: var(--ink-2); max-width: 58ch; margin: 22px 0 0; text-wrap: pretty; }
.sec-head { max-width: 820px; }
.small { font-size: 13px; color: var(--ink-3); line-height: 1.5; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 16px; letter-spacing: -.01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .3s, box-shadow .35s var(--ease), color .3s, border-color .3s;
}
.btn:has(.btn-ico) { padding: 0 9px 0 26px; }
.btn-ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); transition: transform .45s var(--ease), background-color .3s; }
.btn-ico svg { width: 17px; height: 17px; }
.btn:hover .btn-ico { transform: translateX(3px) rotate(-45deg); }
.btn-lg { min-height: 62px; font-size: 17px; }
.btn-lg:has(.btn-ico) { padding-left: 30px; }
.btn-lg .btn-ico { width: 44px; height: 44px; }
.btn-sm { min-height: 44px; font-size: 15px; padding: 0 20px; }
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: var(--shadow-brand); }
.btn-primary .btn-ico { background: rgba(29,29,27,.1); }
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-2px); box-shadow: 0 20px 36px -16px rgba(196,138,20,.75); }
.btn-primary:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-glass { background: var(--glass); color: #fff; border-color: var(--glass-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.2); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-line .btn-ico { background: var(--ink); color: #fff; }
.btn-line:hover { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white .btn-ico { background: var(--brand); color: var(--brand-ink); }
.btn-white:hover { transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- En-tete ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff; transition: background-color .4s, box-shadow .4s, color .4s, transform .5s var(--ease); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 84px; transition: height .4s var(--ease); }
.header.is-solid { background: rgba(11,26,51,.84); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 rgba(255,255,255,.08); color: #fff; }
.header.is-solid .header-in { height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-logo { display: block; height: 48px; width: auto; transition: height .4s var(--ease); }
.header.is-solid .brand-logo { height: 40px; }
.brand-name { font-weight: 700; font-size: 26px; letter-spacing: .14em; line-height: 1; }
.brand-by { font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.header-nav { display: flex; align-items: center; gap: 30px; }
.nav-link { position: relative; text-decoration: none; font-size: 15px; font-weight: 500; opacity: .88; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-link:hover { opacity: 1; }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.header-tel { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 15px; }
.header-tel svg { width: 16px; height: 16px; }
.tel-cta { display: none; }
@media (max-width: 1080px) { .nav-link { display: none; } }
@media (max-width: 640px) {
  .header-in { height: 68px; }
  .btn-header, .brand-by, .tel-num { display: none; }
  .tel-cta { display: inline; }
  .header-tel { height: 44px; padding: 0 18px 0 15px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); color: #fff; font-size: 15px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .header-tel svg { width: 17px; height: 17px; }
}

/* ---------- Hero centre ---------- */
.hero { position: relative; min-height: clamp(560px, 100svh, 1080px); display: flex; align-items: center; color: #fff; isolation: isolate; overflow: hidden; background: var(--navy); }
.hero-media { position: absolute; inset: -6% 0 0 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: scale(1.08); animation: heroZoom 2.4s var(--ease) forwards; will-change: transform; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 60% at 50% 55%, rgba(8,15,28,.62) 0%, rgba(8,15,28,.2) 70%),
    linear-gradient(180deg, rgba(8,15,28,.62) 0%, rgba(8,15,28,.1) 26%, rgba(8,15,28,.18) 60%, rgba(8,15,28,.86) 100%);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--noise); opacity: .7; pointer-events: none; }
.hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: clamp(92px, 14vh, 150px) clamp(28px, 5vh, 70px); }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  padding: 9px 18px 9px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 14px; font-weight: 500; letter-spacing: .01em;
  opacity: 0; animation: fadeUp .9s .1s var(--ease) forwards;
}
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 4px rgba(61,220,132,.22); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(61,220,132,.08); } }
.hero h1 {
  font-weight: 600; font-size: clamp(48px, min(8.6vw, 12vh), 124px); line-height: .96; letter-spacing: -.055em;
  margin: clamp(16px, 3vh, 26px) 0 0; text-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .02em .12em; margin-bottom: -.12em; }
.hero h1 .w > span { display: inline-block; transform: translateY(110%); animation: wordUp 1.1s var(--ease) forwards; }
.hero h1 .w:nth-child(2) > span { animation-delay: .09s; }
.hero h1 .w:nth-child(4) > span { animation-delay: .18s; }
.hero h1 em { font-style: normal; background: linear-gradient(95deg, #FFE3A3 0%, #F9CD66 55%, #F4BC41 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
@keyframes wordUp { to { transform: translateY(0); } }
.hero-sub { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; max-width: 44ch; margin: clamp(14px, 2.6vh, 26px) auto 0; color: rgba(255,255,255,.86); opacity: 0; animation: fadeUp 1s .45s var(--ease) forwards; text-wrap: balance; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(20px, 4vh, 36px); opacity: 0; animation: fadeUp 1s .55s var(--ease) forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(24px, 5vh, 64px) 0 0; width: min(940px, 100%);
  border-radius: var(--r-lg); background: rgba(10,18,34,.38); border: 1px solid var(--glass-line);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  opacity: 0; animation: fadeUp 1s .75s var(--ease) forwards; overflow: hidden;
}
.hero-facts > div { padding: 20px 18px; border-left: 1px solid var(--glass-line); }
.hero-facts > div:first-child { border-left: 0; }
.hero-facts dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.hero-facts dd { margin: 4px 0 0; font-size: 24px; font-weight: 600; letter-spacing: -.035em; line-height: 1.2; white-space: nowrap; }
.hero-facts dd small { display: block; font-size: 12.5px; font-weight: 400; letter-spacing: 0; color: rgba(255,255,255,.62); }
@media (max-width: 860px) {
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .hero-facts > div:nth-child(3) { border-left: 0; }
  .hero-facts > div:nth-child(n+3) { border-top: 1px solid var(--glass-line); }
}
@media (max-width: 640px) {
  .hero { min-height: auto; }
  .hero-in { padding-block: 96px 44px; }
  .hero::before { background: radial-gradient(70% 60% at 50% 55%, rgba(8,15,28,.62) 0%, rgba(8,15,28,.2) 70%), linear-gradient(180deg, rgba(8,15,28,.66) 0%, rgba(8,15,28,.46) 26%, rgba(8,15,28,.3) 60%, rgba(8,15,28,.86) 100%); }
  .hero h1 em { background-image: linear-gradient(95deg, #FFE3A3 0%, #F9CD66 55%, #F4BC41 100%); }
  .hero h1 { margin-top: 18px; }
  .hero-sub { margin-top: 18px; }
  .hero-ctas { margin-top: 28px; }
  .hero h1 { font-size: clamp(44px, 12.5vw, 60px); }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-facts { margin-top: 36px; }
  .hero-facts dd { font-size: 20px; }
  .hero-facts > div { padding: 16px 14px; text-align: left; }
}

/* ---------- Bandeau defilant ---------- */
.marquee { position: relative; background: var(--navy); color: #fff; overflow: hidden; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.08); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-row { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.marquee-row span { font-size: clamp(22px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.035em; white-space: nowrap; }
.marquee-row i { width: 12px; height: 12px; border-radius: 3px; background: var(--brand); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Loyer / mensualite ---------- */
.switch { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.switch-text .btn { margin-top: 34px; }
@media (max-width: 900px) { .switch { grid-template-columns: 1fr; } }

/* Animation locataire -> proprietaire : un immeuble qui se construit brique par brique */
.journey { position: relative; border-radius: var(--r-xl); padding: 26px 26px 24px; background: var(--navy-grad); color: #fff; overflow: hidden; box-shadow: var(--shadow-2); }
.journey::after { content: ""; position: absolute; inset: 0; background: var(--noise); opacity: .6; pointer-events: none; }
.journey > * { position: relative; z-index: 1; }
.jr-top { display: flex; justify-content: center; }
.jr-toggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.jr-opt { position: relative; z-index: 1; border: 0; background: none; color: rgba(255,255,255,.7); font-weight: 600; font-size: 15px; letter-spacing: -.01em; padding: 10px 22px; border-radius: 999px; transition: color .4s; }
.journey[data-state="locataire"] .jr-opt[data-k="locataire"], .journey[data-state="proprio"] .jr-opt[data-k="proprio"] { color: #fff; }
.jr-thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: rgba(255,255,255,.14); transition: transform .7s var(--ease), background-color .5s; }
.journey[data-state="proprio"] .jr-thumb { transform: translateX(100%); background: var(--brand); }
.journey[data-state="proprio"] .jr-opt[data-k="proprio"] { color: var(--brand-ink); }
.jr-scene { margin: 18px auto 16px; max-width: 420px; }
.jr-svg { display: block; width: 100%; height: auto; overflow: visible; }
.jr-ground { fill: rgba(255,255,255,.18); }
.jr-b { fill: rgba(255,255,255,.05); stroke: rgba(255,255,255,.13); stroke-width: 1; transition: fill .4s var(--ease), stroke .4s; transition-delay: calc((91 - var(--i)) * 6ms); }
/* Cote proprietaire : briques blanches cernees de jaune et fenetres allumees en jaune, comme les blocs du logo BRIQ */
.journey[data-state="proprio"] .jr-b { stroke: #F4BC41; stroke-width: 1.2; transition-delay: calc(var(--i) * 24ms); }
.journey[data-state="proprio"] .jr-b.t0 { fill: #FFFFFF; }
.journey[data-state="proprio"] .jr-b.t1 { fill: #F8F6F0; }
.journey[data-state="proprio"] .jr-b.t2 { fill: #EFECE4; }
.jr-glass { fill: #0B1A33; stroke: rgba(255,255,255,.22); stroke-width: 1; transition: fill .5s var(--ease), stroke .5s; }
.jr-sill { fill: rgba(255,255,255,.22); transition: fill .5s; }
.journey[data-state="proprio"] .jr-glass { fill: #F4BC41; stroke: #E5A62B; transition-delay: calc(2.3s + var(--w) * 90ms); }
.journey[data-state="proprio"] .jr-sill { fill: #E5A62B; transition-delay: calc(2.3s + var(--w) * 90ms); }
.jr-door { fill: rgba(255,255,255,.07); stroke: rgba(255,255,255,.25); transition: fill .6s var(--ease); }
.journey[data-state="proprio"] .jr-door { fill: #1D7FAA; stroke: #F4BC41; transition-delay: 2.2s; }
.jr-roof { fill: rgba(255,255,255,.14); transition: fill .6s var(--ease); }
.journey[data-state="proprio"] .jr-roof { fill: #fff; transition-delay: 2.1s; }
.journey[data-state="locataire"] .jr-b { animation: brickHint 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * 28ms); }
@keyframes brickHint { 0%, 100% { stroke: rgba(255,255,255,.13); } 18% { stroke: rgba(244,188,65,.85); } 40% { stroke: rgba(255,255,255,.13); } }
.jr-badge { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .7s var(--ease); }
.jr-badge rect { fill: #fff; }
.jr-badge circle { fill: #0E8A4A; }
.jr-badge text { font: 600 13.5px var(--f); fill: #0E1726; letter-spacing: -.01em; }
.journey[data-state="proprio"] .jr-badge { opacity: 1; transform: none; transition-delay: 3.4s; }
.jr-bottom { display: grid; }
.jr-cap { grid-area: 1 / 1; margin: 0; text-align: center; font-size: 17px; line-height: 1.45; color: rgba(255,255,255,.85); transition: opacity .25s, transform .45s var(--ease); }
.jr-cap b { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 4px; }
.jr-cap-pro { opacity: 0; transform: translateY(8px); }
.journey[data-state="proprio"] .jr-cap-loc { opacity: 0; transform: translateY(-8px); }
.journey[data-state="proprio"] .jr-cap-pro { opacity: 1; transform: none; transition-delay: .3s; }
.journey[data-state="locataire"] .jr-cap-loc { transition-delay: .3s; }
.jr-meter { grid-area: 2 / 1; display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.62); }
.jr-meter span { flex: none; }
.jr-track { flex: 1; height: 8px; border-radius: 8px; background: rgba(255,255,255,.1); overflow: hidden; }
.jr-track i { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, #FCE3A6, #F4BC41); transition: width .4s var(--ease); }
.journey[data-state="proprio"] .jr-track i { width: 100%; transition: width 2.6s cubic-bezier(.45,.05,.3,1) .2s; }
@media (max-width: 520px) { .journey { padding: 20px 16px 20px; } .jr-opt { padding: 9px 16px; font-size: 14px; } .jr-cap { font-size: 15.5px; } }

/* ---------- Simulateur ---------- */
.sim-section { background: radial-gradient(60% 50% at 0% 0%, #FDEFC9 0%, rgba(253,239,201,0) 70%), radial-gradient(55% 55% at 100% 100%, #DDEEF5 0%, rgba(221,238,245,0) 70%), var(--sand); }
.sim-head { text-align: center; max-width: 780px; margin: 0 auto; }
.sim-head .lead { margin-inline: auto; }
.sim-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; max-width: 1080px; margin: 56px auto 0; align-items: start; }
.sim-card { background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-2); overflow: hidden; }
.sim-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 26px 34px 0; }
.sim-progress span { height: 5px; border-radius: 5px; background: var(--slate-soft); overflow: hidden; position: relative; }
.sim-progress span::after { content: ""; position: absolute; inset: 0; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.sim-progress span.on::after { transform: scaleX(1); }
.sim-steps-label { display: flex; justify-content: space-between; padding: 12px 34px 0; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.sim-body { padding: 26px 34px 34px; }
.sim-body fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.sim-body legend { padding: 0; }
.sim-step { display: none; animation: stepIn .5s var(--ease); }
.sim-step.is-active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.sim-q { font-size: clamp(26px, 3vw, 34px); font-weight: 600; line-height: 1.15; letter-spacing: -.04em; margin: 0 0 8px; }
.sim-help { margin: 0 0 24px; color: var(--ink-2); font-size: 15.5px; }
.field { margin-top: 24px; }
.field > label, .field > .label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.field .hint { font-weight: 400; color: var(--ink-3); font-size: 13.5px; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choices.choices-6 { grid-template-columns: repeat(6, 1fr); }
.choices.wide { grid-template-columns: repeat(2, 1fr); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; z-index: 1; margin: 0; }
.choice span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center;
  min-height: 70px; padding: 10px 12px; border-radius: 16px; border: 1.5px solid var(--line-strong); background: #fff;
  font-weight: 600; font-size: 18px; letter-spacing: -.02em;
  transition: border-color .25s, background-color .25s, color .25s, transform .3s var(--ease), box-shadow .3s;
}
.choice span small { font-weight: 400; font-size: 12.5px; letter-spacing: 0; color: var(--ink-3); }
.choice:hover span { border-color: var(--ink-3); transform: translateY(-2px); }
.choice input:checked + span { border-color: var(--brand-deep); background: var(--brand-soft); color: var(--ink); box-shadow: 0 0 0 4px rgba(244,188,65,.25); }
.choice input:checked + span small { color: var(--ink-2); }
.choice input:focus-visible + span { outline: 2px solid var(--slate); outline-offset: 2px; }
.input { width: 100%; min-height: 58px; padding: 0 18px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: #fff; font-size: 17px; transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: none; border-color: var(--slate); box-shadow: 0 0 0 4px rgba(24,114,154,.14); }
.input-euro { position: relative; }
.input-euro .input { padding-right: 44px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.input-euro::after { content: "€"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-weight: 600; pointer-events: none; }
.input-euro.per-month::after { content: "€/mois"; }
.input-euro.per-month .input { padding-right: 90px; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--brand) var(--p, 10%), var(--slate-soft) var(--p, 10%)); outline: none; margin: 14px 0 4px; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--brand-deep); box-shadow: 0 4px 12px rgba(14,23,38,.2); cursor: grab; }
.range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--brand-deep); cursor: grab; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--slate); }
.range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--slate); }
.range-out { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; color: var(--ink-3); margin-top: 8px; }
.range-out b { color: var(--ink); font-size: 22px; letter-spacing: -.03em; }
.toggle-link { background: none; border: 0; padding: 0; margin-top: 12px; color: var(--slate); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; font-weight: 500; }
.sim-nav { display: grid; gap: 10px; margin-top: 32px; }
.sim-nav[hidden] { display: none; }
.sim-nav .btn-back { order: 2; justify-self: center; background: none; border: 0; color: var(--ink-2); cursor: pointer; font-weight: 600; padding: 8px 12px; }
.sim-nav .btn-back[hidden] { display: none; }
.sim-nav .btn { width: 100%; min-height: 60px; font-size: 17px; }
#simResult .btn { width: 100%; }
.field-error { color: #B42318; font-size: 14px; font-weight: 500; margin-top: 12px; }

.sim-aside { display: grid; gap: 14px; position: sticky; top: 96px; }
.recap { background: var(--navy-grad); color: #fff; border-radius: var(--r-lg); padding: 26px; position: relative; overflow: hidden; box-shadow: var(--shadow-2); }
.recap::after { content: ""; position: absolute; inset: 0; background: var(--noise); opacity: .6; pointer-events: none; }
.recap-title { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.recap ul { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
.recap li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 14.5px; }
.recap li:first-child { border-top: 0; padding-top: 0; }
.recap li span { color: rgba(255,255,255,.6); }
.recap li b { font-weight: 500; text-align: right; color: rgba(255,255,255,.6); transition: color .3s; }
.recap li b.is-set { color: #fff; font-weight: 600; }
.reassure { list-style: none; margin: 0; padding: 20px 22px; background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.9); border-radius: var(--r-lg); display: grid; gap: 14px; backdrop-filter: blur(8px); }
.reassure li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.reassure svg { flex: none; width: 20px; height: 20px; color: var(--slate); margin-top: 1px; }
.reassure b { color: var(--ink); font-weight: 600; }
@media (max-width: 980px) { .sim-layout { grid-template-columns: 1fr; } .sim-aside { position: static; grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .sim-aside { grid-template-columns: 1fr; }
  .recap { display: none; }
  .choices.choices-6 { grid-template-columns: repeat(3, 1fr); }
  .sim-body { padding: 22px 20px 26px; }
  .sim-progress, .sim-steps-label { padding-inline: 20px; }
}

.verdict { display: grid; gap: 12px; margin-bottom: 26px; }
.verdict-row { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: var(--sand); }
.verdict-row .ico { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.verdict-row .ico svg { width: 18px; height: 18px; }
.verdict-row.ok .ico { background: #D9F5E6; color: #0E8A4A; }
.verdict-row.ko .ico { background: var(--slate-soft); color: var(--slate-deep); }
.verdict-row b { display: block; font-size: 16.5px; letter-spacing: -.01em; }
.verdict-row p { margin: 3px 0 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.form-grid label.consent { display: flex; font-weight: 400; }
.consent { gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; margin-top: 4px; }
.consent input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--slate); flex: none; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.result-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 8px 0 18px; }
.result-tile { padding: 20px; border-radius: 18px; background: var(--sand); }
.result-tile.hl { background: var(--navy-grad); color: #fff; }
.result-tile small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.result-tile.hl small { color: var(--brand); }
.result-tile strong { display: block; font-weight: 600; font-size: 32px; letter-spacing: -.045em; line-height: 1.1; margin-top: 6px; font-variant-numeric: tabular-nums; }
.result-tile span { font-size: 13.5px; color: var(--ink-2); line-height: 1.4; display: block; margin-top: 4px; }
.result-tile.hl span { color: rgba(255,255,255,.72); }
.result-note { font-size: 14px; color: var(--ink-2); line-height: 1.55; margin: 16px 0 18px; }
@media (max-width: 520px) { .result-grid { grid-template-columns: 1fr; } }

/* ---------- Aides : grille modulaire ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 60px; }
.bento-card { position: relative; border-radius: var(--r-lg); padding: 34px 32px; background: var(--sand); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.b-tva, .b-ptz { grid-column: span 3; }
.b-notaire, .b-plus, .b-cta { grid-column: span 2; }
.b-cta { background: var(--brand); color: var(--brand-ink); border: 0; justify-content: flex-end; }
.b-cta :focus-visible { outline-color: var(--brand-ink); }
.b-cta .btn-white .btn-ico { background: var(--brand-ink); color: #fff; }
.b-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.b-label { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.b-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #0E7A42; background: #D9F5E6; padding: 6px 12px 6px 8px; border-radius: 999px; }
.b-badge svg { width: 16px; height: 16px; }
.b-visual { display: flex; align-items: baseline; gap: 18px; margin: 26px 0 8px; }
.b-big { font-size: clamp(72px, 9vw, 124px); font-weight: 600; letter-spacing: -.065em; line-height: .9; color: var(--blue); }
.b-old { font-size: clamp(32px, 3.6vw, 46px); font-weight: 500; letter-spacing: -.04em; color: var(--ink-3); position: relative; }
.b-old::after { content: ""; position: absolute; left: -6%; right: -6%; top: 52%; height: 3px; border-radius: 3px; background: var(--ink-2); transform: rotate(-12deg); }
.b-unit { font-size: 22px; font-weight: 500; color: var(--ink-2); letter-spacing: -.02em; }
.bento-card h3 { font-size: 22px; font-weight: 600; letter-spacing: -.03em; margin: 18px 0 8px; line-height: 1.2; }
.bento-card p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.b-steps { list-style: none; counter-reset: c; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line-strong); display: grid; gap: 10px; }
.b-steps li { counter-increment: c; display: flex; gap: 12px; font-size: 14.5px; color: var(--ink-2); line-height: 1.4; }
.b-steps li::before { content: counter(c); flex: none; width: 24px; height: 24px; border-radius: 8px; background: #fff; border: 1px solid var(--line-strong); color: var(--ink); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.b-bars { display: grid; gap: 14px; margin: 26px 0 4px; }
.bar-row { display: grid; grid-template-columns: 56px 1fr 52px; gap: 12px; align-items: center; font-size: 14px; color: var(--ink-2); }
.bar-row b { font-size: 18px; color: var(--ink); letter-spacing: -.03em; text-align: right; }
.bar { height: 14px; border-radius: 8px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 8px; background: var(--brand); transition: width 1.4s var(--ease) .3s; }
.bar-row.is-old .bar i { background: var(--ink-3); }
.in .bar i, html:not(.js) .bar i { width: var(--w); }
.b-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.b-list li { padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.b-list b { display: block; font-size: 15.5px; letter-spacing: -.01em; }
.b-list span { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.45; margin-top: 2px; }
.b-cta h3 { font-size: 30px; letter-spacing: -.04em; margin-top: 90px; }
.b-cta p { color: var(--brand-ink); }
.b-cta .btn { margin-top: 26px; align-self: flex-start; }
.b-spark { position: absolute; right: 26px; top: 26px; width: 56px; height: 56px; color: rgba(255,255,255,.3); animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 1080px) { .b-notaire, .b-plus { grid-column: span 3; } .b-cta { grid-column: span 6; } .b-cta h3 { margin-top: 40px; } }
@media (max-width: 760px) { .bento { grid-template-columns: 1fr; } .bento-card { grid-column: auto !important; padding: 28px 24px; } }

/* ---------- Architecture ---------- */
.archi { background: var(--sand); overflow: hidden; }
.archi-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.archi-text p:not(.lead) { color: var(--ink-2); }
.archi-media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5 / 5.4; box-shadow: var(--shadow-2); }
.archi-media picture { position: absolute; inset: 0; }
.archi-media img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 55%; transform: scale(1.1); transition: transform 1.8s var(--ease); }
.archi-media.in img, html:not(.js) .archi-media img { transform: scale(1); }
.archi-note { position: absolute; left: 22px; right: 22px; top: 22px; max-width: 440px; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 20px; padding: 20px 22px; box-shadow: var(--shadow-1); }
.archi-note .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3DAA62; margin-right: 8px; vertical-align: middle; }
.archi-note b { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.archi-note p { margin: 6px 0 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.archi-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.archi-tags span { font-size: 14px; font-weight: 500; padding: 9px 16px; border-radius: 999px; background: #fff; color: var(--ink); border: 1px solid var(--line); }
@media (max-width: 900px) { .archi-grid { grid-template-columns: 1fr; } .archi-media { aspect-ratio: 4 / 3.6; } }
@media (max-width: 640px) {
  .archi-media { aspect-ratio: auto; overflow: visible; box-shadow: none; border-radius: 0; }
  .js .archi-media.reveal-img, .js .archi-media.reveal-img.in { clip-path: none; }
  .archi-media picture { position: relative; inset: auto; display: block; aspect-ratio: 3 / 2; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); }
  .archi-media img { position: absolute; inset: 0; object-position: 50% 100%; }
  .archi-note { position: static; max-width: none; margin-top: 12px; background: #fff; border: 1px solid var(--line); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- Bande panoramique ---------- */
.panorama { position: relative; min-height: clamp(440px, 72vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; background: var(--navy); }
.panorama-media { position: absolute; inset: -14% 0; z-index: -2; }
.panorama-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; will-change: transform; }
.panorama::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,15,28,.84) 0%, rgba(8,15,28,.25) 55%, rgba(8,15,28,.12) 100%); }
.panorama-in { padding-block: 90px; }
.panorama-quote { font-size: clamp(36px, 5.8vw, 84px); font-weight: 600; letter-spacing: -.05em; line-height: 1.02; margin: 0; max-width: 15ch; text-wrap: balance; }
.panorama-sub { margin: 22px 0 0; font-size: clamp(17px, 1.6vw, 22px); color: rgba(255,255,255,.82); }

/* ---------- Appartements ---------- */
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 60px; }
.type { position: relative; padding: 32px 30px 28px; border-radius: var(--r-lg); background: var(--navy-grad); color: #fff; overflow: hidden; min-height: 340px; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.type::after { content: ""; position: absolute; inset: 0; background: var(--noise); opacity: .55; pointer-events: none; }
.type::before { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(120,170,255,.42), transparent 70%); transition: transform .8s var(--ease); }
.type:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.type:hover::before { transform: scale(1.35); }
.type-num { position: absolute; right: 14px; bottom: -40px; font-size: 230px; font-weight: 700; letter-spacing: -.08em; line-height: 1; color: rgba(255,255,255,.06); pointer-events: none; }
.type-name { position: relative; font-size: 34px; font-weight: 600; letter-spacing: -.045em; }
.type-surf { position: relative; color: rgba(255,255,255,.66); font-size: 15.5px; margin-top: 2px; }
.type-price { position: relative; margin-top: auto; padding-top: 22px; }
.type-price span { display: block; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: #A9C8FF; }
.type-price b { display: block; font-size: 38px; font-weight: 600; letter-spacing: -.045em; font-variant-numeric: tabular-nums; margin-top: 2px; }
.type-cta { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); color: #fff; text-decoration: none; font-weight: 600; font-size: 15.5px; }
.type-cta svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.type-cta:hover svg { transform: translateX(5px); }
.homes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 18px; }
.home-pillar { padding: 28px 24px; border-radius: var(--r-lg); background: var(--sand); border: 1px solid var(--line); }
.hp-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--slate); }
.hp-ico svg { width: 24px; height: 24px; }
.home-pillar h3 { font-size: 20px; font-weight: 600; letter-spacing: -.03em; margin: 18px 0 6px; }
.home-pillar p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.presta { margin-top: 18px; padding: 30px 32px; border-radius: var(--r-lg); border: 1px solid var(--line); }
.presta-title { margin: 0 0 18px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.presta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.presta h4 { margin: 0 0 10px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.presta ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.presta li { position: relative; padding-left: 18px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.presta li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 2px; background: var(--brand); transform: rotate(45deg); }
@media (max-width: 1000px) { .types { grid-template-columns: 1fr; } .type { min-height: 250px; } .homes-grid { grid-template-columns: repeat(2, 1fr); } .presta-grid { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 520px) { .homes-grid { grid-template-columns: 1fr; } .type-num { font-size: 170px; } }

/* ---------- Quartier ---------- */
.city { background: radial-gradient(90% 70% at 100% 0%, #1F4686 0%, rgba(31,70,134,0) 60%), radial-gradient(60% 60% at 0% 100%, rgba(244,188,65,.14) 0%, rgba(244,188,65,0) 70%), #0B1A33; color: #fff; overflow: hidden; }
.city::after { content: ""; position: absolute; inset: 0; background: var(--noise); opacity: .6; pointer-events: none; }
.city > .wrap { position: relative; z-index: 1; }
.city .eyebrow { color: #A9C2EC; }
.city .h2 em { color: var(--brand); }
.city .lead { color: rgba(255,255,255,.74); }
.city-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(20px, 3vw, 28px); margin-top: 60px; align-items: stretch; }
.lines { display: flex; flex-direction: column; padding: 30px; border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.lines-title { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.lines-title svg { width: 18px; height: 18px; }
.line { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.line::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 30px; width: 3px; border-radius: 3px; background: linear-gradient(var(--brand), rgba(244,188,65,.55) 50%, rgba(255,255,255,.25)); }
.line li { position: relative; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 0; }
.line li::before { content: ""; position: absolute; left: -30px; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: #0B1A33; border: 3px solid var(--brand); }
.line li:first-child::before { border-color: var(--brand); background: var(--brand); box-shadow: 0 0 0 5px rgba(244,188,65,.25); }
.stop b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.stop small { display: block; color: rgba(255,255,255,.6); font-size: 13.5px; margin-top: 1px; }
.line .time { flex: none; font-size: 14.5px; font-weight: 600; color: #fff; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.09); white-space: nowrap; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fact { padding: 26px; border-radius: var(--r-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); transition: background-color .4s; }
.fact:hover { background: rgba(255,255,255,.09); }
.f-wide { grid-column: 1 / -1; }
.fact.f-wide:not(.f-duo) { display: flex; gap: 26px; align-items: center; }
.f-n { display: block; font-size: clamp(46px, 5vw, 72px); font-weight: 600; letter-spacing: -.06em; line-height: 1; color: #fff; }
.f-n sup { font-size: .45em; letter-spacing: 0; vertical-align: top; position: relative; top: .25em; }
.f-ico svg { width: 46px; height: 46px; color: var(--brand); }
.fact h3 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; margin: 12px 0 6px; line-height: 1.3; }
.f-wide:not(.f-duo) h3 { margin-top: 0; }
.fact p { margin: 0; font-size: 14.5px; color: rgba(255,255,255,.72); line-height: 1.5; }
.f-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.f-duo h3 { margin-top: 0; }
@media (max-width: 960px) { .city-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .facts, .f-duo { grid-template-columns: 1fr; } .fact.f-wide:not(.f-duo) { flex-direction: column; align-items: flex-start; gap: 10px; } .line li { flex-direction: column; gap: 8px; } }

/* ---------- Parcours VEFA ---------- */
.timeline { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; position: relative; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 23px; right: calc((100% - 90px) / 6 - 23px); top: 22px; height: 2px; }
.timeline::before { background: var(--line-strong); }
.timeline::after { background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform 2s var(--ease) .2s; }
.timeline.in::after, html:not(.js) .timeline::after { transform: scaleX(1); }
.timeline li { position: relative; }
.tl-dot { position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--brand); color: var(--ink); font-weight: 700; font-size: 17px; }
.timeline li:last-child .tl-dot { background: var(--brand); color: var(--brand-ink); }
.timeline h3 { font-size: 17.5px; font-weight: 600; letter-spacing: -.025em; margin: 20px 0 6px; line-height: 1.25; }
.timeline p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.plus { margin-top: 64px; padding: 40px; border-radius: var(--r-xl); background: var(--navy-grad); color: #fff; display: grid; grid-template-columns: .75fr 1.25fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.plus::after { content: ""; position: absolute; inset: 0; background: var(--noise); opacity: .6; pointer-events: none; }
.plus h3 { font-size: clamp(28px, 3vw, 38px); font-weight: 600; letter-spacing: -.045em; margin: 0; line-height: 1.08; position: relative; z-index: 1; }
.plus ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; position: relative; z-index: 1; }
.plus li { display: flex; gap: 12px; font-size: 15px; color: rgba(255,255,255,.8); line-height: 1.45; }
.plus li svg { flex: none; width: 20px; height: 20px; color: var(--brand); margin-top: 1px; }
.plus li b { color: #fff; font-weight: 600; }
@media (max-width: 1100px) { .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; } .timeline::before, .timeline::after { display: none; } }
@media (max-width: 900px) { .plus { grid-template-columns: 1fr; padding: 32px 26px; } }
@media (max-width: 640px) {
  .timeline { grid-template-columns: 1fr; row-gap: 0; }
  .timeline li { display: grid; grid-template-columns: 46px 1fr; column-gap: 18px; padding-bottom: 26px; }
  .timeline li::before { content: ""; position: absolute; left: 22px; top: 46px; bottom: 0; width: 2px; background: var(--line-strong); }
  .timeline li:last-child::before { display: none; }
  .tl-dot { grid-row: span 2; }
  .timeline h3 { margin-top: 10px; }
  .plus ul { grid-template-columns: 1fr; }
}

/* ---------- Rendez-vous ---------- */
.visit-section { padding-top: 0; }
.visit { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-xl); overflow: hidden; background: #fff; box-shadow: var(--shadow-2); border: 1px solid var(--line); }
.visit-media { position: relative; min-height: 520px; overflow: hidden; }
.visit-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.visit:hover .visit-media img { transform: scale(1.04); }
.visit-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,15,28,.8), rgba(8,15,28,.05) 60%); }
.visit-addr { position: absolute; z-index: 1; left: 32px; right: 32px; bottom: 30px; color: #fff; }
.visit-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.visit-pill svg { width: 16px; height: 16px; }
.visit-addr b { display: block; font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.04em; margin-top: 14px; line-height: 1.1; }
.visit-addr p { margin: 8px 0 0; opacity: .82; font-size: 15px; }
.visit-form { padding: clamp(30px, 4vw, 56px); }
.visit-form .h2 { font-size: clamp(32px, 3.6vw, 48px); }
.visit-form form { margin-top: 28px; }
.visit-form select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234A5568' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.form-done { text-align: center; padding: 48px 10px; }
.form-done .ico { width: 64px; height: 64px; border-radius: 50%; background: #D9F5E6; color: #0E8A4A; display: grid; place-items: center; margin: 0 auto 18px; }
.form-done .ico svg { width: 28px; height: 28px; }
.form-done h3 { font-size: 28px; font-weight: 600; letter-spacing: -.04em; margin: 0 0 8px; }
.form-done p { margin: 0; color: var(--ink-2); }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } .visit-media { min-height: 320px; } }
@media (max-width: 640px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; }
  .visit-section .wrap { width: 100%; }
  .visit { border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; }
  .visit-media { min-height: 280px; }
  .visit-addr { left: 20px; right: 20px; bottom: 22px; }
  .visit-form { padding: 34px 20px 40px; }
  .visit-form .form-grid { gap: 16px; }
  .visit-form .btn { width: 100%; min-height: 60px; }
}

/* ---------- FAQ ---------- */
.faq-section { background: var(--sand); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side .btn { margin-top: 30px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 20px; margin-bottom: 12px; transition: box-shadow .4s var(--ease); }
.faq details[open] { box-shadow: var(--shadow-1); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 26px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--ink); font-size: 22px; font-weight: 400; line-height: 1; transition: transform .45s var(--ease), background-color .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--brand); color: var(--brand-ink); }
.faq details p { margin: 0; padding: 0 26px 26px; color: var(--ink-2); max-width: 68ch; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-side { position: static; } }

/* ---------- Pied de page ---------- */
.footer { position: relative; background: #0B1A33; color: rgba(255,255,255,.72); padding: 90px 0 0; font-size: 14.5px; overflow: hidden; }
.footer::after { content: ""; position: absolute; inset: 0; background: var(--noise); opacity: .5; pointer-events: none; }
.footer .wrap { position: relative; z-index: 1; }
.footer-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding-bottom: 60px; margin-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-cta-title { margin: 0; color: #fff; font-size: clamp(30px, 4vw, 56px); font-weight: 600; letter-spacing: -.05em; line-height: 1.04; max-width: 15ch; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer .footer-h { color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.footer p { margin: 0 0 8px; }
.footer a { color: rgba(255,255,255,.88); text-decoration: none; transition: color .2s; }
.footer a:hover, .footer-linkbtn:hover { color: #fff; }
.footer-links { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.footer .footer-legal { margin: 48px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.62); max-width: none; }
.footer-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: rgba(255,255,255,.88); text-decoration: none; cursor: pointer; transition: color .2s; }
.footer .footer-credit { position: relative; z-index: 1; margin: 18px 0 0; font-size: 12.5px; color: rgba(255,255,255,.62); }
.footer-credit a { color: #fff; font-weight: 600; }
.footer-mark { position: relative; z-index: 1; display: block; width: min(560px, 72vw); height: auto; margin: 48px auto 0; opacity: .14; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 96%); mask-image: linear-gradient(180deg, #000 30%, transparent 96%); user-select: none; pointer-events: none; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } .footer-cta .btn { width: 100%; } }

/* ---------- Barre mobile ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    display: grid; grid-template-columns: auto 1fr; gap: 8px;
    position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40;
    padding: 8px; border-radius: 999px; background: rgba(255,255,255,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow-2); transform: translateY(160%); transition: transform .5s var(--ease);
  }
  .mobile-bar.show { transform: none; }
  .mobile-bar .btn { min-height: 50px; }
  .mobile-bar .btn-call { width: 50px; padding: 0; background: var(--slate-soft); color: var(--slate-deep); }
  .mobile-bar .btn-call svg { width: 20px; height: 20px; }
}

/* ---------- Consentement ---------- */
.consent-banner {
  position: fixed; left: 50%; bottom: 16px; z-index: 60; transform: translateX(-50%);
  width: min(880px, calc(100% - 24px)); display: flex; align-items: center; gap: 20px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-radius: 999px; box-shadow: var(--shadow-2); padding: 10px 10px 10px 28px;
  font-size: 14px; color: var(--ink-2); border: 1px solid var(--line);
}
.consent-banner[hidden] { display: none; }
.consent-banner p { margin: 0; line-height: 1.45; flex: 1; }
.consent-banner a { color: var(--ink); }
.consent-banner .row { display: flex; gap: 8px; flex: none; }
@media (max-width: 720px) {
  .consent-banner { flex-direction: column; align-items: stretch; gap: 10px; border-radius: var(--r-md); padding: 12px 14px; bottom: 10px; font-size: 13px; }
  .consent-banner .btn { flex: 1; }
}

/* ---------- Apparitions ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s !important; } .reveal-d2 { transition-delay: .2s !important; } .reveal-d3 { transition-delay: .3s !important; }
.js .reveal-img { clip-path: inset(10% 6% 10% 6% round 34px); transition: clip-path 1.4s var(--ease); }
.js .reveal-img.in { clip-path: inset(0 0 0 0 round 34px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .hero h1 .w > span { transform: none; }
  html { scroll-behavior: auto; }
  .hero-sub, .hero-ctas, .hero-facts, .hero-kicker { opacity: 1; }
    .js .reveal { opacity: 1; transform: none; }
  .js .reveal-img { clip-path: none; }
  .hero-media img, .archi-media img { transform: none; }
  .marquee-track { animation: none; }
  .bar i { width: var(--w); }
  .timeline::after { transform: scaleX(1); }
}

/* ---------- Pages secondaires ---------- */
.page-simple { padding: 140px 0 80px; }
.page-simple .header { color: #fff; background: #0B1A33; box-shadow: none; }
.prose { max-width: 760px; }
.prose h1 { font-weight: 600; font-size: clamp(36px, 5vw, 54px); letter-spacing: -.045em; line-height: 1.05; margin: 0 0 28px; }
.prose h2 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.todo { background: #FFF1C9; padding: 0 4px; border-radius: 3px; }

/* ---------- v4 : relecture croisee ---------- */
.field-note { margin: 10px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.verdict-note { margin: 0; font-size: 14px; color: var(--ink-2); }
.sim-help a { color: var(--ink); font-weight: 600; }
#resultCompare { display: grid; gap: 10px; }
.hero-facts dd small { display: block; }
.type-price small { display: block; margin-top: 4px; font-size: 12.5px; letter-spacing: 0; color: rgba(255,255,255,.66); }
.f-n small { display: block; font-size: .26em; font-weight: 500; letter-spacing: 0; color: var(--brand); margin-bottom: 6px; }
.faq summary, .bento-card h3, .plus h3, .sim-q, .type-name, .timeline h3, .fact h3, .home-pillar h3, .footer-cta-title { text-wrap: balance; }

.jr-cap { text-wrap: balance; }

/* ---------- v5 : charte BRIQ ---------- */
.hero-tag { padding: 0; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hero-tag img { display: block; width: clamp(150px, 13vw, 196px); height: auto; filter: drop-shadow(0 12px 24px rgba(0,0,0,.28)); }
@media (max-width: 640px) { .brand-logo { height: 40px; } .header.is-solid .brand-logo { height: 36px; } .hero-tag img { width: 150px; } }

/* ---------- v5 : verification du simulateur ---------- */
/* Titres et blocs qui recoivent le focus par script (annonce aux lecteurs d'ecran) : pas de cadre visible. */
.sim-q:focus, #simResult:focus, #rdvDone:focus { outline: none; }
/* Zones tactiles d'au moins 44 px sur mobile */
.toggle-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 2px; }
.sim-nav .btn-back { min-height: 44px; padding: 8px 16px; }
.range { height: 44px; margin: 0 0 -12px; background: none; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--brand) var(--p, 10%), var(--slate-soft) var(--p, 10%)); }
.range::-webkit-slider-thumb { margin-top: -10px; }
.range::-moz-range-track { height: 6px; border-radius: 6px; background: var(--slate-soft); }
.range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--brand); }

/* ---------- v5 : audit des sources ---------- */
.visit-list-title { margin: 22px 0 10px; font-weight: 600; font-size: 15px; }
.visit-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; font-size: 15px; color: var(--ink-2); }
.visit-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.visit-list svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--slate); }
@media (max-width: 600px) { .visit-list { grid-template-columns: 1fr; } }
.plafonds { margin: 4px 0 18px; }
.plafonds table { width: 100%; max-width: 420px; border-collapse: collapse; font-size: 14.5px; }
.plafonds caption { text-align: left; font-weight: 600; font-size: 14px; padding-bottom: 8px; color: var(--ink); }
.plafonds th, .plafonds td { padding: 7px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; color: var(--ink-2); }
.plafonds thead th { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.plafonds td { text-align: right; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.plafonds p { margin: 10px 0 0; font-size: 13.5px; color: var(--ink-2); }
.faq details .plafonds { margin: 0; padding: 0 26px 26px; }
.faq details p + .plafonds { margin-top: -8px; }
.faq details .plafonds p { padding: 0; max-width: none; }

/* ---------- v5b ---------- */
a[href^="tel:"] { white-space: nowrap; }
.plafonds thead th:last-child { text-align: right; }
.result-info { margin: 0 0 16px; padding: 12px 16px; border-radius: 14px; background: var(--slate-soft); color: var(--slate-deep); font-size: 14.5px; }

/* ---------- Section « Acheter dans le neuf » : recit en trois temps (proposition C retenue le 22/09) ---------- */
/* ---------- Parcours d'achat, proposition C : recit en trois temps ----------
   Trois temps reperes sans texte ajoute : un visuel par temps (le plan, les signatures, le batiment reel),
   une jauge de trois briques et une couleur qui s'intensifie d'un temps a l'autre.
   Une seule liste ordonnee de 6 etapes ; la ligne relie les briques 1 a 6 et s'arrete a la 6. */
#parcours { --pc-n: 46px; --pc-sp: clamp(40px, 4.4vw, 60px); --pc-sp-m: 44px; --pc-vh: 212px; --pc-vm: 24px; }
#parcours .pc-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Grille : visuel a gauche, deux etapes a droite, un temps par bande */
#parcours .pc-steps {
  list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: auto auto var(--pc-sp) auto auto var(--pc-sp) auto auto;
  column-gap: clamp(36px, 5.6vw, 88px);
}
#parcours .pc-step { position: relative; min-width: 0; }
#parcours .pc-step:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; }
#parcours .pc-step:nth-child(even) { grid-column: 2; display: grid; }
#parcours .pc-step:nth-child(1) { grid-row: 1 / span 2; }
#parcours .pc-step:nth-child(2) { grid-row: 2; }
#parcours .pc-step:nth-child(3) { grid-row: 4 / span 2; }
#parcours .pc-step:nth-child(4) { grid-row: 5; }
#parcours .pc-step:nth-child(5) { grid-row: 7 / span 2; }
#parcours .pc-step:nth-child(6) { grid-row: 8; }
#parcours .pc-step:nth-child(odd) > .pc-visual { grid-column: 1; grid-row: 1 / span 2; }
#parcours .pc-step:nth-child(odd) > .pc-body { grid-column: 2; grid-row: 1; }

/* Etape : brique numerotee + texte */
#parcours .pc-body { position: relative; display: grid; grid-template-columns: var(--pc-n) minmax(0, 1fr); column-gap: 22px; align-content: start; padding-bottom: 34px; }
#parcours .pc-node {
  position: relative; z-index: 1; width: var(--pc-n); height: var(--pc-n); border-radius: 13px;
  display: grid; place-items: center; font-weight: 600; font-size: 18px; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
#parcours .pc-t1 .pc-node { background: #fff; color: var(--slate-deep); box-shadow: inset 0 0 0 1.5px var(--slate), 4px 4px 0 #CBE2EE; }
#parcours .pc-t2 .pc-node { background: var(--slate); color: #fff; box-shadow: 4px 4px 0 var(--slate-deep); }
#parcours .pc-t3 .pc-node { background: #15305A; color: #fff; box-shadow: 4px 4px 0 #0B1A33; }
#parcours .pc-step:nth-child(6) .pc-node { background: var(--brand); color: var(--brand-ink); box-shadow: 4px 4px 0 var(--brand-deep), 0 16px 30px -12px rgba(196,138,20,.7); }
#parcours .pc-txt h3 { font-size: clamp(19px, 1.65vw, 22px); font-weight: 600; letter-spacing: -.03em; line-height: 1.22; margin: 10px 0 8px; text-wrap: balance; }
#parcours .pc-txt p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }

/* La ligne : un segment par etape, de la brique a la suivante ; rien apres la 6 */
#parcours .pc-body::before {
  content: ""; position: absolute; left: calc(var(--pc-n) / 2 - 1px); top: var(--pc-n); bottom: 0; width: 2px; border-radius: 2px;
  background: var(--pc-rail); transform-origin: top; transition: transform 1.1s var(--ease) .35s;
}
#parcours .pc-step:nth-child(1) > .pc-body { --pc-rail: #A9CCDD; }
#parcours .pc-step:nth-child(2) > .pc-body { --pc-rail: linear-gradient(#A9CCDD, var(--slate)); }
#parcours .pc-step:nth-child(3) > .pc-body { --pc-rail: var(--slate); }
#parcours .pc-step:nth-child(4) > .pc-body { --pc-rail: linear-gradient(var(--slate), #15305A); }
#parcours .pc-step:nth-child(5) > .pc-body { --pc-rail: linear-gradient(#15305A, var(--brand-deep)); }
#parcours .pc-step:nth-child(2) > .pc-body::before, #parcours .pc-step:nth-child(4) > .pc-body::before { bottom: calc(-1 * var(--pc-sp)); }
#parcours .pc-step:nth-child(6) > .pc-body::before { content: none; }
.js #parcours .pc-step:not(.in) > .pc-body::before { transform: scaleY(0); }

/* Visuels des trois temps */
#parcours .pc-visual { position: relative; z-index: 2; min-height: 296px; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; }
#parcours .pc-art { position: absolute; top: 7%; left: 5%; width: 90%; height: 88%; overflow: visible; }
#parcours .pc-plan { top: 13%; left: 6%; width: 88%; height: 80%; }
#parcours .pc-v1 {
  background-color: #EDF5F9;
  background-image:
    linear-gradient(rgba(24,114,154,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(24,114,154,.1) 1px, transparent 1px),
    linear-gradient(rgba(24,114,154,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(24,114,154,.05) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px; background-position: -1px -1px;
  box-shadow: inset 0 0 0 1px rgba(24,114,154,.12);
}
#parcours .pc-v2 { background: radial-gradient(80% 90% at 92% 0%, rgba(126,196,228,.5) 0%, rgba(126,196,228,0) 62%), linear-gradient(155deg, #1D7FAA 0%, #155F84 100%); box-shadow: var(--shadow-1); }
#parcours .pc-v2::after, #parcours .pc-plus::after { content: ""; position: absolute; inset: 0; background: var(--noise); opacity: .6; pointer-events: none; z-index: -1; }
#parcours .pc-v3 { background: var(--navy); box-shadow: var(--shadow-2); }
#parcours .pc-v3 picture { position: absolute; inset: 0; z-index: -2; }
#parcours .pc-v3 img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; transform: scale(1); transition: transform 1.8s var(--ease); }
#parcours .pc-v3::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,15,28,.42) 0%, rgba(8,15,28,0) 34%), linear-gradient(0deg, rgba(8,15,28,.35) 0%, rgba(8,15,28,0) 40%); }
.js #parcours .pc-step:not(.in) .pc-v3 img { transform: scale(1.1); }

/* Pastille de chaque temps : icone + jauge de trois briques */
#parcours .pc-chip { position: absolute; z-index: 3; left: 18px; top: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 6px 13px 6px 6px; border-radius: 999px; }
#parcours .pc-chip-ico { width: 32px; height: 32px; padding: 7px; border-radius: 50%; flex: none; }
#parcours .pc-gauge { display: inline-flex; gap: 4px; }
#parcours .pc-gauge i { width: 15px; height: 10px; border-radius: 3px; border: 1.5px solid currentColor; opacity: .4; }
#parcours .pc-gauge i.on { background: var(--brand); border-color: var(--brand-deep); box-shadow: 1.5px 1.5px 0 var(--brand-deep); opacity: 1; }
#parcours .pc-v1 .pc-chip { background: #fff; color: var(--slate); box-shadow: var(--shadow-1); }
#parcours .pc-v1 .pc-chip-ico { background: var(--slate-soft); color: var(--slate-deep); }
#parcours .pc-v2 .pc-chip, #parcours .pc-v3 .pc-chip { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
#parcours .pc-v2 .pc-chip-ico { background: #fff; color: var(--slate-deep); }
#parcours .pc-v3 .pc-chip-ico { background: var(--brand); color: var(--brand-ink); }

/* Animations sobres, declenchees par l'apparition de l'etape */
#parcours .pc-plan { clip-path: inset(0 0 0 0); transition: clip-path 1.6s var(--ease) .3s; }
.js #parcours .pc-step:not(.in) .pc-plan { clip-path: inset(0 100% 0 0); }
#parcours .pc-sign { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s ease .8s; }
.js #parcours .pc-step:not(.in) .pc-sign { stroke-dashoffset: 1; }
#parcours .pc-seal { transform-box: fill-box; transform-origin: center; transition: transform .7s cubic-bezier(.34,1.56,.64,1) 1.7s, opacity .3s 1.7s; }
.js #parcours .pc-step:not(.in) .pc-seal { transform: scale(.2); opacity: 0; }
#parcours .pc-coins > g { transition: transform .8s var(--ease), opacity .5s; }
#parcours .pc-coins > g:nth-child(2) { transition-delay: .1s; } #parcours .pc-coins > g:nth-child(3) { transition-delay: .2s; } #parcours .pc-coins > g:nth-child(4) { transition-delay: .3s; }
.js #parcours .pc-step:not(.in) .pc-coins > g { transform: translateY(-26px); opacity: 0; }

/* Les avantages : grille modulaire sur fond bleu nuit */
#parcours .pc-plus {
  position: relative; isolation: isolate; overflow: hidden; margin-top: clamp(72px, 8vw, 112px); padding: clamp(28px, 3.6vw, 48px);
  border-radius: var(--r-xl); color: #fff; box-shadow: var(--shadow-2);
  background: radial-gradient(70% 90% at 100% 0%, rgba(31,70,134,.95) 0%, rgba(31,70,134,0) 62%), radial-gradient(55% 70% at 0% 100%, rgba(244,188,65,.14) 0%, rgba(244,188,65,0) 70%), #0B1A33;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto; gap: 14px;
}
#parcours .pc-plus h3 { grid-column: 1; grid-row: 1; align-self: start; margin: 0; padding: 14px 24px 14px 4px; font-size: clamp(30px, 3vw, 42px); font-weight: 600; letter-spacing: -.045em; line-height: 1.04; text-wrap: balance; }
#parcours .pc-plus ul { grid-column: 1 / -1; grid-row: 1 / -1; display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; list-style: none; margin: 0; padding: 0; pointer-events: none; }
#parcours .pc-plus li {
  pointer-events: auto; display: flex; flex-direction: column; gap: 18px; padding: 24px 24px 26px; border-radius: var(--r-lg);
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.1); transition: background-color .4s, transform .5s var(--ease);
}
#parcours .pc-plus li:hover { background: rgba(255,255,255,.085); transform: translateY(-3px); }
#parcours .pc-plus li:nth-child(1) { grid-column: 2; grid-row: 1; }
#parcours .pc-plus li:nth-child(2) { grid-column: 3; grid-row: 1; }
#parcours .pc-plus li:nth-child(3) { grid-column: 1; grid-row: 2; }
#parcours .pc-plus li:nth-child(4) { grid-column: 2; grid-row: 2; }
#parcours .pc-plus li:nth-child(5) { grid-column: 3; grid-row: 2; }
#parcours .pc-plus li:nth-child(6) { grid-column: 1 / -1; grid-row: 3; }
#parcours .pc-ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; flex: none; background: rgba(244,188,65,.12); border: 1px solid rgba(244,188,65,.3); color: var(--brand); }
#parcours .pc-ico svg { width: 25px; height: 25px; }
#parcours .pc-atxt { font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.74); text-wrap: pretty; }
#parcours .pc-atxt b { color: #fff; font-weight: 600; }
#parcours .pc-plus li.pc-wide { display: grid; grid-template-columns: 50px minmax(0, 1fr) minmax(220px, 320px); column-gap: 24px; align-items: center; padding: 26px 28px; }
#parcours .pc-wide .pc-atxt { max-width: 70ch; }

/* Jauge des garanties : 1, 2 et 10 ans a l'echelle */
#parcours .pc-years { display: grid; gap: 11px; }
#parcours .pc-years > span { display: grid; grid-template-columns: minmax(0, 1fr) 26px; gap: 12px; align-items: center; }
#parcours .pc-years i { position: relative; height: 10px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
#parcours .pc-years i::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--y) * 10%); border-radius: 6px; background: linear-gradient(90deg, #FCE3A6, var(--brand)); transform-origin: left; transition: transform 1.4s var(--ease) .4s; }
.js #parcours .pc-plus:not(.in) .pc-years i::before { transform: scaleX(0); }
#parcours .pc-years b { font-size: 15px; font-weight: 600; text-align: right; color: #fff; font-variant-numeric: tabular-nums; }

/* Ecrans moyens : les avantages sur deux colonnes */
@media (max-width: 1100px) {
  #parcours .pc-plus { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto auto auto; }
  #parcours .pc-plus li:nth-child(1) { grid-column: 2; grid-row: 1; }
  #parcours .pc-plus li:nth-child(2) { grid-column: 1; grid-row: 2; }
  #parcours .pc-plus li:nth-child(3) { grid-column: 2; grid-row: 2; }
  #parcours .pc-plus li:nth-child(4) { grid-column: 1; grid-row: 3; }
  #parcours .pc-plus li:nth-child(5) { grid-column: 2; grid-row: 3; }
  #parcours .pc-plus li:nth-child(6) { grid-column: 1 / -1; grid-row: 4; }
  #parcours .pc-plus li.pc-wide { grid-template-columns: 50px minmax(0, 1fr); row-gap: 20px; }
  #parcours .pc-wide .pc-years { grid-column: 2; }
}

/* Mobile et tablette : un seul fil, le visuel ouvre chaque temps et la ligne passe derriere */
@media (max-width: 820px) {
  #parcours .pc-steps { display: block; margin-top: 44px; }
  #parcours .pc-step:nth-child(n) { display: block; }
  #parcours .pc-step:nth-child(3), #parcours .pc-step:nth-child(5) { margin-top: var(--pc-sp-m); }
  #parcours .pc-visual { min-height: 0; height: var(--pc-vh); margin-bottom: var(--pc-vm); border-radius: var(--r-lg); }
  #parcours .pc-art { top: 9%; left: 4%; width: 92%; height: 87%; }
  #parcours .pc-v1 { height: 238px; }
  #parcours .pc-v1 .pc-plan { top: 27%; left: 5%; width: 90%; height: 68%; }
  #parcours .pc-body { column-gap: 18px; padding-bottom: 30px; }
  #parcours .pc-step:nth-child(2) > .pc-body::before, #parcours .pc-step:nth-child(4) > .pc-body::before { bottom: calc(-1 * (var(--pc-sp-m) + var(--pc-vh) + var(--pc-vm))); }
  #parcours .pc-step:nth-child(6) > .pc-body { padding-bottom: 0; }
  #parcours .pc-txt h3 { margin-top: 11px; }
  #parcours .pc-chip { left: 14px; top: 14px; }
  #parcours .pc-v3 img { object-position: 50% 50%; }
  #parcours .pc-plus { display: block; margin-top: 64px; }
  #parcours .pc-plus h3 { padding: 0 0 22px; }
  #parcours .pc-plus ul { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 10px; }
  #parcours .pc-plus li:nth-child(n) { grid-column: auto; grid-row: auto; }
  #parcours .pc-plus li, #parcours .pc-plus li.pc-wide { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 18px 18px 20px; }
  #parcours .pc-ico { width: 44px; height: 44px; border-radius: 13px; }
  #parcours .pc-ico svg { width: 22px; height: 22px; }
  #parcours .pc-atxt { font-size: 15.5px; padding-top: 1px; }
  #parcours .pc-wide .pc-years { grid-column: 1 / -1; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
}
@media (max-width: 400px) {
  #parcours { --pc-vh: 196px; }
  #parcours .pc-plus { padding: 26px 16px 18px; }
}

/* Navigateurs sans sous-grille : la presentation en un seul fil */
@supports not (grid-template-rows: subgrid) {
  #parcours .pc-steps { display: block; }
  #parcours .pc-step:nth-child(n) { display: block; }
  #parcours .pc-step:nth-child(3), #parcours .pc-step:nth-child(5) { margin-top: var(--pc-sp-m); }
  #parcours .pc-visual { min-height: 0; height: var(--pc-vh); margin-bottom: var(--pc-vm); }
  #parcours .pc-step:nth-child(2) > .pc-body::before, #parcours .pc-step:nth-child(4) > .pc-body::before { bottom: calc(-1 * (var(--pc-sp-m) + var(--pc-vh) + var(--pc-vm))); }
  #parcours .pc-plus { display: block; }
  #parcours .pc-plus h3 { padding: 0 0 22px; }
  #parcours .pc-plus ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  #parcours .pc-plus li:nth-child(n) { grid-column: auto; grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .js #parcours .pc-step:not(.in) .pc-plan { clip-path: none; }
  .js #parcours .pc-step:not(.in) .pc-sign { stroke-dashoffset: 0; }
  .js #parcours .pc-step:not(.in) .pc-seal, .js #parcours .pc-step:not(.in) .pc-coins > g { transform: none; opacity: 1; }
  .js #parcours .pc-step:not(.in) > .pc-body::before, .js #parcours .pc-plus:not(.in) .pc-years i::before { transform: none; }
  .js #parcours .pc-step:not(.in) .pc-v3 img { transform: none; }
  #parcours .pc-plus li:hover { transform: none; }
}

/* ---------- Bandeau cookies plus chaleureux (22/09) : message de confidentialite en tete, deux boutons de meme poids ---------- */
.consent-banner { padding: 10px 10px 10px 12px; gap: 16px; }
.consent-ico { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); }
.consent-ico svg { width: 20px; height: 20px; }
.consent-banner p b { color: var(--ink); font-weight: 600; }
.consent-banner .btn { min-width: 108px; }
@media (max-width: 720px) {
  .consent-banner { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 8px 12px; padding: 12px 14px; }
  .consent-ico { width: 34px; height: 34px; }
  .consent-ico svg { width: 17px; height: 17px; }
  .consent-banner .row { grid-column: 1 / -1; }
  .consent-banner .btn { min-width: 0; }
}
@media (max-width: 720px) {
  .consent-banner { grid-template-columns: 1fr; padding: 10px 12px; font-size: 12.5px; gap: 8px; }
  .consent-banner p { line-height: 1.38; }
  .consent-ico { display: none; }
}
/* Petits telephones (hauteur reduite) : le bouton du hero reste visible au-dessus du bandeau cookies */
@media (max-width: 640px) and (max-height: 720px) {
  .hero-in { padding-top: 84px; }
  .hero-tag img { width: 128px; }
  .hero h1 { margin-top: 12px; }
  .hero-sub { margin-top: 12px; }
  .hero-ctas { margin-top: 18px; }
}
