/* Solution BRS — charte : Noir #3C3C3B · Jaune #FEC905 · Montserrat (+ Arial) */
:root {
  --navy: #3C3C3B;          /* Noir (charte) : titres, aplats */
  --navy-deep: #3C3C3B;
  --navy-ink: #2b2b2a;      /* nuance foncée pour les grands aplats */
  --gold: #FEC905;          /* Jaune (charte) : accents, boutons d'action (texte noir) */
  --gold-ink: #8a6d00;      /* jaune assombri pour les petits textes sur fond blanc (lisibilité) */
  --champagne: #FEC905;
  --champagne-soft: #fff6d1;
  --orange: #FEC905;
  --orange-hover: #f0bd00;
  --sky: #f6f5f1;
  --paper: #ffffff;
  --ink: #3C3C3B;
  --muted: #6b6a66;
  --line: #e8e6df;
  --radius: 14px;
  --display: "Montserrat", Arial, sans-serif;
  /* Motif hexagonal de la charte */
  --hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0v32M28 32 0 48.5M28 32l28 16.5M0 48.5v32M56 48.5v32M0 80.5 28 97M56 80.5 28 97' fill='none' stroke='%233C3C3B' stroke-opacity='.07' stroke-width='1.2'/%3E%3C/svg%3E");
}
body { background: #fff; color: var(--ink); }
h1, h2, h3, .card h3, .prog h1 { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
/* Titre gras noir + mot clé surligné jaune (exemple de la charte) */
h2 em, h1 em { font-style: italic; font-weight: 400; color: var(--gold); }
.eyebrow { color: var(--gold); }
.btn { border-radius: 40px; text-transform: none; letter-spacing: 0; font-size: 15px; }
.btn-cta { background: var(--gold); color: #fff; }
.btn-cta:hover { background: var(--orange-hover); color: #fff; }
.btn-navy { background: var(--navy); }
.btn-line { color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.top { background: rgba(255,255,255,.94); border-bottom-color: var(--line); }
.brand img { width: auto; height: 42px; border-radius: 0; }
.brand b { color: var(--navy); font-weight: 800; letter-spacing: .04em; }
.brand small { color: var(--gold); letter-spacing: .42em; font-weight: 300; font-size: 10px; }
.nav a:not(.btn)::after { background: var(--gold); }
.nav .tel { color: var(--navy); }
.card { border-radius: 18px; border-color: var(--line); }
.card .ph { margin: 8px; border-radius: 12px; overflow: hidden; }
.card .tag { border-radius: 30px; background: rgba(60,60,59,.88); color: #fff; max-width: calc(100% - 28px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .tag.r { background: var(--gold); color: #fff; }
.card .loc { color: var(--gold); }
.card .price b { color: var(--navy); }
.facts, table.lots, .lead-form, .inline-cta, .empty, .step, #map, #pmap { border-radius: 18px; overflow: hidden; }
.facts span, .lots th, .fld span, .filters h4, .search label span { color: var(--gold); }
.filters { border-radius: 18px; overflow: auto; }
@media (min-width: 861px) { .filters { position: static; max-height: none; overflow: visible; } }
.chip.on, .choice input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.fld input, .fld select, .fld textarea, .filters input[type=text], .filters select { border-radius: 10px; background: var(--sky); border-color: transparent; }
.laws span { background: var(--sky); color: var(--navy); }
.inline-cta { background: var(--sky); border-left-color: var(--gold); }
.presented { background: var(--navy); }
.presented img { width: auto; height: 34px; }
.presented b { color: var(--gold); }
.addr svg, .addr a { color: var(--gold); }
.lots .tva { color: var(--gold-ink); }
.wa-float { display: none; }

/* Pied de page : bandeau en biseau de la charte */
footer { background: var(--navy-ink); position: relative; overflow: hidden; }
footer::after { content: ""; position: absolute; right: -40px; bottom: 0; width: 58%; height: 26px; background: var(--gold); transform: skewX(-35deg); transform-origin: bottom; }
footer .legal { position: relative; z-index: 1; padding-bottom: 20px; }
footer h5 { color: var(--gold); }
footer a:hover { color: var(--gold); }
footer .brand b { color: #fff !important; }

/* Bulle de discussion WhatsApp */
.wa-widget { position: fixed; right: 22px; bottom: 22px; z-index: 85; font-family: "Montserrat", Arial; }
.wa-widget .fab {
  width: 64px; height: 64px; border-radius: 50%; border: 0; background: #25d366; color: #fff; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 16px 34px -10px rgba(7,59,29,.6); margin-left: auto; position: relative;
}
.wa-widget .fab svg { width: 32px; height: 32px; }
.wa-widget .fab b { position: absolute; top: -2px; right: -2px; background: var(--navy); color: #fff; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; display: grid; place-items: center; }
.wa-widget .box {
  width: 340px; max-width: calc(100vw - 32px); background: #efeae2; border-radius: 20px; overflow: hidden; margin-bottom: 14px;
  box-shadow: 0 30px 70px -20px rgba(40,40,38,.45); transform-origin: bottom right; transform: scale(.6) translateY(20px); opacity: 0; pointer-events: none; transition: .3s cubic-bezier(.2,.8,.2,1);
}
.wa-widget.open .box { transform: none; opacity: 1; pointer-events: auto; }
.wa-widget .hd { background: #075e54; color: #fff; padding: 16px; display: flex; gap: 12px; align-items: center; }
.wa-widget .hd img { width: 42px; height: 42px; border-radius: 50%; background: #fff; padding: 8px; box-sizing: border-box; object-fit: contain; }
.wa-widget .hd small { display: block; opacity: .85; font-size: 12px; }
.wa-widget .hd small::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #6fe39b; margin-right: 6px; }
.wa-widget .hd button { margin-left: auto; background: none; border: 0; color: #fff; font-size: 24px; cursor: pointer; }
.wa-widget .bd { padding: 16px; display: grid; gap: 8px; }
.wa-widget .bubble { background: #fff; padding: 10px 12px; border-radius: 0 10px 10px 10px; font-size: 14px; line-height: 1.45; color: #111b21; max-width: 90%; }
.wa-widget .qr { display: block; text-align: right; text-decoration: none; background: #d9fdd3; color: #0b3d1f; padding: 10px 12px; border-radius: 10px 0 10px 10px; font-size: 13.5px; font-weight: 600; justify-self: end; max-width: 90%; transition: .2s; }
.wa-widget .qr:hover { background: #c3f5bb; }
.wa-widget .ft { padding: 0 16px 16px; }
.wa-widget .ft a { display: flex; gap: 8px; justify-content: center; align-items: center; background: #25d366; color: #073b1d; text-decoration: none; font-weight: 700; padding: 13px; border-radius: 30px; }

/* Trustpilot */
.tp-badge { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-size: 14px; font-weight: 600; flex-wrap: wrap; }
.tp-stars { display: inline-flex; gap: 2px; }
.tp-stars i { width: 20px; height: 20px; background: #dcdce6; display: grid; place-items: center; position: relative; overflow: hidden; }
.tp-stars i::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--f, 100%); background: #00b67a; }
.tp-stars i::after { content: ""; position: relative; width: 13px; height: 13px; background: #fff; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.tp-logo { font-weight: 700; color: #191919; display: inline-flex; align-items: center; gap: 3px; }
.tp-logo::before { content: "★"; color: #00b67a; font-size: 18px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); transition: .25s; }
.review:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(40,40,38,.35); }
.review h4 { margin: 0; font-size: 17px; color: var(--navy); }
.review p { margin: 0; font-size: 15px; color: #4a4a48; line-height: 1.6; }
.review small { color: var(--muted); margin-top: auto; }

/* YouTube : encart chaîne + liste éditoriale, sans miniatures */
.yt-block { display: grid; grid-template-columns: 380px 1fr; gap: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.yt-channel { background: var(--navy) var(--hex); color: #fff; padding: 40px 36px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.yt-channel img { width: 64px; height: auto; margin-bottom: 6px; }
.yt-channel h3 { color: #fff; font-size: 28px; line-height: 1.15; margin: 0; }
.yt-channel h3 em { color: var(--gold); font-style: italic; font-weight: 400; }
.yt-channel p { margin: 0; color: rgba(255,255,255,.78); font-size: 15px; }
.yt-channel .btn { align-self: flex-start; margin-top: 8px; }
.yt-channel .btn svg { width: 20px; height: 20px; }
.yt-all { color: #fff; opacity: .8; font-weight: 600; font-size: 14px; text-decoration: none; }
.yt-all:hover { opacity: 1; color: var(--gold); }
.yt-list { list-style: none; margin: 0; padding: 14px 0; display: grid; grid-template-columns: 1fr 1fr; align-content: center; }
.yt-list a { display: flex; align-items: center; gap: 18px; padding: 20px 30px; text-decoration: none; color: var(--navy); border-bottom: 1px solid var(--line); transition: background .2s; height: 100%; box-sizing: border-box; }
.yt-list li:nth-last-child(-n+2) a { border-bottom: 0; }
.yt-list a:hover { background: var(--sky); }
.yt-list .n { font-weight: 800; font-size: 22px; color: var(--gold); min-width: 30px; }
.yt-list .t { flex: 1; font-weight: 700; font-size: 15.5px; line-height: 1.35; }
.yt-list .t small { display: block; font-weight: 600; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.yt-list .pl { width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); flex: none; display: grid; place-items: center; transition: .2s; }
.yt-list .pl::after { content: ""; border-left: 9px solid var(--navy); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.yt-list a:hover .pl { background: var(--gold); box-shadow: none; }
.yt-list a:hover .pl::after { border-left-color: #fff; }
@media (max-width: 960px) { .yt-block { grid-template-columns: minmax(0, 1fr); } .yt-list { grid-template-columns: minmax(0, 1fr); } .yt-list li:nth-last-child(2) a { border-bottom: 1px solid var(--line); } }
@media (max-width: 960px) { .reviews { grid-template-columns: minmax(0, 1fr); } .review { min-width: 0; } }

/* Logo YouTube à droite des titres vidéo */
.yt-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #0f0f0f; font: 700 26px/1 "Montserrat", Arial, sans-serif; letter-spacing: -.04em; transition: transform .2s; }
.yt-logo svg { width: 46px; height: auto; }
.yt-logo:hover { transform: scale(1.04); }
.vhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }

/* Bandeau des promoteurs */
.partners { padding: 46px 0 10px; }
.partners .label { text-align: center; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 26px; }
.partners .label b { color: var(--navy); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 64px; list-style: none; margin: 0; padding: 0; width: max-content; animation: marquee 55s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: none; }
.marquee-track img { height: 46px; width: auto; max-width: 170px; object-fit: contain; opacity: .82; transition: opacity .2s; }
.marquee-track li:hover img { opacity: 1; }
.marquee-track span { font-size: 11px; letter-spacing: .08em; color: var(--muted); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(calc(-50% - 32px)); } }
@media (max-width: 600px) { .marquee-track { gap: 40px; animation-duration: 40s; } .marquee-track img { height: 34px; max-width: 130px; } .yt-logo { font-size: 22px; } .yt-logo svg { width: 38px; } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } .marquee-track li[aria-hidden] { display: none; } }

/* La zone de la bulle ne doit jamais bloquer les clics de la page (formulaire en dessous) */
.wa-widget { pointer-events: none; }
.wa-widget .fab, .wa-widget.open .box { pointer-events: auto; }
/* Ancrages et défilements : ne pas passer sous l'en-tête collant */
html { scroll-padding-top: 96px; }

/* ---- Pages SEO : points clés, FAQ, pages géographiques, alerte, barre d'action mobile ---- */
.keypoints { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.keypoints li { background: var(--sky); border-radius: 12px; padding: 12px 16px; font-size: 15px; color: #3C3C3B; }
.keypoints b { color: var(--navy); }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.geo-tiles { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.geo-tiles div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; min-width: 130px; }
.geo-tiles b { display: block; font-size: 24px; color: var(--navy); font-weight: 800; }
.geo-tiles span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.geo-links { display: flex; flex-wrap: wrap; gap: 8px; }
.geo-links a { background: var(--sky); color: var(--navy); text-decoration: none; padding: 9px 14px; border-radius: 30px; font-weight: 600; font-size: 14px; }
.geo-links a:hover { background: var(--gold); color: #fff; }
.geo-links small { color: var(--muted); font-weight: 500; }
.page-hero .crumbs a { color: var(--navy); }
.alert-box { margin-top: 40px; background: var(--navy) var(--hex); color: #fff; border-radius: 20px; padding: 26px; display: grid; grid-template-columns: 1fr minmax(0, 360px); gap: 20px; align-items: center; position: relative; }
.alert-box b { display: block; font-size: 19px; margin-bottom: 6px; }
.alert-box span { opacity: .8; font-size: 14px; }
.alert-box form { display: flex; gap: 8px; }
.alert-box input[type=email] { flex: 1; min-width: 0; border: 0; border-radius: 30px; padding: 14px 18px; font: 500 16px "Montserrat", Arial; }
.alert-box .ok { color: #fff; font-weight: 700; }
.mbar { display: none; }
@media (max-width: 760px) {
  .alert-box { grid-template-columns: minmax(0, 1fr); }
  .alert-box form { flex-direction: column; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); box-shadow: 0 -8px 24px -12px rgba(40,40,38,.35); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 6px; height: 46px; border-radius: 30px; text-decoration: none; font-weight: 700; font-size: 14px; color: var(--navy); background: var(--sky); }
  .mbar a svg { width: 18px; height: 18px; }
  .mbar a.wa { background: #25d366; color: #073b1d; }
  .mbar a.cta { background: var(--gold); color: #fff; }
  body:has(.mbar) { padding-bottom: 76px; }
  body:has(.mbar) .wa-widget { display: none; }
}

/* Photo indisponible : logo Solution BRS sur fond noir */
.card .ph.noimg, .gallery div.noimg, .mini i.noimg { background: var(--navy) url("brand/symbol-white.svg") center / 34% no-repeat !important; }
.card .ph.noimg::before { content: none; }

/* ---- Simulateur PTZ & capacité d'achat ---- */
.simu-form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: grid; gap: 22px; max-width: 860px; box-shadow: 0 30px 60px -40px rgba(40,40,38,.35); }
.simu-step { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
.simu-step .n { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; }
.simu-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.simu-form .hint { color: var(--muted); font-size: 13px; }
.stepper { display: flex; align-items: center; background: var(--sky); border-radius: 10px; }
.stepper button { width: 44px; height: 46px; border: 0; background: none; font-size: 22px; color: var(--navy); cursor: pointer; }
.stepper input { text-align: center; background: transparent !important; }
.simu-adv summary { cursor: pointer; color: var(--navy); font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.simu-go { justify-self: start; padding: 18px 30px; font-size: 16px; }
#simuResult { display: grid; gap: 16px; max-width: 860px; margin-top: 26px; }
.simu-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; }
.simu-main { background: var(--navy) var(--hex); color: #fff; border: 0; }
.simu-main .eyebrow { color: var(--gold); }
.simu-big { font-size: clamp(40px, 7vw, 64px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 6px 0; }
.simu-main p { margin: 6px 0 0; opacity: .9; }
.simu-gain { background: rgba(254,201,5,.18); border-radius: 10px; padding: 10px 14px; display: inline-block; }
.simu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.simu-mid { font-size: 30px; font-weight: 800; color: var(--navy); margin: 4px 0 6px; }
.simu-card p { font-size: 14px; color: #4a4a48; margin: 0; line-height: 1.6; }
.simu-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; font-size: 14px; }
.simu-list li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.simu-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--sky); border: 0; }
.simu-cta b { display: block; color: var(--navy); font-size: 17px; }
.simu-cta span { font-size: 13px; color: var(--muted); }
.tbl { overflow-x: auto; }
.tbl table { min-width: 520px; }
.tbl th { background: var(--sky); color: var(--navy); text-align: left; }
@media (max-width: 760px) {
  .simu-form { padding: 20px 16px; }
  .simu-form .row, .simu-grid { grid-template-columns: minmax(0, 1fr); }
  .simu-step { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .simu-cta { flex-direction: column; align-items: flex-start; }
  .simu-go { justify-self: stretch; }
}

/* Onglet Simulateur mis en avant + sélection de résidences */
.nav a.nav-sim { color: var(--gold); font-weight: 700; padding: 8px 14px; border-radius: 30px; box-shadow: inset 0 0 0 1.5px var(--gold); }
.nav a.nav-sim::after { display: none; }
.nav a.nav-sim:hover { background: var(--gold); color: #fff; }
.simu-sel { background: var(--sky); border: 0; }
.simu-cards { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important; }
.simu-cards .card h3 { font-size: 17px; }
@media (max-width: 860px) { .nav a.nav-sim { align-self: center; } }

/* Simulateur : lignes plus aérées */
.simu-card .eyebrow { margin-bottom: 4px; }
.simu-list { gap: 12px; margin-top: 14px; font-size: 15px; }
.simu-list li { padding-bottom: 10px; align-items: baseline; }
.simu-list li b { color: var(--navy); white-space: nowrap; }
.simu-card p { line-height: 1.7; }
#simuResult { gap: 20px; }
.simu-main p, .simu-main p b { color: #fff; opacity: 1; }
.simu-main p { color: rgba(255,255,255,.88); }
.simu-gain { background: rgba(254,201,5,.25); color: #fff !important; }

/* Compteur de personnes : sur une ligne (le style générique « .fld span » le mettait en bloc) */
.fld .stepper { display: flex !important; align-items: center; margin: 0; padding: 0; text-transform: none; letter-spacing: 0; }
.fld .stepper input { flex: 1; min-width: 0; }

.card .loc .dist { color: var(--navy); font-weight: 700; }
.near-note { border-left-color: var(--gold); }

/* Demande de plan sur WhatsApp */
.btn-wa-cta { background: #25d366; color: #073b1d; width: 100%; display: inline-flex; gap: 10px; justify-content: center; align-items: center; }
.btn-wa-cta:hover { background: #1fbe5a; color: #073b1d; }
.btn-wa-cta svg { width: 22px; height: 22px; }
.ok .btn-wa-cta { margin: 6px 0 4px; padding: 16px 20px; font-size: 16px; }
.ok .ic.wa { background: #25d366; color: #fff; }
.ok .ic.wa svg { width: 30px; height: 30px; }

/* ---------- Guide PTZ 2026 : popup motion design ---------- */
html.gp-lock { overflow: hidden; }
.gp { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 16px;
  background: rgba(30, 30, 29, 0); backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); transition: background .45s, backdrop-filter .45s; }
.gp.in { background: rgba(30, 30, 29, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.gp.out { background: rgba(30, 30, 29, 0); backdrop-filter: blur(0); }
.gp-card { position: relative; display: grid; grid-template-columns: 300px 1fr; width: min(880px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  background: #fff; border-radius: 24px; box-shadow: 0 40px 90px -20px rgba(30, 30, 29, .55);
  opacity: 0; transform: translateY(40px) scale(.94); transition: opacity .45s, transform .7s cubic-bezier(.2, 1.3, .4, 1); }
.gp.in .gp-card { opacity: 1; transform: none; }
.gp.out .gp-card { opacity: 0; transform: translateY(24px) scale(.96); transition-duration: .3s; }
.gp-x { position: absolute; top: 12px; right: 14px; z-index: 3; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f1f0ec; color: var(--navy); font-size: 22px; cursor: pointer; transition: transform .25s; }
.gp-x:hover { transform: rotate(90deg); }
/* Colonne visuelle : livre 3D, pages en éventail, orbites */
.gp-visual { position: relative; overflow: hidden; min-height: 460px; background: radial-gradient(120% 90% at 30% 20%, #5a5a58 0%, var(--navy) 55%, #1f1f1e 100%); border-radius: 24px 0 0 24px; }
.gp-visual::before { content: ""; position: absolute; inset: 0; background: var(--hex); opacity: .9; filter: invert(1); mix-blend-mode: overlay; }
.gp-orbit { position: absolute; width: 360px; height: 360px; left: -40px; top: 70px; border-radius: 50%; border: 14px solid var(--gold); border-left-color: transparent; border-bottom-color: transparent;
  opacity: 0; transform: rotate(-120deg) scale(.7); transition: 1.1s cubic-bezier(.2, 1, .3, 1) .15s; }
.gp-orbit.o2 { width: 250px; height: 250px; left: 60px; top: 160px; border-width: 6px; border-color: rgba(255,255,255,.35); border-right-color: transparent; border-top-color: transparent; transition-delay: .3s; }
.gp.in .gp-orbit { opacity: .9; transform: rotate(0) scale(1); }
.gp.in .gp-orbit.o2 { opacity: 1; animation: gpSpin 18s linear 1.4s infinite; }
@keyframes gpSpin { to { transform: rotate(360deg); } }
.gp-stack { position: absolute; left: 50%; top: 50%; width: 170px; height: 240px; margin: -130px 0 0 -85px; perspective: 900px; }
.gp-page { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; box-shadow: 0 14px 30px rgba(0,0,0,.35); opacity: 0; transform: translate(0, 30px) rotate(0); transition: 0.9s cubic-bezier(.2, 1.2, .4, 1); }
.gp.in .gp-page.p1 { opacity: 1; transform: translate(-70px, 10px) rotate(-16deg); transition-delay: .55s; }
.gp.in .gp-page.p2 { opacity: 1; transform: translate(72px, 4px) rotate(14deg); transition-delay: .7s; }
.gp.in .gp-page.p3 { opacity: 1; transform: translate(6px, -36px) rotate(4deg) scale(.92); transition-delay: .85s; }
.gp-book { position: absolute; inset: 0; border-radius: 4px 8px 8px 4px; transform-style: preserve-3d; opacity: 0; transform: rotateY(-70deg) translateZ(40px);
  transition: opacity .5s .2s, transform 1.1s cubic-bezier(.2, 1.1, .3, 1) .2s; box-shadow: -10px 22px 40px rgba(0,0,0,.45); }
.gp-book::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: linear-gradient(90deg, rgba(0,0,0,.28), transparent); z-index: 1; border-radius: 4px 0 0 4px; }
.gp-book img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.gp.in .gp-book { opacity: 1; transform: rotateY(-14deg) rotateX(4deg); animation: gpFloat 5s ease-in-out 1.4s infinite; }
@keyframes gpFloat { 50% { transform: rotateY(-6deg) rotateX(2deg) translateY(-10px); } }
.gp-shine { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
.gp-shine::after { content: ""; position: absolute; top: -20%; bottom: -20%; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-12deg); }
.gp.in .gp-shine::after { animation: gpShine 3.6s ease-in-out 1.3s infinite; }
@keyframes gpShine { 0% { left: -60%; } 35%, 100% { left: 130%; } }
.gp-badge { position: absolute; right: 22px; top: 40px; width: 82px; height: 82px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-content: center; text-align: center; line-height: 1;
  box-shadow: 0 0 0 6px rgba(254,201,5,.25), 0 10px 24px rgba(0,0,0,.3); transform: scale(0) rotate(-40deg); transition: transform .7s cubic-bezier(.3, 1.8, .5, 1) 1.05s; }
.gp-badge b { font-size: 26px; font-weight: 800; } .gp-badge span { font-size: 10px; font-weight: 600; margin-top: 3px; }
.gp.in .gp-badge { transform: scale(1) rotate(-8deg); animation: gpPulse 2.4s ease-in-out 2s infinite; }
@keyframes gpPulse { 50% { box-shadow: 0 0 0 14px rgba(254,201,5,0), 0 10px 24px rgba(0,0,0,.3); } }
.gp-chip { position: absolute; left: 50%; bottom: 26px; transform: translate(-50%, 20px); opacity: 0; background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.3); padding: 7px 14px; border-radius: 30px; font-size: 12px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; transition: .6s 1.2s; }
.gp.in .gp-chip { opacity: 1; transform: translate(-50%, 0); }
/* Colonne texte + formulaire : apparitions en cascade */
.gp-body { padding: 34px 34px 28px; }
.gp-step > * { opacity: 0; transform: translateY(14px); transition: .55s cubic-bezier(.2, 1, .3, 1); }
.gp.in .gp-step > * { opacity: 1; transform: none; }
.gp.in .gp-step > :nth-child(1) { transition-delay: .35s; } .gp.in .gp-step > :nth-child(2) { transition-delay: .45s; } .gp.in .gp-step > :nth-child(3) { transition-delay: .55s; }
.gp.in .gp-step > :nth-child(4) { transition-delay: .65s; } .gp.in .gp-step > :nth-child(5) { transition-delay: .9s; }
.gp-eyebrow { display: inline-block; background: var(--champagne-soft); color: var(--gold-ink); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 30px; }
.gp-body h3 { font-size: 30px; line-height: 1.1; margin: 12px 0 6px; }
.gp-amount { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.gp-amount b { font-size: 26px; color: var(--navy); font-weight: 800; font-variant-numeric: tabular-nums; }
.gp-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.gp-list li { position: relative; padding-left: 26px; font-size: 13.5px; line-height: 1.35; color: var(--ink); opacity: 0; transform: translateX(-10px); transition: .5s; }
.gp-list li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 19px; height: 19px; border-radius: 50%; background: var(--gold); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.gp.in .gp-list li { opacity: 1; transform: none; }
.gp.in .gp-list li:nth-child(1) { transition-delay: .75s; } .gp.in .gp-list li:nth-child(2) { transition-delay: .85s; }
.gp.in .gp-list li:nth-child(3) { transition-delay: .95s; } .gp.in .gp-list li:nth-child(4) { transition-delay: 1.05s; }
.gp-form .gp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.gp-form input:not([type=checkbox]) { width: 100%; box-sizing: border-box; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 15px; color: var(--ink); background: #fbfaf7; transition: border-color .2s, box-shadow .2s; }
.gp-form input:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(254,201,5,.15); background: #fff; }
.gp-form input.bad { border-color: #c0392b; animation: gpShake .35s; }
.gp-consent.bad, .gp-consent:has(input.bad) { color: #c0392b; }
@keyframes gpShake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.gp-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 11.5px; line-height: 1.4; color: var(--muted); margin: 4px 0 14px; }
.gp-consent a { color: var(--navy); }
.gp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 40px; padding: 14px 16px; font: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer; text-decoration: none; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.gp-btn:hover { transform: translateY(-2px); }
.gp-btn.dl { background: var(--gold); color: #fff; box-shadow: 0 10px 22px -8px rgba(254,201,5,.8); }
.gp-btn.wa { background: #25d366; color: #073b1d; box-shadow: 0 10px 22px -8px rgba(37,211,102,.8); }
.gp-btn::after { content: ""; position: absolute; top: 0; bottom: 0; width: 30%; left: -40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-15deg); }
.gp.in .gp-btn.dl::after { animation: gpShine 3.2s ease-in-out 2.2s infinite; }
.gp-btn:disabled { opacity: .55; cursor: wait; transform: none; }
.gp-btn.loading { opacity: 1; } .gp-btn.loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: gpSpin .7s linear infinite; }
.gp-err { color: #b42318; font-size: 13px; margin: 10px 0 0; min-height: 1px; }
/* Écran de confirmation */
.gp-done { text-align: center; padding-top: 30px; position: relative; }
.gp-done > * { opacity: 1; transform: none; animation: gpUp .6s cubic-bezier(.2, 1, .3, 1) both; }
.gp-done > :nth-child(2) { animation-delay: .25s; } .gp-done > :nth-child(3) { animation-delay: .35s; } .gp-done > :nth-child(4) { animation-delay: .45s; } .gp-done > :nth-child(5) { animation-delay: .55s; } .gp-done > :nth-child(6) { animation-delay: .65s; }
@keyframes gpUp { from { opacity: 0; transform: translateY(14px); } }
.gp-done .gp-btn { width: 100%; max-width: 340px; margin: 6px auto 0; }
.gp-done p { color: var(--muted); font-size: 15px; } .gp-done p strong { color: var(--navy); }
.gp-check { width: 76px; height: 76px; margin: 0 auto 6px; display: block; }
.gp-check circle { fill: none; stroke: var(--gold); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: gpDraw .7s ease-out forwards; }
.gp-check path { fill: none; stroke: var(--navy); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: gpDraw .45s ease-out .55s forwards; }
@keyframes gpDraw { to { stroke-dashoffset: 0; } }
.gp-link { display: block; margin: 14px 0 0; color: var(--navy); font-weight: 700; font-size: 14px; }
.gp-note { font-size: 13px !important; margin-top: 20px; } .gp-note a { color: var(--navy); font-weight: 700; }
.gp-confetti { position: absolute; left: 50%; top: 60px; width: 0; height: 0; pointer-events: none; }
.gp-confetti b { position: absolute; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); opacity: 0; animation: gpBurst 1.1s cubic-bezier(.1, .8, .3, 1) .5s forwards; }
.gp-confetti b:nth-child(3n) { background: var(--navy); } .gp-confetti b:nth-child(4n) { background: #25d366; border-radius: 50%; }
.gp-confetti b:nth-child(1) { --x: -120px; --y: -40px; } .gp-confetti b:nth-child(2) { --x: 110px; --y: -50px; } .gp-confetti b:nth-child(3) { --x: -80px; --y: -90px; }
.gp-confetti b:nth-child(4) { --x: 70px; --y: -100px; } .gp-confetti b:nth-child(5) { --x: -150px; --y: 10px; } .gp-confetti b:nth-child(6) { --x: 150px; --y: 0; }
.gp-confetti b:nth-child(7) { --x: -30px; --y: -120px; } .gp-confetti b:nth-child(8) { --x: 30px; --y: -115px; } .gp-confetti b:nth-child(9) { --x: -100px; --y: 50px; }
.gp-confetti b:nth-child(10) { --x: 100px; --y: 45px; } .gp-confetti b:nth-child(11) { --x: -60px; --y: 70px; } .gp-confetti b:nth-child(12) { --x: 60px; --y: 75px; }
.gp-confetti b:nth-child(13) { --x: -170px; --y: -70px; } .gp-confetti b:nth-child(14) { --x: 170px; --y: -80px; }
@keyframes gpBurst { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(320deg); } }
/* Pastille de rappel (ordinateur) */
.gp-pill { position: fixed; left: 18px; bottom: 18px; z-index: 900; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border: 0; border-radius: 16px; background: #fff; color: var(--navy); font: inherit; cursor: pointer;
  box-shadow: 0 14px 34px -10px rgba(30,30,29,.45); transform: translateX(-140%); transition: transform .7s cubic-bezier(.2, 1.3, .4, 1); }
.gp-pill.in { transform: none; } .gp-pill:hover { transform: translateY(-3px); }
.gp-pill img { width: 38px; height: 54px; object-fit: cover; border-radius: 3px; box-shadow: 0 4px 10px rgba(0,0,0,.25); animation: gpWiggle 4s ease-in-out 2s infinite; }
.gp-pill span { display: grid; text-align: left; font-size: 12px; color: var(--muted); } .gp-pill b { font-size: 14px; color: var(--navy); }
@keyframes gpWiggle { 0%, 88%, 100% { transform: rotate(0); } 92% { transform: rotate(-8deg); } 96% { transform: rotate(6deg); } }
/* Bandeau « guide » dans les pages (simulateur, articles PTZ) */
.guide-band { display: grid; grid-template-columns: 110px 1fr auto; gap: 22px; align-items: center; margin: 36px 0; padding: 22px 26px; border-radius: 20px; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #5a5a58, var(--navy) 60%, #1f1f1e); position: relative; overflow: hidden; }
.guide-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 12px solid var(--gold); opacity: .35; }
.guide-band img { width: 110px; border-radius: 4px; box-shadow: 0 12px 26px rgba(0,0,0,.4); transform: rotate(-6deg); transition: transform .4s; }
.guide-band:hover img { transform: rotate(0) scale(1.04); }
.guide-band h3 { color: #fff; margin: 0 0 6px; font-size: 21px; } .guide-band p { margin: 0; color: rgba(255,255,255,.82); font-size: 14.5px; }
.guide-band .gp-btn { position: relative; z-index: 1; white-space: nowrap; }
@media (max-width: 760px) {
  .gp { padding: 0; align-items: end; }
  .gp-card { grid-template-columns: 1fr; border-radius: 22px 22px 0 0; max-height: 94vh; transform: translateY(100%); transition: opacity .3s, transform .6s cubic-bezier(.2, 1, .3, 1); }
  .gp.out .gp-card { transform: translateY(100%); }
  .gp-visual { min-height: 190px; border-radius: 22px 22px 0 0; }
  .gp-stack { width: 92px; height: 130px; margin: -58px 0 0 -46px; }
  .gp.in .gp-page.p1 { transform: translate(-58px, 10px) rotate(-16deg); } .gp.in .gp-page.p2 { transform: translate(60px, 4px) rotate(14deg); }
  .gp-orbit { width: 240px; height: 240px; top: 20px; left: -60px; } .gp-orbit.o2 { display: none; }
  .gp-badge { width: 60px; height: 60px; right: auto; left: 16px; top: 16px; } .gp-badge b { font-size: 19px; } .gp-badge span { font-size: 8.5px; }
  .gp-chip { display: none; }
  .gp-body { padding: 18px 18px 22px; } .gp-amount { font-size: 14px; } .gp-x { background: rgba(255,255,255,.9); } .gp-body h3 { font-size: 24px; } .gp-amount b { font-size: 21px; }
  .gp-list { grid-template-columns: 1fr; gap: 6px; margin-bottom: 14px; }
  .gp-actions { grid-template-columns: 1fr; gap: 8px; } .gp-form .gp-row { gap: 8px; margin-bottom: 8px; } .gp-form .gp-row:nth-of-type(2) { grid-template-columns: 1fr; }
  .gp-form input:not([type=checkbox]) { font-size: 16px; padding: 11px 13px; }
  .guide-band { grid-template-columns: 70px 1fr; padding: 18px; gap: 14px; } .guide-band img { width: 70px; } .guide-band .gp-btn { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .gp *, .gp-pill, .gp-pill img { animation: none !important; transition-duration: .01s !important; transition-delay: 0s !important; } }

/* Onglet « Guide PTZ » */
.nav a.nav-guide { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--navy); }
.nav a.nav-guide sup { font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: var(--gold); padding: 2px 6px; border-radius: 20px; animation: gpPulseTag 2.6s ease-in-out infinite; }
@keyframes gpPulseTag { 50% { box-shadow: 0 0 0 5px rgba(254,201,5,0); } 0%, 100% { box-shadow: 0 0 0 0 rgba(254,201,5,.45); } }
@media (max-width: 860px) { .nav a.nav-guide { align-self: center; } }
@media (min-width: 861px) {
  .nav a { white-space: nowrap; }
  .top .wrap { gap: 16px; }
  .top .brand { flex-shrink: 0; white-space: nowrap; }
}
@media (min-width: 861px) and (max-width: 1460px) {
  .nav { gap: 18px; } .nav a { font-size: 13px; } .nav .btn { padding: 11px 14px; }
}
@media (min-width: 861px) and (max-width: 1300px) {
  .nav a[href*="projet=habiter"], .nav a[href*="projet=investir"] { display: none; }
}
@media (min-width: 861px) and (max-width: 1100px) { .nav .tel { display: none; } }
/* Popup guide : version compacte sur téléphone */
@media (max-width: 760px) {
  .gp-card { max-height: 88vh; }
  .gp-visual { min-height: 112px; }
  .gp-stack { width: 58px; height: 82px; margin: -38px 0 0 -29px; }
  .gp.in .gp-page.p1 { transform: translate(-40px, 6px) rotate(-14deg); } .gp.in .gp-page.p2 { transform: translate(42px, 4px) rotate(12deg); }
  .gp.in .gp-page.p3 { transform: translate(4px, -14px) rotate(4deg) scale(.9); }
  .gp-orbit { width: 170px; height: 170px; top: 6px; left: -50px; border-width: 9px; }
  .gp-badge { width: 48px; height: 48px; left: 12px; top: 12px; box-shadow: 0 0 0 4px rgba(254,201,5,.25); } .gp-badge b { font-size: 15px; } .gp-badge span { font-size: 7px; }
  .gp-x { top: 8px; right: 8px; width: 32px; height: 32px; font-size: 20px; }
  .gp-body { padding: 12px 16px 16px; }
  .gp-eyebrow { display: none; }
  .gp-body h3 { font-size: 21px; margin: 0 0 2px; }
  .gp-amount { font-size: 13px; margin-bottom: 8px; } .gp-amount b { font-size: 17px; }
  .gp-list { display: none; }
  .gp-form .gp-row, .gp-form .gp-row:nth-of-type(2) { grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 6px; }
  .gp-form input:not([type=checkbox]) { padding: 9px 11px; border-radius: 10px; }
  .gp-consent { font-size: 10.5px; margin: 2px 0 8px; }
  .gp-actions { gap: 6px; } .gp-btn { padding: 11px 14px; font-size: 14px; }
  .gp-done { padding-top: 8px; } .gp-check { width: 56px; height: 56px; } .gp-done p { font-size: 14px; margin: 6px 0; } .gp-note { margin-top: 10px; }
}
/* Pastille « Guide PTZ » sur téléphone : compacte, au-dessus de la barre d'actions des fiches */
@media (max-width: 760px) {
  .gp-pill { left: 12px; bottom: calc(16px + env(safe-area-inset-bottom)); gap: 8px; padding: 6px 12px 6px 6px; border-radius: 14px; }
  .gp-pill img { width: 28px; height: 40px; }
  .gp-pill span { font-size: 11px; } .gp-pill b { font-size: 13px; }
  body:has(.mbar) .gp-pill { bottom: calc(82px + env(safe-area-inset-bottom)); }
}

/* Photos en balises <img> (texte alternatif lisible par Google Images) posées sur le fond existant */
.gallery div > img, .card .ph > img.ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery .all, .card .tag { z-index: 1; }
.card .ph.noimg > img.ph-img { display: none; }
/* Accueil : bloc de texte et de liens (référencement) */
.seo-home { padding: 70px 0 80px; }
.seo-home h2 { font-size: clamp(26px, 3vw, 38px); margin: 10px 0 18px; max-width: 820px; }
.seo-home-text { columns: 2 340px; column-gap: 40px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.seo-home-text p { margin: 0 0 14px; break-inside: avoid; } .seo-home-text a { color: var(--navy); font-weight: 600; }
.seo-home h3 { font-size: 17px; margin: 34px 0 14px; }
.seo-home .geo-links small { color: var(--muted); font-weight: 500; }
/* Pages villes : tableaux prix / PTZ, liens dispositifs */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.geo-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 480px; }
.geo-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 12px; border-bottom: 2px solid var(--line); }
.geo-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); color: var(--ink); }
.geo-table tbody tr:hover { background: var(--sky); }
.geo-note { color: var(--muted); font-size: 13.5px; margin: 10px 0; }
.geo-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.geo-cta .btn { width: auto; }
.geo-links-lab { align-self: center; font-weight: 700; color: var(--navy); margin-right: 4px; }
.geo-prose h2 { margin: 36px 0 12px; } .geo-prose h2:first-child { margin-top: 0; }
.geo-prose ul { padding-left: 20px; line-height: 1.7; }
/* Articles : encadrés de mise à jour et liens */
.update-note { background: var(--champagne-soft); border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 0 0 22px; font-size: 15px; line-height: 1.6; }
.update-note a { color: var(--navy); font-weight: 700; }
.art-cities { margin: 36px 0; } .art-cities h2 { font-size: 22px; margin-bottom: 14px; }
.art-more { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin: 36px 0 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; font-size: 14.5px; }
.art-more b { color: var(--navy); width: 100%; } .art-more a { color: var(--navy); font-weight: 600; }
/* Questions immobilier neuf */
.answer-box { background: var(--champagne-soft); border-left: 5px solid var(--gold); border-radius: 0 16px 16px 0; padding: 18px 22px; margin: 0 0 30px; }
.answer-box > b { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 6px; }
.answer-box p { margin: 0; font-size: 17.5px; line-height: 1.65; color: var(--ink); }
.q-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.q-list a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; transition: border-color .2s, transform .2s; }
.q-list a:hover { border-color: var(--gold); transform: translateY(-2px); }
.q-list b { display: block; color: var(--navy); font-size: 16px; margin-bottom: 6px; } .q-list span { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ---- Solution BRS : le jaune porte toujours du texte noir ; petits textes en jaune assombri ---- */
h1 em, h2 em { font-style: italic; font-weight: 400; color: inherit; background: linear-gradient(transparent 62%, rgba(254,201,5,.75) 62%, rgba(254,201,5,.75) 92%, transparent 92%); padding: 0 .08em; }
.simu-main h1 em, .simu-main h2 em, .yt-channel h3 em, .alert-box em, .guide-band em { background: none; color: var(--gold); }
.eyebrow, .card .loc, .facts span, .lots th, .fld span, .filters h4, .search label span, .addr svg, .addr a,
.yt-list .n, .faq summary::after, .nav a.nav-sim, .answer-box > b, .gp-eyebrow { color: var(--gold-ink); }
.simu-main .eyebrow, footer h5, .presented b { color: var(--gold); }
.btn-cta, .btn-cta:hover, .card .tag.r, .geo-links a:hover, .mbar a.cta, .nav a.nav-sim:hover, .gp-badge, .gp-list li::before,
.gp-btn.dl, .nav a.nav-guide sup { color: var(--navy); }
.nav a.nav-sim { box-shadow: inset 0 0 0 1.5px var(--gold); }
.yt-list a:hover .pl::after { border-left-color: var(--navy); }
.btn-cta { font-weight: 700; }
.simu-step[hidden] { display: none; }

/* ---- Chaîne YouTube (liste sans miniatures) ---- */
.yt-sub { background: #FF0033; color: #fff; }
.yt-sub:hover { background: #d9002b; color: #fff; }
.yt-sub svg { width: 20px; height: 20px; }
.yt-list a:hover .pl::after { border-left-color: var(--navy); }   /* sur le jaune : toujours du noir */

/* ---- Motion design (classe .mo posée par theme.js, absente si « réduire les animations ») ---- */
h1 em, h2 em { background-repeat: no-repeat; background-size: 100% 100%; }
.mo h1 em { background-size: 0% 100%; animation: hl 1.1s .7s cubic-bezier(.6,0,.2,1) forwards; }
.mo h2 em { background-size: 0% 100%; transition: background-size 1.1s .35s cubic-bezier(.6,0,.2,1); }
.mo h2.in em, .mo .in h2 em { background-size: 100% 100%; }
@keyframes hl { to { background-size: 100% 100%; } }
.mo .sr { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1) var(--sd, 0s), transform .8s cubic-bezier(.2,.7,.2,1) var(--sd, 0s); }
.mo .sr.in { opacity: 1; transform: none; }
.sprog { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); z-index: 1200; pointer-events: none; }
.btn-cta { position: relative; overflow: hidden; }
.btn-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%); transform: translateX(-130%); pointer-events: none; }
.btn-cta:hover::after { transform: translateX(130%); transition: transform .75s ease; }
.mo .card { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.mo .card:hover { transform: translateY(-8px); box-shadow: 0 26px 50px -24px rgba(30,30,29,.45); }
.mo .yt-list li { opacity: 0; transform: translateX(-16px); }
.mo .in .yt-list li { animation: ytin .6s cubic-bezier(.2,.7,.2,1) forwards; }
.mo .in .yt-list li:nth-child(1) { animation-delay: 0.24s; }
.mo .in .yt-list li:nth-child(2) { animation-delay: 0.33s; }
.mo .in .yt-list li:nth-child(3) { animation-delay: 0.42s; }
.mo .in .yt-list li:nth-child(4) { animation-delay: 0.51s; }
.mo .in .yt-list li:nth-child(5) { animation-delay: 0.60s; }
.mo .in .yt-list li:nth-child(6) { animation-delay: 0.69s; }
@keyframes ytin { to { opacity: 1; transform: none; } }
.mo .yt-sub svg { animation: ytbeat 2.4s ease-in-out infinite; }
@keyframes ytbeat { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.25); } 90% { transform: scale(.95); } }
.mk { transform-box: fill-box; transform-origin: center; animation: mkpop .55s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes mkpop { from { transform: scale(0); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .btn-cta::after { display: none; } .mk { animation: none; }
}
