@font-face {
  font-family: 'Brown-Thin';
  src: url('assets/brown-thin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Reset + héritage de la police (les <button> n'héritent pas par défaut) */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-family: 'Brown-Thin', Georgia, serif; scroll-behavior: smooth; }
button { font-family: inherit; }

body {
  font-size: 14px;
  background: #FDFBF9;
  color: #252121;
  overflow-x: hidden;
}

/* Utilitaires d'accessibilité */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -48px; z-index: 200;
  background: #252121; color: #FDFBF9; padding: 10px 16px; text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 8px; }

/* Header */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 40px 48px;
  background: #FDFBF9;
}
.logo { text-decoration: none; color: inherit; }
.logo-text { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.burger {
  display: flex; flex-direction: column; justify-content: center;
  gap: 6px; cursor: pointer; width: 32px; height: 32px;
  background: none; border: none; padding: 0; flex-shrink: 0;
}
.burger span {
  display: block; width: 24px; height: 1px; background: #252121;
  transition: all 0.3s ease; transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu plein écran */
.menu-overlay {
  position: fixed; inset: 0; z-index: 90; background: #FDFBF9;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2.5rem; opacity: 0; pointer-events: none; transition: opacity 0.15s ease;
}
.menu-overlay.open { opacity: 1; pointer-events: all; }
.menu-overlay a {
  font-size: 12px; color: #252121; text-decoration: none;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.menu-overlay a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Accueil / Hero */
#accueil {
  position: relative; display: flex; align-items: flex-end; justify-content: flex-start;
  overflow: hidden; min-height: 100vh;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: rgba(37,33,33,0.42); z-index: 1; }
.hero-content {
  position: relative; z-index: 2; text-align: left; color: #FDFBF9;
  padding: 2rem 2rem clamp(4rem, 10vh, 8rem) 48px;
  max-width: 1200px; width: 100%;
}
.hero-title { font-size: clamp(0.9rem, 1.5vw, 1.5rem); line-height: 1.5; letter-spacing: 0.04em; margin-bottom: 0.6rem; color: #FDFBF9; }
.hero-author { display: block; font-size: 13px; letter-spacing: 0.18em; color: rgba(253,251,249,0.55); margin-bottom: 3rem; text-transform: uppercase; }
.hero-btn {
  display: inline-block; background: transparent; color: #FDFBF9; border: none;
  padding: 10px 0; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
}
.hero-btn:hover { text-decoration: underline; text-underline-offset: 4px; }

/* À propos */
#seances { display: grid; grid-template-columns: 1fr 35%; min-height: 100vh; scroll-margin-top: 56px; align-items: center; }
.seances-text {
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: clamp(1rem, 1.75vw, 2rem) 4rem clamp(1rem, 1.75vw, 2rem) 48px;
}
.seances-text p { font-size: 13px; line-height: 1.6; color: #252121; margin-bottom: 1.2rem; text-align: justify; }
.seances-text p:last-child { margin-bottom: 0; }
.seances-img-wrapper { display: flex; align-items: center; justify-content: center; padding: 0 48px 0 1rem; }
.seances-img { position: relative; width: 100%; height: auto; flex-shrink: 0; }
.seances-img img { width: 100%; height: auto; object-fit: contain; display: block; }
.seances-img-fallback {
  width: 100%; height: 100%; background: #E8E0D5;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #252121;
}

/* Consultations */
#reservation {
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  padding: 0.55rem 48px 2.25rem 48px; min-height: 50vh;
  scroll-margin-top: 110px;
}
.res-cards { display: table; width: 100%; border-collapse: collapse; }
.res-card { display: table-row; }
.res-card-title-wrap, .res-card-desc-wrap, .res-card-action-wrap {
  display: table-cell; padding: 1.4rem 0;
  vertical-align: baseline; border-bottom: 1px solid rgba(37,33,33,0.12);
}
.res-card-title-wrap { padding-right: 3rem; white-space: nowrap; }
.res-card-action-wrap { padding-left: 3rem; white-space: nowrap; text-align: right; width: 1%; }
.res-card:last-child .res-card-title-wrap,
.res-card:last-child .res-card-desc-wrap,
.res-card:last-child .res-card-action-wrap { border-bottom: none; }

/* Libellés & actions des consultations — styles mutualisés (évite la duplication) */
.rc-duration-btn, .rc-tile-label, .rc-action-btn, .contact-toggle {
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  color: #252121; white-space: nowrap;
}
.rc-duration-btn, .rc-tile-label, .rc-action-btn { display: block; }
.rc-action-btn, .contact-toggle { background: none; border: none; padding: 0; text-decoration: none; cursor: pointer; }
.rc-duration-btn { cursor: default; }
.rc-action-btn:hover, .contact-toggle:hover { text-decoration: underline; text-underline-offset: 4px; }
.rc-desc { font-size: 14px; line-height: 1.9; color: #252121; flex: 1; }
.rc-note { display: block; font-size: 11px; line-height: 1.6; margin-top: 0.3rem; color: rgba(37,33,33,0.8); }
.rc-note strong { font-weight: 700; color: #252121; }

/* Menu déroulant « Me contacter » */
.contact-dropdown { position: relative; display: inline-block; }
.contact-submenu {
  display: none; position: absolute; left: 0; top: calc(100% + 0.6rem);
  background: #FDFBF9; padding: 0.6rem 0; z-index: 50; min-width: 140px;
}
.contact-submenu.open { display: block; }
.contact-sub-link {
  display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #252121; text-decoration: none; padding: 0.45rem 0; white-space: nowrap; text-align: left;
}
.contact-sub-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
footer { background: #FDFBF9; color: #252121; padding: 4.8rem clamp(2rem,6vw,5rem) 1.5rem 48px; }
.footer-grid { display: flex; flex-direction: row; align-items: flex-start; justify-content: flex-start; gap: 4rem; margin-bottom: 2rem; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; }
.footer-col a { display: block; font-size: 14px; color: #252121; text-decoration: none; margin-bottom: 0.5rem; letter-spacing: 0.04em; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-label { display: none; } /* libellé de groupe : affiché uniquement sur mobile */
.footer-copy { display: block; font-size: 8px; color: rgba(37,33,33,0.8); letter-spacing: 0.04em; }
.footer-copy + .footer-copy { margin-top: 0.4rem; }

/* Animations d'apparition — appliquées uniquement si JS est actif */
.js .fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js .fade-in.visible { opacity: 1; transform: translateY(0); }

/* Respect de la préférence « mouvement réduit » */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .fade-in { opacity: 1; transform: none; transition: none; }
  .burger span, .menu-overlay { transition: none; }
}

@media (max-width: 1024px) {
  header { padding: 40px 32px; }
  .seances-text { padding: clamp(3rem,8vw,7rem) clamp(2rem,6vw,6rem) clamp(3rem,8vw,7rem) 32px; }
  #reservation { padding: clamp(1.3rem,2.7vw,2.3rem) 32px clamp(1.3rem,2.7vw,2.3rem) 32px; }
  footer { padding: clamp(2rem,4vw,3.5rem) clamp(2rem,6vw,5rem) 1.5rem 32px; }
  .footer-grid { gap: 2.5rem; }
}
@media (max-width: 768px) {
  header { padding: 32px 24px; }
  .hero-content { padding-left: 24px; }
  .logo-text { font-size: 8.7px; }
  #seances { grid-template-columns: 1fr; }
  .seances-text { padding: 6rem 24px 3rem 24px; }
  .seances-img-wrapper { padding: 2rem 1.5rem; }
  .seances-img { width: 88%; height: 55vw; }
  #reservation { padding: 1.6rem 24px 1.2rem 24px; }
  /* Tableau -> liste verticale */
  .res-cards { display: block; }
  .res-card { display: flex; flex-direction: column; padding: 2.1rem 0; border-bottom: 1px solid rgba(37,33,33,0.12); gap: 1.35rem; }
  .res-card:last-child { border-bottom: none; }
  .res-card-title-wrap, .res-card-desc-wrap, .res-card-action-wrap { display: block; padding: 0; border-bottom: none; width: auto; white-space: normal; }
  .res-card-action-wrap { text-align: left; }
  .rc-duration-btn, .rc-tile-label { white-space: normal; }
  .rc-note { margin-top: 1.0125rem; margin-bottom: 0.675rem; font-size: 8.8px; white-space: nowrap; }
  footer { padding: 3rem 24px 2.4rem; }
  /* Footer mobile : groupes étiquetés empilés verticalement (style éditorial) */
  .footer-grid { flex-direction: column; gap: 2.6rem; margin-bottom: 2.6rem; }
  .footer-label { display: block; font-weight: 400; font-size: 12px; letter-spacing: 0.05em; color: rgba(37,33,33,0.45); margin-bottom: 1.05rem; }
  .footer-col a { text-transform: uppercase; font-size: 15px; letter-spacing: 0.06em; margin-bottom: 0.7rem; }
}
@media (max-width: 480px) {
  header { padding: 28px 20px; }
  .hero-content { padding-left: 20px; }
  .hero-title { font-size: clamp(0.85rem, 3.8vw, 1.1rem); }
  .hero-author { font-size: 11px; }
  .hero-btn { font-size: 11px; }
  .seances-text { padding: 6rem 20px 3rem 20px; }
  .seances-img { width: 92%; height: 60vw; }
  #reservation { padding: 1.6rem 20px 1.2rem 20px; }
  footer { padding: 3rem 20px 2.2rem; }
  .footer-grid { flex-direction: column; gap: 2.4rem; }
  .menu-overlay a { font-size: 11px; letter-spacing: 0.14em; }
}
@media (max-width: 360px) {
  .hero-title { font-size: 0.8rem; }
}

/* ===== Pages légales (CGV, confidentialité, mentions, cookies) ===== */
.legal { max-width: 820px; margin: 0 auto; padding: 150px 48px 5rem; }
.legal h1 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 400; letter-spacing: 0.04em; color: #252121; margin-bottom: 2.5rem; }
.legal h2 { font-size: 13px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: #252121; margin: 2.5rem 0 0.8rem; }
.legal p, .legal li { font-size: 14px; line-height: 1.8; color: #252121; }
.legal p { margin-bottom: 1.2rem; }
.legal ul { margin: 0 0 1.2rem 1.2rem; }
.legal a { color: #252121; text-underline-offset: 3px; }
.legal .legal-note { font-size: 12px; color: rgba(37,33,33,0.7); font-style: italic; margin-top: 2.5rem; }
.legal .back { display: inline-block; margin-top: 3rem; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #252121; text-decoration: none; }
.legal .back:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 768px) { .legal { padding: 120px 24px 3rem; } }
@media (max-width: 480px) { .legal { padding: 110px 20px 3rem; } }

