:root {
  --chaine-puys-image: url("fond-eyetech.png");
  --bg: #fbfdff;
  --bg-soft: #f4fff9;
  --panel: rgba(255, 255, 255, 0.97);
  --panel-strong: #ffffff;
  --text: #0b1220;
  --muted: #334155;
  --muted-2: #516174;
  --primary: #dc2626;
  --primary-2: #06b6d4;
  --primary-3: #f97316;
  --danger: #e11d48;
  --border: rgba(15, 23, 42, 0.10);
  --border-strong: rgba(6, 182, 212, 0.28);
  --shadow: 0 22px 70px rgba(15, 23, 42, 0.10);
  --shadow-soft: 0 14px 38px rgba(15, 23, 42, 0.07);
  --radius: 22px;
  --radius-lg: 34px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 5%, rgba(239, 68, 68, 0.12), transparent 30%),
    radial-gradient(circle at 88% 9%, rgba(6, 182, 212, 0.10), transparent 28%),
    radial-gradient(circle at 70% 88%, rgba(249, 115, 22, 0.08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 45%, #f4fff9 100%);
  line-height: 1.72;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 38, 38, 0.016) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.22), transparent 80%);
  z-index: -1;
}

body:not(.home-page)::after {
  content: "";
  position: fixed;
  left: 50%;
  top: 150px;
  width: min(980px, 72vw);
  height: 150px;
  transform: translateX(-50%);
  pointer-events: none;
  background-image: var(--chaine-puys-image);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  opacity: 0.13;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

/* Le fond Chaîne des Puys reste derrière les contenus :
   il ne doit jamais passer sur les cartes ou les textes. */
.site-main,
.site-footer {
  position: relative;
  z-index: 1;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(22px);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.04);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  min-width: max-content;
}

.logo-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.16), 0 14px 30px rgba(220, 38, 38, 0.12);
  background: rgba(255, 255, 255, 0.86);
}

.brand-text { display: grid; line-height: 1.05; }
.brand-name {
  font-size: .98rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.brand-line {
  font-size: .72rem;
  color: var(--muted-2);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .28rem;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 12px 26px rgba(15,23,42,.04);
}

.nav-links a {
  color: var(--muted);
  font-size: .95rem;
  padding: .52rem .82rem;
  border-radius: 999px;
  transition: .16s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: #3f0b0b;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.18), rgba(6, 182, 212, 0.13));
  box-shadow: inset 0 0 0 1px rgba(220, 38, 38, 0.14);
}

.nav-actions { display: flex; align-items: center; gap: .65rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 999px;
  padding: .78rem 1rem;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: .95rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #3f0b0b;
  background: linear-gradient(135deg, #f87171, #67e8f9);
  box-shadow: 0 18px 42px rgba(220, 38, 38, 0.20), 0 0 24px rgba(6, 182, 212, 0.13);
}
.btn-secondary {
  color: var(--text);
  border-color: rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}
.btn-secondary:hover { background: #ffffff; border-color: rgba(6, 182, 212, 0.22); }
.btn-full { width: 100%; }

main { position: relative; }

.site-main {
  position: relative;
  z-index: 1;
}

.site-main > section,
.site-footer,
.site-header {
  position: relative;
  z-index: 2;
}


.section { padding: 5.4rem 0; }
.section-sm { padding: 3.4rem 0; }

.hero {
  position: relative;
  padding: 6.2rem 0 5rem;
  overflow: hidden;
}


.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .86fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .58rem;
  color: #7f1d1d;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .74rem;
  font-weight: 900;
  padding: .38rem .72rem;
  border: 1px solid rgba(6, 182, 212, 0.20);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(15,23,42,.05);
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 7px rgba(239, 68, 68, 0.12), 0 0 18px rgba(239, 68, 68, .55);
}

h1, h2, h3 { line-height: 1.08; letter-spacing: -0.035em; }
h1 {
  margin-top: 1.2rem;
  font-size: clamp(2.75rem, 7vw, 5.75rem);
  max-width: 860px;
}
.h-gradient {
  background: linear-gradient(90deg, #b91c1c, #dc2626 36%, #0891b2 72%, #991b1b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin-top: 1.2rem;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.65vw, 1.24rem);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 2rem;
  max-width: 720px;
}

.stat {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 1.05rem 1.05rem;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}
.stat strong { display: block; font-size: 1rem; color: var(--text); }
.stat span { display: block; color: var(--muted); font-size: .92rem; margin-top: .25rem; }

.visual-card {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(6, 182, 212, 0.18);
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,255,255,.64)),
    radial-gradient(circle at 50% 30%, rgba(6, 182, 212, .16), transparent 38%),
    radial-gradient(circle at 12% 85%, rgba(239,68,68,.16), transparent 30%);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.86);
  overflow: hidden;
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: -55%;
  background: conic-gradient(from 90deg, transparent, rgba(239,68,68,.13), transparent, rgba(6,182,212,.16), transparent);
  animation: spin 18s linear infinite;
}

.visual-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-lg) - 1px);
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255, 0), rgba(255,255,255, .72) 74%),
    linear-gradient(180deg, rgba(255,255,255,.66), rgba(236,253,245,.88));
}

@keyframes spin { to { transform: rotate(360deg); } }

.security-visual { position: absolute; inset: 0; z-index: 2; }
.orb {
  position: absolute;
  left: 50%; top: 43%;
  width: 210px; height: 210px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, #ffffff, rgba(103,232,249,.78) 20%, rgba(239,68,68,.42) 54%, rgba(239,68,68,.06) 70%),
    rgba(103,232,249,.12);
  box-shadow: 0 0 42px rgba(6, 182, 212, .25), 0 0 92px rgba(239, 68, 68, .14);
}
.orb::before,
.orb::after {
  content: "";
  position: absolute;
  inset: -38px;
  border-radius: 50%;
  border: 1px solid rgba(6, 182, 212, .30);
}
.orb::after {
  inset: -72px;
  border-color: rgba(239, 68, 68, .22);
  transform: rotate(30deg) scaleY(.72);
}

.scan-line {
  position: absolute;
  left: 10%; right: 10%; top: 44%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(6,182,212,.70), rgba(239,68,68,.65), transparent);
  box-shadow: 0 0 16px rgba(6,182,212,.40);
  animation: scan 3.8s ease-in-out infinite;
}
@keyframes scan { 0%,100% { transform: translateY(-110px); opacity: .35; } 50% { transform: translateY(116px); opacity: 1; } }

.node {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--primary-2);
  box-shadow: 0 0 0 7px rgba(6, 182, 212, .09), 0 0 20px rgba(6,182,212,.55);
}
.node.n1 { left: 18%; top: 24%; }
.node.n2 { right: 18%; top: 28%; background: var(--primary); box-shadow: 0 0 0 7px rgba(239,68,68,.10), 0 0 20px rgba(239,68,68,.48); }
.node.n3 { left: 24%; bottom: 23%; background: var(--primary); }
.node.n4 { right: 25%; bottom: 20%; }

.visual-pill {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border-radius: 999px;
  border: 1px solid rgba(6,182,212,.18);
  background: rgba(255, 255, 255, .84);
  backdrop-filter: blur(15px);
  color: #0f172a;
  box-shadow: 0 18px 38px rgba(15,23,42,.10);
  padding: .62rem .82rem;
  font-size: .9rem;
  font-weight: 800;
}
.visual-pill span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px rgba(239,68,68,.62);
}
.pill-a { left: 26px; top: 28px; }
.pill-b { right: 22px; top: 118px; }
.pill-c { left: 32px; bottom: 118px; }
.pill-d { right: 26px; bottom: 28px; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 3.5rem;
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
}

.page-hero::before {
  width: 260px;
  height: 260px;
  right: 6%;
  top: 30px;
  background: radial-gradient(circle, rgba(6,182,212,.16), rgba(6,182,212,0) 70%);
  animation: floatGlow 8s ease-in-out infinite;
}

.page-hero::after {
  width: 240px;
  height: 240px;
  left: 4%;
  bottom: -80px;
  background: radial-gradient(circle, rgba(239,68,68,.14), rgba(239,68,68,0) 72%);
  animation: floatGlow 10s ease-in-out infinite reverse;
}
.page-hero h1 { font-size: clamp(2.45rem, 5vw, 4.6rem); max-width: 900px; }
.page-hero .lead { max-width: 840px; font-size: 1.12rem; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.8rem;
}
.section-head h2 { font-size: clamp(2rem, 3.6vw, 3.15rem); }
.section-head p { max-width: 640px; color: var(--muted); font-size: 1rem; }

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 1rem;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,255,255,.92));
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
  padding: 1.55rem;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, opacity .4s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(6,182,212,.10), transparent 35%);
  opacity: .9;
  pointer-events: none;
}
.card > * { position: relative; z-index: 1; }
.card:hover { border-color: rgba(6,182,212,.28); transform: translateY(-2px); transition: .16s ease; }
.card-icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(239,68,68,.15), rgba(6,182,212,.11));
  border: 1px solid rgba(6,182,212,.16);
  font-size: 1.28rem;
  margin-bottom: 1rem;
}
.card h3 { font-size: 1.18rem; margin-bottom: .55rem; }
.card p { color: var(--muted); font-size: 1rem; }
.card ul { margin-top: .95rem; padding-left: 1.15rem; color: var(--muted); font-size: .98rem; }
.card li + li { margin-top: .35rem; }
.card-link {
  display: inline-flex;
  margin-top: 1rem;
  align-items: center;
  gap: .35rem;
  color: #b91c1c;
  font-weight: 900;
  font-size: .95rem;
}

.glow-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(6,182,212,.14);
  background:
    radial-gradient(circle at 15% 0, rgba(239,68,68,.09), transparent 34%),
    radial-gradient(circle at 92% 10%, rgba(6,182,212,.08), transparent 32%),
    rgba(255,255,255,.97);
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.06);
  padding: clamp(1.6rem, 3vw, 2.5rem);
}

.glow-panel::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -30px;
  top: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,.10), transparent 70%);
  animation: floatGlow 9s ease-in-out infinite;
  pointer-events: none;
}

.steps {
  counter-reset: step;
}
.step-card {
  counter-increment: step;
}
.step-card .num::before {
  content: "0" counter(step);
  font-weight: 900;
  letter-spacing: .08em;
  color: #0891b2;
  font-size: .78rem;
}

.city-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.city {
  border-radius: 999px;
  border: 1px solid rgba(6,182,212,.14);
  background: rgba(255,255,255,.96);
  color: #0f172a;
  box-shadow: 0 12px 26px rgba(15,23,42,.05);
  padding: .55rem .84rem;
  font-size: .94rem;
  animation: drift 7s ease-in-out infinite;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 1.2rem;
  align-items: start;
}

.info-row {
  display: grid;
  gap: .22rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.info-row:first-child { padding-top: 0; }
.info-row:last-child { border-bottom: 0; padding-bottom: 0; }
.info-label {
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 900;
}
.info-value { color: var(--text); font-weight: 800; }
.info-value a { color: #b91c1c; }
.info-value small { display: block; color: var(--muted); font-weight: 500; margin-top: .35rem; font-size: .95rem; }

.contact-form {
  display: grid;
  gap: .85rem;
}
.field label {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: .34rem;
}
.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 18px;
  background: rgba(255,255,255,.98);
  color: var(--text);
  outline: 0;
  padding: 1rem 1.05rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.98);
  transition: .16s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(71, 85, 105, .55); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field textarea:focus {
  border-color: rgba(6,182,212,.55);
  box-shadow: 0 0 0 4px rgba(6,182,212,.11);
  background: #ffffff;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { color: var(--muted); font-size: .92rem; }

.cta-band {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(6,182,212,.18);
  background: linear-gradient(135deg, rgba(244,255,249,.98), rgba(245,251,255,.98));
  box-shadow: var(--shadow-soft);
  padding: clamp(1.45rem, 3vw, 2.05rem);
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: auto -10% -120px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,68,68,.12), transparent 68%);
  animation: floatGlow 8s ease-in-out infinite;
}
.cta-band h2 { font-size: clamp(1.45rem, 3vw, 2.4rem); }
.cta-band p { color: var(--muted); margin-top: .35rem; }

.site-footer {
  padding: 2.4rem 0 3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .9rem;
  background: rgba(255,255,255,.56);
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-links a { color: #b91c1c; font-weight: 800; }

@media (max-width: 980px) {
  .nav { min-height: auto; padding: .9rem 0; align-items: flex-start; }
  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }
  .nav { flex-wrap: wrap; }
  .nav-actions { margin-left: auto; }
  .hero-grid,
  .contact-layout { grid-template-columns: 1fr; }
  .visual-card { min-height: 440px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { display: block; }
  .section-head p { margin-top: .7rem; }
}

@keyframes floatGlow {
  0%, 100% { transform: translateY(0px) translateX(0px) scale(1); opacity: .9; }
  50% { transform: translateY(-14px) translateX(6px) scale(1.04); opacity: 1; }
}

@keyframes drift {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
}

.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .55s ease, transform .55s ease;
}

.grid-3 > .card:nth-child(2),
.grid-4 > .card:nth-child(2),
.grid-2 > .card:nth-child(2),
.city-grid .city:nth-child(2n) { animation-delay: .7s; }
.grid-3 > .card:nth-child(3),
.grid-4 > .card:nth-child(3),
.city-grid .city:nth-child(3n) { animation-delay: 1.1s; }
.grid-4 > .card:nth-child(4),
.city-grid .city:nth-child(4n) { animation-delay: 1.4s; }

@media (max-width: 640px) {
  .container { width: min(100% - 24px, var(--max)); }
  .nav-actions { width: 100%; }
  .nav-actions .btn { flex: 1; }
  .hero { padding: 3.8rem 0 3.2rem; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .visual-card { min-height: 390px; }
  .visual-pill { font-size: .74rem; }
  .pill-b { right: 14px; top: 94px; }
  .pill-c { left: 16px; bottom: 98px; }
  .orb { width: 160px; height: 160px; }
  .section { padding: 3.8rem 0; }
  .page-hero { padding: 3.5rem 0 2.2rem; }
  .cta-band { display: block; }
  .cta-band .btn { width: 100%; margin-top: 1rem; }
  .brand-text { display: none; }
}


@media (max-width: 640px) {
  body:not(.home-page)::after {
    top: 155px;
    width: 92vw;
    height: 90px;
    opacity: 0.10;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}


.hero-cta .btn,
.nav-actions .btn,
.cta-band .btn {
  position: relative;
  z-index: 1;
}

.hero-cta .btn::after,
.nav-actions .btn::after,
.cta-band .btn::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(248,113,113,.18), rgba(103,232,249,.18));
  opacity: 0;
  transition: opacity .18s ease;
  z-index: -1;
}

.hero-cta .btn:hover::after,
.nav-actions .btn:hover::after,
.cta-band .btn:hover::after {
  opacity: 1;
}

.card,
.stat,
.cta-band,
.glow-panel,
.page-hero,
.contact-form,
.info-row,
.city,
.section-head {
  will-change: transform, opacity;
}

.page-hero .kicker,
.section-head .kicker {
  animation: drift 6s ease-in-out infinite;
}

.visual-pill {
  animation: drift 6s ease-in-out infinite;
}
.pill-b { animation-delay: .8s; }
.pill-c { animation-delay: 1.2s; }
.pill-d { animation-delay: 1.6s; }





/* ACCUEIL - correction réelle du fond Chaîne des Puys
   Sur l'accueil, on désactive le fond global fixe pour éviter qu'il traverse les cartes.
   On utilise à la place une image décorative positionnée dans le hero, qui scroll normalement avec la page. */
.home-page .hero {
  isolation: isolate;
}

.home-page .hero-grid {
  position: relative;
  z-index: 2;
}

.home-page .hero-stats,
.home-page .hero-stats .stat {
  position: relative;
  z-index: 4;
}

.home-page .hero-stats .stat {
  background: #ffffff !important;
  background-image: none !important;
  opacity: 1 !important;
  isolation: isolate;
}

.home-page .hero-stats .stat::before,
.home-page .hero-stats .stat::after {
  display: none !important;
  content: none !important;
  background: none !important;
}



/* Correction définitive Chaîne des Puys :
   l'image n'est plus un élément mobile dans l'accueil.
   Elle est un vrai décor fixe et discret derrière le contenu. */
.hero-stats,
.hero-stats .stat,
.card,
.glow-panel,
.visual-card,
.cta-band {
  position: relative;
  z-index: 2;
}

.hero-stats .stat {
  background: #ffffff !important;
  background-image: none !important;
}

.hero-stats .stat::before,
.hero-stats .stat::after {
  display: none !important;
  content: none !important;
}

.site-main,
.site-footer,
.site-header {
  position: relative;
  z-index: 1;
}



.home-page .hero-stats .stat {
  background: #ffffff !important;
  background-image: none !important;
}




/* Lien mention légale dans le pied de page */
.footer-links a[href$=".pdf"] {
  opacity: 0.85;
}

.footer-links a[href$=".pdf"]:hover {
  opacity: 1;
  text-decoration: underline;
}


/* Page contact avec formulaire seul */
.contact-form-only {
  max-width: 820px;
  margin-inline: auto;
}

.contact-form-only .glow-panel {
  width: 100%;
}

/* FOND EYETECH SUR TOUTES LES PAGES
   Version finale : accueil inclus. */
body::after {
  content: "";
  position: fixed;
  left: 50%;
  top: 150px;
  width: min(980px, 72vw);
  height: 150px;
  transform: translateX(-50%);
  pointer-events: none;
  background-image: var(--chaine-puys-image);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  opacity: 0.13;
  z-index: 0;
}

/* Le contenu reste au-dessus du fond décoratif. */
.site-header,
.site-main,
.site-footer {
  position: relative;
  z-index: 2;
}

@media (max-width: 640px) {
  body::after {
    top: 155px;
    width: 92vw;
    height: 90px;
    opacity: 0.10;
  }
}


/* ================================
   ACCUEIL FUTURISTE - VISUEL RADAR
   ================================ */

.visual-card {
  min-height: 560px;
  border: 1px solid rgba(103, 232, 249, 0.24);
  background:
    radial-gradient(circle at 50% 36%, rgba(56, 189, 248, 0.22), transparent 26%),
    radial-gradient(circle at 18% 82%, rgba(239, 68, 68, 0.16), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(6, 182, 212, 0.16), transparent 20%),
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(240,252,255,.82));
  box-shadow:
    0 24px 74px rgba(15, 23, 42, 0.12),
    inset 0 0 0 1px rgba(255,255,255,.82),
    inset 0 0 40px rgba(6, 182, 212, 0.08);
}

.visual-card::before {
  inset: -35%;
  background:
    conic-gradient(from 0deg,
      transparent 0deg,
      rgba(103,232,249,.10) 30deg,
      transparent 85deg,
      rgba(248,113,113,.12) 155deg,
      transparent 210deg,
      rgba(6,182,212,.12) 265deg,
      transparent 320deg
    );
  animation: spin 28s linear infinite;
  opacity: 0.95;
}

.visual-card::after {
  inset: 1px;
  border-radius: calc(var(--radius-lg) - 1px);
  background:
    linear-gradient(180deg, rgba(255,255,255,.62), rgba(241,253,255,.78)),
    linear-gradient(90deg, rgba(6,182,212,.05), transparent 20%, transparent 80%, rgba(239,68,68,.05));
}

.security-visual {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}

.grid-overlay {
  position: absolute;
  inset: 22px;
  border-radius: 28px;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 38, 38, 0.14) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 50% 44%, rgba(0,0,0,0.95), rgba(0,0,0,0.30) 62%, transparent 90%);
}

.orb {
  left: 50%;
  top: 43%;
  width: 230px;
  height: 230px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 40% 34%, rgba(255,255,255,1), rgba(186, 230, 253, .95) 18%, rgba(239,68,68,.36) 48%, rgba(6,182,212,.09) 68%, transparent 74%),
    rgba(255,255,255,.15);
  box-shadow:
    0 0 48px rgba(6, 182, 212, .28),
    0 0 120px rgba(239, 68, 68, .12);
  animation: corePulse 4.8s ease-in-out infinite;
}

.orb::before,
.orb::after {
  border-color: rgba(125, 211, 252, .34);
}

.orb::after {
  inset: -76px;
  border-color: rgba(248, 113, 113, .24);
  transform: rotate(28deg) scaleY(.74);
}

.orb-core {
  position: absolute;
  left: 50%;
  top: 43%;
  width: 70px;
  height: 70px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,255,255,1), rgba(186,230,253,.86) 34%, rgba(6,182,212,.55) 58%, rgba(6,182,212,.02) 76%);
  box-shadow:
    0 0 26px rgba(125, 211, 252, .75),
    0 0 54px rgba(239, 68, 68, .30);
  z-index: 4;
  animation: coreBlink 2.6s ease-in-out infinite;
}

.ring {
  position: absolute;
  left: 50%;
  top: 43%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(103, 232, 249, 0.26);
  box-shadow: 0 0 28px rgba(6, 182, 212, .08);
}

.ring-1 {
  width: 280px;
  height: 280px;
  animation: pulseRing 4.2s ease-in-out infinite;
}

.ring-2 {
  width: 360px;
  height: 360px;
  border-style: dashed;
  border-color: rgba(248, 113, 113, 0.22);
  animation: rotateRing 18s linear infinite;
}

.ring-3 {
  width: 430px;
  height: 430px;
  border-color: rgba(125, 211, 252, 0.18);
  animation: pulseRing 6.2s ease-in-out infinite reverse;
}

.scan-line {
  left: 8%;
  right: 8%;
  top: 44%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(125,211,252,.8), rgba(248,113,113,.72), transparent);
  box-shadow: 0 0 18px rgba(6,182,212,.36);
  animation: scan 4.2s ease-in-out infinite;
}

.scan-sweep {
  position: absolute;
  left: 50%;
  top: 43%;
  width: 340px;
  height: 340px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    conic-gradient(from 0deg,
      rgba(239,68,68,0) 0deg,
      rgba(239,68,68,0) 315deg,
      rgba(239,68,68,.18) 340deg,
      rgba(125,211,252,.32) 350deg,
      rgba(255,255,255,.08) 356deg,
      rgba(239,68,68,0) 360deg
    );
  filter: blur(1px);
  opacity: 0.9;
  z-index: 2;
  animation: rotateRing 5.6s linear infinite;
  mask-image: radial-gradient(circle, transparent 0 48px, rgba(0,0,0,1) 78px, rgba(0,0,0,1) 100%);
}

.crosshair {
  position: absolute;
  left: 50%;
  top: 43%;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
  opacity: 0.42;
  z-index: 2;
}

.crosshair-h {
  width: 68%;
  height: 1px;
}

.crosshair-v {
  width: 1px;
  height: 68%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.7), transparent);
}

.node {
  width: 12px;
  height: 12px;
  z-index: 4;
}

.node::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(125,211,252,.22);
  animation: pulseNode 2.8s ease-out infinite;
}

.hud-panel {
  position: absolute;
  z-index: 5;
  padding: .48rem .76rem;
  border-radius: 14px;
  border: 1px solid rgba(125, 211, 252, 0.26);
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 30px rgba(15,23,42,.10);
  color: #0f172a;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hud-panel::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: .45rem;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px rgba(239,68,68,.8);
}

.hud-a {
  left: 28px;
  top: 186px;
  animation: hudFloat 6s ease-in-out infinite;
}

.hud-b {
  right: 28px;
  bottom: 156px;
  animation: hudFloat 6.6s ease-in-out infinite reverse;
}

.visual-pill {
  gap: .55rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  background: rgba(255,255,255,.74);
  box-shadow:
    0 18px 34px rgba(15,23,42,.10),
    inset 0 1px 0 rgba(255,255,255,.88);
  padding: .70rem .95rem;
  font-size: .92rem;
  letter-spacing: .01em;
  color: #082f49;
}

.visual-pill span {
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #ef4444, #67e8f9);
  box-shadow: 0 0 14px rgba(239,68,68,.62);
}

.pill-a { left: 26px; top: 28px; animation: hudFloat 6s ease-in-out infinite; }
.pill-b { right: 22px; top: 118px; animation: hudFloat 5.8s ease-in-out infinite .4s; }
.pill-c { left: 32px; bottom: 118px; animation: hudFloat 6.8s ease-in-out infinite .3s; }
.pill-d { right: 26px; bottom: 28px; animation: hudFloat 6.2s ease-in-out infinite .7s; }

@keyframes corePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.06); }
}

@keyframes coreBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 26px rgba(125, 211, 252, .75), 0 0 54px rgba(239, 68, 68, .30); }
  50% { opacity: .88; box-shadow: 0 0 34px rgba(125, 211, 252, .95), 0 0 72px rgba(239, 68, 68, .42); }
}

@keyframes pulseRing {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .90; }
  50% { transform: translate(-50%, -50%) scale(1.04); opacity: 1; }
}

@keyframes rotateRing {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes hudFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes pulseNode {
  0% { transform: scale(.55); opacity: .72; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

@media (max-width: 980px) {
  .visual-card {
    min-height: 470px;
  }

  .ring-3 {
    width: 360px;
    height: 360px;
  }

  .hud-panel {
    font-size: .67rem;
    padding: .44rem .68rem;
  }
}

@media (max-width: 640px) {
  .visual-card {
    min-height: 420px;
  }

  .orb {
    width: 170px;
    height: 170px;
  }

  .orb-core {
    width: 54px;
    height: 54px;
  }

  .ring-1 { width: 210px; height: 210px; }
  .ring-2 { width: 270px; height: 270px; }
  .ring-3 { width: 320px; height: 320px; }

  .scan-sweep {
    width: 250px;
    height: 250px;
  }

  .hud-panel {
    display: none;
  }

  .visual-pill {
    font-size: .74rem;
    padding: .55rem .74rem;
  }
}


/* ================================
   SERVICES - CARTES AVEC IMAGES
   ================================ */

.service-card {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.service-card .service-image {
  position: relative;
  height: 165px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(239,68,68,.18), transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(6,182,212,.16), transparent 35%),
    #eefcf6;
}

.service-card .service-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(15,23,42,.22)),
    radial-gradient(circle at 50% 50%, transparent 42%, rgba(255,255,255,.12));
  pointer-events: none;
}

.service-card .service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.service-card .card-icon,
.service-card h3,
.service-card p,
.service-card ul {
  margin-left: 1.55rem;
  margin-right: 1.55rem;
}

.service-card .card-icon {
  margin-top: 1.25rem;
}

.service-card ul {
  margin-bottom: 1.55rem;
}

@media (max-width: 640px) {
  .service-card .service-image {
    height: 190px;
  }
}


/* =========================================
   ZONE D'INTERVENTION - CARTE 3D FUTURISTE
   ========================================= */

.zone-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, .98fr);
  gap: clamp(2rem, 5vw, 4.8rem);
  align-items: center;
}

.zone-hero-copy {
  position: relative;
  z-index: 2;
}

.zone-visual-card {
  min-height: 560px;
  overflow: hidden;
}

.zone-map-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.zone-map-shell {
  position: absolute;
  inset: 20px;
  border-radius: 30px;
}

.zone-map-surface {
  position: absolute;
  left: 50%;
  top: 53%;
  width: 360px;
  height: 245px;
  transform: translate(-50%, -50%) rotate(-18deg) skew(-9deg, -4deg);
  border-radius: 34px;
  background:
    linear-gradient(150deg, rgba(255,255,255,.96), rgba(240,253,250,.88)),
    linear-gradient(90deg, rgba(103,232,249,.06), rgba(239,68,68,.05));
  border: 1px solid rgba(125,211,252,.24);
  box-shadow:
    0 34px 70px rgba(15,23,42,.18),
    0 16px 34px rgba(239,68,68,.14),
    inset 0 0 0 1px rgba(255,255,255,.75);
  z-index: 1;
  overflow: hidden;
}

.zone-map-surface::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 48% 46%, rgba(56,189,248,.16), transparent 16%),
    radial-gradient(circle at 66% 34%, rgba(239,68,68,.15), transparent 14%),
    radial-gradient(circle at 60% 72%, rgba(6,182,212,.10), transparent 16%),
    radial-gradient(circle at 34% 62%, rgba(239,68,68,.12), transparent 16%),
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(224,242,254,.56));
  box-shadow: inset 0 0 0 1px rgba(125,211,252,.14);
}

.zone-map-surface::after {
  content: "";
  position: absolute;
  inset: 26px;
  border-radius: 20px;
  background-image:
    linear-gradient(rgba(6,182,212,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239,68,68,.09) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .34;
}

.zone-map-shadow {
  position: absolute;
  left: 50%;
  top: 63%;
  width: 380px;
  height: 70px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15,23,42,.18), rgba(15,23,42,0) 68%);
  filter: blur(14px);
  z-index: 0;
}

.map-sector {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(239,68,68,.16), rgba(239,68,68,0));
  filter: blur(3px);
  opacity: .75;
}

.sector-center { left: 50%; top: 50%; width: 150px; height: 100px; transform: translate(-50%, -50%); }
.sector-north { left: 56%; top: 31%; width: 120px; height: 80px; }
.sector-east { left: 65%; top: 48%; width: 120px; height: 86px; }
.sector-south { left: 54%; top: 66%; width: 120px; height: 86px; }
.sector-west { left: 28%; top: 49%; width: 120px; height: 86px; }

.map-road {
  position: absolute;
  z-index: 3;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(103,232,249,.10), rgba(239,68,68,.85), rgba(125,211,252,.95));
  box-shadow: 0 0 14px rgba(103,232,249,.20);
  opacity: .85;
}

.road-west-east {
  left: 34%;
  top: 49%;
  width: 150px;
  transform: rotate(-8deg);
}

.road-north-south {
  left: 49%;
  top: 37%;
  width: 132px;
  transform: rotate(84deg);
}

.road-riom {
  left: 50%;
  top: 36%;
  width: 96px;
  transform: rotate(-76deg);
}

.road-cournon {
  left: 53%;
  top: 57%;
  width: 92px;
  transform: rotate(60deg);
}

.road-aubiere {
  left: 45%;
  top: 57%;
  width: 72px;
  transform: rotate(120deg);
}

.road-chamalieres {
  left: 37%;
  top: 47%;
  width: 74px;
  transform: rotate(168deg);
}

.zone-radar-center {
  position: absolute;
  left: 51%;
  top: 49%;
  width: 0;
  height: 0;
  z-index: 4;
}

.zone-radar-center .orb {
  left: 0;
  top: 0;
  width: 156px;
  height: 156px;
  transform: translate(-50%, -50%);
  animation: corePulse 4.8s ease-in-out infinite;
  box-shadow:
    0 0 44px rgba(6,182,212,.26),
    0 0 88px rgba(239,68,68,.10);
}

.zone-radar-center .orb-core {
  position: absolute;
  left: 0;
  top: 0;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,255,255,1), rgba(186,230,253,.92) 34%, rgba(6,182,212,.62) 58%, rgba(6,182,212,.02) 76%);
  box-shadow: 0 0 24px rgba(125,211,252,.76), 0 0 48px rgba(239,68,68,.26);
  z-index: 5;
  animation: coreBlink 2.6s ease-in-out infinite;
}

.zone-radar-center .ring {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
}

.zone-radar-center .ring-1 { width: 210px; height: 210px; }
.zone-radar-center .ring-2 { width: 280px; height: 280px; }
.zone-radar-center .ring-3 { width: 340px; height: 340px; }

.zone-radar-center .scan-sweep {
  position: absolute;
  left: 0;
  top: 0;
  width: 280px;
  height: 280px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    conic-gradient(from 0deg,
      rgba(239,68,68,0) 0deg,
      rgba(239,68,68,0) 320deg,
      rgba(239,68,68,.16) 342deg,
      rgba(125,211,252,.34) 350deg,
      rgba(255,255,255,.08) 356deg,
      rgba(239,68,68,0) 360deg
    );
  z-index: 4;
  animation: rotateRing 5.8s linear infinite;
  mask-image: radial-gradient(circle, transparent 0 34px, rgba(0,0,0,1) 64px, rgba(0,0,0,1) 100%);
}

.zone-radar-center .crosshair {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  z-index: 4;
  opacity: .36;
}

.zone-radar-center .crosshair-h {
  width: 300px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent);
}

.zone-radar-center .crosshair-v {
  width: 1px;
  height: 300px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.75), transparent);
}

.zone-pin {
  position: absolute;
  z-index: 6;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444, #67e8f9);
  box-shadow: 0 0 0 8px rgba(239,68,68,.09), 0 0 20px rgba(6,182,212,.34);
}

.zone-pin::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(125,211,252,.26);
  animation: pulseNode 3s ease-out infinite;
}

.pin-clermont { left: 51%; top: 49%; transform: translate(-50%, -50%); width: 16px; height: 16px; }
.pin-lempdes { left: 63%; top: 49%; }
.pin-cournon { left: 60%; top: 60%; }
.pin-aubiere { left: 44%; top: 59%; }
.pin-chamalieres { left: 36%; top: 47%; }
.pin-gerzat { left: 55%; top: 39%; }
.pin-riom { left: 49%; top: 28%; }

.zone-link {
  position: absolute;
  z-index: 5;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(125,211,252,.0), rgba(125,211,252,.85));
  box-shadow: 0 0 12px rgba(103,232,249,.18);
  opacity: .9;
  transform-origin: left center;
}

.link-lempdes { left: 52%; top: 49.4%; width: 62px; transform: rotate(0deg); }
.link-cournon { left: 52%; top: 50.4%; width: 72px; transform: rotate(48deg); }
.link-aubiere { left: 45%; top: 57.6%; width: 50px; transform: rotate(-128deg); }
.link-chamalieres { left: 38%; top: 47.8%; width: 62px; transform: rotate(-4deg); }
.link-gerzat { left: 52.2%; top: 47.4%; width: 44px; transform: rotate(-65deg); }
.link-riom { left: 50.8%; top: 32%; width: 86px; transform: rotate(-93deg); }

.map-label {
  position: absolute;
  z-index: 7;
  padding: .40rem .62rem;
  border-radius: 12px;
  border: 1px solid rgba(125,211,252,.24);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 26px rgba(15,23,42,.08);
  color: #0f172a;
  font-size: .74rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.label-clermont { left: 49%; top: 44%; transform: translate(-50%, -50%); }
.label-lempdes { left: 69%; top: 46%; }
.label-cournon { left: 63%; top: 66%; }
.label-aubiere { left: 33%; top: 65%; }
.label-chamalieres { left: 16%; top: 43%; }
.label-gerzat { left: 61%; top: 31%; }
.label-riom { left: 45%; top: 17%; }

.map-badge {
  position: absolute;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .52rem .82rem;
  border-radius: 999px;
  border: 1px solid rgba(125,211,252,.24);
  background: rgba(255,255,255,.74);
  box-shadow: 0 16px 34px rgba(15,23,42,.08);
  color: #0f172a;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .02em;
}

.map-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444, #67e8f9);
  box-shadow: 0 0 12px rgba(239,68,68,.5);
}

.badge-base { left: 22px; bottom: 28px; }
.badge-radius { right: 22px; top: 28px; }

@media (max-width: 1100px) {
  .zone-hero-grid {
    grid-template-columns: 1fr;
  }

  .zone-visual-card {
    min-height: 500px;
  }
}

@media (max-width: 640px) {
  .zone-visual-card {
    min-height: 430px;
  }

  .zone-map-surface {
    width: 280px;
    height: 190px;
    top: 56%;
  }

  .zone-map-shadow {
    width: 300px;
    top: 64%;
  }

  .zone-radar-center .orb { width: 118px; height: 118px; }
  .zone-radar-center .ring-1 { width: 160px; height: 160px; }
  .zone-radar-center .ring-2 { width: 214px; height: 214px; }
  .zone-radar-center .ring-3 { width: 255px; height: 255px; }
  .zone-radar-center .scan-sweep { width: 215px; height: 215px; }
  .zone-radar-center .crosshair-h { width: 220px; }
  .zone-radar-center .crosshair-v { height: 220px; }

  .map-label {
    font-size: .64rem;
    padding: .34rem .50rem;
  }

  .label-chamalieres { left: 8%; top: 42%; }
  .label-lempdes { left: 72%; top: 46%; }
  .label-cournon { left: 62%; top: 69%; }
  .label-aubiere { left: 26%; top: 68%; }
  .label-gerzat { left: 62%; top: 28%; }
  .label-riom { left: 44%; top: 14%; }

  .map-badge {
    font-size: .66rem;
    padding: .42rem .64rem;
  }
}


/* ==========================================================
   DARK LED / HIKVISION-INSPIRED STYLE
   Ambiance sombre, lumineuse, futuriste, premium
   ========================================================== */

:root {
  --bg: #06111a;
  --bg-soft: #081521;
  --panel: rgba(10, 20, 30, 0.86);
  --panel-strong: #0d1823;
  --text: #ecf8ff;
  --muted: #9ab1c1;
  --muted-2: #86a0b0;
  --primary: #27d3ff;
  --primary-2: #5ee6ff;
  --primary-3: #5aa3ff;
  --danger: #ef4444;
  --border: rgba(112, 188, 255, 0.16);
  --border-strong: rgba(94, 230, 255, 0.30);
  --shadow: 0 24px 74px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 16px 42px rgba(0, 0, 0, 0.30);
}

.kicker {
  display: none !important;
}

html {
  background: #06111a;
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(39, 211, 255, 0.12), transparent 26%),
    radial-gradient(circle at 82% 12%, rgba(94, 230, 255, 0.08), transparent 24%),
    radial-gradient(circle at 76% 78%, rgba(44, 96, 170, 0.10), transparent 30%),
    linear-gradient(180deg, #050b12 0%, #07111a 32%, #091521 100%);
}

body::before {
  background-image:
    linear-gradient(rgba(39, 211, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 211, 255, 0.022) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.70), transparent 88%);
}

body::after {
  opacity: 0.09 !important;
  filter: saturate(0) brightness(1.2);
}

.site-header {
  backdrop-filter: blur(22px);
  background: linear-gradient(to bottom, rgba(7, 16, 26, 0.94), rgba(7, 16, 26, 0.86));
  border-bottom: 1px solid rgba(94, 230, 255, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
}

.logo-img {
  background: rgba(255,255,255,0.03);
  box-shadow:
    0 0 0 1px rgba(94, 230, 255, 0.18),
    0 0 24px rgba(39, 211, 255, 0.14);
}

.brand-name {
  color: #f2fbff;
}

.brand-line {
  color: #88a9b8;
}

.nav-links {
  border: 1px solid rgba(94, 230, 255, 0.10);
  background: rgba(10, 20, 30, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.03),
    0 12px 28px rgba(0,0,0,0.24);
}

.nav-links a {
  color: #b5cbda;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: #effbff;
  background: linear-gradient(135deg, rgba(39, 211, 255, 0.18), rgba(94, 230, 255, 0.10));
  box-shadow:
    inset 0 0 0 1px rgba(39, 211, 255, 0.18),
    0 0 18px rgba(39, 211, 255, 0.10);
}

.btn {
  letter-spacing: .01em;
}

.btn-primary {
  color: #03111a;
  background: linear-gradient(135deg, #7ef2ff 0%, #27d3ff 40%, #2f87ff 100%);
  box-shadow:
    0 18px 42px rgba(39, 211, 255, 0.22),
    0 0 24px rgba(39, 211, 255, 0.16);
}

.btn-secondary {
  color: #effbff;
  border-color: rgba(94, 230, 255, 0.14);
  background: rgba(10, 20, 30, 0.82);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.btn-secondary:hover {
  background: rgba(12, 25, 37, 0.96);
  border-color: rgba(94, 230, 255, 0.26);
}

h1, h2, h3 {
  color: #f4fbff;
}

.h-gradient {
  background: linear-gradient(90deg, #f3fbff, #a6f3ff 34%, #27d3ff 70%, #5aa3ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead,
.section-head p,
.card p,
.card ul,
.form-note,
.page-hero .lead {
  color: var(--muted);
}

.card,
.stat,
.glow-panel,
.cta-band {
  border: 1px solid rgba(94, 230, 255, 0.10);
  background:
    linear-gradient(145deg, rgba(11, 24, 36, 0.96), rgba(8, 18, 28, 0.92));
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255,255,255,0.02);
}

.card::before {
  background: radial-gradient(circle at 0 0, rgba(39, 211, 255, 0.10), transparent 36%);
}

.card:hover {
  border-color: rgba(94, 230, 255, 0.22);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(39, 211, 255, 0.07);
}

.stat strong,
.card h3,
.section-head h2,
.cta-band h2 {
  color: #f4fbff;
}

.stat span {
  color: var(--muted);
}

.glow-panel {
  background:
    radial-gradient(circle at 15% 0, rgba(39, 211, 255, 0.08), transparent 34%),
    radial-gradient(circle at 92% 10%, rgba(94, 230, 255, 0.06), transparent 32%),
    rgba(10,20,30,.94);
}

.cta-band {
  background: linear-gradient(135deg, rgba(10,20,30,.96), rgba(12,25,37,.96));
}

.city {
  border-color: rgba(94, 230, 255, 0.14);
  background: rgba(10, 20, 30, 0.90);
  color: #ebf9ff;
  box-shadow: 0 12px 26px rgba(0,0,0,.18);
}

.card-icon {
  display: none !important;
}

.site-footer {
  border-top: 1px solid rgba(94, 230, 255, 0.10);
  color: #8da7b8;
  background: rgba(6, 14, 22, 0.86);
}

.footer-links a {
  color: #9aefff;
}

.footer-links a:hover {
  color: #ffffff;
}

.field label,
.info-label {
  color: #b7d4e4;
}

.field input,
.field textarea {
  border: 1px solid rgba(94, 230, 255, .12);
  background: rgba(8, 18, 28, .96);
  color: #effbff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(154, 177, 193, .58);
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(94, 230, 255, .42);
  box-shadow: 0 0 0 4px rgba(39, 211, 255, .10);
  background: rgba(10, 20, 30, .98);
}

.hero h1,
.page-hero h1,
.section-head h2 {
  margin-top: 0 !important;
}

.hero {
  padding-top: 5.4rem;
}

.page-hero {
  padding-top: 4.4rem;
}

.visual-card {
  border: 1px solid rgba(94, 230, 255, 0.18);
  background:
    radial-gradient(circle at 50% 34%, rgba(39, 211, 255, 0.16), transparent 28%),
    radial-gradient(circle at 18% 82%, rgba(45, 116, 255, 0.10), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(94, 230, 255, 0.12), transparent 20%),
    linear-gradient(145deg, rgba(10,20,30,.96), rgba(6,14,22,.94));
  box-shadow:
    0 24px 74px rgba(0, 0, 0, 0.36),
    inset 0 0 0 1px rgba(255,255,255,.02),
    inset 0 0 46px rgba(39, 211, 255, 0.05);
}

.visual-card::before {
  background:
    conic-gradient(from 0deg,
      transparent 0deg,
      rgba(39,211,255,.10) 32deg,
      transparent 88deg,
      rgba(94,230,255,.10) 160deg,
      transparent 220deg,
      rgba(47,135,255,.12) 270deg,
      transparent 320deg
    );
  opacity: .92;
}

.visual-card::after {
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)),
    linear-gradient(90deg, rgba(39,211,255,.04), transparent 20%, transparent 80%, rgba(94,230,255,.04));
}

.grid-overlay {
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(39, 211, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 230, 255, 0.12) 1px, transparent 1px);
}

.orb,
.zone-radar-center .orb {
  background:
    radial-gradient(circle at 40% 34%, rgba(255,255,255,1), rgba(190,247,255,.94) 18%, rgba(39,211,255,.30) 46%, rgba(47,135,255,.08) 68%, transparent 74%),
    rgba(255,255,255,.10);
  box-shadow:
    0 0 48px rgba(39, 211, 255, .25),
    0 0 108px rgba(47, 135, 255, .12);
}

.orb::before,
.orb::after {
  border-color: rgba(94,230,255,.22);
}

.orb-core,
.zone-radar-center .orb-core {
  background:
    radial-gradient(circle, rgba(255,255,255,1), rgba(190,247,255,.88) 34%, rgba(39,211,255,.55) 58%, rgba(47,135,255,.04) 76%);
  box-shadow:
    0 0 28px rgba(39, 211, 255, .54),
    0 0 56px rgba(94, 230, 255, .18);
}

.scan-line {
  background: linear-gradient(90deg, transparent, rgba(126,242,255,.82), rgba(39,211,255,.70), transparent);
  box-shadow: 0 0 18px rgba(39,211,255,.28);
}

.scan-sweep,
.zone-radar-center .scan-sweep {
  background:
    conic-gradient(from 0deg,
      rgba(39,211,255,0) 0deg,
      rgba(39,211,255,0) 320deg,
      rgba(39,211,255,.14) 342deg,
      rgba(126,242,255,.28) 350deg,
      rgba(255,255,255,.06) 356deg,
      rgba(39,211,255,0) 360deg
    );
}

.node,
.zone-pin {
  background: linear-gradient(135deg, #7ef2ff, #27d3ff);
  box-shadow:
    0 0 0 8px rgba(39, 211, 255, .08),
    0 0 18px rgba(39,211,255,.30);
}

.visual-pill,
.hud-panel,
.map-label,
.map-badge {
  border: 1px solid rgba(94, 230, 255, 0.14);
  background: rgba(8, 18, 28, 0.74);
  color: #effbff;
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
}

.visual-pill span,
.hud-panel::before,
.map-badge::before {
  background: linear-gradient(135deg, #7ef2ff, #27d3ff);
  box-shadow: 0 0 12px rgba(39,211,255,.48);
}

.service-card .service-image {
  background:
    radial-gradient(circle at 20% 10%, rgba(39,211,255,.14), transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(94,230,255,.12), transparent 35%),
    #08131c;
}

.service-card .service-image::after {
  background:
    linear-gradient(180deg, transparent 42%, rgba(5,11,18,.42)),
    radial-gradient(circle at 80% 10%, rgba(39,211,255,.12), transparent 38%);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
  filter: saturate(1.08) contrast(1.06);
}

.zone-map-surface {
  border-color: rgba(94,230,255,.16);
  background:
    linear-gradient(150deg, rgba(14,22,32,.98), rgba(9,18,28,.96)),
    linear-gradient(90deg, rgba(39,211,255,.03), rgba(94,230,255,.03));
}

.zone-map-surface::before {
  background:
    radial-gradient(circle at 48% 46%, rgba(39,211,255,.14), transparent 16%),
    radial-gradient(circle at 66% 34%, rgba(94,230,255,.10), transparent 14%),
    radial-gradient(circle at 60% 72%, rgba(47,135,255,.10), transparent 16%),
    radial-gradient(circle at 34% 62%, rgba(39,211,255,.09), transparent 16%),
    linear-gradient(180deg, rgba(18,30,42,.98), rgba(8,18,28,.86));
}

.zone-map-surface::after {
  background-image:
    linear-gradient(rgba(39,211,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94,230,255,.06) 1px, transparent 1px);
  opacity: .34;
}

.map-road,
.zone-link {
  background: linear-gradient(90deg, rgba(39,211,255,.06), rgba(39,211,255,.82), rgba(126,242,255,.92));
  box-shadow: 0 0 14px rgba(39,211,255,.18);
}

.zone-map-shadow {
  background: radial-gradient(circle, rgba(0,0,0,.42), rgba(0,0,0,0) 68%);
}

.visual-pill,
.city {
  animation: none !important;
}

@media (max-width: 640px) {
  body::after {
    opacity: 0.07 !important;
  }

  .visual-card {
    min-height: 400px;
  }
}


/* ==========================================================
   FOND EYETECH METAL + CARTES ACCUEIL PREMIUM
   ========================================================== */

/* Rendre le fond eyetech visible sur toutes les pages,
   avec un rendu gris métallisé / premium */
body::after {
  content: "";
  position: fixed !important;
  left: 50%;
  top: 150px;
  width: min(1040px, 76vw);
  height: 155px;
  transform: translateX(-50%);
  pointer-events: none;
  background-image: var(--chaine-puys-image) !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: contain !important;
  opacity: 0.18 !important;
  z-index: 0;
  filter: grayscale(1) brightness(1.35) contrast(1.08) saturate(0) drop-shadow(0 0 10px rgba(255,255,255,.05));
}

/* Le contenu doit rester au-dessus du fond */
.site-header,
.site-main,
.site-footer {
  position: relative;
  z-index: 2;
}

/* 3 fenêtres de la page d'accueil : fini le blanc, place à un rendu
   dark glass / premium cohérent avec le reste du site */
.hero-stats {
  margin-top: 2rem;
  gap: 1rem;
}

.hero-stats .stat {
  border: 1px solid rgba(94, 230, 255, 0.16) !important;
  background:
    linear-gradient(145deg, rgba(10, 20, 30, 0.92), rgba(7, 16, 26, 0.90)) !important;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255,255,255,0.02),
    inset 0 0 36px rgba(39, 211, 255, 0.04) !important;
  backdrop-filter: blur(14px);
}

.hero-stats .stat strong,
.hero-stats .stat b,
.hero-stats .stat h3 {
  color: #f4fbff !important;
}

.hero-stats .stat span,
.hero-stats .stat p,
.hero-stats .stat small {
  color: #9ab1c1 !important;
}

/* Liseré lumineux subtil sur chaque carte */
.hero-stats .stat::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(126,242,255,.08), transparent 30%, transparent 70%, rgba(47,135,255,.07));
  opacity: 1;
}

.hero-stats .stat::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    0 0 18px rgba(39,211,255,.06),
    inset 0 1px 0 rgba(255,255,255,.03);
}

/* Léger lift au survol */
.hero-stats .stat:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 242, 255, 0.24) !important;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(39,211,255,.08),
    inset 0 0 0 1px rgba(255,255,255,.02) !important;
}

/* Ajustements mobile */
@media (max-width: 640px) {
  body::after {
    top: 158px;
    width: 92vw;
    height: 90px;
    opacity: 0.13 !important;
  }

  .hero-stats .stat {
    backdrop-filter: blur(10px);
  }
}


/* ==========================================================
   CORRECTION V2 - BLOCS ACCUEIL + FOND EYETECH PLUS CLAIR
   ========================================================== */

/* Fond eyetech : beaucoup plus visible et plus clair / métallisé */
body::after {
  content: "";
  position: fixed !important;
  left: 50%;
  top: 148px;
  width: min(1080px, 78vw);
  height: 165px;
  transform: translateX(-50%);
  pointer-events: none;
  background-image: var(--chaine-puys-image) !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: contain !important;
  opacity: 0.30 !important;
  z-index: 0;
  filter: grayscale(1) brightness(2.05) contrast(0.92) saturate(0) drop-shadow(0 0 12px rgba(255,255,255,.12));
}

/* Sécurité : tout le contenu reste au-dessus */
.site-header,
.site-main,
.site-footer {
  position: relative;
  z-index: 2;
}

/* CORRECTION FORTE des 3 blocs accueil pour supprimer le blanc horrible */
.hero-stats,
.hero-stats .stat,
.hero .hero-stats .stat,
.home-page .hero-stats .stat {
  background: transparent !important;
}

.hero-stats .stat,
.hero .hero-stats .stat,
.home-page .hero-stats .stat {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(126, 242, 255, 0.18) !important;
  background:
    linear-gradient(145deg, rgba(8, 18, 28, 0.96), rgba(10, 20, 30, 0.92)) !important;
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255,255,255,0.02) inset,
    inset 0 0 44px rgba(39,211,255,0.04) !important;
  backdrop-filter: blur(14px);
}

.hero-stats .stat::before,
.hero .hero-stats .stat::before,
.home-page .hero-stats .stat::before {
  content: "" !important;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(126,242,255,.06), transparent 34%, transparent 66%, rgba(47,135,255,.05)),
    radial-gradient(circle at 12% 0, rgba(255,255,255,.05), transparent 36%);
  opacity: 1;
}

.hero-stats .stat::after,
.hero .hero-stats .stat::after,
.home-page .hero-stats .stat::after {
  content: "" !important;
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    0 0 18px rgba(39,211,255,.05),
    inset 0 1px 0 rgba(255,255,255,.03);
}

.hero-stats .stat strong,
.hero-stats .stat b,
.hero-stats .stat h3,
.hero-stats .stat .stat-value,
.hero .hero-stats .stat strong,
.home-page .hero-stats .stat strong {
  color: #f4fbff !important;
}

.hero-stats .stat span,
.hero-stats .stat p,
.hero-stats .stat small,
.hero-stats .stat .stat-label,
.hero .hero-stats .stat span,
.home-page .hero-stats .stat span {
  color: #9ab1c1 !important;
}

.hero-stats .stat:hover,
.hero .hero-stats .stat:hover,
.home-page .hero-stats .stat:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 242, 255, 0.28) !important;
  box-shadow:
    0 22px 42px rgba(0, 0, 0, 0.38),
    0 0 24px rgba(39,211,255,.08),
    0 0 0 1px rgba(255,255,255,0.02) inset !important;
}

/* Mobile */
@media (max-width: 640px) {
  body::after {
    top: 156px;
    width: 92vw;
    height: 96px;
    opacity: 0.22 !important;
    filter: grayscale(1) brightness(1.92) contrast(0.94) saturate(0);
  }
}
