/* ==========================================================================
   SOLUEXCAVE — feuille de style principale
   Palette (plan ChatGPT « Salut et projet ») : charbon #20252A, gris #D5D8D8,
   orange chantier #E6A126, blanc. Polices système uniquement (aucun CDN).
   Mobile d'abord. Respecte prefers-reduced-motion.
   ========================================================================== */
:root {
  --charbon: #20252a;
  --charbon-nuit: #171b1f;
  --charbon-doux: #30373d;
  --acier: #4a535b;
  --gris: #d5d8d8;
  --gris-texte: #5c6368;
  --orange: #e6a126;
  --orange-fonce: #c9861a;
  --orange-clair: #ffd27a;
  --blanc: #ffffff;
  --fond: #f4f3ef;
  --max: 1200px;
  --rayon: 14px;
  --rayon-sm: 8px;
  --ombre: 0 18px 40px -18px rgba(23, 27, 31, .45);
  --titre: "Arial Black", "Helvetica Neue", "Segoe UI Black", Impact, system-ui, sans-serif;
  --texte: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --entete-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--entete-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--texte);
  font-size: 1.0625rem;
  color: var(--charbon);
  background: var(--fond);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { color: var(--orange-fonce); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange); color: var(--charbon); }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.visuellement-cache {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.lien-evitement {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--orange); color: var(--charbon); padding: .6rem 1rem; border-radius: var(--rayon-sm);
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.lien-evitement:focus { top: 1rem; }

/* ---------- Bandeau DEV ---------- */
.bandeau-dev {
  background: repeating-linear-gradient(-45deg, var(--orange) 0 14px, #f0b648 14px 28px);
  color: var(--charbon); font-size: .8rem; font-weight: 700; text-align: center; padding: .35rem 1rem;
}

/* ---------- Typographie ---------- */
h1, h2, h3, .titre {
  font-family: var(--titre);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.3rem, 7vw, 5.2rem); }
h2 { font-size: clamp(1.8rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); letter-spacing: 0; }
p { margin: 0 0 1em; }
.surtitre {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--texte); font-weight: 800; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange-fonce); margin: 0 0 1rem;
}
.surtitre::before { content: ""; width: 2.2rem; height: 3px; background: currentColor; }
.sombre .surtitre, .acier .surtitre, .nuit .surtitre, .heros .surtitre { color: var(--orange); }
.accent { color: var(--orange); }
.chapo { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--gris-texte); max-width: 46rem; }
.sombre .chapo, .acier .chapo, .nuit .chapo { color: var(--gris); }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--orange); --fg: var(--charbon);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.4rem;
  background: var(--bg); color: var(--fg);
  border: 2px solid var(--bg); border-radius: 999px;
  font: 800 .95rem/1 var(--texte); letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(230, 161, 38, .8); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-contour { --bg: transparent; --fg: var(--blanc); border-color: rgba(255, 255, 255, .7); }
.btn-contour:hover { --bg: var(--blanc); --fg: var(--charbon); border-color: var(--blanc); box-shadow: none; }
.btn-sombre { --bg: var(--charbon); --fg: var(--blanc); }
.btn-sombre:hover { --fg: var(--orange); box-shadow: none; }
.btn-bloc { width: 100%; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(23, 27, 31, .82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--blanc); border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background .3s ease, box-shadow .3s ease;
}
.entete.defile { background: rgba(23, 27, 31, .96); box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .7); }
.entete-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--entete-h); }
.marque { display: inline-flex; align-items: center; gap: .7rem; color: var(--blanc); text-decoration: none; margin-right: auto; }
.marque:hover { color: var(--blanc); }
.marque img { width: 40px; height: 40px; }
.marque-texte { display: flex; flex-direction: column; line-height: 1; }
.marque-nom { font-family: var(--titre); font-weight: 900; font-size: 1.2rem; letter-spacing: .04em; }
.marque-nom b { color: var(--orange); font-weight: 900; }
.marque-tag { font-size: .62rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gris); margin-top: .3rem; }

.nav-bascule {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2);
  background: transparent; color: var(--blanc); cursor: pointer;
}
.nav-bascule span, .nav-bascule span::before, .nav-bascule span::after {
  display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .25s, background .25s;
}
.nav-bascule span::before, .nav-bascule span::after { content: ""; position: absolute; left: 0; }
.nav-bascule span::before { top: -7px; }
.nav-bascule span::after { top: 7px; }
.nav-ouverte .nav-bascule span { background: transparent; }
.nav-ouverte .nav-bascule span::before { transform: translateY(7px) rotate(45deg); }
.nav-ouverte .nav-bascule span::after { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: fixed; inset: var(--entete-h) 0 auto 0;
  background: var(--charbon-nuit); padding: 1rem 1.25rem 1.5rem;
  display: grid; gap: .25rem;
  transform: translateY(-120%); visibility: hidden; transition: transform .3s ease, visibility .3s;
  border-bottom: 3px solid var(--orange); max-height: calc(100vh - var(--entete-h)); overflow-y: auto;
}
.nav-ouverte .nav { transform: none; visibility: visible; }
.nav a {
  color: var(--blanc); text-decoration: none; font-weight: 700; padding: .85rem .5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .07); letter-spacing: .02em;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--orange); }
.nav .btn { margin-top: .75rem; border-bottom: 0; }
.entete-appel { display: none; }

@media (min-width: 1080px) {
  .nav-bascule { display: none; }
  .nav {
    position: static; transform: none; visibility: visible; background: none; padding: 0; border: 0;
    display: flex; align-items: center; gap: .15rem; max-height: none; overflow: visible;
  }
  .nav a { border: 0; padding: .5rem .7rem; font-size: .92rem; position: relative; }
  .nav a::after {
    content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .2rem; height: 2px;
    background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s;
  }
  .nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
  .nav .btn { margin: 0 0 0 .5rem; padding: .7rem 1.1rem; min-height: 44px; }
  .nav .btn::after { display: none; }
  .entete-appel { display: inline-flex; }
}

/* ---------- Héros ---------- */
.heros {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100svh - var(--entete-h)); display: grid; align-items: center;
  background: var(--charbon-nuit); color: var(--blanc);
  padding: 4rem 0 5rem;
}
/* <picture> transparent pour la mise en page : les règles visent directement <img> */
picture { display: contents; }
.heros-visuel { position: absolute; inset: 0; z-index: -2; }
.heros-visuel img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; animation: kenburns 22s ease-in-out infinite alternate; }
.heros::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 18, 21, .95) 0%, rgba(15, 18, 21, .78) 45%, rgba(15, 18, 21, .15) 100%),
    linear-gradient(0deg, rgba(15, 18, 21, .9) 0%, transparent 35%);
}
.heros-contenu { max-width: 46rem; }
.heros h1 { margin-bottom: .35em; text-shadow: 0 6px 30px rgba(0, 0, 0, .4); }
.heros h1 .ligne { display: block; }
.heros .chapo { color: #e4e6e6; margin-bottom: 2rem; }
.pastille {
  display: inline-block; background: rgba(230, 161, 38, .15); color: var(--orange);
  border: 1px solid rgba(230, 161, 38, .5); border-radius: 999px;
  padding: .4rem .9rem; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.4rem;
}
.heros-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.heros-slogan { margin-top: 2.2rem; font-style: italic; color: var(--gris); border-left: 3px solid var(--orange); padding-left: 1rem; max-width: 30rem; }
.defiler {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 20px;
}
.defiler::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px;
  background: var(--orange); border-radius: 2px; animation: molette 1.8s ease-in-out infinite;
}
.heros-court { min-height: auto; padding: 5rem 0 4rem; }
.heros-court h1 { font-size: clamp(2.1rem, 6vw, 4.2rem); }
.fil { font-size: .85rem; color: var(--gris); margin-bottom: 1.2rem; }
.fil a { color: var(--gris); }
.fil a:hover { color: var(--orange); }

/* Bande de services défilante */
.bande {
  background: var(--orange); color: var(--charbon); overflow: hidden; white-space: nowrap;
  font-family: var(--titre); text-transform: uppercase; font-size: clamp(1rem, 2.2vw, 1.4rem);
  padding: .9rem 0; border-block: 3px solid var(--charbon);
}
.bande-piste { display: inline-flex; gap: 2.5rem; animation: bande 30s linear infinite; padding-left: 2.5rem; }
.bande-piste span { display: inline-flex; align-items: center; gap: 2.5rem; }
.bande-piste span::after { content: "◆"; font-size: .7em; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section-tete { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 900px) { .section-tete.deux { grid-template-columns: 1.1fr .9fr; align-items: end; } }
.sombre { background: var(--charbon); color: var(--blanc); }
.sombre a:not(.btn), .acier a:not(.btn), .nuit a:not(.btn) { color: var(--orange); }
.faq a { color: var(--orange-fonce); }
.nuit { background: var(--charbon-nuit); color: var(--blanc); }
.acier { background: var(--charbon-doux); color: var(--blanc); }
.texture { background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 22px 22px; }
.rayures-haut { border-top: 10px solid transparent; border-image: repeating-linear-gradient(-45deg, var(--orange) 0 16px, var(--charbon-nuit) 16px 32px) 10; }

/* Cartes de services */
.grille-services { display: grid; gap: 1.25rem; grid-template-columns: 1fr; padding: 0; margin: 0; list-style: none; }
@media (min-width: 640px) { .grille-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grille-services { grid-template-columns: repeat(3, 1fr); } }
.carte-service {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--charbon-doux); color: var(--blanc); border-radius: var(--rayon);
  box-shadow: var(--ombre); text-decoration: none; transition: transform .35s ease, box-shadow .35s ease;
}
.carte-service:hover { color: var(--blanc); transform: translateY(-8px); box-shadow: 0 30px 50px -22px rgba(0, 0, 0, .7); }
.carte-service figure { margin: 0; aspect-ratio: 5 / 4; overflow: hidden; }
.carte-service figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.carte-service:hover figure img { transform: scale(1.07); }
.carte-service .corps { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.carte-service .num { font-family: var(--titre); color: var(--orange); font-size: .9rem; letter-spacing: .1em; }
.carte-service h3 { margin: 0; }
.carte-service p { color: var(--gris); margin: 0; font-size: .98rem; }
.carte-service .plus { margin-top: auto; padding-top: .8rem; font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); display: inline-flex; gap: .4rem; align-items: center; }
.carte-service .plus svg { width: 1em; height: 1em; transition: transform .25s; }
.carte-service:hover .plus svg { transform: translateX(5px); }

/* Bloc deux colonnes */
.duo { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; } .duo.inverse > :first-child { order: 2; } }
.cadre-visuel { position: relative; border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); }
.cadre-visuel::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 8px;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 12px, var(--charbon-nuit) 12px 24px);
}
.cadre-visuel img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.etiquette-visuel {
  position: absolute; left: 1rem; top: 1rem; background: rgba(23, 27, 31, .85); color: var(--blanc);
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; padding: .35rem .7rem; border-radius: 999px;
}

/* Listes à coches */
.coches { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .75rem; }
.coches li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .7rem; align-items: start; font-weight: 600; }
.coches li::before {
  content: ""; width: 1.6rem; height: 1.6rem; border-radius: 50%; margin-top: .05rem;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2320252A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.coches.deux-col { grid-template-columns: 1fr; }
@media (min-width: 640px) { .coches.deux-col { grid-template-columns: 1fr 1fr; } }

/* Atouts / valeurs */
.atouts { display: grid; gap: 1.25rem; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 700px) { .atouts { grid-template-columns: repeat(3, 1fr); } }
.atout {
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--rayon);
  padding: 1.8rem 1.5rem; transition: border-color .3s, transform .3s;
}
.atout:hover { border-color: var(--orange); transform: translateY(-4px); }
.atout svg { width: 44px; height: 44px; color: var(--orange); margin-bottom: 1rem; }
.atout h3 { margin-bottom: .4rem; }
.atout p { color: var(--gris); margin: 0; }
.clair .atout { background: var(--blanc); border-color: #e3e1db; box-shadow: 0 10px 30px -22px rgba(0, 0, 0, .4); }
.clair .atout p { color: var(--gris-texte); }

/* Étapes du processus */
.etapes { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: etape; }
@media (min-width: 900px) { .etapes.horizontal { grid-template-columns: repeat(5, 1fr); } }
.etape {
  counter-increment: etape; position: relative; padding: 1.5rem 1.4rem 1.6rem; border-radius: var(--rayon);
  background: var(--blanc); border-top: 5px solid var(--orange); box-shadow: 0 14px 30px -24px rgba(0, 0, 0, .5);
}
.sombre .etape, .nuit .etape { background: var(--charbon-doux); }
.acier .etape { background: var(--charbon); }
.etape::before {
  content: counter(etape, decimal-leading-zero); display: block; font-family: var(--titre);
  font-size: 2.4rem; line-height: 1; color: var(--orange); margin-bottom: .7rem;
}
.etape h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.etape p { margin: 0; font-size: .96rem; color: var(--gris-texte); }
.sombre .etape p, .nuit .etape p, .acier .etape p { color: var(--gris); }

/* Galerie / réalisations */
.filtres { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filtre {
  font: 700 .88rem/1 var(--texte); padding: .7rem 1.1rem; min-height: 44px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--charbon); background: transparent; color: var(--charbon); transition: background .2s, color .2s;
}
.filtre[aria-pressed="true"], .filtre:hover { background: var(--charbon); color: var(--orange); }
.galerie { display: grid; gap: 1.25rem; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .galerie { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .galerie { grid-template-columns: repeat(3, 1fr); } }
.galerie li[hidden] { display: none; }
.projet {
  all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; position: relative;
  border-radius: var(--rayon); overflow: hidden; background: var(--charbon); color: var(--blanc); box-shadow: var(--ombre);
}
.projet:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.projet img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: transform .6s ease, opacity .3s; }
.projet:hover img { transform: scale(1.06); opacity: .75; }
.projet .legende {
  position: absolute; inset: auto 0 0 0; padding: 3rem 1.2rem 1.1rem;
  background: linear-gradient(0deg, rgba(15, 18, 21, .95), transparent);
}
.projet .legende strong { display: block; font-family: var(--titre); text-transform: uppercase; font-size: 1.05rem; }
.projet .legende span { font-size: .85rem; color: var(--gris); }
.projet .badge {
  position: absolute; top: .9rem; left: .9rem; background: var(--orange); color: var(--charbon);
  font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .65rem; border-radius: 999px;
}
.projet .badge-exemple { left: auto; right: .9rem; background: rgba(255, 255, 255, .9); }

/* Avant / après */
.comparateur {
  --pos: 50%; position: relative; border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre);
  aspect-ratio: 5 / 4; background: var(--charbon); user-select: none; touch-action: pan-y;
}
.comparateur img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.comparateur .apres { clip-path: inset(0 0 0 var(--pos)); }
.comparateur .poignee { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--orange); pointer-events: none; }
.comparateur .poignee::after {
  content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: var(--charbon);
  display: grid; place-items: center; font-size: 1.4rem; font-weight: 900; box-shadow: 0 6px 20px rgba(0, 0, 0, .4);
}
.comparateur input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.comparateur .tag { position: absolute; top: 1rem; padding: .35rem .8rem; border-radius: 999px; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; background: rgba(23, 27, 31, .85); color: var(--blanc); pointer-events: none; }
.comparateur .tag-avant { left: 1rem; }
.comparateur .tag-apres { right: 1rem; background: var(--orange); color: var(--charbon); }

/* Fenêtre de détail (lightbox) */
dialog.visionneuse {
  border: 0; padding: 0; border-radius: var(--rayon); width: min(960px, 94vw); max-height: 92vh;
  background: var(--charbon); color: var(--blanc); box-shadow: 0 40px 80px rgba(0, 0, 0, .6);
}
dialog.visionneuse::backdrop { background: rgba(10, 12, 14, .82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.visionneuse-grille { display: grid; }
@media (min-width: 800px) { .visionneuse-grille { grid-template-columns: 1.3fr 1fr; } }
.visionneuse img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5 / 4; }
.visionneuse .details { padding: 1.6rem; overflow-y: auto; }
.visionneuse dl { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; margin: 1rem 0; font-size: .95rem; }
.visionneuse dt { color: var(--orange); font-weight: 700; }
.visionneuse dd { margin: 0; color: var(--gris); }
.fermer {
  position: absolute; top: .7rem; right: .7rem; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(23, 27, 31, .9); color: var(--blanc); font-size: 1.5rem; cursor: pointer; z-index: 2;
}
.fermer:hover { background: var(--orange); color: var(--charbon); }

/* Avis clients */
.avis-grille { display: grid; gap: 1.25rem; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 800px) { .avis-grille { grid-template-columns: repeat(3, 1fr); } }
.avis {
  position: relative; background: var(--blanc); border-radius: var(--rayon); padding: 2rem 1.6rem 1.6rem;
  box-shadow: 0 16px 36px -26px rgba(0, 0, 0, .55); border: 1px dashed #c9c5bb;
}
.avis::before { content: "“"; position: absolute; top: -.6rem; left: 1.2rem; font: 900 5rem/1 Georgia, serif; color: var(--orange); }
.avis .etoiles { color: var(--orange); letter-spacing: .15em; font-size: 1.05rem; margin-bottom: .6rem; }
.avis blockquote { margin: 0 0 1rem; font-size: 1.02rem; }
.avis footer { font-size: .88rem; color: var(--gris-texte); font-weight: 600; }
.mention-exemple {
  display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  background: #fff1d6; color: #7a4f00; padding: .2rem .55rem; border-radius: 999px; margin-bottom: .6rem;
}

/* Bandeau appel à l'action */
.cta {
  position: relative; overflow: hidden; isolation: isolate; border-radius: calc(var(--rayon) * 1.4);
  background: var(--orange); color: var(--charbon); padding: clamp(2.2rem, 6vw, 4rem);
  display: grid; gap: 1.5rem; align-items: center;
}
@media (min-width: 900px) { .cta { grid-template-columns: 1.4fr auto; } }
.cta::before {
  content: ""; position: absolute; right: -8%; top: -40%; width: 55%; aspect-ratio: 1; z-index: -1;
  background: repeating-linear-gradient(-45deg, rgba(32, 37, 42, .1) 0 18px, transparent 18px 36px); border-radius: 50%;
}
.cta h2 { margin-bottom: .3em; }
.cta p { margin: 0; font-size: 1.1rem; font-weight: 600; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.cta .btn-contour { --fg: var(--charbon); border-color: var(--charbon); }
.cta .btn-contour:hover { --bg: var(--charbon); --fg: var(--orange); }

/* ---------- Formulaire « rappelez-nous » ---------- */
.formulaire-zone { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 1000px) { .formulaire-zone { grid-template-columns: .85fr 1.15fr; } }
.formulaire {
  background: var(--blanc); border-radius: calc(var(--rayon) * 1.2); padding: clamp(1.4rem, 4vw, 2.6rem);
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .55); border-top: 6px solid var(--orange); color: var(--charbon);
}
.formulaire h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.champs { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .champs { grid-template-columns: 1fr 1fr; } .champ.large { grid-column: 1 / -1; } }
.champ { display: grid; gap: .4rem; }
.champ label, .champ legend { font-weight: 700; font-size: .95rem; }
.champ .requis { color: #b3261e; }
.champ input, .champ select, .champ textarea {
  font: inherit; width: 100%; min-height: 48px; padding: .7rem .9rem; color: var(--charbon);
  border: 2px solid #cfd3d3; border-radius: var(--rayon-sm); background: #fbfbfa; transition: border-color .2s, box-shadow .2s;
}
.champ textarea { min-height: 9rem; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(230, 161, 38, .25); background: var(--blanc); }
.champ [aria-invalid="true"] { border-color: #b3261e; }
.champ .aide { font-size: .82rem; color: var(--gris-texte); }
.champ .erreur { font-size: .85rem; color: #b3261e; font-weight: 600; min-height: 0; }
.champ .erreur:empty { display: none; }
fieldset.champ { border: 0; padding: 0; margin: 0; min-width: 0; }
.choix { display: flex; flex-wrap: wrap; gap: .5rem; }
.choix label {
  display: inline-flex; align-items: center; gap: .5rem; padding: .6rem .9rem; min-height: 44px; border: 2px solid #cfd3d3; border-radius: 999px;
  font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s;
}
.choix input { width: 1.1rem; height: 1.1rem; min-height: 0; accent-color: var(--orange-fonce); margin: 0; }
.choix label:has(input:checked) { border-color: var(--orange); background: #fff6e3; }
.consentement { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; font-weight: 500; font-size: .92rem; }
.consentement input { width: 1.3rem; height: 1.3rem; min-height: 0; margin-top: .15rem; accent-color: var(--orange-fonce); }
.televersement {
  border: 2px dashed #cfd3d3; border-radius: var(--rayon-sm); padding: 1.1rem; text-align: center; color: var(--gris-texte); font-size: .9rem; background: #fafaf8;
}
.televersement svg { width: 34px; height: 34px; margin: 0 auto .4rem; color: var(--acier); }
.avis-demo {
  margin-top: 1.2rem; font-size: .85rem; background: #f1f2f2; border-left: 4px solid var(--acier); padding: .7rem .9rem; border-radius: 4px; color: var(--gris-texte);
}
.message-merci {
  display: grid; gap: .5rem; padding: 1.4rem; border-radius: var(--rayon-sm); margin-top: 1.2rem;
  background: #eaf6ea; border: 2px solid #3f8f46; color: #1d4d22; font-weight: 600;
}
.message-merci[hidden] { display: none; }
.message-merci strong { font-size: 1.1rem; }

/* Coordonnées */
.coordonnees { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.coordonnees li { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; align-items: center; }
.coordonnees .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--orange); color: var(--charbon);
}
.coordonnees .ico svg { width: 26px; height: 26px; }
.coordonnees small { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }
.clair .coordonnees small { color: var(--gris-texte); }
.a-confirmer { background: #fff1d6; color: #7a4f00; padding: .05rem .4rem; border-radius: 4px; font-weight: 700; font-size: .92em; }

/* Carte Google Maps (chargée sur demande) */
.carte {
  position: relative; border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); aspect-ratio: 4 / 3; min-height: 300px;
  background: var(--charbon-doux) url("../images/illustrations/carte-fond.svg") center / cover no-repeat; color: var(--blanc);
}
.carte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.carte-facade { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: .9rem; padding: 1.5rem; background: rgba(23, 27, 31, .55); }
.carte-facade p { margin: 0; font-size: .9rem; color: var(--gris); max-width: 28rem; }

/* FAQ */
.faq { display: grid; gap: .8rem; }
.faq details { background: var(--blanc); border-radius: var(--rayon-sm); border: 1px solid #e3e1db; }
.faq summary {
  cursor: pointer; padding: 1.1rem 1.2rem; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--orange-fonce); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.2rem 1.2rem; margin: 0; color: var(--gris-texte); }

/* Note provisoire */
.note-provisoire {
  background: #fff6e5; border-left: 4px solid var(--orange); padding: .8rem 1rem; border-radius: 4px; font-size: .9rem; color: var(--charbon);
}
.sombre .note-provisoire, .nuit .note-provisoire, .acier .note-provisoire { background: rgba(230, 161, 38, .1); color: var(--gris); }

/* ---------- Pied de page ---------- */
.pied { background: var(--charbon-nuit); color: var(--gris); padding: 4rem 0 6.5rem; font-size: .95rem; }
@media (min-width: 1080px) { .pied { padding-bottom: 2rem; } }
.pied-grille { display: grid; gap: 2.2rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .pied-grille { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.pied h2 { font-size: .85rem; letter-spacing: .14em; color: var(--blanc); margin-bottom: 1rem; font-family: var(--texte); font-weight: 800; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.pied a { color: var(--gris); text-decoration: none; }
.pied a:hover { color: var(--orange); }
.pied-slogan { font-style: italic; margin-top: 1rem; }
.pied-bas { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 3rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .82rem; }

/* Barre d'action mobile (appel + soumission) */
.barre-mobile {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr;
  gap: .5rem; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(23, 27, 31, .96);
  border-top: 2px solid var(--orange);
}
.barre-mobile .btn { min-height: 50px; font-size: .85rem; padding: .7rem .6rem; }
@media (min-width: 1080px) { .barre-mobile { display: none; } }
.bouton-appel-flottant { display: none; }
@media (min-width: 1080px) {
  .bouton-appel-flottant {
    display: inline-flex; position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 60; width: 62px; height: 62px; border-radius: 50%;
    align-items: center; justify-content: center; background: var(--orange); color: var(--charbon); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .6);
    animation: pulse 2.6s ease-out infinite;
  }
  .bouton-appel-flottant svg { width: 28px; height: 28px; }
  .bouton-appel-flottant:hover { color: var(--charbon); transform: scale(1.06); }
}

/* ---------- Apparition au défilement ---------- */
.js .revele { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .revele.vu { opacity: 1; transform: none; }
.js .revele[data-delai="1"] { transition-delay: .1s; }
.js .revele[data-delai="2"] { transition-delay: .2s; }
.js .revele[data-delai="3"] { transition-delay: .3s; }
.js .revele[data-delai="4"] { transition-delay: .4s; }

@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
@keyframes molette { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes bande { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(230, 161, 38, .6); } 70% { box-shadow: 0 0 0 18px rgba(230, 161, 38, 0); } 100% { box-shadow: 0 0 0 0 rgba(230, 161, 38, 0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .revele { opacity: 1; transform: none; }
}

@media print {
  .entete, .barre-mobile, .bouton-appel-flottant, .bandeau-dev, .bande { display: none !important; }
  body { background: #fff; }
}
