/* ══════════════════════════════════════
   RAIFLECTION — hero.css
══════════════════════════════════════ */

#hero {
  position: relative;
  min-height: 400px;
  display: flex; align-items: center;
  padding: 120px 5% 20px;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 400px;
  opacity: 0.5;
  z-index: 0;
}

.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  border-radius: 20px;
  padding: 20px;
  background: linear-gradient(
    135deg,
    #1a1b2e 0%,
    #22233a 15%,
    #2a2b42 25%,
    #1e1f35 40%,
    #252640 55%,
    #1c1d32 70%,
    #2e2f4a 85%,
    #1a1b2e 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(0,0,0,0.4),
    inset 1px 0 0 rgba(255,255,255,0.04),
    0 20px 60px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.06);
  margin: 0 auto;
  margin-top: 30px;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 28px;
  padding: 6px 14px;
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 2px;
}

.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.3; transform:scale(0.6); }
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.4rem, 5vw, 5rem);
  line-height: 0.92;
  letter-spacing: 2px;
  margin-bottom: 28px;
}

.hero-title .line2 { color: var(--cyan); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--grey);
  line-height: 1.7;
  width: 100%;
  margin-bottom: 28px;
  text-align: justify;
  hyphens: auto;
  word-spacing: -1px;
}

.hero-sub strong { color: var(--white); font-weight: 500; }

.hero-btns {
  display: flex;
  gap: 12px;
  width: 100%;
}

/* Layout 2 colonnes */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  width: 100%;
}

.hero-left { display: flex; flex-direction: column; }

.hero-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-right .hero-svg-card:first-child { grid-column: 1 / -1; }

.hero-svg-card {
  background: linear-gradient(135deg, rgba(0,212,255,0.05), rgba(33,52,94,0.15));
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
}

.hero-svg-card:hover {
  border-color: rgba(0,212,255,0.5);
  background: rgba(0,212,255,0.08);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,212,255,0.1);
}

.hero-svg-card svg { width: 100%; max-width: 140px; }

.hero-svg-label {
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan);
  text-align: center;
}

/* Stats */
.hero-stats {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  justify-content: center;
}

.hero-stat {
  background: linear-gradient(135deg, rgba(0,212,255,0.06), rgba(33,52,94,0.2));
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 10px;
  padding: 20px 28px;
  text-align: center;
  flex: 1;
}

.hero-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.2rem;
  color: var(--cyan);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 6px;
}

/* ── RESPONSIVE HERO ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-btns { flex-direction: column; }
  .hero-stat-num { font-size: 2rem; }
  .hero-stat { padding: 14px 18px; }
  #hero { flex-direction: column; }
  .hero-stats { gap: 12px; }
}

@media (max-width: 560px) {
  .hero-stats { flex-wrap: wrap; gap: 10px; }
  .hero-stat { min-width: calc(50% - 6px); }
}

@media (max-width: 900px) {
  .hero-content {
    padding: 16px;
  }
}

@media (max-width: 900px) {
  #hero {
    padding-left: 3%;
    padding-right: 3%;
  }
}
