/* ===== ROYALTIES ! — styles partagés ===== */
:root {
  --bg: #111111;
  --bg-top: #1c1c1c;
  --gold: #C4A564;
  --white: #ffffff;
  --muted: #8a8a8a;
  --yt-red: #FF0000;
  --font-title: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

/* ============================================================
   HERO / ACCUEIL — pleine hauteur, sans scroll
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, var(--bg-top) 0%, var(--bg) 60%);
  display: flex;
  flex-direction: column;
}

/* Conteneur portraits : transparent en desktop (les bustes restent absolus) */
.busts { display: contents; }

/* Bustes de part et d'autre, ancrés en bas */
.bust {
  position: absolute;
  bottom: 0;
  height: 92%;
  width: auto;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.bust--left  { left: 0;  /* fondu vers l'intérieur (droite) et le haut */
  -webkit-mask-image: linear-gradient(to right, #000 72%, transparent 100%),
                      linear-gradient(to top, #000 82%, transparent 100%);
  mask-image: linear-gradient(to right, #000 72%, transparent 100%),
              linear-gradient(to top, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.bust--right { right: 0;
  -webkit-mask-image: linear-gradient(to left, #000 72%, transparent 100%),
                      linear-gradient(to top, #000 82%, transparent 100%);
  mask-image: linear-gradient(to left, #000 72%, transparent 100%),
              linear-gradient(to top, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* Colonne centrale */
.hero__center {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3vh 4vw;
  gap: clamp(0.8rem, 2.2vh, 1.6rem);
}

/* Kicker "Le Podcast" — branding discret au-dessus du titre */
.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.55rem, 1.4vw, 0.95rem);
}
.eyebrow__text {
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  padding-left: 0.34em; /* recentre le tracking */
  font-size: clamp(0.58rem, 1.35vw, 0.78rem);
  color: var(--gold);
  white-space: nowrap;
}
.eyebrow__line {
  height: 1px;
  width: clamp(26px, 7vw, 54px);
  background: linear-gradient(to right, rgba(196, 165, 100, 0), var(--gold));
}
.eyebrow__line:last-child {
  background: linear-gradient(to right, var(--gold), rgba(196, 165, 100, 0));
}

.title {
  font-family: var(--font-title);
  color: var(--gold);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.01em;
  font-size: clamp(3.2rem, 13vw, 11rem);
  text-transform: uppercase;
}

.subtitle {
  font-family: var(--font-body);
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(0.75rem, 2.1vw, 1.5rem);
  max-width: 34ch;
}

/* Flèche + encadré "un épisode tous les mardis" */
.mardis {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: clamp(0.4rem, 1.5vh, 1.2rem);
}
.mardis__arrow { width: clamp(34px, 5vw, 52px); height: auto; color: var(--white); }
.mardis__box {
  border: 1.5px solid var(--white);
  padding: 0.5em 1em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(0.7rem, 1.5vw, 1rem);
}

/* Boutons plateformes (YouTube / Spotify / Apple Podcasts) */
.pod-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: clamp(0.6rem, 2vh, 1.4rem);
}
.pod-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  padding: 0.6em 1.15em;
  background: var(--white);
  color: #111;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pod-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(0,0,0,0.5); }
.pod-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.pod-btn__icon { height: 1.7em; width: auto; flex: none; display: block; }
.pod-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  text-align: left;
}
.pod-btn__action {
  font-size: clamp(0.6rem, 1.05vw, 0.72rem);
  font-weight: 600;
  color: #555;
  text-transform: none;
  letter-spacing: 0.01em;
}
.pod-btn__name {
  font-size: clamp(0.82rem, 1.5vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.01em;
}

/* Footer discret */
.hero__footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.2rem 1rem calc(1rem + env(safe-area-inset-bottom));
  font-size: 0.78rem;
  color: var(--muted);
}
.hero__footer a { color: var(--gold); text-decoration: none; }
.hero__footer a:hover { color: #e2cd94; }
.hero__footer .sep { margin: 0 0.6em; color: var(--gold); opacity: 0.5; }

/* ------- Responsive : mobile portrait ------- */
@media (max-width: 720px) {
  /* Fond uni : supprime la bande grise floutée au centre */
  .hero { background: var(--bg); }

  /* Bloc titre→boutons aligné vers le bas : titre descendu (grande marge haute),
     et boutons proches des têtes en dessous. */
  .hero__center {
    flex: 1;
    order: 1;
    min-width: 0;
    width: 100%;
    align-items: stretch;   /* blocs pleine largeur : centrage par text-align, pas de décalage */
    justify-content: flex-end;
    padding: 3.5vh 1.5vw 0.4vh;
    gap: clamp(0.35rem, 0.9vh, 0.65rem);
    overflow: hidden;
  }
  .title { font-size: clamp(3rem, 15vw, 6.6rem); line-height: 0.82; letter-spacing: -0.025em; max-width: 100%; }
  .subtitle { font-size: clamp(0.72rem, 2.9vw, 1.2rem); line-height: 1.15; max-width: 100%; margin-top: clamp(0.3rem, 1.2vh, 0.85rem); }
  .mardis { margin-top: clamp(0.15rem, 0.5vh, 0.4rem); }
  .mardis__box { font-size: clamp(0.6rem, 2.7vw, 0.95rem); letter-spacing: 0.04em; white-space: nowrap; }

  /* Les 3 boutons empilés, un peu plus petits */
  .pod-btns { flex-direction: column; align-items: center; gap: 0.5rem; width: 100%; margin-top: clamp(0.3rem, 1vh, 0.7rem); }
  .pod-btn { width: 240px; max-width: 78vw; justify-content: flex-start; padding: 0.5em 1.1em; gap: 0.55em; }
  .pod-btn__icon { height: 1.45em; }
  .pod-btn__action { font-size: 0.62rem; }
  .pod-btn__name { font-size: 0.9rem; }

  /* Portraits côte à côte (plus petits), regards vers l'extérieur (dos à dos).
     row-reverse : bust-right (regard gauche) à gauche, bust-left (regard droite) à droite. */
  .busts {
    display: flex;
    flex-direction: row-reverse;
    order: 2;
    width: 100%;
    height: 40vh;
    z-index: 0;
    pointer-events: none;
  }
  .bust {
    position: static;
    top: auto; bottom: auto; left: auto; right: auto;
    width: 50%;
    height: 100%;
    object-fit: cover;
    object-position: center 46%;   /* têtes remontées : on voit tête + épaules + buste */
    opacity: 1;
    -webkit-mask-image: linear-gradient(to top, #000 92%, transparent 100%);
    mask-image: linear-gradient(to top, #000 92%, transparent 100%);
    -webkit-mask-composite: source-over;
    mask-composite: add;
  }

  /* Footer : bande unique dédiée, tout en bas, texte doré (rappel du titre) */
  .hero__footer {
    order: 3;
    position: relative;
    z-index: 2;
    width: 100%;
    background: #0c0c0c;
    border-top: 1px solid rgba(196, 165, 100, 0.35);
    font-size: clamp(0.54rem, 2.7vw, 0.66rem);
    padding: 0.8rem 0.6rem calc(0.8rem + env(safe-area-inset-bottom));
  }
  .hero__footer .sep { margin: 0 0.3em; }
}

/* Téléphones ≥ 385px (iPhone 12+/Pro Max, etc.) : titre/sous-titre plus grands */
@media (min-width: 385px) and (max-width: 720px) {
  .title { font-size: clamp(3rem, 16.5vw, 6.6rem); }
  .subtitle { font-size: clamp(0.9rem, 3.4vw, 1.25rem); }
}
/* Grands téléphones (Pro Max / Plus, ≥ 420px) : titre encore plus grand */
@media (min-width: 420px) and (max-width: 720px) {
  .title { font-size: clamp(3rem, 18.5vw, 7rem); }
}

/* ============================================================
   PAGES LÉGALES
   ============================================================ */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2.5rem, 8vh, 5rem) 1.5rem 4rem;
  line-height: 1.65;
}
.legal__brand {
  font-family: var(--font-title);
  color: var(--gold);
  text-transform: uppercase;
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 2rem;
}
.legal h1 {
  font-family: var(--font-title);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  letter-spacing: 0.01em;
  margin-bottom: 1.5rem;
}
.legal h2 {
  font-family: var(--font-body);
  color: var(--gold);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 2rem 0 0.6rem;
}
.legal p, .legal li { color: #dcdcdc; font-size: 0.98rem; }
.legal ul { padding-left: 1.2rem; margin: 0.4rem 0; }
.legal a.inline { color: var(--gold); }
.legal .todo {
  color: #111; background: var(--gold); padding: 0 0.4em; border-radius: 3px;
  font-weight: 700; font-size: 0.85em;
}
.legal__back {
  display: inline-block;
  margin-top: 2.5rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.legal__back:hover { color: var(--white); }
.legal__updated { color: var(--muted); font-size: 0.85rem; margin-top: 2rem; }

/* ------- Formulaire de contact ------- */
.form { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.form__row { display: flex; flex-direction: column; gap: 0.4rem; }
.form__label { font-weight: 700; font-size: 0.92rem; color: #eaeaea; letter-spacing: 0.02em; }
.form__opt { color: var(--muted); font-weight: 600; }
.form__input {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--white);
  background: #1a1a1a;
  border: 1.5px solid #333;
  border-radius: 10px;
  padding: 0.75em 0.9em;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form__input::placeholder { color: #6a6a6a; }
.form__input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 165, 100, 0.2);
}
textarea.form__input { resize: vertical; min-height: 120px; }

/* Honeypot : masqué aux humains */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form__submit {
  align-self: flex-start;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  color: #111;
  background: var(--gold);
  border: none;
  border-radius: 999px;
  padding: 0.8em 1.8em;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.form__submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.5); }
.form__submit:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.form__submit:disabled { opacity: 0.5; cursor: default; transform: none; box-shadow: none; }

.form__status { font-size: 0.95rem; margin-top: 0.2rem; min-height: 1.2em; }
.form__status--success { color: #7bd88f; }
.form__status--error { color: #ff8a8a; }
