/* Tina Fourrier · Pilates — palette « matin clair » */
:root {
  --ciel: #E6EEF4;
  --brume: #F5F8FA;
  --encre: #1D2B44;
  --encre-doux: #4A5870;
  --soleil: #F4B23E;
  --soleil-fonce: #C9861A;
  --lagon: #2F6F8F;
  --trait: #C9D6E1;
  --serif: "Young Serif", Georgia, serif;
  --sans: "Onest", system-ui, sans-serif;
  --arc: 999px 999px 0 0;
}

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

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

img, video { display: block; max-width: 100%; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h3 { font-size: 1.45rem; }
p { margin: 0; }

a { color: inherit; }
:focus-visible { outline: 3px solid var(--lagon); outline-offset: 3px; border-radius: 4px; }

.demo-note {
  background: var(--encre);
  color: #fff;
  font-size: .85rem;
  text-align: center;
  padding: .5rem 1rem;
}

/* En-tête */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}
.brand { font-family: var(--serif); font-size: 1.4rem; text-decoration: none; }
.top nav { display: flex; align-items: center; gap: 1.5rem; font-size: .95rem; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-cta { border: 1.5px solid var(--encre); border-radius: 999px; padding: .45rem 1rem; }
.top nav a.nav-cta:hover { background: var(--encre); color: #fff; text-decoration: none; }

/* Boutons */
.btn {
  display: inline-block;
  border-radius: 999px;
  padding: .85rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.btn-sun { background: var(--soleil); color: var(--encre); }
.btn-sun:hover { background: var(--soleil-fonce); color: #fff; }
.btn-line { border: 1.5px solid var(--encre); }
.btn-line:hover { background: var(--encre); color: #fff; }
.btn-line-light { border: 1.5px solid rgba(255,255,255,.5); color: #fff; cursor: default; }

/* Hero : la vidéo dans une arche, le soleil se lève derrière */
.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4.5rem;
}
.hero-place { color: var(--lagon); font-weight: 500; margin-bottom: 1.25rem; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); letter-spacing: -.01em; max-width: 12ch; }
.hero-lead { margin-top: 1.5rem; max-width: 34em; color: var(--encre-doux); font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-text { padding-bottom: 2.5rem; }

.hero-arch { position: relative; justify-self: center; width: min(100%, 420px); }
.sun {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--soleil);
  left: 50%;
  top: 0;
  transform: translate(-50%, 18%);
  animation: lever 1.8s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes lever {
  from { transform: translate(-50%, 70%); opacity: 0; }
  to   { transform: translate(-50%, -14%); opacity: 1; }
}
.sun { transform: translate(-50%, -14%); }
@media (prefers-reduced-motion: reduce) { .sun { animation: none; } }

.arch {
  position: relative;
  margin-top: 4.5rem;
  border-radius: var(--arc);
  overflow: hidden;
  aspect-ratio: 9 / 13;
  background: var(--encre);
  box-shadow: 0 0 0 10px var(--ciel);
}
.arch video { width: 100%; height: 100%; object-fit: cover; }
.video-toggle {
  position: absolute;
  right: 1rem;
  bottom: 3.6rem;
  font: 500 .8rem var(--sans);
  background: rgba(29,43,68,.75);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: .45rem .85rem;
  cursor: pointer;
}
.arch-caption { margin-top: .9rem; font-size: .88rem; color: var(--encre-doux); text-align: center; }

/* Paris 2024 */
.paris {
  background: var(--encre);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  align-items: center;
  gap: 3.5rem;
  padding: 4rem max(1.5rem, calc((100vw - 1180px) / 2 + 1.5rem));
}
.paris-photo { margin: 0; }
.paris-photo img { border-radius: var(--arc); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.paris-text h2 { max-width: 16ch; }
.paris-text p { margin-top: 1.25rem; max-width: 36em; color: #D5DEE8; font-size: 1.1rem; }

/* Cours : rangées alternées, pas de cartes */
.cours { max-width: 1180px; margin: 0 auto; padding: 5rem 1.5rem 2rem; }
.cours > h2 { margin-bottom: 2.5rem; }
.offer {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid var(--trait);
}
.offer:last-child { border-bottom: 1px solid var(--trait); }
.offer-img { width: 200px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--arc); }
.offer-body { max-width: 40em; }
.offer-body p { margin-top: .7rem; color: var(--encre-doux); }
.offer-body .offer-meta { color: var(--lagon); font-weight: 500; font-size: .95rem; }

/* Planning */
.planning { max-width: 1180px; margin: 0 auto; padding: 4rem 1.5rem 5rem; }
.planning-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 3rem; }
.planning-head p { max-width: 30em; color: var(--encre-doux); }
.week {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--trait);
  border: 1px solid var(--trait);
  border-radius: 18px;
  overflow: hidden;
}
.day { background: var(--brume); padding: 1.25rem 1.1rem 1.5rem; min-height: 180px; }
.day h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.day-quiet { background: var(--ciel); }
.slot { font-size: .95rem; margin-bottom: 1rem; }
.time { display: block; font-weight: 600; color: var(--encre); }
.where { display: block; font-size: .85rem; color: var(--lagon); }
.slot-free { color: var(--encre-doux); font-style: italic; }
.planning-note { margin-top: 1rem; font-size: .85rem; color: var(--encre-doux); }

/* Parcours */
.parcours {
  background: var(--brume);
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 4rem;
  align-items: start;
  padding: 5rem max(1.5rem, calc((100vw - 1180px) / 2 + 1.5rem));
}
.parcours-photo { margin: 0; position: sticky; top: 2rem; }
.parcours-photo img { border-radius: var(--arc); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.parcours-text > p { margin-top: 1.25rem; max-width: 34em; color: var(--encre-doux); font-size: 1.1rem; }
.timeline { list-style: none; margin: 2.5rem 0 0; padding: 0 0 0 1.5rem; border-left: 2px solid var(--soleil); }
.timeline li { position: relative; padding: 0 0 1.75rem 1rem; max-width: 34em; }
.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1.5rem - 7px);
  top: .45rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--brume);
  border: 2px solid var(--soleil-fonce);
}
.when { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--lagon); }

/* Avis */
.avis { max-width: 1180px; margin: 0 auto; padding: 5rem 1.5rem; }
.avis-empty {
  margin-top: 2rem;
  border: 2px dashed var(--trait);
  border-radius: 18px;
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--encre-doux);
}

/* Contact */
.contact {
  position: relative;
  overflow: hidden;
  background: var(--lagon);
  color: #fff;
  text-align: center;
  padding: 6rem 1.5rem 10rem;
}
.contact-sun {
  position: absolute;
  width: 420px; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--soleil);
  left: 50%; bottom: -330px;
  transform: translateX(-50%);
  opacity: .9;
}
.contact h2, .contact p, .contact-actions { position: relative; }
.contact p { margin: 1.25rem auto 0; max-width: 32em; color: #E3EEF4; font-size: 1.1rem; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2rem; }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  font-size: .88rem;
  color: var(--encre-doux);
}

/* Mobile */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 1rem; padding-top: 1.5rem; }
  .hero-text { padding-bottom: 0; }
  .hero-arch { width: min(100%, 340px); margin-top: 3.5rem; }
  .paris, .parcours { grid-template-columns: 1fr; gap: 2rem; }
  .paris-photo, .parcours-photo { max-width: 320px; position: static; }
  .week { grid-template-columns: 1fr; }
  .day { min-height: 0; }
}
@media (max-width: 640px) {
  .top { flex-direction: column; align-items: flex-start; }
  .top nav { gap: 1rem; flex-wrap: wrap; }
  .offer { grid-template-columns: 1fr; gap: 1.25rem; }
  .offer-img { width: 160px; }
}
