/* ═══════════════════════════════════════════════════════════════════════════
   GUINAULT — MICROSITE « EGA SERIES eGPU »
   Feuille de style — v2

   Déposer dans : /wp-content/uploads/ega/ega.css
   Chargée par le snippet ega-enqueue.php

   v2 :
   - Header fixe (sticky fiable même dans un conteneur Elementor)
   - Logo header +75 %
   - Hero : produit détouré non tronqué, plus de crop
   - Animations : reveal mot par mot, compteurs, reveal d'images
   - Skin du widget Formulaire Elementor Pro
   ═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════════════════════ */
.ega {
  --navy:        #231E45;
  --navy-deep:   #1B1736;
  --blue:        #233377;
  --blue-soft:   #3D51A8;
  --blue-pale:   #8FA0E8;
  --white:       #FFFFFF;
  --off:         #F5F5F8;
  --off-2:       #ECECF2;
  --line:        rgba(35, 30, 69, 0.12);
  --line-light:  rgba(255, 255, 255, 0.16);
  --txt:         #231E45;
  --txt-soft:    rgba(35, 30, 69, 0.62);
  --txt-mute:    rgba(35, 30, 69, 0.42);
  --txt-inv:     rgba(255, 255, 255, 0.72);

  --display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
  --ease:    cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --container: 1240px;
  --gutter: 40px;
  --nav-h: 76px;

  font-family: var(--display);
  color: var(--txt);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

.ega *, .ega *::before, .ega *::after { box-sizing: border-box; }
.ega img { max-width: 100%; display: block; }

/* Reset des boutons : Elementor et Hello Elementor appliquent leurs
   propres fonds, radius et états :focus sur tous les <button>.
   On repart de zéro avant de reconstruire nos propres styles. */
.ega button {
  font-family: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: inherit;
  line-height: inherit;
  text-shadow: none;
  touch-action: manipulation;
}

.ega__wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Primitives typo ── */
.ega-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--txt-mute);
}
.ega-eyebrow::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(35, 51, 119, 0.16);
  flex-shrink: 0;
}
.ega-eyebrow--inv { color: rgba(255, 255, 255, 0.6); }
.ega-eyebrow--inv::before {
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

.ega-h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 14px 0 0;
}
.ega-lede {
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--txt-soft);
  margin: 18px 0 0;
  max-width: 62ch;
}


/* ═══════════════════════════════════════════════════════════
   ANIMATIONS AU SCROLL
═══════════════════════════════════════════════════════════ */

/* — Bloc : fondu + montée —
   Les états masqués sont conditionnés à .ega-js, posé par le script
   au démarrage. Si ega.js ne se charge pas (erreur réseau, cache,
   conflit), rien n'est masqué et la page reste entièrement lisible. */
.ega-rise { transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out); }
.ega-js .ega-rise { opacity: 0; transform: translateY(24px); }
.ega-js .ega-rise.is-in { opacity: 1; transform: none; }
.ega-rise[data-d="1"] { transition-delay: 0.09s; }
.ega-rise[data-d="2"] { transition-delay: 0.18s; }
.ega-rise[data-d="3"] { transition-delay: 0.27s; }
.ega-rise[data-d="4"] { transition-delay: 0.36s; }

/* — Texte : reveal mot par mot —
   Chaque mot est enveloppé par le JS dans .ega-w > .ega-wi.
   Le padding/margin négatif évite que les jambages (g, p, y)
   soient coupés par l'overflow. */
[data-reveal] .ega-w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  margin-right: 0.26em;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
[data-reveal] .ega-w:last-child { margin-right: 0; }
[data-reveal] .ega-wi {
  display: inline-block;
  transform: translateY(112%);
  transition: transform 0.95s var(--ease-out);
  will-change: transform;
}
[data-reveal].is-in .ega-wi { transform: none; }

/* — Filet : trait qui se déploie — */
.ega-line-in { transition: transform 1s var(--ease-out) 0.18s; }
.ega-js .ega-line-in { transform: scaleX(0); transform-origin: left center; }
.ega-js .ega-line-in.is-in { transform: scaleX(1); }

/* — Image : dévoilement par le bas — */
.ega-img-in { transition: clip-path 1.15s var(--ease-out), transform 1.4s var(--ease-out); }
.ega-js .ega-img-in { clip-path: inset(0 0 100% 0); transform: scale(1.06); }
.ega-js .ega-img-in.is-in { clip-path: inset(0 0 0 0); transform: none; }

/* — Compteur — */
.ega-count { font-variant-numeric: tabular-nums; }


/* ═══════════════════════════════════════════════════════════
   00 — HEADER FIXE
   position: fixed plutôt que sticky : un conteneur Elementor
   parent en overflow:hidden ou avec un transform casse
   systématiquement position:sticky. Le spacer compense la
   hauteur retirée du flux.
═══════════════════════════════════════════════════════════ */
.ega-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9990;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
  transition: height 0.45s var(--ease), background-color 0.45s var(--ease),
              box-shadow 0.45s var(--ease);
}
.ega-nav.is-scrolled {
  height: 64px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 10px 40px -18px rgba(35, 30, 69, 0.26);
}
.ega-nav-spacer { height: var(--nav-h); }

.ega-nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Logo : 30px → 52px (+75 %) */
.ega-nav__mark {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  text-decoration: none;
}
.ega-nav__mark svg {
  width: 52px;
  height: auto;
  transition: width 0.45s var(--ease);
}
.ega-nav.is-scrolled .ega-nav__mark svg { width: 44px; }
.ega-nav__mark svg path, .ega-nav__mark svg rect { fill: var(--navy); }
.ega-nav__mark span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--txt-mute);
  padding-left: 16px;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}

.ega-nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.ega-nav__link {
  position: relative;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--txt-soft);
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 100px;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.ega-nav__link:hover, .ega-nav__link.is-current {
  background: rgba(35, 30, 69, 0.06);
  color: var(--navy);
}
.ega-nav__cta,
.ega-nav__cta:link,
.ega-nav__cta:visited,
.ega-nav__cta:hover,
.ega-nav__cta:focus,
.ega-nav__cta:active {
  color: var(--white) !important;
  text-decoration: none !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
}
.ega-nav__cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono) !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  background-color: var(--navy) !important;
  padding: 13px 22px !important;
  border-radius: 100px !important;
  margin-left: 10px;
  transition: background-color 0.3s var(--ease);
  white-space: nowrap;
}
.ega-nav__cta:hover { background-color: var(--blue) !important; }


/* ═══════════════════════════════════════════════════════════
   01 — HERO
   Le produit n'est plus recadré : il est posé « contenu »
   sur un panneau clair dont le dégradé prolonge celui du
   render, ce qui efface la limite du rectangle image.
═══════════════════════════════════════════════════════════ */
.ega-hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.ega-hero__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 580px;
}
.ega-hero__copy {
  padding: 78px var(--gutter) 78px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.ega-hero__title {
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 18px 0 0;
}
.ega-hero__title em {
  font-style: normal;
  color: var(--blue-pale);
}
.ega-hero__sub {
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--txt-inv);
  margin: 22px 0 0;
  max-width: 44ch;
}

/* Bandeau de chiffres */
.ega-hero__stats {
  display: flex;
  margin: 38px 0 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.ega-hero__stat {
  flex: 1;
  padding: 20px 20px 20px 0;
  border-right: 1px solid var(--line-light);
}
.ega-hero__stat:last-child { border-right: none; padding-right: 0; }
.ega-hero__stat:not(:first-child) { padding-left: 22px; }
.ega-hero__stat-v {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  display: block;
}
.ega-hero__stat-v small {
  font-size: 0.52em;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-left: 3px;
}
.ega-hero__stat-l {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 9px;
  display: block;
}

.ega-hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 34px 0 0;
  flex-wrap: wrap;
}

/* — Panneau produit : l'image couvre toute la surface — */
.ega-hero__visual {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  background: #D3D3DA; /* fallback pendant le chargement */
}
.ega-hero__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Étiquette en bas de panneau, lisible sur photo */
.ega-hero__tag {
  position: absolute;
  left: 28px;
  bottom: 24px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 12px rgba(27, 23, 54, 0.7);
}

/* — Boutons —
   Le kit Elementor applique sa propre typo et ses couleurs de lien
   avec une spécificité supérieure (.elementor-kit-N button / a:hover).
   Les propriétés structurantes sont donc forcées. */
.ega-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  font-family: var(--mono) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  padding: 17px 26px !important;
  min-height: 0 !important;
  border-radius: 100px !important;
  border: 1px solid transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  text-shadow: none !important;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), gap 0.35s var(--ease);
}

.ega-btn--solid,
.ega-btn--solid:hover,
.ega-btn--solid:focus,
.ega-btn--solid:active {
  color: var(--navy) !important;
}
.ega-btn--solid { background-color: var(--white) !important; }
.ega-btn--solid:hover { background-color: #D8DEF6 !important; gap: 18px; }

.ega-btn--ghost,
.ega-btn--ghost:hover,
.ega-btn--ghost:focus,
.ega-btn--ghost:active {
  color: var(--white) !important;
  background-color: transparent !important;
}
.ega-btn--ghost { border-color: rgba(255, 255, 255, 0.3) !important; }
.ega-btn--ghost:hover {
  border-color: var(--white) !important;
  background-color: rgba(255, 255, 255, 0.07) !important;
  gap: 18px;
}

.ega-btn--dark,
.ega-btn--dark:hover,
.ega-btn--dark:focus,
.ega-btn--dark:active {
  color: var(--white) !important;
}
.ega-btn--dark { background-color: var(--navy) !important; }
.ega-btn--dark:hover { background-color: var(--blue) !important; gap: 18px; }

/* — Badge salon — */
.ega-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  padding: 12px 18px;
  border: 1px solid var(--line-light);
  border-radius: 100px;
}
.ega-badge__dot {
  position: relative;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-pale);
  flex-shrink: 0;
}
.ega-badge__dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--blue-pale);
  animation: ega-ping 2s var(--ease) infinite;
}
@keyframes ega-ping {
  0%   { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}

.ega-badge--link {
  text-decoration: none;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.ega-badge--link:hover {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

/* — Motif d'arcs concentriques (élément de marque) — */
.ega-arcs { position: absolute; pointer-events: none; opacity: 0.5; }
.ega-arcs circle { fill: none; stroke: #5C6FC9; stroke-width: 0.7; }
.ega-arcs--tl { top: -180px; left: -220px; width: 620px; height: 620px; }
.ega-arcs--br { bottom: -260px; right: -180px; width: 720px; height: 720px; opacity: 0.34; }
.ega-arcs--light circle { stroke: #9AA3C4; }


/* ═══════════════════════════════════════════════════════════
   02 — LES 3 PILIERS
═══════════════════════════════════════════════════════════ */
.ega-pillars { padding: 100px 0 104px; background: var(--white); }
.ega-pillars__head { text-align: center; margin-bottom: 58px; }
.ega-pillars__head .ega-lede { margin-left: auto; margin-right: auto; }

.ega-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.ega-pillar {
  background: var(--white);
  padding: 40px 34px 42px;
  display: flex;
  flex-direction: column;
  transition: background-color 0.4s var(--ease);
}
.ega-pillar:hover { background: var(--off); }
.ega-pillar__n {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--blue);
}
.ega-pillar__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--txt-mute);
  margin: 26px 0 0;
}
.ega-pillar__title {
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.018em;
  margin: 12px 0 0;
}
.ega-pillar__body {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.62;
  color: var(--txt-soft);
  margin: 16px 0 0;
}
.ega-pillar__rule {
  display: block;
  height: 1px;
  background: var(--line);
  margin: 26px 0 0;
  position: relative;
}
.ega-pillar__rule::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 34px; height: 1px;
  background: var(--blue);
}


/* ═══════════════════════════════════════════════════════════
   03 — EXPLORATEUR INTERACTIF
═══════════════════════════════════════════════════════════ */
.ega-explore {
  padding: 100px 0 108px;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.ega-explore .ega-h2 { color: var(--white); }
.ega-explore__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 44px;
}
.ega-explore__head .ega-lede { color: var(--txt-inv); }

.ega-toggle {
  display: inline-flex;
  padding: 4px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-light);
  border-radius: 100px;
  flex-shrink: 0;
}
.ega-toggle__btn,
.ega-toggle__btn:hover,
.ega-toggle__btn:focus,
.ega-toggle__btn:active,
.ega-toggle__btn:focus-visible {
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  text-decoration: none !important;
}
.ega-toggle__btn {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  background-color: transparent !important;
  padding: 12px 22px !important;
  border-radius: 100px !important;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
}
.ega-toggle__btn:hover { color: rgba(255, 255, 255, 0.9); }
.ega-toggle__btn.is-active {
  background-color: var(--white) !important;
  color: var(--navy);
}
.ega-toggle__btn:focus-visible {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5) !important;
}

.ega-explore__body {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  align-items: start;
}

/* — Scène produit — */
.ega-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-light);
  border-radius: 6px;
  overflow: hidden;
}
.ega-stage__view {
  position: absolute;
  inset: 0;
  margin: auto;
  height: -moz-fit-content;
  height: fit-content;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease);
}
.ega-stage__view.is-active { opacity: 1; visibility: visible; }
.ega-stage__view img { width: 100%; height: auto; }

.ega-stage__hint {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 5;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.ega-stage.has-selection .ega-stage__hint { opacity: 0; }

/* ── Hotspots ──────────────────────────────────────────────
   Le bouton n'est qu'une zone de clic invisible de 48 px.
   Toute la mise en forme vit sur .ega-hotspot__dot, ce qui
   permet de scaler la pastille sans casser le centrage
   translate(-50%, -50%) du bouton.
─────────────────────────────────────────────────────────── */

/* Reset : Elementor pose un fond rose sur :focus / :active.
   !important nécessaire, ses sélecteurs de kit ont la même
   spécificité et passent après dans la cascade. */
.ega-hotspot,
.ega-hotspot:hover,
.ega-hotspot:focus,
.ega-hotspot:active,
.ega-hotspot:focus-visible,
.ega-hotspot:focus-within {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  filter: none !important;
  text-decoration: none !important;
}

.ega-hotspot {
  position: absolute;
  width: 48px; height: 48px;
  transform: translate(-50%, -50%);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: ega-hotspot-in 0.6s var(--ease-out) forwards;
  -webkit-tap-highlight-color: transparent;
}
.ega-hotspot.is-active { z-index: 6; }
.ega-hotspot:hover { z-index: 5; }

@keyframes ega-hotspot-in {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* — Pastille au repos : blanche, chiffre navy — */
.ega-hotspot__dot {
  position: relative;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  /* Léger dépassement en fin de course : la pastille « arrive »
     au lieu de simplement grandir. */
  transition:
    transform 0.42s cubic-bezier(0.34, 1.5, 0.64, 1),
    background-color 0.3s var(--ease),
    color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  will-change: transform;
}

/* Anneau pulsant au repos */
.ega-hotspot__dot::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.85);
  animation: ega-ping 2.6s var(--ease) infinite;
  transition: opacity 0.3s var(--ease);
}

/* — Survol : ×1.5 + inversion blanc → navy — */
.ega-hotspot:hover .ega-hotspot__dot,
.ega-hotspot:focus-visible .ega-hotspot__dot {
  transform: scale(1.5);
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.48);
}

/* — Sélectionné : ×1.5 + bleu Guinault — */
.ega-hotspot.is-active .ega-hotspot__dot {
  transform: scale(1.5);
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(35, 51, 119, 0.6);
}

/* Anneau : le pulse s'arrête, un cerne net prend le relais */
.ega-hotspot:hover .ega-hotspot__dot::before,
.ega-hotspot:focus-visible .ega-hotspot__dot::before,
.ega-hotspot.is-active .ega-hotspot__dot::before {
  animation: none;
  transform: none;
  inset: -4px;
  border-color: rgba(255, 255, 255, 0.9);
  opacity: 1;
}

/* Focus clavier : cerne supplémentaire, sans le rose Elementor */
.ega-hotspot:focus-visible .ega-hotspot__dot {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.48),
              0 0 0 3px rgba(255, 255, 255, 0.55);
}

/* — Panneau de détail — */
.ega-panel {
  border: 1px solid var(--line-light);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  padding: 34px 32px 36px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
}
.ega-panel__empty {
  margin: auto 0;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
}
.ega-panel__content { display: none; }
.ega-panel__content.is-shown { display: block; }
.ega-panel__n {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--blue-pale);
  opacity: 0;
  animation: ega-slide-in 0.5s var(--ease-out) 0.02s forwards;
}
.ega-panel__title {
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.022em;
  margin: 14px 0 0;
  opacity: 0;
  animation: ega-slide-in 0.55s var(--ease-out) 0.08s forwards;
}
.ega-panel__body {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.66;
  color: var(--txt-inv);
  margin: 15px 0 0;
  opacity: 0;
  animation: ega-slide-in 0.55s var(--ease-out) 0.15s forwards;
}
.ega-panel__specs {
  list-style: none;
  margin: 26px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.ega-panel__specs li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0;
  /* Le délai est posé en ligne par le JS : le nombre de specs
     varie de 3 à 6 selon les points. */
  animation: ega-slide-in 0.5s var(--ease-out) forwards;
}
.ega-panel__specs li::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--blue-pale);
  flex-shrink: 0;
  transform: translateY(-2px);
}

/* ── Vignettes média dans le panneau ── */
.ega-panel__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 22px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-light);
}
.ega-panel__media[hidden] { display: none; }

.ega-thumb,
.ega-thumb:hover,
.ega-thumb:focus,
.ega-thumb:active {
  background: none !important;
  border: 1px solid var(--line-light) !important;
  border-radius: 4px !important;
  padding: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}
.ega-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  cursor: zoom-in;
  opacity: 0;
  animation: ega-slide-in 0.5s var(--ease-out) forwards;
  transition: border-color 0.3s var(--ease);
  /* Les visuels fournis vont du panoramique au portrait :
     contain plutôt que cover, sinon certains sont réduits
     à une bande illisible. */
  background: rgba(255, 255, 255, 0.06) !important;
}
.ega-thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.ega-thumb:hover { border-color: rgba(255, 255, 255, 0.45) !important; }
.ega-thumb:hover img { transform: scale(1.06); }

.ega-thumb__zoom {
  position: absolute;
  right: 8px; bottom: 8px;
  width: 26px; height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(27, 23, 54, 0.82);
  color: #fff;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.ega-thumb__zoom svg { width: 13px; height: 13px; }
.ega-thumb:hover .ega-thumb__zoom,
.ega-thumb:focus-visible .ega-thumb__zoom { opacity: 1; transform: none; }

/* ── Visionneuse plein écran ── */
.ega-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
  background: rgba(20, 17, 40, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  cursor: zoom-out;
}
.ega-lightbox.is-open { opacity: 1; }
.ega-lightbox[hidden] { display: none; }

.ega-lightbox__figure {
  margin: 0;
  /* Dimensions fixes : le cadre ne dépend plus des dimensions
     natives de l'image. Sans ça, la figure se calcule avant que
     l'image soit chargée et reste parfois trop petite. */
  width: min(1100px, 92vw);
  height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform: scale(0.96);
  transition: transform 0.42s var(--ease-out);
}
.ega-lightbox.is-open .ega-lightbox__figure { transform: none; }
.ega-lightbox__figure img {
  flex: 1;
  min-height: 0;
  width: 100%;
  height: 100%;
  /* contain met à l'échelle dans les deux sens : les visuels
     plus petits que le cadre sont agrandis, les plus grands
     réduits, sans jamais déformer. */
  object-fit: contain;
  border-radius: 6px;
  cursor: default;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.ega-lightbox__figure img.is-loaded { opacity: 1; }
.ega-lightbox__figure figcaption {
  flex: 0 0 auto;
  font-family: var(--mono, 'JetBrains Mono', monospace);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.ega-lightbox__close,
.ega-lightbox__close:hover,
.ega-lightbox__close:focus,
.ega-lightbox__close:active {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  background: transparent !important;
  color: #fff !important;
  padding: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.ega-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}
.ega-lightbox__close svg { width: 17px; height: 17px; }
@keyframes ega-slide-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}


/* ═══════════════════════════════════════════════════════════
   04 — BATTERIE & RECHARGE
═══════════════════════════════════════════════════════════ */
.ega-energy { padding: 100px 0 104px; background: var(--off); }
.ega-energy__head { max-width: 720px; margin-bottom: 54px; }

.ega-energy__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: stretch;   /* les deux colonnes s'alignent en haut ET en bas */
}

.ega-configs {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 34px 34px 30px;
  display: flex;
  flex-direction: column;
}
.ega-configs__title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--txt-mute);
  margin: 0 0 26px;
}
.ega-config {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.ega-config:last-child { border-bottom: none; }
.ega-config__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.ega-config__label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--txt-soft);
}
.ega-config__value {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}
.ega-config__track {
  height: 3px;
  background: var(--off-2);
  border-radius: 2px;
  overflow: hidden;
}
.ega-config__bar {
  height: 100%;
  width: 0;
  background: var(--blue);
  border-radius: 2px;
  transition: width 1.15s var(--ease-out);
}
.ega-config.is-max .ega-config__bar { background: var(--navy); }
.ega-config.is-max .ega-config__value { font-size: 15px; }

.ega-energy__side { display: flex; flex-direction: column; gap: 16px; }
/* Symétrie garantie dans les deux sens : si la colonne de gauche
   devient la plus haute, c'est la dernière carte qui absorbe l'écart. */
.ega-energy__side > .ega-card:last-child { flex: 1 0 auto; }

.ega-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 28px 30px;
}
.ega-card--navy { background: var(--navy); border-color: var(--navy); color: var(--white); }
.ega-card__k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--txt-mute);
}
.ega-card--navy .ega-card__k { color: rgba(255, 255, 255, 0.5); }
.ega-card__big {
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 14px 0 0;
}
.ega-card__big small {
  font-size: 0.42em;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-left: 4px;
}
.ega-card__big--sm { font-size: 1.5rem; line-height: 1.15; }
.ega-card__txt {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--txt-soft);
  margin: 12px 0 0;
}
.ega-card--navy .ega-card__txt { color: var(--txt-inv); }

.ega-specs {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.ega-spec { background: var(--white); padding: 26px 24px 28px; }
.ega-spec__k {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--txt-mute);
}
.ega-spec__v {
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 12px 0 0;
  line-height: 1.2;
}
.ega-spec__d {
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--txt-soft);
  margin: 9px 0 0;
}


/* ═══════════════════════════════════════════════════════════
   05 — IMPACT APU-OFF
═══════════════════════════════════════════════════════════ */
.ega-impact {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
}
.ega-impact__bg { position: absolute; inset: 0; }
.ega-impact__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 62%;
}
.ega-impact__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(27, 23, 54, 0.96) 0%,
    rgba(27, 23, 54, 0.88) 46%,
    rgba(27, 23, 54, 0.72) 100%);
}
.ega-impact__grid {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px var(--gutter) 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.ega-impact .ega-h2 { color: var(--white); }
.ega-impact__figure {
  font-size: clamp(4.4rem, 9vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.9;
  margin: 24px 0 0;
}
.ega-impact__figure span { color: var(--blue-pale); }
.ega-impact__caption {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--txt-inv);
  margin: 20px 0 0;
  max-width: 40ch;
}
.ega-impact__list { list-style: none; margin: 32px 0 0; padding: 0; }
.ega-impact__list li {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  padding: 15px 0;
  border-top: 1px solid var(--line-light);
}
.ega-impact__list li:last-child { border-bottom: 1px solid var(--line-light); }

.ega-continuity { display: flex; flex-direction: column; gap: 16px; }
.ega-cont-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-light);
  border-radius: 6px;
  padding: 30px 30px 32px;
}
.ega-cont-card__k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-pale);
}
.ega-cont-card__t {
  font-size: 1.16rem;
  font-weight: 600;
  line-height: 1.26;
  letter-spacing: -0.018em;
  margin: 13px 0 0;
}
.ega-cont-card__b {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.62;
  color: var(--txt-inv);
  margin: 12px 0 0;
}


/* ═══════════════════════════════════════════════════════════
   06 — SECTION FORMULAIRE
   Le formulaire lui-même est le widget « Formulaire » d'Elementor
   Pro, déposé dans un conteneur portant la classe .ega-formzone.
   Les règles ci-dessous l'habillent aux couleurs du microsite.
═══════════════════════════════════════════════════════════ */
.ega-form-sec { padding: 100px 0 104px; background: var(--white); }
.ega-form-sec__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start;
}

.ega-brochure__list { list-style: none; margin: 30px 0 0; padding: 0; }
.ega-brochure__list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--txt-soft);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.ega-brochure__list li:first-child { border-top: 1px solid var(--line); }
.ega-brochure__list li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  transform: translateY(-3px);
}

/* ── FORMULAIRE NATIF (maquette pour validation DA) ──────────
   Markup autonome, aucun plugin requis. À remplacer par le
   widget Formulaire Elementor Pro au moment du dev : le skin
   Elementor plus bas produit exactement le même rendu.
─────────────────────────────────────────────────────────── */
.ega-form {
  background: var(--off);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 36px 36px 32px;
}

.ega-field { margin-bottom: 18px; }
.ega-field:last-of-type { margin-bottom: 0; }
.ega-field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.ega-field label,
.ega-field__row > div > label {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--txt-mute);
  margin-bottom: 9px;
}

.ega-form input[type="text"],
.ega-form input[type="email"] {
  width: 100%;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--txt);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px 16px;
  box-shadow: none;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.ega-form input[type="text"]:focus,
.ega-form input[type="email"]:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(35, 51, 119, 0.1);
}
.ega-form input::placeholder { color: var(--txt-mute); }

/* Grille de recharge en 3 colonnes */
.ega-specs--3 { grid-template-columns: repeat(3, 1fr); }
.ega-spec__v--sm { font-size: 1rem; line-height: 1.35; }

/* Liste déroulante — même habillage que les champs texte */
.ega-select { position: relative; }
.ega-select::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 6px; height: 6px;
  margin-top: -5px;
  border-right: 1.4px solid var(--txt-mute);
  border-bottom: 1.4px solid var(--txt-mute);
  transform: rotate(45deg);
  pointer-events: none;
}
.ega-select select {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--txt);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px 42px 14px 16px;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.ega-select select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(35, 51, 119, 0.1);
}
.ega-select select:invalid { color: var(--txt-mute); }

.ega-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0 0;
  cursor: pointer;
}
.ega-consent input[type="checkbox"] {
  width: 17px; height: 17px;
  margin: 2px 0 0;
  accent-color: var(--blue);
  flex-shrink: 0;
  cursor: pointer;
}
.ega-consent span {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--txt-soft);
}
.ega-consent a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ega-form__submit,
.ega-form__submit:hover,
.ega-form__submit:focus,
.ega-form__submit:active {
  display: flex !important;
  width: 100% !important;
  justify-content: center;
  margin: 26px 0 0 !important;
  color: var(--white) !important;
  outline: none !important;
}
.ega-form__submit { background-color: var(--navy) !important; }
.ega-form__submit:hover { background-color: var(--blue) !important; }
.ega-form__submit:disabled { opacity: 0.55; cursor: default; }

.ega-form__note {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--txt-mute);
  margin: 18px 0 0;
  text-align: center;
}

/* État de confirmation */
.ega-form__success { display: none; text-align: center; padding: 26px 0 20px; }
.ega-form.is-sent .ega-form__body { display: none; }
.ega-form.is-sent .ega-form__success { display: block; animation: ega-slide-in 0.5s var(--ease-out); }
.ega-form__success-mark {
  width: 46px; height: 46px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ega-form__success-mark svg {
  width: 20px; height: 20px;
  stroke: #fff; fill: none; stroke-width: 2;
}
.ega-form__success-t { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.018em; margin: 0; }
.ega-form__success-b {
  font-size: 0.9rem; font-weight: 300; line-height: 1.6;
  color: var(--txt-soft); margin: 10px auto 0; max-width: 34ch;
}

/* ── SKIN DU WIDGET FORMULAIRE ELEMENTOR PRO ── */
.ega-formzone {
  background: var(--off);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 36px 36px 30px;
}

.ega-formzone .elementor-form .elementor-field-group > label,
.ega-formzone .elementor-field-label {
  font-family: var(--mono) !important;
  font-size: 9.5px !important;
  font-weight: 500 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: rgba(35, 30, 69, 0.42) !important;
  margin-bottom: 9px !important;
  padding: 0 !important;
}

.ega-formzone .elementor-field-textual {
  font-family: var(--display) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: var(--txt) !important;
  background: var(--white) !important;
  border: 1px solid var(--line) !important;
  border-radius: 4px !important;
  padding: 14px 16px !important;
  min-height: 0 !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease) !important;
}
.ega-formzone .elementor-field-textual:focus {
  outline: none !important;
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px rgba(35, 51, 119, 0.1) !important;
}
.ega-formzone .elementor-field-textual::placeholder { color: rgba(35, 30, 69, 0.42) !important; }

/* Case de consentement RGPD (champ « Acceptation ») */
.ega-formzone .elementor-field-type-acceptance .elementor-field-option {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
}
.ega-formzone .elementor-field-type-acceptance input[type="checkbox"] {
  width: 17px !important;
  height: 17px !important;
  margin: 2px 0 0 !important;
  accent-color: var(--blue);
  flex-shrink: 0;
  cursor: pointer;
}
.ega-formzone .elementor-field-type-acceptance label {
  font-family: var(--display) !important;
  font-size: 12.5px !important;
  font-weight: 300 !important;
  line-height: 1.55 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--txt-soft) !important;
  margin: 0 !important;
  cursor: pointer;
}
.ega-formzone .elementor-field-type-acceptance a {
  color: var(--navy) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Bouton d'envoi */
.ega-formzone .elementor-button[type="submit"],
.ega-formzone .elementor-field-type-submit .elementor-button {
  width: 100% !important;
  justify-content: center !important;
  font-family: var(--mono) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--white) !important;
  background: var(--navy) !important;
  border: none !important;
  border-radius: 100px !important;
  padding: 17px 26px !important;
  min-height: 0 !important;
  transition: background-color 0.35s var(--ease) !important;
}
.ega-formzone .elementor-button[type="submit"]:hover { background: var(--blue) !important; }

/* Messages de retour */
.ega-formzone .elementor-message {
  font-family: var(--mono) !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
  line-height: 1.7 !important;
  margin-top: 14px !important;
}
.ega-formzone .elementor-message.elementor-message-success { color: var(--blue) !important; }
.ega-formzone .elementor-message.elementor-message-danger  { color: #B3243A !important; }

/* Mention sous le bouton */
.ega-formzone__note {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--txt-mute);
  margin: 18px 0 6px;
  text-align: center;
}


/* ═══════════════════════════════════════════════════════════
   07 — FOOTER
═══════════════════════════════════════════════════════════ */
.ega-footer { background: var(--navy); color: var(--white); padding: 56px 0 40px; }
.ega-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line-light);
  flex-wrap: wrap;
}
.ega-footer__logo { display: flex; align-items: center; gap: 16px; }
.ega-footer__logo svg { width: 62px; height: auto; }
.ega-footer__logo svg path, .ega-footer__logo svg rect { fill: var(--white); }
.ega-footer__logo span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
  padding-left: 16px;
  border-left: 1px solid var(--line-light);
  line-height: 1.7;
}
.ega-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 26px;
  flex-wrap: wrap;
}
.ega-footer__bottom p, .ega-footer__bottom a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  text-decoration: none;
}
.ega-footer__bottom a:hover { color: var(--white); }


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   Cible principale : iPad landscape (1024–1194) & petits laptops
═══════════════════════════════════════════════════════════ */
@media (max-width: 1180px) {
  .ega { --gutter: 32px; }
  .ega-nav__links { gap: 0; }
  .ega-nav__link { padding: 10px 11px; }
  .ega-nav__mark svg { width: 46px; }
  .ega-explore__body { grid-template-columns: 1.15fr 1fr; gap: 28px; }
  .ega-panel { padding: 28px 26px 30px; }
  .ega-energy__grid { gap: 28px; }
}

@media (max-width: 940px) {
  .ega { --gutter: 28px; --nav-h: 66px; }
  .ega-nav__links { display: none; }
  .ega-nav__mark svg { width: 44px; }
  .ega-nav__mark span { display: none; }

  .ega-hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .ega-hero__copy { padding: 54px var(--gutter) 50px; order: 2; }
  .ega-hero__visual { order: 1; min-height: 340px; }

  .ega-pillars, .ega-explore, .ega-energy, .ega-form-sec { padding: 70px 0 74px; }
  .ega-pillars__grid { grid-template-columns: 1fr; }
  .ega-explore__head { flex-direction: column; align-items: flex-start; gap: 26px; }
  .ega-explore__body { grid-template-columns: 1fr; }
  .ega-panel { min-height: 0; }
  .ega-energy__grid { grid-template-columns: 1fr; }
  .ega-specs { grid-template-columns: repeat(2, 1fr); }
  .ega-impact__grid { grid-template-columns: 1fr; gap: 44px; padding: 70px var(--gutter) 74px; }
  .ega-form-sec__grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 620px) {
  .ega { --gutter: 20px; }
  .ega-hero__stats { flex-direction: column; }
  .ega-hero__stat {
    border-right: none;
    border-bottom: 1px solid var(--line-light);
    padding: 16px 0 !important;
  }
  .ega-hero__stat:last-child { border-bottom: none; }
  .ega-specs { grid-template-columns: 1fr; }
  .ega-panel__media { grid-template-columns: 1fr; }
  .ega-lightbox { padding: 4vh 4vw; }
  .ega-lightbox__close { top: 14px; right: 14px; }
  .ega-toggle { width: 100%; }
  .ega-toggle__btn { flex: 1; padding: 12px 10px !important; }
  .ega-formzone { padding: 26px 22px 22px; }
  .ega-form { padding: 26px 22px 24px; }
  .ega-field__row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .ega *, .ega *::before, .ega *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .ega-rise, .ega-line-in, .ega-img-in { opacity: 1; transform: none; clip-path: none; }
  [data-reveal] .ega-wi { transform: none; }
  .ega-hotspot { opacity: 1; }
}