:root {
  --ink: #1f1b17;
  --muted: #6f685f;
  --paper: #f7f3ec;
  --card: #fffaf3;
  --line: rgba(31, 27, 23, 0.14);
  --accent: #b56b45;
  --accent-dark: #593726;
  --shadow: 0 22px 56px rgba(31, 27, 23, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(247, 243, 236, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 1rem;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 30px);
  font-size: 0.88rem;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  opacity: 0.84;
  transition: opacity 180ms ease;
}

nav a:hover {
  opacity: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.74fr);
  gap: clamp(20px, 3.2vw, 42px);
  align-items: center;
  min-height: calc(100svh - 74px);
  padding: clamp(44px, 7vw, 96px) clamp(20px, 5vw, 72px) clamp(56px, 7vw, 104px);
}

.hero-copy {
  max-width: 620px;
  justify-self: end;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.9rem, 7vw, 6.9rem);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 4.8vw, 4.7rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.03rem;
  letter-spacing: -0.01em;
}

.intro {
  max-width: 560px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
}

.button,
button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fffaf3;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover,
button:hover {
  transform: translateY(-1px);
  background: var(--accent-dark);
}

.hero-media {
  position: relative;
  justify-self: end;
  overflow: hidden;
  width: min(100%, 480px);
  aspect-ratio: 4 / 5;
  min-height: 520px;
  border-radius: 40px;
  box-shadow: var(--shadow);
  background: #dfd8cf;
}

.hero-media::after,
.image-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.16), transparent 34%, rgba(255, 255, 255, 0.07) 70%, transparent);
}

.hero-media img {
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center top;
  filter: contrast(0.98) brightness(1.01) saturate(0.97);
}

.section {
  padding: clamp(58px, 8vw, 110px) clamp(20px, 5vw, 72px);
}

.course-info {
  max-width: 940px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.course-info p {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.1rem;
}

.course-info h2 {
  max-width: 820px;
}

.image-band {
  position: relative;
  overflow: hidden;
  width: min(760px, calc(100% - clamp(40px, 10vw, 144px)));
  margin: 0 auto;
  border-radius: 34px;
  background: #e7ded3;
  box-shadow: var(--shadow);
}

.image-band img {
  height: clamp(190px, 26vw, 330px);
  object-fit: cover;
  filter: contrast(0.98) brightness(1.04) saturate(0.92);
}

.prep {
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
}

.prep p {
  color: var(--muted);
  max-width: 760px;
}

.prep {
  padding-top: clamp(52px, 7vw, 88px);
  padding-bottom: clamp(52px, 7vw, 88px);
}

.prep::before {
  content: "";
  display: block;
  width: 86px;
  height: 1px;
  margin-bottom: 30px;
  background: var(--accent);
}

.schedule {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.95fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}

.schedule-card {
  padding: 16px;
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 19px 14px;
  border-bottom: 1px solid var(--line);
}

.row:last-child {
  border-bottom: 0;
}

.row span {
  color: var(--muted);
}

.location {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.location-text {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.95fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 110px;
}

.email-card {
  padding: clamp(26px, 4vw, 42px);
}

.email-card a {
  display: inline-block;
  margin: 6px 0 18px;
  color: var(--ink);
  font-size: clamp(1.28rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  overflow-wrap: anywhere;
}

.email-label {
  margin-bottom: 6px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.email-card p:last-child {
  margin-bottom: 0;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.18, 1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero,
  .schedule,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    justify-self: stretch;
    width: 100%;
    min-height: 430px;
  }

  .hero-media img {
    min-height: 430px;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 16px 18px;
  }

  .hero,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-media,
  .image-band {
    border-radius: 28px;
  }

  .image-band {
    width: calc(100% - 36px);
  }

  .row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  button {
    width: 100%;
  }
}

/* Ajustements demandés */
body {
  font-size: 1.06rem;
}

nav {
  font-size: 0.94rem;
}

.eyebrow {
  font-size: 0.82rem;
}

h1 {
  font-size: clamp(3.2rem, 7.4vw, 7.2rem);
}

h2 {
  font-size: clamp(2.25rem, 5vw, 4.9rem);
}

h3 {
  font-size: 1.12rem;
}

.intro,
.course-info p,
.prep p,
.location-text,
.contact-copy p,
.schedule-note,
.review-card p {
  font-size: 1.08rem;
}

.hero {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: clamp(16px, 2.4vw, 34px);
}

.hero-copy {
  max-width: 700px;
}

.hero-media {
  width: min(100%, 450px);
}

.image-band {
  width: min(600px, calc(100% - clamp(40px, 12vw, 180px)));
  border-radius: 30px;
}

.image-band img {
  height: clamp(160px, 22vw, 250px);
}

.schedule-note {
  max-width: 540px;
  color: var(--muted);
}

.reviews {
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.reviews h2 {
  max-width: 840px;
}

.reviews-frame {
  position: relative;
  overflow: hidden;
  margin-top: 34px;
}

.reviews-frame::before,
.reviews-frame::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 2;
  width: 80px;
  height: 100%;
  pointer-events: none;
}

.reviews-frame::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper), rgba(247, 243, 236, 0));
}

.reviews-frame::after {
  right: 0;
  background: linear-gradient(270deg, var(--paper), rgba(247, 243, 236, 0));
}

.reviews-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: reviews-scroll 34s linear infinite;
}

.reviews-frame:hover .reviews-track {
  animation-play-state: paused;
}

.review-card {
  flex: 0 0 clamp(280px, 31vw, 380px);
  min-height: 245px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 14px 38px rgba(31, 27, 23, 0.055);
}

.review-card p {
  color: var(--muted);
}

.review-card .stars {
  margin-bottom: 18px;
  color: var(--accent-dark);
  letter-spacing: 0.12em;
  font-size: 1.04rem;
}

.review-card span {
  display: inline-block;
  margin-top: 8px;
  font-weight: 800;
}

@keyframes reviews-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 9px));
  }
}

.location {
  text-align: left;
}

.location .eyebrow,
.location h2,
.location-text {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.location-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 820px;
  margin: 26px auto 22px;
  padding: 0;
  list-style: none;
}

.location-list li {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.72);
  color: var(--ink);
  font-size: 1rem;
}

.location-text.small {
  font-size: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .reviews-track {
    animation: none;
  }
}

@media (max-width: 880px) {
  .hero {
    gap: 28px;
  }

  .hero-copy {
    justify-self: start;
  }

  .hero-media {
    width: min(100%, 430px);
    justify-self: start;
  }

  .reviews-track {
    animation-duration: 42s;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 1rem;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .image-band {
    width: calc(100% - 72px);
  }

  .review-card {
    flex-basis: 285px;
  }

  .reviews-frame::before,
  .reviews-frame::after {
    width: 36px;
  }
}
