/* AD RENOV 77 · Thème commun 2026 (25/10/2026)
   Mode clair = « Atelier clair » · Mode sombre = « Nuit premium ».
   Chargé en dernier sur toutes les pages : mêmes couleurs, en-tête, boutons, cartes, sections et pied de page partout. */

/* ---------- 1. Couleurs ---------- */
body,body.adr-annex,body.adr-annex.adr-light,body:not(.dark){
  --bg:#F6F2EC;--surface:#FFFFFF;--surface-2:#EFE8DF;--ink:#1D1A1F;--muted:#5E5862;--line:#E4DBD0;
  --red:#D23537;--red-ink:#B92F31;--purple:#8E4FA6;--green:#1F7A4D;
  --grad:linear-gradient(100deg,#D8323A 0%,#C8384F 45%,#8E4FA6 100%);
  --btn:var(--red);--btn-ink:#fff;--header:rgba(246,242,236,.86);
  --card-shadow:0 1px 2px rgba(29,26,31,.04),0 14px 34px -22px rgba(29,26,31,.28);
  --radius:18px;--plan-op:0;
  --ch-red:var(--red-ink);--ch-purple:var(--purple);
}
body.dark,body.adr-annex.dark{
  --bg:#121115;--surface:#1C1A20;--surface-2:#24212A;--ink:#F4F1F6;--muted:#ADA6B4;--line:#2E2A35;
  --red:#F04244;--red-ink:#FF7A7C;--purple:#B276C8;--green:#2E9E62;
  --grad:linear-gradient(100deg,#E03A40 0%,#C9416A 45%,#9452AE 100%);
  --btn:var(--grad);--btn-ink:#fff;--header:rgba(18,17,21,.82);
  --card-shadow:0 1px 0 rgba(255,255,255,.03) inset,0 18px 40px -24px rgba(0,0,0,.7);
}

/* ---------- 2. Fond : sobre, sans plans ni grain ---------- */
html{background:#F6F2EC!important}html:has(body.dark){background:#121115!important}html body{background:transparent!important}
body{color:var(--ink);font-family:Manrope,system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
html::before,html:has(body.dark)::before,html:not(:has(body.dark))::before{display:none!important;background:none!important}
.arch-lines,.arch-accent,.rx-mark,.flow-plan,.plan-lines{display:none!important}
#services,#etapes,body:not(.dark) #services,body:not(.dark) #etapes,body.dark #services,body.dark #etapes{background:transparent!important}
#services::before,#etapes::before,#realisations::before,#avis::before,.site-footer::before{display:none!important}
::selection{background:color-mix(in srgb,var(--red) 22%,transparent)}

/* ---------- 3. Titres et textes ---------- */
h1,h2,h3,h4{color:var(--ink);letter-spacing:-.025em}
h1{font-weight:800}
.title,.section h2.title,main h2{font-weight:800;letter-spacing:-.03em}
.title,.section .title{font-size:clamp(28px,3.4vw,44px)!important;line-height:1.08!important}
.eyebrow,.ch-eyebrow,.avc-eyebrow{color:var(--red-ink)!important;font-size:12px!important;font-weight:800!important;letter-spacing:.14em!important;text-transform:uppercase}
.eyebrow::before,.eyebrow::after{display:none!important}
p,.lead,.ch-lead{color:var(--muted)}
a{text-underline-offset:3px}

/* ---------- 4. En-tête identique partout ---------- */
body>header,header.adr-header{position:sticky;top:0;z-index:60;background:var(--header)!important;-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid var(--line)!important;box-shadow:none!important}
body>header .wrap,header.adr-header .wrap{min-height:72px;display:flex;align-items:center;gap:20px}
body>header .brand,header.adr-header .brand{display:flex;align-items:center;gap:10px;color:var(--ink)!important;text-decoration:none}
body>header .brand img,header.adr-header .brand img{width:44px!important;height:auto!important;max-height:34px;object-fit:contain}
body>header .brand-copy b,header.adr-header .brand-copy b{font-size:18px;font-weight:800;letter-spacing:-.01em;color:var(--ink)}
body>header .brand-copy small,header.adr-header .brand-copy small{display:none}
.rx-77,.rx-brand-77{color:var(--red)!important;background:none!important;-webkit-text-fill-color:currentColor!important}
body>header .nav,header.adr-header .nav{gap:clamp(14px,1.8vw,26px)!important}
body>header .nav a,header.adr-header .nav a{color:var(--muted)!important;font-weight:700!important;font-size:14.5px!important;text-decoration:none;background:none!important;border-radius:0!important;padding:8px 2px!important;position:relative}
body>header .nav a:hover,header.adr-header .nav a:hover,body>header .nav a.rx-active,header.adr-header .nav a[aria-current="page"]{color:var(--ink)!important}
body>header .nav a.rx-active::after,header.adr-header .nav a[aria-current="page"]::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:2px;border-radius:2px;background:var(--red)}
body>header .btn,header.adr-header .btn{height:44px;border-radius:12px!important}
body>header .btn.theme,header.adr-header .btn.theme,body>header .btn.call-header,header.adr-header .btn.call-header{background:var(--surface)!important;color:var(--ink)!important;border:1px solid var(--line)!important;box-shadow:none!important}

/* ---------- 5. Boutons ---------- */
.btn,.ch-btn,.button{border-radius:12px!important;font-weight:800!important;letter-spacing:0!important;transition:transform .15s,box-shadow .2s,background-color .2s}
.btn.primary,.ch-btn-main,.ch-btn.ch-btn-main,.btn.btn-primary,a.primary,.cv-send{background:var(--btn)!important;color:var(--btn-ink)!important;border:0!important;box-shadow:0 10px 24px -14px color-mix(in srgb,var(--red) 80%,transparent)!important;text-shadow:none!important}
.btn.primary:hover,.ch-btn-main:hover,.cv-send:hover{transform:translateY(-1px);filter:brightness(1.04)}
.btn:not(.primary):not(.theme):not(.call-header):not(.whatsapp),.ch-btn:not(.ch-btn-main){background:var(--surface)!important;color:var(--ink)!important;border:1px solid var(--line)!important;box-shadow:none!important}
.btn.whatsapp,a.btn[href*="wa.me"]{background:var(--green)!important;color:#fff!important;border:0!important}

/* ---------- 6. Sections et cartes ---------- */
.section{padding-block:clamp(56px,7vw,96px)}
.wrap{max-width:var(--wrap,1180px)}
.service,.card,.review,.review-card,.tr-card,.tr-base,.acp-card,.acp-about,.ch-end,.legal-card,.journey-option,.guide-choice,.avc,.trust,.trust-grid>*,.cv-guide-extra,.panel-card,.step,.rx-step,.faq details,.local-card{background:var(--surface)!important;border:1px solid var(--line)!important;border-radius:var(--radius)!important;box-shadow:var(--card-shadow)!important;color:var(--ink)}
.service .icon,.card .icon{background:color-mix(in srgb,var(--red) 10%,var(--surface))!important;color:var(--red-ink)!important;border-radius:12px!important;box-shadow:none!important}
.service .icon i,.card .icon i{color:var(--red-ink)!important;background:none!important;-webkit-text-fill-color:currentColor!important}
.service:hover,.acp-card:hover,.avc:hover,.tr-card:hover{border-color:color-mix(in srgb,var(--red) 40%,var(--line))!important;transform:translateY(-2px)}
.soft,section.soft{background:var(--surface-2)!important}
.sv-season{background:var(--grad)!important;border-radius:var(--radius)!important}
.sv-season,.sv-season p,.sv-season b,.sv-season strong,.sv-season span{color:#fff!important}

/* ---------- 7. Formulaires ---------- */
input,select,textarea{border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--ink)}
input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible,button:focus-visible{outline:2px solid var(--red);outline-offset:2px}

/* ---------- 8. Pied de page identique partout ---------- */
.site-footer,footer.adr-footer{background:var(--surface-2)!important;border-top:1px solid var(--line)!important;color:var(--ink)}
body.dark .site-footer,body.dark footer.adr-footer{background:#0E0D11!important}
.site-footer h4,.adr-footer h4{color:var(--ink)!important;font-size:13px!important;letter-spacing:.12em;text-transform:uppercase}
.site-footer a:not(.btn),.adr-footer a:not(.btn){color:var(--muted)!important;text-decoration:none}
.site-footer a:not(.btn):hover,.adr-footer a:not(.btn):hover{color:var(--ink)!important}
.site-footer p,.adr-footer p{color:var(--muted)}
.rx-copy{color:var(--muted);border-top:1px solid var(--line)}

/* ---------- 9. Barre de contact sur téléphone (identique partout) ---------- */
@media (max-width:760px){
  .contact-dock,.mobile-bar{left:12px!important;right:12px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;width:auto!important;display:flex!important;gap:8px!important;padding:8px!important;border-radius:18px!important;background:color-mix(in srgb,var(--surface) 94%,transparent)!important;border:1px solid var(--line)!important;box-shadow:0 16px 36px -18px rgba(0,0,0,.45)!important;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
  .contact-dock a,.mobile-bar a{flex:1!important;height:48px!important;min-height:48px!important;border-radius:12px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;font-weight:800!important;font-size:15px!important;box-shadow:none!important}
  .contact-dock a[href^="tel:"],.mobile-bar a[href^="tel:"]{background:var(--btn)!important;color:#fff!important}
  .contact-dock a[href*="wa.me"],.mobile-bar a[href*="wa.me"]{background:var(--green)!important;color:#fff!important}
  body>header .wrap,header.adr-header .wrap{min-height:64px}
  .section{padding-block:56px}
  .title,.section .title{font-size:clamp(26px,7.4vw,32px)!important}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* ---------- 10. Harmonisation (v2) ---------- */
html body .eyebrow,html body .ch-eyebrow{color:var(--red-ink)!important}
main h1 span,.hero h1 span,.hero h1 em{color:var(--red)!important;background:none!important;-webkit-text-fill-color:currentColor!important}
main h1,.hero h1{font-size:clamp(34px,5vw,62px)!important;line-height:1.04!important;letter-spacing:-.035em!important}
body>header .menu-toggle,header.adr-header .menu-toggle{width:44px;height:44px;border-radius:12px!important;background:var(--surface)!important;color:var(--ink)!important;border:1px solid var(--line)!important;box-shadow:none!important}
body>header .btn.theme,header.adr-header .btn.theme{box-shadow:none!important}
@media (max-width:760px){
  body>header .wrap,header.adr-header .wrap{flex-wrap:nowrap!important;gap:10px!important;padding-inline:16px}
  body>header .brand,header.adr-header .brand{margin-right:auto}
  body>header .menu-toggle,header.adr-header .menu-toggle{order:3;margin:0!important}
  body>header .actions,header.adr-header .actions{order:4;gap:8px}
  body>header .actions .btn.primary,header.adr-header .actions .btn.primary,body>header .actions .call-header,header.adr-header .actions .call-header{display:none!important}
  body>header .btn.theme span,header.adr-header .btn.theme span,body>header .menu-toggle span,header.adr-header .menu-toggle span{display:none!important}
  body>header .btn.theme,header.adr-header .btn.theme{width:44px;padding:0!important;justify-content:center}
  .back-to-top{bottom:96px!important}
}

/* ---------- 11. Correctifs (v3) ---------- */
html body .eyebrow.eyebrow.eyebrow.eyebrow{color:var(--red-ink)!important}
@media (max-width:760px){
  .contact-dock{flex-direction:row!important;align-items:stretch!important;top:auto!important}
  .contact-dock a{width:auto!important}
  .contact-dock a span{display:inline!important;position:static!important;width:auto!important;height:auto!important;clip:auto!important;clip-path:none!important;overflow:visible!important;margin:0!important;white-space:nowrap}
  main .hero{padding-top:28px!important}
  main .hero .hero-copy{padding-top:0!important}
}

/* ---------- 12. Correctifs (v4) ---------- */
html body .journey-eyebrow.journey-eyebrow.journey-eyebrow{color:var(--red-ink)!important;font-size:12px!important;font-weight:800!important;letter-spacing:.14em!important}
html body main h1 em,html body main h1 span{color:var(--red)!important;font-style:normal!important;-webkit-text-fill-color:currentColor!important}
@media (max-width:760px){
  html body>header .wrap,html body header.adr-header .wrap{justify-content:flex-start!important}
  html body>header .brand,html body header.adr-header .brand{margin-right:auto!important}
  html body>header .menu-toggle,html body header.adr-header .menu-toggle{order:3!important;width:44px!important;height:44px!important;padding:0!important;justify-content:center!important}
  html body>header .actions,html body header.adr-header .actions{order:4!important;margin-left:0!important}
}

/* ---------- 13. FAQ, zones et listes (v5) ---------- */
.faq{display:grid;gap:10px;max-width:880px}
.faq details{padding:0!important;overflow:hidden}
.faq summary{cursor:pointer;list-style:none;padding:18px 54px 18px 20px;font-weight:800;color:var(--ink);position:relative;line-height:1.4}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:20px;top:50%;transform:translateY(-50%);width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--red) 12%,var(--surface));color:var(--red-ink);font-weight:800}
.faq details[open] summary::after{content:"–"}
.faq details p{margin:0;padding:0 20px 18px;line-height:1.65}
.area{display:flex;flex-wrap:wrap;gap:8px}
.area a,.area span{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--ink)!important;font-weight:700;font-size:14px;text-decoration:none}
.area a:hover{border-color:var(--red);color:var(--red-ink)!important}
.area span{background:var(--surface-2)}
ol.checks{counter-reset:st;padding-left:0;list-style:none}
ol.checks li{counter-increment:st;position:relative;padding-left:40px!important;margin-bottom:12px}
ol.checks li::before{content:counter(st)!important;position:absolute;left:0;top:0;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--btn);color:#fff;font-weight:800;font-size:13px;border:0!important}
.adr-service .cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:14px}
.adr-service .card i{color:var(--red-ink)!important;font-size:22px}
.adr-service .hero-grid img{border-radius:var(--radius);object-fit:cover;aspect-ratio:4/3;width:100%;height:auto}
.adr-service .two img{border-radius:var(--radius);object-fit:cover;width:100%;height:auto}

/* ---------- 14. Tailles harmonisées (v6) ---------- */
main h2,.section-head h2{font-size:clamp(24px,3.2vw,38px)!important;line-height:1.12!important}
html body>header .btn.theme,html body header.adr-header .btn.theme{height:44px!important;min-height:44px!important}

/* ---------- 15. Fond d'ambiance (v7) : halos aux couleurs du logo + trame de points ---------- */
html body::before,html body::after{content:""!important;display:block!important;position:fixed!important;inset:0!important;z-index:-1!important;pointer-events:none!important;opacity:1!important}
html body::before{background:
 radial-gradient(70vmax 52vmax at -8% -6%,rgba(214,53,55,.20),transparent 62%),
 radial-gradient(60vmax 54vmax at 108% 10%,rgba(142,79,166,.19),transparent 62%),
 radial-gradient(64vmax 46vmax at 62% 112%,rgba(232,120,70,.14),transparent 64%),
 radial-gradient(40vmax 40vmax at 18% 72%,rgba(142,79,166,.09),transparent 66%)!important}
html body::after{background-image:radial-gradient(rgba(29,26,31,.10) 1px,transparent 1.3px)!important;background-size:22px 22px!important;-webkit-mask-image:radial-gradient(120% 90% at 50% 40%,rgba(0,0,0,.55),#000);mask-image:radial-gradient(120% 90% at 50% 40%,rgba(0,0,0,.55),#000)}
html body.dark::before{background:
 radial-gradient(70vmax 52vmax at -8% -6%,rgba(240,66,68,.26),transparent 62%),
 radial-gradient(60vmax 54vmax at 108% 10%,rgba(178,118,200,.26),transparent 62%),
 radial-gradient(64vmax 46vmax at 62% 112%,rgba(240,66,68,.14),transparent 64%),
 radial-gradient(40vmax 40vmax at 18% 72%,rgba(178,118,200,.12),transparent 66%)!important}
html body.dark::after{background-image:radial-gradient(rgba(255,255,255,.075) 1px,transparent 1.3px)!important}
/* Bandes teintées une section sur deux */
#services,#etapes,#avis,.soft,section.soft,main>section:nth-of-type(even):not(.hero){position:relative;background:linear-gradient(135deg,color-mix(in srgb,var(--red) 7%,transparent),color-mix(in srgb,var(--purple) 7%,transparent))!important;border-block:1px solid color-mix(in srgb,var(--line) 80%,transparent)}
html body #services,html body #etapes{background:linear-gradient(135deg,color-mix(in srgb,var(--red) 7%,transparent),color-mix(in srgb,var(--purple) 7%,transparent))!important}

/* ---------- 16. Laisser voir le fond d'ambiance (v8) ---------- */
html body main .hero:not(.video-premium){background:transparent!important}
html body.adr-annex main>section:not(.soft):not(:nth-of-type(even)),html body.adr-annex main>.trust{background:transparent!important}
html body.adr-annex main>.trust .trust-grid{background:color-mix(in srgb,var(--surface) 85%,transparent)!important}

/* ---------- 17. Fond animé (v9) : la grille du canvas remplace la trame de points ---------- */
html body::after{display:none!important}
html body::before{opacity:.75!important}
#adr-fond{display:block}

/* ---------- 18. Boutons de l'en-tête en mode sombre (v10) ---------- */
html body.dark>header .btn.theme,html body.dark header.adr-header .btn.theme,html body.dark>header .btn.call-header,html body.dark header.adr-header .btn.call-header,html body.dark>header .menu-toggle,html body.dark header.adr-header .menu-toggle{background:#1C1A20!important;background-color:#1C1A20!important;color:#F4F1F6!important;border:1px solid #2E2A35!important;opacity:1!important;filter:none!important}

/* ---------- 19. Mode clair moins éblouissant (v11) : beige plus soutenu, cartes ivoire, textes plus foncés ---------- */
html body:not(.dark),html body.adr-annex.adr-light:not(.dark){
  --bg:#DDD4C8;--surface:#EEE8DF;--surface-2:#D3C9BC;--ink:#17141A;--muted:#47414B;--line:#C6BAAB;
  --header:rgba(221,212,200,.9);--red:#C92F33;--red-ink:#A8272B;
  --card-shadow:0 1px 2px rgba(40,30,25,.08),0 14px 32px -20px rgba(40,30,25,.35);
}
html:not(:has(body.dark)){background:#DDD4C8!important}
html body:not(.dark) .contact-dock,html body:not(.dark) .mobile-bar{background:color-mix(in srgb,#EEE8DF 94%,transparent)!important}
html body:not(.dark) input,html body:not(.dark) select,html body:not(.dark) textarea{background:#F4EFE8}

/* ---------- 20. Description et légendes des chantiers (v12) ---------- */
.acp-m{position:relative}
.acp-cap{position:absolute;left:0;right:0;bottom:0;margin:0;padding:26px 12px 10px;background:linear-gradient(transparent,rgba(0,0,0,.75));color:#fff;font-size:13.5px;font-weight:700;line-height:1.35;pointer-events:none}
.acp-desc{max-width:70ch}.acp-desc p{margin:0 0 10px;color:var(--muted)}

/* ---------- v13 · 26/10/2026 · téléphone allégé ---------- */
html.adr-ld body{visibility:visible!important}
@media (max-width:760px){
  /* menu des pages annexes : panneau plein sous l'en-tête */
  body.adr-annex .adr-header .nav:not(.open){display:none!important}
  body.adr-annex .adr-header .nav.open{display:flex!important;flex-direction:column;position:fixed!important;left:0!important;right:0!important;top:var(--adr-hh,64px)!important;bottom:auto!important;max-height:calc(100dvh - var(--adr-hh,64px));overflow:auto;background:var(--surface,#EEE8DF)!important;padding:4px 20px 24px!important;margin:0!important;z-index:1000!important;box-shadow:0 18px 40px rgba(0,0,0,.2);border-top:1px solid var(--line);gap:0!important;width:auto!important;height:auto!important;transform:none!important}
  body.adr-annex .adr-header .nav.open a{display:flex!important;align-items:center;gap:10px;min-height:54px;padding:0 2px!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:none!important;color:var(--ink)!important;font-size:17px!important;font-weight:600;width:auto!important;margin:0!important;box-shadow:none!important}
  body.adr-annex .adr-header .nav.open a[aria-current=page]{color:var(--red-ink,#A8272B)!important}
  body.dark.adr-annex .adr-header .nav.open a[aria-current=page]{color:#FF8A8D!important}
  /* accueil : une seule ligne d'infos sous les boutons */
  .hero .sv-live,.hero .cv-hero-line,.hero .hero-location,.hero .media .rating,.hero .rx-trust{display:none!important}
  .hero .hero-google-proof,.hero .cv-dispo{display:inline-flex!important;align-items:center;vertical-align:middle;margin:14px 3px 0!important;font-size:13px!important}
  .hero .hero-google-proof>span:last-child{display:none!important}
  /* un seul bouton par bloc : la barre Appeler / WhatsApp reste en bas */
  .ch-btns [data-rappel],.ch-end a[href*="wa.me"],.site-footer [data-rappel],main .actions a.btn.whatsapp{display:none!important}
  /* pied de page : pas de menu en double, rubriques repliables */
  .rx-foot-top nav,.rx-foot-top .btn,.rx-foot-tag{display:none!important}
  .adr-fold>h4{display:flex!important;justify-content:space-between;align-items:center;cursor:pointer;min-height:46px;margin:0!important}
  .adr-fold>h4::after{content:"+";font-size:20px;font-weight:600;letter-spacing:0}
  .adr-fold.open>h4::after{content:"–"}
  .adr-fold:not(.open)>:not(h4){display:none!important}
}

/* ---------- v14 · 26/10/2026 · téléphone : pages plus courtes ---------- */
@media (max-width:760px){
  /* accueil : réalisations et coulisses plus compactes */
  #realisations .rx-thumbs,#realisations .compare-help,#coulisses .coulisses-tabs,#coulisses .intervention-thumbs{display:none!important}
  #realisations .compare{aspect-ratio:1/1!important}
  #prevVideo,#nextVideo{min-width:40px!important;min-height:40px!important}
  .rx-link{display:inline-flex!important;align-items:center;min-height:44px}
  /* pages services et villes */
  body.adr-service .hero-grid{gap:20px!important}
  body.adr-service .hero-grid>img{height:200px!important;width:100%;object-fit:cover}
  body.adr-service main .actions a[href^="tel:"]{display:none!important}
  body.adr-service .wrap.two{gap:20px!important}
  body.adr-service .wrap.two>img{height:200px!important;width:100%;object-fit:cover}
  body.adr-service .cards{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px!important;margin:0!important;padding:2px 0 12px!important;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  body.adr-service .cards::-webkit-scrollbar{display:none}
  body.adr-service .cards>*{flex:0 0 82%;scroll-snap-align:start;padding:20px!important}
  body.adr-service .trust-grid{padding:14px 15px!important;gap:8px!important}
  /* nos chantiers : on arrive plus vite sur les photos */
  body.adr-chantiers .ch-top .ch-lead{display:none!important}
  /* configurateur : pastilles d'étapes plus faciles à toucher */
  .step-dot{min-width:36px!important;min-height:36px!important}
}

/* (03/11/2026) lien Zone d’intervention : masqué sur les écrans moyens pour ne pas faire déborder le menu */
@media (min-width:901px) and (max-width:1199px){#annex-nav a[href="/zone-intervention/"]{display:none!important}}


/* ===== 14/11/2026 : thème foncé « graphite » (même rendu que l’accueil) ===== */

/* ===== Mode sombre : graphite chaud, plus clair et plus classe ===== */
html:has(body.dark){background:#222127!important}
html body.dark:not(#adr0){--card:#2B2931;--bg:#222127;--surface:#2B2931;--surface-2:#33313A;--ink:#F3F1F4;--muted:#BAB4BF;--line:rgba(255,255,255,.1);--card-shadow:0 18px 40px -26px rgba(0,0,0,.7)}
body.dark #adr-fond,body.dark .arch-lines{display:none!important}
html body.dark:not(#adr0)::before{background:radial-gradient(60vmax 44vmax at -6% -8%,rgba(201,47,51,.11),rgba(0,0,0,0) 62%),radial-gradient(54vmax 46vmax at 106% 30%,rgba(142,63,168,.10),rgba(0,0,0,0) 62%),linear-gradient(180deg,#25242A 0%,#1F1E24 100%)!important;opacity:1!important}
html body.dark:not(#adr0)::after{display:block!important;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>")!important;background-size:180px 180px!important;opacity:.035!important;pointer-events:none}
html body.dark header{background:rgba(37,36,42,.82)!important;-webkit-backdrop-filter:blur(16px) saturate(130%);backdrop-filter:blur(16px) saturate(130%);border-bottom:1px solid rgba(255,255,255,.07)!important}
html body.dark #demarrer{background:none!important;border:0!important}
html body.dark #realisations,html body.dark #avis{background:linear-gradient(180deg,rgba(255,255,255,.022),rgba(255,255,255,0))!important}
html body.dark #coulisses{background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.01))!important}
html body.dark .review,html body.dark .cv-guide-extra{background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03))!important;border:1px solid rgba(255,255,255,.09)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 22px 44px -30px rgba(0,0,0,.75)!important}
html body.dark .guide-choice,html body.dark .service,html body.dark #coulisses figure{border:1px solid rgba(255,255,255,.09)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 22px 44px -30px rgba(0,0,0,.75)!important}
html body.dark .btn:not(.primary){background:rgba(255,255,255,.05)!important;border-color:rgba(255,255,255,.13)!important}
html body.dark .sv-season{background:linear-gradient(100deg,#3B252C 0%,#33263A 100%)!important;border:1px solid rgba(255,255,255,.1)!important;box-shadow:0 22px 44px -30px rgba(0,0,0,.75)!important}
html body.dark .contact-dock{background:rgba(37,36,42,.94)!important;border-color:rgba(255,255,255,.09)!important}
html body.dark .site-footer{background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(0,0,0,.12))!important;border-top:1px solid rgba(255,255,255,.07)!important}
/* ===== Mode clair plus sobre ===== */
body:not(.dark) #adr-fond,body:not(.dark) .arch-lines{display:none!important}
html body:not(.dark):not(#adr0)::before{opacity:.18!important}

/* Lien « Aller au contenu » pour la navigation au clavier (14/11/2026) */
.adr-skip{position:absolute;left:12px;top:-80px;z-index:9999;background:#fff;color:#17141A!important;padding:10px 14px;border-radius:10px;font-weight:800;text-decoration:none;box-shadow:0 8px 24px rgba(0,0,0,.3)}.adr-skip:focus{top:12px}

/* (17/11/2026) bouton « Devis » partout : menu iPhone + barre du bas */
@media(min-width:761px){#annex-nav a.nav-devis,#main-nav a.nav-devis{display:none!important}}
@media(max-width:760px){html body #annex-nav a.nav-devis,html body #main-nav a.nav-devis{background:#E8343B!important;color:#fff!important;border-radius:12px!important;justify-content:center;text-align:center;font-weight:800}}
html body .mobile-bar a.devis,html body .contact-dock a.dock-devis{background:#fff!important;color:#16111C!important}
html body .mobile-bar a{flex:1 1 0!important;min-width:0;justify-content:center}

/* (03/12/2026) Mode clair « blanc cassé » (variante A validée) : fond ivoire, cartes blanches, rouge / violet.
   Ne s'applique qu'en mode clair (body sans .dark) ; le mode sombre par défaut n'est pas touché.
   :not(#_) sert seulement à passer devant les anciennes règles du mode clair. */
html body:not(.dark):not(#_){--bg:#F4F1EC;--surface:#FFFFFF;--surface-2:#ECE6DF;--ink:#1C1820;--muted:#574F5C;--line:#E3DBD2;--header:rgba(244,241,236,.95);--red:#C3262D;--red-ink:#A31F27;--purple:#6D3790;--card-shadow:0 1px 2px rgba(40,28,35,.06),0 16px 34px -22px rgba(60,30,60,.30);color:#1C1820}
/* le fond de page est posé sur <html> pour laisser voir le carrelage hexagonal animé (#adr-hexa) */
html:root:not(#_):has(> body:not(.dark)){background-color:#F4F1EC!important}
html body:not(.dark):not(#_) > header,html body:not(.dark):not(#_) header.site-header{background:rgba(244,241,236,.95)!important;border-bottom:2px solid transparent!important;border-image:linear-gradient(90deg,#C3262D,#6D3790) 1!important}
html body:not(.dark):not(#_) h1,html body:not(.dark):not(#_) h1 *{text-shadow:none!important}
html body:not(.dark):not(#_) h1 .ap-rot{background-image:linear-gradient(100deg,#C3262D 0%,#6D3790 60%,#C3262D 100%)!important;filter:none!important}
html body:not(.dark):not(#_) .eyebrow,html body:not(.dark):not(#_) .eyebrow *{color:#A31F27!important}
html body:not(.dark):not(#_) .stars,html body:not(.dark):not(#_) .stars *{color:#B26A00!important}
html body:not(.dark):not(#_) #accueil::after{background:linear-gradient(rgba(244,241,236,0) 0%,rgba(244,241,236,0) 36%,rgba(244,241,236,.72) 56%,rgba(244,241,236,.95) 76%,#F4F1EC 100%)!important}
html body:not(.dark):not(#_) span.cv-dispo{color:#1C1820!important;background:rgba(255,255,255,.75)!important;border:1px solid rgba(28,24,32,.16)!important}
html body:not(.dark):not(#_) .gz-cta{color:#C3262D!important;background:rgba(195,38,45,.1)!important}
html body:not(.dark):not(#_) a.guide-choice{background-color:#FFFFFF!important;border-color:#E3DBD2!important}
html body:not(.dark):not(#_) .guide-choice::after{background:linear-gradient(110deg,#FFFFFF 34%,transparent)!important}
html body:not(.dark):not(#_) a.adr-bg-link,html body:not(.dark):not(#_) a.adr-bg-link *{color:#9E1E26!important}
html body:not(.dark):not(#_) a.adr-bg-link{background:#F8E6E4!important;border-color:#EBC3BF!important}
html body:not(.dark):not(#_) a.more{background:linear-gradient(135deg,#6D3790,#C3262D)!important;color:#fff!important}
html body:not(.dark):not(#_) a.more *{color:#fff!important}
html body:not(.dark):not(#_) .dock-whatsapp{background:#FFFFFF!important;color:#1C1820!important;border:1px solid #E3DBD2!important}