﻿/* Direction Nuit technique */
:root {
  color-scheme: dark;
  --fond: #0b0b0a;
  --surface: #121210;
  --surface-haute: #191815;
  --texte: #f5eee4;
  --muet: #b7afa2;
  --ambre: #ffc675;
  --ambre-sombre: #a57748;
  --bleu: #88b9ff;
  --ligne: #38332c;
  --mono: 'JetBrains Mono', monospace;
  --corps: Archivo, Arial, sans-serif;
  --marge: clamp(22px, 5vw, 94px);
  --bandeau-mesure: 0px;
  --masthead-h: 77px;
  --navigation-bas: max(18px, env(safe-area-inset-bottom));
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--bandeau-mesure) + var(--masthead-h) + 15px); scroll-padding-bottom: calc(var(--navigation-bas) + 64px); }
body { margin: 0; background: var(--fond); color: var(--texte); font: 400 1rem/1.53 var(--corps); -webkit-font-smoothing: antialiased; }
#bandeau-demo { position: sticky; top: 0; z-index: 20; }
.cadre { width: min(100% - var(--marge) * 2, 1480px); margin-inline: auto; }
.symboles { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
p, figure, h1, h2, h3, dl, dd, blockquote { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary, select { cursor: pointer; }
button { border: 0; background: none; padding: 0; }
button:disabled { cursor: default; opacity: .43; }
img { display: block; width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--bleu); outline-offset: 4px; }
[tabindex="-1"]:focus { outline: 0; }
::selection { color: #100d09; background: var(--ambre); }
.ico { display: inline-block; flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.mono { font: 500 .71rem/1.45 var(--mono); letter-spacing: .075em; text-transform: uppercase; }
.ambre, em { color: var(--ambre); font-style: normal; }
.voyant { display: inline-block; width: 7px; height: 7px; flex: 0 0 7px; background: var(--ambre); border-radius: 50%; box-shadow: 0 0 10px #ffc67556; }
.voyant.bleu { background: var(--bleu); box-shadow: 0 0 10px #88b9ff65; }
.lecteur, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: calc(var(--bandeau-mesure) + 10px); left: 16px; z-index: 25; background: var(--ambre); color: var(--fond); padding: 12px 18px; }

.masthead { position: sticky; top: var(--bandeau-mesure); z-index: 12; width: 100%; padding-inline: max(var(--marge), (100% - 1480px) / 2); min-height: var(--masthead-h); display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; background: #0b0b0af7; border-bottom: 1px solid #2c261d; }
.marque { display: inline-flex; gap: 11px; align-items: center; width: max-content; min-height: 44px; }
.marque-icone { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid #735438; color: var(--ambre); background: #1b150e; }
.marque-icone .ico { fill: currentColor; width: 22px; height: 22px; }
.marque strong { display: block; font-size: 1.48rem; line-height: 1; letter-spacing: -.055em; font-weight: 850; }
.marque b { color: var(--ambre); font-weight: inherit; }
.marque small { display: block; font: 500 .55rem/1.2 var(--mono); color: var(--muet); text-transform: uppercase; letter-spacing: .13em; margin-top: 5px; }
.lieu { color: var(--muet); display: inline-flex; gap: 8px; align-items: center; }
.lieu .voyant { width: 5px; height: 5px; flex-basis: 5px; }
.mast-tel { justify-self: end; display: inline-flex; align-items: center; gap: 13px; min-height: 44px; font-size: .75rem; }
.mast-tel span { color: var(--ambre); font-size: 1rem; }
.mast-tel:hover { color: var(--ambre); }

.hero { position: relative; }
.hero-scene { position: relative; isolation: isolate; display: grid; place-items: center; min-height: clamp(630px, 76svh, 850px); overflow: clip; border-bottom: 1px solid var(--ligne); }
.hero-fond, .hero-photo, #eclairage-webgl, .hero-voile, .hero-rais { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-fond { z-index: -1; --torche-x: 50%; --torche-y: 32%; --scrub: .06; }
.hero-photo { object-fit: cover; object-position: center 47%; opacity: .84; }
.hero-voile { background: linear-gradient(0deg,#0b0b0a 0%,transparent 34%,transparent 76%,#0b0b0a75 100%), radial-gradient(ellipse at 50% 46%,#0a0908b5 5%,#0a090853 55%,#0b0b0a78 100%); }
.hero-masque .hero-voile { background:
  linear-gradient(0deg,#0b0b0a 0%,transparent 35%,transparent 80%,#0b0b0a9e 100%),
  radial-gradient(ellipse at var(--torche-x) var(--torche-y), #09080612 0, #0908064a 13%, #090806b8 36%, #090806ca 88%),
  linear-gradient(#0a090875, #0a090875);
  opacity: .98;
  transition: opacity .88s var(--ease);
}
.hero-masque .hero-scene.allume .hero-voile, .hero-masque .hero-scene.gl-actif .hero-voile { opacity: .38; }
.hero-rais { opacity: var(--scrub); background: radial-gradient(ellipse at 50% 28%,#ffb65c51,transparent 58%), conic-gradient(from 147deg at 50% 20%,transparent, #ffae4726 8deg,transparent 32deg,#ffbd7028 59deg,transparent 66deg); mix-blend-mode: screen; }
.hero-cadre { position: absolute; inset: 28px var(--marge) 57px; border: 1px solid #b68b5633; pointer-events: none; }
.hero-cadre i { position: absolute; width: 15px; height: 15px; border: solid var(--ambre-sombre); border-width: 1px 0 0 1px; top: -1px; left: -1px; }
.hero-cadre i:nth-child(2) { left: auto; right: -1px; rotate: 90deg; }
.hero-cadre i:nth-child(3) { top: auto; bottom: -1px; rotate: -90deg; }
.hero-cadre i:nth-child(4) { top: auto; left: auto; bottom: -1px; right: -1px; rotate: 180deg; }
.hero-repere { position: absolute; top: 49%; color: #ddc19d; display: flex; align-items: center; gap: 10px; font-size: .59rem; }
.hero-repere span { display: inline-block; width: 42px; height: 1px; background: #ac794f; position: relative; }
.hero-repere span::after { content: ''; position: absolute; width: 5px; height: 5px; border: 1px solid var(--ambre); top: -2px; right: 0; }
.hero-repere-g { left: var(--marge); }
.hero-repere-d { right: var(--marge); flex-direction: row-reverse; }
.hero-repere-d span::after { left: 0; right: auto; }
.hero-contenu { padding: 40px 24px 73px; text-align: center; }
.surtitre { color: var(--ambre); display: flex; width: fit-content; align-items: center; gap: 11px; }
.hero .surtitre { margin: 0 auto 23px; padding: 7px 10px; border: 1px solid #735338; background: #161009a8; font-size: .69rem; }
h1, h2 { font-stretch: 71%; font-variation-settings: 'wdth' 71; letter-spacing: -.055em; font-weight: 900; }
h1 { font-size: clamp(86px, 10.1vw, 176px); line-height: .80; text-transform: uppercase; text-shadow: 0 3px 36px #000b; }
h1 > span { display: block; }
h1 > span + span { margin-top: .11em; }
.hero-intro { max-width: 440px; margin: 26px auto 0; color: #f0e5d7; text-wrap: balance; text-shadow: 0 2px 6px #000, 0 2px 12px #000; font-size: 1.07rem; }
.hero-commande { display: grid; justify-items: center; gap: 11px; margin-top: 29px; }
.hero-commande .mono { color: var(--ambre); letter-spacing: .12em; text-shadow: 0 2px 5px #000; font-size: .68rem; }
.interrupteur-general { width: 73px; height: 73px; display: grid; place-items: center; color: #ffd59b; border: 1px solid #b88d5b; border-radius: 50%; background: #1d160ee3; box-shadow: 0 0 0 6px #140e0b80, inset 0 0 18px #f7a15526, 0 0 30px #ffc67529; transition: box-shadow .6s var(--ease), background .6s var(--ease), translate .3s var(--ease); }
.interrupteur-general .ico { width: 27px; height: 27px; }
.interrupteur-general[aria-pressed="true"], .interrupteur-general:hover { background: #382519; box-shadow: 0 0 0 6px #de9e4832, inset 0 0 18px #f7a15569, 0 0 38px #ffc67568; }
.hero-bas { position: absolute; left: var(--marge); right: var(--marge); bottom: 8px; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muet); font-size: .63rem; }
.hero-bas span, .hero-bas a { display: inline-flex; align-items: center; gap: 9px; }
.hero-bas a { color: var(--texte); min-height: 44px; }
.hero-bas a:hover { color: var(--ambre); }
.hero-bas .ico { width: 15px; height: 15px; color: var(--ambre); }

.section { --section-lumiere: .08; position: relative; isolation: isolate; padding-block: clamp(76px, 10vw, 142px); border-bottom: 1px solid var(--ligne); }
.section::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: var(--section-lumiere); background: radial-gradient(ellipse at 24% 0, #b27b3e55, transparent 70%), linear-gradient(90deg, transparent, #9f6b342f, transparent) top / 100% 1px no-repeat; }
.section-entete { display: flex; justify-content: space-between; align-items: flex-end; gap: 26px; margin-bottom: clamp(30px, 4vw, 60px); }
.section-entete > p, .tarifs header > p:last-of-type { max-width: 310px; color: var(--muet); }
.section h2 { font-size: clamp(3.1rem, 6.4vw, 7rem); line-height: .92; margin-top: 14px; }
.section h3 { font-weight: 740; letter-spacing: -.035em; line-height: 1.12; }
.section .aide { color: var(--muet); font-size: .84rem; }
.bouton { min-height: 48px; display: inline-flex; justify-content: center; align-items: center; gap: 13px; text-align: center; padding: 11px 18px; background: var(--ambre); color: #1b1209; border: 1px solid var(--ambre); font-weight: 740; transition: background .3s, color .3s, border-color .3s, box-shadow .4s, translate .3s var(--ease); }
.bouton:hover { color: #100b05; background: #ffe0ad; border-color: #ffe0ad; box-shadow: 0 0 22px #ffc67535; }
.bouton .ico { width: 17px; height: 17px; }
.bouton.secondaire { background: #100e0b; color: var(--texte); border-color: #7b654a; }
.bouton.secondaire:hover { color: var(--ambre); border-color: var(--ambre); }
.bouton:active, .interrupteur-general:active, .fermer:active { scale: .975; }
.decodage, .ligne-titre { overflow: clip; }
.prestations { padding-top: clamp(62px, 6.6vw, 101px); }
.panneau-prestations { --led-x: 50%; --led-y: 40%; display: grid; grid-template-columns: minmax(0, 2.25fr) minmax(265px, 1fr); gap: 1px; padding: 1px; background: var(--ligne); position: relative; }
.panneau-prestations::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle,#ffc6759e 1px,transparent 1.6px) 0 0/14px 14px; mask-image: radial-gradient(circle 155px at var(--led-x) var(--led-y),#000,#0000); z-index: 1; opacity: .34; }
.modules { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; }
.module { min-width: 0; background: var(--surface); }
.module a { position: relative; display: grid; align-content: start; gap: 10px; min-height: 100%; min-width: 0; padding: clamp(15px, 2vw, 30px); background: transparent; transition: background .45s, box-shadow .45s, translate .3s var(--ease); }
.module a:hover, .module a:focus-visible { z-index: 2; background: #1d1912; box-shadow: inset 0 0 27px #ffc67514, 0 0 19px #ffc67519; }
.module a:active { background: #2a2115; }
.module a > .ico:first-child { color: var(--ambre); width: 29px; height: 29px; margin-bottom: 7px; }
.module .sortie { position: absolute; right: 12px; top: 12px; width: 16px; height: 16px; color: var(--muet); }
.module h3 { font-size: clamp(1.05rem,1.65vw,1.53rem); }
.module p { color: var(--muet); font-size: .9rem; }
.module-wide { grid-column: 1 / -1; }
.module-wide a { grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center; }
.module-wide a > .ico:first-child { grid-row: span 2; margin: 0; }
.module-wide a p { grid-column: 2; }
.circuit { display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(ellipse at 0% 50%, #25190f, #131210 68%); position: relative; overflow: clip; }
.circuit figcaption { display: flex; gap: 10px; align-items: center; padding: 23px 24px 0; color: var(--muet); }
.circuit svg { width: 100%; min-height: 225px; flex: 1; }
.circuit-traits, .circuit-fond { fill: none; stroke-width: 1.4; }
.circuit-fond { stroke: #614930; }
.circuit-traits { stroke: var(--ambre-sombre); }
.circuit-points { fill: #19120b; stroke: var(--ambre); stroke-width: 1.4; }
.impulsions { fill: #ffe0a6; filter: drop-shadow(0 0 6px #ffae52); opacity: 0; }
.circuit-textes { fill: var(--muet); font: 500 11px var(--mono); letter-spacing: 1.2px; }

.diagnostic { background: #0e0e0d; }
.diagnostic-grille { display: grid; grid-template-columns: minmax(230px, .75fr) minmax(0, 1.25fr); gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); }
.jauge { display: grid; align-content: center; justify-items: center; gap: 20px; padding: 25px 22px; background: radial-gradient(ellipse at center,#241c12,#12110e 75%); min-height: 270px; }
.jauge > .mono:first-child { display: flex; align-items: center; gap: 10px; color: var(--muet); }
.jauge svg { width: min(100%, 290px); }
.arc-base, .arc-cuivre, .arc-crans { fill: none; }
.arc-base { stroke: #56483c; stroke-width: 4; }
.arc-cuivre { stroke: var(--ambre-sombre); stroke-width: 4; }
.arc-crans { stroke: #ac8b65; stroke-width: 1; }
#aiguille { fill: var(--ambre); transform-origin: 130px 130px; rotate: var(--aiguille, -76deg); transition: rotate .9s var(--ease); }
#diagnostic-etat { color: var(--ambre); text-align: center; }
.diagnostic-form { padding: clamp(20px,3vw,42px); background: var(--surface); min-width: 0; }
.diagnostic-form form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 19px; }
label { display: grid; gap: 7px; min-width: 0; font-weight: 600; }
input:not([type="range"]), select, textarea { min-height: 46px; padding: 9px 10px; background: #0c0c0b; border: 1px solid #635647; border-radius: 0; width: 100%; min-width: 0; }
textarea { min-height: 96px; resize: vertical; }
select { text-overflow: ellipsis; }
.diagnostic-conseil { grid-column: 1 / -1; border-left: 2px solid var(--ambre); background: #1c1710; color: #e9dbc9; padding: 12px 14px; font-size: .92rem; }
.diagnostic-conseil p + p { margin-top: 5px; }
.diagnostic-form .bouton { grid-column: 1 / -1; justify-self: start; }
.diagnostic-form > p:last-child { margin-top: 17px; }

.simulateur-grille { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(285px, 1fr); border: 1px solid var(--ligne); }
.piece { align-self: stretch; position: relative; isolation: isolate; min-height: 390px; overflow: clip; display: flex; align-items: end; border-right: 1px solid var(--ligne); background: #16120d; }
.piece-photo, .zone-lumiere { position: absolute; width: 100%; height: 100%; inset: 0; z-index: -1; }
.piece::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 29% 42% at 50% 24%, rgb(6 5 4 / var(--ombre-plafond, 0)), transparent 85%), radial-gradient(ellipse 59% 31% at 12% 88%, rgb(6 5 4 / var(--ombre-rubans, 0)), transparent 85%), radial-gradient(ellipse 25% 51% at 94% 31%, rgb(6 5 4 / var(--ombre-appliques, 0)), transparent 88%); }
.piece-photo { z-index: -2; object-fit: cover; filter: brightness(var(--piece-base, .9)) saturate(var(--piece-saturation, 1)); transition: filter .6s var(--ease); }
.zone-lumiere { opacity: 0; mix-blend-mode: screen; pointer-events: none; transition: opacity .56s var(--ease), background-color .56s var(--ease); background: var(--piece-couleur, #ffc079); }
.zone-plafond { mask-image: radial-gradient(ellipse 42% 52% at 50% 29%,black,transparent 83%); opacity: var(--plafond, 0); }
.zone-rubans { mask-image: radial-gradient(ellipse 56% 30% at 16% 86%,black,transparent 87%); opacity: var(--rubans, 0); }
.zone-appliques { mask-image: radial-gradient(ellipse 27% 44% at 89% 31%,black,transparent 85%); opacity: var(--appliques, 0); }
.piece figcaption { background: #100d0ae8; padding: 10px 12px; margin: 16px; color: var(--texte); display: inline-flex; align-items: center; gap: 9px; font-size: .64rem; }
.reglages { padding: clamp(17px,3vw,36px); background: var(--surface); }
.suspension { position: relative; height: 115px; margin: 0 0 10px; color: var(--ambre); background: radial-gradient(ellipse at 50% 60%,#9f6a3429,transparent 66%); }
.suspension svg, #lampe-3d { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.suspension svg { padding: 10px 0; fill: #ad70352c; stroke: currentColor; stroke-width: 1.2; }
.bascules { display: grid; }
.bascules button { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--ligne); min-height: 48px; text-align: left; }
.bascules button:last-child { border-bottom: 1px solid var(--ligne); }
.bascules button:hover { color: var(--ambre); }
.bascules button i { position: relative; width: 35px; height: 25px; background: #0b0b0a; border: 1px solid #665240; padding: 3px; perspective: 80px; flex: none; }
.bascules button i::before { position: absolute; inset: 3px; content: ''; background: linear-gradient(#39342e,#25211c); border: 1px solid #6c5a48; transform: rotateX(-27deg); transition: transform .53s cubic-bezier(.2,1.5,.4,1), background .46s; }
.bascules button[aria-checked="true"] i::before { transform: rotateX(27deg); background: linear-gradient(#fde0ad,#a56a35); }
.variateur { margin-top: 14px; }
.variateur span { display: flex; justify-content: space-between; gap: 8px; font-size: .92rem; }
.variateur output { font: 500 .77rem var(--mono); color: var(--ambre); white-space: nowrap; }
input[type="range"] { margin: 0; min-height: 44px; width: 100%; accent-color: var(--ambre); }

.projets { background: #10100f; }
.projets-outils { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.filtres, .projets-commandes { display: flex; flex-wrap: wrap; gap: 5px; }
.filtres button, .projets-commandes button { min-height: 44px; min-width: 44px; padding: 5px 13px; border: 1px solid var(--ligne); color: var(--muet); transition: background .3s, border-color .3s, color .3s; }
.filtres button:hover, .filtres button[aria-pressed="true"], .projets-commandes button:not(:disabled):hover { background: #231b12; border-color: #a77748; color: var(--ambre); }
.projets-commandes button { display: grid; place-items: center; padding: 0; }
.retour { rotate: 180deg; }
.galerie { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; }
.galerie[data-glisse] { scroll-snap-type: none; cursor: grabbing; }
.galerie::-webkit-scrollbar { display: none; }
.galerie-piste { display: flex; gap: 12px; }
.projet { flex: 0 0 clamp(295px,39vw,520px); min-width: 0; border: 1px solid var(--ligne); background: var(--surface); scroll-snap-align: start; }
.projet a { display: block; height: 100%; position: relative; overflow: clip; transition: background .4s, box-shadow .4s; }
.projet a:hover { background: #221a12; box-shadow: inset 0 0 30px #ffc67522; }
.projet a:focus-visible { outline-offset: -4px; }
.projet a:active { background: #2a2115; }
.projet img { aspect-ratio: 1.92; object-fit: cover; transition: scale .68s var(--ease), filter .68s var(--ease); pointer-events: none; }
.projet a:hover img { scale: 1.018; filter: brightness(1.09); }
.projet a div { position: relative; padding: 14px 39px 17px 17px; border-top: 1px solid var(--ligne); }
.projet a .mono { color: var(--ambre); }
.projet h3 { font-size: clamp(1.06rem,2vw,1.5rem); margin-top: 5px; }
.projet a .ico { position: absolute; right: 13px; bottom: 15px; }
.galerie-progression { background: var(--ligne); height: 1px; margin-top: 19px; overflow: clip; }
.galerie-progression i { display: block; width: var(--galerie-largeur, 40%); height: 1px; background: var(--ambre); transform: translateX(var(--galerie-decalage, 0px)); }

.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; border: 1px solid var(--ligne); background: var(--ligne); }
.etapes li { --ligne-methode: 1; position: relative; background: var(--surface); padding: 23px; }
.etapes li::before { content: ''; display: block; margin: -24px -23px 20px; height: 2px; background: var(--ambre); transform: scaleX(var(--ligne-methode, 1)); transform-origin: left; }
.etapes span { color: var(--ambre); display: block; margin-bottom: 14px; }
.etapes h3 { font-size: 1.28rem; }
.etapes p { font-size: .91rem; color: var(--muet); margin-top: 9px; }

.tarifs { background: #141210; }
.tarifs-grille, .faq-grille, .contact-grille { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 7vw, 104px); align-items: start; }
.tarifs header > p:last-of-type { margin: 20px 0; }
.tarifs-liste > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 95px; padding: 12px 0; border-bottom: 1px solid var(--ligne); }
.tarifs-liste > div:first-child { border-top: 1px solid var(--ligne); }
.tarifs-liste dt { font-weight: 680; }
.tarifs-liste dd { text-align: right; white-space: nowrap; }
.tarifs-liste strong { display: block; color: var(--ambre); font: 500 clamp(1.2rem,2.4vw,2.05rem) var(--mono); }
.tarifs-liste small { color: var(--muet); }
.avis-grille { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); }
.avis blockquote { padding: clamp(18px,4vw,53px); background: var(--surface); }
.avis blockquote .mono { color: var(--ambre); margin-bottom: 15px; }
.avis blockquote p:last-child { max-width: 415px; font-size: clamp(1.05rem,2.3vw,1.56rem); }
.questions { border-top: 1px solid var(--ligne); }
details { border-bottom: 1px solid var(--ligne); }
summary { display: flex; min-height: 60px; align-items: center; justify-content: space-between; gap: 13px; list-style: none; font-weight: 650; }
summary::-webkit-details-marker { display: none; }
summary .ico { color: var(--ambre); transition: rotate .55s var(--ease); }
details[open] summary .ico { rotate: 45deg; }
details p { color: var(--muet); padding: 0 26px 18px 0; }
summary:hover { color: var(--ambre); }

.contact { background: #17130e; }
.contact-grille { align-items: center; }
.contact-principal p:nth-of-type(2) { margin-top: 19px; max-width: 440px; color: var(--muet); }
.actions-contact { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
.coordonnees { font-style: normal; padding: 22px clamp(17px,3vw,34px); border: 1px solid #584531; background: #14110e; min-width: 0; }
.coordonnees strong { display: block; color: var(--ambre); font-size: 1.45rem; }
.coordonnees small { display: block; color: var(--muet); margin-bottom: 12px; }
.lien-bouton { display: block; min-height: 44px; text-align: left; overflow-wrap: anywhere; }
.lien-bouton span { color: var(--ambre); }
.lien-bouton:hover { color: var(--ambre); }
.horaires { margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--ligne); }
.horaires .mono { display: flex; align-items: center; gap: 8px; color: var(--texte); }
.horaires p + p { margin-top: 7px; color: var(--muet); }

.pied { padding: 34px 0 calc(105px + var(--navigation-bas)); overflow: clip; }
.pied-haut, .pied-bas { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.pied-haut p { color: var(--muet); margin-top: 11px; font-size: .9rem; }
.pied-bas { border-top: 1px solid var(--ligne); margin-top: 28px; padding-top: 11px; color: var(--muet); }
.pied-bas > div { display: flex; flex-wrap: wrap; gap: 0 17px; }
.pied-bas button { min-height: 44px; text-align: left; font-size: .85rem; }
.pied-bas button:hover { color: var(--ambre); }
.disjoncteurs { display: flex; width: fit-content; border: 1px solid #584c41; padding: 6px; gap: 3px; background: #191714; }
.disjoncteurs i { --cran: 23px; position: relative; display: block; width: 27px; height: 57px; border: 1px solid #554b41; background: linear-gradient(#2c2721, #131210); }
.disjoncteurs i::before { content: ''; position: absolute; inset: 10px 4px auto; height: 10px; background: #b7854f; border-block: 1px solid #ffcc87; translate: 0 var(--cran, 23px); }
.disjoncteurs i::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; background: #a97a4e; border-radius: 50%; }

.navigation { position: fixed; z-index: 15; bottom: var(--navigation-bas); left: 50%; translate: -50% 0; display: flex; gap: 4px; align-items: center; mix-blend-mode: normal; padding: 5px; border: 1px solid #5e4d3b; border-radius: 100px; background: #151311f7; box-shadow: 0 8px 45px #000a; max-width: calc(100% - 24px); }
.navigation a, .nav-menu { border-radius: 100px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: .88rem; font-weight: 650; white-space: nowrap; gap: 7px; }
.nav-accueil { width: 44px; flex: none; border: 1px solid #514031; color: var(--ambre); }
.nav-accueil .ico { width: 17px; height: 17px; fill: currentColor; }
.navigation-liens { display: flex; gap: 1px; }
.navigation-liens a { position: relative; padding: 0 13px; color: var(--muet); }
.navigation-liens a:hover, .nav-accueil:hover, .nav-menu:hover { color: var(--texte); background: #2a2117; }
.navigation a[aria-current] { color: var(--ambre); background: #2d2114; }
.navigation-liens a[aria-current]::after { content: ''; border-radius: 50%; width: 4px; height: 4px; position: absolute; bottom: 6px; left: calc(50% - 2px); background: var(--ambre); box-shadow: 0 0 7px var(--ambre); }
.navigation .nav-devis { color: #160e06; background: var(--ambre); padding: 0 17px; transition: background .28s, box-shadow .35s, translate .3s var(--ease); }
.navigation .nav-devis:hover { background: #ffdfaa; box-shadow: 0 0 17px #ffc67555; }
.navigation .nav-devis .ico { width: 14px; height: 14px; }
.nav-menu { display: none; }

@media (max-width: 1070px) {
  .hero-repere { display: none; }
  .panneau-prestations { grid-template-columns: minmax(0,1.8fr) minmax(230px,1fr); }
  .modules { grid-template-columns: repeat(2,minmax(0,1fr)); }
  :root { --masthead-h: 69px; }
}
@media (max-width: 900px) {
  .diagnostic-form form { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --marge: clamp(18px,5.1vw,36px); --navigation-bas: max(12px, env(safe-area-inset-bottom)); }
  :root { --masthead-h: 63px; }
  .masthead { grid-template-columns: 1fr auto; gap: 10px; }
  .marque-icone { width: 34px; height: 34px; }
  .marque strong { font-size: 1.31rem; }
  .marque small { font-size: .49rem; }
  .lieu { display: none; }
  .mast-tel { font-size: .66rem; gap: 5px; }
  .hero-scene { min-height: clamp(530px, 74svh, 715px); }
  .hero-cadre { inset: 14px var(--marge) 51px; }
  .hero-photo { object-position: 52% 47%; }
  .hero-contenu { width: 100%; padding: 39px 22px 70px; }
  .hero .surtitre { margin-bottom: 22px; font-size: .57rem; }
  h1 { font-size: clamp(55px, 12.35vw, 94px); }
  .hero-intro { font-size: .99rem; margin-top: 21px; max-width: 310px; }
  .interrupteur-general { width: 65px; height: 65px; }
  .hero-bas { bottom: 4px; font-size: .57rem; }
  .hero-bas span, .hero-bas a { gap: 6px; }
  .section { padding-block: 67px; }
  .section h2 { font-size: clamp(2.84rem, 10.8vw, 4.65rem); margin-top: 13px; }
  .section-entete { display: grid; gap: 14px; margin-bottom: 25px; }
  .section-entete > p { max-width: 370px; }
  .panneau-prestations { grid-template-columns: 1fr; }
  .module a { padding: 15px 13px; gap: 7px; }
  .module a > .ico:first-child { width: 23px; height: 23px; }
  .module h3 { font-size: 1.06rem; }
  .module p { font-size: .82rem; }
  .module-wide a { gap: 4px 13px; padding-right: 34px; }
  .circuit svg { max-height: 265px; }
  .diagnostic-grille, .simulateur-grille, .tarifs-grille, .faq-grille, .contact-grille { grid-template-columns: 1fr; }
  .diagnostic-form form { gap: 14px 9px; }
  .diagnostic-form label { font-size: .9rem; }
  .jauge { min-height: 205px; gap: 8px; }
  .jauge svg { width: min(68%, 190px); }
  .piece { min-height: clamp(225px, 60vw, 410px); border-right: 0; border-bottom: 1px solid var(--ligne); }
  .piece figcaption { margin: 9px; }
  .projets-outils { flex-wrap: wrap; }
  .filtres button { padding: 5px 8px; font-size: .83rem; }
  .projet { flex-basis: min(82vw, 505px); }
  .etapes { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .etapes li { padding: 16px; }
  .etapes li::before { margin: -17px -16px 15px; }
  .etapes h3 { font-size: 1.1rem; }
  .etapes p { font-size: .86rem; }
  .avis-grille { grid-template-columns: 1fr; }
  .pied-haut { align-items: start; flex-direction: column; }
  .pied-bas { align-items: start; flex-direction: column; gap: 5px; }
  .disjoncteurs { margin-top: 7px; }
  .navigation { width: min(100% - 32px, 430px); justify-content: space-between; }
  .navigation .nav-accueil, .navigation .navigation-liens { display: none; }
  .nav-menu:not([hidden]) { display: inline-flex; min-width: 0; width: auto; padding: 0 12px; }
  .nav-menu .ico { width: 19px; height: 19px; color: var(--ambre); }
  .nav-menu small::before { content: ""; display: inline-block; vertical-align: 2px; margin-right: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--ambre); box-shadow: 0 0 6px var(--ambre); }
  .nav-menu small { color: var(--ambre); font: 500 .61rem var(--mono); border-left: 1px solid #765739; padding-left: 7px; }
  .navigation .nav-devis { padding-inline: 14px; }
  .navigation:not(:has(.nav-menu:not([hidden]))) { width: auto; }
}
@media (max-width: 379px) {
  .hero .surtitre { font-size: .53rem; }
  h1 { font-size: clamp(49px, 14.5vw, 55px); }
  .diagnostic-form .bouton { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* Fenêtres et parcours */
.dialogue-ouvert { overflow: hidden; }
#fenetre {
  position: fixed;
  inset: calc(var(--bandeau-mesure) + 10px) 0 var(--navigation-bas);
  width: min(100% - 24px, 690px);
  max-width: none;
  max-height: calc(100dvh - var(--bandeau-mesure) - var(--navigation-bas) - 20px);
  padding: 0;
  overflow: visible;
  margin: auto;
  border: 0;
  background: none;
  color: var(--texte);
}
#fenetre::backdrop { background: #070604b8; }
.fenetre-coque {
  position: relative; overflow: auto; overscroll-behavior: contain;
  max-height: calc(100dvh - var(--bandeau-mesure) - var(--navigation-bas) - 20px);
  background: #161410; border: 1px solid #73573b; box-shadow: 0 16px 70px #000b;
}
#fenetre-contenu { padding: clamp(17px, 4vw, 42px); min-width: 0; }
#fenetre .surtitre { padding-right: 47px; }
#fenetre h2 { font-size: clamp(2.4rem, 6vw, 4.1rem); line-height: .97; margin: 13px 41px 17px 0; }
#fenetre .aide { font-size: .91rem; color: var(--muet); }
.fermer { position: absolute; right: 12px; top: 12px; min-width: 44px; min-height: 44px; background: #201910; color: var(--ambre); border: 1px solid #78614b; z-index: 1; display: grid; place-items: center; }
.fermer:hover { border-color: var(--ambre); background: #322418; }
.photo-fiche { aspect-ratio: 1.9; object-fit: cover; margin-bottom: 16px; }
.texte-fenetre, .liste-fiche { color: #e2d6c6; }
.texte-fenetre + .bouton, .liste-fiche + .bouton { margin-top: 21px; }
.liste-fiche { padding-left: 20px; }
.liste-fiche li + li { margin-top: 6px; }
.vol-fiche { position: fixed; z-index: 4; pointer-events: none; overflow: clip; object-fit: cover; background: #251b11; }
.vol-fiche.icone-fiche { display: grid; place-items: center; color: var(--ambre); border: 1px solid #6c5138; }
.vol-fiche svg { width: 35px; height: 35px; }
.menu-fenetre { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--ligne); background: var(--ligne); }
.menu-fenetre a { display: flex; padding: 7px 13px; justify-content: space-between; gap: 5px; align-items: center; min-height: 51px; background: var(--surface); }
.menu-fenetre a:hover { color: var(--ambre); background: #231a11; }
.menu-fenetre .ico { width: 15px; height: 15px; color: var(--ambre); }

.progression-devis { list-style: none; margin: 19px 0; padding: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; font-size: .79rem; }
.progression-devis li { border-top: 2px solid #635647; padding-top: 6px; color: var(--muet); }
.progression-devis [aria-current] { border-color: var(--ambre); color: var(--ambre); }
.devis fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 13px; }
.devis legend { padding: 0; font-size: 1.1rem; font-weight: 720; margin-bottom: 12px; }
.erreur { color: #ffb1a3; font-size: .86rem; }
.erreur:empty { display: none; }
.devis-statut { margin: 13px 0 0; }
[aria-invalid="true"] { border-color: #ffb1a3 !important; }
.fenetre-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.recapitulatif { display: grid; grid-template-columns: minmax(75px, 1fr) minmax(0, 2fr); gap: 6px 12px; }
.recapitulatif dt { color: var(--muet); }
.recapitulatif dd { white-space: pre-wrap; overflow-wrap: anywhere; }
.confirmation { margin-top: 23px; border-left: 2px solid var(--ambre); padding: 13px clamp(11px,3vw,20px); background: #251c12; }
.confirmation > p:first-child { font-weight: 700; }
.confirmation p + p { margin-top: 8px; }
.confirmation > .bouton { margin-top: 14px; }

.mois-entete { display: flex; justify-content: space-between; align-items: center; gap: 9px; margin-top: 16px; }
.mois-entete strong { text-transform: capitalize; }
.mois-entete button, .calendrier button, .heures button { min-height: 44px; min-width: 44px; text-align: center; border: 1px solid var(--ligne); }
.mois-entete button:not(:disabled):hover, .calendrier button:not(:disabled):hover, .heures button:hover,
.calendrier button[aria-pressed="true"], .heures button[aria-pressed="true"] { background: #322315; border-color: var(--ambre-sombre); color: var(--ambre); }
.calendrier { display: grid; grid-template-columns: repeat(7, minmax(44px, 1fr)); gap: 2px; }
.semaine { color: var(--muet); font-size: .77rem; text-align: center; padding: 10px 0 4px; }
.calendrier button[aria-current] { text-decoration: underline; text-underline-offset: 3px; }
.agenda-statut { margin: 12px 0 6px; }
.heures { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 13px; }
.heures button { padding: 4px 9px; }

@media (max-width: 760px) {
  #fenetre[data-type="menu"] { inset: var(--bandeau-mesure) 0 0; margin: 0; width: 100%; max-height: none; height: calc(100dvh - var(--bandeau-mesure)); }
  #fenetre[data-type="menu"] .fenetre-coque { min-height: 100%; max-height: 100%; border: 0; padding-block-end: env(safe-area-inset-bottom); }
  .menu-fenetre { grid-template-columns: 1fr; }
  .menu-fenetre a { min-height: 46px; }
}
@media (max-width: 382px) {
  #fenetre:has(.agenda-choix) #fenetre-contenu { padding-inline: 8px; }
}
.etincelle { position: fixed; pointer-events: none; z-index: 21; inset: 0 auto auto 0; width: 0; height: 0; }
.etincelle i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #ffe2ac; box-shadow: 0 0 7px #ffbb71; }
.galerie.epinglage { scroll-snap-type: none; }





