/* ==========================================================
   Yin Xin — feuille de style
   Palette : douce, naturelle, chaleureuse, élégante
   ========================================================== */

:root {
  --brun: #4A342C;        /* titres, menu, textes importants */
  --ecru: #F7F3EC;        /* fond principal */
  --beige: #D8C6A5;       /* lignes, séparateurs, fonds secondaires */
  --terracotta: #C87D65;  /* accent : boutons, liens, appels à l'action */
  --sauge: #A8B0A0;       /* détails ponctuels, nature */

  --texte: #5C463D;       /* brun adouci pour le texte courant */
  --beige-clair: #EFE6D6; /* fond secondaire très léger */
  --terracotta-fonce: #B06A53;

  --police-titre: "Cormorant Garamond", Georgia, serif;
  --police-script: "Allison", "Segoe Script", cursive;
  --police-texte: "Jost", "Helvetica Neue", Arial, sans-serif;

  --largeur: 1100px;
  --rayon: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--ecru);
  color: var(--texte);
  font-family: var(--police-texte);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.75;
}

img { max-width: 100%; display: block; }

a { color: var(--terracotta); text-decoration: none; transition: color .2s; }
a:hover { color: var(--terracotta-fonce); }

h1, h2, h3 {
  font-family: var(--police-titre);
  color: var(--brun);
  font-weight: 500;
  line-height: 1.2;
}

h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: .5rem; }
h3 { font-size: 1.5rem; margin-bottom: .5rem; }

.conteneur {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- En-tête & navigation ---------- */

.entete {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 243, 236, .94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--beige);
}

.entete .conteneur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.logo {
  font-family: var(--police-titre);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--brun);
  letter-spacing: .08em;
}
.logo:hover { color: var(--brun); }
.logo span { color: var(--terracotta); }
.logo img {
  height: 58px;
  width: auto;
}

.banniere-accueil {
  display: block;
  width: min(640px, 100%);
  margin: 0 auto 2.5rem;
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(74, 52, 44, .12);
}
.banniere-accueil img { width: 100%; height: auto; }

.menu-bascule { display: none; }
.menu-icone { display: none; cursor: pointer; padding: .5rem; }
.menu-icone span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brun);
  margin: 5px 0;
}

.nav ul { list-style: none; display: flex; gap: 2rem; align-items: center; }
.nav a {
  color: var(--brun);
  font-size: .9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 400;
}
.nav a:hover { color: var(--terracotta); }

/* ---------- Boutons ---------- */

.bouton {
  display: inline-block;
  background: var(--terracotta);
  color: var(--ecru);
  padding: .85rem 2rem;
  border: 1px solid var(--terracotta);
  border-radius: var(--rayon);
  font-family: var(--police-texte);
  font-size: .9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 400;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.bouton:hover { background: var(--terracotta-fonce); border-color: var(--terracotta-fonce); color: var(--ecru); }

.bouton-contour { background: transparent; color: var(--terracotta); }
.bouton-contour:hover { background: var(--terracotta); color: var(--ecru); }

.nav .bouton { color: var(--ecru); padding: .6rem 1.4rem; }

/* ---------- Bandeau d'accueil ---------- */

.accueil {
  padding: 2rem 0 3rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(216, 198, 165, .35), transparent 60%),
    radial-gradient(ellipse at 85% 100%, rgba(168, 176, 160, .22), transparent 55%),
    var(--ecru);
}

.surtitre {
  display: block;
  font-size: .85rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}

.accueil h1 {
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
}
.accueil h1 em { color: var(--terracotta); font-style: italic; }
.accueil h1.titre-script {
  font-family: var(--police-script);
  font-size: clamp(4.75rem, 14vw, 8.5rem);
  line-height: 1;
}
.accueil h1.titre-script em { font-style: normal; }
.accueil h1.titre-script { margin-bottom: 1rem; }

.piliers {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(640px, 100%);
  margin: -1.25rem auto 2.5rem;
  padding: .9rem 0;
  border-top: 1px solid var(--beige);
  border-bottom: 1px solid var(--beige);
}
.piliers li {
  font-size: clamp(.62rem, 2.2vw, .85rem);
  letter-spacing: clamp(.06em, .6vw, .16em);
  text-transform: uppercase;
  color: var(--brun);
  white-space: nowrap;
}
.piliers li + li::before { content: none; }
.piliers .point {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
}

.accueil p {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 1.15rem;
}
.accueil p:last-child { margin-bottom: 0; }

.accueil .actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */

.section { padding: 3.5rem 0; }
.section-alt { background: var(--beige-clair); }

.section-titre { text-align: center; margin-bottom: 2rem; }
.section-titre p { max-width: 620px; margin: 1rem auto 0; }

.separateur {
  width: 60px;
  height: 1px;
  background: var(--beige);
  margin: 1rem auto 0;
  position: relative;
}
.separateur::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--sauge);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* ---------- Activités ---------- */

.grille-activites {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.carte {
  background: var(--ecru);
  border: 1px solid var(--beige);
  border-radius: var(--rayon);
  padding: 2.5rem 2rem;
  transition: transform .3s, box-shadow .3s;
}
.carte:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(74, 52, 44, .08); }

.carte-icone {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(168, 176, 160, .25);
  color: var(--brun);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
}
.carte-icone svg { width: 26px; height: 26px; }
.carte-icone img { width: auto; height: 34px; }

.grille-activites { max-width: 1100px; margin: 0 auto; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grille-activites .carte { padding: 1.5rem 1.25rem; }
.grille-activites .carte { text-align: center; }
.grille-activites .carte h3 { font-weight: 700; }
.grille-activites .carte-icone { margin: 0 auto 1.25rem; width: 64px; height: 64px; background: rgba(216, 198, 165, .3); }

.carte .public {
  display: block;
  margin-top: 1rem;
  font-size: .85rem;
  letter-spacing: .08em;
  color: var(--terracotta);
}

/* ---------- Parcours ---------- */

.parcours {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

.parcours-visuel { position: sticky; top: 110px; }

.identite { text-align: center; margin-top: 1.75rem; }
.identite-nom {
  font-family: var(--police-titre);
  font-size: 2rem;
  color: var(--brun);
  letter-spacing: .04em;
}
.identite-role { color: var(--terracotta); font-size: clamp(.7rem, 3.5vw, .95rem); white-space: nowrap; margin-top: .25rem; }
.identite-formation { font-size: .85rem; letter-spacing: .04em; margin-top: .25rem; }

.parcours-texte h3 { margin-top: 1.75rem; font-size: 1.6rem; }

.signature {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--beige);
  font-family: var(--police-titre);
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--brun);
}
.signature em { color: var(--terracotta); }

.portrait {
  aspect-ratio: 4 / 5;
  border-radius: 200px 200px var(--rayon) var(--rayon);
  background: linear-gradient(160deg, var(--beige), var(--sauge));
  display: grid;
  place-items: center;
  color: var(--ecru);
  font-family: var(--police-titre);
  font-size: 1.1rem;
  font-style: italic;
  overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

.illustration { margin: 1.75rem 0; }
.illustration img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--rayon);
  box-shadow: 0 10px 30px rgba(74, 52, 44, .08);
}
.illustration figcaption {
  margin-top: .75rem;
  font-family: var(--police-titre);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--texte);
  text-align: center;
}

.parcours-texte p { margin-bottom: 1.25rem; }

.citation {
  font-family: var(--police-titre);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--brun);
  border-left: 2px solid var(--terracotta);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
}

.etapes { list-style: none; margin-top: 1.5rem; }
.etapes li {
  padding: .75rem 0 .75rem 1.75rem;
  border-bottom: 1px solid var(--beige);
  position: relative;
}
.etapes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sauge);
}
.etapes strong { color: var(--brun); font-weight: 500; }
.etapes li:last-child { border-bottom: none; }

/* ---------- Horaires ---------- */

.tableau-horaires {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  border-collapse: collapse;
  background: var(--ecru);
  border-radius: var(--rayon);
  overflow: hidden;
}
.tableau-horaires th,
.tableau-horaires td { padding: 1.1rem 1.5rem; text-align: left; }
.tableau-horaires thead th {
  background: var(--brun);
  color: var(--ecru);
  font-weight: 400;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tableau-horaires tbody tr { border-bottom: 1px solid var(--beige); }
.tableau-horaires tbody tr:last-child { border-bottom: none; }
.tableau-horaires td:first-child { color: var(--brun); font-weight: 500; }

.note { text-align: center; margin-top: 2rem; font-size: .95rem; }
.accueil-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  max-width: 640px;
  margin: 1.5rem auto 0;
}
.accueil-note .note-icone { height: 60px; width: auto; flex-shrink: 0; }
.accueil-note .note { text-align: left; margin: 0; }

/* ---------- Rendez-vous hebdomadaire ---------- */

.rendez-vous {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: #FBF8F3;
  border: 1px solid var(--beige);
  border-radius: var(--rayon);
  padding: 2rem 2rem;
}
.rdv-jour {
  font-size: .9rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.rdv-heure {
  font-family: var(--police-titre);
  font-size: clamp(2.75rem, 7vw, 3.75rem);
  color: var(--brun);
  line-height: 1.2;
  margin: .25rem 0 1rem;
}
.rdv-atelier { color: var(--brun); font-weight: 400; }
.rdv-lieu {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--beige);
  font-size: .95rem;
}

/* ---------- Tarifs ---------- */

.grille-tarifs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 640px;
  margin: 0 auto;
}
.tarif {
  background: var(--ecru);
  border: 1px solid var(--beige);
  border-radius: var(--rayon);
  padding: 1.75rem 1.25rem;
  text-align: center;
}
.tarif h3 { font-weight: 700; font-size: 1.4rem; }
.tarif-prix {
  font-family: var(--police-titre);
  font-size: 2.75rem;
  color: var(--terracotta);
  line-height: 1.2;
  margin: .5rem 0;
}
.tarif-detail { font-size: .95rem; }
.tarif-vedette { border-color: var(--terracotta); }

/* ---------- Lieux & contact ---------- */

.grille-lieux {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.bloc-info h3 { display: flex; align-items: center; gap: .6rem; }
.bloc-info h3 svg { width: 22px; height: 22px; color: var(--sauge); flex-shrink: 0; }
.bloc-info + .bloc-info { margin-top: 1.75rem; }
.bloc-info address { font-style: normal; }

.liste-contact { list-style: none; }
.liste-contact li { padding: .4rem 0; }
.liste-contact span { color: var(--brun); font-weight: 400; display: inline-block; min-width: 110px; }
.liste-contact li { display: flex; align-items: center; }
.liste-contact .icone-contact {
  min-width: 0;
  width: 36px;
  height: 36px;
  margin-right: .9rem;
  border-radius: 50%;
  background: rgba(168, 176, 160, .25);
  color: var(--brun);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.icone-contact svg { width: 18px; height: 18px; }
.mobile-seulement { display: none; }

.visuellement-cache {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.liste-contact .ligne-metro {
  min-width: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  text-align: center;
  line-height: 26px;
  font-size: .8rem;
  font-weight: 500;
  margin-right: .6rem;
}
.liste-contact .ligne-13 { background: #98D4E2; color: var(--brun); }
.liste-contact .ligne-12 { background: #00814F; color: var(--ecru); }

.aide { font-size: .9rem; margin-top: .9rem; color: var(--terracotta); }

.carte-plan {
  border: 1px solid var(--beige);
  border-radius: var(--rayon);
  overflow: hidden;
  min-height: 340px;
}
.carte-plan iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; filter: sepia(.25) saturate(.8); }

/* ---------- Appel à l'action ---------- */

.cta {
  background: var(--brun);
  color: var(--beige);
  text-align: center;
  padding: 2.5rem 0;
}
.cta h2 { color: var(--ecru); font-size: clamp(1.75rem, 3.5vw, 2.25rem); margin-bottom: 1.25rem; }
.cta p { max-width: 540px; margin: .5rem auto 1.25rem; }

/* ---------- Pied de page ---------- */

.pied {
  border-top: 1px solid var(--beige);
  padding: 2.5rem 0;
  font-size: .9rem;
  text-align: center;
}
.pied .logo { display: inline-block; margin-bottom: .75rem; }
.pied .logo img { height: 80px; }

/* ---------- Page inscription ---------- */

.entete-page {
  padding: 3rem 0 2rem;
  text-align: center;
}
.entete-page h1 { font-size: clamp(2.5rem, 6vw, 3.75rem); font-weight: 400; }
.entete-page p { max-width: 600px; margin: 1rem auto 0; }

.formulaire {
  max-width: 760px;
  margin: 0 auto 3.5rem;
  background: #FBF8F3;
  border: 1px solid var(--beige);
  border-radius: var(--rayon);
  padding: 3rem;
}

.formulaire fieldset { border: none; margin-bottom: 2.5rem; }
.formulaire legend {
  font-family: var(--police-titre);
  font-size: 1.5rem;
  color: var(--brun);
  margin-bottom: 1.25rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--beige);
  width: 100%;
}

.ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.champ { margin-bottom: 1.25rem; }
.champ label { display: block; color: var(--brun); font-weight: 400; font-size: .95rem; margin-bottom: .35rem; }
.champ label .requis { color: var(--terracotta); }

.champ input,
.champ select,
.champ textarea {
  width: 100%;
  padding: .8rem 1rem;
  background: var(--ecru);
  border: 1px solid var(--beige);
  border-radius: var(--rayon);
  font-family: var(--police-texte);
  font-size: 1rem;
  font-weight: 300;
  color: var(--brun);
  transition: border-color .2s, box-shadow .2s;
}
.champ textarea { min-height: 130px; resize: vertical; }
.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(200, 125, 101, .15);
}

.choix { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .75rem; }
.choix label {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .8rem 1rem;
  border: 1px solid var(--beige);
  border-radius: var(--rayon);
  background: var(--ecru);
  cursor: pointer;
  color: var(--texte);
  font-weight: 300;
  transition: border-color .2s;
}
.choix label:hover { border-color: var(--terracotta); }
.choix input { accent-color: var(--terracotta); width: 18px; height: 18px; }

.consentement { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.consentement input { accent-color: var(--terracotta); width: 18px; height: 18px; margin-top: .35rem; flex-shrink: 0; }

.formulaire .bouton { width: 100%; padding: 1rem; font-size: 1rem; }

.piege { position: absolute; left: -9999px; }

/* ---------- Page merci ---------- */

.merci { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 3rem 0; }
.merci h1 { font-size: clamp(2.5rem, 6vw, 3.75rem); font-weight: 400; margin-bottom: 1rem; }
.merci p { max-width: 520px; margin: 0 auto 2rem; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .menu-icone { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ecru);
    border-bottom: 1px solid var(--beige);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav ul { flex-direction: column; gap: 0; padding: .5rem 1.5rem 1.5rem; align-items: stretch; }
  .nav li { padding: .75rem 0; border-bottom: 1px solid var(--beige-clair); }
  .nav li:last-child { border-bottom: none; padding-top: 1rem; }
  .nav .bouton { display: block; text-align: center; }
  .menu-bascule:checked ~ .nav { max-height: 420px; }

  .parcours, .grille-lieux { grid-template-columns: 1fr; gap: 2rem; }
  .grille-activites { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
  .grille-tarifs { grid-template-columns: 1fr; max-width: 420px; }
  .parcours-visuel { position: static; }
  .portrait { max-width: 360px; margin: 0 auto; width: 100%; }
}

@media (max-width: 600px) {
  .section { padding: 2.5rem 0; }
  .accueil { padding: 1.5rem 0 2.5rem; }
  .ligne { grid-template-columns: 1fr; gap: 0; }
  .grille-activites { grid-template-columns: 1fr; }
  .mobile-seulement { display: inline; }
  .formulaire { padding: 2rem 1.25rem; }
  .tableau-horaires th, .tableau-horaires td { padding: .9rem .75rem; font-size: .92rem; }
}
