/* =========================================================
   Minelead — ambiance sombre teal/wireframe
   ========================================================= */

:root {
  --bg-black: #000000;
  --bg-dark: #050a0c;
  --teal-deep: #0a3a42;
  --teal-mid: #0e5a63;
  --teal-glow: #4fd9c8;
  --mint: #9beadf;
  --mint-bright: #b5f0e6;
  --cyan-cta: #6ee7d8;
  --cyan-cta-hover: #8ff0e3;
  --whatsapp: #25D366;
  --whatsapp-hover: #1ebe5a;

  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.78);
  --text-mute: rgba(255, 255, 255, 0.55);
  --border: rgba(255, 255, 255, 0.14);
  --border-soft: rgba(255, 255, 255, 0.08);

  --radius: 100px;
  --radius-card: 16px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ===========================================================
   NAVBAR
   =========================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
  z-index: 100;
}
.nav-container {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: #fff;
}
.logo-mark {
  width: 28px;
  height: 28px;
  color: var(--teal-glow);
  flex-shrink: 0;
}
.logo-mark svg { width: 100%; height: 100%; }

/* Bouton WhatsApp navbar */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 12px;
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: var(--radius);
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.whatsapp-btn:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: var(--whatsapp);
  transform: translateY(-1px);
}
.whatsapp-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ===========================================================
   BUTTONS
   =========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15.5px;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
}

/* CTA principal : pastille WhatsApp verte */
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}
.btn-whatsapp svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
/* Le svg WhatsApp officiel a déjà sa bulle verte ; on garde un fond blanc derrière pour cohérence */
.btn-whatsapp svg path:first-child { fill: #fff; opacity: 0.15; }

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  height: calc(100vh - 60px - 50px); /* viewport - navbar - footer */
  min-height: 580px;
  padding-top: 60px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 25%, rgba(20, 80, 78, 0.55) 0%, rgba(8, 30, 32, 0.4) 40%, transparent 70%),
    radial-gradient(ellipse 100% 70% at 50% 0%, rgba(15, 60, 60, 0.6) 0%, transparent 60%),
    linear-gradient(180deg, #04161a 0%, #050b0d 50%, #000 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 380px;
  background: radial-gradient(ellipse, rgba(155, 234, 223, 0.35) 0%, rgba(79, 217, 200, 0.15) 30%, transparent 65%);
  pointer-events: none;
  filter: blur(10px);
  animation: glowPulse 8s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.75; transform: translateX(-50%) scale(1.08); }
}

.hero-ticks {
  position: absolute;
  top: 100px;
  bottom: 80px;
  width: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  z-index: 2;
}
.hero-ticks.left { left: 12px; align-items: flex-start; }
.hero-ticks.right { right: 12px; align-items: flex-end; }
.hero-ticks span {
  position: relative;
  padding: 0 6px;
}
.hero-ticks.left span::before,
.hero-ticks.right span::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 8px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}
.hero-ticks.left span::before { right: -10px; }
.hero-ticks.right span::before { left: -10px; }

.wireframe {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 20px 28px 40px;
  text-align: center;
  z-index: 3;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 16px;
}

.title-accent {
  background: linear-gradient(135deg, #9beadf 0%, #6ee7d8 50%, #4fd9c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-style: italic;
  font-weight: 700;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  line-height: 1.55;
  color: var(--text-soft);
  margin: 0 auto 24px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

/* ===========================================================
   STATS (preuves)
   =========================================================== */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 44px);
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  backdrop-filter: blur(6px);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.stat strong {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  color: var(--mint-bright);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.stat span {
  font-size: 12px;
  color: var(--text-mute);
  text-align: center;
  max-width: 160px;
}
.stat-divider {
  width: 1px;
  height: 30px;
  background: var(--border);
}

.hero-tagline {
  font-size: 13.5px;
  color: var(--text-mute);
  margin-bottom: 22px;
}

/* ===========================================================
   LOGOS TECH
   =========================================================== */
.tech-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  flex-wrap: wrap;
  padding-top: 4px;
}

.tech-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.tech-logo:hover {
  opacity: 1;
  transform: translateY(-3px);
}
.tech-logo svg {
  width: 30px;
  height: 30px;
  display: block;
}
.tech-logo span {
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.01em;
}

/* ===========================================================
   FOOTER (copyright minimal)
   =========================================================== */
.footer {
  background: #000;
  padding: 14px 28px;
  position: relative;
  z-index: 5;
}
.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-mute);
}

/* ===========================================================
   RESPONSIVE — Tablette (≤ 1024px)
   =========================================================== */
@media (max-width: 1024px) {
  .hero-ticks { display: none; }
}

/* ===========================================================
   RESPONSIVE — Mobile (≤ 768px)
   =========================================================== */
@media (max-width: 768px) {
  .nav-container { padding: 0 20px; }
  .whatsapp-label { display: none; }
  .whatsapp-btn {
    padding: 9px;
    border-radius: 50%;
  }

  .hero { min-height: auto; padding-bottom: 40px; }
  .hero-container { padding: 50px 18px 70px; }

  .hero-actions .btn {
    font-size: 14.5px;
    padding: 13px 22px;
    width: 100%;
    max-width: 360px;
  }

  .hero-stats {
    gap: 16px;
    padding: 18px 16px;
  }
  .stat-divider { display: none; }
  .stat {
    flex: 1 1 calc(33% - 16px);
    min-width: 90px;
  }
  .stat strong { font-size: 1.3rem; }
  .stat span { font-size: 11.5px; }

  .tech-row { gap: 20px; }
  .tech-logo svg { width: 30px; height: 30px; }
  .tech-logo span { font-size: 11.5px; }
}

/* ===========================================================
   RESPONSIVE — Petit mobile (≤ 420px)
   =========================================================== */
@media (max-width: 420px) {
  .hero-title { font-size: 2.1rem; }
  .tech-row { gap: 16px; }
  .hero-stats {
    flex-direction: column;
    gap: 12px;
  }
  .stat { flex: none; width: 100%; }
}
