/* ------------------------------------------------------------------
   Yoga — Adèle Millerand
   Palette tirée de l'affiche : les verts du feuillage et le jaune des
   fleurs passent devant, le bleu reste en accent.
   ------------------------------------------------------------------ */

:root {
  --brume:      #EDF0EA;
  --brume-forte:#DFE6DA;
  --encre:      #22322F;
  --encre-doux: #52635E;
  --sauge:      #74896B;
  --bleu:       #5B7C99;
  --miel:       #D9A441;
  --blanc:      #FBFCF9;

  --mesure: 34rem;
  --page: 68rem;
  --marge: clamp(1.25rem, 5vw, 4rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--brume);
  color: var(--encre);
  font-family: "Karla", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.1875rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
}

a { color: inherit; }

.evitement {
  position: absolute;
  left: -9999px;
  background: var(--encre);
  color: var(--blanc);
  padding: 0.75rem 1rem;
  z-index: 50;
}
.evitement:focus { left: 0.5rem; top: 0.5rem; }

:focus-visible {
  outline: 3px solid var(--bleu);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- en-tête ---------- */

.entete {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  align-items: baseline;
  justify-content: space-between;
  padding: 1.5rem var(--marge) 0;
  max-width: var(--page);
  margin: 0 auto;
}

.entete__nom {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
}

.entete__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9375rem;
}

.entete__nav a {
  text-decoration: none;
  color: var(--encre-doux);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.entete__nav a:hover { color: var(--encre); border-bottom-color: var(--sauge); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  z-index: 0;
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) var(--marge) clamp(2rem, 6vw, 4rem);
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 56rem) {
  .hero { grid-template-columns: 1.15fr 0.85fr; }
}

.hero__texte { position: relative; z-index: 1; }

.hero__sur {
  margin: 0 0 0.75rem;
  color: var(--sauge);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.75rem, 8vw, 4.75rem);
  font-optical-sizing: auto;
  margin-bottom: 1.25rem;
}

.hero h1 span { display: block; color: var(--bleu); }

.hero__accroche {
  max-width: var(--mesure);
  margin: 0 0 2rem;
  color: var(--encre-doux);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin: 0;
}

.bouton {
  display: inline-block;
  background: var(--miel);
  color: var(--encre);
  text-decoration: none;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: 2rem;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.bouton:hover { background: #E3B257; transform: translateY(-1px); }

.bouton--simple {
  background: transparent;
  color: var(--encre-doux);
  border: 1px solid var(--brume-forte);
  font-weight: 400;
}
.bouton--simple:hover { background: var(--brume-forte); color: var(--encre); transform: none; }

.hero__image {
  position: relative;
  margin: 0;
  justify-self: center;
  max-width: 26rem;
  width: 100%;
}

.hero__image img {
  display: block;
  width: 100%;
  height: auto;
}

/* une brindille posée au pied de l'illustration */
.hero__image::after {
  content: "";
  position: absolute;
  bottom: 0.5rem; left: -1.5rem;
  width: 4rem; height: 6rem;
  background: url("images/deco/brindille-verte.svg") no-repeat bottom center / contain;
  pointer-events: none;
}

/* nuages pâles repris des taches de l'affiche */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.hero::before {
  top: 0; right: -7rem;
  width: 30rem; height: 20rem;
  background-image: url("images/deco/nuage-vert.svg");
}

.hero::after {
  bottom: -1rem; left: -9rem;
  width: 20rem; height: 14rem;
  background-image: url("images/deco/nuage-vert.svg");
  opacity: 0.7;
}

/* le souffle : une respiration lente derrière le titre (4 s d'inspiration,
   4 s d'expiration) — seul mouvement de la page */
.souffle {
  position: absolute;
  top: 12%;
  left: calc(var(--marge) - 5rem);
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(116, 137, 107, 0.28), rgba(116, 137, 107, 0) 68%);
  animation: souffle 9s ease-in-out infinite;
  pointer-events: none;
}

@keyframes souffle {
  0%, 100% { transform: scale(0.85); opacity: 0.75; }
  45%      { transform: scale(1.12); opacity: 1; }
  55%      { transform: scale(1.12); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .souffle { animation: none; }
  .bouton { transition: none; }
}

/* ---------- message d'information ---------- */

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

.message p {
  margin: 0;
  background: var(--blanc);
  border-left: 4px solid var(--miel);
  border-radius: 0 0.75rem 0.75rem 0;
  padding: 1rem 1.25rem 1rem 3.6rem;
  color: var(--encre-doux);
  background-image: url("images/deco/marguerite-verte.svg");
  background-repeat: no-repeat;
  background-position: 1.1rem center;
  background-size: 1.7rem;
}

/* ---------- sections ---------- */

.section {
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5.5rem) var(--marge);
}

.section {
  position: relative;
  z-index: 0;
}

.section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.section h2::after {
  content: "";
  display: inline-block;
  width: 1.3rem; height: 1.9rem;
  margin-left: 0.6rem;
  vertical-align: -0.45rem;
  background: url("images/deco/brindille-verte.svg") no-repeat bottom center / contain;
}

.section__intro {
  max-width: var(--mesure);
  color: var(--encre-doux);
  margin: 0 0 2.5rem;
}

.texte { max-width: var(--mesure); }
.texte p { margin: 0 0 1.1rem; }
.texte p:last-child { margin-bottom: 0; }

/* ---------- qui suis-je ---------- */

.presentation__bloc {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 52rem) {
  .presentation__bloc:has(.portrait:not([hidden])) {
    grid-template-columns: 1fr 16rem;
  }
}

.portrait { margin: 0; }
.portrait img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  display: block;
}

/* ---------- les cours ---------- */

.cours {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--brume-forte);
  border-block: 1px solid var(--brume-forte);
}

.cours li {
  background: var(--brume);
  padding: 1.75rem 0;
  display: grid;
  gap: 0.25rem 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 48rem) {
  .cours li { grid-template-columns: 15rem 1fr; padding: 2rem 0; }
}

.cours h3 {
  font-size: 1.3125rem;
  color: var(--encre);
}

.cours h3::before {
  content: "";
  display: inline-block;
  width: 1rem; height: 1rem;
  margin-right: 0.45rem;
  vertical-align: -0.05rem;
  background: url("images/deco/feuille-verte.svg") no-repeat center / contain;
}

.cours .pour {
  display: block;
  margin-top: 0.35rem;
  font-family: "Karla", sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--sauge);
}

.cours p {
  margin: 0;
  max-width: var(--mesure);
  color: var(--encre-doux);
}

/* ---------- tarifs ---------- */

.tarifs {
  position: relative;
  margin-top: 3rem;
  max-width: 30rem;
}

.tarifs::after {
  content: "";
  position: absolute;
  right: -0.5rem; bottom: -1rem;
  width: 3.5rem; height: 5rem;
  background: url("images/deco/brindille-verte-fleur.svg") no-repeat bottom center / contain;
  pointer-events: none;
}

.tarifs h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.tarifs ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tarifs li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding: 0.6rem 0;
  border-bottom: 1px dotted var(--brume-forte);
}

.tarifs .prix {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  color: var(--bleu);
  white-space: nowrap;
}

.tarifs__note {
  margin: 1rem 0 0;
  font-size: 0.9375rem;
  color: var(--encre-doux);
}

/* ---------- agenda ---------- */

.semaine {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.semaine span {
  flex: 1;
  text-align: center;
  padding: 0.5rem 0;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--encre-doux);
  background: var(--brume-forte);
  opacity: 0.55;
}

.semaine span.actif {
  background: var(--sauge);
  color: var(--blanc);
  opacity: 1;
  font-weight: 600;
}

.creneaux {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.creneaux li {
  background: var(--blanc);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  align-items: baseline;
}

.creneaux .jour {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  min-width: 7rem;
}

.creneaux .heure {
  color: var(--bleu);
  font-weight: 600;
  min-width: 9rem;
}

.creneaux .quoi { color: var(--encre-doux); }

.creneaux .note {
  flex-basis: 100%;
  font-size: 0.9375rem;
  color: var(--sauge);
}

.dates { margin-top: 3rem; }

.dates h3 { font-size: 1.25rem; margin-bottom: 1rem; }

.dates ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.dates li {
  display: grid;
  gap: 0.25rem 1.5rem;
  grid-template-columns: 1fr;
  padding-left: 2.75rem;
  background: url("images/deco/marguerite-verte.svg") no-repeat left 0.2rem / 1.75rem;
}

@media (min-width: 48rem) {
  .dates li { grid-template-columns: 10rem 1fr; }
}

.dates .quand {
  font-weight: 600;
  color: var(--encre);
}

.dates .titre { font-family: "Fraunces", Georgia, serif; font-size: 1.125rem; }
.dates p { margin: 0.25rem 0 0; color: var(--encre-doux); max-width: var(--mesure); }

/* ---------- lieu ---------- */

.section--lieu .lieu__bloc { max-width: var(--mesure); }

.adresse {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.375rem;
  line-height: 1.4;
  margin: 0 0 1.25rem;
}

.lien {
  color: var(--bleu);
  text-underline-offset: 4px;
}

/* ---------- pied de page ---------- */

.pied {
  position: relative;
  overflow: hidden;
  background: var(--encre);
  color: var(--brume);
  padding: clamp(3rem, 8vw, 5rem) var(--marge);
  margin-top: 2rem;
}

.pied > * {
  max-width: var(--page);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.pied::before {
  content: "";
  position: absolute;
  right: -2rem; bottom: -1.5rem;
  width: 11rem; height: 15rem;
  background: url("images/deco/brindille-verte-fleur.svg") no-repeat bottom center / contain;
  opacity: 0.45;
  z-index: 0;
}

.pied h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); margin-bottom: 1rem; }

.pied__accroche {
  max-width: var(--mesure);
  color: #C3CFC5;
  margin: 0 0 2rem;
}

.pied__coord {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin: 0 0 1.5rem;
}

.pied__coord a {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--miel);
  text-decoration: none;
}
.pied__coord a:hover { text-decoration: underline; text-underline-offset: 6px; }

.pied__reseaux { display: flex; gap: 1.5rem; margin: 0 0 2rem; }
.pied__reseaux a { color: var(--brume); text-underline-offset: 4px; }
.pied__reseaux:not(:has(a:not([hidden]))) { display: none; }

.pied__adresse { color: #9DAE9F; font-size: 0.9375rem; margin: 0; }
