/* ============================================================
   Toiture PBC — feuille de style
   Direction : INDUSTRIEL / ATELIER DE DESSIN (drafting room)
   Asphalte noir + orange sécurité + texte crème.
   Typo : Anton (titres) · Hanken Grotesk (texte) · IBM Plex Mono (étiquettes).
   Toutes les couleurs sont des variables CSS — modifiez :root.
   Pour revenir vers un accent marine : changez --accent.
   ============================================================ */

:root {
  /* Fonds (gris doux — moins de glare, couleurs du logo) */
  --bg: #c8ced7;
  --bg-2: #bac1cc;
  --surface: #eceff4;
  --surface-2: #dfe4ea;
  --line: rgba(22, 40, 66, .12);
  --line-strong: rgba(22, 40, 66, .22);

  /* Marine secondaire (acier) */
  --navy: #1f4e79;
  --navy-2: #16335c;

  /* Texte (marine foncé sur clair) */
  --text: #16273f;
  --muted: #51607a;
  --muted-2: #8893a4;
  --paper: #ffffff;

  /* Accent (bleu marine — logo) */
  --accent: #1f4e79;
  --accent-2: #3a6ea5;
  --accent-ink: #ffffff;

  /* Système */
  --radius: 0px;
  --radius-sm: 0px;
  --maxw: 1200px;
  --gap: clamp(1rem, 2.5vw, 2rem);
  --shadow: 6px 6px 0 rgba(22, 36, 58, .16);

  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --font-head: var(--font-display);
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
}

/* ---------- Réinitialisation ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  counter-reset: sec svc;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }

/* ---------- Grain global ---------- */
body::after {
  content: "";
  position: fixed; inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Conteneur ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.2rem);
}

/* ---------- Typographie ---------- */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.32; /* dégage nettement les accents (Â, É, À) des majuscules sur titres multilignes */
  letter-spacing: .005em;
}
h3, h4 {
  font-family: var(--font-body);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.9rem, 8.5vw, 6rem); }
h2 { font-size: clamp(2.1rem, 5.5vw, 3.8rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.4rem); }
p { color: var(--muted); }

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .74rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  counter-increment: sec;
  content: counter(sec, decimal-leading-zero);
  color: var(--muted);
  border: 1px solid var(--line-strong);
  padding: .12rem .42rem;
  font-size: .72rem;
  letter-spacing: .05em;
}

.section { padding: clamp(3.5rem, 9vw, 7rem) 0; }
.section--tight { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-head { max-width: 680px; margin-bottom: clamp(2rem, 5vw, 3.4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin-top: 1rem; }
.section-head p { margin-top: 1.1rem; font-size: 1.06rem; }
.text-accent { color: var(--accent); }

/* ---------- Boutons (carrés, ombre dure) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 1rem 1.7rem;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .09em;
  border: 2px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow);
}
.btn--primary:hover { transform: translate(-2px, -2px); box-shadow: 9px 9px 0 rgba(22, 36, 58, .16); }
.btn--primary:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 rgba(22, 36, 58, .16); }
.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--light {
  background: #ffffff;
  color: var(--accent);
  box-shadow: var(--shadow);
}
.btn--light:hover { transform: translate(-2px, -2px); box-shadow: 9px 9px 0 rgba(22, 36, 58, .12); }
.btn--lg { padding: 1.15rem 2rem; font-size: .86rem; }
.btn svg { width: 17px; height: 17px; }

/* ============================================================
   EN-TÊTE / NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg);
  border-bottom: 1px solid var(--line-strong);
}
/* Bande de danger (chantier) en haut */
.site-header::before {
  content: "";
  display: block;
  height: 6px;
  background: repeating-linear-gradient(45deg, var(--accent) 0 13px, #ffffff 13px 26px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: .8rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.brand__mark {
  width: 38px; height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: var(--bg-2);
  border: 2px solid var(--accent);
}
.brand__mark svg { width: 22px; height: 22px; }
.brand span { color: var(--accent); }
.brand__logo { height: 52px; width: auto; display: block; }
.footer__brand .brand__logo { height: 68px; }
@media (max-width: 1180px) { .brand__logo { height: 44px; } }

.nav__links {
  display: flex;
  align-items: center;
  gap: .2rem;
  margin-left: auto;
}
.nav__links a {
  padding: .42rem .46rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--muted);
  font-weight: 500;
  font-size: .72rem;
  white-space: nowrap;
  transition: color .15s ease;
  position: relative;
}
.nav__links a:hover { color: var(--text); }
.nav__links a.is-active { color: var(--accent); }
.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: .8rem; right: .8rem; bottom: -2px;
  height: 2px;
  background: var(--accent);
}
.nav__cta { display: flex; align-items: center; gap: .55rem; }
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .04em;
  white-space: nowrap;
}
.nav__phone span { white-space: nowrap; }
.nav__phone svg { width: 16px; height: 16px; color: var(--accent); }
.nav-cta-mobile { display: none; } /* CTA visible seulement dans le menu mobile */

/* Hamburger */
.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  border: 2px solid var(--line-strong);
  border-radius: 0;
  background: var(--bg-2);
  position: relative;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px; height: 2px;
  background: var(--text);
  transform: translateX(-50%);
  transition: transform .25s ease, opacity .2s ease;
}
.nav__toggle span { top: 50%; margin-top: -1px; }
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }
body.nav-open .nav__toggle span { background: transparent; }
body.nav-open .nav__toggle span::before { transform: translateX(-50%) rotate(45deg); top: 0; }
body.nav-open .nav__toggle span::after { transform: translateX(-50%) rotate(-45deg); top: 0; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  /* tient sur un écran d'ordinateur portable : hauteur de vue moins l'en-tête (82px) */
  min-height: calc(100dvh - 82px);
  padding: clamp(1.5rem, 4vw, 3rem) 0;
  background: var(--bg);
}
.hero .container { width: 100%; }
/* Titre du hero un peu plus compact pour tenir dans la fenêtre */
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); margin-bottom: 1rem; }
.hero__badge { margin-bottom: 1.1rem; }
.hero__lead { margin-bottom: 1.6rem; }
.hero__actions { margin-bottom: 1.7rem; }
.hero__trust { padding-top: 1.3rem; gap: 1.2rem 1.6rem; }
/* Chevrons de toiture en filigrane */
.hero::before {
  content: "";
  position: absolute;
  right: -6%; top: 6%;
  width: 62%; height: 88%;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  opacity: .12;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='%238c2a2a' stroke-width='9' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpolyline points='10,210 200,40 390,210'/%3E%3Cpolyline points='10,275 200,105 390,275'/%3E%3Cpolyline points='10,340 200,170 390,340'/%3E%3C/g%3E%3C/svg%3E");
}
.hero .container { position: relative; z-index: 1; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem .85rem;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--bg-2);
  font-family: var(--font-mono);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 1.6rem;
}
.hero__badge b { color: var(--text); font-weight: 600; }
.hero__badge .dot {
  width: 8px; height: 8px; border-radius: 0;
  background: #4ad07d;
}
.hero h1 { margin-bottom: 1.3rem; }
.hero h1 .hl { color: var(--accent); }
.hero__lead {
  font-size: 1.14rem;
  max-width: 42ch;
  margin-bottom: 2.1rem;
  color: var(--muted);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.3rem; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  padding-top: 1.7rem;
  border-top: 1px solid var(--line);
}
.hero__trust li {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .76rem; color: var(--muted);
}
.hero__trust svg { width: 17px; height: 17px; color: var(--accent); flex: none; }

/* Hero avec vidéo de fond (plan par drone) */
.hero--video {
  isolation: isolate;
  background-color: var(--bg);
  background-image: url("../assets/hero-roof-poster.jpg");
  background-size: cover;
  background-position: center;
}
.hero--video::before { display: none; } /* on masque les chevrons : la vidéo est le visuel */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(13, 24, 42,.94) 0%, rgba(13, 24, 42,.74) 42%, rgba(13, 24, 42,.34) 100%),
    linear-gradient(180deg, rgba(13, 24, 42,.12) 0%, rgba(13, 24, 42,.12) 48%, rgba(13, 24, 42,.72) 84%, var(--bg) 100%);
}
/* Liseré orange chantier au bas de la vidéo */
.hero--video .hero__overlay::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 4px;
  background: repeating-linear-gradient(45deg, var(--accent) 0 13px, transparent 13px 26px);
  opacity: .8;
}
/* La plaque de stats laisse transparaître la vidéo */
.hero--video .hero__card {
  background: rgba(13, 24, 42, .58);
  border-color: var(--line-strong);
}

/* Plaque technique (anciennement carte vitrée) */
.hero__card {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--surface);
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero__card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 6px;
  background: repeating-linear-gradient(45deg, var(--accent) 0 11px, transparent 11px 22px);
}
.hero__card .ph-tag { position: absolute; top: 18px; left: 18px; }
.hero__stat-card {
  margin: 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hero__stat-card .stat { padding: 1.3rem 1.4rem; }
.hero__stat-card .stat:first-child { border-right: 1px solid var(--line); }
.hero__stat-card .stat strong {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  display: block;
  color: var(--accent);
}
.hero__stat-card .stat span {
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
}

/* Étiquette d'espace réservé image */
.ph-tag {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg);
  border: 1px dashed var(--line-strong);
  padding: .35rem .65rem;
  border-radius: 0;
}
.ph-tag svg { width: 14px; height: 14px; }

/* ============================================================
   BANDE SECTEURS
   ============================================================ */
.strip {
  background: var(--bg-2);
}
.strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 0;
}
.strip__label {
  font-family: var(--font-mono);
  font-size: .72rem; color: var(--accent);
  letter-spacing: .14em; text-transform: uppercase;
}
.strip__items { display: flex; flex-wrap: wrap; gap: 0; }
.strip__items span {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--text);
  font-size: 1.05rem;
  letter-spacing: .03em;
  padding: 0 1.3rem;
  border-left: 1px solid var(--line);
}
.strip__items span:first-child { border-left: 0; }

/* ============================================================
   GRILLES & CARTES
   ============================================================ */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 1.8rem;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover {
  transform: translate(-3px, -3px);
  border-color: var(--accent);
  box-shadow: 7px 7px 0 rgba(22, 36, 58, .14);
}

/* Carte de service */
.svc-card { position: relative; overflow: hidden; }
.svc-card::before {
  counter-increment: svc;
  content: counter(svc, decimal-leading-zero);
  position: absolute;
  top: 1.1rem; right: 1.3rem;
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--line-strong);
}
.svc-card .icon {
  width: 54px; height: 54px;
  border-radius: 0;
  display: grid; place-items: center;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  margin-bottom: 1.2rem;
}
.svc-card .icon svg { width: 26px; height: 26px; color: var(--accent); }
.svc-card h3 { margin-bottom: .55rem; }
.svc-card p { font-size: .96rem; }
.svc-card .more {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-top: 1.1rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600; font-size: .74rem; color: var(--accent);
}
.svc-card .more svg { width: 15px; height: 15px; transition: transform .2s ease; }
.svc-card:hover .more svg { transform: translateX(5px); }

/* ============================================================
   POURQUOI NOUS / CARACTÉRISTIQUES
   ============================================================ */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature .fi {
  position: relative;
  flex: none;
  width: 48px; height: 48px;
  border-radius: 0;
  display: grid; place-items: center;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
}
.feature .fi svg { width: 22px; height: 22px; color: var(--accent); position: relative; z-index: 1; }

/* Lumière orange qui parcourt le contour de chaque boîte (effet « illumination ») */
@property --fi-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.feature .fi::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px;                        /* épaisseur du trait lumineux */
  background: conic-gradient(from var(--fi-angle),
    transparent 0deg,
    transparent 230deg,
    rgba(31, 78, 121, .2) 280deg,
    var(--accent) 325deg,
    #bcd4ea 348deg,
    var(--accent) 360deg);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  filter: drop-shadow(0 0 4px rgba(31, 78, 121, .65));
  pointer-events: none;
  animation: fiContour 3.2s linear infinite;
}
@keyframes fiContour { to { --fi-angle: 360deg; } }
/* décalage : les boîtes s'illuminent à tour de rôle */
.feature:nth-child(2) .fi::before { animation-delay: -1.07s; }
.feature:nth-child(3) .fi::before { animation-delay: -2.13s; }
.feature h3 { font-size: 1.12rem; margin-bottom: .3rem; }
.feature p { font-size: .95rem; }

/* Bloc média + texte */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
/* plus d'air entre le titre et le corps de texte dans les sections en deux colonnes */
.split h2 + p { margin-top: 3.75rem; }
.media-ph {
  position: relative;
  border-radius: 0;
  border: 1px solid var(--line-strong);
  min-height: 380px;
  background:
    linear-gradient(var(--bg-2), var(--bg-2)),
    repeating-linear-gradient(135deg, rgba(31, 78, 121, .10) 0 2px, transparent 2px 13px);
  background-blend-mode: normal;
  display: flex; align-items: flex-start;
}
.media-ph::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, var(--line) 0 1px, transparent 1px 14px);
  pointer-events: none;
}
.media-ph .ph-tag { margin: 16px; position: relative; z-index: 1; }

/* ============================================================
   ÉTAPES / PROCESSUS
   ============================================================ */
.steps { counter-reset: step; }
.step {
  position: relative;
  padding: 1.7rem 1.5rem 1.8rem;
  background: #ffffff;                     /* carte bien lisible sur le fond gris */
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--accent);     /* poutre marine TOUJOURS visible */
  box-shadow: 0 8px 22px rgba(22, 40, 66, .10);
}
.step .num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--accent);
  display: block;
  margin-bottom: .6rem;
}
.step h3 { font-size: 1.18rem; margin-bottom: .45rem; color: var(--text); }
.step p { font-size: .96rem; color: var(--muted); }

/* Reflet qui balaie la poutre supérieure de gauche à droite (1 → 4) au défilement */
.step::before {
  content: "";
  position: absolute;
  top: -4px; left: 0;
  width: 100%; height: 4px;
  background: var(--accent-2);
  box-shadow: 0 0 14px rgba(58, 110, 165, .9);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .55s ease;
}
.step.in::before { transform: scaleX(1); }
.steps .step:nth-child(1).in::before { transition-delay: .05s; }
.steps .step:nth-child(2).in::before { transition-delay: .35s; }
.steps .step:nth-child(3).in::before { transition-delay: .65s; }
.steps .step:nth-child(4).in::before { transition-delay: .95s; }

/* ============================================================
   STATISTIQUES
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line-strong); }
.stat-box {
  text-align: center;
  padding: 2rem 1rem;
  border-left: 1px solid var(--line);
  background: var(--surface);
}
.stat-box:first-child { border-left: 0; }
.stat-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  color: var(--accent);
  line-height: 1;
}
.stat-box span {
  font-family: var(--font-mono);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  margin-top: .7rem;
  display: block;
}

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */
.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0;
  padding: 1.9rem;
  position: relative;
}
.quote .stars { display: flex; gap: 3px; margin-bottom: .9rem; color: var(--accent); }
.quote .stars svg { width: 17px; height: 17px; }
.quote p { color: var(--text); font-size: 1.02rem; }
.quote .who { display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; }
.quote .who .av {
  width: 44px; height: 44px; border-radius: 0;
  background: var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-display); color: var(--accent-ink); font-size: 1.2rem;
}
.quote .who b { display: block; font-size: .95rem; }
.quote .who span {
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}

/* ============================================================
   BANDE D'APPEL À L'ACTION (panneau orange plein)
   ============================================================ */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  padding: clamp(2.6rem, 6vw, 4.2rem);
  background: var(--accent);
  border: none;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 8px;
  background: repeating-linear-gradient(45deg, var(--accent-ink) 0 15px, transparent 15px 30px);
  opacity: .55;
}
.cta-band h2 { margin-bottom: .9rem; color: var(--accent-ink); }
.cta-band p { color: rgba(255, 255, 255, .85); max-width: 54ch; margin: 0 auto 1.9rem; font-weight: 500; }
.cta-band .hero__actions { justify-content: center; margin: 0; }
.cta-band .btn--light { background: #ffffff; color: var(--accent); box-shadow: 6px 6px 0 rgba(13, 24, 42, .25); }
.cta-band .btn--light:hover { transform: translate(-2px, -2px); box-shadow: 9px 9px 0 rgba(22, 36, 58, .12); }
.cta-band .btn--ghost { border-color: rgba(255, 255, 255, .55); color: var(--accent-ink); }
.cta-band .btn--ghost:hover { background: var(--accent-ink); color: var(--accent); border-color: var(--accent-ink); }

/* ============================================================
   PAGES INTÉRIEURES — bannière
   ============================================================ */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.2rem, 7vw, 5.5rem) 0;
  /* se fond depuis l'en-tête (bg) vers bg-2 puis se fond dans le contenu (bg) */
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 32%, var(--bg-2) 68%, var(--bg) 100%);
}
.page-hero::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 6px;
  background: repeating-linear-gradient(45deg, var(--accent) 0 13px, transparent 13px 26px);
}
.breadcrumb {
  font-family: var(--font-mono);
  font-size: .74rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted-2); margin-bottom: 1.2rem;
}
.breadcrumb a:hover { color: var(--accent); }
.page-hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); margin: 1rem 0; }
.page-hero p { max-width: 58ch; font-size: 1.08rem; }

/* ============================================================
   SERVICES — bloc détaillé
   ============================================================ */
.svc-detail {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3.2rem);
  align-items: center;
  padding: clamp(2.2rem, 5vw, 3.4rem) 0;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--line-strong) 25%, var(--line-strong) 75%, transparent) 1;
}
.svc-detail:last-child { border-image: none; border-bottom: none; }
.svc-detail:nth-child(even) .svc-detail__media { order: 2; }
.svc-detail__media {
  position: relative;
  border-radius: 0;
  border: 1px solid var(--line-strong);
  min-height: 320px;
  background:
    linear-gradient(var(--bg-2), var(--bg-2)),
    repeating-linear-gradient(135deg, rgba(31, 78, 121, .10) 0 2px, transparent 2px 13px);
}
.svc-detail__media::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, var(--line) 0 1px, transparent 1px 14px);
  pointer-events: none;
}
.svc-detail__media .ph-tag { position: absolute; top: 16px; left: 16px; z-index: 1; }
.svc-detail__media .badge-icon {
  position: absolute; right: 0; bottom: 0;
  width: 64px; height: 64px;
  display: grid; place-items: center;
  background: var(--accent);
  z-index: 1;
}
.svc-detail__media .badge-icon svg { width: 30px; height: 30px; color: var(--accent-ink); }
.svc-detail h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: .8rem 0; }
.svc-detail .feat-list { margin-top: 1.3rem; display: grid; gap: .65rem; }
.svc-detail .feat-list li {
  display: flex; gap: .65rem; align-items: flex-start;
  color: var(--muted); font-size: .96rem;
}
.svc-detail .feat-list svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: .25rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.info-card {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  transition: border-color .18s ease, transform .12s ease;
}
.info-card:hover { border-color: var(--accent); transform: translateX(3px); }
.info-card .ic {
  flex: none; width: 48px; height: 48px; border-radius: 0;
  display: grid; place-items: center;
  background: var(--bg-2); border: 1px solid var(--line-strong);
}
.info-card .ic svg { width: 22px; height: 22px; color: var(--accent); }
.info-card h3 {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .74rem; color: var(--muted); font-weight: 600;
  margin-bottom: .3rem;
}
.info-card p, .info-card a { font-size: 1.02rem; color: var(--text); }
.info-card a:hover { color: var(--accent); }

.form {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .72rem;
  font-weight: 600;
  margin-bottom: .5rem;
  color: var(--muted);
}
.field label .req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .9rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--text);
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.field textarea { resize: vertical; min-height: 130px; }
.form .note {
  font-family: var(--font-mono);
  font-size: .72rem; color: var(--muted-2); margin-top: .6rem;
}
.form__status {
  display: none;
  margin-top: 1rem;
  padding: .95rem 1.1rem;
  border-radius: 0;
  background: var(--bg-2);
  border: 1px solid var(--accent);
  border-left-width: 3px;
  color: var(--text);
  font-size: .92rem;
}
.form__status.show { display: block; }
.form__status.is-error { border-color: #b3261e; background: #fbeceb; color: #7a1b16; }

/* Carte (espace réservé) */
.map-ph {
  position: relative;
  margin-top: 2.6rem;
  border-radius: 0;
  border: 1px solid var(--line-strong);
  min-height: 320px;
  background:
    linear-gradient(var(--bg-2), var(--bg-2)),
    repeating-linear-gradient(0deg, transparent 0 39px, var(--line) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, var(--line) 39px 40px);
  display: grid; place-items: center;
}

/* ============================================================
   UTILITAIRES
   ============================================================ */
.center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.area-tags { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.3rem; }
.area-tags span {
  padding: .45rem .9rem;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .74rem;
  color: var(--muted);
  background: var(--bg-2);
}

/* ============================================================
   PIED DE PAGE (silhouette de toiture en dents de scie)
   ============================================================ */
.footer {
  position: relative;
  /* se fond depuis le noir du site (--bg) vers bg-2 -> pas de bloc à teinte différente */
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 24%);
  border-top: 0;
  padding-top: clamp(3.2rem, 6vw, 4.8rem);
}
.footer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 16px;
  background: var(--accent);
  -webkit-mask-image: conic-gradient(from -45deg at 50% 0, #000 0 90deg, transparent 0);
  mask-image: conic-gradient(from -45deg at 50% 0, #000 0 90deg, transparent 0);
  -webkit-mask-size: 30px 16px;
  mask-size: 30px 16px;
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr .9fr .9fr .9fr 1.15fr;
  gap: 2rem;
  padding-bottom: 3rem;
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--accent);
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.footer__brand .brand { font-size: 1.6rem; }
.footer__brand p { font-size: .95rem; margin: 1.1rem 0; max-width: 34ch; }
.footer__col a, .footer__col li { color: var(--muted); font-size: .95rem; padding: .32rem 0; display: block; }
.footer__col a:hover { color: var(--accent); }
.footer__contact li {
  display: flex; gap: .6rem; align-items: flex-start;
  color: var(--muted); font-size: .95rem; padding: .38rem 0;
}
.footer__contact svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: .2rem; }
.footer__contact a { color: var(--muted); }
.footer__contact a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0;
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: .74rem; text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted-2);
}
.footer__bottom .areas { color: var(--muted); }

/* ============================================================
   SECTION AVEC VIDÉO DE FOND (flux HLS)
   ============================================================ */
.section--media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--bg);
  background-size: cover;
  background-position: center;
}
.section--media > .container { position: relative; z-index: 1; }
.section--media > section { position: relative; z-index: 1; } /* sections empilées au-dessus de la vidéo (bande à 2 sections) */
.section__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.section__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* fond plein aux bords -> la vidéo se fond dans les sections voisines */
  background: linear-gradient(180deg,
    var(--bg) 0%,
    rgba(13, 24, 42,.72) 16%,
    rgba(13, 24, 42,.66) 50%,
    rgba(13, 24, 42,.72) 84%,
    var(--bg) 100%);
}

/* Bande à fond vidéo « teintée » : on désature la vidéo puis on la recolore
   en orange (duotone) pour coller au thème — au lieu de ses couleurs d'origine. */
.section__video--mono { filter: grayscale(100%) contrast(1.06) brightness(.82); }
.section__tint {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #2f5e8f 0%, #16335c 52%, #0b1b30 100%);
  mix-blend-mode: color;     /* applique la teinte orange à la vidéo en niveaux de gris */
  opacity: .68;              /* moins d'orange : laisse plus de noir / neutre transparaître */
}
.media-band .section__overlay {
  background: linear-gradient(180deg,
    var(--bg) 0%,
    rgba(13, 24, 42,.70) 18%,
    rgba(13, 24, 42,.60) 50%,
    rgba(13, 24, 42,.70) 82%,
    var(--bg) 100%);
}
/* les encadrés de stats laissent transparaître la vidéo teintée */
.media-band .stat-box { background: rgba(13, 24, 42, .5); }

/* ============================================================
   EFFET DE LUEUR ORANGE (glow) + APPARITION AU DÉFILEMENT
   Inspiré de l'effet « glowing feature card » :
   halo dégradé flouté derrière la carte (filter: blur) qui respire
   et s'intensifie au survol. Reste fidèle au thème (orange + carré).
   ============================================================ */
:root { --glow: linear-gradient(135deg, #1f4e79 0%, #3a6ea5 50%, #9fc0e0 100%); }

.svc-card, .card, .quote, .info-card { position: relative; z-index: 0; }
.svc-card { overflow: visible; } /* laisser déborder le halo */

/* Halo flouté derrière la carte */
.svc-card::after,
.card::after,
.quote::after,
.info-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: var(--glow);
  filter: blur(26px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}
/* Lueur permanente qui « respire » sur les cartes principales */
.svc-card::after,
.quote::after {
  opacity: .18;
  animation: glowPulse 4.8s ease-in-out infinite;
}
.card::after { opacity: .14; }

/* Décalage des pulsations pour un effet vivant (non synchronisé) */
.svc-card:nth-child(2)::after, .quote:nth-child(2)::after { animation-delay: -1.4s; }
.svc-card:nth-child(3)::after, .quote:nth-child(3)::after { animation-delay: -2.7s; }
.svc-card:nth-child(4)::after { animation-delay: -3.6s; }
.svc-card:nth-child(5)::after { animation-delay: -0.8s; }
.svc-card:nth-child(6)::after { animation-delay: -2.1s; }

/* Intensification au survol */
.svc-card:hover::after,
.card:hover::after,
.quote:hover::after,
.info-card:hover::after {
  opacity: .6;
  animation: none;
}
@keyframes glowPulse { 0%, 100% { opacity: .1; } 50% { opacity: .3; } }

/* Apparition au défilement (fondu + montée), pilotée par main.js */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { min-height: 300px; }
  .hero::before { opacity: .07; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat-box:nth-child(3) { border-left: 0; }
  .stats .stat-box { border-top: 1px solid var(--line); }
  .stats .stat-box:nth-child(-n+2) { border-top: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid, .svc-detail { grid-template-columns: 1fr; }
  .svc-detail:nth-child(even) .svc-detail__media { order: 0; }
  .split .media-ph { order: -1; }
}

@media (max-width: 1180px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    inset: 82px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line-strong);
    padding: .6rem 1rem 1.2rem;
    transform: translateY(-140%);
    transition: transform .3s ease;
  }
  body.nav-open .nav__links { transform: translateY(0); }
  .nav__links a { padding: 1rem; font-size: .95rem; border-bottom: 1px solid var(--line); }
  .nav__links a.is-active::after { display: none; }
  .nav__phone span { display: none; }

  /* La barre ne garde que : marque · téléphone · menu — le gros bouton sort de la barre */
  .nav__cta { margin-left: auto; gap: .5rem; }
  .nav__cta .btn--primary { display: none; }
  .nav__toggle { margin-left: .2rem; }

  /* Le CTA « Soumission » descend dans le menu déroulant, en pleine largeur */
  .nav-cta-mobile { display: block; padding: 1rem 1rem 0; border-bottom: 0; }
  .nav-cta-mobile a.btn { display: block; width: 100%; text-align: center; padding: .95rem 1rem; border-bottom: 0; font-size: .85rem; }
}

@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats .stat-box { border-left: 0; border-top: 1px solid var(--line); }
  .stats .stat-box:first-child { border-top: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .strip__items span:first-child { padding-left: 0; }
}

/* Accessibilité — réduction des animations */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .hero__video, .section__video { display: none; } /* on garde l'image fixe (poster) au lieu de la vidéo */
}

/* ============================================================
   PAGE TÉMOIGNAGES — carrousel 3D (porté en JS pur, piloté par js/temoignages.js)
   Chaque carte = un avis client. Physique 3D : perspective + preserve-3d.
   ============================================================ */
.tc-stage {
  position: relative;
  width: 100%;
  min-height: calc(100dvh - 82px);
  background: var(--bg); /* même noir que le reste du site (pas de #000 pur) */
  overflow: hidden;
}
.tc-camera {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  perspective: 1350px;
  pointer-events: none;
}
.tc-viewport { position: absolute; transform-style: preserve-3d; }
.tc-card {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  backface-visibility: visible;
  will-change: transform;
}
/* tranches structurelles -> épaisseur 3D volumétrique */
.tc-layer { position: absolute; inset: 0; border-radius: 16px; overflow: hidden; pointer-events: none; }
.tc-layer--mid { background: #26262a; border: 1px solid #26262a; } /* tranche d'épaisseur sombre (mat) */
/* faces avant / arrière */
.tc-face {
  position: absolute; inset: 0;
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(31, 78, 121,.32);   /* fin liseré orange */
  backface-visibility: hidden;
  background: #14233c;                       /* noir mat (pas de brillance) */
}
.tc-face--back { transform: rotateX(180deg); }
.tc-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tc-bg--blur { filter: blur(10px) brightness(.55); transform: scale(1.2); }
/* teinte sombre + orange (thème) par-dessus la vidéo */
.tc-face__tint {
  position: absolute; inset: 0;
  background: linear-gradient(155deg, rgba(31, 78, 121,.30) 0%, rgba(13, 24, 42,.46) 46%, rgba(13, 24, 42,.9) 100%);
}
.tc-quotemark {
  position: absolute; top: .1em; right: .42em;
  font-family: var(--font-display); font-size: 3em; line-height: 1;
  color: rgba(31, 78, 121,.30);
}
.tc-face__content {
  position: absolute; inset: 0;
  padding: 1.05em 1.15em;
  display: flex; flex-direction: column; justify-content: space-between;
}
.tc-bottom { display: flex; flex-direction: column; gap: .45em; }
.tc-stars { display: flex; gap: .1em; color: var(--accent); }
.tc-stars svg { width: .95em; height: .95em; }
.tc-quote { font-family: var(--font-body); font-weight: 600; font-size: .8em; line-height: 1.42; color: var(--accent-2); }
.tc-who { font-family: var(--font-mono); font-size: .56em; letter-spacing: .04em; text-transform: uppercase; color: rgba(184,81,74,.8); }
.tc-who b { color: var(--accent); font-weight: 600; }
/* face arrière */
.tc-back__bar { position: absolute; left: 12%; right: 12%; top: 18%; height: 3px; background: var(--accent); }
.tc-back__content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: .5em; padding: 1em;
}
.tc-back__content .tc-stars { justify-content: center; }
.tc-back__name { font-family: var(--font-display); text-transform: uppercase; font-size: 1.2em; color: var(--accent); line-height: 1; letter-spacing: .02em; }
.tc-back__content .tc-who { font-size: .58em; }
/* indice d'interaction */
.tc-hint {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 5;
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .16em;
  font-size: .68rem; color: rgba(13, 24, 42,.38); pointer-events: none;
}
/* Sur la page Témoignages : les cartes se fondent aux bords (pas de coupe nette)
   et le carrousel déborde sur le pied de page (qui remonte dessous, sans dent de scie). */
.page-temoignages .tc-stage {
  position: relative;
  z-index: 1;
  margin-bottom: -36px;            /* léger débordement des cartes sur le pied de page */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 80%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 80%, transparent 100%);
}
.page-temoignages .tc-hint { bottom: 6rem; } /* remonter l'indice au-dessus de la zone fondue */
.page-temoignages .footer {
  position: relative;
  z-index: 0;
  padding-top: clamp(5.5rem, 10vw, 8rem); /* pied de page abaissé : plus d'air, moins étouffé */
}
.page-temoignages .footer::before { display: none; } /* pas de dent de scie : transition fondue */

/* ============================================================
   PAGES SEO (services, secteurs, conseils) — composants
   ============================================================ */
/* FAQ — accordéon */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem .25rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; color: var(--text);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-family: var(--font-display); font-size: 1.5rem; line-height: 1;
  color: var(--accent); flex: none;
}
.faq__item[open] summary::after { content: "–"; }
.faq__item summary:hover { color: var(--accent); }
.faq__a { padding: 0 .25rem 1.25rem; }
.faq__a p { font-size: .98rem; max-width: 72ch; }

/* Article / guide (prose) */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 {
  font-family: var(--font-body); text-transform: none; font-weight: 800;
  letter-spacing: -.01em; line-height: 1.25;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  margin: 2.3rem 0 .7rem;
}
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 1.06rem; line-height: 1.7; }

/* Liste à puces (coches) — version générale (utilisée hors .svc-detail) */
.feat-list { margin-top: 1.3rem; display: grid; gap: .65rem; }
.feat-list li { display: flex; gap: .65rem; align-items: flex-start; color: var(--muted); font-size: .96rem; }
.feat-list svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: .25rem; }

/* ============================================================
   BLOGUE / CONSEILS — cartes d'article avec image
   ============================================================ */
.post-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  color: inherit;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.post-card:hover { transform: translate(-3px, -3px); border-color: var(--accent); box-shadow: 7px 7px 0 rgba(22, 36, 58, .14); }
.post-card__cover {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  background-color: var(--bg-2);
  background-size: cover; background-position: center;
  border-bottom: 1px solid var(--line);
}
.post-card__cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13, 24, 42, .72));
}
.post-card__tag {
  position: absolute; left: .85rem; bottom: .8rem; z-index: 1;
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em;
  font-size: .64rem; color: var(--accent);
  background: rgba(13, 24, 42, .6); border: 1px solid var(--line-strong);
  padding: .3rem .55rem;
}
.post-card__body { padding: 1.4rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.post-card__body h3 { font-size: 1.1rem; line-height: 1.25; }
.post-card__body p { font-size: .94rem; flex: 1; }
.post-card .more {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: .3rem;
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em;
  font-weight: 600; font-size: .74rem; color: var(--accent);
}
.post-card .more svg { width: 15px; height: 15px; transition: transform .2s ease; }
.post-card:hover .more svg { transform: translateX(5px); }

/* Image de couverture d'un article */
.guide-cover {
  max-width: 900px; margin: 0 auto;
  aspect-ratio: 16 / 7;
  background-color: var(--bg-2);
  background-size: cover; background-position: center;
  border: 1px solid var(--line-strong);
}

/* ============================================================
   PHOTOS RÉELLES — héros, services, galerie
   ============================================================ */
/* Image de fond dans les bannières (page-hero) */
.page-hero.has-bg { background: #0c0d10 var(--hero-img) center / cover no-repeat; }
.page-hero.has-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(100deg, rgba(13, 24, 42,.96) 0%, rgba(13, 24, 42,.82) 44%, rgba(13, 24, 42,.5) 100%),
    linear-gradient(0deg, rgba(13, 24, 42,.9), rgba(13, 24, 42,.12) 62%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero::before { z-index: 2; }

/* Boîtes média qui portent une vraie photo (services, à propos) */
.svc-detail__media.has-photo::after,
.media-ph.has-photo::after { display: none; }
.svc-detail__media.has-photo .ph-tag,
.media-ph.has-photo .ph-tag { display: none; }
.media-ph.has-photo { background-size: cover; background-position: center; }

/* ---- Galerie ---- */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.gal-item {
  display: block;
  aspect-ratio: 3 / 2;
  background-size: cover; background-position: center;
  border: 1px solid var(--line);
  position: relative;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.gal-item:hover { transform: translate(-3px, -3px); border-color: var(--accent); box-shadow: 7px 7px 0 rgba(22, 36, 58, .14); }
.gal-grid--tall .gal-item { aspect-ratio: 4 / 5; }

/* Avant / Après */
.ba-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.4rem, 3vw, 2.2rem); }
.ba-pair { border: 1px solid var(--line); background: var(--surface); padding: 1rem; }
.ba-cols { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.ba-side { position: relative; aspect-ratio: 4 / 3; background-size: cover; background-position: center; }
.ba-side span {
  position: absolute; top: .6rem; left: .6rem;
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .12em;
  font-size: .68rem; color: #fff; background: rgba(13, 24, 42,.7);
  border: 1px solid var(--line-strong); padding: .28rem .55rem;
}
.ba-side.apres span { color: var(--accent); }
.ba-note { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); margin-top: .8rem; }

@media (max-width: 760px) {
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .gal-grid { grid-template-columns: 1fr; }
  .ba-cols { grid-template-columns: 1fr; }
}

/* ---- Carte Google intégrée (contact) ---- */
.map-embed {
  margin-top: 2.6rem;
  border: 1px solid var(--line-strong);
  height: clamp(300px, 42vw, 460px);
  overflow: hidden;
  position: relative;
  background: var(--bg-2);
}
.map-embed iframe {
  width: 100%; height: 100%; border: 0; display: block;
  filter: grayscale(.12);
}
.map-note { margin-top: .8rem; font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }
.map-note a { color: var(--accent); }
.map-note a:hover { color: var(--text); }

/* ---- Galerie en onglets ("mini-pages") ---- */
.gal-radio { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.gal-tabs {
  display: flex; flex-wrap: wrap; gap: .25rem;
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: clamp(1.6rem, 4vw, 2.6rem);
}
.gal-tabs label {
  cursor: pointer; padding: .85rem 1.15rem; margin-bottom: -1px;
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .05em;
  font-size: .75rem; color: var(--muted); white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.gal-tabs label:hover { color: var(--text); }
.gal-panel { display: none; }
.gal-panel__intro { color: var(--muted); margin-bottom: 1.4rem; max-width: 60ch; }
/* afficher le panneau actif + styliser l'onglet actif */
#gtab-1:checked ~ .gal-panels .gal-panel:nth-child(1),
#gtab-2:checked ~ .gal-panels .gal-panel:nth-child(2),
#gtab-3:checked ~ .gal-panels .gal-panel:nth-child(3),
#gtab-4:checked ~ .gal-panels .gal-panel:nth-child(4),
#gtab-5:checked ~ .gal-panels .gal-panel:nth-child(5) { display: block; }
#gtab-1:checked ~ .gal-tabs label[for="gtab-1"],
#gtab-2:checked ~ .gal-tabs label[for="gtab-2"],
#gtab-3:checked ~ .gal-tabs label[for="gtab-3"],
#gtab-4:checked ~ .gal-tabs label[for="gtab-4"],
#gtab-5:checked ~ .gal-tabs label[for="gtab-5"] { color: var(--accent); border-bottom-color: var(--accent); }
.gal-radio:focus-visible ~ .gal-tabs label { outline: none; }

/* ============================================================
   THÈME CLAIR — texte clair au-dessus des MÉDIAS SOMBRES
   (héros vidéo, bannières photo, bandes vidéo teintées marine).
   Scoped pour ne pas toucher les cartes blanches à l'intérieur.
   ============================================================ */
/* Héros d'accueil (vidéo) */
.hero h1, .hero__badge { color: #fff; }
.hero .hero__lead { color: rgba(255,255,255,.9); }
.hero .hl { color: #9fc0e0; }
.hero__trust li { color: rgba(255,255,255,.92); }
.hero__trust li svg { color: #9fc0e0; }
.hero__stat-card .stat strong { color: #fff; }
.hero__stat-card .stat span { color: rgba(255,255,255,.72); }

/* Bannières de pages intérieures (photo + voile marine) */
.page-hero.has-bg h1 { color: #fff; }
.page-hero.has-bg p { color: rgba(255,255,255,.9); }
.page-hero.has-bg .eyebrow { color: #9fc0e0; }
.page-hero.has-bg .eyebrow::before { color: #fff; border-color: rgba(255,255,255,.42); }
.page-hero.has-bg .breadcrumb,
.page-hero.has-bg .breadcrumb a { color: rgba(255,255,255,.8); }
.page-hero.has-bg .breadcrumb a:hover { color: #fff; }

/* Bandes à fond vidéo : on n'éclaircit que l'en-tête de section + les stats,
   PAS les cartes blanches (svc-card, quote) posées par-dessus. */
.section--media .section-head h2 { color: #fff; }
.section--media .section-head p { color: rgba(255,255,255,.9); }
.section--media .section-head .eyebrow { color: #9fc0e0; }
.section--media .section-head .eyebrow::before { color: #fff; border-color: rgba(255,255,255,.42); }
.media-band .stat-box strong { color: #fff; }
.media-band .stat-box span { color: rgba(255,255,255,.74); }

/* Détails de services posés directement sur une bande vidéo (services.html) */
.section--media .svc-detail h2 { color: #fff; }
.section--media .svc-detail p { color: rgba(255,255,255,.9); }
.section--media .svc-detail .feat-list li { color: rgba(255,255,255,.92); }
.section--media .svc-detail .eyebrow { color: #9fc0e0; }
.section--media .svc-detail .eyebrow::before { color: #fff; border-color: rgba(255,255,255,.42); }

/* Boutons « fantômes » posés sur un fond sombre (héros vidéo, bandes média, bannières photo)
   → texte + bordure clairs pour rester lisibles */
.hero .btn--ghost,
.section--media .btn--ghost,
.media-band .btn--ghost,
.page-hero.has-bg .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}
.hero .btn--ghost:hover,
.section--media .btn--ghost:hover,
.media-band .btn--ghost:hover,
.page-hero.has-bg .btn--ghost:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, .12);
}

/* Étiquette de catégorie posée sur l'image d'un article de blog → texte clair */
.post-card__tag { color: #fff; border-color: rgba(255, 255, 255, .32); background: rgba(13, 24, 42, .72); }

/* ---- Sélecteur de langue (FR | EN) dans la barre ---- */
.lang-switch { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .04em; }
.lang-switch a { padding: .25rem .45rem; color: var(--muted); transition: color .15s ease; }
.lang-switch a + a { border-left: 1px solid var(--line-strong); }
.lang-switch a.is-active { color: var(--accent); }
.lang-switch a:hover { color: var(--text); }
