/* ==========================================================================
   LD Industrie & Bâtiment — feuille de style principale
   Aucune dépendance externe (RGPD-safe : pas de Google Fonts, pas de CDN).
   ========================================================================== */

/* --- 1. Tokens ---------------------------------------------------------- */
:root {
  /* Couleurs — reprises du logo : noir, rouge, et les gris du bâtiment.
     Le rouge est un accent, pas une couleur de fond : il ne sert qu'aux
     éléments d'action et aux détails. Tout le reste est anthracite ou béton. */
  --ink:          #14171C;   /* anthracite — couleur dominante */
  --ink-2:        #1D2128;
  --ink-3:        #282D35;
  --paper:        #FFFFFF;
  --paper-2:      #F1F3F5;   /* béton clair */
  --paper-3:      #E2E6EA;

  --text:         #14171C;
  --text-muted:   #5C646E;
  --text-invert:  #EDEFF2;
  --text-invert-muted: #9BA3AD;

  --steel:        #7A838E;   /* gris acier — icônes et détails neutres */

  --accent:       #E31E24;   /* rouge du logo — aplats et boutons */
  --accent-dark:  #B5161B;   /* survol */
  --accent-ink:   #C0141A;   /* rouge assombri, lisible en petit texte (6,3:1) */
  --accent-soft:  #FCEBEB;

  --line:         #DCE0E5;
  --line-dark:    rgba(255, 255, 255, 0.10);

  --ok:           #1E9E5A;
  --err:          #D93A3A;

  /* Typographie */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  --font-cond: "Segoe UI Semibold", var(--font-sans);

  /* Rythme */
  --wrap: 1200px;
  --wrap-narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 9vw, 7rem);

  /* Divers */
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(11, 14, 19, .06), 0 2px 8px rgba(11, 14, 19, .04);
  --shadow-md: 0 4px 12px rgba(11, 14, 19, .08), 0 12px 32px rgba(11, 14, 19, .08);
  --shadow-lg: 0 8px 24px rgba(11, 14, 19, .10), 0 24px 64px rgba(11, 14, 19, .12);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --header-h: 76px;
}

/* --- 2. Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.6vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.4rem); letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; letter-spacing: 0; }
p  { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: .45em; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- 3. Utilitaires ----------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4rem); }
.section--dark { background: var(--ink); color: var(--text-invert); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--alt { background: var(--paper-2); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 999;
  background: var(--accent); color: #fff; padding: .75rem 1.25rem;
  border-radius: var(--radius); font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Sur-titre de section */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-ink);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--accent); flex: none;
}

.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--text-muted); line-height: 1.6; }
.section--dark .lead { color: var(--text-invert-muted); }
.section--dark .eyebrow, .hero .eyebrow, .cta .eyebrow, .pagehero .eyebrow { color: var(--accent); }
.section--dark .card__link, .section--dark .faq__q:hover { color: var(--accent); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* --- 4. Boutons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem;
  font-weight: 600; font-size: 1rem; line-height: 1.2;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; text-align: center;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(227,30,36,.32); }
.btn--primary:hover { background: var(--accent-dark); box-shadow: 0 8px 22px rgba(227,30,36,.40); }

/* Contour : par défaut sur fond clair (texte encre), variante claire sur fond sombre. */
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }

.section--dark .btn--ghost,
.hero .btn--ghost,
.cta .btn--ghost,
.pagehero .btn--ghost,
.btn--ghost-light { border-color: rgba(255,255,255,.45); color: #fff; }

.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover,
.cta .btn--ghost:hover,
.pagehero .btn--ghost:hover,
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }

.btn--lg { padding: 1.1rem 2.2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* --- 5. En-tête --------------------------------------------------------- */
/* Fond clair : le logo est noir sur fond blanc, l'en-tête doit lui ressembler. */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  transition: box-shadow .25s var(--ease);
}
.header.is-stuck { box-shadow: 0 6px 24px rgba(20, 23, 28, .10); }

/* La barre de navigation est volontairement plus large que la colonne de texte
   (1200 px) : logo + menu + téléphone n'y tenaient pas et débordaient à droite,
   ce qui donnait une barre visuellement décentrée. */
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: var(--header-h);
  max-width: 1440px;
}

/* --- Logo ---------------------------------------------------------------
   Logo officiel de l'entreprise (fichier fourni). Deux fichiers : la version
   d'origine pour les fonds clairs, une version à lettres blanches pour le
   pied de page sombre. Le ratio natif est 324 × 270. */
.logo { display: flex; align-items: center; gap: .75rem; flex: none; }
.logo__mark { width: 46px; height: auto; flex: none; }

.logo__text { display: flex; flex-direction: column; line-height: 1.12; }
.logo__name { font-size: .98rem; font-weight: 800; letter-spacing: .005em; color: var(--ink); white-space: nowrap; }
.logo__tag { font-size: .63rem; letter-spacing: .15em; text-transform: uppercase; color: var(--accent-ink); font-weight: 700; white-space: nowrap; }

/* Sur fond sombre (pied de page) : lettres blanches, liseré anthracite. */
.footer .logo__name    { color: #fff; }
.footer .logo__tag     { color: var(--accent); }

@media (max-width: 400px) { .logo__tag { display: none; } }

.nav { display: flex; align-items: center; gap: 0; }
.nav__link {
  position: relative; padding: .6rem .72rem; border-radius: var(--radius);
  font-size: .92rem; font-weight: 500; color: var(--text-muted);
  transition: color .18s var(--ease);
  white-space: nowrap;
}
.nav__link:hover { color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: .72rem; right: .72rem; bottom: .25rem;
  height: 2px; background: var(--accent); border-radius: 2px;
}

.nav .btn { white-space: nowrap; padding: .7rem 1.2rem; font-size: .93rem; margin-left: .8rem; }
/* Sur grand écran, le bouton devis est retiré de la barre : avec le sélecteur
   de langue, logo + menu + langue + téléphone ne tiennent plus ensemble.
   Le bouton téléphone reste l'action de l'en-tête, et « Demander un devis »
   figure déjà dans le hero, la bande d'appel et le menu mobile. */
@media (min-width: 1300px) { .nav .btn { display: none; } }

.header__cta { display: flex; align-items: center; gap: .75rem; flex: none; }
.header__phone {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .98rem; color: var(--ink);
  padding: .55rem .9rem; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
  white-space: nowrap;
}
.header__phone:hover { border-color: var(--accent); background: var(--accent-soft); }
.header__phone svg { flex: none; color: var(--accent); }

.burger {
  display: none; width: 44px; height: 44px; padding: 0;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; align-items: center; justify-content: center; flex: none;
}
.burger__bars { position: relative; width: 20px; height: 2px; background: var(--ink); transition: background .2s; }
.burger__bars::before, .burger__bars::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink);
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.burger__bars::before { top: -6px; }
.burger__bars::after  { top: 6px; }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 1299px) {
  .burger { display: flex; }
  .header__phone .header__phone-label { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(20,23,28,.12);
    padding: .5rem var(--gutter) 1.5rem;
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__link { padding: .95rem .25rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link[aria-current="page"]::after { left: .25rem; right: auto; width: 24px; bottom: .5rem; }
  .nav .btn { margin-top: 1.1rem; }
}

/* --- 5 bis. Sélecteur de langue ----------------------------------------- */
/* La traduction est déléguée à Google via un simple lien sortant : aucun
   script tiers n'est chargé ici, donc toujours aucun cookie ni bandeau. */
.lang { position: relative; flex: none; }

.lang__btn {
  display: inline-flex; align-items: center; gap: .4rem;
  height: 42px; padding: 0 .65rem;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); font-size: .84rem; font-weight: 700; line-height: 1;
  cursor: pointer;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.lang__btn:hover { border-color: var(--accent); background: var(--accent-soft); }
.lang__btn > svg:first-child { flex: none; color: var(--steel); }
.lang__chevron { flex: none; color: var(--steel); transition: transform .2s var(--ease); }
.lang__btn[aria-expanded="true"] .lang__chevron { transform: rotate(180deg); }

.lang__menu {
  position: absolute; right: 0; top: calc(100% + .55rem); z-index: 110;
  min-width: 215px; margin: 0; padding: .35rem;
  list-style: none;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.lang__menu li { margin: 0; }
.lang__menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .6rem .7rem; border-radius: var(--radius);
  font-size: .93rem; color: var(--text);
}
.lang__menu a:hover { background: var(--paper-2); color: var(--accent-ink); }
.lang__menu a > span { font-size: .72rem; font-weight: 700; letter-spacing: .07em; color: var(--steel); }
.lang__sep { height: 1px; margin: .35rem .25rem; background: var(--line); }
.lang__note {
  padding: .45rem .7rem .25rem; margin: 0;
  font-size: .74rem; line-height: 1.45; color: var(--text-muted);
}

/* Version repliée dans le menu mobile : une simple rangée de codes langue. */
.nav__lang { display: none; }

@media (max-width: 1299px) {
  .lang { display: none; }               /* trop serré à côté du logo sur petit écran */
  .nav__lang {
    display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
    margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
  }
  .nav__lang > span { font-size: .85rem; color: var(--text-muted); margin-right: .2rem; }
  .nav__lang a {
    padding: .45rem .75rem; border: 1px solid var(--line); border-radius: var(--radius);
    font-size: .85rem; font-weight: 700; color: var(--text-muted);
  }
  .nav__lang a:hover { border-color: var(--accent); color: var(--accent-ink); }
}

/* --- 6. Hero ------------------------------------------------------------ */
.hero {
  position: relative; isolation: isolate;
  background: var(--ink); color: var(--text-invert);
  padding-block: clamp(4rem, 11vw, 8.5rem) clamp(3.5rem, 9vw, 7rem);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  opacity: .55; /* photo réelle : elle doit se lire, le voile ci-dessous garde le texte lisible */
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(227,30,36,.10) 0%, transparent 55%),
    linear-gradient(180deg, rgba(20,23,28,.60) 0%, rgba(20,23,28,.90) 72%, var(--ink) 100%);
}
.hero__inner { position: relative; max-width: 54rem; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lead { font-size: clamp(1.1rem, 1.9vw, 1.35rem); color: var(--text-invert-muted); max-width: 40rem; margin-bottom: 2.2rem; }
.hero .btn-row { margin-bottom: 2.6rem; }

.hero__meta { display: flex; flex-wrap: wrap; gap: 1.2rem 2.4rem; }
.hero__meta-item { display: flex; align-items: center; gap: .65rem; font-size: .95rem; color: var(--text-invert-muted); }
.hero__meta-item svg { color: var(--steel); flex: none; }
.hero__meta-item b { color: #fff; font-weight: 600; }

/* Hero secondaire (pages internes) */
.pagehero {
  position: relative; isolation: isolate;
  background: var(--ink-2); color: var(--text-invert);
  padding-block: clamp(3rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
}
.pagehero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(90% 120% at 88% 0%, rgba(227,30,36,.09) 0%, transparent 58%);
}
.pagehero h1 { color: #fff; max-width: 20ch; }
.pagehero .lead { max-width: 46rem; }
.pagehero .btn-row { margin-top: 2rem; }

.breadcrumb { font-size: .85rem; color: var(--text-invert-muted); margin-bottom: 1.4rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: .45rem; }
.breadcrumb li + li::before { content: "›"; color: var(--accent); }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* --- 7. Bandeau de réassurance ------------------------------------------ */
/* Béton clair : sobre, sans aplat de couleur. Seules les icônes sont rouges. */
.trustbar { background: var(--paper-2); color: var(--text); border-bottom: 1px solid var(--line); }
.trustbar__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px; background: var(--line);
}
.trustbar__item {
  background: var(--paper-2); padding: 1.6rem var(--gutter);
  display: flex; align-items: center; gap: .9rem;
}
.trustbar__item svg { flex: none; color: var(--steel); }
.trustbar__num { font-size: 1.6rem; font-weight: 800; line-height: 1; display: block; color: var(--ink); }
.trustbar__label { font-size: .88rem; color: var(--text-muted); line-height: 1.35; }

/* --- 8. Grille de services ---------------------------------------------- */
.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem 1.8rem 1.8rem; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }

/* Icône neutre au repos, rouge au survol : la couleur souligne, elle n'occupe pas. */
.card__icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  background: var(--paper-2); color: var(--ink);
  display: grid; place-items: center; margin-bottom: 1.3rem; flex: none;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.card:hover .card__icon { background: var(--accent-soft); color: var(--accent); }
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--text-muted); font-size: .98rem; }
.card__list { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.card__list li {
  position: relative; padding-left: 1.5rem; font-size: .95rem; color: var(--text-muted);
}
.card__list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; background: var(--steel); border-radius: 50%;
}
.card__link {
  margin-top: auto; padding-top: 1.2rem;
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; color: var(--accent-ink); font-size: .96rem;
}
.card__link svg { transition: transform .2s var(--ease); }
.card:hover .card__link svg { transform: translateX(4px); }

/* Carte sur fond sombre */
.section--dark .card { background: var(--ink-2); border-color: var(--line-dark); }
.section--dark .card p, .section--dark .card__list li { color: var(--text-invert-muted); }
.section--dark .card__icon { background: var(--ink-3); color: #fff; }
.section--dark .card:hover .card__icon { background: rgba(227,30,36,.16); color: var(--accent); }

/* --- 9. Bloc texte + visuel --------------------------------------------- */
.split {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
}
.split--reverse > *:first-child { order: 2; }
@media (max-width: 720px) { .split--reverse > *:first-child { order: 0; } }

.split__media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--ink-2);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }

.figure-badge {
  position: absolute; left: 1.2rem; bottom: 1.2rem;
  background: var(--accent); color: #fff; padding: .7rem 1.1rem;
  border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.figure-badge b { display: block; font-size: 1.5rem; line-height: 1; }
.figure-badge span { font-size: .78rem; opacity: .92; }

/* Emplacement photo en attente */
.placeholder {
  display: grid; place-content: center; gap: .5rem; text-align: center;
  height: 100%; min-height: 240px; padding: 2rem;
  background:
    repeating-linear-gradient(45deg, var(--ink-2) 0 12px, var(--ink-3) 12px 24px);
  color: var(--text-invert-muted); font-size: .85rem; letter-spacing: .04em;
}
.placeholder svg { margin-inline: auto; opacity: .45; }
.placeholder b { color: var(--accent); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }

/* --- 10. Étapes / process ----------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step {
  position: relative; padding: 2.4rem 1.5rem 1.6rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.section--dark .step { background: var(--ink-2); border-color: var(--line-dark); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: -.35rem; right: 1rem;
  font-size: 3.2rem; font-weight: 800; line-height: 1;
  color: var(--accent); opacity: .16;
}
.step h3 { font-size: 1.08rem; margin-bottom: .45rem; }
.step p { font-size: .94rem; color: var(--text-muted); margin: 0; }
.section--dark .step p { color: var(--text-invert-muted); }

/* --- 11. Zone d'intervention -------------------------------------------- */
.zone { display: grid; gap: clamp(2rem, 5vw, 3.5rem); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.zone__list {
  display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.5rem 0 0;
}
.zone__list li {
  margin: 0; padding: .45rem .9rem; font-size: .9rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: 100px; color: var(--text-muted);
}
.section--dark .zone__list li { background: var(--ink-2); border-color: var(--line-dark); color: var(--text-invert-muted); }

/* Carte cliquable. Le fond est une image auto-hébergée (tuiles OpenStreetMap
   assemblées une fois pour toutes) : aucune requête vers un service tiers,
   donc aucun cookie et aucune bannière de consentement à afficher.
   Le clic ouvre Google Maps dans un nouvel onglet. */
.zone__map {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: var(--paper-2); aspect-ratio: 900 / 560;
}
.zone__map img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.zone__map::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(20, 23, 28, .28);
  opacity: 0; transition: opacity .3s var(--ease);
}
.zone__map:hover img,
.zone__map:focus-visible img { transform: scale(1.05); }
.zone__map:hover::after,
.zone__map:focus-visible::after { opacity: 1; }

/* Pastille d'action : visible en permanence, y compris sur mobile où le survol
   n'existe pas. Elle passe au rouge au survol. */
.zone__map-cta {
  position: absolute; z-index: 2; left: 1rem; bottom: 1rem;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .7rem 1.15rem; border-radius: 100px;
  background: var(--paper); color: var(--ink);
  font-size: .9rem; font-weight: 700; line-height: 1;
  box-shadow: var(--shadow-md);
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.zone__map-cta svg { flex: none; }
.zone__map:hover .zone__map-cta,
.zone__map:focus-visible .zone__map-cta {
  background: var(--accent); color: #fff; transform: translateY(-2px);
}

.zone__map-credit { margin-top: .7rem; font-size: .78rem; color: var(--text-muted); }
.zone__map-credit a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
.zone__map-credit a:hover { color: var(--accent-ink); }

/* --- 12. FAQ ------------------------------------------------------------ */
.faq { max-width: var(--wrap-narrow); margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.section--dark .faq__item { border-color: var(--line-dark); }
.faq__q {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; width: 100%;
  padding: 1.35rem 0; background: none; border: 0; cursor: pointer;
  font-size: clamp(1rem, 1.5vw, 1.12rem); font-weight: 600; line-height: 1.4;
  text-align: left; color: inherit;
  transition: color .18s var(--ease);
}
.faq__q:hover { color: var(--accent-ink); }
.faq__icon { flex: none; width: 24px; height: 24px; position: relative; margin-top: .2rem; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--accent);
  transform: translate(-50%, -50%); transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.faq__icon::before { width: 14px; height: 2px; }
.faq__icon::after  { width: 2px; height: 14px; }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a {
  overflow: hidden; max-height: 0;
  transition: max-height .32s var(--ease), opacity .25s var(--ease), padding .32s var(--ease);
  opacity: 0; padding-bottom: 0;
}
.faq__a.is-open { opacity: 1; padding-bottom: 1.4rem; }
.faq__a p { color: var(--text-muted); font-size: 1rem; }
.section--dark .faq__a p { color: var(--text-invert-muted); }

/* --- 13. Bande d'appel à l'action --------------------------------------- */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: var(--text-invert);
  padding-block: clamp(3rem, 8vw, 5.5rem);
}
.cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 130% at 20% 50%, rgba(227,30,36,.12) 0%, transparent 62%);
}
.cta__inner { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: center; }
.cta h2 { color: #fff; margin-bottom: .5rem; }
.cta p { color: var(--text-invert-muted); margin: 0; }
.cta .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta .btn-row { justify-content: flex-start; } }

/* --- 14. Formulaire ----------------------------------------------------- */
.form-layout { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }

.form {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3.5vw, 2.5rem); box-shadow: var(--shadow-sm);
}
.form__grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .form__grid { grid-template-columns: 1fr; } }
.field--full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: .45rem; }
.field label { font-size: .9rem; font-weight: 600; }
.field .req { color: var(--accent); }
.field .hint { font-size: .8rem; color: var(--text-muted); font-weight: 400; }

.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%235A6675' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(227,30,36,.16);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--err); }

.field--check { flex-direction: row; align-items: flex-start; gap: .75rem; }
.field--check input { width: 20px; height: 20px; flex: none; margin-top: .2rem; accent-color: var(--accent); }
.field--check label { font-weight: 400; font-size: .88rem; color: var(--text-muted); line-height: 1.5; }
.field--check a { color: var(--accent-ink); text-decoration: underline; }

/* anti-spam : doit rester invisible */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form__foot { margin-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form__note { font-size: .82rem; color: var(--text-muted); }

.form-status { margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: var(--radius); font-size: .95rem; display: none; }
.form-status.is-visible { display: block; }
.form-status--ok  { background: #EAF7F0; border: 1px solid #B6E3CB; color: #14683C; }
.form-status--err { background: #FDECEC; border: 1px solid #F5C2C2; color: #A32020; }

.form .btn[aria-busy="true"] { opacity: .65; pointer-events: none; }

/* Colonne coordonnées */
.contact-aside { display: flex; flex-direction: column; gap: 1rem; }
.contact-block {
  background: var(--ink); color: var(--text-invert);
  border-radius: var(--radius-lg); padding: 1.6rem;
}
.contact-block h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.contact-line { display: flex; gap: .9rem; align-items: flex-start; padding: .75rem 0; border-top: 1px solid var(--line-dark); }
.contact-line:first-of-type { border-top: 0; padding-top: 0; }
.contact-line svg { color: var(--accent); flex: none; margin-top: .15rem; }
.contact-line span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-invert-muted); margin-bottom: .15rem; }
.contact-line a, .contact-line p { display: block; color: #fff; font-weight: 600; margin: 0; word-break: break-word; }

/* Numéro secondaire : présent mais visiblement au second plan, pour que le
   principal reste celui qu'on compose d'abord. */
.tel-alt {
  font-weight: 500 !important; font-size: .92rem;
  color: var(--text-invert-muted) !important; margin-top: .2rem !important;
}
.tel-alt:hover { color: var(--accent) !important; }
.tel-alt-note { font-size: .82rem; color: var(--text-invert-muted); }
.contact-line a:hover { color: var(--accent); }

/* --- 15. Galerie -------------------------------------------------------- */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.gallery__item {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3; background: var(--ink-2); cursor: zoom-in;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__cap {
  position: absolute; inset: auto 0 0 0; padding: 2.5rem 1.1rem .95rem;
  background: linear-gradient(transparent, rgba(11,14,19,.88));
  color: #fff; font-size: .9rem; font-weight: 500;
}
.gallery__filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.gallery__filter {
  padding: .55rem 1.1rem; font-size: .9rem; font-weight: 600;
  background: var(--paper); border: 1px solid var(--line); border-radius: 100px; cursor: pointer;
  transition: all .18s var(--ease);
}
.gallery__filter:hover { border-color: var(--accent); color: var(--accent-ink); }
.gallery__filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Visionneuse */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  place-items: center; padding: clamp(1rem, 4vw, 3rem);
  background: rgba(11,14,19,.94); backdrop-filter: blur(4px);
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 100%; max-height: 85dvh; object-fit: contain; border-radius: var(--radius); }
.lightbox__close {
  position: absolute; top: 1.2rem; right: 1.2rem; width: 46px; height: 46px;
  background: rgba(255,255,255,.10); border: 1px solid var(--line-dark); border-radius: 50%;
  color: #fff; cursor: pointer; display: grid; place-items: center;
}
.lightbox__close:hover { background: var(--accent); border-color: var(--accent); }

/* --- 16. Contenu long (mentions légales, etc.) -------------------------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-top: 2.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.8rem; }
.prose p, .prose li { color: var(--text-muted); }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.prose dl { display: grid; gap: .5rem 1.5rem; grid-template-columns: max-content 1fr; margin: 0 0 1.5rem; }
@media (max-width: 560px) { .prose dl { grid-template-columns: 1fr; gap: .1rem 0; } .prose dd { margin-bottom: .8rem; } }
.prose dt { font-weight: 600; color: var(--text); }
.prose dd { margin: 0; color: var(--text-muted); }

/* --- 17. Pied de page --------------------------------------------------- */
.footer { background: var(--ink); color: var(--text-invert-muted); padding-block: clamp(3rem, 6vw, 4.5rem) 0; }
.footer__grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(160px, 1fr));
  padding-bottom: 3rem;
}
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .6rem; font-size: .95rem; }
.footer a:hover { color: var(--accent); }
.footer__about p { font-size: .95rem; max-width: 30rem; margin-top: 1.2rem; }
.footer__bottom {
  border-top: 1px solid var(--line-dark); padding-block: 1.6rem;
  display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between;
  font-size: .85rem;
}
.footer__bottom a:hover { color: var(--accent); text-decoration: underline; }
.footer__legal { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }

/* --- 18. Barre d'action mobile ------------------------------------------ */
.mobilebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: 1px; background: var(--line-dark);
  border-top: 1px solid var(--line-dark);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -6px 24px rgba(0,0,0,.22);
}
.mobilebar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 1rem .5rem; font-size: .95rem; font-weight: 600;
  background: var(--ink); color: #fff;
}
.mobilebar a.is-accent { background: var(--accent); }
.mobilebar svg { flex: none; }
@media (max-width: 720px) {
  .mobilebar { display: flex; }
  body { padding-bottom: 62px; }
}

/* --- 19. Animations ----------------------------------------------------- */
[data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* --- 20. Impression ----------------------------------------------------- */
@media print {
  .header, .footer, .mobilebar, .cta, .hero__bg { display: none !important; }
  body { color: #000; background: #fff; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
