/* ============================================================
   ADELINE FAUCHARD — Améliorations UX / Design / Performance
   Accessibilité, touch targets, mobile, galerie, CTA
   ============================================================ */

/* ─── VARIABLE TOPBAR ───────────────────────────────────────── */
:root {
  --topbar-h: 0px;
}

/* ─── TOPBAR (désactivée) ────────────────────── */
.topbar {
  display: none !important;
}

/* Light mode : topbar reste dark */
[data-theme="light"] .topbar {
  background: #090909 !important;
  border-bottom-color: #2a2a2a !important;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  padding-inline: var(--gutter);
  gap: 1.75rem;
}

/* Bouton Instant Explore — positionné à gauche */
.topbar__explore-btn {
  position: absolute;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6rem;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.3rem 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.topbar__explore-btn:hover {
  color: var(--gold);
}
.topbar__explore-btn i {
  font-size: 0.7rem;
}

/* Bouton Espace Client — positionné à droite */
.topbar__client-btn {
  position: absolute;
  right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6rem;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold);
  border: 1px solid rgba(201, 162, 85, 0.4);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.topbar__client-btn:hover {
  color: var(--gold-light);
  border-color: var(--gold);
  background: rgba(201, 162, 85, 0.08);
}
[data-theme="light"] .topbar__explore-btn {
  color: rgba(255, 255, 255, 0.5) !important;
}
[data-theme="light"] .topbar__explore-btn:hover {
  color: #c9a255 !important;
}
[data-theme="light"] .topbar__client-btn {
  color: #c9a255 !important;
  border-color: rgba(201, 162, 85, 0.4) !important;
}
[data-theme="light"] .topbar__client-btn:hover {
  color: #dbbf7e !important;
  border-color: #c9a255 !important;
  background: rgba(201, 162, 85, 0.08) !important;
}

.topbar__social {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar__social a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 200ms ease, transform 200ms ease;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar__social a:hover {
  color: var(--gold);
  transform: translateY(-1px);
}

/* Light mode : icônes restent claires (topbar dark) */
[data-theme="light"] .topbar__social a {
  color: rgba(255, 255, 255, 0.5) !important;
}

[data-theme="light"] .topbar__social a:hover {
  color: #c9a255 !important;
}

/* ─── SKIP TO CONTENT (accessibilité clavier) ──────────────── */
.skip-to-content {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 99999;
  background: var(--gold);
  color: var(--black);
  padding: 0.75rem 1.5rem;
  font-family: var(--sans);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: top 200ms var(--ease-out);
  white-space: nowrap;
}
.skip-to-content:focus-visible {
  top: 1rem;
}

/* ─── FOCUS VISIBLE GLOBAL ──────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
.btn:focus-visible,
.filter-btn:focus-visible,
.slider-btn:focus-visible {
  outline-offset: 4px;
}

/* ─── HEADER — OPAQUE PAR DÉFAUT ────────────────────────────── */
.header {
  background: rgba(9, 9, 9, 0.96);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  border-bottom-color: var(--border);
  top: var(--topbar-h); /* descend sous la topbar */
}

[data-theme="light"] .header {
  background: rgba(255, 245, 241, 0.96) !important;
  backdrop-filter: blur(24px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(130%) !important;
  border-bottom-color: rgba(62, 47, 41, 0.08) !important;
}

/* ─── HOMEPAGE : topbar + header transparents au sommet ──────── */
body.page-home .topbar:not(.scrolled) {
  background: transparent !important;
  border-bottom-color: transparent !important;
}
body.page-home .header:not(.scrolled) {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom-color: transparent !important;
}

/* ─── HERO — PLEIN ÉCRAN DERRIÈRE LE HEADER TRANSPARENT ────── */
/* margin-top: 0 → hero couvre le viewport entier, header flotte dessus */
.hero {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: 0 !important;
  padding-top: 0 !important;
  /* Fond de secours si aucune photo chargée */
  background: radial-gradient(ellipse at 30% 60%, #1c1209 0%, #0a0806 50%, #060505 100%);
}

/* Image de fond : scale fixe 1.05, JS parallax gère le translateY */
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: none;
  will-change: transform;
}


/* Overlay dégradé :
   - Haut et bas sombres : vignette complète du haut au bas de la page */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.10) 25%, transparent 50%),
    linear-gradient(to top,    rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.38) 45%, transparent 70%),
    linear-gradient(to right,  rgba(0,0,0,0.25) 0%, transparent 55%);
  z-index: 1;
}

[data-theme="light"] .hero__overlay {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.10) 25%, transparent 50%),
    linear-gradient(to top,    rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.38) 45%, transparent 70%),
    linear-gradient(to right,  rgba(0,0,0,0.25) 0%, transparent 55%);
}

/* Contenu hero positionné sur l'overlay */
.hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(4rem, 8vw, 8rem);
  width: 100%;
}

/* ─── HERO — BOUTONS CTA MOBILES ────────────────────────────── */
@media (max-width: 767px) {
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    min-height: 52px;
  }
}

/* ─── BOUTONS — TOUCH TARGETS & VISIBILITÉ ──────────────────── */
.btn {
  min-height: 44px;
}

.btn--primary {
  padding: 1rem 2.75rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
}

.btn--primary:hover {
  box-shadow: 0 6px 28px rgba(201, 162, 85, 0.45), var(--shadow-gold);
}

.btn--ghost {
  min-height: 44px;
}

@media (pointer: coarse) {
  .btn,
  .btn--ghost,
  .btn--outline {
    min-height: 52px;
    padding-block: 1rem;
  }

  .filter-btn {
    min-height: 44px;
    padding: 0.6rem 1rem;
  }

  .slider-btn,
  .btn-icon {
    width: 3.5rem;
    height: 3.5rem;
  }

  .hamburger {
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
  }

  .theme-toggle {
    width: 2.75rem;
    height: 2.75rem;
  }
}

/* ─── GALERIE — AFFICHAGE PROPORTIONNEL ─────────────────────── */
/* Chaque image garde son ratio naturel (portrait / paysage / carré) */
.gallery-item__img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s var(--ease-out), filter 0.4s var(--ease-out);
}

.gallery-item:hover .gallery-item__img {
  filter: brightness(0.92) saturate(1.08);
}

/* Légèrement réduit le gap entre items pour un rendu plus serré */
.gallery-grid {
  column-gap: 0.75rem;
}
.gallery-item {
  margin-bottom: 0.75rem;
  border-radius: 2px;
}

/* Filtres galerie : scroll horizontal sur mobile */
@media (max-width: 767px) {
  .filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 2rem;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-btn { flex-shrink: 0; }
}

/* ─── MOBILE NAV — PANEL LATÉRAL ÉLÉGANT ───────────────────── */
/* Remplace l'overlay plein écran par un panel slide-in depuis la droite */
.nav-mobile {
  position: fixed;
  top: 0; right: 0;
  bottom: 0;
  left: auto;             /* Annule inset:0 de main.css */
  height: 100vh;
  height: 100dvh;
  width: min(360px, 90vw);
  background: var(--dark);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 2rem 2.5rem;
  border-left: 1px solid var(--border-light);
  overflow-y: auto;
  /* Slide-in depuis la droite */
  transform: translateX(110%);
  transition:
    transform 380ms var(--ease-out),
    opacity 250ms var(--ease-out);
}

/* Panel visible */
.nav-mobile.open {
  transform: translateX(0);
}

.nav-mobile .nav__list {
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
}

.nav-mobile .nav__item {
  width: 100%;
  text-align: center;
}

.nav-mobile .nav__item a {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 5vw, 2.25rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--white);
  display: block;
  padding: 0.6rem 0;
  transition: color 200ms var(--ease-out), letter-spacing 200ms var(--ease-out);
}

.nav-mobile .nav__item a:hover,
.nav-mobile .nav__item a.active {
  color: var(--gold);
  letter-spacing: 0.08em;
}

/* Séparateur décoratif */
.nav-mobile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0.4;
}

/* CTA contact dans le menu mobile */
.nav-mobile .nav__cta-mobile {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding: 0.875rem 2.5rem;
  background: var(--gold);
  color: var(--black) !important;
  font-family: var(--sans) !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  text-decoration: none;
  transition: background 200ms, transform 200ms;
}
.nav-mobile .nav__cta-mobile:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  letter-spacing: 0.25em !important;
}

/* Light mode nav mobile */
[data-theme="light"] .nav-mobile {
  background: var(--dark);
  border-left-color: var(--border);
}

/* ─── OVERLAY SOMBRE DERRIÈRE LE MENU MOBILE ────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  z-index: 899;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 400ms var(--ease-out), visibility 400ms;
}
.nav-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ─── FORMULAIRES — MOBILE UX ────────────────────────────────── */
.form-control {
  font-size: 1rem; /* Empêche le zoom auto iOS (≥ 16px) */
  min-height: 48px;
  padding: 0.875rem 1rem;
}

textarea.form-control {
  min-height: 140px;
  line-height: 1.7;
}

select.form-control {
  min-height: 48px;
  font-size: 1rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888480' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ─── SECTION STATS — MOBILE ────────────────────────────────── */
@media (max-width: 767px) {
  .stat-item {
    padding: 2rem 1rem;
  }

  .stat-item__num {
    font-size: clamp(2.5rem, 8vw, 4rem);
  }
}

/* ─── PAGE HERO (sous-pages) — SANS PADDING TOP ────────────── */
/* Compte la topbar + le header fixe */
.page-hero {
  padding-top: calc(var(--topbar-h) + var(--header-h) + clamp(3rem, 6vw, 6rem));
  padding-bottom: clamp(3rem, 6vw, 6rem);
}

/* ─── CTA SECTION — PLUS IMPACTANTE ─────────────────────────── */
.cta-section {
  padding-block: clamp(6rem, 12vw, 10rem);
}

.cta-section .t-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.cta-section .btn--primary {
  padding: 1.1rem 3.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}

/* ─── CARDS DE SERVICES — HOVER AMÉLIORÉ ────────────────────── */
.service-card {
  transition:
    background 300ms var(--ease-out),
    transform 300ms var(--ease-spring);
}
.service-card:hover {
  transform: translateY(-2px);
}

/* ─── BACK TO TOP — AJUSTEMENT SI BANDEAU MAINTENANCE ──────── */
body:has(.maintenance-admin-bar) .back-to-top {
  bottom: 4.5rem;
}

/* ─── REDUCED MOTION ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ─── IMAGES — LAZY LOADING + DECODE ────────────────────────── */
img[loading="lazy"] {
  decoding: async;
}

/* ─── FOOTER — LOGO ─────────────────────────────────────────── */
.footer__logo-img {
  height: clamp(48px, 7vw, 68px);
  width: auto;
}

/* ─── TARIFS — BOUTON FULL WIDTH ────────────────────────────── */
.pricing-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: 1.5rem;
}

/* ─── MAINTENANCE BANNER ADMIN ─────────────────────────────── */
/* Déjà dans theme.css mais consolidé ici pour les z-index */
.maintenance-admin-bar {
  z-index: 9990;
}

/* ─── SECTION TAG — LÉGÈREMENT PLUS VISIBLE ─────────────────── */
.section-tag {
  font-size: 0.68rem;
}

/* ─── SMOOTH SCROLL ──────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* ─── GALLERY — ITEMS : TRANSITION PLUS DOUCE ───────────────── */
/* Renforce le hover avec une légère ombre et une transition de filtre */
.gallery-item {
  transition: box-shadow 0.5s var(--ease-out);
}
.gallery-item:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  z-index: 1;
}

/* Évite que les images du portfolio ne soient déformées si elles ont
   une hauteur fixée par une vieille règle CSS */
.gallery-item__img {
  height: auto !important;
  aspect-ratio: unset !important;
}

/* ─── ABOUT IMAGE — ASPECT RATIO PORTRAIT ───────────────────── */
/* Affiche le portrait en ratio 4/5 plutôt que 3/4 pour mieux
   exploiter les photos verticales */
.about__image-frame {
  aspect-ratio: 4 / 5;
}

/* ─── BACK TO TOP — POSITIONNÉ EN DESSOUS DU BANDEAU ADMIN ─── */
body:has(.maintenance-admin-bar) .back-to-top {
  bottom: 4.5rem;
}

/* ─── CURSOR — FALLBACK POUR POINTER: COARSE ────────────────── */
/* Sur écrans tactiles, rétablit les curseurs natifs pour les éléments
   interactifs (le curseur custom JS ne démarre pas sur ces appareils) */
@media (hover: none) {
  body       { cursor: auto !important; }
  a, button  { cursor: pointer !important; }
  .gallery-item,
  .filter-btn { cursor: pointer !important; }
}

/* ─── IMAGES — CHARGEMENT : PLACEHOLDER ANIMÉ ───────────────── */
/* Pendant le chargement, une animation de pulsation indique l'attente */
img:not([src]),
img[src=""] {
  background: linear-gradient(90deg,
    var(--dark-2) 25%,
    var(--dark-3) 50%,
    var(--dark-2) 75%
  );
  background-size: 200% 100%;
  animation: imgSkeleton 1.5s ease infinite;
}

@keyframes imgSkeleton {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* ─── SECTION INTRO ACCENT ───────────────────────────────────── */
/* Ligne dorée subtile au-dessus des section-headers principaux */
.portfolio .section-header,
.services .section-header,
.testimonials .section-header {
  padding-top: 0;
}

/* ─── GALERIE PORTFOLIO — GAP PLUS SERRÉ SUR GRAND ÉCRAN ───── */
@media (min-width: 1280px) {
  .gallery-grid {
    column-gap: 0.6rem;
  }
  .gallery-item {
    margin-bottom: 0.6rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   ZONE D'INTERVENTION — CARTE LEAFLET + GEOJSON
   ══════════════════════════════════════════════════════════════ */

.zone-intervention { background: var(--dark-2); }

/* ── Layout grille ── */
.zone-map-container {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}

/* ── Wrapper carte ── */
.zone-map__wrap {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* ── Container Leaflet ── */
.zone-map__leaflet {
  width: 100%;
  height: 430px;
  display: block;
  background: var(--dark-3);
}

/* ── Placeholder de chargement ── */
.zone-map__loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--dark-3);
  color: var(--text-dim);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  z-index: 10;
}
.zone-map__loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin-map 0.8s linear infinite;
}
@keyframes spin-map { to { transform: rotate(360deg); } }

/* ── Overrides Leaflet UI ── */
.leaflet-container {
  font-family: var(--sans) !important;
  background: var(--dark-3) !important;
}
.leaflet-control-zoom a {
  background: var(--dark) !important;
  border-color: var(--border) !important;
  color: var(--text-muted) !important;
  font-size: 1rem !important;
  line-height: 26px !important;
  transition: background 0.2s, color 0.2s !important;
}
.leaflet-control-zoom a:hover {
  background: var(--dark-3) !important;
  color: var(--gold) !important;
}
.leaflet-control-attribution {
  background: rgba(0,0,0,0.45) !important;
  color: rgba(255,255,255,0.4) !important;
  font-size: 0.55rem !important;
  padding: 2px 5px !important;
  backdrop-filter: blur(4px);
}
.leaflet-control-attribution a {
  color: rgba(255,255,255,0.55) !important;
}

/* ── Tooltip ville ── */
.map-city-tooltip {
  background: var(--dark) !important;
  border: 1px solid rgba(168,122,40,0.5) !important;
  border-radius: 3px !important;
  color: var(--gold) !important;
  font-family: var(--sans) !important;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 0.2rem 0.5rem !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
  white-space: nowrap !important;
}
.map-city-tooltip::before { display: none !important; }

/* ── Label permanent Metz ── */
.map-label-permanent {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--gold) !important;
  font-family: var(--sans) !important;
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}
.map-label-permanent::before { display: none !important; }

/* ── Marqueur ville principal (animation pulse Leaflet) ── */
.leaflet-city-main {
  animation: leaflet-pulse 2.5s ease-out infinite;
}
@keyframes leaflet-pulse {
  0%   { stroke-width: 2.5; stroke-opacity: 0.9; }
  50%  { stroke-width: 6;   stroke-opacity: 0.3; }
  100% { stroke-width: 2.5; stroke-opacity: 0.9; }
}

/* ── Light theme: overrides Leaflet ── */
[data-theme="light"] .zone-intervention { background: var(--dark); }
[data-theme="light"] .zone-map__wrap { border-color: var(--border); }
[data-theme="light"] .leaflet-container { background: var(--dark-2) !important; }
[data-theme="light"] .zone-map__loading { background: var(--dark-2); }
[data-theme="light"] .leaflet-control-zoom a {
  background: var(--black) !important;
  border-color: var(--border) !important;
  color: var(--text-muted) !important;
}
[data-theme="light"] .leaflet-control-zoom a:hover { color: var(--gold-dark) !important; }
[data-theme="light"] .leaflet-control-attribution {
  background: rgba(255,255,255,0.7) !important;
  color: rgba(0,0,0,0.4) !important;
}
[data-theme="light"] .map-city-tooltip {
  background: var(--black) !important;
  color: var(--gold-dark) !important;
}
[data-theme="light"] .map-label-permanent { color: var(--gold-dark) !important; }

/* ── Badge distance ── */
.zone-radius-badge {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.28rem 0.85rem;
  font-size: 0.62rem;
  font-family: var(--sans);
  letter-spacing: 0.06em;
  color: var(--text-muted);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.zone-radius-badge i { color: var(--gold); font-size: 0.6rem; }

/* ── Légende (cards) ── */
.zone-legend {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 0.5rem;
}
.zone-legend__hint {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-family: var(--sans);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.zone-card {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}
.zone-card:hover,
.zone-card.zone-card--active {
  border-color: rgba(168,122,40,0.4);
  background: var(--gold-subtle);
  transform: translateX(5px);
}
.zone-card__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.32rem;
}
.zone-card__dot--moselle   { background: rgba(168,122,40,0.80); }
.zone-card__dot--meurthe   { background: rgba(168,122,40,0.58); }
.zone-card__dot--meuse     { background: rgba(168,122,40,0.48); }
.zone-card__dot--grand-est { background: rgba(168,122,40,0.30); }
.zone-card__dot--intl      { background: transparent; border: 1.5px solid rgba(168,122,40,0.55); }
.zone-card__dot--france    { background: transparent; border: 1.5px dashed rgba(168,122,40,0.45); }

.zone-card__body { flex: 1; min-width: 0; }
.zone-card__head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.zone-card__title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0;
}
.zone-card__badge {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: #fff;
  padding: 0.1rem 0.32rem;
  border-radius: 2px;
  white-space: nowrap;
}
.zone-card__badge--outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
/* Cities : masquées par défaut, révélées au hover / active */
.zone-card__cities {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, margin-top 0.35s ease;
}
.zone-card:hover .zone-card__cities,
.zone-card.zone-card--active .zone-card__cities {
  max-height: 160px;
  margin-top: 0.4rem;
}
.zone-card__cities li {
  font-size: 0.68rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.08rem 0;
}
.zone-card__cities i {
  color: var(--gold);
  font-size: 0.56rem;
  width: 8px;
  flex-shrink: 0;
}

/* ── Light theme — badge & cards ── */
[data-theme="light"] .zone-radius-badge { background: var(--black); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .zone-map-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .zone-map__wrap { max-width: 420px; margin: 0 auto; }
}

/* Client revisions loaded last */
.logo__text {
  display: flex !important;
}

.logo__tagline,
.logo__name-main,
.footer__logo-sub {
  display: none !important;
}

.theme-toggle[hidden] {
  display: none !important;
}
