/*
 * ═══════════════════════════════════════════════════════════
 * BIZME.FR — HERO PREMIUM Maestro v2.0 — 2026-05-13
 * ═══════════════════════════════════════════════════════════
 */

/* ── Fond hero : grain + glows ── */
.hero-section {
  background: linear-gradient(135deg, #060D2A 0%, #0D1F6B 50%, #1B2A8E 100%) !important;
  padding: 110px 0 80px !important;
  min-height: 85vh !important;  /* balanced: premium feel without overscroll */
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
}

/* Grain de texture subtil */
.hero-bg-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Glows colorés */
.hero-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 75% 45%, rgba(201,168,76,.12) 0%, transparent 65%),
    radial-gradient(ellipse 45% 55% at 15% 75%, rgba(37,99,235,.20) 0%, transparent 60%),
    radial-gradient(ellipse 35% 40% at 85% 10%, rgba(27,42,142,.30) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.hero-section .container { position: relative; z-index: 1; }

/* ── Badge live ── */
.hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: rgba(255,255,255,.8);
  font-weight: 500;
  backdrop-filter: blur(8px);
}
.hero-live-dot {
  width: 7px;
  height: 7px;
  background: #4ADE80;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulseLive 2s ease-in-out infinite;
  box-shadow: 0 0 6px #4ADE80;
}
@keyframes pulseLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

/* ── Headline principale ── */
.hero-headline {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.04em !important;
  color: #FFFFFF !important;
  margin-bottom: 1rem !important;
}
.hero-headline-accent {
  background: linear-gradient(135deg, #C9A84C 0%, #F0CC6E 50%, #C9A84C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmerGold 3s linear infinite;
}
@keyframes shimmerGold {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ── Sous-titre ── */
.hero-sub {
  font-size: 1.05rem !important;
  color: rgba(255,255,255,.65) !important;
  line-height: 1.6 !important;
  max-width: 480px !important;
}

/* ── Zone CTA ── */
.hero-cta-zone {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #C9A84C, #A8893A);
  color: #1B1B1B !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  box-shadow: 0 6px 24px rgba(201,168,76,.35);
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(201,168,76,.50);
  color: #1B1B1B !important;
}
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.08);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 50px;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.45);
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

/* ── Hint Google ── */
.hero-google-hint {
  font-size: 0.78rem;
  color: rgba(255,255,255,.45);
}

/* ── Stats row ── */
.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat-number {
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   PANEL MATCHING IA (colonne droite)
   ══════════════════════════════════════════════*/
.hero-matching-panel {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 24px 60px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.10);
  width: 100%;
  max-width: 480px;
  animation: floatPanel 6s ease-in-out infinite;
}
@keyframes floatPanel {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* Header panel */
.hmp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.hmp-ai-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(37,99,235,.20);
  border: 1px solid rgba(37,99,235,.35);
  border-radius: 50px;
  padding: 5px 12px;
  font-size: 0.78rem;
  color: #93C5FD;
  font-weight: 600;
  position: relative;
}
.hmp-ai-pulse {
  width: 6px;
  height: 6px;
  background: #60A5FA;
  border-radius: 50%;
  animation: pulseLive 1.5s ease-in-out infinite;
}
.hmp-live {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #4ADE80;
  background: rgba(74,222,128,.12);
  border: 1px solid rgba(74,222,128,.25);
  border-radius: 4px;
  padding: 3px 7px;
}

/* Mission brief */
.hmp-mission {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 16px;
}
.hmp-mission-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #C9A84C;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.hmp-mission-title {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}
.hmp-mission-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: rgba(255,255,255,.55);
}

/* Matches */
.hmp-matches {
  margin-bottom: 18px;
}
.hmp-match-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 10px;
}
.hmp-match-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  margin-bottom: 8px;
  transition: all 0.2s ease;
}
.hmp-match-top {
  border-color: rgba(201,168,76,.30) !important;
  background: rgba(201,168,76,.06) !important;
}
.hmp-match-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}
.hmp-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.hmp-avatar-1 { background: linear-gradient(135deg, #6366F1, #8B5CF6); color: #FFF; }
.hmp-avatar-2 { background: linear-gradient(135deg, #0EA5E9, #2563EB); color: #FFF; }
.hmp-avatar-3 { background: linear-gradient(135deg, #10B981, #059669); color: #FFF; }
.hmp-info { flex: 1; min-width: 0; }
.hmp-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 5px;
}
.hmp-badge-verified {
  background: #10B981;
  color: #FFF;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  font-size: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hmp-skills {
  font-size: 0.72rem;
  color: rgba(255,255,255,.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hmp-score {
  flex-shrink: 0;
}
.hmp-score-ring {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: conic-gradient(
    #C9A84C calc(var(--score) * 1%),
    rgba(255,255,255,.10) 0
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 0.65rem;
  font-weight: 700;
  color: #C9A84C;
}
.hmp-score-ring::before {
  content: '';
  position: absolute;
  inset: 5px;
  background: #0D1F6B;
  border-radius: 50%;
}
.hmp-score-ring span {
  position: relative;
  z-index: 1;
}

/* Footer panel */
.hmp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  flex-wrap: wrap;
}
.hmp-footer-stat {
  font-size: 0.8rem;  color: rgba(255,255,255,.65);
}
.hmp-cta-btn {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #C9A84C, #A8893A);
  color: #1B1B1B !important;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.hmp-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(201,168,76,.40);
  color: #1B1B1B !important;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .hero-section { padding: 90px 0 60px !important; min-height: auto !important; }
  .hero-headline { font-size: 2rem !important; }
  .hero-matching-panel { max-width: 100%; margin-top: 32px; }
}
@media (max-width: 767px) {
  .hero-headline { font-size: 1.75rem !important; }
  .hero-stats-row { gap: 14px; }
  .hero-stat-number { font-size: 1.1rem; }
  .hero-cta-zone { flex-direction: column; align-items: stretch; }
  .btn-hero-primary, .btn-hero-secondary { text-align: center; justify-content: center; }
}

/* ═══════════════════════════════════════
/* ═══════════════════════════════════════════════════════════
   PATCH MAX — 2026-06-04
   Hero AI Matching — Carousel missions + Arc visuel
   Additive block : ne modifie pas l'existant
   ═══════════════════════════════════════════════════════════ */

/* ── Carousel missions (3 slides en rotation) ── */
.hmp-mission-carousel {
  position: relative;
  margin-bottom: 18px;
  min-height: 132px;
}
.hmp-mission-slide {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 16px 18px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}
.hmp-mission-slide.hmp-mission-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.hmp-carousel-dots {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}
.hmp-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.20);
  transition: all 0.3s ease;
}
.hmp-dot.hmp-dot-active {
  width: 16px;
  border-radius: 4px;
  background: #C9A84C;
}

/* ── Arc visuel IA (mission → profils) ── */
.hmp-arc {
  position: relative;
  height: 36px;
  margin: 4px 0 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hmp-arc-svg {
  width: 70%;
  max-width: 240px;
  height: 100%;
  display: block;
  overflow: visible;
}
.hmp-arc-pulse {
  position: absolute;
  top: 50%;
  left: 15%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #C9A84C;
  box-shadow: 0 0 10px #C9A84C, 0 0 18px rgba(201,168,76,.5);
  transform: translateY(-50%);
  opacity: 0;
}
.hmp-arc-pulse-1 { animation: hmp-arc-travel 3.6s ease-in-out infinite; }
.hmp-arc-pulse-2 { animation: hmp-arc-travel 3.6s ease-in-out infinite 1.2s; }
.hmp-arc-pulse-3 { animation: hmp-arc-travel 3.6s ease-in-out infinite 2.4s; }
@keyframes hmp-arc-travel {
  0%   { left: 15%; opacity: 0; }
  10%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { left: 85%; opacity: 0; }
}

/* ── Responsive (mobile) ── */
@media (max-width: 575px) {
  .hmp-mission-carousel { min-height: 148px; }
  .hmp-arc { height: 28px; }
}

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  .hmp-mission-slide { transition: none; }
  .hmp-arc-pulse { animation: none; opacity: 0.6; left: 50%; }
}
   FIN HERO PREMIUM v2.0
   ✅ Headline courte + accent or animé
   ✅ Panel matching glassmorphism
   ✅ Score rings CSS purs
   ✅ Badge live pulsant
   ✅ Stats row épurée
   ✅ Bouton or primaire / outline secondaire
   ═══════════════════════════════════════*/
