/* ============================================================
   Elec&Tech Services — styles.css
   Identité : "dossier technique" clair — papier, marine, vert logo.
   Palette extraite du logo : marine #12263C · vert #72B043

   Polices auto-hébergées : aucune requête vers Google Fonts,
   donc aucune donnée visiteur transmise à un tiers (RGPD).
   ============================================================ */

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/SpaceGrotesk-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/SpaceGrotesk-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/IBMPlexMono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/IBMPlexMono-500.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/IBMPlexMono-600.woff2') format('woff2');
}

:root {
  /* Le site assume un seul univers visuel (papier clair). On le déclare
     explicitement pour que les navigateurs en mode sombre n'inversent ni
     les couleurs ni les fonds : la charte reste identique pour tous. */
  color-scheme: light;

  --ink: #12263C;
  --ink-2: #1B3550;
  --paper: #F7F5F0;
  --paper-dim: #EDEAE2;
  --white: #FFFFFF;
  --green: #72B043;
  --green-deep: #4E7F28;
  --green-soft: rgba(114, 176, 67, 0.14);
  --copper: #C9793F;
  --slate: #55606C;
  --line: rgba(18, 38, 60, 0.13);
  --line-strong: rgba(18, 38, 60, 0.22);
  --line-light: rgba(247, 245, 240, 0.18);
  --shadow: 0 18px 40px -18px rgba(18, 38, 60, 0.28);

  --font-display: 'Space Grotesk', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', 'Courier New', monospace;

  --radius: 5px;
  --wrap: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 132px; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--green); color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* ---------- Typographie ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.08;
  text-wrap: balance;
}
h1 { font-size: clamp(30px, 4.2vw, 48px); }
h2 { font-size: clamp(24px, 3.4vw, 40px); }
h3 { font-size: 19px; line-height: 1.25; }

/* Sur téléphone, un titre de quatre lignes occupe tout l'écran. On resserre
   l'interligne et on laisse le navigateur équilibrer les lignes plutôt que
   de remplir chaque ligne à ras bord, ce qui évite les mots orphelins. */
@media (max-width: 560px) {
  h1 { line-height: 1.06; }
  h2 { line-height: 1.12; }
}
p  { color: var(--slate); }

.accent { color: var(--green-deep); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--green);
  display: inline-block;
}
.eyebrow .idx { color: var(--copper); }

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head p { margin-top: 14px; font-size: 16.5px; }

section { padding: 92px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 15px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
/* Sur petit écran, les deux boutons du hero restent sur la même ligne :
   empilés, ils donnaient l'impression de deux actions concurrentes.
   Ils partagent la largeur à parts égales et le libellé se replie si besoin. */
@media (max-width: 760px) {
  .btn { white-space: normal; text-align: center; }
  .hero-cta { gap: 9px; }
  .hero-cta .btn {
    flex: 1 1 0; min-width: 0;
    padding-left: 12px; padding-right: 12px;
    font-size: 10.5px; letter-spacing: 0.02em;
  }
}

.btn-primary {
  background: var(--green);
  color: var(--ink);
}
.btn-primary:hover { box-shadow: 0 10px 24px -8px rgba(114, 176, 67, 0.65); }

.btn-outline {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover { background: rgba(18, 38, 60, 0.05); }

.btn-ink {
  background: var(--ink);
  color: var(--paper);
}
.btn-ink:hover { box-shadow: 0 10px 24px -10px rgba(18, 38, 60, 0.55); }

/* ---------- Accessibilité ---------- */
.skip-link {
  position: absolute; left: -9999px;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; z-index: 999;
  background: var(--green); color: var(--ink);
  padding: 10px 18px; border-radius: var(--radius);
  font-family: var(--font-mono); font-size: 13px;
}

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(247, 245, 240, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 24px;
  max-width: 1240px;
  margin: 0 auto;
  transition: padding 0.25s ease;
}
.nav-logo { flex-shrink: 0; display: block; }
/* Taille de repos du logo : 317 px de large, soit 92 px de haut. C'est le
   maximum qui laisse la barre tenir sur une seule ligne à 1240 px avec tous
   ses libellés (coût fixe mesuré : 903 px, logo 317 px, reste 20 px). Sur
   écran étroit, la largeur est plafonnée pour ne jamais chasser le bouton
   de menu. */
.nav-logo img {
  display: block;
  width: 317px;
  max-width: calc(100vw - 132px);
  height: auto;
  transition: width 0.25s ease;
}
.nav-links {
  display: flex;
  gap: 22px;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: font-size 0.25s ease, gap 0.25s ease;
}

/* ---------- Le bandeau se resserre au défilement ----------
   Tout se réduit ensemble — logo, libellés, bouton, marges — pour libérer de
   l'écran une fois la lecture commencée. Le logo ne descend pas en dessous de
   248 px : en deçà, le slogan « La solution de recharge pour votre mobilité »
   cesse d'être lisible, et c'est précisément ce qu'il ne faut pas perdre. */
.site-header.scrolled .nav { padding: 7px 24px; }
.site-header.scrolled .nav-logo img { width: 248px; }
.site-header.scrolled .nav-links { font-size: 13.5px; gap: 19px; }
.site-header.scrolled .phone-link { font-size: 12.5px; }
.site-header.scrolled .cta-stack .btn { padding: 10px 17px; font-size: 11px; }
.site-header.scrolled .offer-note { font-size: 9.5px; }
@media (prefers-reduced-motion: reduce) {
  .nav, .nav-logo img, .nav-links { transition: none; }
}
.nav-links a {
  opacity: 0.8;
  transition: opacity 0.15s, color 0.15s;
  padding: 6px 0;
}
.nav-links a:hover { opacity: 1; color: var(--green-deep); }
.nav-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.phone-link {
  font-family: var(--font-mono);
  font-size: 13.5px;
  transition: font-size 0.25s ease;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.9;
  white-space: nowrap;
}
/* Ce numéro n'est pas un lien : il ne change donc pas au survol, sans quoi
   le visiteur essaie de cliquer dessus. */
.phone-link { cursor: default; }
.cta-stack { display: flex; flex-direction: column; align-items: center; gap: 5px; flex-shrink: 0; }
.cta-stack .btn { padding: 12px 20px; font-size: 12px; transition: padding 0.25s ease, font-size 0.25s ease, background 0.15s, box-shadow 0.15s; }
.offer-note {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--copper);
  text-transform: uppercase;
}
.offer-note.active { color: var(--green-deep); font-weight: 600; }

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 9px 11px;
  color: var(--ink);
}
.menu-btn svg { width: 20px; height: 20px; }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 18px 28px 26px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 16px; width: 100%; }

/* En dessous de 1240 px, la place restante repasse sous la largeur du logo :
   plutôt que de tasser les libellés, on bascule sur le menu burger. */
@media (max-width: 1240px) {
  .nav-links, .nav-cta .phone-link, .nav-cta .cta-stack { display: none; }
  .menu-btn { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 52px 0 0;
  overflow: hidden;
}
.hero::before {
  /* trame technique discrète */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, var(--paper) 96%),
    repeating-linear-gradient(90deg, rgba(18,38,60,0.045) 0 1px, transparent 1px 130px),
    repeating-linear-gradient(0deg, rgba(18,38,60,0.03) 0 1px, transparent 1px 130px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.irve-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #EAF4DF;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 11px 18px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.irve-badge .bolt { color: var(--green); }

.hero h1 { margin-bottom: 22px; }
.hero-sub {
  font-size: 16.5px;
  max-width: 540px;
  margin-bottom: 12px;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-sub + .hero-sub { margin-bottom: 34px; }
/* Les deux boutons du hero tiennent sur une seule ligne, quelle que soit la
   largeur : empilés, ils se lisaient comme deux actions concurrentes. Les
   marges intérieures sont resserrées, car « Demander l'audit de votre projet »
   est un libellé long qu'on ne raccourcit pas — il vient du client. */
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  align-items: stretch;
  margin-bottom: 44px;
}
.hero-cta .btn { padding-left: 17px; padding-right: 17px; letter-spacing: 0.035em; }

/* Photo hero avec coches d'angle */
.hero-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
  align-self: center;
}
.hero-photo .frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.02;
  object-fit: cover;
}
.corner-ticks::before, .corner-ticks::after {
  content: "";
  position: absolute;
  width: 26px; height: 26px;
  border: 2px solid var(--green);
  pointer-events: none;
  z-index: 2;
}
.corner-ticks::before {
  top: -9px; left: -9px;
  border-right: none; border-bottom: none;
}
.corner-ticks::after {
  bottom: -9px; right: -9px;
  border-left: none; border-top: none;
}
.photo-chip {
  position: absolute;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(18, 38, 60, 0.88);
  color: var(--paper);
  padding: 7px 12px;
  border-radius: 3px;
}
.photo-chip.tl { top: 16px; left: 16px; }
.photo-chip.br { bottom: 16px; right: 16px; }
.photo-chip .dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 7px;
  animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) {
  .photo-chip .dot { animation: none; }
}

/* Barre de stats */
/* Les trois chiffres suivaient la photo de trop près. Un vrai intervalle les
   en sépare, et le filet de séparation reprend son rôle de respiration. */
.stat-bar {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  margin-top: 64px;
}
@media (max-width: 720px) { .stat-bar { margin-top: 44px; } }
.stat { padding: 32px 24px 32px 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat + .stat { padding-left: 24px; }
.stat-num {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 600;
  color: var(--green-deep);
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
  margin-top: 6px;
  line-height: 1.5;
}
@media (max-width: 720px) {
  .stat-bar { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); padding: 18px 0; }
  .stat + .stat { padding-left: 0; }
  .stat:last-child { border-bottom: none; }
}

/* Bandeau marques */
.brands {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.brands .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.brands-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}
.brands-list {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  opacity: 0.75;
}
.brands img { height: 62px; width: auto; }
/* Qualit'EnR est un label de qualité : il doit accrocher l'œil. */
.brands .label-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 16px;
}
.brands .label-tile .lt-txt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}
.brands .label-tile .lt-txt strong { display: block; color: var(--ink); }
@media (max-width: 620px) { .brands .label-tile { width: 100%; } }

/* ---------- Avis clients ---------- */
.reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}
.rating-summary { display: flex; gap: 18px; flex-wrap: wrap; }

/* Chaque carte est un lien vers la fiche correspondante : le nombre d'avis
   n'est plus affiché, c'est en cliquant qu'on le découvre. La flèche et le
   relief au survol sont là pour que cette possibilité se voie. */
.rating-card {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 18px;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.rating-card:hover {
  border-color: var(--green);
  box-shadow: 0 8px 20px -12px rgba(18, 38, 60, 0.3);
  transform: translateY(-2px);
}
.rating-card:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.rating-card img { height: 30px; width: 30px; border-radius: 4px; object-fit: contain; }
.rating-card .score {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 19px;
}
.rating-go {
  font-size: 13px;
  line-height: 1;
  color: var(--line-strong);
  margin-left: 3px;
  transition: color 0.15s, transform 0.15s;
}
.rating-card:hover .rating-go { color: var(--green-deep); transform: translate(1px, -1px); }
@media (prefers-reduced-motion: reduce) {
  .rating-card, .rating-go { transition: none; }
  .rating-card:hover { transform: none; }
}
.stars { color: #F5B700; letter-spacing: 2px; font-size: 13px; }

/* Défilement continu des avis */
.reviews-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.reviews-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: marquee 48s linear infinite;
  padding: 4px 0 8px;
}
.reviews-marquee:hover .reviews-track,
.reviews-marquee:focus-within .reviews-track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-track { animation: none; flex-wrap: wrap; width: auto; }
  .reviews-marquee { mask-image: none; -webkit-mask-image: none; }
}

.review-card {
  width: 360px;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (max-width: 480px) { .review-card { width: 300px; } }
.review-card .quote {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  flex: 1;
}
.review-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.review-who {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
  line-height: 1.5;
}
.review-who strong { color: var(--ink); font-weight: 600; }
.review-src { display: flex; align-items: center; gap: 7px; }
.review-src img { width: 18px; height: 18px; border-radius: 3px; object-fit: contain; }
.review-src span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate);
}

/* ---------- Services ---------- */
.section-alt { background: var(--paper-dim); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 860px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--white);
  padding: 36px 30px;
  transition: background 0.2s;
}
.service-card:hover { background: var(--paper); }
.service-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--copper);
  display: block;
  margin-bottom: 20px;
}
.service-card .icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--green-soft);
  color: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-card .icon svg { width: 24px; height: 24px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 14.5px; }

/* ---------- Process (bandeau sombre) ---------- */
.process { background: var(--ink); color: var(--paper); }
.process .eyebrow { color: var(--green); }
.process .eyebrow::before { background: var(--green); }
.process h2 { color: var(--paper); }
.process .section-head p { color: rgba(247, 245, 240, 0.65); }
.process-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 860px) { .process-line { grid-template-columns: 1fr; } }
.process-step {
  border-top: 2px solid var(--green);
  padding-top: 24px;
  position: relative;
}
.process-step .n {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--green);
  margin-bottom: 12px;
}
.process-step h3 { color: var(--paper); font-size: 18px; margin-bottom: 10px; }
.process-step p { font-size: 14.5px; color: rgba(247, 245, 240, 0.65); }

/* ---------- Réalisations ---------- */
.sub-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 28px;
}
.sub-head h3 {
  font-size: 22px;
}
.sub-head.on-dark h3 { color: var(--paper); }
.sub-head.on-dark .rule { background: var(--line-light); }
.sub-head.on-dark .count { color: var(--green); }
.sub-head .rule { flex: 1; height: 1px; background: var(--line-strong); }
.sub-head .count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--copper);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr; } }
.shot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.shot:hover img { transform: scale(1.035); }
.shot figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px 16px 13px;
  background: linear-gradient(180deg, transparent, rgba(18, 38, 60, 0.85));
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.shot .tag {
  position: absolute;
  top: 13px; left: 13px;
  background: rgba(247, 245, 240, 0.92);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 5px 9px;
  border-radius: 3px;
}

/* Bornes proposées */
.bornes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1000px) { .bornes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bornes-grid { grid-template-columns: 1fr; } }
.borne-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.borne-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.borne-card .ph {
  background: #FBFAF8;
  border-bottom: 1px solid var(--line);
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.borne-card .ph img {
  height: 170px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.borne-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.borne-body h4 {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.kw-chip {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--green-deep);
  background: var(--green-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
.spec-list { display: flex; flex-direction: column; flex: 1; }
.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
}
.spec-list li:last-child { border-bottom: none; }
.spec-list .k { color: var(--slate); }
.spec-list .v { font-weight: 600; text-align: right; color: var(--ink); }
.borne-body .btn { width: 100%; padding: 12px 14px; font-size: 11.5px; }

/* Prises renforcées */
.prises-strip {
  margin-top: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.prises-strip .imgs { display: flex; gap: 14px; }
.prises-strip .imgs img {
  width: 86px; height: 86px;
  object-fit: contain;
  background: #FBFAF8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
}
.prises-strip .txt { flex: 1; min-width: 260px; }
.prises-strip h4 {
  font-family: var(--font-display);
  font-size: 17px;
  margin-bottom: 6px;
}
.prises-strip p { font-size: 14px; }
/* Note de bas de section. Les "//" sont conservés (repère visuel voulu),
   mais le texte repasse en police de labeur : en mono il faisait « bloc de
   code » et cassait la tenue typographique de la page. */
.marques-note {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate);
  /* Même largeur que l'encart des prises juste au-dessus : une largeur
     bridée donnait l'impression d'un bloc tronqué. */
}
.marques-note .slashes {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--green-deep);
  flex-shrink: 0;
}

/* ---------- Zone d'intervention ---------- */
.zone-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) { .zone-layout { grid-template-columns: 1fr; } }
.zone-info .chips { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 32px; }
.zone-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 16px;
}
.zone-chip .ico { color: var(--green-deep); display: flex; }
.zone-chip .ico svg { width: 18px; height: 18px; }
.map-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
#map {
  height: 460px;
  width: 100%;
  background: var(--paper-dim);
  z-index: 1;
}
@media (max-width: 720px) { #map { height: 360px; } }
.map-pin-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--green), 0 4px 10px rgba(18,38,60,.35);
}
.leaflet-popup-content-wrapper {
  border-radius: var(--radius) !important;
  font-family: var(--font-body);
}
.leaflet-popup-content { font-size: 13.5px; line-height: 1.5; }
.leaflet-popup-content strong { font-family: var(--font-display); }
.leaflet-popup-content a { color: var(--green-deep); font-weight: 600; }

/* ---------- Contact / Devis / RDV ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.info-line {
  display: flex;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  align-items: flex-start;
}
.info-line .ico {
  color: var(--green-deep);
  margin-top: 3px;
  flex-shrink: 0;
}
.info-line .ico svg { width: 18px; height: 18px; }
.info-line > div:last-child { flex: 1; min-width: 0; }
.info-line strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
  margin-bottom: 3px;
}
.info-line a:hover { color: var(--green-deep); }
.hours-table { width: 100%; font-size: 13.5px; border-collapse: collapse; }
.hours-table td { padding: 4px 0; color: var(--slate); }
.hours-table td:last-child { text-align: right; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink); }

.offer-callout {
  margin-top: 26px;
  background: var(--green-soft);
  border: 1px dashed var(--green);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.offer-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(114, 176, 67, 0.5);
}
.offer-callout .pct {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 26px;
  color: var(--green-deep);
  line-height: 1;
}
.offer-callout .txt { font-size: 13.5px; color: var(--ink); }
.offer-callout .txt strong { display: block; margin-bottom: 2px; font-family: var(--font-display); }

/* Le détail de l'offre est présenté en question/réponse : c'est le format
   qui lève le plus vite les trois doutes possibles — sur quoi porte la
   remise, à quelle condition, et ce qui reste vrai en dehors de l'offre. */
.offer-detail { display: grid; gap: 13px; padding-top: 16px; }
.offer-detail dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 3px;
}
.offer-detail dd { font-size: 13.5px; line-height: 1.5; color: var(--ink); }

/* Formulaire */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  position: relative;
}
@media (max-width: 560px) { .form-card { padding: 24px 20px; } }
form.devis-form { display: grid; gap: 18px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--slate);
  display: block;
  margin-bottom: 7px;
}
input, select, textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
  border-color: transparent;
}
textarea { min-height: 120px; resize: vertical; }
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--slate);
}
.consent input {
  width: 16px; height: 16px;
  margin-top: 2px;
  accent-color: var(--green-deep);
  flex-shrink: 0;
}
.consent label {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
}

/* RDV / Calendly */
.rdv-block {
  margin-top: 64px;
  border-top: 1px solid var(--line-strong);
  padding-top: 52px;
}
.rdv-fallback {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.rdv-fallback .txt { max-width: 520px; }
.rdv-fallback h3 { margin-bottom: 8px; }
.rdv-fallback p { font-size: 14.5px; }
#calendly-embed { min-height: 0; }
#calendly-embed.loaded { min-height: 680px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; }
details.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
details.faq-item[open] { border-color: var(--green); }
details.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -0.01em;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.faq-plus {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--green-deep);
  transition: transform 0.2s ease;
}
details.faq-item[open] .faq-plus { transform: rotate(45deg); background: var(--green-soft); }
.faq-body {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--slate);
}
.faq-body p + p, .faq-body ul + p, .faq-body p + ul { margin-top: 10px; }
.faq-body ul { padding-left: 18px; list-style: disc; }
.faq-body li { margin: 4px 0; }
.faq-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 4px;
  font-size: 13.5px;
}
.faq-body th, .faq-body td {
  text-align: left;
  padding: 8px 10px;
  border: 1px solid var(--line);
}
.faq-body th {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--paper);
}
.faq-body strong { color: var(--ink); }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--ink);
  color: rgba(247, 245, 240, 0.72);
  padding: 64px 0 34px;
  font-size: 14px;
}
/* Trois colonnes depuis le retrait de la navigation : identité,
   contact (colonne la plus large, l'adresse mail doit tenir sur une
   seule ligne), puis réseaux et certification. */
/* Quatre colonnes de largeur voisine : identité, contact, qualification,
   réseaux. La qualification, qui était glissée sous les icônes de réseaux,
   occupe désormais sa propre colonne — c'est un argument de confiance, pas
   une vignette de bas de page. */
.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 0.8fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-light);
}
@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 40px; } }
@media (max-width: 620px)  { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Les trois colonnes de texte partagent la même ligne de base en haut. */
.footer-col { display: flex; flex-direction: column; align-items: flex-start; }
.footer-logo-tile {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 18px;
}
.footer-logo-tile img { width: 100%; max-width: 268px; height: auto; }
.footer-tagline {
  font-size: 13.5px;
  color: rgba(247, 245, 240, 0.6);
  max-width: 260px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  opacity: 0.85;
  transition: opacity 0.15s, color 0.15s;
}
.footer-col a:hover { opacity: 1; color: var(--green); }
.footer-col .mono { font-family: var(--font-mono); font-size: 13px; }
.social-row { display: flex; gap: 12px; margin-top: 6px; }
.social-row a {
  width: 40px; height: 40px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  padding: 0;
}
.social-row a:hover {
  background: rgba(114, 176, 67, 0.15);
  border-color: var(--green);
  transform: translateY(-2px);
}
.social-row svg { width: 19px; height: 19px; }
.social-row img { width: 20px; height: 20px; border-radius: 3px; object-fit: contain; }
.qualitenr-tile {
  background: var(--white);
  border-radius: var(--radius);
  padding: 10px 14px;
  display: inline-block;
  margin-top: 14px;
}
.qualitenr-tile img { height: 44px; width: auto; }
/* Dernière colonne : la vignette n'a pas de titre au-dessus d'elle, elle joue
   ce rôle. On l'agrandit pour qu'elle pèse autant que les titres voisins. */
.footer-qualif .qualitenr-tile { margin-top: 2px; padding: 14px 18px; }
.footer-qualif .qualitenr-tile img { height: 56px; }
.footer-qualif .cert-note { margin-top: 14px; }
.cert-note {
  font-size: 12px;
  line-height: 1.55;
  margin-top: 10px;
  color: rgba(247, 245, 240, 0.55);
  max-width: 240px;
}
/* Le numéro et l'adresse mail du pied de page ne sont pas des liens : ils ne
   doivent donc ni changer de couleur ni afficher une main au survol. */
.footer-contact .contact-line { cursor: default; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-size: 12.5px;
  color: rgba(247, 245, 240, 0.5);
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--green); }

/* ---------- Page mentions légales ---------- */
.legal-page { padding: 72px 0 96px; max-width: 800px; }
.legal-page h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 40px; }
.legal-page h2 { font-size: 21px; margin: 40px 0 12px; }
.legal-page p, .legal-page li { font-size: 15px; color: var(--slate); margin-bottom: 10px; }
.legal-page ul { padding-left: 20px; list-style: disc; }
.legal-page a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--green-deep);
  margin-bottom: 34px;
}

/* ---------- Page merci ---------- */
.thanks-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
}
.thanks-page .inner { max-width: 560px; margin: 0 auto; }
.thanks-page .check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 26px;
}
.thanks-page h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.thanks-page p { margin-bottom: 30px; }

/* ---------- Reveal au scroll ----------
   Masqué uniquement si JS est actif (classe .js posée sur <html>),
   pour que le contenu reste visible sans JavaScript. */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
html.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}


/* ============================================================
   FRISE CHRONOLOGIQUE — « Comment ça marche »
   Sous-partie de la section Prestations : le parcours client est une
   séquence, la numérotation encode donc une vraie progression.
   Pastilles pleines + ligne de liaison : langage visuel volontairement
   distinct des numéros de section (petits chiffres cuivre) pour qu'on
   ne puisse pas confondre les deux niveaux de lecture.
   ============================================================ */
.timeline-panel {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 48px 44px 44px;
}
@media (max-width: 720px) { .timeline-panel { padding: 34px 24px 28px; } }

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  list-style: none;
}
.tl-step { position: relative; }
/* Ligne de liaison : un segment par étape, tiré de sa pastille vers la
   suivante. Tracer segment par segment plutôt qu'une barre unique évite
   tout calcul de pourcentage et reste juste à n'importe quelle largeur. */
.tl-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 58px;
  right: -34px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg, var(--green) 0 8px, transparent 8px 15px
  );
  opacity: 0.55;
}
.tl-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--ink);
}
.tl-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-bottom: 8px;
}
.tl-step h4 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin-bottom: 10px;
}
.tl-step p { font-size: 14.5px; color: rgba(247, 245, 240, 0.66); }

@media (max-width: 800px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  /* En colonne, la frise devient verticale. */
  .tl-step:not(:last-child)::after {
    top: 58px; bottom: -6px;
    left: 22px; right: auto;
    width: 2px; height: auto;
    background: repeating-linear-gradient(
      180deg, var(--green) 0 8px, transparent 8px 15px
    );
  }
  .tl-step { padding: 0 0 30px 68px; }
  .tl-step:last-child { padding-bottom: 0; }
  .tl-marker { position: absolute; left: 0; top: 0; margin-bottom: 0; }
}

/* ============================================================
   CARTE — activation au clic
   La carte ne capture ni le scroll de la page ni le geste tactile
   tant que le visiteur ne l'a pas explicitement activée.
   ============================================================ */
.map-shell { position: relative; }
.map-hint {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--slate);
}

/* ============================================================
   BLOC RENDEZ-VOUS — le calendrier en premier, le téléphone dessous
   ============================================================ */
.rdv-options { display: grid; gap: 18px; }
.rdv-option {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.rdv-option.primary { border-color: var(--green); border-left-width: 3px; }
.rdv-option .txt { max-width: 540px; }
.rdv-option h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.rdv-option p { font-size: 14.5px; }
.rdv-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: var(--green-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.offer-callout .txt span { display: block; }

/* Sur petit écran, le sous-titre et sa mention ne tiennent plus côte à
   côte : on les empile et on masque le filet, devenu inutile. */
@media (max-width: 620px) {
  .sub-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .sub-head .rule { display: none; }
  .sub-head .count { font-size: 11px; }
}

/* Repli si l'agenda en ligne est injoignable : on ne laisse jamais le
   visiteur devant un bouton sans effet. */
.calendly-error {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--copper);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 14.5px;
}
.calendly-error a { color: var(--green-deep); font-weight: 600; }

/* ============================================================
   CARTE — deux vues dans le même encart
   « Rayon 30 km » (OpenStreetMap + cercle) et « Google Maps »
   Le plan Google reste accessible d'un clic, sans jamais ouvrir d'onglet.
   ============================================================ */
.map-switch-btn {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 500;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(247, 245, 240, 0.96);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 9px 13px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink);
  box-shadow: 0 2px 10px -4px rgba(18, 38, 60, .3);
  transition: background 0.15s, color 0.15s;
}
.map-switch-btn svg { flex-shrink: 0; color: var(--green-deep); }
.map-switch-btn:hover { background: var(--white); border-color: var(--green); }
.map-switch-btn.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.map-switch-btn.is-active svg { color: var(--green); }
.map-switch-btn:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* L'attribution OpenStreetMap est imposée par la licence ODbL des données :
   elle ne peut pas être retirée. On la réduit donc au strict nécessaire —
   discrète, en bas à droite, sans encadré. */
.leaflet-control-attribution {
  background: rgba(247, 245, 240, 0.78) !important;
  font-family: var(--font-mono);
  font-size: 9.5px !important;
  color: var(--slate) !important;
  padding: 2px 6px !important;
  box-shadow: none !important;
}
.leaflet-control-attribution a { color: var(--slate) !important; text-decoration: none; }
.leaflet-control-attribution a:hover { text-decoration: underline; }

.map-google { position: relative; height: 460px; background: var(--paper-dim); }
@media (max-width: 720px) { .map-google { height: 360px; } }
.map-google iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Écran d'attente : tant qu'on n'a pas cliqué, aucune requête vers Google. */
.map-google-load {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 28px;
}
.map-google-load p {
  font-size: 13.5px;
  max-width: 340px;
  color: var(--slate);
}

/* ---------- Bloc contact du pied de page ----------
   Chaque coordonnée est une ligne icône + texte. L'adresse mail ne doit
   jamais se couper en deux : nowrap, et la taille s'ajuste sur très
   petits écrans plutôt que de passer à la ligne. */
.footer-contact .contact-line {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  white-space: nowrap;
}
.footer-contact .contact-line svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
  color: var(--green);
}
.footer-contact .contact-mail { font-size: 13px; }
.footer-contact .contact-addr {
  font-family: var(--font-body);
  font-size: 13.5px;
  opacity: 0.85;
  white-space: normal;          /* l'adresse postale peut, elle, se replier */
  align-items: flex-start;
}
.footer-contact .contact-addr svg { margin-top: 3px; }
/* En dessous de 380 px, l'adresse mail devient plus étroite plutôt que
   de se casser sur deux lignes. */
@media (max-width: 380px) {
  .footer-contact .contact-mail { font-size: 11.5px; gap: 7px; }
}

/* L'attribut [hidden] doit l'emporter sur les règles d'affichage des
   composants (une règle display: flex l'annule silencieusement). */
[hidden] { display: none !important; }

/* Boutons + / − de la carte : plus grands et alignés sur la charte,
   ce sont eux que le visiteur cherche pour zoomer. */
.leaflet-control-zoom a {
  width: 34px !important;
  height: 34px !important;
  line-height: 34px !important;
  font-size: 19px !important;
  color: var(--ink) !important;
  border-radius: var(--radius) !important;
}
.leaflet-control-zoom a:hover { background: var(--green-soft) !important; color: var(--green-deep) !important; }
.leaflet-top.leaflet-right { margin-top: 4px; margin-right: 4px; }

/* ---------- Barre des pages annexes (404, mentions légales, merci) ----------
   Ces pages n'ont pas de menu burger : leur bouton d'action reste donc
   dans la barre en petit écran et la faisait déborder. Il se compacte,
   puis s'efface — le logo ramène à l'accueil dans tous les cas.
   Le sélecteur enfant direct épargne la page d'accueil, dont le bouton
   est imbriqué dans .cta-stack. */
@media (max-width: 1240px) {
  .nav-cta > .btn { padding: 10px 16px; font-size: 11.5px; }
}
@media (max-width: 620px) {
  .nav-cta > .btn { display: none; }
}


/* ---------- Bandeau promotionnel de la prise de rendez-vous ----------
   Calendly ne sait pas annoter des créneaux précis : la remise est donc
   annoncée ici, juste avant le choix du créneau, au moment où le
   visiteur décide de sa date. */
.rdv-promo {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
  padding: 20px 24px;
  background: var(--green-soft);
  border: 1px dashed var(--green);
  border-radius: var(--radius);
}
.rdv-promo-pct {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: var(--green-deep);
  flex-shrink: 0;
}
.rdv-promo p { font-size: 14.5px; color: var(--ink); }
.rdv-promo strong { font-weight: 600; }
@media (max-width: 560px) {
  .rdv-promo { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* Respiration avant « Les bornes que nous proposons »  */
.gallery { margin-bottom: 72px; }

/* ---------- Section devis : deux colonnes de même hauteur ----------
   Le formulaire et la colonne d'information doivent s'aligner en haut
   comme en bas, sinon l'un flotte à côté d'un vide. */
.contact-grid { align-items: stretch; }
.contact-grid > div:first-child {
  display: flex;
  flex-direction: column;
}
.contact-grid .hours-table { margin-top: 2px; }
/* La dernière ligne d'information s'étire pour rejoindre le bas du
   formulaire, ce qui aligne les deux colonnes. */
.contact-grid > div:first-child .info-line:last-child {
  flex: 1;
  border-bottom: none;
  align-items: flex-start;
}
.form-card { height: 100%; }

/* Mention légale sous le formulaire (remplace la case à cocher) */
.form-legal {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--slate);
}
.form-legal a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Zone d'intervention ----------
   Une phrase qui dit ce qu'on fait — on se déplace —, puis les communes,
   repliées. Elles restent dans le HTML, donc lisibles par Google, sans
   imposer un pavé de noms propres à qui lit la page. */
.zone-intro {
  margin-top: 20px;
  max-width: 44ch;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--slate);
}
.zone-communes {
  margin-top: 14px;
  max-width: 46ch;
}
.zone-communes > summary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--green-deep);
  padding: 7px 0;
}
.zone-communes > summary::-webkit-details-marker { display: none; }
.zone-communes > summary:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }
.zc-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px; height: 17px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
  color: var(--slate);
}
.zone-communes[open] > summary .zc-plus { transform: rotate(45deg); }
.zone-communes > p {
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--slate);
}



/* ============================================================
   PAGES DÉTAILLÉES (installation, prix, aides, entreprise)
   Une colonne de lecture étroite : ce sont des pages qu'on lit,
   pas qu'on parcourt. Même charte que l'accueil, sans les sections
   alternées qui hacheraient le texte.
   ============================================================ */
.content-page { padding: 46px 0 96px; }
.content-page .cp-inner { max-width: 760px; }

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
  margin-bottom: 30px;
}
.breadcrumb a { color: var(--green-deep); }
.breadcrumb span { color: var(--line-strong); padding: 0 6px; }

.content-page h1 {
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.08;
  margin-bottom: 20px;
}
.cp-lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 10px;
}
.cp-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--slate);
  margin-bottom: 40px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.content-page h2 {
  font-size: clamp(21px, 2.6vw, 27px);
  line-height: 1.2;
  margin: 46px 0 14px;
}
.content-page h3 { font-size: 17.5px; margin: 28px 0 8px; }
.content-page p { font-size: 15.5px; line-height: 1.7; color: var(--slate); margin-bottom: 14px; }
.content-page p strong { color: var(--ink); font-weight: 600; }
.content-page ul { padding-left: 20px; list-style: disc; margin-bottom: 16px; }
.content-page li { font-size: 15.5px; line-height: 1.65; color: var(--slate); margin-bottom: 8px; }
.content-page li strong { color: var(--ink); font-weight: 600; }
/* On exclut les boutons : sans cela cette règle, plus spécifique que
   .btn-primary, leur imposait sa couleur de lien. */
.content-page a:not(.btn) { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }

/* Encadré d'appui : un point technique ou une réserve à signaler */
.cp-note {
  background: var(--paper-dim);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 26px 0;
}
.cp-note p { margin-bottom: 0; font-size: 15px; }
.cp-note p + p { margin-top: 10px; }

/* Tableau de correspondance puissance / usage */
.cp-table-wrap { overflow-x: auto; margin: 22px 0 26px; border: 1px solid var(--line); border-radius: var(--radius); }
.cp-table { width: 100%; border-collapse: collapse; background: var(--white); }
.cp-table th, .cp-table td { text-align: left; padding: 11px 15px; border-bottom: 1px solid var(--line); font-size: 14.5px; vertical-align: top; }
.cp-table thead th {
  font-family: var(--font-mono);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--slate);
  background: var(--paper-dim);
  white-space: nowrap;
}
.cp-table tbody tr:last-child td { border-bottom: none; }
.cp-table td { color: var(--slate); }
.cp-table td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }

/* Appel à l'action de fin de page */
.cp-cta {
  margin-top: 52px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 32px 34px;
}
.cp-cta h2 { color: var(--paper); margin: 0 0 10px; font-size: 24px; }
.cp-cta p { color: rgba(247, 245, 240, 0.78); margin-bottom: 20px; }
.cp-cta .cp-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) { .cp-cta { padding: 24px 20px; } }

/* Renvois vers les autres pages */
/* Bouton secondaire sur fond sombre */
.btn-outline-light {
  color: var(--paper);
  border-color: rgba(247, 245, 240, 0.42);
  background: transparent;
}
.btn-outline-light:hover {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.cp-related { margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--line); }
.cp-related h2 { font-size: 17px; margin: 0 0 14px; }
.cp-related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.cp-related a { font-size: 15px; }

/* Renvoi discret depuis une réponse de FAQ vers la page qui détaille le sujet */
.faq-link {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--green-deep);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
}
.faq-link:hover { border-bottom-color: var(--green-deep); }

/* Mentions légales : le seul point qui ne peut pas être rédigé sans une
   information que l'entreprise seule détient. Signalé sobrement, à sa place
   dans la page, plutôt que par un champ vide entre crochets. */
.a-renseigner {
  border-left: 2px solid var(--line-strong);
  padding-left: 14px;
  color: var(--slate);
}
.legal-maj {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
  margin-bottom: 34px !important;
}
