/* ============================================================
   Voltix — Site CSS (partagé, toutes pages)
   Complète colors_and_type.css du DS
   ============================================================ */

/* --- Reset -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-sans); color: var(--fg); background: var(--white);
  -webkit-font-smoothing: antialiased; text-wrap: pretty; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-sans); }
ul { list-style: none; }

/* --- Container --------------------------------------------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 36px; }

/* --- Eyebrow ----------------------------------------------- */
.eyebrow { font-weight: 700; font-size: 11.5px; letter-spacing: var(--tracking-caps);
  text-transform: uppercase; color: var(--accent); display: block; }
.eyebrow.on-blue { color: rgba(255,255,255,.75); }
.eyebrow.on-dark { color: var(--turquoise); }

/* ============================================================
   HEADER
   ============================================================ */
.hdr { position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.88); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,68,137,.07);
  transition: background var(--dur-base), box-shadow var(--dur-base); }
.hdr.scrolled { background: rgba(255,255,255,.97); box-shadow: var(--shadow-sm); }
.hdr-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.hdr-logos { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.hdr-logo-voltix { height: 27px; }
.hdr-sep { width: 1px; height: 22px; background: var(--border); }
.hdr-logo-vinci { height: 19px; opacity: .65; }
.hdr-vinci-lockup { display: flex; align-items: center; gap: 10px; }
.hdr-vinci-sep { width: 1px; height: 26px; background: var(--border); }
.hdr-vinci-text { font-size: 10.5px; font-weight: 600; letter-spacing: .04em; color: var(--fg-subtle); white-space: nowrap; }
.hdr-vinci-logo { height: 24px; width: auto; }
@media (max-width: 900px) { .hdr-vinci-lockup { display: none; } }
.hdr-nav { display: flex; gap: 2px; }
.hdr-nav a { font-size: 14px; font-weight: 500; color: #004489; padding: 6px 4px; margin: 0 7px;
  position: relative; transition: color var(--dur-base); }
.hdr-nav a::after { content:''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: #0079EB; border-radius: 1px; transform: scaleX(0); transform-origin: left center;
  transition: transform var(--dur-base) var(--ease-out); }
.hdr-nav a:hover { color: #0079EB; }
.hdr-nav a:hover::after { transform: scaleX(1); }
.hdr-nav a.active { color: #0079EB; font-weight: 600; }
.hdr-nav a.active::after { transform: scaleX(1); }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { display: flex; gap: 1px; background: var(--gray-100); border-radius: var(--radius-pill); padding: 3px; }
.lang button { border: none; background: none; font-size: 11px; font-weight: 700;
  color: var(--gray-500); padding: 4px 8px; border-radius: var(--radius-pill);
  transition: all var(--dur-fast); letter-spacing: .03em; }
.lang button.on { background: var(--voltix-blue); color: #fff; }
.burger { display: none; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: none; background: none; color: var(--gray-700); margin-left: 4px; }
.mobile-menu { border-top: 1px solid var(--border); background: rgba(255,255,255,.98);
  padding: 16px 28px 22px; }
.mobile-menu a { display: block; padding: 11px 0; font-weight: 500;
  color: var(--gray-800); border-bottom: 1px solid var(--border); font-size: 15px; }
.mobile-menu a:last-of-type { border-bottom: none; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn { font-weight: 600; font-size: 14px; border: none; padding: 11px 20px;
  border-radius: var(--radius-sm); display: inline-flex; align-items: center; gap: 8px;
  transition: all var(--dur-base) var(--ease-out); white-space: nowrap; line-height: 1.2; }
.btn .ic { width: 16px; height: 16px; flex-shrink: 0; stroke-width: 2; }
.btn-lg { padding: 14px 26px; font-size: 15.5px; }
.btn-sm { padding: 7px 13px; font-size: 13px; }
.btn-primary { background: var(--voltix-blue); color: #fff; box-shadow: 0 2px 8px rgba(0,68,137,.24); }
.btn-primary:hover { background: var(--blue-600); box-shadow: 0 6px 20px rgba(0,68,137,.3); transform: translateY(-1px); }
.btn-primary:active { transform: scale(.987); background: var(--blue-900); }
.btn-accent { background: var(--voltix-red); color: #fff; }
.btn-accent:hover { background: var(--red-500); transform: translateY(-1px); }
.btn-gold { background: var(--sable); color: var(--blue-950); font-weight: 700; }
.btn-gold:hover { background: var(--sable-300); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(237,211,182,.38); }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.65); }
.btn-ghost { background: transparent; color: var(--voltix-blue); border: 1.5px solid var(--border-strong); }
.btn-ghost:hover { background: var(--blue-050); border-color: var(--voltix-blue); }
.btn-white { background: #fff; color: var(--voltix-blue); }
.btn-white:hover { background: var(--blue-050); transform: translateY(-1px); }

/* ============================================================
   HERO (home, pages immersives)
   ============================================================ */
.hero { position: relative; overflow: hidden; color: #fff;
  background-color: var(--blue-950); display: flex; flex-direction: column; min-height: 640px; }
.hero--pattern {
  background-image: linear-gradient(100deg, var(--blue-950) 28%, rgba(0,31,68,.75) 52%, rgba(0,31,68,.2) 78%),
    url(../assets/brand/voltix-bg-dark.png);
  background-size: cover; background-position: right center; background-repeat: no-repeat; }
/* Cinematic photo hero */
.hero--cinematic .hero-photo { position: absolute; inset: 0; z-index: 0; }
.hero--cinematic .hero-photo img { width: 100%; height: 100%; object-fit: cover;
  animation: heroKenBurns 18s ease-out forwards; }
@keyframes heroKenBurns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero--cinematic .hero-grad { position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(98deg, var(--blue-950) 14%, rgba(0,31,68,.92) 38%, rgba(0,31,68,.6) 62%, rgba(0,34,74,.32) 100%),
    linear-gradient(0deg, rgba(0,31,68,.55), rgba(0,31,68,0) 38%); }
.hero > .container { width: 100%; }
.hero-inner { position: relative; z-index: 3; padding: 100px 0 128px; max-width: 660px; }
.hero h1 { font-weight: 900; font-size: clamp(2.3rem, 4.2vw, 3.5rem);
  line-height: 1.04; letter-spacing: -.028em; margin: 16px 0 20px; }
.hero .lead { font-size: 1.08rem; line-height: 1.68; color: rgba(255,255,255,.72);
  max-width: 500px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-vinci-badge { position: absolute; top: 22px; right: 32px; z-index: 2; opacity: .9; }
.hero-vinci-badge img { height: 24px; }

/* Emblème 3V — assemblage des 3 pièces puis flottaison lente */
.hero-emblem-wrap { position: absolute; right: -40px; top: 50%; width: 460px; height: 460px;
  transform: translateY(-50%); z-index: 2; pointer-events: none; overflow: visible; }
.hero-emblem { width: 100%; height: 100%; overflow: visible;
  filter: drop-shadow(0 24px 60px rgba(0,0,0,.4));
  animation: emblemFloat 9s ease-in-out 1.8s infinite; }
/* Pièces individuelles */
.e3v-red  { animation: e3vRedIn  1s cubic-bezier(.22,1,.36,1) .15s both; }
.e3v-btop { animation: e3vTopIn  1s cubic-bezier(.22,1,.36,1) .35s both; }
.e3v-bbot { animation: e3vBotIn  1s cubic-bezier(.22,1,.36,1) .55s both; }
@keyframes e3vRedIn  { from { opacity:0; transform:translateX(-120px); } to { opacity:1; transform:translateX(0); } }
@keyframes e3vTopIn  { from { opacity:0; transform:translate(90px,-90px); } to { opacity:1; transform:translate(0,0); } }
@keyframes e3vBotIn  { from { opacity:0; transform:translate(90px,90px);  } to { opacity:1; transform:translate(0,0); } }
@keyframes emblemFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-14px) rotate(2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-emblem { animation: none; }
  .e3v-red, .e3v-btop, .e3v-bbot { animation: none; opacity: 1; }
  .hero--cinematic .hero-photo img { animation: none; }
}

/* ============================================================
   KPI STRIP
   ============================================================ */
.kpi-strip { position: relative; z-index: 10; margin-top: -150px; margin-bottom: 56px; }
.kpi-strip .kpi-grid { background: rgba(0,18,48,.46); backdrop-filter: blur(28px) saturate(1.3); -webkit-backdrop-filter: blur(28px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,15,40,.32); }
.kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.kpi { padding: 28px 28px; border-left: 1px solid rgba(255,255,255,.12); }
.kpi:first-child { border-left: none; }
.kpi .n { font-weight: 900; font-size: 2.5rem; color: #fff;
  line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kpi .n sup { font-size: 1.1rem; vertical-align: super; }
.kpi .l { font-size: 13px; color: rgba(255,255,255,.62); margin-top: 8px; line-height: 1.45; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 96px 0; }
.section--tint { background: var(--bg-tint); }
.section--blue { background: var(--voltix-blue); color: #fff; }
.section--dark { background: var(--blue-950); color: #fff; }
.sec-head { max-width: 640px; margin-bottom: 52px; }
.sec-head .eyebrow { margin-bottom: 12px; }
.sec-head h2 { font-weight: 900; font-size: clamp(1.85rem, 3vw, 2.4rem);
  letter-spacing: -.025em; line-height: 1.1; margin-bottom: 14px; white-space: pre-line; }
.sec-head p { font-size: 1.05rem; line-height: 1.7; color: var(--fg-muted); }
.section--blue .sec-head p, .section--dark .sec-head p { color: rgba(255,255,255,.68); }
.sec-cta { margin-top: 44px; display: flex; gap: 12px; flex-wrap: wrap; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 30px; transition: all var(--dur-base) var(--ease-out); }
.feat:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.feat .ico { width: 46px; height: 46px; border-radius: var(--radius-md); background: var(--blue-050);
  display: flex; align-items: center; justify-content: center; color: var(--voltix-blue); margin-bottom: 18px; }
.feat .ico svg { width: 22px; height: 22px; stroke-width: 2; }
.feat h3 { font-weight: 700; font-size: 1.1rem; margin-bottom: 9px; }
.feat p { color: var(--fg-muted); line-height: 1.62; font-size: 14px; }
.feat .spec { font-size: 12px; color: var(--voltix-blue); margin-top: 14px; font-weight: 700; letter-spacing: .02em; }

/* ============================================================
   NEWS CARDS
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { border-radius: var(--radius-card); overflow: hidden; background: #fff;
  border: 1px solid var(--border); cursor: pointer; transition: all var(--dur-base) var(--ease-out); }
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.news-thumb { position: relative; height: 196px; background: var(--blue-050); overflow: hidden; }
.news-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-050)); }
.news-tag { position: absolute; top: 12px; left: 12px; background: rgba(0,68,137,.62); color: #fff;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.22);
  font-size: 10.5px; font-weight: 700; padding: 4px 9px; border-radius: var(--radius-xs);
  letter-spacing: .05em; text-transform: uppercase; }
.news-body { padding: 18px 20px 22px; }
.news-date { font-size: 11.5px; color: var(--fg-subtle); font-variant-numeric: tabular-nums; }
.news-card h3 { font-weight: 700; font-size: 1rem; line-height: 1.38; margin: 7px 0 7px;
  transition: color var(--dur-fast); }
.news-card:hover h3 { color: var(--voltix-blue); }
.news-card p { color: var(--fg-muted); font-size: 13.5px; line-height: 1.55; }
.news-read { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px;
  font-size: 13px; font-weight: 600; color: var(--voltix-blue); }
.news-read svg { width: 14px; height: 14px; }

/* ============================================================
   OFFER CARDS
   ============================================================ */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.offer-card { border-radius: var(--radius-card); overflow: hidden; background: #fff;
  border: 1px solid var(--border); transition: all var(--dur-base) var(--ease-out);
  display: flex; flex-direction: column; }
.offer-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.offer-card--featured { border: 2px solid var(--voltix-blue); }
.offer-card--featured .offer-head { background: var(--voltix-blue); color: #fff; }
.offer-head { padding: 24px 26px 20px; background: var(--blue-050); }
.offer-head .offer-icon { width: 42px; height: 42px; border-radius: var(--radius-md);
  background: rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; color: inherit; }
.offer-head .offer-icon svg { width: 20px; height: 20px; stroke-width: 2; }
.offer-head:not(.offer-card--featured .offer-head) .offer-icon { background: var(--blue-100); color: var(--voltix-blue); }
.offer-head h3 { font-weight: 800; font-size: 1.15rem; margin-bottom: 4px; }
.offer-head .tagline { font-size: 13px; opacity: .72; }
.offer-body { padding: 22px 26px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.offer-feature { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--fg-muted); }
.offer-feature svg { width: 14px; height: 14px; color: var(--voltix-blue); flex-shrink: 0; margin-top: 2px; stroke-width: 2; }
.offer-footer { padding: 0 26px 22px; }

/* ============================================================
   STATUS BADGES
   ============================================================ */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px;
  border-radius: var(--radius-pill); font-size: 11px; font-weight: 700; letter-spacing: .03em; }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.badge--operational { background: rgba(0, 68, 137, .12); color: #004489; }
.badge--operational .dot { background: #004489; }
.badge--works { background: rgba(0, 121, 235, .12); color: rgb(0, 121, 235); }
.badge--works .dot { background: rgb(0, 121, 235); }
.badge--soon { background: rgba(0, 208, 227, .18); color: #007c89; }
.badge--soon .dot { background: #00D0E3; }
.badge--closed { background: rgba(226, 0, 37, .1); color: #E20025; }
.badge--closed .dot { background: #E20025; }
.badge--tech { background: var(--blue-050); color: var(--voltix-blue); }
.badge--chip { font-size: 12px; padding: 5px 13px; background: var(--blue-050); color: var(--voltix-blue); border: 1px solid var(--blue-100); }
.badge--chip.active { background: var(--voltix-blue); color: #fff; border-color: var(--voltix-blue); }

/* ============================================================
   MAP PREVIEW (homepage, mini-map)
   ============================================================ */
.map-preview-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 0;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  border: 1px solid var(--border); }
.map-preview-canvas { position: relative; min-height: 440px; background: #e8eff7; }
.map-preview-canvas .leaflet-container { height: 440px; }
.map-preview-panel { background: #fff; padding: 28px 24px; display: flex; flex-direction: column; }
.map-preview-panel h3 { font-weight: 800; font-size: 1.05rem; color: var(--fg); margin-bottom: 18px; }
.legend-list { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.legend-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--fg-muted); }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; border: 2px solid rgba(0,0,0,.12); }
.legend-count { margin-left: auto; font-weight: 700; font-size: 13px; color: var(--voltix-blue); }
.map-preview-cta { margin-top: 24px; border-top: 1px solid var(--border); padding-top: 20px; }

/* ============================================================
   PARTENAIRES
   ============================================================ */
.partners-logo-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 32px; }
.partner-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
  border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,.18);
  font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.07); transition: all var(--dur-fast); letter-spacing: .01em; }
.partner-chip:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); color: #fff; }
.partner-chip img { height: 18px; filter: brightness(0) invert(1); opacity: .8; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; overflow: hidden;
  background: linear-gradient(130deg, var(--blue-950) 0%, var(--voltix-blue) 100%);
  color: #fff; border-radius: var(--radius-xl); padding: 72px 56px; text-align: center; }
.cta-band h2 { font-weight: 900; font-size: clamp(1.75rem, 3vw, 2.4rem);
  letter-spacing: -.025em; margin-bottom: 14px; }
.cta-band p { font-size: 1.05rem; color: rgba(255,255,255,.7);
  max-width: 500px; margin: 0 auto 28px; line-height: 1.65; }
.cta-band-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-wm { position: absolute; right: -80px; top: -60px; width: 340px; opacity: .05;
  filter: brightness(0) invert(1); pointer-events: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.ftr { background: var(--blue-950); color: #fff; padding: 64px 0 32px; }
.ftr-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ftr-logo { height: 26px; margin-bottom: 16px; }
.ftr-desc { color: rgba(179,202,226,.78); font-size: 13px; line-height: 1.68; max-width: 260px; }
.ftr-vinci-lock { margin-top: 20px; }
.ftr-vinci-lock img { height: 22px; opacity: .7; }
.ftr-col h5 { font-size: 10.5px; text-transform: uppercase; letter-spacing: .12em;
  color: rgba(126,154,192,.85); margin-bottom: 14px; font-weight: 700; }
.ftr-col a { display: block; color: rgba(205,221,240,.82); font-size: 13px;
  margin-bottom: 10px; transition: color var(--dur-fast); }
.ftr-col a:hover { color: #fff; }
.ftr-bottom { display: flex; align-items: center; justify-content: space-between;
  padding-top: 22px; gap: 16px; flex-wrap: wrap; }
.ftr-bottom small { color: rgba(126,154,192,.75); font-size: 12px; }
.ftr-bottom-links { display: flex; gap: 16px; }
.ftr-bottom-links a { color: rgba(126,154,192,.75); font-size: 12px; transition: color var(--dur-fast); }
.ftr-bottom-links a:hover { color: #fff; }
.ftr-funding { display: flex; align-items: flex-start; gap: 18px; padding: 20px 0 0;
  margin-top: 20px; border-top: 1px solid rgba(255,255,255,.07); }
.ftr-funding-logo { height: 42px; flex-shrink: 0; }
.ftr-funding p { color: rgba(159,184,212,.72); font-size: 11px; line-height: 1.65; }

/* ============================================================
   PAGE HERO (sous-pages)
   ============================================================ */
.page-hero { background: var(--blue-950); color: #fff; padding: 72px 0 80px;
  position: relative; overflow: hidden; }
.page-hero--pattern {
  background-image: linear-gradient(100deg, var(--blue-950) 38%, rgba(0,31,68,.55) 66%),
    url(../assets/brand/voltix-bg-dark.png);
  background-size: cover; background-position: right center; }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { font-weight: 900; font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.07; letter-spacing: -.025em; margin-bottom: 14px; }
.page-hero p.lead { font-size: 1.05rem; color: rgba(255,255,255,.7); max-width: 540px; line-height: 1.65; }
.breadcrumb { display: flex; align-items: center; gap: 7px; font-size: 12.5px;
  color: rgba(255,255,255,.45); margin-bottom: 22px; }
.breadcrumb a { color: rgba(255,255,255,.65); transition: color var(--dur-fast); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .4; }

/* ============================================================
   FORMS
   ============================================================ */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--gray-700); }
.form-group input, .form-group select, .form-group textarea {
  font-family: var(--font-sans); font-size: 14px;
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 10px 13px; color: var(--fg); background: #fff;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--voltix-blue); box-shadow: var(--ring-focus); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--gray-400); }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--fg-muted); cursor: pointer; }
.form-check input[type="checkbox"] { width: 16px; height: 16px; margin-top: 1px; flex-shrink: 0; accent-color: var(--voltix-blue); }

/* ============================================================
   ACCORDION (FAQ)
   ============================================================ */
.accordion { border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.acc-trigger { width: 100%; text-align: left; background: none; border: none;
  padding: 17px 20px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; font-size: 14.5px; font-weight: 600; color: var(--fg); cursor: pointer;
  transition: background var(--dur-fast); }
.acc-trigger:hover { background: var(--bg-tint); }
.acc-trigger.open { color: var(--voltix-blue); background: var(--blue-050); }
.acc-chevron { flex-shrink: 0; transition: transform var(--dur-base) var(--ease-out);
  width: 18px; height: 18px; color: var(--fg-muted); }
.acc-trigger.open .acc-chevron { transform: rotate(180deg); }
.acc-body { display: none; padding: 0 20px 18px; font-size: 14px; color: var(--fg-muted); line-height: 1.7; }
.acc-body.open { display: block; }

/* ============================================================
   SCROLL REVEAL — content is ALWAYS fully opaque. The entrance
   only nudges a small translate (never opacity), so even if the
   animation never runs the content is visible and readable.
   ============================================================ */
.reveal { }
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready .reveal.visible { animation: revealUp 0.5s var(--ease-out) both; }
  .reveal-ready .reveal.visible.reveal-d1 { animation-delay: 70ms; }
  .reveal-ready .reveal.visible.reveal-d2 { animation-delay: 140ms; }
  .reveal-ready .reveal.visible.reveal-d3 { animation-delay: 210ms; }
  .reveal-ready .reveal.visible.reveal-d4 { animation-delay: 280ms; }
}
@keyframes revealUp {
  from { transform: translateY(14px); }
  to   { transform: translateY(0); }
}

/* ============================================================
   MAP PAGE (réseau)
   ============================================================ */
.reseau-layout { display: grid; grid-template-columns: 1fr 340px; gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); }
.map-host { position: relative; }
.map-host .leaflet-container { height: 560px; }
.map-filter-bar { display: flex; align-items: center; gap: 10px; padding: 14px 20px;
  background: #fff; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.map-search { flex: 1; min-width: 200px; position: relative; }
.map-search input { width: 100%; padding: 8px 12px 8px 36px; border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 13.5px;
  background: var(--gray-050); transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.map-search input:focus { outline: none; border-color: var(--voltix-blue); box-shadow: var(--ring-focus); background: #fff; }
.map-search-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--gray-400); stroke-width: 2; }
.filter-chips { display: flex; gap: 6px; }
.filter-chip { border: 1.5px solid var(--border-strong); border-radius: var(--radius-pill);
  padding: 5px 13px; font-size: 12.5px; font-weight: 600; cursor: pointer; background: #fff;
  color: var(--gray-600); transition: all var(--dur-fast); display: flex; align-items: center; gap: 5px; }
.filter-chip:hover { border-color: var(--voltix-blue); color: var(--voltix-blue); }
.filter-chip.active { background: var(--voltix-blue); border-color: var(--voltix-blue); color: #fff; }
.filter-chip .chip-dot { width: 7px; height: 7px; border-radius: 50%; }

/* Station side panel */
.station-panel { background: #fff; border-left: 1px solid var(--border); display: flex; flex-direction: column; overflow: hidden; }
.station-panel-empty { display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; gap: 12px; color: var(--fg-subtle); padding: 24px; text-align: center; }
.station-panel-empty svg { width: 40px; height: 40px; opacity: .35; stroke-width: 1.5; }
.station-panel-empty p { font-size: 13.5px; line-height: 1.6; }
.station-panel-content { padding: 20px; overflow-y: auto; flex: 1; }
.station-panel-photo { height: 160px; background: var(--blue-050); border-radius: var(--radius-md);
  overflow: hidden; margin-bottom: 16px; display: flex; align-items: center; justify-content: center;
  color: var(--gray-300); }
.station-panel-photo svg { width: 40px; height: 40px; stroke-width: 1.5; }
.station-panel-name { font-weight: 800; font-size: 1.08rem; margin: 8px 0 4px; }
.station-panel-addr { font-size: 13px; color: var(--fg-muted); display: flex; align-items: center; gap: 5px; }
.station-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.spec-box { background: var(--bg-tint); border-radius: var(--radius-sm); padding: 10px 12px; }
.spec-box .sv { font-weight: 800; font-size: 1.1rem; color: var(--voltix-blue); font-variant-numeric: tabular-nums; }
.spec-box .sl { font-size: 11.5px; color: var(--fg-muted); margin-top: 2px; }
.connector-row { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.station-gps { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--fg-subtle);
  padding: 10px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 12px 0; }
.station-gps svg { width: 14px; height: 14px; color: var(--voltix-blue); }
.station-panel-footer { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }

/* Station table */
.station-table-wrap { overflow-x: auto; margin-top: 40px; }
.station-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.station-table th { text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--fg-subtle); padding: 10px 16px;
  border-bottom: 2px solid var(--border); background: var(--bg-tint); }
.station-table td { padding: 14px 16px; border-bottom: 1px solid var(--border);
  vertical-align: middle; }
.station-table tr { cursor: pointer; transition: background var(--dur-fast); }
.station-table tr:hover td { background: var(--blue-050); }
.station-table tr.sel td { background: var(--blue-050); }
.station-table td.td-name { font-weight: 600; }
.station-table td.td-link { text-align: right; }
.station-table td.td-link a { font-weight: 600; color: var(--voltix-blue); font-size: 13px;
  display: inline-flex; align-items: center; gap: 4px; }
.station-table td.td-link a:hover { text-decoration: underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero-emblem-wrap { width: 300px; height: 300px; }
}
@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .hdr-nav, .hdr-sep, .hdr-logo-vinci, .hero-vinci-badge { display: none; }
  .burger { display: flex; }
  .hero-inner { padding: 72px 0 200px; max-width: 100%; }
  .hero-emblem-wrap { width: 220px; height: 220px; opacity: .5; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .kpi { border-left: none; border-top: 1px solid var(--border); }
  .kpi:nth-child(-n+2) { border-top: none; }
  .feat-grid, .news-grid, .offer-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .map-preview-wrap, .reseau-layout { grid-template-columns: 1fr; }
  .station-panel { border-left: none; border-top: 1px solid var(--border); }
  .ftr-top { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 24px; }
  .section { padding: 64px 0; }
}
@media (max-width: 500px) {
  .hdr-right .lang { display: none; }
  .kpi-grid { grid-template-columns: 1fr; }
  .kpi:nth-child(n+1) { border-top: 1px solid var(--border); border-left: none; }
  .kpi:first-child { border-top: none; }
  .ftr-top { grid-template-columns: 1fr; }
}

/* Leaflet overrides */
/* Recouvre les coutures sous-pixel entre tuiles (le "quadrillage" du fond) */
.leaflet-control-zoom { border: none !important; box-shadow: var(--shadow-md) !important; border-radius: var(--radius-sm) !important; }
.leaflet-control-zoom a { background: #fff !important; color: var(--voltix-blue) !important; border: none !important; font-weight: 700 !important; }
.leaflet-control-zoom a:hover { background: var(--blue-050) !important; }
.leaflet-popup-content-wrapper { border-radius: var(--radius-md) !important; box-shadow: var(--shadow-lg) !important; }
.leaflet-popup-content { font-family: var(--font-sans) !important; font-size: 13px !important; }
.voltix-marker { display: flex; align-items: center; justify-content: center; }

/* ============================================================
   PHOTOS & IMAGERY (added)
   ============================================================ */
.img-fill { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }

/* Hero with full-bleed photo + blue overlay (left-weighted) */
.hero--photo { background: var(--blue-950); }
.hero-photo-bg { position: absolute; inset: 0; z-index: 0; }
.hero-photo-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-overlay { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(96deg, rgba(0,31,68,.97) 0%, rgba(0,31,68,.86) 36%, rgba(0,31,68,.5) 62%, rgba(0,31,68,.22) 100%); }
.hero--photo .container { position: relative; z-index: 2; }

/* Page hero with photo */
.page-hero--photo { background: var(--blue-950); }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(96deg, rgba(0,31,68,.96) 0%, rgba(0,31,68,.8) 44%, rgba(0,31,68,.42) 100%); }
.page-hero .container { position: relative; z-index: 2; }

/* News card real images */
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.news-card:hover .news-thumb img { transform: scale(1.05); }

/* Split photo */
.split-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   RÉSEAU — bigger map + floating panel + TEN-T draw
   ============================================================ */
.map-host-big { position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-md); isolation: isolate; }
.map-host-big .map-canvas { height: min(640px, calc(100vh - 200px)); min-height: 380px; background: #dfe8f1; }

/* Zone carte — stacking context pour que rien ne passe au-dessus du header */
.map-zone { position: relative; isolation: isolate; z-index: 1; }
.map-zone--fs { position: fixed; inset: 0; z-index: 1000; background: #dfe8f1; }
.map-zone--fs .map-host-big { height: 100%; border-radius: 0; border: none; box-shadow: none; }
.map-zone--fs .map-host-big .map-canvas { height: 100vh; min-height: 0; }
.map-zone--fs .station-panel-float { max-height: calc(100vh - 32px); }

/* Bouton plein écran — glassy */
.map-fs-btn { position: absolute; top: 14px; right: 14px; z-index: 650;
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 4px 18px rgba(0,31,68,.16); transition: background var(--dur-fast), transform var(--dur-fast); }
.map-fs-btn:hover { background: #fff; transform: translateY(-1px); }
.map-fs-btn svg { width: 18px; height: 18px; color: var(--voltix-blue); }
.map-fs-btn--toggle { top: 62px; }
.map-dark-btn { top: 110px; }
.map-basemap-wrap { position: absolute; top: 14px; right: 14px; z-index: 700; }
.map-basemap-btn { position: static; }
.map-basemap-menu { position: absolute; top: 48px; right: 0; z-index: 710; min-width: 172px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.7); border-radius: 12px; box-shadow: 0 8px 26px rgba(0,31,68,.2);
  padding: 6px; display: flex; flex-direction: column; gap: 2px; }
.map-basemap-opt { text-align: left; padding: 8px 10px; border-radius: 8px; border: none; background: transparent;
  font-size: 13px; color: var(--voltix-blue); cursor: pointer; font-family: inherit; }
.map-basemap-opt:hover { background: rgba(0,68,137,.08); }
.map-basemap-opt.active { background: var(--voltix-blue); color: #fff; font-weight: 600; }
.station-panel-float { position: absolute; top: 16px; right: 66px; width: 350px; max-height: min(608px, calc(100vh - 232px));
  z-index: 600; background: rgba(255,255,255,.55); backdrop-filter: blur(42px) saturate(1.7); -webkit-backdrop-filter: blur(42px) saturate(1.7);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: var(--radius-card); box-shadow: 0 16px 48px rgba(0,31,68,.22); overflow: hidden;
  display: flex; flex-direction: column; animation: panelIn .32s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: translateX(0); } }
.station-panel-float .panel-close { position: absolute; top: 12px; right: 12px; z-index: 5;
  width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.9); border: none;
  display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-sm); }
.station-panel-float .panel-close svg { width: 16px; height: 16px; color: var(--gray-700); }
.map-hint-card { position: absolute; top: 16px; right: 16px; z-index: 500; width: 280px;
  background: rgba(255,255,255,.97); backdrop-filter: blur(14px); border-radius: var(--radius-card);
  box-shadow: var(--shadow-md); padding: 18px 20px; }
.map-hint-card h4 { font-weight: 800; font-size: .95rem; margin-bottom: 12px; }
.map-legend-float { position: absolute; bottom: 16px; left: 16px; z-index: 500; width: 248px;
  background: rgba(255,255,255,.52); backdrop-filter: blur(38px) saturate(1.6); -webkit-backdrop-filter: blur(38px) saturate(1.6);
  border: 1px solid rgba(255,255,255,.6); border-radius: var(--radius-card);
  box-shadow: 0 12px 40px rgba(0,31,68,.18); padding: 14px 18px; display: flex; flex-direction: column; gap: 8px; }
.map-legend-float .legend-item { font-size: 12.5px; }

.tent-draw { stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: tentDraw 1.3s var(--ease-out) forwards; }
@keyframes tentDraw { to { stroke-dashoffset: 0; } }
.map-legend-float .mlf-group { display:flex; flex-direction:column; gap:8px; }

/* Voltix app-icon marker */
.vx-pin { position: relative; }
.vx-pin .vx-pin-body { border-radius: 28%; overflow: hidden; background: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,.32); }
.vx-pin .vx-pin-body img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vx-pin .vx-pin-tip { position: absolute; left: 50%; transform: translateX(-50%);
  width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; }
.vx-pin.sel { animation: pinPop .3s var(--ease-out); }
@keyframes pinPop { 0% { transform: scale(.7); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* Voltix pin v2 — badge blanc, anneau statut, pastille, caret */
.vx-pin2 { position: relative; display: flex; flex-direction: column; align-items: center;
  filter: drop-shadow(0 5px 12px rgba(0,31,68,.32)); transform-origin: 50% 100%;
  transition: transform var(--dur-fast) var(--ease-out); }
.vx-pin2-badge { width: 100%; aspect-ratio: 1; border-radius: 30%; background: #fff; position: relative;
  display: flex; align-items: center; justify-content: center; box-sizing: border-box;
  box-shadow: 0 0 0 2px var(--pc), inset 0 0 0 1px rgba(0,31,68,.06); }
.vx-pin2-badge img { width: 74%; height: 74%; border-radius: 24%; display: block; }
.vx-pin2-dot { position: absolute; top: -3px; right: -3px; width: 32%; height: 32%; min-width: 8px; min-height: 8px;
  max-width: 12px; max-height: 12px; border-radius: 50%;
  background: var(--pc); border: 1.5px solid #fff; box-sizing: border-box; }
.vx-pin2-tip { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 7px solid var(--pc); margin-top: 1px; }
.vx-pin2.sel { animation: pinPop .3s var(--ease-out); }
.vx-pin2.sel .vx-pin2-badge { box-shadow: 0 0 0 3.5px var(--pc), 0 0 0 7px color-mix(in srgb, var(--pc) 22%, transparent); }
.leaflet-marker-icon:hover .vx-pin2 { transform: scale(1.1); }

@media (max-width: 900px) {
  .map-host-big .map-canvas { height: 460px; }
  .station-panel-float { position: static; width: 100%; max-height: none; top: auto; right: auto;
    border-radius: 0; box-shadow: none; border-top: 1px solid var(--border); }
  .map-hint-card, .map-legend-float { display: none; }
}
