/* NĀMĀ : feuille commune à l'accueil et à la réservation.
   Polices système uniquement, aucune ressource externe.
   Contrastes calculés (WCAG) : encre/fond 13,0 · doux/fond 6,5 · doux/fond-2 5,7 ·
   blanc/terre 5,9 · terre-fonce/fond 6,7 · olive-texte/olive 8,4 · olive-doux/olive 5,8 ·
   trait des champs/fond 3,5 et /champ 4,1 (contraste non textuel, seuil 3). */

:root {
  --fond: #F4EADB;
  --fond-2: #EBDCC6;
  --encre: #2B231B;
  --doux: #5E5144;
  --filet: #D8C6AC;
  --trait: #8A7964;
  --terre: #A44A22;
  --terre-fonce: #873A18;
  --olive: #3D4430;
  --olive-texte: #F1E8D8;
  --olive-doux: #CBC4A9;
  --serif: "Iowan Old Style", "Charter", "Bitstream Charter", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --large: 1120px;
  --marge: 20px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; text-wrap: balance; }
p, ul, ol, dl, dd, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }

a { color: var(--terre-fonce); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a[href^="tel:"] { white-space: nowrap; }

:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; }
[id] { scroll-margin-top: 72px; }

.conteneur { max-width: var(--large); margin: 0 auto; padding: 0 var(--marge); }

.visuellement-cache {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Lien d'évitement */
.evitement {
  position: absolute; left: var(--marge); top: -100px; z-index: 20;
  background: var(--encre); color: var(--fond); padding: 10px 14px; border-radius: 4px;
  font-family: var(--sans); font-weight: 600; text-decoration: none;
}
.evitement:focus { top: 8px; }

/* Ligne de démonstration */
.demo {
  background: var(--fond-2); color: var(--doux);
  font-family: var(--sans); font-size: .8125rem; line-height: 1.45;
  padding: 8px var(--marge); text-align: center;
}
.demo a { color: var(--encre); }

/* En-tête : fin, collé en haut à l'écran */
.entete { position: sticky; top: 0; z-index: 10; background: var(--fond); border-bottom: 1px solid var(--filet); }
.entete .conteneur { display: flex; align-items: center; gap: 8px; height: 56px; }
.marque {
  font-family: var(--serif); font-size: 1.25rem; letter-spacing: .22em;
  color: var(--encre); text-decoration: none; margin-right: auto;
}
.menu { display: none; }
.entete-actions { display: flex; align-items: center; gap: 8px; }
.entete-actions a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border: 1px solid transparent; border-radius: 4px;
  font-family: var(--sans); font-size: .9375rem; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.entete-resa { color: var(--encre); border-color: var(--encre) !important; }
.entete-resa:hover { background: var(--fond-2); }
.entete-tel { background: var(--terre); color: #fff; }
.entete-tel:hover { background: var(--terre-fonce); }
.bureau-seul { display: none; }

@media (min-width: 880px) {
  .mobile-seul { display: none; }
  .bureau-seul { display: inline; }
  .entete-tel { order: -1; background: none; color: var(--encre); font-weight: 500; }
  .entete-tel:hover { background: none; text-decoration: underline; }
  .entete-resa { background: var(--terre); color: #fff; border-color: var(--terre) !important; }
  .entete-resa:hover { background: var(--terre-fonce); }
}
@media (min-width: 960px) {
  .marque { margin-right: 0; }
  .menu { display: block; margin: 0 auto 0 40px; }
  .menu ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
  .menu a { color: var(--encre); font-family: var(--sans); font-size: .9375rem; text-decoration: none; }
  .menu a:hover { text-decoration: underline; }
}

/* Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 20px; border: 1px solid transparent; border-radius: 4px;
  font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
}
.bouton-plein { background: var(--terre); color: #fff; }
.bouton-plein:hover { background: var(--terre-fonce); }
.bouton-trait { background: transparent; color: var(--encre); border-color: var(--encre); }
.bouton-trait:hover { background: var(--fond-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.petit { font-family: var(--sans); font-size: .875rem; color: var(--doux); }
.precision { margin-top: 12px; }

/* Ouverture */
.ouverture { padding: 28px 0 48px; }
.ouverture .conteneur { display: grid; gap: 28px; }
.ouverture h1 { font-size: clamp(2.125rem, 7vw, 3rem); }
.chapeau { font-size: 1.1875rem; color: var(--doux); max-width: 32em; margin-top: 16px; }
.reperes { margin-top: 20px; }
.ouverture img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
@media (min-width: 880px) {
  .ouverture { padding: 56px 0 80px; }
  .ouverture .conteneur { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
}

/* Sections */
.section, .bande { padding: 56px 0; }
.section h2, .bande h2 { font-size: clamp(1.75rem, 4.5vw, 2.375rem); }
.intro { color: var(--doux); max-width: 36em; margin-top: 12px; }
@media (min-width: 880px) {
  .section, .bande { padding: 80px 0; }
}

.bande { background: var(--olive); color: var(--olive-texte); }
.bande .intro, .bande .note { color: var(--olive-doux); }
.bande a { color: var(--olive-texte); }
.bande :focus-visible { outline-color: var(--olive-texte); }

/* Cours */
.cours { list-style: none; padding: 0; margin-top: 32px; border-top: 1px solid var(--filet); }
.cours > li { display: grid; gap: 10px; padding: 24px 0; border-bottom: 1px solid var(--filet); }
.cours h3 { font-size: 1.5rem; }
.cours .petit { margin-top: 4px; }
.cours-quand { margin-top: 10px; font-family: var(--sans); font-size: .9375rem; }
.cours-quand a { font-weight: 600; white-space: nowrap; }
@media (min-width: 880px) {
  .cours > li { grid-template-columns: 1fr 2fr; column-gap: 56px; padding: 32px 0; }
  .cours p { max-width: 38em; }
}

/* Horaires */
.horaires {
  width: 100%; max-width: 640px; margin-top: 28px; border-collapse: collapse;
  font-family: var(--sans); font-size: 1rem;
}
.horaires th, .horaires td {
  text-align: left; vertical-align: baseline; padding: 12px 16px 12px 0;
  border-bottom: 1px solid rgba(241, 232, 216, .22);
}
.horaires thead th { color: var(--olive-doux); font-size: .875rem; font-weight: 500; padding-top: 0; }
.horaires tbody th { font-weight: 600; }
.horaires td:nth-child(2) { font-variant-numeric: tabular-nums; white-space: nowrap; }
.horaires .duree { color: var(--olive-doux); white-space: nowrap; }
.note { margin-top: 20px; max-width: 36em; font-family: var(--sans); font-size: .9375rem; }

/* Tarifs */
.tarifs { list-style: none; padding: 0; margin-top: 28px; max-width: 720px; border-top: 1px solid var(--filet); }
.tarifs li {
  display: grid; grid-template-columns: 1fr auto; column-gap: 16px; row-gap: 2px;
  padding: 16px 0; border-bottom: 1px solid var(--filet);
}
.tarif-nom { font-size: 1.1875rem; }
.tarif-prix { font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tarif-detail { grid-column: 1 / -1; color: var(--doux); font-size: 1rem; }
.tarifs + .note { color: var(--doux); }

/* Première séance */
.deux-colonnes { display: grid; gap: 32px; }
.liste { padding-left: 1.2em; margin-top: 24px; max-width: 34em; }
.liste li + li { margin-top: 10px; }
.liste li::marker { color: var(--terre); }
.photo-pratique img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; border-radius: 4px; }
@media (min-width: 880px) {
  .deux-colonnes { grid-template-columns: 7fr 5fr; gap: 56px; align-items: start; }
  .photo-pratique img { aspect-ratio: 3 / 4; }
}

/* Studio et accès */
.infos { display: grid; gap: 16px; margin-top: 28px; max-width: 880px; }
.infos dt { font-family: var(--sans); font-size: .875rem; font-weight: 600; }
.infos dd { margin: 2px 0 0; }
@media (min-width: 880px) {
  .infos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 56px; }
}

/* Questions */
.questions { margin-top: 28px; max-width: 760px; border-top: 1px solid var(--filet); }
.questions details { border-bottom: 1px solid var(--filet); }
.questions summary {
  position: relative; cursor: pointer; list-style: none;
  padding: 16px 36px 16px 0; font-size: 1.125rem;
}
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after {
  content: "+"; position: absolute; right: 6px; top: 14px;
  font-family: var(--sans); font-size: 1.375rem; line-height: 1.2; color: var(--terre-fonce);
}
.questions details[open] summary::after { content: "\2212"; }
.questions details p { padding: 0 0 18px; color: var(--doux); max-width: 40em; }

/* Pied de page */
.pied { background: var(--olive); color: var(--olive-texte); padding: 48px 0 32px; font-family: var(--sans); font-size: .9375rem; }
.pied a { color: var(--olive-texte); }
.pied :focus-visible { outline-color: var(--olive-texte); }
.pied .marque { color: var(--olive-texte); display: inline-block; margin-bottom: 8px; }
.pied-grille { display: grid; gap: 24px; }
.pied-grille p + p { margin-top: 6px; }
.pied-mention {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(241, 232, 216, .22);
  color: var(--olive-doux); font-size: .8125rem; max-width: 60em;
}
@media (min-width: 880px) {
  .pied-grille { grid-template-columns: 2fr 1fr 1fr; }
}

/* Réservation */
.resa { display: grid; gap: 48px; padding: 32px 0 64px; }
.resa h1 { font-size: clamp(2rem, 6vw, 2.75rem); }
.avis-demo {
  margin-top: 16px; padding: 14px 16px; background: var(--fond-2); border-radius: 4px;
  font-family: var(--sans); font-size: .9375rem; max-width: 36em;
}
.formulaire { margin-top: 28px; max-width: 36em; }
.formulaire fieldset { border: 0; padding: 0; margin: 0; }
.formulaire legend, .formulaire label:not(.choix):not(.case) {
  display: block; padding: 0; margin-bottom: 6px;
  font-family: var(--sans); font-size: .9375rem; font-weight: 600;
}
.champ { margin-top: 22px; }
.aide { margin: -2px 0 6px; }
.formulaire input[type="text"], .formulaire select {
  width: 100%; min-height: 48px; padding: 10px 12px;
  border: 1px solid var(--trait); border-radius: 4px; background: #FFFCF7; color: var(--encre);
  font-family: var(--sans); font-size: 1rem;
}
.choix {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 8px; padding: 12px 14px;
  border: 1px solid var(--filet); border-radius: 4px; cursor: pointer; font-family: var(--sans);
}
.choix:has(input:checked) { border-color: var(--terre); background: #FBF4EA; }
.choix input, .case input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--terre); }
.choix strong { font-weight: 600; }
.choix .petit { display: block; }
.case { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; font-family: var(--sans); font-size: .9375rem; cursor: pointer; }
.formulaire .bouton { margin-top: 26px; }
.formulaire .bouton + .petit { margin-top: 10px; }
.resultat { margin-top: 28px; padding: 20px; background: var(--fond-2); border-radius: 4px; max-width: 36em; }
.resultat h2 { font-size: 1.5rem; }
.resultat p { margin-top: 12px; }
.resultat .bouton { margin-top: 20px; }
.resa-infos h2 { font-size: 1.5rem; }
.resa-infos .infos { grid-template-columns: 1fr; gap: 14px; margin-top: 16px; }
.resa-infos > p { margin-top: 24px; }
@media (min-width: 880px) {
  .resa { grid-template-columns: 7fr 4fr; gap: 72px; padding: 56px 0 96px; }
  .resa-infos { padding-top: 12px; border-top: 1px solid var(--filet); margin-top: 8px; }
}
