/* Accueil : « La journée du cheval ». Chargé seulement par index.html. */

.hero { min-height: 100vh; min-height: 100svh; }
.hero .wrap { padding-bottom: 150px; }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 5.6rem); line-height: 1; letter-spacing: -0.045em; font-weight: 500; max-width: 13ch; }
.jour-surtitre { margin: 0 0 16px; font-size: 1rem; font-weight: 600; letter-spacing: 0.02em; color: rgba(255,255,255,.9); }
.hero .lede { max-width: 34em; }

/* Règle de 24 heures */
.jour-regle { position: absolute; left: 0; right: 0; bottom: 36px; z-index: 1; max-width: var(--content-width); margin: 0 auto; padding: 0 24px; height: 44px; color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
.jour-graduations { position: absolute; left: 24px; right: 24px; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; }
.jour-graduations span { width: 1px; height: 10px; background: rgba(255,255,255,.55); }
.jour-graduations span.h { height: 22px; background: rgba(255,255,255,.9); }
.jour-regle > span { position: absolute; bottom: 28px; }
.jour-regle > span[style*="left:0"] { left: 24px !important; }
.jour-regle > span[style*="right:0"] { right: 24px !important; }
.jour-regle > span[style*="25%"] { left: calc(24px + (100% - 48px) * .25) !important; transform: translateX(-50%); }
.jour-regle > span[style*="50%"] { left: 50% !important; transform: translateX(-50%); }
.jour-regle > span[style*="75%"] { left: calc(24px + (100% - 48px) * .75) !important; transform: translateX(-50%); }
.hero-defiler { display: none; }

/* Une heure */
.jour-heure { border-bottom: 1px solid var(--c-line); padding: 64px 0; scroll-margin-top: 60px; }
.jour-grille { display: grid; grid-template-columns: 290px minmax(0, 1fr) 340px; gap: 40px; align-items: center; }
.jour-temps { margin: 0; font-size: clamp(5.25rem, 11vw, 9.2rem); font-weight: 200; font-stretch: 75%; letter-spacing: -0.05em; line-height: .9; color: var(--c-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.jour-pastille { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--c-ink-soft); }
.jour-pastille i { width: 10px; height: 10px; border-radius: 50%; background: #c5ccc8; }
.jour-forage i { background: var(--f-forage); } .jour-friends i { background: var(--f-friends); } .jour-freedom i { background: var(--f-freedom); }
.jour-heure h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 500; margin: 12px 0 14px; }
.jour-heure h2 time { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.jour-texte p { color: var(--c-ink-soft); font-size: 1.1rem; max-width: 30em; margin: 0 0 16px; }
.jour-lien { font-weight: 600; color: var(--c-moss); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.jour-photo { display: block; }
.jour-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; }

/* Animation discrète, seulement si le JS l'a activée */
@media (prefers-reduced-motion: no-preference) {
  .jour-anim .jour-temps { opacity: .4; transition: opacity .6s ease; }
  .jour-anim .jour-heure.est-centre .jour-temps { opacity: 1; }
  .jour-anim .jour-reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .jour-anim .jour-reveal.est-vu { opacity: 1; transform: none; }
  .jour-anim .jour-photo.est-vu { transition-delay: .12s; }
}

/* Et le vôtre ? */
.jour-bilan { padding-top: 96px; padding-bottom: 32px; }
.jour-bilan h2 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 500; max-width: 16ch; }
.jour-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin: 28px 0 0; }
.jour-discret { font-weight: 600; color: var(--c-ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.jour-3f { margin: 48px 0 0; padding-top: 20px; border-top: 1px solid var(--c-line); color: var(--c-ink-soft); }
.jour-3f a { color: var(--c-moss); font-weight: 600; }

/* Fiche d'urgence, questions, bon à savoir : sobres, sans fond */
#fiche-urgence .optin-bloc { background: none; border-radius: 0; border-top: 1px solid var(--c-line); padding: 40px 0 8px; }
#fiche-urgence .optin input[type="text"], #fiche-urgence .optin input[type="email"] { border-color: #c9d1cc; }
#questions h2, #reassurance h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -0.035em; font-weight: 500; }
.questions-liste { grid-template-columns: 1fr 1fr; gap: 0 48px; margin: 24px 0 28px; }
.questions-liste li { border-top: 1px solid var(--c-line); }
.questions-liste a { background: none; border-radius: 0; padding: 16px 0; font-weight: 500; color: var(--c-ink); }
.questions-liste a:hover { background: none; color: var(--c-moss); text-decoration: underline; text-underline-offset: 4px; }
.questions-liste li:nth-last-child(-n+2) { border-bottom: 1px solid var(--c-line); }
#reassurance .reassurance { background: none; border-radius: 0; border-top: 1px solid var(--c-line); padding: 32px 0 0; max-width: 760px; }

@media (max-width: 960px) {
  .jour-grille { grid-template-columns: 1fr; gap: 20px; }
  .jour-temps { font-size: 5.25rem; }
  .jour-photo img { aspect-ratio: 16 / 10; }
  .jour-heure { padding: 44px 0; }
}
@media (max-width: 600px) {
  .questions-liste { grid-template-columns: 1fr; }
  .questions-liste li:nth-last-child(2) { border-bottom: 0; }
  .hero .wrap { padding-bottom: 130px; }
  .jour-bilan { padding-top: 64px; }
}
