/* ==================================================================
   Start Elec – feuille de style
   Ambiance sombre et électrique, bleu du logo + cyan lumineux
   ================================================================== */

/* ---------- Polices (hébergées sur le site) ---------- */
@font-face { font-family: "Anton"; src: url("fonts/anton-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- Couleurs et réglages ---------- */
:root {
  --bg: #07090d;
  --bg-2: #111b27;          /* fond « clair » des sections, nettement distinct du noir */
  --navy: #071624;
  --card: #172231;
  --card-2: #1e2b3b;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --text: #eef4f8;
  --muted: #9fb1c0;
  --blue: #0094cc;          /* bleu du logo */
  --cyan: #38c6ff;          /* lumière électrique */
  --cyan-2: #8fe0ff;
  --blue-soft: rgba(56, 198, 255, .12);
  --on-blue: #03121b;       /* texte sur les boutons bleus */
  --open: #3ddc84;
  --soon: #ffab3d;
  --closed: #ff5d5d;

  --font-title: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .45);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 76px;
  --gutter: 20px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--cyan); color: var(--on-blue); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.nowrap { white-space: nowrap; }
.no-scroll { overflow: hidden; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.35em;
  border-radius: 999px;
  font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .25s, color .25s, transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--blue {
  background: linear-gradient(135deg, var(--cyan) 0%, #11a6e3 100%);
  color: var(--on-blue);
  box-shadow: 0 8px 24px rgba(56, 198, 255, .28);
}
.btn--blue:hover { background: linear-gradient(135deg, var(--cyan-2) 0%, var(--cyan) 100%); box-shadow: 0 10px 30px rgba(56, 198, 255, .45), 0 0 0 4px rgba(56, 198, 255, .12); }
.btn--ghost { border: 1.5px solid var(--line-2); color: var(--text); background: rgba(7, 9, 13, .35); }
.btn--ghost:hover { border-color: var(--cyan); color: #fff; background: var(--blue-soft); }
.btn--lg { min-height: 56px; padding: .8em 1.6em; font-size: 1.05rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  color: var(--cyan); font-weight: 700; text-decoration: none;
}
.link-arrow:hover { color: #fff; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Titres de section ---------- */
.section { position: relative; padding: 100px 0; }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 14px;
  font-size: .82rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.section-title {
  font-family: var(--font-title); font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.04; letter-spacing: .01em; text-transform: uppercase;
  margin-bottom: 18px;
  text-wrap: balance;
}
.hl { color: var(--cyan); text-shadow: 0 0 24px rgba(56, 198, 255, .35); }
.section-intro { color: var(--muted); font-size: 1.12rem; margin: 0; }
.section-intro strong { color: var(--text); }

/* ==================================================================
   BARRE DE PROGRESSION « ARC ÉLECTRIQUE » (ordinateur uniquement)
   ================================================================== */
.arcbar { display: none; }

@media (min-width: 1100px) and (hover: hover) {
  .arcbar {
    display: block;
    position: fixed; z-index: 45;
    left: 16px; top: 50%;
    width: 48px; height: min(64vh, 560px);
    transform: translateY(-50%);
    pointer-events: none;
  }
  .arcbar__canvas { width: 100%; height: 100%; display: block; }
  .container { padding-left: max(var(--gutter), 76px); padding-right: max(var(--gutter), 40px); }
}

/* ==================================================================
   EN-TÊTE
   ================================================================== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color .3s, box-shadow .3s;
}
.header.is-scrolled {
  background: rgba(7, 9, 13, .86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.header__brand { display: block; flex-shrink: 0; }
.header__brand img { height: 26px; width: auto; filter: drop-shadow(0 0 14px rgba(0, 148, 204, .35)); }
.nav { margin-left: auto; display: none; }
.nav__list { display: flex; gap: 4px; }
.nav__list a {
  display: block; padding: 8px 14px; border-radius: 999px;
  font-weight: 600; text-decoration: none; color: var(--muted);
  transition: color .2s, background-color .2s;
}
.nav__list a:hover { color: #fff; }
.nav__list a.is-active { color: #fff; background: var(--blue-soft); }
.header__cta { display: none; }
.burger {
  margin-left: auto;
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(17, 24, 33, .8); border: 1px solid var(--line-2);
}
.burger .icon { width: 22px; height: 22px; }

@media (min-width: 1024px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; min-height: 44px; }
  .burger { display: none; }
}

/* ==================================================================
   MENU MOBILE (DRAWER)
   ================================================================== */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; transition: visibility 0s .42s; }
.drawer.is-open { visibility: visible; transition: none; }
.drawer__backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, .62);
  opacity: 0; transition: opacity .35s;
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(86vw, 380px);
  display: flex; flex-direction: column;
  padding: 22px 24px 28px;
  background: var(--bg-2);
  border-left: 1px solid rgba(56, 198, 255, .25);
  box-shadow: -20px 0 50px rgba(0, 0, 0, .5);
  transform: translateX(100%);
  transition: transform .42s var(--ease);
  overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.drawer__logo { height: 24px; width: auto; }
.drawer__close {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--line-2);
}
.drawer__close .icon { width: 20px; height: 20px; }
.drawer__list { display: grid; gap: 4px; }
.drawer__list a {
  display: flex; align-items: center; gap: 14px; min-height: 56px;
  padding: 0 16px; border-radius: var(--radius-sm);
  font-family: var(--font-title); font-size: 1.4rem; text-transform: uppercase; letter-spacing: .02em;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.drawer__list .icon { width: 22px; height: 22px; color: var(--cyan); }
.drawer__list a:hover, .drawer__list a.is-active { background: var(--blue-soft); color: var(--cyan-2); }
.drawer__bottom { margin-top: auto; padding-top: 28px; }
.drawer__phone { margin: 12px 0 0; text-align: center; font-size: .92rem; color: var(--muted); }

/* ==================================================================
   HERO
   ================================================================== */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 150px;
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
}
.hero__img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 70% 30%;
}
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 9, 13, .94) 0%, rgba(7, 9, 13, .82) 32%, rgba(7, 9, 13, .35) 62%, rgba(7, 9, 13, .1) 100%),
    linear-gradient(180deg, rgba(7, 9, 13, .55) 0%, transparent 22%, transparent 70%, rgba(7, 9, 13, .7) 100%);
}
.hero__inner { position: relative; }

/* Ordinateur : la photo occupe la droite et se fond dans le noir à gauche,
   le gars reste visible à côté du texte */
@media (min-width: 960px) {
  .hero__img {
    left: auto; right: 0; width: 70%;
    object-position: 42% 30%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 18%, #000 42%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 18%, #000 42%);
  }
  .hero__shade {
    background:
      radial-gradient(ellipse 60% 70% at 18% 50%, rgba(0, 148, 204, .14), transparent 70%),
      linear-gradient(90deg, rgba(7, 9, 13, .7) 0%, rgba(7, 9, 13, .35) 40%, rgba(7, 9, 13, 0) 65%),
      linear-gradient(180deg, rgba(7, 9, 13, .6) 0%, transparent 22%, transparent 72%, rgba(7, 9, 13, .75) 100%);
  }
  .hero__title { max-width: 620px; font-size: clamp(3rem, 4.9vw, 4.4rem); }
}
.hero__title {
  max-width: 760px;
  margin: 0 0 22px;
  font-family: var(--font-title); font-weight: 400;
  font-size: clamp(2.6rem, 6.6vw, 5.2rem);
  line-height: 1; letter-spacing: .005em; text-transform: uppercase;
  text-wrap: balance;
}
.hero__title .hl { display: block; }
.hero__lead { max-width: 560px; margin: 0 0 26px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #c9d6e0; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==================================================================
   SÉPARATIONS EN DIAGONALE (avec un fil lumineux)
   ================================================================== */
.cut { position: absolute; left: 0; width: 100%; height: 90px; display: block; pointer-events: none; }
.cut__wire { stroke: var(--cyan); stroke-width: 2; filter: drop-shadow(0 0 4px var(--cyan)) drop-shadow(0 0 10px rgba(0, 148, 204, .8)); }
.cut--hero { bottom: -1px; z-index: 1; }
.cut--hero .cut__fill { fill: var(--bg-2); }
.cut--zone { bottom: -1px; height: 80px; }
.cut--zone .cut__fill { fill: var(--bg-2); }
@media (max-width: 700px) { .cut { height: 46px; } .cut--zone { height: 40px; } }

/* ==================================================================
   INTRO + ACCÈS RAPIDE AUX 3 PÔLES
   ================================================================== */
.intro { background: var(--bg-2); padding-top: 70px; padding-bottom: 30px; }
.quick { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.quick__card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; row-gap: 4px;
  height: 100%;
  padding: 22px 54px 22px 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, #131b25 0%, #0f151d 100%);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform .45s var(--ease), border-color .35s, box-shadow .45s;
}
.quick__card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: -1;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform: scaleX(0); transition: transform .5s var(--ease);
}
.quick__card:hover { transform: translateY(-5px); border-color: rgba(56, 198, 255, .45); box-shadow: 0 20px 40px rgba(0, 0, 0, .45), 0 0 32px rgba(56, 198, 255, .1); }
.quick__card:hover::after { transform: scaleX(1); }
.quick__icon {
  grid-row: 1 / 3;
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--blue-soft); color: var(--cyan);
  border: 1px solid rgba(56, 198, 255, .3);
  transition: background-color .35s, color .35s, transform .45s var(--ease);
}
.quick__icon svg { width: 28px; height: 28px; }
.quick__card:hover .quick__icon { background: var(--cyan); color: var(--on-blue); transform: rotate(-6deg); }
.quick__num { position: absolute; right: 18px; top: 12px; font-family: var(--font-title); font-size: 1rem; color: rgba(143, 224, 255, .45); letter-spacing: .06em; }
.quick__title { font-family: var(--font-title); font-size: 1.45rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; }
.quick__text { color: var(--muted); font-size: .95rem; line-height: 1.45; }
.quick__arrow { position: absolute; right: 18px; bottom: 20px; width: 22px; height: 22px; color: var(--cyan); transition: transform .3s var(--ease); }
.quick__card:hover .quick__arrow { transform: translateX(4px); }

/* ==================================================================
   LES 3 PÔLES (grands blocs alternés)
   ================================================================== */
.pole { background: var(--bg); }
.pole--alt { background: var(--bg-2); }
/* Électricité : le fond de l'intro glisse en dégradé vers le noir,
   avec un fil cyan lumineux à la jonction */
.pole--grad {
  position: relative;
  background:
    radial-gradient(ellipse 70% 220px at 50% 0%, rgba(56, 198, 255, .13), transparent 70%),
    linear-gradient(180deg, var(--bg-2) 0%, #0b121b 180px, var(--bg) 420px);
}
.pole--grad::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(56, 198, 255, .2) 15%, var(--cyan) 50%, rgba(56, 198, 255, .2) 85%, transparent 100%);
  box-shadow: 0 0 12px 1px rgba(56, 198, 255, .55);
}
.pole__inner { display: grid; gap: 44px; align-items: center; }
.pole__content, .pole__media { min-width: 0; }   /* le carrousel mobile ne doit jamais élargir la page */

.pole__media { position: relative; }
.pole__media img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
/* cadre lumineux décalé */
.pole__media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border-radius: var(--radius); border: 1.5px solid rgba(56, 198, 255, .45);
  box-shadow: 0 0 22px rgba(56, 198, 255, .12), inset 0 0 22px rgba(56, 198, 255, .08);
}
.pole--reverse .pole__media::before { inset: 18px 18px -18px -18px; }
.pole__media { isolation: isolate; }

.pole__lead { color: var(--muted); font-size: 1.1rem; margin: 0 0 26px; }

.groups { display: grid; gap: 22px 28px; margin-bottom: 30px; }
.group__top, .groups-dots { display: none; }   /* utilisés seulement par le carrousel mobile */
.group__title {
  margin: 0 0 12px; padding-bottom: 8px;
  font-size: .98rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; border-bottom: 1px solid var(--line);
}
.checks { display: grid; gap: 9px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; color: #d3dee7; }
.checks .icon {
  width: 20px; height: 20px; margin-top: 1px; padding: 3px; flex-shrink: 0;
  border-radius: 50%; background: var(--blue-soft); color: var(--cyan);
}
.checks--big { gap: 14px; margin-bottom: 32px; }
.checks--big li { font-size: 1.05rem; color: var(--muted); }
.checks--big strong { color: var(--text); font-weight: 700; }
.checks--big .icon { width: 24px; height: 24px; padding: 4px; background: var(--cyan); color: var(--on-blue); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 6px 14px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line-2);
  font-size: .92rem; font-weight: 600; color: #d3dee7;
  transition: border-color .25s, color .25s, box-shadow .25s;
}
.chips li:hover { border-color: rgba(56, 198, 255, .55); color: #fff; box-shadow: 0 0 14px rgba(56, 198, 255, .15); }

.pole__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

@media (min-width: 640px) {
  .groups { grid-template-columns: 1fr 1fr; }
  .group--wide { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .pole__inner { grid-template-columns: 1fr 1.08fr; gap: 72px; }
  .pole--reverse .pole__inner { grid-template-columns: 1.08fr 1fr; }
  .pole--reverse .pole__media { order: 2; }
}
@media (min-width: 960px) and (max-width: 1180px) {
  .groups { grid-template-columns: 1fr; }
}

/* ==================================================================
   ZONE D'INTERVENTION + HORAIRES
   ================================================================== */
.zone { background: var(--bg-2); }
.zone__inner { display: grid; gap: 44px; align-items: center; }
.zone__card {
  padding: 30px 30px 26px;
  border-radius: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hours__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; margin-bottom: 14px; }
.hours__head h3 { font-family: var(--font-title); font-weight: 400; font-size: 2rem; text-transform: uppercase; color: var(--cyan); letter-spacing: .02em; }
.hours__days { display: flex; align-items: center; gap: 9px; margin: 0 0 16px; color: var(--muted); font-weight: 600; }
.hours__days .icon { color: var(--cyan); }
.hours__days strong { color: var(--text); }

/* Badge d'ouverture en direct */
.status {
  display: inline-flex; align-items: center; gap: 9px; margin: 0;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(7, 9, 13, .55); border: 1px solid var(--line-2);
  font-size: .92rem; font-weight: 600;
}
.status__dot { position: relative; width: 10px; height: 10px; flex-shrink: 0; border-radius: 50%; background: var(--muted); }
.status__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 2s ease-out infinite; }
.status.is-open .status__dot { background: var(--open); }
.status.is-soon .status__dot { background: var(--soon); }
.status.is-closed .status__dot { background: var(--closed); }
.status.is-open { border-color: rgba(61, 220, 132, .4); }
.status.is-soon { border-color: rgba(255, 171, 61, .45); }
.status.is-closed { border-color: rgba(255, 93, 93, .4); }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }

.hours { display: grid; gap: 8px; }
.hours__row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; border-radius: 14px;
  border-left: 3px solid transparent;
  font-weight: 600; color: var(--muted);
  transition: background-color .3s, color .3s;
}
.hours__row > span:last-child { font-family: var(--font-title); font-weight: 400; font-size: 1.3rem; letter-spacing: .03em; white-space: nowrap; color: var(--text); }
.hours__day em { display: none; font-style: normal; font-weight: 500; font-size: .85rem; color: var(--cyan); }
.hours__row.is-now { background: var(--blue-soft); border-left-color: var(--cyan); border-radius: 0 14px 14px 0; color: var(--text); }
.hours__row.is-now .hours__day em { display: block; }

.zone__note { display: flex; align-items: flex-start; gap: 12px; margin: 22px 0 0; color: var(--muted); }
.zone__note .icon { margin-top: 4px; color: var(--cyan); }
.zone__note a { color: var(--cyan); font-weight: 700; }

.zone__map-wrap { position: relative; }
.zone__map {
  position: relative; overflow: hidden;
  aspect-ratio: 1 / 1; min-height: 360px;
  border-radius: 30px;
  border: 1px solid rgba(56, 198, 255, .35);
  background: var(--card);
  box-shadow: 0 0 0 8px rgba(56, 198, 255, .05), 0 0 40px rgba(56, 198, 255, .08), var(--shadow);
}
.zone__map-iframe {
  width: 100%; height: 100%; border: 0; display: block;
}
.zone__map-link {
  position: absolute; right: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan) 0%, #11a6e3 100%); color: var(--on-blue);
  font-weight: 700; text-decoration: none;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.zone__map-link:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, .5), 0 0 20px rgba(56, 198, 255, .4); }

@media (min-width: 960px) {
  .zone__inner { grid-template-columns: 1fr 1fr; gap: 64px; }
}

/* ==================================================================
   BANDEAU FINAL
   ================================================================== */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 96px 0;
  background:
    radial-gradient(ellipse at 50% 125%, rgba(56, 198, 255, .32), transparent 62%),
    var(--navy);
  border-top: 1px solid rgba(56, 198, 255, .25);
  text-align: center;
}
/* fines lignes de circuit en fond */
.cta-band__lines {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(56, 198, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 198, 255, .07) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 100%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 100%, #000 10%, transparent 70%);
}
.cta-band h2 { font-family: var(--font-title); font-weight: 400; font-size: clamp(2.2rem, 5.4vw, 3.8rem); text-transform: uppercase; margin-bottom: 14px; }
.cta-band p { max-width: 580px; margin: 0 auto 30px; color: var(--muted); font-size: 1.12rem; }
.cta-band__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ==================================================================
   PIED DE PAGE
   ================================================================== */
.footer { background: #040507; border-top: 1px solid var(--line); padding: 70px 0 30px; }
.footer__grid { display: grid; gap: 40px; grid-template-columns: 1.4fr 1fr 1.2fr; }
.footer__logo { width: 190px; height: auto; margin-bottom: 16px; }
.footer__brand-line { display: none; width: 40px; height: 3px; border-radius: 3px; background: var(--cyan); margin: 0 0 14px; }
.footer__tagline { margin: 0 0 8px; font-family: var(--font-title); font-size: 1.1rem; text-transform: uppercase; letter-spacing: .03em; }
.footer__desc { color: var(--muted); max-width: 360px; }
.footer__heading {
  position: relative; margin: 6px 0 24px; padding-bottom: 12px;
  font-family: var(--font-title); font-weight: 400; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .03em;
}
.footer__heading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--cyan); box-shadow: 0 0 8px rgba(56, 198, 255, .6); }
.footer__links, .footer__contact { display: grid; gap: 14px; }
.footer__link-btn, .footer__contact a {
  display: inline-flex; align-items: flex-start; gap: 10px;
  color: var(--muted); text-decoration: none; text-align: left; line-height: 1.45;
  transition: color .2s;
}
.footer__link-btn:hover, .footer__contact a:hover { color: #fff; }
.footer__links .icon, .footer__contact .icon { margin-top: 2px; color: var(--cyan); }
.footer__bottom { margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line); text-align: center; font-size: .9rem; color: var(--muted); }
.footer__bottom p { margin: 0; }

@media (max-width: 800px) {
  .footer { padding: 56px 0 100px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer__brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; }
  .footer__logo { width: 170px; }
  .footer__brand-line { display: block; }
  .footer__desc { margin-left: auto; margin-right: auto; }
  .footer__heading { font-size: 1.15rem; }
  .footer__links, .footer__contact { gap: 12px; font-size: .92rem; }
  .footer__contact a { overflow-wrap: break-word; word-break: normal; min-width: 0; }
  .footer__bottom { margin-top: 36px; }
}

/* ==================================================================
   BARRE MOBILE (Appeler / Devis)
   ================================================================== */
.mobile-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px;
  padding: 8px; border-radius: 999px;
  background: rgba(12, 17, 24, .92); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform: translateY(140%); transition: transform .4s var(--ease);
}
.mobile-bar.is-visible { transform: translateY(0); }
.mobile-bar__btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border-radius: 999px;
  font-weight: 700; text-decoration: none;
  background: var(--card-2);
}
.mobile-bar__btn--call { background: linear-gradient(135deg, var(--cyan) 0%, #11a6e3 100%); color: var(--on-blue); }
@media (min-width: 1024px) { .mobile-bar { display: none; } }

/* ==================================================================
   MENTIONS LÉGALES (fenêtre)
   ================================================================== */
.legal {
  width: min(94vw, 760px); max-height: 88vh; padding: 0;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--bg-2); color: var(--text);
}
.legal::backdrop { background: rgba(0, 0, 0, .75); }
.legal[open] { animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }
.legal__inner { position: relative; padding: 40px 34px 34px; }
.legal h2 { font-family: var(--font-title); font-weight: 400; font-size: 2rem; text-transform: uppercase; margin: 0 0 18px; padding-top: 8px; scroll-margin-top: 20px; }
.legal h2:not(:first-of-type) { margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.05rem; margin: 22px 0 8px; color: var(--cyan); }
.legal p { color: var(--muted); font-size: .98rem; }
.legal__close {
  position: sticky; top: 0; float: right; margin: -16px -10px 0 0;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--line-2);
}
@media (max-width: 600px) { .legal__inner { padding: 30px 20px 24px; } }

/* ==================================================================
   ANIMATIONS AU DÉFILEMENT (intensité moyenne)
   ================================================================== */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* photos des pôles qui se dévoilent de côté */
.js .pole__media[data-reveal] img { clip-path: inset(0 100% 0 0 round var(--radius)); transition: clip-path 1.1s var(--ease) .1s; }
.js .pole--reverse .pole__media[data-reveal] img { clip-path: inset(0 0 0 100% round var(--radius)); }
.js .pole__media[data-reveal].is-visible img { clip-path: inset(0 0 0 0 round var(--radius)); }

/* entrée du hero */
.js .hero__title, .js .hero__lead, .js .hero__btns { animation: rise 1s var(--ease) both; }
.js .hero__title { animation-delay: .1s; }
.js .hero__lead { animation-delay: .25s; }
.js .hero__btns { animation-delay: .5s; }
.js .hero__img { animation: hero-zoom 1.8s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes hero-zoom { from { opacity: 0; transform: scale(1.06); } }
.js .cut--hero .cut__wire { stroke-dasharray: 3200; stroke-dashoffset: 3200; animation: wire-in 1.4s .6s var(--ease) forwards; }
@keyframes wire-in { to { stroke-dashoffset: 0; } }

@media (max-width: 700px) {
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 38px; }
  .js [data-reveal] { transform: translateY(18px); transition-duration: .6s; }
  .js [data-reveal="left"], .js [data-reveal="right"] { transform: translateY(18px); }
  .hero { align-items: flex-end; padding-bottom: 96px; }
  .hero__img { object-position: 72% 30%; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(7, 9, 13, .5) 0%, rgba(7, 9, 13, .4) 22%, rgba(7, 9, 13, .9) 46%, rgba(7, 9, 13, .97) 100%);
  }
  .hero__btns .btn { width: 100%; }
  .intro { padding-top: 56px; }
  .pole__media::before { inset: 12px -8px -12px 12px; }
  .pole--reverse .pole__media::before { inset: 12px 12px -12px -8px; }
  .zone__card { padding: 24px 18px 20px; }
  .hours__row { padding: 14px 14px; }
  .zone__map { min-height: 320px; aspect-ratio: 4 / 5; }
  .zone__map-link { left: 16px; right: 16px; justify-content: center; }
  .cta-band { padding: 76px 0; }
  .cta-band__btns .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .pole__media[data-reveal] img { clip-path: none; }
  .js .cut--hero .cut__wire { stroke-dashoffset: 0; }
}


/* ==================================================================
   ÉLECTRICITÉ : CARROUSEL MOBILE DES 3 GROUPES DE SERVICES
   ================================================================== */
@media (max-width: 639px) {
  .groups {
    display: flex; gap: 14px;
    margin: 0 calc(-1 * var(--gutter)) 0;
    padding: 6px var(--gutter) 10px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .groups::-webkit-scrollbar { display: none; }
  .group {
    position: relative; overflow: hidden;
    flex: 0 0 86%; scroll-snap-align: center;
    padding: 22px 20px 22px;
    border-radius: 22px;
    background: radial-gradient(120% 90% at 100% 0%, rgba(56, 198, 255, .10), transparent 55%), linear-gradient(180deg, #121a24 0%, #0c1118 100%);
    border: 1px solid var(--line);
    transition: border-color .35s;
  }
  .js .group[data-reveal] { transform: none; }
  .group.is-active { border-color: rgba(56, 198, 255, .5); }
  .group__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
  .group__num {
    font-family: var(--font-title); font-size: 3rem; line-height: .85;
    color: transparent; -webkit-text-stroke: 1.5px rgba(143, 224, 255, .55);
    transition: color .4s, -webkit-text-stroke-color .4s;
  }
  .group__icon {
    display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
    background: var(--blue-soft); color: var(--cyan); border: 1px solid rgba(56, 198, 255, .35);
    transition: background-color .35s, color .35s, transform .4s var(--ease);
  }
  .group__icon .icon { width: 26px; height: 26px; }
  .group.is-active .group__num { color: var(--cyan); -webkit-text-stroke-color: var(--cyan); }
  .group.is-active .group__icon { background: var(--cyan); color: var(--on-blue); transform: rotate(-8deg); }
  .group__title { border-bottom: 0; padding-bottom: 0; margin-bottom: 14px; font-size: 1.05rem; }
  .group__title { font-family: var(--font-title); font-weight: 400; font-size: 1.5rem; letter-spacing: .02em; }
  .checks li { font-size: .98rem; }

  .groups-dots { display: flex; justify-content: center; gap: 8px; margin: 16px 0 28px; }
  .groups-dots button { width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .2); transition: width .3s var(--ease), background-color .3s; }
  .groups-dots button.is-active { width: 24px; background: var(--cyan); }

  .pole__btns { flex-direction: column; align-items: stretch; gap: 16px; }
  .pole__btns .btn { width: 100%; }
  .pole__btns .link-arrow { justify-content: center; }
}

/* texte masqué sur téléphone (ex. numéro dans le bouton Appeler du hero) */
@media (max-width: 639px) { .hide-mobile { display: none; } }
