
:root{
  --navy:#1B3A5C; --navy-deep:#10243C; --navy-ink:#0C1B2E;
  --gold:#B8860B; --gold-bright:#D4A437; --gold-pale:#F0E3C0;
  --paper:#F7F5F0; --white:#FFFFFF; --grey:#5B6770; --line:#E3DFD5;
  --ok:#2E7D52; --warn:#C75B12; --bad:#B3261E;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto} *{animation:none!important;transition:none!important}}
body{font-family:'Inter',system-ui,sans-serif;color:var(--navy-ink);background:var(--paper);line-height:1.6;font-size:16px}
h1,h2,h3{font-family:'Cormorant Garamond',serif;color:var(--navy);line-height:1.12;font-weight:600}
h1{font-size:clamp(2.3rem,4.8vw,3.8rem)}
h2{font-size:clamp(1.7rem,3vw,2.5rem);margin-bottom:.5rem}
h3{font-size:1.35rem}
.mono{font-family:'IBM Plex Mono',monospace}
.eyebrow{font-family:'IBM Plex Mono',monospace;font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);margin-bottom:.8rem}
a{color:var(--navy)}
.container{max-width:1120px;margin:0 auto;padding:0 24px}
section{padding:76px 0}
.lead{max-width:62ch;color:var(--grey);font-size:1.02rem}
.btn{display:inline-block;padding:14px 28px;border-radius:2px;font-weight:600;font-size:.95rem;text-decoration:none;cursor:pointer;border:none;transition:transform .15s ease, box-shadow .15s ease;font-family:'Inter',sans-serif}
.btn:focus-visible{outline:3px solid var(--gold-bright);outline-offset:2px}
.btn-gold{background:var(--gold);color:#fff}
.btn-gold:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(184,134,11,.35)}
.btn-ghost{background:transparent;color:var(--navy);border:1px solid var(--navy)}
.btn-ghost.on-dark{color:#fff;border-color:rgba(255,255,255,.5)}
.btn-ghost:hover{background:rgba(27,58,92,.06)}
.btn-ghost.on-dark:hover{background:rgba(255,255,255,.08)}

/* ---------- NAV ---------- */
header{position:sticky;top:0;z-index:60;background:rgba(16,36,60,.97);backdrop-filter:blur(6px);border-bottom:1px solid rgba(212,164,55,.25)}
.nav{display:flex;align-items:center;justify-content:space-between;height:68px}
.logo{font-family:'Cormorant Garamond',serif;font-weight:700;font-size:1.55rem;color:#fff;text-decoration:none;letter-spacing:.04em}
.logo span{color:var(--gold-bright)}
.logo small{display:block;font-family:'IBM Plex Mono',monospace;font-size:.55rem;letter-spacing:.28em;color:rgba(255,255,255,.55);margin-top:-4px}
.nav-links{display:flex;gap:4px;list-style:none;align-items:center}
.nav-links a{color:rgba(255,255,255,.85);text-decoration:none;font-size:.9rem;font-weight:500;padding:10px 14px;border-radius:2px}
.nav-links a:hover{color:#fff;background:rgba(255,255,255,.07)}
.nav-links a.active{color:var(--gold-bright);box-shadow:inset 0 -2px 0 var(--gold-bright)}
.nav-tel{font-family:'IBM Plex Mono',monospace;font-size:.85rem;color:var(--gold-bright)!important;border:1px solid rgba(212,164,55,.4);margin-left:8px}
.burger{display:none;background:none;border:none;cursor:pointer;padding:8px}
.burger span{display:block;width:24px;height:2px;background:#fff;margin:5px 0}
@media(max-width:920px){
  .burger{display:block}
  .nav-links{position:fixed;inset:68px 0 auto 0;background:var(--navy-deep);flex-direction:column;align-items:stretch;padding:12px 24px 24px;display:none;border-bottom:2px solid var(--gold)}
  .nav-links.open{display:flex}
  .nav-links a{padding:14px 10px;border-bottom:1px solid rgba(255,255,255,.07)}
}
/* CTA mobile sticky */
.sticky-cta{display:none;position:fixed;bottom:0;left:0;right:0;z-index:55;background:var(--gold);text-align:center;padding:14px;font-weight:600}
.sticky-cta a{color:#fff;text-decoration:none}
@media(max-width:920px){.sticky-cta{display:block} body{padding-bottom:52px}}

/* ---------- PAGES ---------- */
.page{display:none}
.page.visible{display:block}

/* ---------- HERO ---------- */
.hero{background:linear-gradient(165deg,var(--navy-deep) 0%,var(--navy) 70%,#24486E 100%);color:#fff;padding:88px 0 0;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:48px;align-items:center;padding-bottom:64px}
@media(max-width:920px){.hero-grid{grid-template-columns:1fr}}
.hero h1{color:#fff}
.hero h1 em{font-style:italic;color:var(--gold-bright)}
.hero p.lede{margin:22px 0 30px;font-size:1.1rem;color:rgba(255,255,255,.85);max-width:46ch}
.hero-ctas{display:flex;gap:14px;flex-wrap:wrap}
.hero-kpis{display:flex;gap:36px;margin-top:44px;flex-wrap:wrap}
.kpi .n{font-family:'IBM Plex Mono',monospace;font-size:1.75rem;color:var(--gold-bright);font-weight:500}
.kpi .l{font-size:.76rem;color:rgba(255,255,255,.6);letter-spacing:.05em;text-transform:uppercase}
.kpi .n sup{font-size:.8rem}
/* façade signature */
.facade-wrap svg{width:100%;height:auto;display:block;filter:drop-shadow(0 18px 40px rgba(0,0,0,.4))}
.win{fill:#16314E;stroke:rgba(212,164,55,.45);stroke-width:.6;transition:fill .4s}
.win.lit{fill:var(--gold-bright);animation:glow 5s ease-in-out infinite alternate}
.win:hover{fill:var(--gold-bright)}
@keyframes glow{from{opacity:.5}to{opacity:1}}
.facade-caption{font-family:'IBM Plex Mono',monospace;font-size:.7rem;color:rgba(255,255,255,.5);text-align:center;margin-top:10px;letter-spacing:.1em}
/* protocole marquee */
.protocole{border-top:1px solid rgba(212,164,55,.3);padding:13px 0;overflow:hidden;white-space:nowrap}
.protocole div{display:inline-block;font-family:'IBM Plex Mono',monospace;font-size:.74rem;letter-spacing:.14em;color:rgba(255,255,255,.55);animation:slide 38s linear infinite}
.protocole b{color:var(--gold-bright);font-weight:500}
@keyframes slide{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion: reduce){.protocole div{animation:none}}

/* ---------- STRIP ---------- */
.strip{background:var(--navy-ink);color:#fff;padding:18px 0;border-bottom:1px solid rgba(212,164,55,.3)}
.strip .container{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;font-size:.88rem}
.strip b{color:var(--gold-bright);font-weight:600}

/* ---------- CARDS / TABLES ---------- */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;margin-top:36px}
.card{background:var(--white);border:1px solid var(--line);border-top:3px solid var(--gold);padding:28px 24px}
.card h3{margin-bottom:10px}
.card p{font-size:.93rem;color:var(--grey)}
.tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-top:32px}
.tablewrap::after{content:"";display:block}
table.cmp{width:100%;min-width:560px;border-collapse:collapse;background:var(--white);font-size:.92rem}
.tablewrap+.swipe-hint{display:none;font-family:'IBM Plex Mono',monospace;font-size:.68rem;color:var(--grey);letter-spacing:.1em;margin-top:8px}
@media(max-width:640px){
  section{padding:56px 0}
  .tablewrap+.swipe-hint{display:block}
  .results .r{flex-wrap:wrap;gap:4px}
  .hero{padding-top:64px}
  .hero-kpis{gap:24px}
}
table.cmp th{background:var(--navy);color:#fff;padding:13px 16px;text-align:left;font-weight:600}
table.cmp td{padding:13px 16px;border-bottom:1px solid var(--line)}
table.cmp td:first-child{font-weight:600;color:var(--navy)}
table.cmp tr td:last-child{background:var(--gold-pale)}
.note{font-size:.8rem;color:var(--grey);margin-top:12px}

/* ---------- ENGAGEMENTS ---------- */
.eng{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:2px;background:var(--line);border:1px solid var(--line);margin-top:36px}
.eng div{background:var(--white);padding:26px 20px}
.eng .mono{color:var(--gold);font-size:.74rem;letter-spacing:.15em}
.eng b{display:block;color:var(--navy);margin:6px 0 4px;font-size:1rem}
.eng p{font-size:.85rem;color:var(--grey)}

/* ---------- MÉTHODE KPI ---------- */
.kpis4{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;margin-top:36px}
.kpis4 .k{background:var(--navy);color:#fff;padding:30px 26px;position:relative;overflow:hidden}
.kpis4 .k::after{content:"";position:absolute;right:-20px;top:-20px;width:80px;height:80px;border:1px solid rgba(212,164,55,.25);transform:rotate(45deg)}
.kpis4 .n{font-family:'IBM Plex Mono',monospace;font-size:2rem;color:var(--gold-bright)}
.kpis4 .t{font-size:.92rem;font-weight:600;margin:6px 0 4px}
.kpis4 .d{font-size:.8rem;color:rgba(255,255,255,.65)}

/* ---------- SIMULATEUR ---------- */
.simu{background:var(--white);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.simu-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:48px;margin-top:36px;align-items:start}
@media(max-width:920px){.simu-grid{grid-template-columns:1fr}}
.simu form{background:var(--paper);border:1px solid var(--line);padding:28px}
.simu label{display:block;font-size:.82rem;font-weight:600;color:var(--navy);margin:14px 0 6px}
.simu label:first-child{margin-top:0}
.simu input,.simu select{width:100%;padding:11px 13px;border:1px solid var(--line);background:#fff;font-family:'IBM Plex Mono',monospace;font-size:.95rem}
.simu input:focus,.simu select:focus{outline:2px solid var(--gold)}
.simu-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.results .r{display:flex;justify-content:space-between;align-items:baseline;padding:16px 0;border-bottom:1px solid var(--line)}
.results .r .lbl{font-size:.9rem;color:var(--grey);max-width:30ch}
.results .r .val{font-family:'IBM Plex Mono',monospace;font-size:1.5rem;color:var(--navy);font-weight:500;white-space:nowrap}
.results .r.alert .val{color:var(--bad)}
.results .r.good .val{color:var(--ok)}
.hyp{font-size:.76rem;color:var(--grey);margin-top:16px;line-height:1.7}

/* ---------- DPE ---------- */
.dpe{background:var(--navy);color:#fff}
.dpe h2,.dpe h3{color:#fff}
.dpe-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
@media(max-width:920px){.dpe-grid{grid-template-columns:1fr}}
.dpe .deadline{font-family:'IBM Plex Mono',monospace;display:flex;gap:26px;margin:26px 0;flex-wrap:wrap}
.dpe .deadline div{border-left:2px solid var(--gold-bright);padding-left:14px}
.dpe .deadline .y{font-size:1.4rem;color:var(--gold-bright)}
.dpe .deadline .t{font-size:.78rem;color:rgba(255,255,255,.7)}
.legend{display:flex;gap:14px;font-family:'IBM Plex Mono',monospace;font-size:.72rem;margin-top:10px;justify-content:center;color:rgba(255,255,255,.7)}
.legend i{display:inline-block;width:10px;height:10px;margin-right:5px;border-radius:1px}

/* ---------- PRESCRIPTEURS ---------- */
.presc{background:linear-gradient(135deg,var(--gold-pale),#F7EFD9);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.presc-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:48px;align-items:center}
@media(max-width:920px){.presc-grid{grid-template-columns:1fr}}
.presc ul{list-style:none;margin-top:18px}
.presc li{padding:10px 0 10px 28px;position:relative;font-size:.95rem}
.presc li::before{content:"—";position:absolute;left:0;color:var(--gold);font-weight:700}

/* ---------- PROCESSUS ---------- */
.steps{counter-reset:s;margin-top:36px}
.step{display:grid;grid-template-columns:64px 1fr;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}
.step::before{counter-increment:s;content:"0" counter(s);font-family:'IBM Plex Mono',monospace;color:var(--gold);font-size:1.3rem;padding-top:2px}
.step b{color:var(--navy);font-size:1.05rem}
.step p{font-size:.92rem;color:var(--grey)}

/* ---------- ZONES SEO ---------- */
.zones{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-top:36px}
.zone{background:var(--white);border:1px solid var(--line);padding:26px 24px}
.zone h3{font-size:1.2rem}
.zone .mono{color:var(--gold);font-size:.72rem;letter-spacing:.15em}
.zone p{font-size:.88rem;color:var(--grey);margin-top:8px}

/* ---------- FAQ ---------- */
details{background:var(--white);border:1px solid var(--line);margin-top:10px}
summary{padding:18px 22px;font-weight:600;color:var(--navy);cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px}
summary::after{content:"+";font-family:'IBM Plex Mono',monospace;color:var(--gold);flex-shrink:0}
details[open] summary::after{content:"–"}
details p{padding:0 22px 20px;font-size:.93rem;color:var(--grey)}

/* ---------- CONTACT ---------- */
.contact{background:var(--white);border-top:1px solid var(--line)}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;margin-top:32px}
@media(max-width:920px){.contact-grid{grid-template-columns:1fr}}
form.cform label{display:block;font-size:.82rem;font-weight:600;color:var(--navy);margin:16px 0 6px}
form.cform input,form.cform select,form.cform textarea{width:100%;padding:12px 14px;border:1px solid var(--line);background:var(--paper);font-family:inherit;font-size:.93rem}
form.cform input:focus,form.cform select:focus,form.cform textarea:focus{outline:2px solid var(--gold);border-color:var(--gold)}
.coord{font-size:.95rem}
.coord .mono{color:var(--navy);font-size:1.05rem}
.coord p{margin-bottom:14px}

/* ---------- SUBPAGES ---------- */
.subhero{background:linear-gradient(160deg,var(--navy-deep),var(--navy));color:#fff;padding:66px 0 58px}
.subhero h1{color:#fff;font-size:clamp(1.9rem,3.5vw,2.8rem)}
.subhero p{color:rgba(255,255,255,.8);max-width:60ch;margin-top:14px}
.notice{background:var(--gold-pale);border-left:3px solid var(--gold);padding:16px 20px;font-size:.88rem;margin-top:28px}

/* ---------- FOOTER ---------- */
footer{background:var(--navy-ink);color:rgba(255,255,255,.65);padding:48px 0 32px;font-size:.82rem}
footer .cols{display:grid;grid-template-columns:2fr 1fr 1fr;gap:36px;margin-bottom:32px}
@media(max-width:920px){footer .cols{grid-template-columns:1fr}}
footer h4{color:#fff;font-size:.9rem;margin-bottom:12px}
footer a{color:rgba(255,255,255,.65);text-decoration:none}
footer a:hover{color:var(--gold-bright)}
footer ul{list-style:none}
footer li{margin-bottom:8px}
.legal{border-top:1px solid rgba(255,255,255,.12);padding-top:20px;font-size:.74rem;line-height:1.7}
.reveal{opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .6s ease}
.reveal.in{opacity:1;transform:none}

/* ============ V5 — RAFFINEMENTS PREMIUM ============ */
/* Rideau d'entrée */
#curtain{position:fixed;inset:0;z-index:200;background:var(--navy-deep);display:flex;align-items:center;justify-content:center;animation:curtainlift 1s ease 2.2s forwards}
#curtain.gone{opacity:0;visibility:hidden}
@keyframes curtainlift{to{opacity:0;visibility:hidden}}
#curtain .mark{font-family:'Cormorant Garamond',serif;font-size:2.6rem;letter-spacing:.06em;color:#fff;opacity:0;animation:markin 1.2s ease forwards}
#curtain .mark span{color:var(--gold-bright)}
#curtain .mark small{display:block;text-align:center;font-family:'IBM Plex Mono',monospace;font-size:.6rem;letter-spacing:.4em;color:rgba(255,255,255,.5);margin-top:8px}
@keyframes markin{0%{opacity:0;transform:translateY(8px)}60%{opacity:1}100%{opacity:1;transform:none}}
@media (prefers-reduced-motion: reduce){#curtain{display:none!important;animation:none!important}}
/* grain papier très léger */
body::before{content:"";position:fixed;inset:0;z-index:1;pointer-events:none;opacity:.025;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.hero,header{position:relative;z-index:2}
/* hero plus aéré + filet de section */
.hero{padding-top:108px}
.sec-num{font-family:'IBM Plex Mono',monospace;font-size:.7rem;letter-spacing:.2em;color:var(--gold);opacity:.7;margin-bottom:6px}
/* boutons : transition plus lente, plus premium */
.btn{transition:transform .25s cubic-bezier(.2,.7,.3,1),box-shadow .25s ease,background .3s ease,color .3s ease}
.card{transition:transform .3s cubic-bezier(.2,.7,.3,1),box-shadow .3s ease}
.card:hover{transform:translateY(-3px);box-shadow:0 14px 36px rgba(16,36,60,.1)}

/* ---------- QUIZ DIAGNOSTIC ---------- */
.quiz{background:var(--white);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.quiz-card{max-width:680px;margin:32px auto 0;background:var(--paper);border:1px solid var(--line);border-top:3px solid var(--gold);padding:38px 40px;box-shadow:0 18px 50px rgba(16,36,60,.07)}
.quiz-progress{height:3px;background:var(--line);margin-bottom:28px;overflow:hidden}
.quiz-progress i{display:block;height:100%;background:var(--gold);width:0;transition:width .5s cubic-bezier(.2,.7,.3,1)}
.quiz-step{display:none}
.quiz-step.on{display:block;animation:qfade .5s ease}
@keyframes qfade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.quiz-q{font-family:'Cormorant Garamond',serif;font-size:1.6rem;color:var(--navy);margin-bottom:6px}
.quiz-sub{font-size:.85rem;color:var(--grey);margin-bottom:22px}
.quiz-opts{display:grid;gap:10px}
.quiz-opt{text-align:left;padding:15px 18px;border:1px solid var(--line);background:#fff;font-family:'Inter',sans-serif;font-size:.95rem;color:var(--navy-ink);cursor:pointer;transition:all .2s;border-radius:2px;display:flex;justify-content:space-between;align-items:center}
.quiz-opt:hover{border-color:var(--gold);background:var(--gold-pale)}
.quiz-opt:focus-visible{outline:2px solid var(--gold);outline-offset:1px}
.quiz-opt .pts{font-family:'IBM Plex Mono',monospace;font-size:.7rem;color:var(--grey);opacity:0}
.quiz-back{background:none;border:none;color:var(--grey);font-size:.82rem;cursor:pointer;margin-top:18px;font-family:'Inter',sans-serif}
.quiz-back:hover{color:var(--navy)}
/* résultat */
.quiz-score{text-align:center}
.score-ring{width:140px;height:140px;margin:6px auto 18px;position:relative}
.score-ring svg{transform:rotate(-90deg)}
.score-ring .num{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:'IBM Plex Mono',monospace}
.score-ring .num b{font-size:2.2rem;color:var(--navy);line-height:1}
.score-ring .num span{font-size:.66rem;letter-spacing:.15em;color:var(--grey)}
.score-verdict{font-family:'Cormorant Garamond',serif;font-size:1.5rem;color:var(--navy);margin-bottom:14px}
.score-reco{text-align:left;background:#fff;border:1px solid var(--line);padding:16px 20px;margin:8px 0;font-size:.9rem;color:var(--grey);border-left:3px solid var(--gold)}
.score-reco b{color:var(--navy)}

/* ---------- FORMULAIRE DE CAPTURE (modale) ---------- */
.modal{position:fixed;inset:0;z-index:120;background:rgba(12,27,46,.6);backdrop-filter:blur(4px);display:none;align-items:center;justify-content:center;padding:20px}
.modal.open{display:flex;animation:qfade .35s ease}
.modal-card{background:var(--white);max-width:460px;width:100%;padding:38px 36px;border-top:3px solid var(--gold);position:relative;box-shadow:0 30px 80px rgba(0,0,0,.4)}
.modal-card h3{font-size:1.5rem;margin-bottom:6px}
.modal-card p.sub{font-size:.88rem;color:var(--grey);margin-bottom:20px}
.modal-card label{display:block;font-size:.78rem;font-weight:600;color:var(--navy);margin:12px 0 5px}
.modal-card input{width:100%;padding:11px 13px;border:1px solid var(--line);background:var(--paper);font-family:inherit;font-size:.92rem}
.modal-card input:focus{outline:2px solid var(--gold);border-color:var(--gold)}
.modal-close{position:absolute;top:14px;right:16px;background:none;border:none;font-size:1.4rem;color:var(--grey);cursor:pointer;line-height:1}
.consent{display:flex;gap:8px;align-items:flex-start;margin:16px 0 4px;font-size:.74rem;color:var(--grey)}
.consent input{width:auto;margin-top:3px}

/* ---------- ASSISTANT PATRIMONIAL ---------- */
.assist-launch{position:fixed;bottom:24px;right:24px;z-index:90;background:var(--navy);color:#fff;border:1px solid var(--gold);padding:13px 20px 13px 16px;border-radius:40px;font-family:'Inter',sans-serif;font-size:.86rem;font-weight:500;cursor:pointer;box-shadow:0 10px 30px rgba(16,36,60,.3);display:flex;align-items:center;gap:9px;transition:transform .25s,box-shadow .25s}
.assist-launch:hover{transform:translateY(-2px);box-shadow:0 14px 38px rgba(16,36,60,.42)}
.assist-launch .dot{width:7px;height:7px;border-radius:50%;background:var(--gold-bright);box-shadow:0 0 0 0 rgba(212,164,55,.6);animation:pulse 2.4s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(212,164,55,.5)}70%{box-shadow:0 0 0 8px rgba(212,164,55,0)}100%{box-shadow:0 0 0 0 rgba(212,164,55,0)}}
@media(max-width:920px){.assist-launch{bottom:64px;right:16px;padding:11px 16px;font-size:.8rem}}
@media (prefers-reduced-motion: reduce){.assist-launch .dot{animation:none}}
.assist{position:fixed;bottom:24px;right:24px;z-index:95;width:380px;max-width:calc(100vw - 32px);background:var(--white);border:1px solid var(--line);box-shadow:0 30px 80px rgba(12,27,46,.4);display:none;flex-direction:column;overflow:hidden}
.assist.open{display:flex;animation:slideup .4s cubic-bezier(.2,.7,.3,1)}
@keyframes slideup{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
@media(max-width:920px){.assist{bottom:0;right:0;left:0;max-width:100%;height:88vh}}
.assist-head{background:var(--navy);color:#fff;padding:18px 20px;display:flex;justify-content:space-between;align-items:center}
.assist-head b{font-family:'Cormorant Garamond',serif;font-size:1.2rem;font-weight:600}
.assist-head small{display:block;font-family:'IBM Plex Mono',monospace;font-size:.6rem;letter-spacing:.15em;color:var(--gold-bright);margin-top:2px}
.assist-head button{background:none;border:none;color:rgba(255,255,255,.7);font-size:1.3rem;cursor:pointer}
.assist-body{padding:22px 20px;overflow-y:auto;flex:1;background:var(--paper)}
.assist-msg{background:#fff;border:1px solid var(--line);padding:14px 16px;font-size:.9rem;color:var(--navy-ink);margin-bottom:16px;border-left:3px solid var(--gold);animation:qfade .4s ease}
.assist-opts{display:grid;gap:8px}
.assist-opt{text-align:left;padding:12px 15px;border:1px solid var(--line);background:#fff;font-family:'Inter',sans-serif;font-size:.88rem;color:var(--navy);cursor:pointer;transition:all .2s}
.assist-opt:hover{border-color:var(--gold);background:var(--gold-pale)}
.assist-foot{padding:10px 16px;border-top:1px solid var(--line);font-size:.66rem;color:var(--grey);text-align:center;background:#fff}

/* Améliorations GESTOWN — identité existante conservée. */
[hidden]{display:none!important} .reveal{opacity:1;transform:none}
header{position:sticky;top:0;isolation:isolate;z-index:100;transform:none!important;animation:none!important}
.nav-links{z-index:110}.page{position:relative;z-index:0}
h1[tabindex="-1"]:focus:not(:focus-visible){outline:none}
:root{--gold-text:#805D08}
.skip-link{position:fixed;left:1rem;top:-100px;background:#fff;padding:12px 20px;z-index:200;color:var(--navy)}
.skip-link:focus{top:12px} :focus-visible{outline:3px solid var(--gold-bright);outline-offset:4px}
section[id],details[id]{scroll-margin-top:88px}
.eyebrow,.sec-num{color:var(--gold-text);font-size:.78rem}
.hero .eyebrow,.subhero .eyebrow,.dpe .eyebrow,.presc .eyebrow{color:var(--gold-bright)}
.btn-gold{background:var(--gold-bright);color:var(--navy-ink)}
.btn{min-height:48px}.btn-gold:hover{background:var(--gold-pale)}
.hero{padding-top:54px}.hero-grid{gap:32px;padding-bottom:44px}
.hero p.lede{max-width:49ch;font-size:1.05rem;line-height:1.65;margin:22px 0 24px}
.hero-kpis{margin-top:28px;gap:24px}.hero-kpis .kpi:first-child,.hero-kpis .kpi:nth-child(2){display:none}
.proofline{font-size:.875rem;line-height:1.7;margin-top:18px;color:var(--grey)}
.hero .proofline,.subhero .proofline,.dpe .proofline{color:#F0E3C0}
.proofline span{display:inline-block;margin-right:18px}
.subhero{padding:48px 0}.subhero .hero-ctas{margin-top:24px}
.note,.hyp,.notice,form.cform label,.quiz-sub,.quiz-back,.assist-foot{font-size:.875rem!important}
.contact-intro{margin:0 0 24px;color:var(--grey);max-width:65ch}
.context-summary{background:var(--paper);border-left:3px solid var(--gold-bright);padding:14px 18px;margin:0 0 20px;white-space:pre-line;font-size:.875rem}
form.cform input,form.cform textarea{font-size:1rem} .form-status{padding:14px 0;font-size:1rem;line-height:1.6}
.form-status.error{color:var(--bad)} .form-status.success{color:var(--ok)}
.honey{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.simu label{font-size:.9rem}.simu input,.simu select{font-size:1rem;min-height:44px}
.simu-error{color:var(--bad);min-height:1.6em;font-size:.9rem;margin:12px 0}
.simu .r .val{font-size:1.45rem;white-space:normal}.simu .results{min-width:0}
.simu .r .lbl{font-size:.9rem;max-width:64%}.simu .hyp{line-height:1.7}
.tablewrap{overflow-x:auto}.cmp th,.cmp td{font-size:.9rem}.cmp td small{display:block;color:var(--grey);font-size:.8rem}
.quiz-q{font-size:1.45rem}.quiz-opt{min-height:52px;font-size:1rem}.quiz-progress{margin-bottom:20px}
.assist-launch{bottom:24px;font-size:.875rem}.assist{max-height:min(600px,calc(100dvh - 100px));display:none;flex-direction:column}
.assist.open{display:flex}.assist-body{min-height:0;overflow:auto}.assist-opt{font-size:.9rem;min-height:44px}
.assist-head small{font-size:.75rem}.assist-foot{line-height:1.5}
.legal{font-size:.875rem;line-height:1.8}.legal details{padding:16px 0;border-bottom:1px solid #ffffff25}
.legal details{background:transparent;color:#E3DFD5}.legal summary{color:#fff;cursor:pointer;font-size:1rem;background:transparent}.legal p{margin:10px 0}.legal a{color:var(--gold-pale)}
.legal dt{color:#fff;font-weight:600;margin-top:14px}.legal dd{margin:4px 0}
.review-field{color:#F0E3C0}.service-note{margin:18px 0;font-size:.875rem;line-height:1.6}
.sticky-cta{background:var(--navy-deep);padding:8px 12px calc(8px + env(safe-area-inset-bottom));gap:8px}
.sticky-cta a{font-size:.875rem;min-height:44px;display:flex;align-items:center;justify-content:center;padding:10px 14px;border:1px solid #ffffff50;flex:1}
.sticky-cta a:last-child{background:var(--gold-bright);color:var(--navy-ink);border:0;flex:2}
@media(max-width:920px){
 .sticky-cta{display:flex}.nav-links li a{display:block}.burger{min-height:48px;min-width:48px}
 .hero{padding-top:30px}.hero-grid{gap:12px}.hero h1{font-size:clamp(2.15rem,7.3vw,3.6rem)}
 .hero .eyebrow{font-size:.75rem;letter-spacing:.09em}.hero p.lede{margin:16px 0 20px;font-size:1rem}
 .hero-ctas{gap:10px}.hero-ctas .btn{padding:12px 16px}.hero .facade-wrap{max-height:240px;overflow:hidden;margin:10px auto 0}
 .hero-kpis{margin-top:20px}.hero-kpis .n{font-size:1.5rem}
 .assist-launch{bottom:84px;right:14px;padding:11px 15px}.assist{bottom:84px;right:12px;width:min(380px,calc(100vw - 24px));max-height:calc(100dvh - 110px)}
 body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}section{padding:48px 0}
 .subhero{padding:30px 0}.subhero p{font-size:1rem}.subhero h1{font-size:2.25rem}
}
@media(max-width:480px){
 .container{padding:0 20px}.hero-ctas .btn{width:100%;text-align:center}.hero .proofline{margin-top:12px;font-size:.8125rem}
 .hero-kpis{display:none}.simu form,.simu .results{padding:20px}.simu .r{gap:12px;align-items:flex-start}
 .simu .r .val{font-size:1.1rem}.hero .facade-wrap{max-height:200px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}


/* V6 : slogan prioritaire, accompagnement en trois étapes et paragraphes aérés. */
#page-gestion .hero{padding-top:64px}
#page-gestion .hero-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:48px;padding-bottom:60px}
#page-gestion .hero-heading{font-size:clamp(2.6rem,4.5vw,3.8rem);line-height:1.08;letter-spacing:-.025em;margin:0}
#page-gestion .hero-heading>span{display:block}
#page-gestion .hero-heading>span+span{margin-top:.1em}
#page-gestion .hero-credentials{margin:22px 0 0;font-size:.875rem;line-height:1.8;color:var(--gold-pale);letter-spacing:.03em}
#page-gestion .hero-credentials>span{margin:0 .35em;color:var(--gold-bright)}
#page-gestion .hero-steps{display:grid;grid-template-columns:1.25fr 1fr 1.1fr;gap:14px;list-style:none;padding:0;margin:34px 0 36px;font-size:1rem;line-height:1.55;color:#fff}
#page-gestion .hero-steps li{position:relative;padding-right:23px;min-width:0}
#page-gestion .hero-steps li:last-child{padding-right:0}
#page-gestion .hero-steps em{color:var(--gold-bright);font-weight:600}
#page-gestion .step-arrow{position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:1.35rem;font-weight:400;color:var(--gold-bright)}
#page-gestion .hero-description{max-width:54ch;margin:0 0 32px;font-size:1.0625rem;line-height:1.8;color:rgba(255,255,255,.88)}
#page-gestion .hero-description p{margin:0}
#page-gestion .hero-description p+p{margin-top:22px}
#page-gestion .hero-description .hero-fees{padding-left:18px;border-left:2px solid var(--gold-bright);color:#fff}
#page-gestion .hero-description strong{font-weight:600;color:var(--gold-pale)}
#page-gestion .hero-ctas{row-gap:12px}
@media(max-width:920px){
  #page-gestion .hero{padding-top:42px}
  #page-gestion .hero-grid{grid-template-columns:minmax(0,1fr);gap:28px;padding-bottom:38px}
  #page-gestion .hero-heading{font-size:clamp(2.55rem,6.3vw,3.8rem)}
  #page-gestion .hero-description{max-width:62ch}
  #page-gestion .hero-steps{max-width:620px}
}
@media(max-width:540px){
  #page-gestion .hero{padding-top:34px}
  #page-gestion .hero-heading{font-size:clamp(2.3rem,9.3vw,3rem);line-height:1.12}
  #page-gestion .hero-credentials{margin-top:18px;letter-spacing:0}
  #page-gestion .hero-steps{grid-template-columns:minmax(0,1fr);gap:0;margin:28px 0 30px}
  #page-gestion .hero-steps li{padding:0 0 33px}
  #page-gestion .hero-steps li:last-child{padding:0}
  #page-gestion .hero-steps br{display:none}
  #page-gestion .hero-steps br:after{content:' '}
  #page-gestion .step-arrow{left:0;right:auto;top:auto;bottom:4px;transform:rotate(90deg);line-height:1}
  #page-gestion .hero-description{font-size:1rem;line-height:1.8;margin-bottom:28px}
  #page-gestion .hero-description p+p{margin-top:20px}
}


#difference{padding:72px 0 80px}
#difference h2{max-width:850px;margin:0 0 22px;font-size:clamp(2rem,3.4vw,2.8rem);line-height:1.15}
#difference .eyebrow{font-size:.875rem;letter-spacing:.1em;margin-bottom:14px}
#difference .comparison-intro{max-width:90ch;font-size:1.0625rem;line-height:1.8;color:var(--grey);margin:0 0 34px}
#difference .expectations-wrap{border:1px solid var(--line);overflow:hidden}
#difference .expectations{width:100%;table-layout:fixed;border-collapse:collapse;font-size:1rem;line-height:1.75;text-align:left}
#difference .expectations thead th{background:var(--navy);color:#fff;padding:20px 22px;font-weight:600;line-height:1.5}
#difference .expectations thead th:first-child{width:23%}
#difference .expectations thead th:nth-child(2){width:32%}
#difference .expectations tbody th,#difference .expectations td{padding:24px 22px;border-bottom:1px solid var(--line);vertical-align:top}
#difference .expectations tbody th{background:#fff;color:var(--navy);font-weight:600;line-height:1.6}
#difference .expectations td{background:#fff;color:var(--grey)}
#difference .expectations td:last-child{background:#F5EDD6;color:var(--navy-ink)}
#difference .expectations tbody tr:last-child>*{border-bottom:0}
#difference .expectations strong{font-weight:600}
#difference .comparison-note{font-size:.875rem;line-height:1.65;color:var(--grey);margin-top:18px;max-width:100ch}
@media(max-width:700px){
 #difference{padding:44px 0 48px}
 #difference h2{font-size:2rem;margin-bottom:20px}
 #difference .comparison-intro{font-size:1rem;margin-bottom:26px}
 #difference .expectations{display:block}
 #difference .expectations thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 #difference .expectations tbody{display:block}
 #difference .expectations tr{display:block;border-bottom:1px solid var(--line)}
 #difference .expectations tbody tr:last-child{border-bottom:0}
 #difference .expectations tbody th,#difference .expectations td{display:block;width:100%;border:0;padding:18px 20px}
 #difference .expectations tbody th{background:var(--navy);color:#fff}
 #difference .expectations td:before{content:attr(data-label);display:block;font-size:.875rem;font-weight:600;color:var(--navy);margin-bottom:6px}
}


.objectives-title{margin:42px 0 0;padding-top:28px;border-top:1px solid var(--line);font-size:1.9rem;line-height:1.2}
.kpis4.objectives-grid{margin-top:22px}
.objectives-note{line-height:1.7}
.objectives-method{margin-top:20px;padding:18px 22px;border:1px solid var(--line);color:var(--grey);font-size:1rem;line-height:1.7}
.objectives-method summary{cursor:pointer;color:var(--navy);font-weight:600}
.objectives-method summary:focus-visible{outline:2px solid var(--gold-bright);outline-offset:5px}
.objectives-method p{margin-top:16px}
.objectives-method ul{padding-left:22px;margin-top:10px}
.objectives-method li+li{margin-top:12px}
.objectives-method strong{color:var(--navy)}
@media(max-width:620px){.objectives-title{margin-top:32px;font-size:1.65rem}.objectives-method{padding:16px}}


/* Le montant et son unité restent ensemble ; le libellé utilise l'espace restant. */
#simulateur .results .r{flex-wrap:wrap;gap:12px 20px}
#simulateur .results .r .lbl{flex:1 1 180px;max-width:none;min-width:0;line-height:1.7}
#simulateur .results .r .val{flex:0 0 auto;white-space:nowrap;margin-left:auto;font-size:1.35rem}
#simulateur .simulation-help{display:block;font-size:.875rem;font-weight:400;line-height:1.65;margin-top:8px;color:var(--grey)}
@media(max-width:480px){
 #simulateur .results .r .val{font-size:1.1rem}
 #simulateur .results .r .lbl{flex-basis:100%}
}


#dpe .dpe-grid{align-items:start;gap:48px}
#dpe .eyebrow{font-size:.875rem;line-height:1.7;letter-spacing:.1em}
#dpe h2{font-size:clamp(2rem,3.1vw,2.7rem);line-height:1.15}
#dpe .dpe-intro,#dpe .dpe-outcome{font-size:1rem;line-height:1.8;color:#E3EAF1;margin-top:20px}
#dpe .dpe-deliverables{list-style:none;margin:22px 0;padding:0}
#dpe .dpe-deliverables li{font-size:1rem;line-height:1.75;padding:0 0 0 18px;border-left:2px solid var(--gold-bright)}
#dpe .dpe-deliverables li+li{margin-top:18px}
#dpe .dpe-deliverables strong{color:var(--gold-pale);font-weight:600}
#dpe .dpe-calendar-label{font-size:.875rem;line-height:1.6;color:var(--gold-pale);margin-top:28px}
#dpe .deadline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:14px 0 22px}
#dpe .deadline>div{padding-left:12px;border-left:2px solid var(--gold-bright)}
#dpe .deadline>div>div{padding-left:0;border:0}
#dpe .deadline .t{font-size:.875rem;line-height:1.6;color:#E3EAF1}
#dpe .dpe-rules{border-top:1px solid #ffffff40;border-bottom:1px solid #ffffff40;padding:16px 0;margin:0 0 24px;font-size:.9375rem;line-height:1.75;color:#E3EAF1}
#dpe .dpe-rules summary{cursor:pointer;font-size:1rem;font-weight:600;color:#fff}
#dpe .dpe-rules summary:focus-visible{outline:2px solid var(--gold-bright);outline-offset:5px}
#dpe .dpe-rules p{margin-top:14px}
#dpe .dpe-rules a{color:var(--gold-pale)}
#dpe .dpe-scope{font-size:.875rem;line-height:1.7;margin-top:16px;color:#D8E1EB}
#dpe .dpe-illustration{margin:0;padding-top:8px}
#dpe .dpe-illustration figcaption{text-align:center;font-size:.875rem;line-height:1.7;color:var(--gold-pale);margin-bottom:18px}
#dpe .dpe-illustration svg{display:block;width:100%;height:auto;max-width:510px;margin:0 auto}
#dpe .legend{font-size:.875rem;color:#E3EAF1;flex-wrap:wrap;gap:14px 24px;margin-top:18px}
#dpe .legend i{width:13px;height:13px}
@media(max-width:920px){#dpe .dpe-grid{gap:36px}#dpe .dpe-illustration svg{max-width:390px}}
@media(max-width:480px){#dpe .deadline{gap:10px}#dpe .deadline .y{font-size:1.25rem}#dpe .deadline>div{padding-left:8px}#dpe .btn{width:100%;padding:14px 18px;text-align:center}}


#dpe .dpe-rules{background:#fff;border:1px solid var(--line);padding:0;color:var(--grey)}
#dpe .dpe-rules summary{color:var(--navy);padding:18px 22px;line-height:1.6;align-items:center}
#dpe .dpe-rules summary::after{color:#805D08;font-size:1.3rem}
#dpe .dpe-rules p{color:var(--grey);margin-top:0;padding:0 22px 18px}
#dpe .dpe-rules p:first-of-type{padding-top:4px}
#dpe .dpe-rules strong{color:var(--navy)}
#dpe .dpe-rules a{color:var(--navy);text-decoration:underline;text-underline-offset:3px}


#diagnostic .quiz-card{max-width:780px}
#diagnostic .quiz-opt{font-size:1rem;line-height:1.6;gap:18px}
#diagnostic .quiz-opt.selected{background:var(--gold-pale);border-color:#805D08}
#diagnostic .quiz-choice-status{font-size:.875rem;color:var(--grey);line-height:1.65;min-height:1.65em;margin:16px 0}
#diagnostic .quiz-back{display:inline-block;margin:18px 14px 0 0;padding:8px 0;min-height:44px}
#diagnostic .btn{white-space:normal;line-height:1.6}
#diagnostic .btn:disabled{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none}
#diagnostic .quiz-details label{display:block;font-size:1rem;font-weight:600;color:var(--navy);margin:22px 0 8px;line-height:1.6}
#diagnostic .quiz-details select,#diagnostic .quiz-details textarea{width:100%;max-width:100%;font:inherit;font-size:1rem;color:var(--navy-ink);border:1px solid var(--line);background:#fff;padding:12px;line-height:1.6;border-radius:2px}
#diagnostic .quiz-details select{white-space:normal;min-height:48px}
#diagnostic .quiz-details textarea{resize:vertical}
#diagnostic .quiz-details select:focus-visible,#diagnostic .quiz-details textarea:focus-visible{outline:2px solid #805D08;outline-offset:2px}
#diagnostic .quiz-details .quiz-sub{margin-top:8px}
#diagnostic .quiz-priorities{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:22px 0}
#diagnostic .quiz-priorities li{background:var(--navy);color:#fff;padding:8px 14px;font-size:.9375rem;line-height:1.6}
#diagnostic .quiz-summary{margin:20px 0 28px;font-size:1rem;line-height:1.7}
#diagnostic .quiz-summary dt{font-weight:600;color:var(--navy);margin-top:18px}
#diagnostic .quiz-summary dd{margin:4px 0 0;color:var(--grey);overflow-wrap:anywhere}
#diagnostic .quiz-message-copy{white-space:pre-wrap}
#diagnostic .quiz-result-actions{display:flex;gap:18px;flex-wrap:wrap}
@media(max-width:540px){#diagnostic .quiz-card{padding:24px 20px}#diagnostic .btn{width:100%;padding:13px 16px}#diagnostic .quiz-opt{padding:13px 14px}}


#honoraires .fees-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin-top:32px}
#honoraires .fees-details>div{border-top:2px solid var(--gold);padding-top:20px}
#honoraires .fees-details h3{font-family:inherit;font-size:1rem;color:var(--navy);line-height:1.45;margin:0 0 14px}
#honoraires .fees-details p{font-size:.92rem;line-height:1.7;margin:0 0 12px;color:var(--grey)}
#honoraires .fees-legal{margin-top:18px;max-width:960px}
#honoraires .fees-action{margin-top:28px}
#honoraires .fees-action .btn{white-space:normal;text-align:center;max-width:100%}
@media(max-width:900px){#honoraires .fees-details{grid-template-columns:1fr;gap:20px}}


.presc .eyebrow{line-height:1.55;color:var(--gold-bright);letter-spacing:.1em;font-size:.68rem;margin-bottom:.55rem}
.presc li{padding-top:7px;padding-bottom:7px}
.presc li p{margin:3px 0 0;line-height:1.55}
.presc .btn{white-space:normal;max-width:100%;text-align:center}


#secteurs .sectors-intro{max-width:1000px}
#secteurs .sectors-coverage{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:30px 0 44px;padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
#secteurs .sectors-coverage h3{font-family:inherit;font-size:1rem;color:var(--navy);margin-bottom:8px}
#secteurs .sectors-coverage p{font-size:.92rem;line-height:1.8;color:var(--grey)}
#secteurs .references-title{font-size:1.65rem;line-height:1.25}
#secteurs .references-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:24px}
#secteurs .zone .mono{display:block;line-height:1.7;margin-bottom:12px}
#secteurs .zone h3{font-size:1.45rem;line-height:1.25}
#secteurs .zone p{line-height:1.7;margin-top:16px}
#secteurs .zone .reference-key{border-top:1px solid var(--line);padding-top:16px}
#secteurs .references-note{margin-top:22px}
@media(max-width:850px){#secteurs .sectors-coverage,#secteurs .references-grid{grid-template-columns:1fr;gap:20px}#secteurs .sectors-coverage{margin-bottom:32px}}


#contact-title{scroll-margin-top:100px}
@media(max-width:600px){#rdv{padding:32px 22px!important}#rdv .btn{max-width:100%;white-space:normal}}


.coord .contact-direct{display:flex;align-items:center;gap:12px;margin-top:16px;color:var(--navy);font-size:1.05rem}
.coord .contact-direct svg{width:21px;height:21px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.coord .contact-direct a{overflow-wrap:anywhere}
.coord .contact-aside{margin-top:26px;line-height:1.65}
.coord .contact-aside span{color:var(--grey);font-size:.92rem}
#contact-form #submit-contact{margin-top:18px}


#page-vendre .subhero p{max-width:65ch}
#page-vendre .subhero p+p{margin-top:16px}
#page-vendre .subhero .proofline{font-size:.92rem;max-width:none;color:rgba(255,255,255,.85)}
#page-vendre .sale-steps{grid-template-columns:repeat(4,minmax(0,1fr))}
#page-vendre .sale-step-number{display:block;font-family:'IBM Plex Mono',monospace;color:var(--gold);font-size:.85rem;margin-bottom:14px}
#page-vendre .sale-steps h3{font-size:1.45rem;line-height:1.25}
#page-vendre .sale-steps p{line-height:1.7}
#page-vendre .sale-reference{margin-top:36px;padding:26px 28px;border-left:3px solid var(--gold);background:var(--white);max-width:960px}
#page-vendre .sale-reference h3{font-size:1.65rem;margin-bottom:12px}
#page-vendre .sale-reference p{line-height:1.7}
#page-vendre .sale-mandate{margin-top:28px;max-width:1000px;line-height:1.7}
#page-vendre .btn{max-width:100%;white-space:normal;text-align:center}
#page-vendre .eyebrow{color:var(--gold)}
#page-vendre .subhero .eyebrow{color:var(--gold-bright)}
@media(max-width:1100px){#page-vendre .sale-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#page-vendre .sale-steps{grid-template-columns:1fr}#page-vendre .sale-reference{padding:22px}}


#page-acheter .subhero p{max-width:65ch}
#page-acheter .subhero p+p{margin-top:16px}
#page-acheter .subhero .proofline{font-size:.92rem;max-width:none;color:rgba(255,255,255,.85)}
#page-acheter .purchase-steps{grid-template-columns:repeat(4,minmax(0,1fr))}
#page-acheter .purchase-step-number{display:block;font-family:'IBM Plex Mono',monospace;color:var(--gold);font-size:.85rem;margin-bottom:14px}
#page-acheter .purchase-steps h3{font-size:1.45rem;line-height:1.25}
#page-acheter .purchase-steps p{line-height:1.7}
#page-acheter .btn{max-width:100%;white-space:normal;text-align:center}
#page-acheter .eyebrow{color:var(--gold)}
#page-acheter .subhero .eyebrow{color:var(--gold-bright)}
@media(max-width:1100px){#page-acheter .purchase-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#page-acheter .purchase-steps{grid-template-columns:1fr}}


#page-louer .eyebrow{color:var(--gold)}#page-louer .subhero .eyebrow{color:var(--gold-bright)}
#page-louer .subhero p{max-width:64ch}#page-louer .subhero .proofline{font-size:.9rem;color:rgba(255,255,255,.85)}
#page-louer .rental-steps{grid-template-columns:repeat(3,minmax(0,1fr))}
#page-louer .rental-step-number{display:block;color:var(--gold);font-family:'IBM Plex Mono',monospace;margin-bottom:12px}
#page-louer .card h3{font-size:1.45rem;line-height:1.3}#page-louer .card p{line-height:1.7}
#rental-form .rental-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:end;margin-top:8px}
#rental-form .rental-row>div{min-width:0}#rental-form [hidden]{display:none!important}
#rental-form fieldset{border:1px solid var(--line);padding:16px;margin:18px 0}
#rental-form legend{color:var(--navy);font-weight:600;padding:0 6px}
#rental-form .rental-follow{display:flex;align-items:flex-start;gap:10px;font-weight:400;margin:18px 0;line-height:1.6}
#rental-form .rental-follow input{width:auto;flex-shrink:0;margin:5px 0 0}
#rental-submit{margin-top:18px}#page-louer .btn{max-width:100%;white-space:normal;text-align:center}
#page-louer .rental-aside h3{font-size:1.45rem;margin-bottom:12px}#page-louer .rental-aside p{color:var(--grey);line-height:1.7}
#page-louer .rental-owner{margin-top:36px;padding-top:24px;border-top:1px solid var(--line);font-size:.92rem}
@media(max-width:760px){#page-louer .rental-steps{grid-template-columns:1fr}#rental-form .rental-row{grid-template-columns:1fr;gap:0}}


.assist-nav{display:flex;justify-content:space-between;gap:12px;margin-top:20px;border-top:1px solid var(--line);padding-top:12px}
.assist-nav button{background:none;border:0;color:var(--navy);font:inherit;font-size:.85rem;cursor:pointer;padding:8px 0;text-decoration:underline;text-underline-offset:3px}
.assist-head button{min-width:40px;min-height:40px}
.assist-body{overscroll-behavior:contain}
@media(max-width:760px){body:has(input:focus,textarea:focus,select:focus) .assist-launch{visibility:hidden}}

/* V52 — shared responsive system */
:root{--gold-text:#805D08}
body{font-size:16px}
[hidden]{display:none!important}
.page{display:block}
.eyebrow,.sec-num{font-size:.875rem;line-height:1.7;color:var(--gold-text)}
.subhero .eyebrow,.hero .eyebrow,.dpe .eyebrow{color:var(--gold-bright)!important}
.presc .eyebrow,section:not(.subhero)>.container>.eyebrow{color:var(--gold-text)!important;font-size:.875rem}
.subhero .eyebrow{color:var(--gold-bright)!important}
#rdv .eyebrow{color:var(--gold-bright)!important}
p{overflow-wrap:break-word}
.btn{min-height:48px;line-height:1.5}
.btn:focus-visible{outline-color:var(--navy);outline-offset:4px}
.on-dark:focus-visible,.hero .btn:focus-visible,.subhero .btn:focus-visible{outline-color:var(--gold-bright)}
.logo small{font-size:.65rem;letter-spacing:.18em}
#contact-title,#rdv,.cform h2{scroll-margin-top:90px}
.protocole div{animation:none;white-space:normal;line-height:1.9;font-size:.8rem;letter-spacing:.07em}
.protocole{white-space:normal}
#page-gestion .hero-description{max-width:54ch;margin:22px 0 24px;font-size:1.0625rem;line-height:1.7}
#page-gestion .hero-description p+p{margin-top:16px}
#page-gestion .hero-description .hero-fees{font-size:1rem}
#page-gestion .hero-secondary{color:#d2deeb;font-size:.9rem;line-height:1.75;margin:26px 0 0;max-width:65ch}
#page-gestion .hero-steps{margin:28px 0 0;font-size:.9rem}
.mobile-guide{display:none}
.tablewrap:focus-visible{outline:3px solid var(--navy);outline-offset:4px}
.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}
.architecture-photo{margin:0;min-width:0}
.architecture-photo img{width:100%;height:auto;display:block;object-fit:cover;aspect-ratio:4/3}
.architecture-photo figcaption{font-size:.75rem;line-height:1.6;margin-top:10px;color:var(--grey)}
.architecture-photo figcaption a{color:inherit}
.hero .architecture-photo figcaption{color:#c6d4e2}
.hero .architecture-photo img{aspect-ratio:3/4;border:1px solid #d4a43770}
.reference-visual{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center;margin-top:36px}
.reference-visual p{font-size:1rem;color:var(--grey)}
.territory-photos{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:32px 0}
.territory-photos img{aspect-ratio:16/9;object-position:center top}
.territory-photos .architecture-photo figcaption{font-size:.8rem}
@media(max-width:920px){
 .assist-launch{display:none!important}
 .mobile-guide{display:flex;align-items:center;justify-content:center;gap:7px;background:transparent;color:#fff;border:1px solid #ffffff50;min-height:48px;padding:9px;font:500 .8rem/1.4 Inter,system-ui,sans-serif;cursor:pointer}
 .mobile-guide .dot{width:7px;height:7px;flex-shrink:0;border-radius:50%;background:var(--gold-bright);animation:pulse 2.4s infinite}
 .sticky-cta{display:grid;grid-template-columns:.8fr 1.3fr 1fr;gap:7px;z-index:95}
 .sticky-cta a{font-size:.8rem;padding:9px;min-height:48px}
 .sticky-cta #mobile-contact{background:var(--gold-bright);color:var(--navy-ink);border:0}
 .assist{z-index:96;bottom:calc(78px + env(safe-area-inset-bottom));max-height:calc(100dvh - 168px)}
 body:has(input:focus,textarea:focus,select:focus) .sticky-cta{display:none}
 .nav-links{max-height:calc(100dvh - 68px);overflow:auto}
 #page-gestion .hero-credentials{font-size:.8rem;margin:14px 0 0}
 #page-gestion .hero-description{margin:18px 0 20px;font-size:1rem;line-height:1.65}
 #page-gestion .hero-description .hero-fees{font-size:.95rem}
 #page-gestion .hero-steps{display:flex;flex-direction:column;gap:12px;margin-top:26px}
 #page-gestion .hero-steps li{display:block;padding:0;min-height:0}
 #page-gestion .hero-steps br{display:none}
 #page-gestion .hero-steps .step-arrow{display:none}
 #page-gestion .hero-secondary{font-size:.875rem;margin-top:22px}
 .hero .architecture-photo{max-width:640px;margin:24px auto 0;width:100%}
 .hero .architecture-photo img{aspect-ratio:16/9}
 .reference-visual{grid-template-columns:1fr;gap:20px}
 .territory-photos{grid-template-columns:1fr;gap:24px}
}
@media(max-width:600px){
 #rdv{padding:32px 22px!important}
 #rdv .btn{max-width:100%;white-space:normal}
 #honoraires .tablewrap{overflow:visible}
 #honoraires .cmp{min-width:0!important;width:100%;display:block;border:0}
 #honoraires .cmp thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
 #honoraires .cmp tbody{display:grid;gap:16px}
 #honoraires .cmp tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);background:white}
 #honoraires .cmp tbody th{grid-column:1/-1;background:var(--navy);color:white;text-align:left;padding:13px 16px;border:0;font-size:1rem}
 #honoraires .cmp td{display:block;padding:16px;border:0;font-size:1rem;background:white!important}
 #honoraires .cmp td:last-child{border-left:1px solid var(--line);background:var(--gold-pale)!important}
 #honoraires .cmp td:before{content:attr(data-zone);display:block;font-size:.8rem;font-weight:500;color:var(--navy);margin-bottom:8px}
 #honoraires .cmp small{font-size:.85rem;margin-top:4px}
}
@media(prefers-reduced-motion:reduce){.mobile-guide .dot{animation:none!important}}
