/* ════════════════════════════════════════════
   HERO HOME (style = home)
   Page d'accueil uniquement — grid 2 colonnes
════════════════════════════════════════════ */

.block-page-title-block {
  display: none;
}

.home-hero {
  display: flex;
  justify-content: space-around;
  background: var(--color-white);
  border-bottom: 1px solid var(--border-subtle);
  align-items: center;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.home-hero > .site-inner {
  padding: 72px 0 64px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 7vw;
  align-items: center;
}

.home-hero-left {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  width: 60%;
}

.home-hero-hero_eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.home-hero-hero_eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--brand-accent);
  display: inline-block;
}

.home-hero-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1.08;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.home-hero-title em {
  font-style: normal;
  color: var(--brand-accent);
}

.home-hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 36px;
}

/* ── Carte stats (colonne droite) ── */

.home-hero-card {
  background: var(--surface-default);
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  padding: 28px;
}

.home-hero-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.home-stat-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-stat-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-white);
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border-subtle);
}

.home-stat-icon {
  color: var(--brand-accent);
  padding: 8px;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--color-gray-100); /* était #edf2f8 — même valeur */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.home-stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

.home-stat-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-primary);
}
.home-hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}

/* ════════════════════════════════════════════
   HERO USER (style = user / velo-detail / pages génériques)
   Fond blanc, compact, CTA à droite
════════════════════════════════════════════ */

.page-hero {
  background: var(--color-white);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 12px var(--border-subtle);
}

.page-hero .site-inner {
  padding: 52px 0 44px;
}

/* Flex row : texte gauche + CTA droite */
.page-hero-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.page-hero-inner {
  max-width: 680px;
}

.page-hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--brand-accent);
}

.page-hero-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1.1;
  margin-bottom: 12px;
}
.page-hero-title em {
  font-style: normal;
  color: var(--brand-accent);
}

.page-hero-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.page-hero-cta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.page-hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-accent);
  color: var(--brand-primary);
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s,
    transform 0.15s;
}
.page-hero-cta-btn:hover {
  background: var(--color-gold-400);
  transform: translateY(-1px);
}

/* ════════════════════════════════════════════
   HERO ADMIN (style = admin)
   Gradient bleu foncé, icône dorée + texte blanc
════════════════════════════════════════════ */

.admin-page-hero {
  background: linear-gradient(
    135deg,
    var(--admin-hero-dark) 0%,
    var(--brand-primary) 100%
  );
}

.admin-page-hero .site-inner {
  padding: 36px 0 32px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.admin-hero-icon {
  width: 56px;
  height: 56px;
  background: var(--brand-accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  color: var(--brand-primary);
}

.admin-hero-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-inverse);
  margin-bottom: 4px;
}

.admin-hero-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.admin-badge-hero {
  display: inline-block;
  background: rgba(245, 166, 35, 0.2);
  border: 1px solid rgba(245, 166, 35, 0.4);
  color: var(--brand-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 10px;
  margin-top: 8px;
}

/* ════════════════════════════════════════════
   HERO COMPTE (style = compte)
   Fond blanc, avatar initiales + nom + badge
════════════════════════════════════════════ */

.account-hero {
  background: #f7f7f7;
  border-bottom: 1px solid #dbe3ee;
  padding: 40px 0;
}

.account-inner {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.account-hero .account-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.account-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #003f78;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 32px;
  font-weight: 700;

  border: 4px solid #dbe3ee;
}

.account-hero h1 {
  margin: 0;
  font-size: 42px;
  font-weight: 700;
  color: #003f78;
}

.account-hero p {
  margin: 8px 0;
  color: #6f7f95;
  font-size: 15px;
}
