/* ============================================================
   DID32 — Feuille de style « moderne » (V3, APERÇU)
   Inspirée de la maquette Modif_did32_site.html :
   bleu nuit profond + bleu électrique + cyan + orange,
   titres Bricolage Grotesque, texte Lexend (auto-hébergées, RGPD),
   titres alignés à gauche, sections sombres/claires alternées.
   Les classes HTML sont IDENTIQUES à la V2 : l'éditeur (editeur/)
   et le script (js/script.js) fonctionnent sans modification.
   Mobile-first, contrastes AA, animations coupées si
   prefers-reduced-motion.
   ============================================================ */

/* ---------- Polices locales (pas de CDN, conformité RGPD) ---------- */
@font-face {
  font-family: "Lexend";
  src: url("../assets/fonts/lexend-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../assets/fonts/bricolage-grotesque-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette (maquette, accordée au logo) */
  --nuit-900:   #061238;   /* fonds sombres */
  --nuit-950:   #04102e;   /* pied de page */
  --nuit-700:   #0b1f5e;   /* titres, dégradés */
  --bleu:       #2565ff;   /* bleu électrique (4,8:1 sur blanc) */
  --bleu-pale:  #e3ebff;
  --cyan:       #4ad8ff;   /* accents sur fond sombre */
  --orange:     #f2801c;   /* accents, sur fond sombre uniquement */
  --orange-btn: #bf570a;   /* fond des boutons : blanc dessus = AA (4,6:1) */
  --orange-btn-survol: #a44a07;
  --orange-texte: #b54f05; /* texte orange sur fond clair (AA) */
  --papier:     #f5f8fe;
  --blanc:      #ffffff;
  --encre:      #13224a;
  --encre-douce:#4a5878;
  --ligne:      #d6def2;

  --police: "Lexend", "Segoe UI", system-ui, Arial, sans-serif;
  --police-titres: "Bricolage Grotesque", "Segoe UI", system-ui, Arial, sans-serif;
  --rayon: 14px;
  --rayon-grand: 22px;
  --transition: 0.2s ease;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--police);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--encre);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--police-titres);
  line-height: 1.12;
  color: var(--nuit-700);
  letter-spacing: -0.015em;
}

a { color: var(--bleu); }
a:hover { color: var(--orange-texte); }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.conteneur {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}
.conteneur-etroit { max-width: 860px; }

.lien-evitement {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange-btn);
  color: #fff;
  padding: 0.7rem 1.1rem;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.lien-evitement:focus { left: 0; color: #fff; }

/* ---------- Boutons (pilule, à plat, comme la maquette) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-family: var(--police);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}
.btn:hover { transform: translateY(-1px); }
.btn .icone { width: 1.2em; height: 1.2em; flex: none; }

.btn-orange { background: var(--orange-btn); color: #fff; }
.btn-orange:hover { background: var(--orange-btn-survol); color: #fff; }

/* Bouton « fantôme » : sur fond sombre */
.btn-contour {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-contour:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.06); }

.btn-contour-bleu {
  background: transparent;
  color: var(--nuit-700);
  border-color: var(--nuit-700);
}
.btn-contour-bleu:hover { background: var(--bleu-pale); color: var(--nuit-700); }

.btn-grand { padding: 0.95rem 1.6rem; font-size: 1.08rem; }

/* ============================================================
   EN-TÊTE — bandeau bleu nuit en verre dépoli
   ============================================================ */
.entete {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 18, 56, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(74, 216, 255, 0.18);
  color: #fff;
  transform: translateZ(0);
  will-change: transform;
  transition: background var(--transition), box-shadow var(--transition);
}
.entete.ombre { box-shadow: 0 10px 30px rgba(4, 16, 46, 0.35); }
.entete.compacte {
  background: rgba(6, 18, 56, 0.9);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

/* Hauteur réduite proportionnellement au scroll (--collapse, piloté par script.js) */
.entete-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-height: calc(76px - 12px * var(--collapse, 0));
  padding-block: 0.35rem;
}

.logo-lien { flex: none; display: inline-flex; align-items: center; border-radius: 50%; }
.logo {
  height: calc(72px - 20px * var(--collapse, 0));
  width: auto;
  display: block;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(74, 216, 255, 0.45), 0 0 22px rgba(74, 216, 255, 0.35);
}

.nav-principale { margin-left: auto; }
.nav-principale ul {
  display: flex;
  gap: 1.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-principale a {
  display: block;
  padding: 0.4rem 0;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.nav-principale a:hover { color: #fff; border-bottom-color: var(--cyan); }

.btn-entete { flex: none; padding: 0.65rem 1.15rem; font-size: 0.98rem; }

/* Burger (mobile) — traits blancs sur le bandeau sombre */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: none;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform var(--transition), opacity var(--transition);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HÉRO — bleu nuit, halo bleu électrique, pistes de circuit
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6rem);
  background:
    radial-gradient(60% 55% at 78% 50%, rgba(37, 101, 255, 0.35) 0%, rgba(37, 101, 255, 0) 70%),
    linear-gradient(180deg, var(--nuit-700) 0%, var(--nuit-900) 100%);
}
/* Pistes de circuit décoratives (SVG dans le HTML) */
.hero-circuit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-surligne {
  display: inline-block;
  margin: 0 0 1.2rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #cdefff;
  background: rgba(74, 216, 255, 0.1);
  border: 1px solid rgba(74, 216, 255, 0.3);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin: 0 0 1.3rem;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--orange); }
.hero-sous-titre {
  font-size: 1.15rem;
  max-width: 34rem;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.86);
}
.hero-sous-titre strong { color: #fff; font-weight: 600; }
.hero-boutons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.1rem;
}

/* Points forts : liste légère avec coches cyan (plus de pastilles) */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
}
.hero-badges li { display: flex; align-items: center; gap: 0.45rem; }

/* Illustration : halo cyan flouté derrière, comme le logo de la maquette */
.hero-illustration {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-illustration::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 216, 255, 0.55) 0%, rgba(37, 101, 255, 0.3) 45%, rgba(74, 216, 255, 0) 70%);
  filter: blur(34px);
}
.hero-logo {
  position: relative;
  display: block;
  width: min(330px, 75%);
  height: auto;
  aspect-ratio: 1;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.45));
}
.hero-coche, .hero-coche-halo { transform-box: fill-box; transform-origin: center; }
.hero-coche-halo { opacity: 0; }
.hero-scan { display: none; }

/* ============================================================
   SECTIONS — titres à gauche, gros et serrés (maquette)
   ============================================================ */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-grise { background: var(--papier); }
.section-bleue { background: var(--blanc); }

.section-titre {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}
.section-intro {
  max-width: 40rem;
  margin: 0.9rem 0 2.5rem;
  color: var(--encre-douce);
  font-size: 1.125rem;
}

/* ---------- Services : un grand panneau découpé en cases ---------- */
.grille-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--ligne);            /* les 1 px d'écart dessinent les séparateurs */
  border-radius: var(--rayon-grand);
  overflow: hidden;
  border: 1px solid var(--ligne);
}
.carte-service {
  background: var(--papier);
  padding: 2.1rem 1.9rem;
  transition: background var(--transition);
}
.carte-service:hover { background: #eef3fe; }
.carte-icone {
  width: 52px;
  height: 52px;
  color: var(--bleu);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1.1rem;
}
.carte-icone svg { width: 44px; height: 44px; }
.carte-icone-orange { color: var(--orange-texte); }
.carte-service h3 {
  margin: 0 0 1.1rem;
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.carte-soustitre {
  font-family: var(--police);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--encre-douce);
  letter-spacing: 0;
}
.carte-service ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.carte-service li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.98rem;
}
/* Puce : pastille bleue cochée (maquette) */
.carte-service li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.38em;
  width: 0.95rem;
  height: 0.95rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%232565FF'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' stroke='white' stroke-width='2.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Case « Montage PC gamer » : sombre, puces cyan */
.carte-service--gamer {
  background: linear-gradient(160deg, var(--nuit-700) 0%, var(--nuit-900) 100%);
  color: rgba(255, 255, 255, 0.82);
}
.carte-service--gamer:hover { background: linear-gradient(160deg, #0f2670 0%, var(--nuit-900) 100%); }
.carte-service--gamer h3 { color: #fff; }
.carte-icone-gamer { color: var(--cyan); }
.carte-soustitre-neon { color: var(--cyan); }
.carte-service--gamer li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%234AD8FF'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' stroke='%23061238' stroke-width='2.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.carte-lien-gamer {
  display: inline-block;
  margin-top: 1.1rem;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 2px solid rgba(74, 216, 255, 0.4);
  padding-bottom: 2px;
}
.carte-lien-gamer:hover { color: #fff; border-color: var(--cyan); }

/* « Bon à savoir » (Apple) : filet orange à gauche */
.note-apple {
  max-width: 46rem;
  margin: 1.8rem 0 0;
  padding: 1.1rem 1.4rem;
  background: var(--papier);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--rayon) var(--rayon) 0;
  color: var(--encre);
}

/* ============================================================
   MONTAGE PC GAMER — bleu nuit, étapes numérotées sur une ligne
   ============================================================ */
.section-gamer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(50% 60% at 90% 10%, rgba(37, 101, 255, 0.25), transparent 70%),
    var(--nuit-900);
  color: rgba(255, 255, 255, 0.82);
}
.section-gamer .conteneur { position: relative; z-index: 1; }
.section-gamer .section-titre { color: #fff; }
.section-gamer .section-intro { color: rgba(255, 255, 255, 0.78); }

.grille-gamer {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.6rem 2rem;
  margin: 3rem 0 3.5rem;
  counter-reset: etape;
}
.carte-gamer {
  position: relative;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(74, 216, 255, 0.35);
}
/* Le numéro posé « à cheval » sur la ligne */
.gamer-num {
  position: absolute;
  top: -1.15rem;
  left: 0;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--nuit-900);
  border: 2px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--police-titres);
  font-weight: 800;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
}
.carte-gamer h3 { color: #fff; font-size: 1.2rem; margin: 0.5rem 0 0.5rem; }
.carte-gamer p { margin: 0; color: rgba(255, 255, 255, 0.75); font-size: 0.98rem; }

.galerie-titre {
  color: #fff;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 800;
  margin: 0 0 0.3rem;
}
.galerie-note { color: rgba(255, 255, 255, 0.55); font-size: 0.9rem; margin: 0 0 1.4rem; }
.grille-galerie {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
.galerie-item {
  margin: 0;
  border-radius: var(--rayon);
  overflow: hidden;
  background: var(--nuit-700);
}
.galerie-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.galerie-item:hover img { transform: scale(1.04); }

.gamer-cta {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 2rem;
  padding: 1.8rem 2rem;
  border-radius: var(--rayon-grand);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(74, 216, 255, 0.22);
}
.gamer-cta-texte {
  font-family: var(--police-titres);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.gamer-boutons { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ============================================================
   ZONE D'INTERVENTION — deux blocs à filet orange
   ============================================================ */
.grille-zone {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
.carte-zone {
  background: var(--papier);
  border-radius: 0 var(--rayon-grand) var(--rayon-grand) 0;
  border-left: 4px solid var(--orange);
  padding: 1.9rem 1.9rem 2rem;
}
.carte-zone .carte-icone { margin-bottom: 0.9rem; }
.carte-zone h3 { margin: 0 0 0.3rem; font-size: 1.45rem; font-weight: 800; }
.zone-departements {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: var(--nuit-700);
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
}
.carte-zone p:last-child { color: var(--encre-douce); margin-bottom: 0; }

/* ============================================================
   FRAIS DE DÉPLACEMENT — gros chiffres
   ============================================================ */
.grille-tarifs {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.carte-tarif {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon-grand);
  padding: 1.6rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color var(--transition), transform var(--transition);
}
.carte-tarif:hover { border-color: var(--bleu); transform: translateY(-3px); }
.tarif-zone {
  margin: 0;
  font-weight: 500;
  color: var(--encre-douce);
  font-size: 1rem;
}
.tarif-montant {
  margin: 0;
  font-family: var(--police-titres);
  font-weight: 800;
  font-size: 2.9rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--nuit-700);
}
.tarif-pastille {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  background: var(--orange-btn);
  color: #fff;
  font-size: 1.9rem;
  letter-spacing: -0.02em;
}
.tarif-suffixe {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--police);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0;
  color: var(--encre-douce);
}
@media (min-width: 560px) { .grille-tarifs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grille-tarifs { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   POURQUOI DID32 — tuiles papier
   ============================================================ */
.grille-pourquoi {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 2.5rem;
}
.item-pourquoi {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--papier);
  border-radius: var(--rayon);
  padding: 1.3rem 1.4rem;
}
.coche {
  flex: none;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--nuit-700);
  color: var(--cyan);
  font-size: 1.05rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.item-pourquoi h3 { margin: 0.15rem 0 0.35rem; font-size: 1.15rem; font-weight: 700; }
.item-pourquoi p { margin: 0; color: var(--encre-douce); font-size: 0.98rem; }

/* ============================================================
   FAQ — liste épurée à filets
   ============================================================ */
#faq .section-titre { margin-bottom: 2rem; }
.faq-item {
  border-bottom: 1px solid var(--ligne);
}
.faq-item:first-of-type { border-top: 1px solid var(--ligne); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 3.2rem 1.25rem 0;
  font-family: var(--police-titres);
  font-weight: 700;
  color: var(--nuit-700);
  font-size: 1.15rem;
  position: relative;
  user-select: none;
  transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--bleu); }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--nuit-700);
  color: var(--nuit-700);
  font-family: var(--police);
  font-size: 1.25rem;
  line-height: 29px;
  text-align: center;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.faq-item[open] summary::after {
  content: "−";
  background: var(--orange-btn);
  border-color: var(--orange-btn);
  color: #fff;
}
.faq-reponse { padding: 0 3.2rem 1.4rem 0; color: var(--encre-douce); }
.faq-reponse p { margin: 0; }

/* ============================================================
   CONTACT — section bleu nuit, champs translucides
   ============================================================ */
#contact.section-bleue {
  background:
    radial-gradient(50% 60% at 10% 100%, rgba(37, 101, 255, 0.22), transparent 70%),
    var(--nuit-900);
  color: #fff;
}
#contact .section-titre { color: #fff; }
#contact .section-intro { color: rgba(255, 255, 255, 0.78); }
#contact a { color: var(--cyan); }
#contact a:hover { color: #fff; }

.grille-contact {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  align-items: start;
}
.bloc-formulaire { padding: 0; }
.champ { margin-bottom: 1.1rem; }
.champ label {
  display: block;
  font-size: 0.93rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.35rem;
}
.optionnel { font-weight: 400; color: rgba(255, 255, 255, 0.55); font-size: 0.92em; }
.obligatoire { color: var(--orange); }
.champ input,
.champ select,
.champ textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  font: inherit;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  transition: border-color var(--transition), background var(--transition);
}
.champ select option { color: var(--encre); background: #fff; }
.champ input::placeholder, .champ textarea::placeholder { color: rgba(255, 255, 255, 0.42); }
.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(255, 255, 255, 0.1);
}
.champ textarea { resize: vertical; min-height: 130px; }
.champ-double { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }

.champ-consentement { display: flex; gap: 0.7rem; align-items: flex-start; }
.champ-consentement input {
  width: 22px;
  height: 22px;
  margin-top: 0.2rem;
  flex: none;
  accent-color: var(--orange-btn);
}
.champ-consentement label { font-weight: 400; color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; margin: 0; }

.champ-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn-envoyer { border: none; }
.form-secours { color: rgba(255, 255, 255, 0.62); font-size: 0.9rem; margin: 1rem 0 0; }

.message-formulaire {
  padding: 1rem 1.2rem;
  border-radius: 10px;
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.message-formulaire.succes { background: rgba(74, 216, 255, 0.14); color: #fff; border: 1px solid rgba(74, 216, 255, 0.5); }
.message-formulaire.erreur { background: rgba(242, 128, 28, 0.14); color: #fff; border: 1px solid rgba(242, 128, 28, 0.6); }

/* Coordonnées : en clair sur le fond sombre, gros numéro */
.bloc-coordonnees { color: #fff; }
.bloc-coordonnees h3 { color: #fff; margin: 0 0 1rem; font-size: 1.3rem; }
.liste-coordonnees { list-style: none; margin: 0 0 1.6rem; padding: 0; }
.liste-coordonnees li {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.coord-libelle {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  font-weight: 600;
}
#contact .coord-valeur, .coord-valeur { color: #fff; font-size: 1.05rem; text-decoration: none; }
.coord-note { color: rgba(255, 255, 255, 0.6); font-size: 0.92rem; }
#contact a.coord-valeur:hover { color: var(--cyan); }
.coord-tel {
  font-family: var(--police-titres);
  font-size: 1.9rem !important;
  font-weight: 800;
  letter-spacing: -0.02em;
}
#contact .btn-maps { color: #fff; width: 100%; }

/* ============================================================
   PIED DE PAGE
   ============================================================ */
.pied {
  background: var(--nuit-950);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 3rem;
  font-size: 0.95rem;
  border-top: 1px solid rgba(74, 216, 255, 0.15);
}
.pied a { color: rgba(255, 255, 255, 0.88); text-decoration: none; }
.pied a:hover { color: var(--cyan); }
.pied-inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding-bottom: 2.5rem;
}
.pied-logo { display: inline-block; margin: 0 0 0.9rem; }
.pied-logo img { height: 64px; width: 64px; display: block; border-radius: 50%; }
.pied-titre {
  font-family: var(--police-titres);
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  margin: 0 0 0.8rem;
}
.pied-colonne ul { list-style: none; margin: 0; padding: 0; }
.pied-colonne li { margin-bottom: 0.5rem; }
.pied-colonne p { margin: 0 0 0.6rem; }
.pied-bas {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.2rem 0;
  text-align: center;
  font-size: 0.9rem;
}
.pied-bas p { margin: 0; }
.page-404 + .pied { padding-top: 0; }

/* ============================================================
   BARRE D'APPEL MOBILE (remplace le rond flottant)
   ============================================================ */
.btn-flottant { display: none; }
.barre-mobile { display: none; }

/* ============================================================
   Animations — UNIQUEMENT si le visiteur ne demande pas à les réduire
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .apparait {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
  .apparait.visible { opacity: 1; transform: none; }
  .grille-services > :nth-child(2), .grille-tarifs > :nth-child(2),
  .grille-gamer > :nth-child(2), .grille-galerie > :nth-child(2) { transition-delay: 0.08s; }
  .grille-services > :nth-child(3), .grille-tarifs > :nth-child(3),
  .grille-gamer > :nth-child(3), .grille-galerie > :nth-child(3) { transition-delay: 0.16s; }
  .grille-services > :nth-child(4), .grille-tarifs > :nth-child(4),
  .grille-gamer > :nth-child(4), .grille-galerie > :nth-child(4) { transition-delay: 0.24s; }
  .grille-services > :nth-child(5), .grille-gamer > :nth-child(5),
  .grille-galerie > :nth-child(5) { transition-delay: 0.32s; }
  .grille-services > :nth-child(6), .grille-galerie > :nth-child(6) { transition-delay: 0.40s; }

  /* Héro : texte qui monte, illustration qui s'allume (maquette) */
  .hero-texte { animation: monter 0.8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-illustration { animation: allumer 1.4s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-logo { animation: flotter 6.5s ease-in-out 1.4s infinite; }
  .neon-fan { animation: neon-pulse 3.4s ease-in-out infinite; }
  .neon-fan-2 { animation-delay: 1.1s; }
  .neon-fan-3 { animation-delay: 2.2s; }
  .hero-coche-halo { animation: coche-halo 3.2s ease-out infinite; }
}
@keyframes monter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes allumer { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes flotter { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes neon-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes coche-halo {
  0%   { opacity: 0.45; transform: scale(1); }
  70%  { opacity: 0;    transform: scale(1.7); }
  100% { opacity: 0;    transform: scale(1.7); }
}

/* ---------- Pages annexes (mentions, confidentialité, 404) ---------- */
.page-annexe { padding-block: 3rem 4rem; }
.page-annexe h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; }
.page-annexe h2 { margin-top: 2.2rem; font-size: 1.4rem; }
.page-404 { min-height: 60vh; display: flex; align-items: center; text-align: center; padding-block: 4rem; }
.page-404 .code {
  font-family: var(--police-titres);
  font-size: clamp(4.5rem, 14vw, 8rem);
  font-weight: 800;
  color: var(--bleu-pale);
  -webkit-text-stroke: 3px var(--bleu);
  line-height: 1;
  margin: 0 0 1rem;
}
.page-404 p { color: var(--encre-douce); max-width: 34em; margin-inline: auto; }
.boutons-404 { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 1.8rem; }
.boutons-404 .btn-bleu { background: var(--bleu); color: #fff; }
.boutons-404 .btn-bleu:hover { background: var(--nuit-700); }

/* ============================================================
   Responsive
   ============================================================ */

/* Menu complet seulement à partir de 1100 px (7 entrées) */
@media (max-width: 1099px) {
  .burger { display: flex; }
  .nav-principale {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(6, 18, 56, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(74, 216, 255, 0.2);
    display: none;
    margin: 0;
  }
  .nav-principale.ouverte { display: block; }
  .nav-principale ul { flex-direction: column; padding: 0.5rem 1.25rem 1rem; gap: 0; }
  .nav-principale a { padding: 0.85rem 0; font-size: 1.08rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav-principale a:hover { border-bottom-color: rgba(255, 255, 255, 0.08); color: var(--cyan); }
  .btn-entete { margin-left: auto; }
  .btn-entete-label { display: none; }
}

/* Mobile : barre d'appel fixe en bas d'écran (maquette) */
@media (max-width: 720px) {
  body { padding-bottom: 78px; }
  .btn-entete .btn-entete-texte { display: none; }
  .btn-entete { padding: 0.6rem 0.8rem; }
  .logo { height: calc(58px - 10px * var(--collapse, 0)); }
  .barre-mobile {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    padding: 0.7rem 0.9rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(6, 18, 56, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(74, 216, 255, 0.25);
  }
  .barre-mobile .btn { padding: 0.85rem 1rem; }
  .hero-illustration { order: -1; }
  .hero-logo { width: min(52%, 200px); }
  .carte-service { padding: 1.8rem 1.4rem; }
  .gamer-cta { padding: 1.5rem 1.3rem; }
}

@media (min-width: 640px) {
  .champ-double { grid-template-columns: 1fr 1fr; }
  .grille-pourquoi { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 700px) {
  .grille-galerie { grid-template-columns: repeat(3, 1fr); }
  .grille-services { grid-template-columns: repeat(2, 1fr); }
  .grille-zone { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; }
  .grille-services { grid-template-columns: repeat(3, 1fr); }
  .grille-gamer { grid-template-columns: repeat(5, 1fr); gap: 2rem 1.8rem; }
  .grille-pourquoi { grid-template-columns: repeat(3, 1fr); }
  .grille-contact { grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; }
}
@media (min-width: 700px) and (max-width: 899px) {
  .grille-gamer { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   ZONE — villages à moins de 30 min + schéma « radar » (maquette)
   ============================================================ */
.zone-haut {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: center;
  margin-bottom: 2.5rem;
}
.zone-villes-titre {
  margin: 0 0 0.8rem;
  font-family: var(--police-titres);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--nuit-700);
}
.zone-villes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.zone-villes li {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--bleu-pale);
  color: var(--nuit-700);
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
}
.zone-villes li.zone-ville-base { background: var(--nuit-700); color: #fff; }
.zone-villes-note { margin: 1rem 0 0; color: var(--encre-douce); font-size: 0.98rem; }

.radar { width: 100%; max-width: 480px; margin-inline: auto; display: block; }
.radar text { font-family: var(--police); font-size: 12.5px; fill: var(--encre); }
.radar-anneau { fill: none; stroke: var(--bleu); stroke-opacity: 0.22; }
.radar-km text { font-size: 10.5px; fill: var(--encre-douce); }
.radar-point { fill: var(--bleu); }
.radar-base { fill: var(--orange); }
.radar .radar-base-nom { font-family: var(--police-titres); font-weight: 800; font-size: 15px; fill: var(--nuit-700); }
.radar .radar-legende { font-size: 11px; fill: var(--encre-douce); }

@media (min-width: 900px) {
  .zone-haut { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

/* ============================================================
   AVIS CLIENTS — note Google + citation (maquette)
   ============================================================ */
.section-avis { background: var(--papier); }
#faq.section-grise { background: var(--blanc); }   /* évite deux fonds clairs identiques à la suite */
.avis {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem 3rem;
  align-items: center;
  margin-top: 2.5rem;
}
.avis-note { display: flex; flex-direction: column; }
.avis-chiffre {
  font-family: var(--police-titres);
  font-weight: 800;
  font-size: 5rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--nuit-700);
}
.avis-note-texte { margin-top: 0.3rem; font-weight: 500; font-size: 0.95rem; color: var(--encre-douce); }
.avis-etoiles { margin-top: 0.4rem; font-size: 1.4rem; letter-spacing: 0.08em; color: #f5b82e; }
.avis-citations {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
}
.avis-citation {
  margin: 0;
  padding: 0.2rem 0 0.2rem 1.3rem;
  border-left: 4px solid var(--orange);
}
.avis-citation p {
  margin: 0;
  font-family: var(--police-titres);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--nuit-900);
}
.avis-citation footer { margin-top: 0.7rem; color: var(--encre-douce); font-size: 0.92rem; font-weight: 500; }
@media (min-width: 1000px) {
  .avis-citations { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
.avis-mention { margin: 2rem 0 0; font-size: 0.88rem; color: var(--encre-douce); }
.avis-lien { margin-top: 1.2rem; }
@media (max-width: 700px) {
  .avis { grid-template-columns: 1fr; }
}
