/* ═══════════════════════════════════════════
   AUXÉO AGENCY — BASE STYLES
   Dépend de : auxeo-tokens.css (chargé en premier dans header.php)
   ▸ Reset, layout utils, typo utils, hero, stats
═══════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--blanc);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
/* Halo radial de fond — spec DS preview/shared.css ::before
   Halo accent en haut-droite + halo CTA/profond en bas-gauche.
   Pivote selon le thème via --bg-halo. */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background: var(--bg-halo);
}
body > * { position: relative; z-index: 1; }
a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

/* ── LAYOUT UTILS ── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ── TYPOGRAPHIE UTILS — alignée DS (--text-*, --type-label, --type-body) ── */
.section-tag {
  font-family: var(--font-display);
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
  display: block; margin-bottom: 0.9rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-3xl));
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.15;
  color: var(--fg-primary); margin-bottom: 1.25rem;
}
.section-body {
  font-family: var(--font-body);
  font-size: var(--text-md); color: var(--fg-secondary);
  font-weight: 400; line-height: 1.6; max-width: 580px;
  margin-bottom: 1.1rem;
}
.section-body:last-child { margin-bottom: 0; }

/* ── HERO BASE ── */
.hero {
  min-height: 100svh; display: flex; align-items: center;
  padding-top: 68px; position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: var(--hero-grad), var(--bg);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 1;
  padding: 5rem 2rem 4rem;
  max-width: 1200px; margin: 0 auto; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(0,212,232,0.08);
  border: 1px solid rgba(0,212,232,0.2);
  border-radius: 100px; padding: 0.35rem 1rem;
  font-size: 0.78rem; color: var(--accent); font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 2rem;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4.5vw, var(--text-4xl));
  font-weight: 700; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--fg-primary); margin-bottom: 1.5rem; max-width: 580px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-family: var(--font-body);
  font-size: var(--text-md); font-weight: 400;
  color: var(--fg-secondary); line-height: 1.6;
  max-width: 520px; margin-bottom: 2.75rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.78rem; color: var(--slate); font-weight: 300;
  letter-spacing: 0.05em; margin-top: 4rem;
}
.hero-scroll-line {
  width: 40px; height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

/* ── STATS BAND ── */
.stats-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.stats-inner {
  display: grid; grid-template-columns: repeat(3,1fr);
  max-width: 1200px; margin: 0 auto;
}
.stat {
  padding: 3rem 2rem; text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
  font-weight: 700; color: var(--accent);
  letter-spacing: -0.02em; display: block; margin-bottom: 0.5rem;
}
.stat-label { font-family: var(--font-body); font-size: var(--text-sm); color: var(--fg-secondary); font-weight: 400; line-height: 1.5; }

/* ── HERO SPLIT (home) ── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* ── HERO VISUAL — dashboard mockup ── */
.hero-visual {
  position: relative;
  padding-bottom: 2.5rem;
}
.hv-dashboard {
  background: rgba(26,15,79,0.55);
  border: 1px solid rgba(0,212,232,0.18);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.hv-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem 1.25rem;
  border-bottom: 1px solid rgba(0,212,232,0.1);
  background: rgba(0,0,0,0.25);
}
.hv-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.hv-title {
  font-size: 0.7rem;
  color: rgba(244,247,255,0.4);
  margin-left: 0.4rem;
  font-family: var(--font-title);
}
.hv-metrics {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(0,212,232,0.08);
  gap: 0;
}
.hv-metric {
  text-align: center;
  padding: 0 0.75rem;
  border-right: 1px solid rgba(0,212,232,0.08);
}
.hv-metric:last-child { border-right: none; }
.hv-metric-val {
  font-family: var(--font-title);
  font-size: 1.45rem;
  font-weight: 700;
  color: #F4F7FF;
  letter-spacing: -0.03em;
  line-height: 1;
}
.hv-metric-label {
  font-size: 0.68rem;
  color: rgba(244,247,255,0.45);
  margin: 0.25rem 0 0.4rem;
}
.hv-metric-badge {
  display: inline-block;
  background: rgba(0,212,232,0.12);
  color: #00D4E8;
  font-size: 0.63rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
}
.hv-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  padding: 1.25rem 1.25rem 0.75rem;
  height: 80px;
}
.hv-bar {
  flex: 1;
  height: var(--h);
  background: rgba(61,31,191,0.35);
  border-radius: 3px 3px 0 0;
}
.hv-bar--active {
  background: linear-gradient(180deg, #00D4E8 0%, rgba(61,31,191,0.9) 100%);
}
.hv-active {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.25rem;
  font-size: 0.72rem;
  color: rgba(244,247,255,0.55);
  border-top: 1px solid rgba(0,212,232,0.08);
  font-family: var(--font-title);
}
.hv-active-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #00D4E8;
  animation: blink 2s infinite;
  flex-shrink: 0;
}
.hv-float-card {
  position: absolute;
  bottom: 0; left: -1.5rem;
  background: #3D1FBF;
  border: 1px solid rgba(0,212,232,0.3);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 190px;
}
.hv-float-icon {
  font-size: 1.2rem;
  font-weight: 700;
  color: #00D4E8;
}
.hv-float-val {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: #F4F7FF;
  line-height: 1;
}
.hv-float-sub {
  font-size: 0.68rem;
  color: rgba(244,247,255,0.6);
  margin-top: 0.2rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); padding: 2rem; }
  .stat:last-child { border-bottom: none; }
}
@media (max-width: 560px) {
  .hero-content { padding: 4rem 1.25rem 3rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { text-align: center; }
  .hero-scroll { display: none; }
  .section-title { font-size: 1.75rem; }
}

/* gradient `<em>` supprimé — DS dit "type + geometry led, no photographic backgrounds".
   Couleur accent solide via .hero h1 em / .service-hero-content h1 em. */
