/* ==========================================================================
   Événement en visio (/evenement/), séance individuelle (/seance-individuelle/)
   et carte « Prochain rendez-vous » de l'accueil. Voir inc/evenement.php et inc/seances.php.
   ========================================================================== */

.yg-evt {
  --t: #B85C38;
  --t-dark: #a04e2e;
  --p: #3D2744;
  --c: #4A3F3F;
  --cream: #FFF7ED;
  --gold: #D4A843;
  --line: rgba(74, 63, 63, 0.10);
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 24px 90px;
  color: var(--c);
  font-family: 'Quicksand', sans-serif;
}

/* ── Boutons ── */
.yg-evt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--t, #B85C38); color: #fff; border: 2px solid var(--t, #B85C38);
  padding: 16px 38px; border-radius: 50px;
  font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.6px; text-decoration: none; cursor: pointer;
  box-shadow: 0 12px 30px rgba(184, 92, 56, 0.32);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.yg-evt-btn:hover { background: var(--t-dark, #a04e2e); border-color: var(--t-dark, #a04e2e); transform: translateY(-2px); }
.yg-evt-btn--ghost { background: #fff; color: var(--t, #B85C38); box-shadow: none; }
.yg-evt-btn--ghost:hover { color: #fff; }
.yg-evt-btn.is-off, .yg-evt-btn:disabled { background: #b9aeae; border-color: #b9aeae; box-shadow: none; cursor: not-allowed; transform: none; }

/* ── Haut de page : photo + infos ── */
.yg-evt-hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.yg-evt-hero__media { position: relative; }
.yg-evt-hero__media::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: 32px;
  background: linear-gradient(135deg, #F4E2C9 0%, #EBD3E3 100%); z-index: 0;
}
.yg-evt-hero__img {
  position: relative; z-index: 1; display: block; width: 100%; height: auto;
  aspect-ratio: 1 / 1; object-fit: cover; border-radius: 32px;
  box-shadow: 0 24px 60px rgba(61, 39, 68, 0.22);
}
.yg-evt-kicker {
  display: inline-block; background: var(--gold); color: var(--p);
  font-size: 0.74rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  padding: 7px 16px; border-radius: 50px; margin-bottom: 18px;
}
.yg-evt-title { font-size: clamp(1.9rem, 4vw, 2.75rem); line-height: 1.15; font-weight: 700; color: var(--p); margin-bottom: 22px; }
.yg-evt-facts { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0 0 26px; padding: 0; }
.yg-evt-facts li { font-size: 1.1rem; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.yg-evt-buy { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.yg-evt-price { font-size: 2.1rem; font-weight: 700; color: var(--t); line-height: 1; }
.yg-evt-places { background: var(--cream); border: 1px solid #F0DCC3; color: var(--p); font-weight: 700; font-size: 0.9rem; padding: 7px 14px; border-radius: 50px; }
.yg-evt-places.is-low { background: #FBE3D8; border-color: #F2C3AE; color: var(--t-dark); }

/* ── Texte de Françoise ── */
.yg-evt-text, .yg-seance-texte { font-size: 1.08rem; line-height: 1.75; }
.yg-evt-text { max-width: 740px; margin: 72px auto 0; }
.yg-seance-texte { margin-bottom: 26px; }
.yg-evt-text p, .yg-seance-texte p { margin: 0 0 16px; }
.yg-evt-text h2, .yg-evt-text h3 { color: var(--p); margin: 30px 0 12px; line-height: 1.3; }
.yg-evt-text ul, .yg-evt-text ol, .yg-seance-texte ul { margin: 0 0 18px 1.3em; }
.yg-evt-text li, .yg-seance-texte li { margin-bottom: 6px; }
.yg-evt-text a, .yg-seance-texte a { color: var(--t); font-weight: 600; }

/* ── 3 étapes ── */
.yg-evt-steps { margin: 72px auto 0; max-width: 980px; }
.yg-evt-steps ol { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0; margin: 0; }
.yg-evt-steps li {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px;
  text-align: center; font-size: 1rem; line-height: 1.5;
}
.yg-evt-steps .n, .yg-booking__h .n {
  width: 44px; height: 44px; border-radius: 50%; background: var(--t); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem;
}
.yg-evt-steps .n { margin: 0 auto 12px; }
.yg-evt-steps strong { color: var(--p); display: block; }

.yg-evt-end { text-align: center; margin-top: 56px; }

/* ── Témoignage ── */
.yg-evt-quote {
  max-width: 820px; margin: 72px auto 0; text-align: center;
  background: linear-gradient(135deg, #fff 0%, var(--cream) 100%);
  border: 1px solid var(--gold); border-radius: 24px; padding: 34px 32px;
}
.yg-evt-quote::before { content: "★★★★★"; display: block; color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; }
.yg-evt-quote p { font-style: italic; font-size: 1.05rem; line-height: 1.7; margin: 0 0 14px; }
.yg-evt-quote .who { font-weight: 700; color: var(--p); font-size: 0.92rem; }
.yg-evt-quote .who::before { content: "— "; }

/* ── Rien de prévu / bientôt ── */
.yg-evt-none { max-width: 620px; margin: 0 auto; text-align: center; padding: 30px 0 10px; }
.yg-evt-none--inline { margin-top: 64px; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 40px 28px; }
.yg-evt-none__img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto 24px; display: block; box-shadow: 0 14px 36px rgba(61, 39, 68, 0.2); }
.yg-evt-none h1, .yg-evt-none h2 { color: var(--p); font-size: clamp(1.5rem, 3.4vw, 2rem); line-height: 1.25; margin-bottom: 12px; }
.yg-evt-none p { font-size: 1.08rem; margin-bottom: 26px; }
.yg-evt-none__links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Réservation : jours puis heures ── */
.yg-booking { margin: 72px auto 0; max-width: 900px; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 38px 36px; box-shadow: 0 18px 50px rgba(61, 39, 68, 0.07); scroll-margin-top: 150px; }
.yg-booking__h { display: flex; align-items: center; gap: 12px; color: var(--p); font-size: 1.3rem; margin: 0 0 18px; }
.yg-booking__h:not(:first-of-type) { margin-top: 34px; }
.yg-booking__hint { color: #8a7d7d; margin: -6px 0 0; }
.yg-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 10px; }
.yg-dayc input, .yg-time input { position: absolute; opacity: 0; pointer-events: none; }
.yg-dayc span {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  border: 2px solid #EBDDCB; background: var(--cream); border-radius: 18px; padding: 10px 4px;
  cursor: pointer; transition: all .18s ease; user-select: none;
}
.yg-dayc small { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #8a7d7d; }
.yg-dayc b { font-size: 1.55rem; line-height: 1.1; color: var(--p); }
.yg-dayc span:hover { border-color: var(--t); }
.yg-dayc input:checked + span { background: var(--t); border-color: var(--t); box-shadow: 0 10px 24px rgba(184, 92, 56, 0.3); }
.yg-dayc input:checked + span small, .yg-dayc input:checked + span b { color: #fff; }
.yg-dayc input:focus-visible + span, .yg-time input:focus-visible + span { outline: 3px solid rgba(184, 92, 56, 0.4); outline-offset: 2px; }

.yg-times { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.yg-times + .yg-times { margin-top: 14px; }
.js .yg-times { display: none; }
.js .yg-times.is-shown { display: flex; }
.js .yg-booking__hint.is-hidden { display: none; }
.yg-time span {
  display: inline-block; min-width: 92px; text-align: center; font-weight: 700; font-size: 1.05rem;
  border: 2px solid #EBDDCB; border-radius: 50px; padding: 11px 20px; cursor: pointer; transition: all .18s ease; color: var(--p);
}
.yg-time span:hover { border-color: var(--t); }
.yg-time input:checked + span { background: var(--t); border-color: var(--t); color: #fff; }

.yg-booking__end { margin-top: 32px; padding-top: 26px; border-top: 1px dashed #E6D6C3; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.yg-booking__sum { font-size: 1.1rem; font-weight: 700; color: var(--p); margin: 0; }
.yg-booking__sum:empty { display: none; }
.yg-booking__end .yg-evt-btn { margin-left: auto; }

/* ── Accueil : carte « Prochain rendez-vous » (sous la vidéo de présentation) ── */
.yg-evt-home { padding: 30px 24px 34px; background: var(--bg, #FDF6EC); font-family: 'Quicksand', sans-serif; }
.yg-evt-home__card {
  max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  background: #fff; border-radius: 30px; overflow: hidden; color: #4A3F3F;
  box-shadow: 0 22px 56px rgba(61, 39, 68, 0.14); border: 1px solid rgba(212, 168, 67, 0.55);
}
.yg-evt-home__card.no-media { grid-template-columns: 1fr; }
.yg-evt-home__media { display: block; min-height: 100%; }
.yg-evt-home__img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; display: block; transition: transform .5s ease; }
.yg-evt-home__media:hover .yg-evt-home__img { transform: scale(1.03); }
.yg-evt-home__body { padding: 40px 42px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; background: linear-gradient(135deg, #fff 0%, #FFF7ED 100%); }
.yg-evt-home__badge { background: #D4A843; color: #3D2744; font-size: 0.72rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; padding: 6px 15px; border-radius: 50px; margin-bottom: 16px; }
.yg-evt-home__title { font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.2; color: #3D2744; font-weight: 700; margin: 0 0 12px; }
.yg-evt-home__when { font-size: 1.08rem; font-weight: 700; margin: 0 0 14px; color: #3D2744; }
.yg-evt-home__text { font-size: 1.02rem; line-height: 1.6; margin: 0 0 24px; }
.yg-evt-home__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.yg-evt-home__btn {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  background: #B85C38; color: #fff; border: 2px solid #B85C38; padding: 13px 30px; border-radius: 50px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; font-size: 0.95rem;
  box-shadow: 0 12px 30px rgba(184, 92, 56, 0.35); transition: background .2s ease, transform .2s ease;
}
.yg-evt-home__btn:hover { background: #a04e2e; border-color: #a04e2e; color: #fff; transform: translateY(-2px); }
.yg-evt-home__btn--ghost { background: transparent; color: #B85C38; box-shadow: none; }
.yg-evt-home__btn--ghost:hover { background: #FFF7ED; color: #a04e2e; }
.yg-evt-home__btn.is-off { background: #b9aeae; border-color: #b9aeae; box-shadow: none; cursor: default; transform: none; }

/* ── Téléphone ── */
@media (max-width: 860px) {
  .yg-evt { padding: 34px 18px 70px; }
  .yg-evt-hero { grid-template-columns: 1fr; gap: 40px; }
  .yg-evt-hero__media { max-width: 460px; margin: 0 auto; width: calc(100% - 22px); }
  .yg-evt-hero__info { text-align: left; }
  .yg-evt-btn { width: 100%; padding: 17px 24px; }
  .yg-evt-none__links .yg-evt-btn { width: auto; }
  .yg-evt-steps ol { grid-template-columns: 1fr; }
  .yg-evt-steps li { display: flex; align-items: center; gap: 14px; text-align: left; padding: 18px; }
  .yg-evt-steps .n { margin: 0; flex: 0 0 44px; }
  .yg-evt-steps strong { display: inline; }
  .yg-evt-text, .yg-evt-steps, .yg-evt-quote, .yg-booking { margin-top: 52px; }
  .yg-booking { padding: 26px 18px; border-radius: 22px; }
  .yg-days { grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 8px; }
  .yg-time span { min-width: 84px; }
  .yg-booking__end .yg-evt-btn { margin-left: 0; }
  .yg-evt-quote { padding: 26px 20px; }
  .yg-evt-home { padding: 18px 16px 6px; }
  .yg-evt-home__card { grid-template-columns: 1fr; }
  .yg-evt-home__img { min-height: 0; aspect-ratio: 16 / 10; }
  .yg-evt-home__body { padding: 26px 22px 30px; }
  .yg-evt-home__btns { width: 100%; }
  .yg-evt-home__btn { flex: 1 1 100%; }
}

/* ── Réservation sur la page Consultation adulte (1.10) ── */
.yg-seance--consult { padding-top: 0; padding-bottom: 70px; }
.yg-seance--consult .yg-booking { margin-top: 10px; scroll-margin-top: 150px; }
.yg-seance--consult .yg-evt-none--inline { margin-top: 10px; scroll-margin-top: 150px; }
.yg-seance-notices { padding-bottom: 0; }
.yg-seance-notices:empty { display: none; }
