/* ============================================================
   KARUWEB — Page À propos
   SECTION 1 : HERO
   Fichier : section-01-hero.css
   ============================================================ */

.kw-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(ellipse at 50% 0%,   #3D0A50 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, #3D0A50 0%, transparent 60%),
    #0A0118;
}

.kw-hero__top-line,
.kw-hero__bottom-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 0.5px;
  background: linear-gradient(90deg, transparent 0%, #3A2D52 20%, #FF7FC2 50%, #3A2D52 80%, transparent 100%);
  opacity: 0.5;
}
.kw-hero__top-line    { top: 0; }
.kw-hero__bottom-line { bottom: 0; }

.kw-hero__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 13rem 40px 100px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: center;
}

/* ── Pill URL ── */
.kw-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-family: 'Courier New', monospace;
  color: #6B6080;
  background: rgba(255, 255, 255, 0.03);
  border: 0.5px solid #3A2D52;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 30px;
  letter-spacing: 0.04em;
  animation: kwFadeUp 0.5s ease both;
  animation-delay: 0.05s;
}
.kw-hero__pill i { font-size: 12px; }
.kw-hero__pill-sep { color: #3A2D52; margin: 0 2px; }
.kw-hero__pill-current { color: #FF7FC2; }

/* ── H1 ── */
.kw-hero__h1 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 26px;
  animation: kwFadeUp 0.55s ease both;
  animation-delay: 0.15s;
}
.kw-hero__h1-accent {
  color: #FF7FC2;
  text-shadow: 0 0 20px rgba(255, 127, 194, 0.35), 0 0 60px rgba(255, 127, 194, 0.15);
  position: relative;
}
.kw-hero__h1-accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #FF7FC2, transparent);
  border-radius: 2px;
  opacity: 0.5;
}

/* ── Lead ── */
.kw-hero__lead {
  font-size: 0.97rem;
  color: #ECE9F2;
  line-height: 1.85;
  max-width: 580px;
  margin-bottom: 32px;
  animation: kwFadeUp 0.55s ease both;
  animation-delay: 0.25s;
}
.kw-hero__lead strong {
  color: #FFFFFF;
  font-weight: 600;
}

/* ── Tags ── */
.kw-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  animation: kwFadeUp 0.55s ease both;
  animation-delay: 0.35s;
}
.kw-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 5px 14px;
  border-radius: 30px;
  border: 0.5px solid #3A2D52;
  color: #ECE9F2;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s, color 0.2s;
}
.kw-hero__tag:hover {
  border-color: rgba(255, 127, 194, 0.25);
  color: #FFFFFF;
}
.kw-hero__tag--rose {
  border-color: rgba(255, 127, 194, 0.25);
  color: #FF7FC2;
  background: rgba(255, 127, 194, 0.10);
}
.kw-hero__tag--rose i { font-size: 12px; }
.kw-hero__tag--rose:hover {
  background: rgba(255, 127, 194, 0.18);
  color: #FF7FC2;
}

/* ── CTA Row ── */
.kw-hero__cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: kwFadeUp 0.55s ease both;
  animation-delay: 0.45s;
}

.kw-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 30px;
  border: 0.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.kw-hero__btn--primary {
  background: #FF7FC2;
  color: #0A0118;
  border-color: #FF7FC2;
  box-shadow: 0 0 28px rgba(255, 127, 194, 0.2);
}
.kw-hero__btn--primary:hover {
  background: transparent;
  color: #FF7FC2;
  box-shadow: 0 0 36px rgba(255, 127, 194, 0.35);
}
.kw-hero__btn--ghost {
  background: transparent;
  color: #ECE9F2;
  border-color: #3A2D52;
}
.kw-hero__btn--ghost:hover {
  color: #FFFFFF;
  border-color: #ECE9F2;
  background: rgba(255, 255, 255, 0.04);
}
.kw-hero__btn i { font-size: 16px; transition: transform 0.2s; }
.kw-hero__btn--ghost:hover i { transform: translateX(4px); }

/* ── Aside — Carte stats ── */
.kw-hero__aside {
  animation: kwFadeUp 0.6s ease both;
  animation-delay: 0.3s;
}
.kw-hero__card {
  position: relative;
  background: #13082A;
  border: 0.5px solid #3A2D52;
  border-radius: 22px;
  padding: 36px;
  overflow: hidden;
}
.kw-hero__card-glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #FF7FC2, transparent);
}
.kw-hero__card::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 120px;
  background: radial-gradient(ellipse, rgba(255, 127, 194, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.kw-hero__card-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FF7FC2;
  margin-bottom: 24px;
}

.kw-hero__stats { display: flex; flex-direction: column; }
.kw-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 18px 0;
  border-bottom: 0.5px solid #241A30;
}
.kw-hero__stat:last-child { border-bottom: none; }
.kw-hero__stat-num {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #FF7FC2;
  line-height: 1;
  text-shadow: 0 0 20px rgba(255, 127, 194, 0.25);
}
.kw-hero__stat-desc {
  font-size: 0.78rem;
  color: #ECE9F2;
}

.kw-hero__card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 0.5px solid #241A30;
  font-size: 0.75rem;
  color: #ECE9F2;
}
.kw-hero__card-footer i {
  font-size: 15px;
  color: #FF7FC2;
  opacity: 0.7;
}

/* ── Animations ── */
@keyframes kwFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Tablette ── */
@media (max-width: 1024px) {
  .kw-hero__container {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 70px 28px 80px;
  }
  .kw-hero__h1 { font-size: 2.2rem; }
  .kw-hero__aside { max-width: 480px; }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .kw-hero__container { padding: 56px 20px 64px; gap: 40px; }
  .kw-hero__h1 { font-size: 1.85rem; letter-spacing: -0.025em; }
  .kw-hero__lead { font-size: 0.9rem; }
  .kw-hero__cta-row { flex-direction: column; align-items: stretch; }
  .kw-hero__btn { justify-content: center; }
  .kw-hero__card { padding: 28px 24px; }
  .kw-hero__stat-num { font-size: 1.4rem; }
  .kw-hero__aside { max-width: 100%; }
}