/* =========================================================
   BND Atelier — Camayenne, Conakry
   Palette tirée des trois métiers : braise / aluminium / acier
   ========================================================= */

:root {
  --nuit: #0d0b0a;
  --noir: #141210;
  --charbon: #1c1815;
  --fumee: #241f1b;
  --craie: #f2ede6;
  --sable: #a2968a;
  --ligne: rgba(242, 237, 230, 0.12);

  /* plâtre chaud — la moitié claire du thème, volontairement pas un crème générique */
  --platre-100: #fbf7ef;
  --platre-200: #efe6d6;
  --platre-300: #e2d4b9;
  --encre: #241f1a;
  --umbre: #6b5d49;
  --ligne-clair: rgba(36, 31, 26, 0.14);

  --braise: #e2571f;
  --alu: #7fa8c4;
  --acier: #d9a441;

  --accent: var(--braise);
  --accent-grad: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 65%, black));

  /* jetons sémantiques — chaque section choisit sombre (défaut) ou .clair */
  --bg: var(--noir);
  --surface: var(--charbon);
  --surface-2: var(--fumee);
  --text: var(--craie);
  --text-muted: var(--sable);
  --hairline: var(--ligne);

  --display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --corps: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --marge: clamp(20px, 5vw, 72px);
  --max: 1240px;
  --r: 3px;
}

/* section claire — même famille de couleurs, jamais le crème générique */
.clair {
  --bg: var(--platre-200);
  --surface: var(--platre-100);
  --surface-2: var(--platre-300);
  --text: var(--encre);
  --text-muted: var(--umbre);
  --hairline: var(--ligne-clair);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--corps);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.4s ease;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

::selection { background: var(--braise); color: #fff; }

:focus-visible {
  outline: 2px solid var(--acier);
  outline-offset: 3px;
  border-radius: var(--r);
}

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--marge); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--craie); color: var(--noir); padding: 12px 18px;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------------------------------------------------- typographie utilitaire */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
}
.eyebrow::after { content: ""; height: 1px; flex: 1; background: var(--hairline); }

.titre-section {
  font-size: clamp(2.3rem, 6.5vw, 4.2rem);
  max-width: 16ch;
  margin-bottom: 14px;
}
.chapeau { color: var(--text-muted); max-width: 56ch; font-size: 1.02rem; }

/* ------------------------------------------------------------------ en-tête */
.entete {
  position: sticky; top: 0; z-index: 90;
  background: rgba(20, 18, 16, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--ligne);
}
.entete-in {
  display: flex; align-items: center; gap: 18px;
  min-height: 68px;
}
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.marque img { width: 38px; height: 38px; border-radius: 50%; }
.marque-txt { display: flex; flex-direction: column; line-height: 1.15; }
.marque-nom { font-family: var(--display); font-size: 1.18rem; letter-spacing: 0.01em; }
.marque-lieu { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sable); }

.nav-desktop { display: none; gap: 26px; }
.nav-desktop a {
  font-size: 0.86rem; text-decoration: none; color: var(--sable);
  padding: 6px 0; position: relative; transition: color 0.25s;
}
.nav-desktop a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--accent); transition: width 0.3s;
}
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { color: var(--craie); }
.nav-desktop a:hover::after, .nav-desktop a[aria-current="page"]::after { width: 100%; }

.entete-actions { display: flex; align-items: center; gap: 10px; }

.icone-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: none; border-radius: 999px; background: rgba(242, 237, 230, 0.1);
  color: var(--craie); text-decoration: none; transition: background 0.25s, transform 0.2s;
}
.icone-btn:hover { background: rgba(242, 237, 230, 0.18); }
.icone-btn:active { transform: scale(0.94); }
.icone-btn svg { width: 17px; height: 17px; }
.icone-btn--accent { background: var(--accent-grad, var(--accent)); color: #1a1210; }
.icone-btn--accent:hover { background: var(--accent-grad, var(--accent)); filter: brightness(1.08); }

.burger {
  width: 40px; height: 40px; border: 1px solid var(--ligne); border-radius: 999px;
  background: none; color: var(--craie); display: grid; place-items: center; cursor: pointer;
}
.burger span { display: block; width: 15px; height: 1.5px; background: currentColor; position: relative; transition: transform 0.3s; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 15px; height: 1.5px; background: currentColor; transition: transform 0.3s, opacity 0.2s;
}
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }
body.menu-ouvert .burger span { transform: rotate(45deg); }
body.menu-ouvert .burger span::before { transform: translateY(5px) rotate(-90deg); }
body.menu-ouvert .burger span::after { opacity: 0; }

/* menu plein écran (mobile) */
.nav-mobile {
  position: fixed; inset: 68px 0 0; z-index: 89;
  background: var(--noir);
  padding: 28px var(--marge) 40px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  overflow-y: auto;
}
body.menu-ouvert .nav-mobile { opacity: 1; transform: none; pointer-events: auto; }
.nav-mobile a {
  font-family: var(--display); font-size: 2.1rem; text-decoration: none;
  padding: 14px 0; border-bottom: 1px solid var(--ligne);
  display: flex; align-items: baseline; gap: 14px;
}
.nav-mobile a .n { font-family: var(--mono); font-size: 11px; color: var(--sable); }
.nav-mobile .nav-pied { margin-top: auto; padding-top: 28px; color: var(--sable); font-size: 0.9rem; }

/* -------------------------------------------------------------- statut live */
.statut {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sable);
}
.pastille {
  width: 7px; height: 7px; border-radius: 50%; background: var(--sable);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
}
.statut.ouvert .pastille { background: #55c47a; animation: pulse 2.6s infinite; }
.statut.ouvert { color: #8ddba6; }
.statut.ferme .pastille { background: #b4483b; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(85, 196, 122, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(85, 196, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(85, 196, 122, 0); }
}

/* ---------------------------------------------------------------- boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; text-decoration: none;
  font-size: 0.92rem; font-weight: 500; letter-spacing: 0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s ease, background 0.25s, border-color 0.25s, color 0.25s;
}
.btn:active { transform: translateY(1px); }
.btn-plein { background: var(--accent-grad); color: #1a1210; font-weight: 700; box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-plein:hover { filter: brightness(1.06); }
.btn-vide { border-color: var(--ligne); color: var(--craie); }
.btn-vide:hover { border-color: var(--craie); background: rgba(242, 237, 230, 0.06); }

.btn-icone {
  width: 52px; height: 52px; flex-shrink: 0; padding: 0;
  border-radius: 999px; border: none; background: rgba(242, 237, 230, 0.1);
  color: var(--craie); display: inline-grid; place-items: center; cursor: pointer;
  text-decoration: none; transition: background 0.25s, transform 0.2s;
}
.btn-icone:hover { background: rgba(242, 237, 230, 0.18); }
.btn-icone:active { transform: scale(0.94); }
.btn-icone svg { width: 19px; height: 19px; }

/* badge « ouvert » — grand format pour le héros */
.badge-ouvert {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--corps); font-size: 0.85rem; font-weight: 600;
  padding: 9px 18px; border-radius: 999px;
  border: 1.5px solid var(--accent); color: var(--accent);
  margin-bottom: 18px;
}
.badge-ouvert.ferme { border-color: var(--sable); color: var(--sable); }
.btn svg { width: 16px; height: 16px; }

/* ------------------------------------------------------------------- héros */
.hero { position: relative; min-height: min(72svh, 620px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 72%; transform: scale(1.04); }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--noir) 4%, rgba(20, 18, 16, 0.72) 42%, rgba(20, 18, 16, 0.3) 100%);
}
.hero-in { position: relative; padding-block: 72px 64px; width: 100%; }
.hero h1 { font-size: clamp(2.6rem, 9vw, 5.6rem); max-width: 14ch; margin-bottom: 18px; }
.hero--punch h1 { font-family: var(--corps); font-weight: 800; letter-spacing: -0.02em; font-size: clamp(2.5rem, 10vw, 4.6rem); }
.hero p { color: #d8cec3; max-width: 48ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-actions .btn-plein { flex: 1 1 auto; }

/* -------------------------------------------------------------- sections */
.section { padding-block: clamp(64px, 10vw, 128px); background: var(--bg); color: var(--text); }
.section--ligne { border-top: 1px solid var(--hairline); }

/* les trois univers */
.univers { display: grid; gap: 14px; }
.carte-univers {
  position: relative; display: block; text-decoration: none;
  min-height: 300px; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--ligne);
  isolation: isolate;
}
.carte-univers img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.carte-univers::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(13, 11, 10, 0.94) 8%, rgba(13, 11, 10, 0.35) 60%, rgba(13, 11, 10, 0.1) 100%);
}
.carte-univers:hover img { transform: scale(1.06); }
.carte-univers .contenu { position: absolute; inset: auto 0 0 0; padding: 26px 24px; }
.carte-univers .n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--u, var(--braise)); }
.carte-univers h3 { font-size: 2rem; margin: 6px 0 4px; }
.carte-univers .st { color: var(--sable); font-size: 0.9rem; }
.carte-univers .tx { color: #cfc5ba; font-size: 0.92rem; margin-top: 10px; max-width: 42ch; }
.carte-univers .fleche {
  position: absolute; top: 20px; right: 20px; width: 42px; height: 42px;
  background: var(--u, var(--braise)); color: #1a1210; border: none; border-radius: 999px; display: grid; place-items: center;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s;
}
.carte-univers:hover .fleche { transform: rotate(-45deg) scale(1.06); }

/* méthode */
.methode { display: grid; gap: 0; margin-top: 28px; }
.etape {
  display: grid; grid-template-columns: 58px 1fr; gap: 18px;
  padding: 26px 0; border-top: 1px solid var(--hairline);
}
.etape:last-child { border-bottom: 1px solid var(--hairline); }
.etape .n { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.12em; padding-top: 5px; }
.etape h3 { font-size: 1.5rem; margin-bottom: 6px; }
.etape p { color: var(--text-muted); font-size: 0.96rem; max-width: 52ch; }

/* chiffres */
.chiffres { display: grid; gap: 2px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--r); overflow: hidden; }
.chiffre { background: var(--surface); padding: 34px 26px; }
.chiffre .v { font-family: var(--display); font-size: clamp(3rem, 9vw, 4.6rem); line-height: 0.9; }
.chiffre .l { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin-top: 14px; }

/* avis */
.avis blockquote {
  margin: 0; padding: 30px 26px; border: 1px solid var(--hairline); border-radius: var(--r);
  background: var(--surface); display: flex; flex-direction: column; gap: 20px;
}
.avis q { font-family: var(--display); font-size: 1.3rem; line-height: 1.35; quotes: "«\00a0" "\00a0»"; }
.avis cite { font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-top: auto; }

/* menu / prestations */
.liste-prix { border-top: 1px solid var(--hairline); }
.ligne-prix {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 6px 18px;
  padding: 18px 0; border-bottom: 1px solid var(--hairline); align-items: center;
  text-decoration: none; color: inherit; transition: background 0.2s;
  margin-inline: -14px; padding-inline: 14px; border-radius: var(--r);
}
.ligne-prix:hover, .ligne-prix:focus-visible { background: var(--surface); }
.ligne-prix h3 { font-size: 1.35rem; }
.ligne-prix .prix { font-family: var(--mono); font-size: 0.95rem; color: var(--accent); white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; }
.ligne-prix .prix svg { opacity: 0.75; }
.ligne-prix p { grid-column: 2 / -1; color: var(--text-muted); font-size: 0.93rem; max-width: 60ch; }

.grille-presta { display: grid; gap: 2px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--r); overflow: hidden; }
.presta { background: var(--surface); padding: 24px 22px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; transition: background 0.2s; }
.presta:hover, .presta:focus-visible { background: var(--surface-2); }
.presta .ic { width: 56px; height: 56px; border-radius: var(--r); overflow: hidden; background: var(--bg); }
.presta .ic img { width: 100%; height: 100%; object-fit: cover; }
.presta h3 { font-size: 1.25rem; }
.presta p { color: var(--text-muted); font-size: 0.93rem; }
.presta .puce { width: 22px; height: 2px; background: var(--accent); }
.presta-cta {
  margin-top: auto; padding-top: 4px; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
}

/* réalisations */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filtre {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--hairline);
  background: none; color: var(--text-muted); cursor: pointer; transition: all 0.25s;
}
.filtre:hover { color: var(--text); border-color: var(--text); }
.filtre[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

.chantiers { display: grid; gap: 16px; }
.chantier { border: 1px solid var(--hairline); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.chantier .vis { aspect-ratio: 4 / 3; overflow: hidden; }
.chantier .vis img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.chantier:hover .vis img { transform: scale(1.05); }
.chantier .txt { padding: 22px 22px 26px; }
.chantier .meta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); display: flex; gap: 10px; flex-wrap: wrap; }
.chantier .meta .cat { color: var(--accent); }
.chantier h3 { font-size: 1.5rem; margin: 10px 0 8px; }
.chantier p { color: var(--text-muted); font-size: 0.93rem; }

/* atelier */
.duo { display: grid; gap: 32px; align-items: start; }
.duo .visuel { border: 1px solid var(--hairline); border-radius: var(--r); overflow: hidden; }
.reperes { display: grid; gap: 0; }
.repere { padding: 22px 0; border-top: 1px solid var(--hairline); }
.repere:last-child { border-bottom: 1px solid var(--hairline); }
.repere h3 { font-size: 1.25rem; margin-bottom: 6px; }
.repere p { color: var(--text-muted); font-size: 0.93rem; }

/* bandeau final */
.bandeau { border-top: 1px solid var(--ligne); padding-block: clamp(60px, 9vw, 110px); }
.bandeau h2 { font-size: clamp(2.2rem, 7vw, 4rem); max-width: 18ch; margin-bottom: 18px; }
.bandeau .infos { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sable); margin-bottom: 30px; line-height: 2; }
.bandeau .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------- pied */
.pied { border-top: 1px solid var(--ligne); padding-block: 44px 40px; background: var(--nuit); }
.pied-in { display: grid; gap: 28px; }
.pied nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pied nav a { font-size: 0.88rem; text-decoration: none; color: var(--sable); transition: color 0.2s; }
.pied nav a:hover { color: var(--craie); }
.pied-bas {
  display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.13em; text-transform: uppercase; color: #6d6259;
  border-top: 1px solid var(--ligne); padding-top: 20px;
}
.pied-bas a { text-decoration: none; }
.pied-bas a:hover { color: var(--sable); }

/* WhatsApp flottant */
.flottant {
  position: fixed; right: 16px; bottom: calc(70px + env(safe-area-inset-bottom, 0px)); z-index: 80;
  width: 54px; height: 54px; border-radius: 999px;
  background: #1fae54; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s, bottom 0.2s;
}
.flottant:hover { transform: scale(1.06); }
.flottant svg { width: 26px; height: 26px; }

/* ---------------------------------------------------- barre mobile (tabs) */
.barre-mobile {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
  display: flex;
  background: rgba(13, 11, 10, 0.92);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-top: 1px solid var(--ligne);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.barre-mobile a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 9px 2px 8px; text-decoration: none; color: var(--sable);
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.02em;
  transition: color 0.2s;
}
.barre-mobile a svg { width: 21px; height: 21px; transition: transform 0.2s; }
.barre-mobile a[aria-current="page"] { color: var(--craie); }
.barre-mobile a[aria-current="page"] svg { color: var(--accent); transform: translateY(-1px); }
body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }

/* ------------------------------------------------------ vignette produit */
.vignette {
  width: 64px; height: 64px; border-radius: var(--r); overflow: hidden;
  background: var(--bg); flex-shrink: 0;
}
.vignette img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------- tilt 3D léger */
.tilt { perspective: 900px; }
.tilt-in {
  height: 100%;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}
.presta.tilt { display: flex; }
.presta.tilt .tilt-in { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.tilt:hover .tilt-in, .tilt:focus-within .tilt-in { transition-duration: 0.12s; }
@media (prefers-reduced-motion: reduce) {
  .tilt-in { transform: none !important; transition: none; }
}

/* --------------------------------------------------- curseur avant/après */
.avant-apres {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--r); user-select: none; touch-action: pan-y;
}
.avant-apres img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  pointer-events: none; -webkit-user-drag: none;
}
.avant-apres .apres-cale { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 50% 0 0); }
.avant-apres .curseur {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; background: var(--craie); cursor: ew-resize;
  transform: translateX(-1px);
}
.avant-apres .poignee {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 999px; background: var(--craie);
  color: var(--nuit); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}
.avant-apres .poignee svg { width: 18px; height: 18px; }
.avant-apres .etq {
  position: absolute; bottom: 10px; z-index: 2;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(13, 11, 10, 0.65); color: var(--craie); padding: 5px 10px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.avant-apres .etq.avant { left: 10px; }
.avant-apres .etq.apres { right: 10px; }

/* loupe + lightbox */
.chantier .vis, .avant-apres { position: relative; }
.loupe {
  position: absolute; z-index: 3; top: 10px; right: 10px;
  width: 32px; height: 32px; border-radius: 999px; border: none;
  background: rgba(13, 11, 10, 0.6); backdrop-filter: blur(6px);
  color: #fff; display: grid; place-items: center; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.loupe:hover { background: rgba(13, 11, 10, 0.85); transform: scale(1.06); }
.loupe svg { width: 15px; height: 15px; }
.avant-apres .loupe { top: 10px; right: auto; left: 10px; }
.avant-apres .etq.avant { left: 52px; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8, 7, 6, 0.95); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 66px 20px;
}
.lightbox[hidden] { display: none; }
.lb-fig { margin: 0; max-width: min(880px, 92vw); }
.lb-img { width: 100%; max-height: 72vh; object-fit: contain; border-radius: var(--r); display: block; margin-inline: auto; }
.lb-legende {
  color: var(--sable); text-align: center; margin-top: 16px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
}
.lb-fermer, .lb-nav {
  position: absolute; border: none; border-radius: 999px; background: rgba(255, 255, 255, 0.1);
  color: #fff; display: grid; place-items: center; cursor: pointer; transition: background 0.2s;
}
.lb-fermer:hover, .lb-nav:hover { background: rgba(255, 255, 255, 0.2); }
.lb-fermer { top: 18px; right: 18px; width: 44px; height: 44px; }
.lb-fermer svg { width: 18px; height: 18px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 46px; height: 46px; }
.lb-nav svg { width: 20px; height: 20px; }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }
@media (min-width: 700px) { .lb-prev { left: 28px; } .lb-next { right: 28px; } }

/* FAQ */
.faq-liste { border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 0; background: none; border: none; color: var(--text); text-align: left; cursor: pointer;
}
.faq-q span:first-child { font-family: var(--display); font-size: 1.15rem; }
.faq-icone {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--hairline);
  display: grid; place-items: center; transition: transform 0.3s, background 0.3s, border-color 0.3s; color: var(--text);
}
.faq-icone svg { width: 14px; height: 14px; }
.faq-q[aria-expanded="true"] .faq-icone { transform: rotate(45deg); background: var(--accent); border-color: transparent; color: #1a1210; }
.faq-r { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-r p { color: var(--text-muted); font-size: 0.95rem; max-width: 62ch; padding-bottom: 22px; }

/* ------------------------------------------------------- carrousel avis */
.avis-piste-vue { overflow: hidden; }
.avis-piste { display: flex; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.avis-piste .avis-item { flex: 0 0 100%; padding-right: 14px; box-sizing: border-box; }
.avis-points { display: flex; gap: 7px; justify-content: center; margin-top: 20px; }
.avis-points button {
  width: 7px; height: 7px; border-radius: 999px; border: none; padding: 0;
  background: var(--hairline); cursor: pointer; transition: background 0.25s, width 0.25s;
}
.avis-points button[aria-current="true"] { background: var(--accent); width: 20px; border-radius: 999px; }

/* apparition au défilement */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .statut.ouvert .pastille { animation: none; }
  .carte-univers img, .chantier .vis img { transition: none; }
}

/* --------------------------------------------------------------- écrans */
@media (min-width: 700px) {
  .univers { grid-template-columns: repeat(3, 1fr); }
  .carte-univers { min-height: 420px; }
  .carte-univers .tx { display: none; }
  .chiffres { grid-template-columns: repeat(3, 1fr); }
  .avis-piste-vue { overflow: visible; }
  .avis-piste { transform: none !important; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .avis-piste .avis-item { padding-right: 0; }
  .avis-points { display: none; }
  .grille-presta { grid-template-columns: repeat(2, 1fr); }
  .chantiers { grid-template-columns: repeat(2, 1fr); }
  .etape { grid-template-columns: 80px 1fr; }
  .pied-in { grid-template-columns: 1fr 1fr; align-items: start; }
  .pied-bas { grid-column: 1 / -1; }
  .ligne-prix { grid-template-columns: 72px 1fr auto; }
  .ligne-prix p { grid-column: 2; }
}

@media (min-width: 1000px) {
  .hero { min-height: min(86svh, 760px); }
  .nav-desktop { display: flex; }
  .burger { display: none; }
  .barre-mobile { display: none; }
  body { padding-bottom: 0; }
  .flottant { bottom: 16px; }
  .duo { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .grille-presta { grid-template-columns: repeat(3, 1fr); }
  .chantiers { grid-template-columns: repeat(3, 1fr); }
  .hero-in { padding-block: 96px 88px; }
}
