/* home.css */

/* =========================
   HOME — styles spécifiques
   S'appuie sur les variables & composants globaux
   ========================= */

/* Layout de la page d'accueil (mobile-first) */
.page-home {
  display: grid;
  gap: 16px;
}

/* En-tête / hero */
.page-home .page-header {
  text-align: center;
  padding-block: 8px 0;
}
.page-home .page-header .lead {
  margin: 8px auto 0;
  max-width: 60ch;
  font-size: clamp(1.05rem, 1.1vw + 0.9rem, 1.25rem);
  color: var(--muted);
}

/* Accroche / intro (callout-like) */
.page-home .hero-quote {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-left-color: var(--accent);
  border-radius: 0px;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  text-align: center;
}
.page-home .hero-quote p {
  margin: 0;
  font-size: clamp(1rem, 0.8vw + 0.9rem, 1.15rem);
  line-height: 1.6;
}

/* Tagline finale — mise en valeur sans guillemets */
.page-home .tagline {
  margin: 8px auto 0;
  max-width: 32ch;
  line-height: 1.1;

  /* typo signature : Tangerine (préchargée), sinon cursive */
  font-family: var(--font-script, "Qwitcher Grypen", cursive);
  font-weight: 700;

  /* taille expressive et responsive */
  font-size: clamp(2.4rem, 5.2vw + 1rem, 5rem);
  letter-spacing: 0.5px;

  /* rendu premium lisible en dark & light */
  -webkit-text-stroke: 0.4px color-mix(in srgb, var(--bg) 25%, transparent);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 18px 32px rgba(0, 0, 0, 0.18);

  /* dégradé doré/gris pour rappeler la brand */
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--accent) 75%, #fff) 0%,
    color-mix(in srgb, var(--accent) 10%, var(--fg)) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  position: relative;
  text-align: center;
}
.page-home .tagline::after {
  content: "";
  display: block;
  width: 84px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.9;
}

/* Micro-ajustements responsives */
@media (min-width: 992px) {
  .page-home {
    gap: 18px;
  }
}

/* Focus local (optionnel : si tu veux un halo spécifique à la home) */
.page-home :where(a, button, summary):focus-visible,
.page-home .subcard:focus-within {
  outline: 3px solid var(--focus-outline);
  outline-offset: 2px;
}

/* Centrage + espace sous le H1 (Home) */
.page-home .page-header--center {
  text-align: center;
}
.page-home .page-header--center .lead {
  margin-top: clamp(10px, 1.4vw, 20px);
}
