/* Bloc hero — voir nafabeat-spec/algos/IHM/page_acceuil/IHM_PAGE_ACCUEIL_HERO_algo.md
   (statut : design validé en session) et mockups/hero_mockup.html (source de vérité). */

#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 190px 48px 90px;
  position: relative; overflow: hidden;
}
.hero-texture {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(226,168,50,0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226,168,50,0.09) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 0%, transparent 75%);
}
.hero-glow {
  position: absolute; width: 880px; height: 880px;
  background: radial-gradient(ellipse, rgba(202,138,4,0.17) 0%, transparent 65%);
  top: calc(24% - 440px); left: calc(62% - 440px);
}

.hero-grid {
  position: relative; z-index: 2;
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: flex-start; justify-content: center;
  gap: 52px; width: 100%;
}
.hero-copy, .hero-visual { padding-top: 6px; }
.hero-copy { max-width: 620px; flex: 0 1 620px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(202,138,4,0.12); border: 1px solid rgba(202,138,4,0.4);
  border-radius: 3px; padding: 7px 16px; font-size: 12px; color: var(--gold-light);
  margin-bottom: 38px; animation: fadeUp 0.8s ease both;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; }

.hero-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(34px, 3.8vw, 58px); line-height: 1.22; letter-spacing: -0.4px;
  color: var(--text-cream); margin-bottom: 30px;
  animation: fadeUp 0.8s 0.1s ease both;
}
.hero-title .accent { color: var(--gold); font-style: italic; }

.hero-sub {
  font-size: 16.5px; color: var(--text-sec-dark); line-height: 1.75;
  max-width: 520px; margin-bottom: 46px;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-ctas {
  display: flex; flex-direction: column; align-items: center;
  width: fit-content; gap: 16px;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-ctas-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold); color: var(--marine); border: none; border-radius: 4px;
  padding: 15px 28px; font-size: 14px; font-weight: 700; cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover { background: var(--gold-light); }
.btn-primary:active { transform: scale(0.97); }
.btn-ghost {
  background: transparent; color: var(--text-cream); border: 1px solid rgba(248,244,239,0.26);
  border-radius: 4px; padding: 15px 28px; font-size: 14px; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--gold-light); background: rgba(226,168,50,0.06); }
.btn-link {
  background: none; border: none; color: var(--text-sec-dark); font-size: 13px;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; transition: color 0.2s;
}
.btn-link:hover { color: var(--gold-light); }

.hero-stats {
  display: flex; gap: 20px;
  margin-top: 52px; padding-top: 32px; border-top: 1px solid var(--border-dark);
  animation: fadeUp 0.8s 0.4s ease both;
}
.hero-stats > div { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1 1 0; min-width: 0; }
.hero-stat-num {
  font-family: var(--font-display); font-size: 28px; color: var(--text-cream);
  display: block; margin-bottom: 6px; font-variant-numeric: tabular-nums;
}
.hero-stat-num.gold { color: var(--gold-light); }
.hero-stat-label { font-size: 11.5px; color: var(--text-sec-dark); line-height: 1.5; max-width: 100%; }
.chan-icons {
  display: inline-flex; gap: 5px; vertical-align: middle;
  background: rgba(202,138,4,0.14); border: 1px solid rgba(202,138,4,0.35);
  border-radius: 999px; padding: 3px 7px;
}
.chan-icon { width: 12px; height: 12px; color: var(--gold-light); vertical-align: -2px; }
.label-muted { color: var(--text-sec-dark); }
.label-strong { color: var(--gold-light); font-weight: 700; }

.hero-visual { flex: 0 0 auto; animation: fadeUp 0.9s 0.35s ease both; }
.visual-stack { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.phone-wrap { position: relative; margin-top: 24px; }

.wa-notif {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 262px; z-index: 3;
  background: rgba(255,255,255,0.98); border-radius: 13px;
  padding: 10px 12px; display: flex; gap: 9px; align-items: flex-start;
  box-shadow: 0 16px 30px -12px rgba(0,0,0,0.5);
}
.wa-notif-icon {
  width: 25px; height: 25px; border-radius: 7px; flex-shrink: 0;
  background: var(--wa-green);
  display: flex; align-items: center; justify-content: center;
}
.wa-notif-body { min-width: 0; flex: 1; }
.wa-notif-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.wa-notif-name {
  font-size: 11.5px; font-weight: 700; color: #111B21; font-family: var(--pp-font);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wa-notif-time { font-size: 9px; color: #94A3B8; font-family: var(--pp-font); flex-shrink: 0; }
.wa-notif-text {
  font-size: 11px; color: #475569; font-family: var(--pp-font); line-height: 1.4; margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* .phone-device/.pp-* — extraits dans assets/css/phone-prestige.css le 2026-08-31
   (composant partagé avec #prestige, voir IHM_PAGE_ACCUEIL_PAGE_PRESTIGE_algo.md).
   margin-top:24px (avant sur .phone-device, faisait de la place pour .wa-notif ci-dessus)
   reste propre au hero — porté par .phone-wrap ci-dessus, pas par le composant partagé. */

.phone-caption {
  text-align: center; font-size: 11px; color: var(--text-tert);
  letter-spacing: 0.2px; max-width: 280px;
}

@media (max-width: 1180px) {
  .hero-glow { top: calc(0% - 300px); left: 50%; margin-left: -440px; }
  .hero-grid { flex-direction: column; align-items: center; justify-content: center; gap: 48px; }
  .hero-copy { width: 100%; max-width: 560px; flex-basis: auto; }
  .hero-ctas { margin: 0 auto; }
  .hero-visual { max-width: 100%; }
}
@media (max-width: 460px) {
  #hero { padding: 118px 20px 60px; }
  .hero-ctas-row { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { text-align: center; }
  .wa-notif { width: min(262px, 76vw); }
  .hero-stats { gap: 12px; }
  .hero-stat-num { font-size: 21px; }
  .hero-stat-label { font-size: 10.5px; }
}
