/* ==========================================================================
   OH Elec · électricien, 3 allée Marcel Coulon, Nîmes
   Maquette Timy Studio.

   DA lue sur leurs vrais assets :
   - le fond clair et froid, c'est le papier d'un plan : leurs clients parlent
     tous d'organisation, de délais tenus et de travail méticuleux. Le site
     doit être carré, pas spectaculaire.
   - l'hexagone vient du plafond en lignes lumineuses qu'ils ont posé chez
     La Pause Barber (p03 / p04). C'est leur signature visible : la lumière.
   - le bleu, le vert-jaune et le marron ne sont pas décoratifs : c'est le code
     couleur des fils de leur métier (neutre, terre, phase). D'où le filet en
     câble à trois brins entre les sections.
   - le bleu profond des sections sombres est celui de leur plafond de barbier.
   ========================================================================== */

:root {
  /* Palette */
  --color-bg:           #EEF2F7;  /* blanc froid, le papier d'un plan */
  --color-bg-alt:       #E3E9F1;  /* bandes secondaires */
  --color-surface:      #FFFFFF;  /* cartes posées sur le fond */
  --color-deep:         #131E33;  /* bleu nuit, sections sombres */
  --color-ink:          #0F1829;  /* titres */
  --color-text:         #35405A;  /* corps */
  --color-text-muted:   #5D6982;  /* secondaire (AA sur le fond : 4,9:1) */

  /* Le code couleur des fils. Le bleu porte l'action, les deux autres ne
     servent qu'au filet et aux détails : trois couleurs de câble en aplat,
     ça ferait un sapin. */
  --color-accent:       #0B63CE;  /* bleu, le neutre (AA sur le fond : 5,0:1) */
  --color-accent-light: #6FB4FF;  /* bleu clair, petit texte sur le bleu nuit */
  --color-terre:        #A8B820;  /* vert-jaune, la terre */
  --color-phase:        #8C4A2F;  /* marron, la phase */
  --color-glow:         #DCEEFF;  /* la lumière de leurs tubes */

  --color-border:       rgba(15, 24, 41, 0.12);
  --color-border-light: rgba(220, 238, 255, 0.20);

  /* Typographie : une condensée technique pour les titres, comme les lettres
     d'un plan ou d'un tableau électrique, et une sans neutre pour le reste.
     Aucune requête externe, tout est en pile système. */
  --font-display: Bahnschrift, "DIN Alternate", "Roboto Condensed", "Arial Narrow", "Helvetica Neue Condensed", sans-serif;
  --font-body:    "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* Espacements */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  2rem;
  --space-xl:  4rem;
  --space-2xl: 8rem;

  /* Rayons : peu, et petits. Un électricien, ce n'est pas rond. */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   14px;
  --radius-full: 9999px;

  /* Transitions */
  --t-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 0.3s  cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.6s  cubic-bezier(0.4, 0, 0.2, 1);

  --wrap: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-ink);
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0.01em;
  font-weight: 600;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--space-lg); }

/* ---------- Vocabulaire commun ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}
.eyebrow-light { color: var(--color-accent-light); }

/* Le filet : un câble à trois brins, dénudé */
.div-cable { display: block; width: 96px; height: 10px; margin-bottom: var(--space-md); opacity: 0.95; }
/* Les trois brins sont des couleurs de fil, codées en dur dans le symbole :
   sur le bleu nuit, le brin bleu se noierait. On les remonte en luminosité
   plutôt que de trahir le code couleur. */
.div-cable-light { filter: brightness(1.7) saturate(1.15); }

.sec-head { max-width: 660px; margin-bottom: var(--space-xl); }
.sec-head h2, .maison-text h2, .contact-info h2, .avis-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.sec-head p { margin-top: var(--space-md); color: var(--color-text-muted); font-size: 1.05rem; }
.lede { font-size: 1.08rem; color: var(--color-text); margin-top: var(--space-md); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.95em 1.6em;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast), background var(--t-fast), border-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.btn-main { background: var(--color-accent); color: #FFFFFF; }
.btn-main:hover { background: var(--color-ink); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(11, 99, 206, 0.8); }
.btn-ghost { border-color: var(--color-ink); color: var(--color-ink); }
.btn-ghost:hover { background: var(--color-ink); color: var(--color-bg); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn .arr { transition: transform var(--t-fast); }
.btn:hover .arr { transform: translateX(4px); }

/* Note Google : étoiles partielles par calque clippé. Ici 5,0/5 = 100%, mais
   le calque reste, pour que la note suive la vraie valeur si elle bouge. */
.note { display: flex; align-items: center; gap: 0.7em; flex-wrap: wrap; }
.stars { position: relative; display: inline-block; font-size: 1.15rem; letter-spacing: 0.1em; line-height: 1; }
.stars-base { color: rgba(15, 24, 41, 0.18); }
.stars-fill {
  position: absolute; inset: 0;
  overflow: hidden; white-space: nowrap;
  color: var(--color-accent);
}
.note-txt { font-size: 0.95rem; color: var(--color-text-muted); }
.note-txt strong { color: var(--color-ink); font-size: 1.05rem; font-family: var(--font-display); letter-spacing: 0.02em; }
.note-light .stars-base { color: var(--color-border-light); }
.note-light .stars-fill { color: var(--color-glow); }
.note-light .note-txt { color: rgba(220, 238, 255, 0.75); }
.note-light .note-txt strong { color: var(--color-glow); }
.note-light .note-txt a { color: inherit; }

.lien-ext {
  display: inline-block;
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.05em;
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 0.2em;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.lien-ext:hover { color: var(--color-ink); border-bottom-color: var(--color-accent); }

/* Révélation à l'entrée */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }

/* ---------- Marqueur de maquette ---------- */
.pitch {
  position: relative; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 0.6em;
  background: var(--color-ink); color: var(--color-glow);
  font-size: 0.78rem; letter-spacing: 0.02em;
  padding: 0.65em var(--space-md);
  text-align: center;
}
.pitch-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent-light); flex: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(238, 242, 247, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), background var(--t-base);
}
.nav.scrolled { border-bottom-color: var(--color-border); background: rgba(238, 242, 247, 0.96); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 0.6em; text-decoration: none; color: var(--color-accent); }
.brand-mark { width: 40px; height: 36px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--color-ink); text-transform: uppercase; letter-spacing: 0.06em; }
.nav-links { display: flex; gap: var(--space-lg); }
.nav-links a {
  position: relative;
  text-decoration: none; font-size: 0.92rem; font-weight: 500; color: var(--color-text);
  padding: 0.3em 0;
  transition: color var(--t-fast);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--color-accent); transform: scaleX(0); transform-origin: right;
  transition: transform var(--t-base);
}
.nav-links a:hover { color: var(--color-ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-tel { display: flex; flex-direction: column; text-decoration: none; text-align: right; line-height: 1.2; }
.nav-tel-label { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-muted); }
.nav-tel-num { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--color-ink); letter-spacing: 0.03em; }
.nav-tel:hover .nav-tel-num { color: var(--color-accent); }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-in {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  font-size: clamp(3.1rem, 8vw, 6rem);
  line-height: 0.94;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.hero h1 .hl { position: relative; color: var(--color-accent); white-space: nowrap; }
/* Le trait sous « à sa place » : un tube allumé, pas un surlignage. Il se
   dessine de gauche à droite au chargement. */
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.06em;
  height: 0.07em; border-radius: var(--radius-full);
  background: var(--color-accent);
  box-shadow: 0 0 14px rgba(11, 99, 206, 0.55);
  transform-origin: left;
}
.js .hero h1 .hl::after { transform: scaleX(0); }
.js .hero h1 .hl.lit::after { transform: scaleX(1); transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s; }

.hero-lede { margin-top: var(--space-lg); font-size: 1.12rem; max-width: 48ch; }
.hero .note { margin-top: var(--space-lg); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-top: var(--space-lg); }

.hero-media { position: relative; display: flex; align-items: center; justify-content: center; }
/* Le reste du plafond, en filigrane derrière la photo */
.lattice {
  position: absolute;
  width: 150%; height: auto; aspect-ratio: 1;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-accent);
  opacity: 0.14;
  pointer-events: none;
}

/* La photo, tenue dans un hexagone : le cadre est un de leurs tubes */
.hexshot {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1.06;
  cursor: zoom-in;
  filter: drop-shadow(0 26px 50px rgba(15, 24, 41, 0.35));
}
.hexshot img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 26%;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}
.hexline { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.hexline polygon { fill: none; }
.hexline-base { stroke: rgba(220, 238, 255, 0.35); stroke-width: 2; }
.hexline-glow {
  stroke: var(--color-glow);
  stroke-width: 3;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgba(111, 180, 255, 0.95));
}
.hexshot figcaption {
  position: absolute; left: 50%; bottom: -0.4em;
  transform: translateX(-50%);
  background: var(--color-ink);
  color: var(--color-glow);
  font-family: var(--font-display);
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.5em 1.1em;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* ---------- Bande de faits ---------- */
.faits { background: var(--color-deep); color: var(--color-glow); }
.faits-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.fait { padding: clamp(1.6rem, 3vw, 2.4rem) var(--space-md); text-align: center; border-left: 1px solid var(--color-border-light); }
.fait:first-child { border-left: 0; }
.fait strong {
  display: block;
  font-family: var(--font-display); font-size: 1.55rem; font-weight: 600;
  color: var(--color-glow); letter-spacing: 0.03em; text-transform: uppercase;
}
.fait span { display: block; margin-top: 0.35em; font-size: 0.82rem; color: rgba(220, 238, 255, 0.72); }

/* ---------- Prestations ---------- */
.presta { padding: var(--space-2xl) 0; }
.presta-list { border-top: 1px solid var(--color-border); }
.presta-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: var(--space-lg);
  align-items: baseline;
  padding: var(--space-lg) var(--space-md);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  transition: background var(--t-base);
}
/* Au survol, le fil s'allume sur toute la ligne */
.presta-item::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%;
  background: var(--color-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base);
}
.presta-item:hover { background: var(--color-surface); }
.presta-item:hover::before { transform: scaleX(1); }
.presta-k { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--color-accent); letter-spacing: 0.04em; }
.presta-body h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); text-transform: uppercase; letter-spacing: 0.01em; }
.presta-body p { margin-top: 0.55em; color: var(--color-text-muted); font-size: 0.99rem; max-width: 62ch; }
.presta-tag {
  font-family: var(--font-display);
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 0.35em 0.9em;
  white-space: nowrap;
}

/* ---------- Chantiers ---------- */
.chantiers { background: var(--color-bg-alt); padding: var(--space-2xl) 0; }
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: var(--space-md);
}
.cell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  grid-row: span 2;
  background: var(--color-deep);
  cursor: zoom-in;
}
.cell[data-full] { cursor: zoom-in; }
.cell:not([data-full]) { cursor: default; }
.cell-tall { grid-row: span 3; }
.cell-wide { grid-column: span 2; }
.cell img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.cell:hover img { transform: scale(1.04); }
/* La photo du plafond est une capture de story : le cadrage ne garde que le
   plafond, le bandeau du téléphone reste hors champ. */
.crop-hex { object-position: center 24%; }
.cell figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.6em var(--space-md) var(--space-md);
  background: linear-gradient(to top, rgba(15, 24, 41, 0.88), rgba(15, 24, 41, 0));
  color: rgba(220, 238, 255, 0.82);
  font-size: 0.8rem;
}
.cell figcaption strong {
  display: block;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  color: var(--color-glow); letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 0.15em;
}

/* ---------- Avis ---------- */
.avis { background: var(--color-deep); color: rgba(220, 238, 255, 0.86); padding: var(--space-2xl) 0; }
.avis h2 { color: var(--color-glow); }
.avis-head { max-width: 660px; margin-bottom: var(--space-xl); }
.avis-head .note { margin-top: var(--space-lg); }
.avis-note { margin-top: 0.8em; font-size: 0.84rem; color: rgba(220, 238, 255, 0.7); }
.avis blockquote {
  background: rgba(220, 238, 255, 0.05);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}
.avis blockquote p { font-size: 1rem; line-height: 1.62; color: var(--color-glow); }
.avis blockquote cite {
  display: block; margin-top: var(--space-md);
  font-style: normal; font-size: 0.85rem; font-weight: 700; color: rgba(220, 238, 255, 0.9);
}
.avis blockquote cite span { display: block; font-weight: 400; font-size: 0.76rem; color: rgba(220, 238, 255, 0.68); margin-top: 0.15em; }
/* L'avis le plus complet passe en tête, tenu par un fil bleu allumé. */
.avis .avis-star { margin-bottom: var(--space-lg); border-left: 4px solid var(--color-accent-light); }
.avis .avis-star p { font-size: clamp(1.02rem, 1.6vw, 1.22rem); }
.avis-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }

/* ---------- L'entreprise ---------- */
.maison { padding: var(--space-2xl) 0; }
.maison-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.steps { margin-top: var(--space-xl); display: grid; gap: var(--space-lg); }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: var(--space-md); align-items: start; }
.steps li span {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
  color: var(--color-accent);
  border-top: 2px solid var(--color-accent);
  padding-top: 0.4em;
}
.steps h4 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.04em; }
.steps p { margin-top: 0.35em; font-size: 0.96rem; color: var(--color-text-muted); }

.ident {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  /* Le liseré vert-jaune : la terre, celle qui manquait au compteur de
     Maryline. C'est le seul endroit où elle est en aplat. */
  border-top: 4px solid var(--color-terre);
}
.ident h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-muted); }
.ident dl { margin: var(--space-md) 0 var(--space-lg); }
.ident dl > div { display: grid; grid-template-columns: 108px 1fr; gap: var(--space-md); padding: 0.8em 0; border-bottom: 1px solid var(--color-border); }
.ident dl > div:last-child { border-bottom: 0; }
.ident dt { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-muted); padding-top: 0.3em; }
.ident dd { margin: 0; font-size: 0.98rem; color: var(--color-ink); font-weight: 500; }

/* ---------- Contact ---------- */
.contact { background: var(--color-bg-alt); padding: var(--space-2xl) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-tel {
  display: inline-block;
  margin-top: var(--space-lg);
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  color: var(--color-accent);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--t-fast);
}
.contact-tel:hover { color: var(--color-ink); }
.contact-meta { margin: var(--space-lg) 0 0; display: grid; gap: var(--space-md); }
.contact-meta > div { display: grid; grid-template-columns: 108px 1fr; gap: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--color-border); }
.contact-meta dt { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-muted); padding-top: 0.25em; }
.contact-meta dd { margin: 0; font-size: 0.98rem; }

.semaine {
  margin: var(--space-lg) 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-lg);
}
.semaine li { display: flex; justify-content: space-between; gap: var(--space-md); padding: 0.55em 0; font-size: 0.92rem; border-bottom: 1px solid var(--color-border); }
.semaine li:last-child { border-bottom: 0; }
.semaine li span:first-child { color: var(--color-text-muted); }
.semaine li span:last-child { font-family: var(--font-display); font-weight: 600; color: var(--color-ink); letter-spacing: 0.03em; }
.semaine li.off span:last-child { color: var(--color-text-muted); font-weight: 400; }

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
.contact-form h3 { font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-lg); }
.field { margin-bottom: var(--space-md); }
.field label { display: block; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 0.4em; }
.field input, .field textarea {
  width: 100%;
  font-family: var(--font-body); font-size: 1rem; color: var(--color-ink);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.75em 0.9em;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-accent); background: var(--color-surface); }
.form-note { margin-top: var(--space-md); font-size: 0.78rem; color: var(--color-text-muted); }

/* ---------- Footer ---------- */
.foot { background: var(--color-ink); color: rgba(220, 238, 255, 0.7); padding: var(--space-xl) 0 var(--space-lg); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-lg); }
.foot-brand { display: flex; align-items: center; gap: 0.7em; color: var(--color-accent-light); }
.foot-brand .brand-mark { width: 42px; height: 38px; }
.foot-brand strong { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--color-glow); text-transform: uppercase; letter-spacing: 0.08em; }
.foot-brand span { font-size: 0.82rem; color: rgba(220, 238, 255, 0.7); }
.foot-links { display: flex; flex-wrap: wrap; gap: var(--space-md) var(--space-lg); }
.foot-links a { font-size: 0.88rem; text-decoration: none; transition: color var(--t-fast); }
.foot-links a:hover { color: var(--color-accent-light); }
.foot-cred { width: 100%; padding-top: var(--space-lg); border-top: 1px solid rgba(220, 238, 255, 0.14); font-size: 0.78rem; color: rgba(220, 238, 255, 0.6); }

/* ---------- Visionneuse ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: none; align-items: center; justify-content: center;
  background: rgba(10, 16, 28, 0.95);
  padding: var(--space-lg);
}
.lightbox.open { display: flex; }
.lb-img { max-width: min(1100px, 92vw); max-height: 88vh; width: auto; height: auto; object-fit: contain; border-radius: var(--radius-sm); }
.lb-close, .lb-nav {
  position: absolute;
  background: none; border: 0; cursor: pointer;
  color: var(--color-glow); font-size: 2.4rem; line-height: 1;
  padding: 0.3em 0.5em;
  transition: color var(--t-fast), transform var(--t-fast);
}
.lb-close { top: 0.4em; right: 0.6em; font-size: 2.8rem; }
.lb-prev { left: 0.3em; }
.lb-next { right: 0.3em; }
.lb-close:hover, .lb-nav:hover { color: var(--color-accent-light); transform: scale(1.15); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-media { margin-top: var(--space-xl); }
  .lattice { width: 120%; }
  .maison-grid, .contact-grid { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .cell-wide { grid-column: span 2; }
  .cell-tall { grid-row: span 2; }
  .presta-item { grid-template-columns: 48px 1fr; gap: var(--space-md); }
  .presta-tag { grid-column: 2; justify-self: start; margin-top: var(--space-sm); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 var(--space-md); }
  .nav-links { display: none; }
  .nav-in { height: 66px; }
  .nav-tel-label { display: none; }
  .presta, .chantiers, .avis, .maison, .contact { padding: clamp(3.5rem, 12vw, 5rem) 0; }
  .faits-in { grid-template-columns: repeat(2, 1fr); }
  .fait { border-left: 0; border-top: 1px solid var(--color-border-light); }
  .fait:nth-child(1), .fait:nth-child(2) { border-top: 0; }
  .fait:nth-child(even) { border-left: 1px solid var(--color-border-light); }
  .avis-grid { grid-template-columns: 1fr; }
  .contact-meta > div, .ident dl > div { grid-template-columns: 1fr; gap: 0.2em; }
  .mosaic { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .cell, .cell-wide, .cell-tall { grid-column: span 1; grid-row: span 1; }
  .hero-cta { gap: 0.7rem; }
  .btn { padding: 0.9em 1.2em; font-size: 0.92rem; }
  .lb-close, .lb-nav { font-size: 2rem; }
}

@media (max-width: 420px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero h1 .hl { white-space: normal; }
}

/* ==========================================================================
   Accessibilité : si l'utilisateur ne veut pas d'animation, il n'en a aucune.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .hero h1 .hl::after { transform: scaleX(1); }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
