/* ============================================================
   Vivre en Esprit — IDENTITÉ VISUELLE (feuille COMPLÉMENTAIRE)
   À charger APRÈS css/style.css. Ne surcharge que des classes
   préfixées .ve-* : aucun style existant n'est modifié.
   Palette maison : bleu profond · or du logo · violet doux.
   ============================================================ */

:root {
  /* Bleu nuit profond (fonds hero, en-têtes sombres) */
  --bleu-profond: #0d2247;
  /* Or du véritable logo rond « Jésus — Vivre en Esprit » */
  --or-logo: #d4a017;
  --or-logo-clair: #f2d879;
  --or-logo-fonce: #9a7208;
  /* Violet doux (transitions, accents) */
  --violet-doux: #8f6fc0;
}

/* ---------- Logo rond officiel ---------- */
/* Le fichier assets/logo-ve.png est le VRAI logo extrait des profils
   de Dave : ne jamais le redessiner ni le détourer. */
.ve-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  /* Ombre dorée : le logo « flotte » sur fond clair ou sombre */
  box-shadow: 0 0 0 2px var(--or-logo-clair),
              0 4px 14px rgba(212, 160, 23, 0.45);
  flex: 0 0 auto;
}

/* Version large du logo (hero, page À propos, pied de page) */
.ve-logo--grand {
  width: 120px;
  height: 120px;
  box-shadow: 0 0 0 3px var(--or-logo-clair),
              0 10px 32px rgba(212, 160, 23, 0.55);
}

/* ---------- Hero : dégradé bleu nuit → violet → doré ---------- */
.ve-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--rayon, 16px);
  padding: 3rem 2rem;
  margin: 0 0 2rem;
  text-align: center;
  color: #fff;
  background: linear-gradient(160deg,
    var(--bleu-profond) 0%,
    #1a3a7d 30%,
    #4a3d8f 55%,
    var(--violet-doux) 75%,
    var(--or-logo) 100%);
}

/* Halo doré discret en surimpression (ne masque pas le contenu) */
.ve-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 55% at 50% 110%,
    rgba(242, 216, 121, 0.35), transparent 70%);
}

.ve-hero > * {
  position: relative; /* contenu au-dessus du halo */
}

.ve-hero h1,
.ve-hero h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.ve-hero p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 34rem;
  margin: 0 auto 1.25rem;
}

/* Le logo posé sur le hero */
.ve-hero .ve-logo--grand {
  margin: 0 auto 1rem;
}

/* ---------- Accents dorés sur les titres ---------- */
/* Titre avec filet doré (dégradé or, compatible navigateurs modernes) */
.ve-titre-or {
  color: var(--or-logo-fonce);
}

/* Variante « texte doré » pour un titre posé sur fond sombre */
.ve-titre-or--sombre {
  background: linear-gradient(135deg, var(--or-logo-clair), var(--or-logo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Filet doré sous les titres de section (complète .sec-title) */
.ve-filet-or {
  display: block;
  width: 72px;
  height: 4px;
  margin: 0.6rem auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--or-logo-clair), var(--or-logo), var(--or-logo-fonce));
}

/* ---------- Boutons dorés ---------- */
.btn-dore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  color: #3a2c00;
  background: linear-gradient(135deg, var(--or-logo-clair), var(--or-logo) 60%, var(--or-logo-fonce));
  box-shadow: 0 6px 20px rgba(212, 160, 23, 0.4);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  white-space: nowrap;
}

.btn-dore:hover {
  box-shadow: 0 8px 26px rgba(212, 160, 23, 0.55);
  transform: translateY(-1px);
}

.btn-dore:active {
  transform: scale(0.97);
}

/* ---------- Carte « maison officielle » (bandeau chaîne) ---------- */
.ve-bandeau-chaine {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--rayon, 16px);
  background: linear-gradient(120deg, var(--bleu-profond), #24457f);
  color: #fff;
  border: 1px solid rgba(212, 160, 23, 0.45);
}

.ve-bandeau-chaine .ve-logo {
  width: 56px;
  height: 56px;
}

.ve-bandeau-chaine p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
}

.ve-bandeau-chaine strong {
  color: var(--or-logo-clair);
}

/* ============================================================
   MOBILE — on ne casse rien : on réduit, on n'enlève pas
   ============================================================ */
@media (max-width: 640px) {
  .ve-hero {
    padding: 2rem 1.25rem;
    border-radius: 12px;
  }

  .ve-hero h1 {
    font-size: 1.6rem;
  }

  .ve-logo--grand {
    width: 92px;
    height: 92px;
  }

  .btn-dore {
    width: 100%;
    padding: 13px 20px;
  }

  .ve-bandeau-chaine {
    flex-direction: column;
    text-align: center;
  }
}

/* Très petits écrans : le logo du header reste lisible */
@media (max-width: 380px) {
  .ve-logo {
    width: 36px;
    height: 36px;
  }
}
