/* =====================================================================
   Philippe Archambault — Magicien
   Feuille de style commune à toutes les pages.

   Sommaire
   1. Variables (couleurs, typo, espacements)
   2. Base et accessibilité
   3. Boutons et liens
   4. En-tête et navigation
   5. Ornements (séparateur pique)
   6. Hero d'accueil
   7. Présentation (citation)
   8. Atouts
   9. Cartes à jouer (prestations)
   10. Témoignages
   11. Appel à l'action final
   12. Pied de page
   13. Barre de réservation mobile
   14. Animations et prefers-reduced-motion
   ===================================================================== */

/* 1. VARIABLES ======================================================== */
:root {
  /* Palette validée */
  --noir: #0E0B0D;        /* fond principal */
  --ebene: #1A1416;       /* surfaces (cartes, blocs) */
  --bordeaux: #5C1A24;    /* fonds d'accent — jamais en couleur de texte */
  --grenat: #8B2635;      /* survols, symboles cœur/carreau sur crème */
  --or: #C9A24B;          /* CTA, ornements, liens */
  --or-clair: #E3C67A;    /* survol des liens, focus clavier */
  --creme: #F3E9D2;       /* texte principal (contraste 16:1 sur noir) */
  --creme-2: #B8AC95;     /* texte secondaire (contraste 8:1 sur noir) */
  --filet: rgba(201, 162, 75, 0.28); /* filets dorés fins */

  /* Typographie : Playfair Display (titres) + Inter (texte) */
  --f-titre: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-texte: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Échelle typographique (rapport 1,333 — quarte) */
  --t-xs: 0.8125rem;   /* 13 px */
  --t-s: 0.9375rem;    /* 15 px */
  --t-m: 1.0625rem;    /* 17 px — texte courant */
  --t-l: 1.4rem;
  --t-xl: clamp(1.75rem, 3.2vw, 2.35rem);
  --t-xxl: clamp(2.2rem, 4.6vw, 3.4rem);
  --t-hero: clamp(2.8rem, 7.2vw, 5.6rem);

  /* Espacements et mise en page */
  --largeur: 72rem;
  --gouttiere: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8rem);
  --rayon: 4px;
  --entete-h: 4.5rem;
}

/* 2. BASE ============================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--entete-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--noir);
  color: var(--creme);
  font-family: var(--f-texte);
  font-size: var(--t-m);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

/* L'attribut hidden doit toujours l'emporter (même sur .btn en inline-flex) */
[hidden] { display: none !important; }

h1, h2, h3 {
  font-family: var(--f-titre);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 1rem;
  text-wrap: balance;
}
h2 { font-size: var(--t-xxl); }
h3 { font-size: var(--t-l); }
p { margin: 0 0 1rem; max-width: 65ch; }

.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.section { padding-block: var(--section); }
.section__intro { color: var(--creme-2); max-width: 52ch; }

/* Accessibilité : focus clavier bien visible sur fond sombre */
:focus-visible {
  outline: 2px solid var(--or-clair);
  outline-offset: 3px;
  border-radius: 2px;
}

.lien-evitement {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--or);
  color: var(--noir);
  font-weight: 500;
  text-decoration: none;
}
.lien-evitement:focus { top: 1rem; }

.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;
}

/* Repère visuel des contenus manquants — à supprimer une fois complétés */
.a-completer {
  color: var(--or-clair);
  font-style: italic;
  background: rgba(201, 162, 75, 0.12);
  padding: 0 0.25em;
}

/* 3. BOUTONS ET LIENS ================================================= */
a { color: var(--or); text-underline-offset: 0.2em; }
a:hover { color: var(--or-clair); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;            /* cible tactile ≥ 44 px */
  padding: 0.75rem 1.5rem;
  border-radius: var(--rayon);
  font-family: var(--f-texte);
  font-size: var(--t-s);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn--or { background: var(--or); color: var(--noir); border: 1px solid var(--or); }
.btn--or:hover { background: var(--or-clair); border-color: var(--or-clair); color: var(--noir); }
.btn--contour { background: transparent; color: var(--creme); border: 1px solid var(--or); }
.btn--contour:hover { background: rgba(201, 162, 75, 0.12); color: var(--creme); }

.lien-suite {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 500;
}

/* 4. EN-TÊTE ========================================================== */
.entete {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--entete-h);
  transition: background-color 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.entete.est-defile {
  background: rgba(14, 11, 13, 0.94);
  border-bottom-color: var(--filet);
}
@supports (backdrop-filter: blur(8px)) {
  .entete.est-defile { background: rgba(14, 11, 13, 0.8); backdrop-filter: blur(8px); }
}
.entete__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.marque {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  color: var(--creme);
  text-decoration: none;
}
.marque__nom { font-family: var(--f-titre); font-size: 1.3rem; }
.marque__metier { font-size: var(--t-xs); color: var(--creme-2); }
.marque:hover { color: var(--creme); }

.nav__liste {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__lien {
  color: var(--creme);
  text-decoration: none;
  font-size: var(--t-s);
  padding-block: 0.5rem;
  border-bottom: 1px solid transparent;
}
.nav__lien:hover { color: var(--or-clair); }
.nav__lien[aria-current="page"] { border-bottom-color: var(--or); }

.nav__bascule { display: none; }

@media (max-width: 960px) {
  .nav__bascule {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: none;
    border: 1px solid var(--filet);
    border-radius: var(--rayon);
    color: var(--creme);
    cursor: pointer;
  }
  .nav {
    position: fixed;
    inset: var(--entete-h) 0 0 0;
    background: var(--noir);
    padding: 2rem var(--gouttiere);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s, visibility 0.3s;
  }
  .nav.est-ouvert { transform: none; visibility: visible; }
  .nav__liste { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .nav__lien { font-family: var(--f-titre); font-size: 1.75rem; }
}
/* Sous 760 px, le bouton Réserver passe dans la barre fixe du bas */
@media (max-width: 760px) {
  .entete__cta { display: none; }
}
@media (max-width: 960px) {
  .entete__cta { margin-left: auto; }
  .nav__bascule { order: 3; }
}

/* 5. ORNEMENTS ======================================================== */
/* Séparateur : filet doré — pique — filet doré */
.ornement {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--or);
  max-width: 14rem;
  margin: 0 0 2rem;
}
.ornement::before, .ornement::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--filet);
}
.ornement--centre { margin-inline: auto; }

/* 6. HERO ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  /* halo de projecteur chaud derrière le magicien */
  background:
    radial-gradient(ellipse 55% 70% at 72% 38%, rgba(201, 162, 75, 0.16), transparent 70%),
    var(--noir);
}
.hero__photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(52%, 46rem);
  height: 100%;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  /* fondu de la photo dans le noir, côté texte et en bas */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 32%), linear-gradient(to top, transparent 0%, #000 22%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 32%), linear-gradient(to top, transparent 0%, #000 22%);
  mask-composite: intersect;
}
.hero__photo::after {
  /* voile sombre entre la photo et le texte pour garantir la lisibilité */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(14, 11, 13, 0.9) 0%, rgba(14, 11, 13, 0.45) 30%, transparent 55%);
  pointer-events: none;
}
.hero__particules {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero__contenu {
  position: relative;
  z-index: 1;
  padding-top: var(--entete-h);
}
.hero__texte { max-width: 34rem; }
.hero__titre {
  font-size: var(--t-hero);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.hero__titre span { display: block; }
.hero__accroche {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--creme-2);
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.75rem; }
.hero__tel { color: var(--creme-2); font-size: var(--t-s); margin: 0; }
.hero__tel a { color: var(--creme); text-decoration: none; border-bottom: 1px solid var(--filet); }
.hero__tel a:hover { color: var(--or-clair); }

/* Le texte ne déborde jamais sur la photo sur grand écran */
.hero__texte { max-width: min(34rem, 44vw); }

/* Mobile et tablette portrait : photo en haut, texte dessous */
@media (max-width: 900px) {
  .hero__texte { max-width: 34rem; }
  .hero { align-items: end; }
  .hero__photo { width: 100%; height: 64%; inset: 0 0 auto 0; }
  .hero__photo img {
    object-position: 50% 10%;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 45%);
    mask-image: linear-gradient(to top, transparent 0%, #000 45%);
  }
  .hero__photo::after {
    background: linear-gradient(to top, var(--noir) 0%, rgba(14, 11, 13, 0.92) 42%, rgba(14, 11, 13, 0.55) 60%, transparent 80%);
  }
  .hero__contenu { padding-bottom: 6.5rem; } /* laisse la place à la barre mobile */
  .hero__accroche { color: var(--creme); }
  .hero__accroche, .hero__tel { text-shadow: 0 1px 10px rgba(14, 11, 13, 0.9); }
  .hero__titre { text-shadow: 0 2px 18px rgba(14, 11, 13, 0.85); }
}

/* 7. PRÉSENTATION ===================================================== */
.presentation__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.citation-phare { margin: 0; }
.citation-phare blockquote {
  margin: 0 0 1rem;
  font-family: var(--f-titre);
  font-style: italic;
  font-size: clamp(3rem, 8.5vw, 6.5rem);
  line-height: 1;
  color: var(--or);
}
.citation-phare blockquote p { margin: 0; max-width: none; }
.citation-phare figcaption { color: var(--creme-2); max-width: 30ch; }
@media (max-width: 760px) {
  .presentation__grille { grid-template-columns: 1fr; }
}

/* 8. ATOUTS =========================================================== */
.atouts {
  border-block: 1px solid var(--filet);
  padding-block: 2.5rem;
}
.atouts__liste {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.atouts__item { display: grid; grid-template-columns: auto 1fr; gap: 0 0.9rem; }
.atouts__symbole {
  grid-row: span 2;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--or);
}
.atouts__titre { font-family: var(--f-titre); font-size: 1.2rem; }
.atouts__texte { color: var(--creme-2); font-size: var(--t-s); }

/* 9. CARTES À JOUER =================================================== */
.cartes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 2.5rem;
}
.carte {
  perspective: 1200px;
  aspect-ratio: 5 / 7;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
/* Sur petit écran, la proportion 5/7 rendrait les cartes trop hautes */
@media (max-width: 600px) {
  .carte { aspect-ratio: auto; height: 21rem; }
}
.carte__inner {
  position: relative;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
/* Retournement : survol (souris), focus clavier sur le lien, ou toucher (classe JS) */
@media (hover: hover) {
  .carte:hover .carte__inner { transform: rotateY(180deg); }
}
.carte:focus-within .carte__inner,
.carte.est-retournee .carte__inner { transform: rotateY(180deg); }

.carte__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}
/* Recto : dos de carte bordeaux à double filet doré */
.carte__face--recto {
  background: var(--bordeaux);
  border: 1px solid var(--or);
  box-shadow: inset 0 0 0 6px var(--bordeaux), inset 0 0 0 7px var(--filet);
  /* treillis discret, comme le dos d'une carte ancienne */
  background-image:
    repeating-linear-gradient(45deg, rgba(201, 162, 75, 0.07) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(-45deg, rgba(201, 162, 75, 0.07) 0 1px, transparent 1px 14px);
  align-items: center;
  justify-content: center;
  text-align: center;
}
.carte__coin {
  position: absolute;
  font-family: var(--f-titre);
  font-size: 1.1rem;
  line-height: 1;
  color: var(--or);
  text-align: center;
}
.carte__coin--haut { top: 1rem; left: 1rem; }
.carte__coin--bas { bottom: 1rem; right: 1rem; transform: rotate(180deg); }
.carte__symbole { font-size: 3.5rem; line-height: 1; color: var(--or); margin-bottom: 1rem; }
.carte__nom { font-size: 1.45rem; margin: 0 0 0.5rem; color: var(--creme); }
.carte__indice { font-size: var(--t-xs); color: var(--creme-2); margin: 0; }

/* Verso : face crème, comme une vraie carte */
.carte__face--verso {
  background: var(--creme);
  color: var(--noir);
  transform: rotateY(180deg);
  border: 1px solid var(--or);
}
.carte__face--verso h3 { color: var(--noir); font-size: 1.3rem; margin-bottom: 0.6rem; }
.carte__face--verso p { font-size: var(--t-s); line-height: 1.6; color: #3a2f2c; }
.carte__infos { font-size: var(--t-xs); color: #4a3e3a; margin: auto 0 0.9rem; padding: 0; list-style: none; }
.carte__prix { font-family: var(--f-titre); font-size: 1.15rem; color: var(--grenat); }
.carte__face--verso .btn { background: var(--noir); color: var(--creme); border-color: var(--noir); width: 100%; padding-inline: 0.75rem; font-size: var(--t-xs); }
.carte__face--verso .btn:hover { background: var(--bordeaux); border-color: var(--bordeaux); }
.carte__face--verso .a-completer { color: var(--grenat); background: rgba(139, 38, 53, 0.08); }

/* 10. TÉMOIGNAGES ===================================================== */
.temoignages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.temoignage {
  margin: 0;
  padding: 2rem 1.75rem 1.75rem;
  background: var(--ebene);
  border-top: 1px solid var(--or);
  display: flex;
  flex-direction: column;
}
.temoignage blockquote {
  margin: 0 0 1.5rem;
  font-family: var(--f-titre);
  font-size: 1.15rem;
  line-height: 1.55;
}
.temoignage blockquote p { margin: 0; }
.temoignage blockquote p::before {
  content: "«\00a0";
  color: var(--or);
}
.temoignage blockquote p::after {
  content: "\00a0»";
  color: var(--or);
}
.temoignage figcaption { margin-top: auto; font-size: var(--t-s); }
.temoignage__nom { display: block; font-weight: 500; }
.temoignage__type { color: var(--creme-2); }

/* 11. APPEL À L'ACTION FINAL ========================================== */
.cta-final {
  position: relative;
  background: var(--bordeaux);
  overflow: hidden;
}
.cta-final__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
}
.cta-final__texte { padding-block: var(--section); }
.cta-final__texte p { color: #E8D9C0; }
.cta-final__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.cta-final__photo { align-self: stretch; position: relative; min-height: 22rem; }
.cta-final__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  /* fondu des deux côtés : seul le magicien reste net */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 30%, #000 70%, transparent);
}
.cta-final .btn--contour { border-color: var(--creme); }
@media (max-width: 760px) {
  .cta-final__grille { grid-template-columns: 1fr; }
  .cta-final__photo { display: none; }
}

/* 12. PIED DE PAGE ==================================================== */
.pied {
  padding-block: 4rem 2rem;
  border-top: 1px solid var(--filet);
  font-size: var(--t-s);
  color: var(--creme-2);
}
.pied__grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.pied__titre { font-family: var(--f-titre); font-size: 1.15rem; color: var(--creme); margin-bottom: 0.75rem; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 0.4rem; }
.pied a { color: var(--creme); text-decoration: none; }
.pied a:hover { color: var(--or-clair); text-decoration: underline; }
.pied__bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--filet);
  font-size: var(--t-xs);
}

/* 13. BARRE DE RÉSERVATION MOBILE ===================================== */
.barre-mobile { display: none; }
@media (max-width: 760px) {
  .barre-mobile {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0.5rem;
    padding: 0.6rem var(--gouttiere) calc(0.6rem + env(safe-area-inset-bottom, 0px));
    background: rgba(14, 11, 13, 0.96);
    border-top: 1px solid var(--filet);
  }
  body { padding-bottom: 4.5rem; }
}

/* 14. ANIMATIONS ====================================================== */
/* Entrée du hero : un seul moment orchestré au chargement */
@keyframes apparition {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.hero__titre span,
.hero__accroche,
.hero__actions,
.hero__tel {
  animation: apparition 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero__titre span:nth-child(2) { animation-delay: 0.12s; }
.hero__accroche { animation-delay: 0.3s; }
.hero__actions { animation-delay: 0.45s; }
.hero__tel { animation-delay: 0.55s; }
.hero__photo { animation: apparition 1.4s ease-out both; }

/* Apparition douce au défilement (classe ajoutée par main.js) */
.js .revele {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.js .revele.est-visible { opacity: 1; transform: none; }

/* Canvas de « poudre magique » qui suit le curseur */
.poudre {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 60;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
  .js .revele { opacity: 1; transform: none; }
  /* Sans animation, le retournement devient un simple changement de face */
  .carte__inner { transition: none; }
}

/* =====================================================================
   PAGES INTÉRIEURES
   15. En-tête de page
   16. L'artiste : parcours, galerie, vidéos
   17. Prestations détaillées
   18. Déroulé : étapes, fiche technique, zone
   19. Réservation : formulaire multi-étapes, calendrier, FAQ
   20. Mentions légales et 404
   ===================================================================== */

/* 15. EN-TÊTE DE PAGE ================================================= */
.page-entete {
  position: relative;
  padding-top: calc(var(--entete-h) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(3rem, 7vw, 5rem);
  background: radial-gradient(ellipse 60% 80% at 80% 0%, rgba(201, 162, 75, 0.12), transparent 70%), var(--noir);
  border-bottom: 1px solid var(--filet);
  overflow: hidden;
}
.page-entete h1 { font-size: var(--t-hero); line-height: 1.05; margin-bottom: 1rem; }
.page-entete__intro { font-size: 1.15rem; color: var(--creme-2); max-width: 46ch; }
.page-entete--photo .conteneur { position: relative; z-index: 1; }
.page-entete__photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(45%, 36rem);
}
.page-entete__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 45%), linear-gradient(to top, transparent, #000 30%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 45%), linear-gradient(to top, transparent, #000 30%);
  mask-composite: intersect;
  opacity: 0.85;
}
.page-entete--photo .page-entete__texte { max-width: min(40rem, 52vw); }
.page-entete__photo--droite img { object-position: 75% 0; }
@media (max-width: 760px) {
  .page-entete__photo { width: 100%; opacity: 0.35; }
  .page-entete--photo .page-entete__texte { max-width: none; }
}

.deux-colonnes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 760px) { .deux-colonnes { grid-template-columns: 1fr; } }

/* 16. L'ARTISTE ======================================================= */
.parcours { list-style: none; margin: 2.5rem 0 0; padding: 0; position: relative; }
.parcours::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 1px;
  background: var(--filet);
}
.parcours__etape { position: relative; padding-left: 2.5rem; margin-bottom: 2.5rem; }
.parcours__etape::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.9rem;
  height: 0.9rem;
  transform: rotate(45deg) scale(0.75);
  background: var(--or);
}
.parcours__moment { font-family: var(--f-titre); font-style: italic; color: var(--or); font-size: 1.1rem; display: block; margin-bottom: 0.25rem; }
.parcours__etape h3 { margin-bottom: 0.5rem; }
.parcours__etape p { color: var(--creme-2); }

.disciplines { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.disciplines li {
  display: flex;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--filet);
}
.disciplines li:first-child { border-top: 1px solid var(--filet); }
.disciplines span[aria-hidden] { color: var(--or); font-size: 1.3rem; line-height: 1.4; }
.disciplines strong { font-family: var(--f-titre); font-weight: 500; font-size: 1.2rem; display: block; }

.philosophie {
  text-align: center;
  background: var(--ebene);
  border-block: 1px solid var(--filet);
}
.philosophie blockquote {
  margin: 0 auto 1rem;
  max-width: 24ch;
  font-family: var(--f-titre);
  font-style: italic;
  font-size: var(--t-xxl);
  line-height: 1.2;
}
.philosophie blockquote p { max-width: none; margin: 0; }
.philosophie figcaption { color: var(--or); }

.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.galerie__item {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--filet);
  background: none;
  cursor: zoom-in;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.galerie__item img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform 0.6s; }
.galerie__item:hover img { transform: scale(1.04); }

.visionneuse {
  max-width: min(92vw, 40rem);
  max-height: 92vh;
  padding: 0;
  border: 1px solid var(--or);
  background: var(--noir);
  color: var(--creme);
}
.visionneuse::backdrop { background: rgba(14, 11, 13, 0.88); }
.visionneuse figure { margin: 0; }
.visionneuse img { max-height: 80vh; width: auto; margin-inline: auto; }
.visionneuse figcaption { padding: 0.75rem 1rem; font-size: var(--t-s); color: var(--creme-2); }
.visionneuse__fermer {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--or);
  border-radius: 50%;
  background: var(--noir);
  color: var(--creme);
  font-size: 1.4rem;
  cursor: pointer;
}

.videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.video {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 1px solid var(--filet);
  background: var(--ebene);
  cursor: pointer;
  overflow: hidden;
  color: var(--creme);
}
.video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.video__lecture {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 4rem;
  height: 4rem;
  margin: -2rem 0 0 -2rem;
  border-radius: 50%;
  background: rgba(14, 11, 13, 0.75);
  border: 1px solid var(--or);
}
.video__lecture::after {
  content: "";
  position: absolute;
  left: 1.6rem;
  top: 1.25rem;
  border-left: 1.2rem solid var(--or);
  border-block: 0.75rem solid transparent;
}
.video__titre {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.6rem 0.9rem;
  background: rgba(14, 11, 13, 0.8);
  font-size: var(--t-s);
  text-align: left;
}
.video--iframe { border: 1px solid var(--or); }
.chaine {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--ebene);
  border: 1px solid var(--filet);
}
.chaine p { margin: 0; color: var(--creme-2); }

/* 17. PRESTATIONS DÉTAILLÉES ========================================== */
.formules { display: grid; gap: 1.5rem; margin-top: 3rem; }
.formule {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--ebene);
  border: 1px solid var(--filet);
  border-left: 3px solid var(--or);
  border-radius: 0;
  scroll-margin-top: calc(var(--entete-h) + 1rem);
}
.formule__symbole { font-size: 2rem; color: var(--or); line-height: 1; display: block; margin-bottom: 1rem; }
.formule h2 { font-size: var(--t-xl); }
.formule__description { color: var(--creme-2); }
.formule__pour { font-size: var(--t-s); }
.formule__faits { margin: 0; display: grid; gap: 0; align-self: start; }
.formule__faits div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--filet);
  font-size: var(--t-s);
}
.formule__faits dt { color: var(--creme-2); }
.formule__faits dd { margin: 0; }
.formule__prix { font-family: var(--f-titre); font-size: 1.25rem; color: var(--or); }
.formule__action { margin-top: 1.5rem; }
.formule__photo { margin: 1.5rem 0 0; max-width: 16rem; border: 1px solid var(--filet); }
@media (max-width: 860px) {
  .formule { grid-template-columns: 1fr; }
  .formule__faits div { grid-template-columns: 7.5rem 1fr; }
}

.sommaire-formules {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}
.sommaire-formules a { color: var(--creme); text-decoration: none; border-bottom: 1px solid var(--filet); }
.sommaire-formules a:hover { color: var(--or-clair); border-color: var(--or); }

.encart-tarif {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem 2rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid var(--or);
}
.encart-tarif__prix { font-family: var(--f-titre); font-size: var(--t-xxl); color: var(--or); line-height: 1; margin: 0; }
.encart-tarif p { margin: 0; color: var(--creme-2); }
@media (max-width: 760px) { .encart-tarif { grid-template-columns: 1fr; } }

/* 18. DÉROULÉ ========================================================= */
.etapes-deroule { list-style: none; margin: 3rem 0 0; padding: 0; counter-reset: etape; }
.etapes-deroule li {
  counter-increment: etape;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1.5rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--filet);
}
.etapes-deroule li::before {
  content: counter(etape);
  font-family: var(--f-titre);
  font-size: 3rem;
  line-height: 1;
  color: var(--or);
}
.etapes-deroule h3 { margin-bottom: 0.4rem; }
.etapes-deroule p { color: var(--creme-2); margin: 0; }

.fiche {
  border: 1px solid var(--or);
  background: var(--ebene);
  margin-top: 2.5rem;
}
.fiche__entete {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--or);
}
.fiche__entete h3 { margin: 0; }
.fiche__entete p { margin: 0; color: var(--creme-2); font-size: var(--t-s); }
.fiche__tableau { overflow-x: auto; }
.fiche table { width: 100%; border-collapse: collapse; font-size: var(--t-s); min-width: 34rem; }
.fiche th, .fiche td { text-align: left; padding: 1rem 1.75rem; border-bottom: 1px solid var(--filet); vertical-align: top; }
.fiche thead th { font-weight: 500; color: var(--or); font-size: var(--t-xs); }
.fiche tbody th { font-weight: 500; width: 28%; }
.fiche tr:last-child th, .fiche tr:last-child td { border-bottom: 0; }

.zone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}
.zone__carte { color: var(--or); }
.zone__carte svg { width: 100%; height: auto; max-width: 26rem; }
@media (max-width: 760px) { .zone { grid-template-columns: 1fr; } }

/* 19. RÉSERVATION ===================================================== */
.reservation__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 960px) { .reservation__grille { grid-template-columns: 1fr; } }

.form-carte {
  background: var(--ebene);
  border: 1px solid var(--filet);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  scroll-margin-top: calc(var(--entete-h) + 1rem);
}

.progression {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  counter-reset: progression;
}
.progression__item {
  counter-increment: progression;
  font-size: var(--t-xs);
  color: var(--creme-2);
  padding-top: 0.75rem;
  border-top: 2px solid #3a2e2a;
}
.progression__item::before { content: counter(progression) ". "; }
.progression__item.est-fait { border-top-color: var(--bordeaux); color: var(--creme); }
.progression__item[aria-current="step"] { border-top-color: var(--or); color: var(--creme); font-weight: 500; }
@media (max-width: 600px) {
  .progression__item { font-size: 0; }
  .progression__item::before { font-size: var(--t-xs); content: counter(progression); }
}

.etape { border: 0; margin: 0; padding: 0; min-width: 0; }
.etape__titre { font-family: var(--f-titre); font-size: var(--t-xl); margin: 0 0 0.5rem; padding: 0; }
.etape__titre:focus { outline: none; }
.etape__aide { color: var(--creme-2); font-size: var(--t-s); margin-bottom: 1.5rem; }

.champ { margin-bottom: 1.25rem; }
.champ label, .champ__libelle {
  display: block;
  font-size: var(--t-s);
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.champ__facultatif { font-weight: 400; color: var(--creme-2); }
.champ input:not([type="radio"]):not([type="checkbox"]),
.champ select,
.champ textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  background: var(--noir);
  color: var(--creme);
  border: 1px solid #5a4a3e;
  border-radius: var(--rayon);
  font: inherit;
  font-size: 1rem; /* 16 px minimum : évite le zoom automatique sur iOS */
}
.champ textarea { min-height: 7rem; resize: vertical; }
.champ select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--or) 50%), linear-gradient(135deg, var(--or) 50%, transparent 50%); background-position: calc(100% - 1.2rem) 55%, calc(100% - 0.85rem) 55%; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; padding-right: 2.5rem; }
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: var(--or); }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { outline: 2px solid var(--or-clair); outline-offset: 1px; border-color: var(--or); }
.champ [aria-invalid="true"] { border-color: #E07A7A !important; }
.champ input[type="time"]::-webkit-calendar-picker-indicator { filter: invert(0.8) sepia(1) saturate(3) hue-rotate(5deg); }
.champs-ligne { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 0 1rem; }

/* message d'erreur : rose clair lisible sur fond sombre (contraste > 7:1) */
.erreur { color: #F2A7A7; font-size: var(--t-s); margin: 0.4rem 0 0; min-height: 0; }
.captcha { margin-top: 1.5rem; min-height: 65px; }
.captcha:empty { min-height: 0; margin: 0; }
.erreur:empty { display: none; }
.erreur::before { content: "! "; font-weight: 500; }

.choix-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.75rem; }
.choix { position: relative; display: block; cursor: pointer; }
.choix input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choix__corps {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  height: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid #5a4a3e;
  border-radius: var(--rayon);
  background: var(--noir);
  transition: border-color 0.2s, background-color 0.2s;
}
.choix__symbole { color: var(--or); font-size: 1.2rem; line-height: 1.3; }
.choix__titre { display: block; font-weight: 500; }
.choix__detail { display: block; font-size: var(--t-xs); color: var(--creme-2); margin-top: 0.15rem; }
.choix:hover .choix__corps { border-color: var(--or); }
.choix input:checked + .choix__corps { border-color: var(--or); background: rgba(92, 26, 36, 0.55); box-shadow: inset 0 0 0 1px var(--or); }
.choix input:focus-visible + .choix__corps { outline: 2px solid var(--or-clair); outline-offset: 2px; }
.choix input[aria-invalid="true"] + .choix__corps { border-color: #E07A7A; }

.calendrier { max-width: 22rem; margin-bottom: 0.5rem; }
.calendrier__entete { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.calendrier__mois { font-family: var(--f-titre); font-size: 1.2rem; margin: 0; text-transform: capitalize; }
.calendrier__nav {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--filet);
  border-radius: 50%;
  background: none;
  color: var(--creme);
  font-size: 1.2rem;
  cursor: pointer;
}
.calendrier__nav:hover:not(:disabled) { border-color: var(--or); }
.calendrier__nav:disabled { opacity: 0.35; cursor: default; }
.calendrier table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.calendrier th { font-size: var(--t-xs); font-weight: 400; color: var(--creme-2); padding-bottom: 0.4rem; }
.calendrier th abbr { text-decoration: none; }
.calendrier td { padding: 2px; text-align: center; }
.calendrier__jour {
  width: 100%;
  aspect-ratio: 1;
  min-height: 2.6rem;
  border: 1px solid transparent;
  border-radius: 50%;
  background: none;
  color: var(--creme);
  font: inherit;
  font-size: var(--t-s);
  cursor: pointer;
}
.calendrier__jour:hover:not(:disabled) { border-color: var(--or); }
.calendrier__jour.est-aujourdhui { border-color: var(--filet); }
.calendrier__jour.est-choisi { background: var(--or); color: var(--noir); font-weight: 500; }
/* jours passés : barrés plutôt que seulement estompés, pour rester lisibles */
.calendrier__jour:disabled { color: #7d7264; text-decoration: line-through; cursor: not-allowed; }
.calendrier__choix { font-size: var(--t-s); color: var(--or-clair); margin: 0.5rem 0 0; }


.case { display: flex; gap: 0.75rem; align-items: flex-start; font-size: var(--t-s); cursor: pointer; }
.case input { width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; accent-color: var(--or); flex-shrink: 0; }

.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--filet);
}
.form__actions [data-suivant], .form__actions [data-envoyer] { margin-left: auto; }
.form__erreur-envoi {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid #E07A7A;
  color: #F2A7A7;
}
.form__erreur-envoi a { color: var(--creme); }

.recap { display: grid; gap: 1rem; }
.recap__bloc { border: 1px solid var(--filet); padding: 1rem 1.25rem; }
.recap__entete { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.5rem; }
.recap__entete h3 { font-size: 1.15rem; margin: 0; }
.recap__modifier { background: none; border: 0; color: var(--or); font: inherit; font-size: var(--t-s); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; min-height: 2.75rem; }
.recap dl { margin: 0; display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 0.35rem 1rem; font-size: var(--t-s); }
.recap dt { color: var(--creme-2); }
.recap dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
@media (max-width: 500px) { .recap dl { grid-template-columns: 1fr; } .recap dd { margin-bottom: 0.4rem; } }

.confirmation {
  text-align: center;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 4vw, 2.5rem);
  background: var(--ebene);
  border: 1px solid var(--or);
  scroll-margin-top: calc(var(--entete-h) + 1rem);
}
.confirmation__carte {
  width: 5rem;
  height: 7rem;
  margin: 0 auto 1.5rem;
  border: 1px solid var(--or);
  border-radius: 8px;
  background: var(--creme);
  color: var(--grenat);
  display: grid;
  place-items: center;
  font-family: var(--f-titre);
  font-size: 1.8rem;
  animation: carte-apparait 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes carte-apparait {
  from { opacity: 0; transform: rotateY(90deg) translateY(10px); }
  to { opacity: 1; transform: none; }
}
.confirmation h2 { font-size: var(--t-xl); }
.confirmation h2:focus { outline: none; }
.confirmation p { margin-inline: auto; color: var(--creme-2); }
.confirmation strong { color: var(--creme); font-weight: 500; }
.confirmation__demo { margin: 1.5rem auto 0; padding: 0.75rem 1rem; border: 1px dashed var(--or); font-size: var(--t-s); max-width: 40ch; color: var(--or-clair) !important; }
.confirmation .btn { margin-top: 1.5rem; }

.contact-direct { position: sticky; top: calc(var(--entete-h) + 1.5rem); }
.contact-direct__bloc { padding: 1.5rem; border: 1px solid var(--filet); margin-bottom: 1.5rem; }
.contact-direct__bloc h2 { font-size: var(--t-l); }
.contact-direct ul { list-style: none; margin: 0; padding: 0; }
.contact-direct li { padding-block: 0.6rem; border-bottom: 1px solid var(--filet); }
.contact-direct li:last-child { border-bottom: 0; }
.contact-direct__libelle { display: block; font-size: var(--t-xs); color: var(--creme-2); }
.contact-direct a { color: var(--creme); text-decoration: none; font-size: 1.05rem; overflow-wrap: anywhere; }
.contact-direct a:hover { color: var(--or-clair); text-decoration: underline; }
@media (max-width: 960px) { .contact-direct { position: static; } }

.faq { margin-top: 1.5rem; }
.faq details { border-bottom: 1px solid var(--filet); }
.faq details:first-child { border-top: 1px solid var(--filet); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
  cursor: pointer;
  font-family: var(--f-titre);
  font-size: 1.15rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--or); font-family: var(--f-texte); font-size: 1.4rem; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--creme-2); padding-bottom: 1rem; margin: 0; }

/* 20. MENTIONS LÉGALES ET 404 ========================================= */
.texte-legal { max-width: 46rem; }
.texte-legal h2 { font-size: var(--t-xl); margin-top: 2.5rem; }
.texte-legal p, .texte-legal li { color: var(--creme-2); }
.texte-legal strong { color: var(--creme); font-weight: 500; }

.page-404 { min-height: 80svh; display: grid; place-items: center; text-align: center; padding-top: var(--entete-h); }
.page-404 p { margin-inline: auto; color: var(--creme-2); }
