/* =========================================================
   Air Eco Therm : maquette bespoke (Timy Studio)
   DA construite depuis SES vraies photos (aucune identité
   préexistante : ni logo, ni flocage, ni enseigne).
   Palette MESURÉE (palette.py) sur les 10 chantiers :
   base neutre-chaude (béton, crépi, équipements blancs),
   accents BLEU (3,74% : ballons, bouteilles, manifolds) et
   ROUGE (2,88% : vases d'expansion, vannes, plancher chauffant).
   Le duo froid/chaud raconte le métier : PAC réversible, on
   maîtrise le chaud ET le froid. Le vert Ecodan, non mesurable,
   est écarté (c'est la marque du matériel, pas leur identité).
   ========================================================= */

/* ---------- Polices auto-hébergées (zéro requête externe) ---------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('./fonts/bricolage-latin.woff2') format('woff2');
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('./fonts/bricolage-latin-ext.woff2') format('woff2');
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('./fonts/hanken-latin.woff2') format('woff2');
  font-weight: 300 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('./fonts/hanken-latin-ext.woff2') format('woff2');
  font-weight: 300 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root {
  /* Base neutre-chaude (masses mesurées : crépi, béton, blancs d'équipement) */
  --paper:    #F1EDE6;   /* fond principal */
  --paper-2:  #E7E1D6;   /* bandes / fond secondaire (le plus sombre des fonds clairs) */
  --surface:  #FAF7F1;   /* cartes, surfaces élevées */
  --cream:    #EFEAE1;   /* texte sur fond profond */

  --ink:      #21252A;   /* charbon, mesuré sur toutes les photos */
  --ink-2:    #3C4147;
  --ink-soft: #5E6269;

  /* Profondeur froide (bande sombre, réassurance) */
  --navy:     #17233B;
  --navy-2:   #1E3050;

  /* Accent FROID (bleu marine) : accent principal, air / eau / clim */
  --blue:        #234A86;  /* texte, liens, titraille d'accent (AA sur clair) */
  --blue-strong: #1B3A6B;  /* fonds de boutons */
  --blue-bright: #6E93C8;  /* accents/hover sur fond navy */
  --blue-soft:   rgba(35, 74, 134, 0.10);

  /* Accent CHAUD (rouge brique) : chauffage / therm */
  --red:      #B23A2E;   /* accent chaud, étoiles, détails (AA sur clair) */
  --red-navy: #F0554B;   /* variante chaude sur fond navy */
  --gold:     #C9752B;   /* étoiles chaudes (ambre mesuré) */

  --line:   rgba(33, 37, 42, 0.12);
  --line-2: rgba(33, 37, 42, 0.22);

  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body:    'Hanken Grotesk', system-ui, sans-serif;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 26px;
  --wrap: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background-color: var(--paper);
  /* lumière douce : un halo chaud en haut à droite, un voile frais en bas à gauche,
     comme le chaud et le froid d'une PAC réversible. Fixe, ne se tuile pas. */
  background-image:
    radial-gradient(115% 58% at 88% -6%, rgba(178, 58, 46, 0.07), transparent 60%),
    radial-gradient(95% 55% at -8% 8%, rgba(35, 74, 134, 0.09), transparent 58%);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.eyebrow {
  display: inline-block;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  position: relative;
  padding-left: 30px;
}
.eyebrow::before {
  content: ""; position: absolute; left: 0; top: 0.52em;
  width: 22px; height: 2px; border-radius: 2px;
  /* filet froid -> chaud */
  background: linear-gradient(90deg, var(--blue), var(--red));
}
.eyebrow-light { color: var(--blue-bright); }
.eyebrow-light::before { background: linear-gradient(90deg, var(--blue-bright), var(--red-navy)); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--body); font-weight: 700; font-size: 0.98rem;
  padding: 0.95em 1.7em;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-blue { background: var(--blue-strong); color: #fff; box-shadow: 0 14px 28px -14px rgba(27, 58, 107, 0.85); }
.btn-blue:hover { background: #14315c; transform: translateY(-2px); box-shadow: 0 20px 34px -16px rgba(27, 58, 107, 0.9); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-2px); }
.btn-light { background: rgba(239, 234, 225, 0.10); color: var(--cream); border-color: rgba(239, 234, 225, 0.4); }
.btn-light:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn .arr { display: inline-block; transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn .tel-num { font-variant-numeric: tabular-nums; }

/* ---------- Marqueur maquette ---------- */
.pitch {
  display: flex; align-items: center; justify-content: center; gap: 0.6em;
  background: var(--navy); color: var(--cream);
  font-size: 0.82rem; font-weight: 500; text-align: center;
  padding: 0.55em 1.2em;
}
.pitch-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red-navy); box-shadow: 0 0 0 0 rgba(240,85,75,0.7); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(240,85,75,0.55);} 70% { box-shadow: 0 0 0 8px rgba(240,85,75,0);} 100% { box-shadow: 0 0 0 0 rgba(240,85,75,0);} }

/* ---------- Marque (logo dessiné : deux couches d'air, chaud sur froid) ---------- */
.brand-mark { width: 40px; height: 40px; flex: none; display: block; }
.brand-mark .box { fill: none; stroke: var(--ink); stroke-width: 2.4; }
.brand-mark .warm { fill: none; stroke: var(--red); stroke-width: 2.7; stroke-linecap: round; }
.brand-mark .cool { fill: none; stroke: var(--blue); stroke-width: 2.7; stroke-linecap: round; }
.brand-mark.on-dark .box { stroke: var(--cream); }
.brand-mark.on-dark .warm { stroke: var(--red-navy); }
.brand-mark.on-dark .cool { stroke: var(--blue-bright); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(241, 237, 230, 0.9); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 0.62em; text-decoration: none; color: var(--ink); }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.06rem; letter-spacing: -0.01em; color: var(--ink); }
.brand-name em { font-style: normal; color: var(--blue); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 0.94rem; position: relative; padding: 4px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: linear-gradient(90deg, var(--blue), var(--red)); transition: width 0.3s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-tel { display: inline-flex; align-items: center; gap: 0.5em; text-decoration: none; background: var(--blue-strong); color: #fff; font-weight: 700; font-size: 0.95rem; padding: 0.62em 1.15em; border-radius: 999px; transition: transform 0.25s var(--ease), background 0.25s var(--ease); }
.nav-tel svg { width: 15px; height: 15px; }
.nav-tel .num { font-variant-numeric: tabular-nums; }
.nav-tel:hover { background: #14315c; transform: translateY(-1px); }

/* ---------- Hero éditorial data-led (l'ENTREPRISE, pas un chantier) ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 104px) 0 clamp(52px, 7vw, 92px); }
.hero-field { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-field svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-field .stream { fill: none; stroke-width: 2; stroke-linecap: round; opacity: 0.5; }
.hero::after { /* voile pour garder le texte lisible sur le champ */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(70% 90% at 22% 40%, var(--paper) 34%, transparent 78%);
}
.hero-in { position: relative; z-index: 1; max-width: 58ch; }
.hero .eyebrow { margin-bottom: 1.3em; }
.hero h1 { font-size: clamp(2.7rem, 7vw, 5rem); font-weight: 700; letter-spacing: -0.035em; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.14em;
  background: linear-gradient(90deg, var(--blue), var(--red));
  border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease) 0.3s;
}
.hero h1 .hl.drawn::after { transform: scaleX(1); }
.hero-lede { margin-top: 1.4rem; font-size: clamp(1.08rem, 1.9vw, 1.28rem); color: var(--ink-2); max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.1rem; }

/* Preuve inline sous le hero */
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 2.4rem; padding-top: 1.7rem; border-top: 1px solid var(--line); }
.hero-proof .rating { display: flex; align-items: center; gap: 0.6em; }
.hero-proof .rating b { font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.hero-proof .p-item { font-size: 0.92rem; color: var(--ink-soft); }
.hero-proof .p-item strong { color: var(--ink); font-weight: 700; }
.hero-proof .sep { width: 1px; height: 26px; background: var(--line-2); }

/* Étoiles (calque clippé : jamais 5 pleines pour une note < 5) */
.stars { position: relative; display: inline-block; font-size: 1.05rem; line-height: 1; letter-spacing: 0.08em; }
.stars .base { color: rgba(33,37,42,0.16); }
.stars .fill { position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; color: var(--gold); }
.stars.on-dark .base { color: rgba(239,234,225,0.22); }
.stars.on-dark .fill { color: var(--red-navy); }

/* ---------- Bande de faits (navy : la profondeur froide) ---------- */
.facts { background: var(--navy); color: var(--cream); position: relative; }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 30px 26px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid rgba(239,234,225,0.13); }
.fact:first-child { border-left: none; }
.fact strong { font-family: var(--display); font-weight: 700; font-size: 1.32rem; letter-spacing: -0.02em; color: var(--cream); }
.fact span { font-size: 0.86rem; color: rgba(239,234,225,0.62); }

/* ---------- Section heads ---------- */
.sec-head { max-width: 50ch; margin-bottom: clamp(34px, 4vw, 58px); }
.sec-head .eyebrow { margin-bottom: 1em; }
.sec-head h2 { font-size: clamp(2.05rem, 4.4vw, 3.25rem); }
.sec-head p { margin-top: 0.8em; font-size: 1.12rem; color: var(--ink-2); }

section.prestations, section.galerie, section.entreprise, section.contact { padding: clamp(66px, 8vw, 120px) 0; }

/* ---------- Prestations (liste éditoriale, codée chaud/froid) ---------- */
.presta-list { list-style: none; border-top: 1px solid var(--line); }
.presta {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: clamp(18px, 4vw, 54px);
  padding: clamp(24px, 3vw, 38px) 0 clamp(24px, 3vw, 38px) 22px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease);
}
.presta::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%) scaleY(0);
  width: 4px; height: 58%; border-radius: 3px; background: var(--blue);
  transition: transform 0.4s var(--ease);
}
.presta.warm::before { background: var(--red); }
.presta:hover { padding-left: 32px; }
.presta:hover::before { transform: translateY(-50%) scaleY(1); }
.presta-k { font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--blue); }
.presta.warm .presta-k { color: var(--red); }
.presta-body h3 { font-size: clamp(1.4rem, 2.9vw, 2rem); font-weight: 700; }
.presta-body p { margin-top: 0.5em; color: var(--ink-2); max-width: 56ch; font-size: 1.04rem; }
.presta-tag { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; border-radius: 999px; padding: 0.4em 0.95em; white-space: nowrap; }
.presta-tag.cool { color: var(--blue); background: var(--blue-soft); }
.presta-tag.warm { color: var(--red); background: rgba(178, 58, 46, 0.10); }

/* ---------- Réalisations (mosaïque + lightbox) ---------- */
.galerie { background: var(--paper-2); }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 244px; gap: 16px; }
.m-cell { position: relative; cursor: pointer; margin: 0; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); box-shadow: 0 20px 40px -30px rgba(33,37,42,0.5); background: var(--surface); }
.m-cell > img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.8s var(--ease); }
.m-cell:hover > img { transform: scale(1.06); }
.m-cell figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 18px 14px; font-size: 0.9rem; font-weight: 600; color: var(--cream);
  background: linear-gradient(0deg, rgba(15,22,36,0.86), rgba(15,22,36,0));
  display: flex; align-items: center; gap: 0.55em;
  transform: translateY(6px); opacity: 0; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.m-cell figcaption::before { content: ""; width: 16px; height: 2px; background: var(--blue-bright); flex: none; }
.m-cell.warm figcaption::before { background: var(--red-navy); }
.m-cell:hover figcaption, .m-cell:focus-within figcaption { opacity: 1; transform: translateY(0); }

/* ---------- Entreprise ---------- */
.entreprise-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 74px); align-items: center; }
.entreprise-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; border: 1px solid var(--line); box-shadow: 0 44px 84px -46px rgba(33,37,42,0.55); }
.entreprise-photo img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.entreprise-photo figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; font-size: 0.82rem; font-weight: 600; color: var(--cream); background: linear-gradient(0deg, rgba(15,22,36,0.8), rgba(15,22,36,0)); padding: 26px 14px 8px; border-radius: 0 0 12px 12px; }
.entreprise-text .eyebrow { margin-bottom: 0.9em; }
.entreprise-text h2 { font-size: clamp(1.95rem, 3.8vw, 2.85rem); }
.entreprise-text .lede { margin-top: 0.9em; font-size: 1.12rem; color: var(--ink-2); max-width: 52ch; }
.steps { list-style: none; margin-top: 2.2rem; display: grid; gap: 1.3rem; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.steps li > span { font-family: var(--display); font-weight: 600; color: var(--blue); font-size: 1rem; border: 1px solid var(--line-2); border-radius: 50%; width: 42px; height: 42px; display: grid; place-items: center; flex: none; }
.steps h4 { font-size: 1.14rem; font-weight: 700; }
.steps p { color: var(--ink-soft); margin-top: 0.15em; max-width: 48ch; }

/* ---------- Avis (bande navy, réassurance : la note seule, aucun faux avis) ---------- */
.avis { background: var(--navy); color: var(--cream); padding: clamp(66px, 8vw, 112px) 0; position: relative; overflow: hidden; }
.avis-in { display: grid; grid-template-columns: auto 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; max-width: 980px; margin: 0 auto; position: relative; z-index: 1; }
.avis-score { text-align: center; }
.avis-score .big { font-family: var(--display); font-weight: 700; font-size: clamp(3.6rem, 9vw, 5.4rem); line-height: 0.95; color: var(--cream); letter-spacing: -0.03em; }
.avis-score .big span { color: rgba(239,234,225,0.45); font-size: 0.5em; }
.avis-score .stars { margin-top: 0.5rem; font-size: 1.35rem; }
.avis-score .count { margin-top: 0.7rem; font-size: 0.9rem; color: rgba(239,234,225,0.65); }
.avis-text h2 { color: var(--cream); font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.avis-text p { margin-top: 0.8em; color: rgba(239,234,225,0.82); font-size: 1.1rem; max-width: 46ch; }
.avis-text .g-link { display: inline-flex; align-items: center; gap: 0.4em; margin-top: 1.4rem; font-weight: 700; color: var(--cream); text-decoration: none; border-bottom: 1px solid rgba(239,234,225,0.35); padding-bottom: 3px; transition: border-color 0.2s var(--ease); }
.avis-text .g-link:hover { border-bottom-color: var(--cream); }
.avis-divider { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--blue-bright), var(--red-navy)); opacity: 0.8; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(36px, 5vw, 74px); align-items: start; }
.contact-info .eyebrow { margin-bottom: 1em; }
.contact-info h2 { font-size: clamp(2rem, 4vw, 3rem); }
.contact-lede { margin-top: 0.7em; font-size: 1.1rem; color: var(--ink-2); }
.contact-tel { display: inline-flex; align-items: center; gap: 0.4em; margin-top: 1.2rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 4.3vw, 2.6rem); color: var(--blue); text-decoration: none; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.contact-tel:hover { color: var(--blue-strong); }
.contact-meta { margin-top: 1.9rem; display: grid; gap: 0; }
.contact-meta > div { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.contact-meta dt { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; padding-top: 0.15em; }
.contact-meta dd { color: var(--ink-2); }
/* Locator stylisé (SVG inline : aucune tuile externe) */
.locator { margin-top: 1.8rem; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.locator svg { display: block; width: 100%; height: 200px; }
.gmaps { display: inline-flex; align-items: center; gap: 0.4em; margin-top: 1rem; font-weight: 700; color: var(--blue); text-decoration: none; border-bottom: 1px solid var(--blue-soft); padding-bottom: 2px; transition: color 0.2s var(--ease), border-color 0.2s var(--ease); }
.gmaps:hover { color: var(--blue-strong); border-bottom-color: var(--blue); }

.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 38px); box-shadow: 0 32px 62px -42px rgba(33,37,42,0.4); }
.field { display: grid; gap: 0.45rem; margin-bottom: 1.15rem; }
.field label { font-size: 0.84rem; font-weight: 700; color: var(--ink-2); }
.field input, .field textarea {
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 0.82em 0.9em; width: 100%; resize: vertical;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.form-note { margin-top: 0.9rem; font-size: 0.82rem; color: var(--ink-soft); text-align: center; }

/* ---------- Footer ---------- */
.foot { background: var(--navy); color: var(--cream); padding: 52px 0 40px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 28px; }
.foot-brand { display: flex; align-items: center; gap: 0.8em; }
.foot-brand strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1.02rem; color: var(--cream); }
.foot-brand span { font-size: 0.85rem; color: rgba(239,234,225,0.62); }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-links a { color: rgba(239,234,225,0.8); text-decoration: none; font-size: 0.92rem; }
.foot-links a:hover { color: var(--cream); }
.foot-legal { width: 100%; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(239,234,225,0.13); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.8rem; color: rgba(239,234,225,0.5); }
.foot-legal .cred { color: rgba(239,234,225,0.7); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12,17,28,0.95); display: none; align-items: center; justify-content: center; padding: 5vh 6vw; }
.lightbox.open { display: flex; }
.lb-img { max-width: 88vw; max-height: 82vh; object-fit: contain; border-radius: 8px; box-shadow: 0 40px 90px rgba(0,0,0,0.6); }
.lb-cap { position: absolute; bottom: 3vh; left: 0; right: 0; text-align: center; color: var(--cream); font-size: 0.9rem; }
.lb-close, .lb-nav { position: absolute; background: rgba(239,234,225,0.12); color: var(--cream); border: 1px solid rgba(239,234,225,0.28); border-radius: 50%; width: 50px; height: 50px; font-size: 1.7rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background 0.2s var(--ease); }
.lb-close:hover, .lb-nav:hover { background: rgba(239,234,225,0.26); }
.lb-close { top: 4vh; right: 5vw; }
.lb-prev { left: 3vw; top: 50%; transform: translateY(-50%); }
.lb-next { right: 3vw; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-prev { left: 2vw; } .lb-next { right: 2vw; } .lb-nav, .lb-close { width: 42px; height: 42px; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .entreprise-grid { grid-template-columns: 1fr; }
  .entreprise-photo { max-width: 460px; }
  .contact-grid { grid-template-columns: 1fr; }
  .facts-in { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: none; }
  .fact:nth-child(n+3) { border-top: 1px solid rgba(239,234,225,0.13); }
  .avis-in { grid-template-columns: 1fr; text-align: center; }
  .avis-text p { margin-left: auto; margin-right: auto; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-in { height: 62px; gap: 12px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: 0.92rem; }
  .nav-tel .label { display: none; }
  .presta { grid-template-columns: auto 1fr; }
  .presta-tag { display: none; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  .facts-in { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 158px; gap: 12px; }
  .m-cell figcaption { opacity: 1; transform: none; font-size: 0.8rem; }
  .hero-proof .sep { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero h1 .hl::after { transition: none; transform: scaleX(1); }
  .pitch-dot { animation: none; }
  .m-cell img, .entreprise-photo img { transition: none; }
}
