:root {
  /* Polices */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Fonds */
  --paper: #fbf5ef;
  --ivory: #fffaf5;
  --champagne: #ead7bd;
  --mist: #efe8e4;

  /* Accent rose / berry */
  --rose-100: #ffe4ea;
  --rose-300: #f3aeb9;
  --rose-500: #d76d87;
  --rose-700: #9f315e;

  /* Marque & texte (contrastes renforcés AA) */
  --plum: #351729;
  --plum-soft: #5a3148;
  --ink: #231923;
  --muted: #5e4a57;       /* assombri (avant #756571) pour la lisibilité */
  --gold: #b2823f;        /* assombri (avant #c49b5d) */
  --green: #687b5d;

  /* Verre allégé : + d'opacité, - de flou = + lisible */
  --glass: rgba(255, 250, 245, 0.78);
  --glass-strong: rgba(255, 250, 245, 0.92);
  --glass-blur: 16px;

  --line: rgba(53, 23, 41, 0.12);

  /* Ombres douces */
  --shadow: 0 24px 58px rgba(53, 23, 41, 0.12);
  --radius: 14px;
  --scroll-progress: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  background:
    linear-gradient(135deg, rgba(243, 174, 185, 0.22), transparent 34%),
    linear-gradient(225deg, rgba(196, 155, 93, 0.18), transparent 48%),
    linear-gradient(180deg, var(--ivory), var(--paper) 46%, #f4ece6);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  content: "";
  opacity: 0.045;
  background-image:
    linear-gradient(rgba(53, 23, 41, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 23, 41, 0.1) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--ivory), var(--paper) 60%, #f4ece6);
  animation: splash-away 600ms ease 1250ms forwards;
}

.splash__mark {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  animation: splash-rise 760ms cubic-bezier(0.22, 0.8, 0.28, 1) 120ms forwards;
}

.splash__mark img {
  width: clamp(150px, 36vw, 200px);
  height: auto;
  filter: drop-shadow(0 14px 30px rgba(53, 23, 41, 0.12));
}

.splash__mark small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

@keyframes splash-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes splash-away {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* Header fluide : une seule pilule visible. Le menu se masque verticalement, de bas en haut. */
.site-header {
  position: fixed;
  top: 14px;
  left: clamp(22px, 4.8vw, 64px);
  right: auto;
  z-index: 80;
  width: calc(100% - clamp(44px, 9.6vw, 128px));
  padding: 5px clamp(10px, 1.8vw, 18px);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 248, 244, 0.54)),
    rgba(255, 250, 245, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -14px 32px rgba(255, 255, 255, 0.18),
    0 22px 72px rgba(53, 23, 41, 0.11);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  overflow: hidden;
  isolation: isolate;
  background-clip: padding-box;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  backface-visibility: hidden;
  transform: translateZ(0);
  transform-origin: center top;
  clip-path: inset(0 0 0 0 round 20px);
  opacity: 1;
  transition:
    background 300ms ease,
    box-shadow 300ms ease,
    clip-path 560ms cubic-bezier(0.55, 0, 0.1, 1),
    opacity 240ms ease,
    transform 560ms cubic-bezier(0.55, 0, 0.1, 1);
  will-change: transform, clip-path, opacity;
}

.site-header::before,
.site-header::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  border-radius: inherit;
}

.site-header::before {
  background:
    linear-gradient(108deg, transparent 0 12%, rgba(255, 255, 255, 0.74) 28%, transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 54%);
  opacity: 0.92;
  transform: translateX(-10%);
  transition:
    opacity 360ms ease,
    transform 760ms cubic-bezier(0.19, 1, 0.22, 1);
}

.site-header::after {
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    inset 0 0 48px rgba(255, 255, 255, 0.34),
    inset 0 -8px 22px rgba(255, 255, 255, 0.10);
}

.site-header.is-scrolled {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 250, 245, 0.64)),
    rgba(255, 250, 245, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -14px 32px rgba(255, 255, 255, 0.16),
    0 18px 56px rgba(53, 23, 41, 0.13);
}

.site-header.is-condensed {
  opacity: 0;
  clip-path: inset(0 0 100% 0 round 20px);
  transform: translateY(-18px) scale(0.96);
  pointer-events: none;
}

.site-header.is-condensed::before {
  opacity: 0.42;
  transform: translateX(16%);
}

.nav-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(8px, 1vw, 18px);
  width: min(1120px, 100%);
  margin: 0 auto;
  padding-inline: clamp(10px, 1.8vw, 22px);
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  height: 64px;
  padding: 0 4px;
  border-radius: 14px;
}

.brand-pill img {
  height: 52px;
  width: auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 8px 14px rgba(53, 23, 41, 0.12));
  transition: transform 200ms ease;
}

.brand-pill:hover img,
.brand-pill:focus-visible img {
  transform: scale(1.03);
}

.nav-group {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.35vw, 24px);
  min-width: 0;
  transform-origin: center top;
  transition:
    opacity 300ms ease,
    filter 320ms ease,
    clip-path 560ms cubic-bezier(0.55, 0, 0.1, 1),
    transform 560ms cubic-bezier(0.55, 0, 0.1, 1);
  will-change: opacity, filter, clip-path, transform;
}

.nav-group--left {
  justify-content: center;
}

.nav-group--right {
  justify-content: center;
}

.site-header.is-condensed .nav-group {
  opacity: 1;
  filter: none;
  clip-path: inset(0 0 0 0);
  transform: none;
  pointer-events: none;
}

.nav-group a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--plum);
  font-size: clamp(0.9rem, 0.98vw, 1.02rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  transition:
    color 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

.nav-group a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0.34;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-group a:hover,
.nav-group a:focus-visible {
  color: #5a2441;
  transform: translateY(-1px);
}

.nav-group a:hover::after,
.nav-group a:focus-visible::after {
  transform: scaleX(1);
  opacity: 0.82;
}

.scroll-track {
  position: fixed;
  top: 110px;
  right: clamp(12px, 2.2vw, 28px);
  bottom: 70px;
  z-index: 70;
  width: 34px;
  pointer-events: none;
}

.scroll-track::before,
.scroll-track__fill {
  position: absolute;
  left: 50%;
  width: 2px;
  border-radius: 8px;
  content: "";
  transform: translateX(-50%);
}

.scroll-track::before {
  top: 0;
  bottom: 0;
  background: rgba(53, 23, 41, 0.14);
}

.scroll-track__fill {
  top: 0;
  height: calc(var(--scroll-progress) * 100%);
  background: linear-gradient(var(--gold), var(--rose-500), var(--plum));
}

.scroll-track__dot {
  position: absolute;
  top: 0;
  left: 50%;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 32px rgba(53, 23, 41, 0.2);
  transform:
    translate(-50%, calc(var(--scroll-progress) * (100vh - 190px)))
    rotate(calc(var(--scroll-progress) * 540deg));
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero__photo {
  position: absolute;
  inset: -12vh 0;
  z-index: -3;
  background: url("assets/images/backgroubg.JPG") center center / cover no-repeat;
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 250, 245, 0.92) 0 42%, rgba(255, 250, 245, 0.48), rgba(53, 23, 41, 0.38)),
    linear-gradient(0deg, rgba(251, 245, 239, 0.96), rgba(251, 245, 239, 0.08) 48%);
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 5vw, 74px);
  width: min(1180px, calc(100% - 36px));
  margin: auto;
  padding: 128px 0 92px;
  align-items: center;
}

.glass-panel,
.glass-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 32px;
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.glass-panel::before,
.glass-card::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  content: "";
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.52), transparent 44%);
}

.glass-panel > *,
.glass-card > * {
  position: relative;
  z-index: 1;
}

.glass-card {
  border-radius: 16px;
}

.glass-panel {
  border-radius: 18px;
}

.hero__copy {
  position: relative;
  max-width: 720px;
  padding: clamp(24px, 4vw, 52px);
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--rose-700);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--plum);
  font-family: var(--font-display);
  font-size: clamp(3rem, 9.5vw, 6.8rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.hero__copy p:not(.eyebrow) {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.55vw, 1.28rem);
}

.hero__actions,
.contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* Horaires des cours, affichés dès l'arrivée sur le site */
.hero__schedule {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(53, 23, 41, 0.14);
}

.hero__schedule-title {
  margin: 0 0 12px;
  color: var(--rose-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__schedule ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__schedule li {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 0.95rem;
}

.hero__schedule strong {
  color: var(--plum);
  font-weight: 800;
  white-space: nowrap;
}

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

@media (max-width: 520px) {
  .hero__schedule ul {
    grid-template-columns: 1fr;
  }
}

.btn {
  position: relative;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  padding: 0 20px;
  cursor: pointer;
  font-weight: 950;
  isolation: isolate;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.btn::after {
  position: absolute;
  inset: 0 100% 0 -40%;
  z-index: -1;
  content: "";
  background: rgba(255, 255, 255, 0.28);
  transform: skewX(-18deg);
  transition: inset 320ms ease;
}

.btn:hover::after,
.btn:focus-visible::after {
  inset: 0 -40% 0 100%;
}

.btn--dark {
  color: #fff;
  background: linear-gradient(135deg, var(--plum), var(--rose-700));
  box-shadow: 0 18px 46px rgba(53, 23, 41, 0.22);
}

.btn--light {
  color: var(--plum);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(185, 47, 100, 0.18);
}

.hero__polaroids {
  position: relative;
  min-height: 460px;
}

.polaroid {
  position: absolute;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 10px 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  transform:
    translate3d(0, calc(var(--base-y, 0px) + var(--py, 0px)), 0)
    rotate(var(--rot, 0deg))
    perspective(900px)
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    box-shadow 220ms ease,
    filter 220ms ease;
}

.polaroid img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 12px;
}

.polaroid figcaption {
  color: var(--plum);
  font-weight: 950;
  text-align: center;
}

.polaroid:hover {
  filter: saturate(1.08) contrast(1.02);
  box-shadow: 0 36px 110px rgba(53, 23, 41, 0.24);
}

.polaroid::after,
.gallery-grid img::after {
  content: none;
}

.polaroid--front {
  top: 0;
  left: 12%;
  width: min(230px, 50vw);
  aspect-ratio: 0.76 / 1;
  --rot: -4deg;
}

.polaroid--back {
  right: 0;
  bottom: 18px;
  width: min(300px, 64vw);
  aspect-ratio: 1.35 / 1;
  --rot: 5deg;
}

.section {
  position: relative;
  padding: clamp(82px, 11vw, 144px) 0;
}

.section__inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.intro__grid,
.signup__grid,
.about-jade__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
}

.section-title {
  margin: 0;
  color: var(--plum);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 3.7rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.intro__text {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.intro__text p,
.copy {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.photo-band {
  overflow: hidden;
  padding: 18px 0;
  background: rgba(255, 250, 245, 0.52);
  border-block: 1px solid rgba(255, 255, 255, 0.58);
}

.photo-band__track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: photo-roll 34s linear infinite;
}

.photo-band img {
  width: clamp(160px, 20vw, 280px);
  height: 140px;
  border-radius: 16px;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
  box-shadow: 0 16px 44px rgba(53, 23, 41, 0.16);
}

@keyframes photo-roll {
  to {
    transform: translateX(-50%);
  }
}

.section-heading {
  max-width: 900px;
  margin-bottom: 42px;
}

.section-heading--split {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.34fr);
  gap: 28px;
  align-items: end;
}

.heading-note {
  margin: 0 0 8px;
  color: var(--muted);
  font-weight: 800;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.course-card,
.price-card {
  position: relative;
  min-height: 292px;
  padding: 24px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.course-card::after,
.price-card::after {
  content: "";
  display: none;
}

.course-card:hover,
.price-card:hover {
  background: var(--glass-strong);
  box-shadow: 0 34px 90px rgba(53, 23, 41, 0.2);
}

.course-card:hover::after,
.price-card:hover::after {
  opacity: 0.9;
  transform: scale(1);
}

.course-card span,
.price-card span {
  color: var(--plum-soft);
  font-weight: 950;
}

.course-card h3,
.price-card h3,
.signup-form h2,
.contact__panel h2 {
  margin: 48px 0 12px;
  color: var(--plum);
  font-size: clamp(1.3rem, 2vw, 1.76rem);
  line-height: 1.05;
}

.course-card p,
.price-card li,
.signup-form,
.form-note {
  color: var(--muted);
}

.course-card strong {
  display: inline-flex;
  margin-top: 24px;
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--plum);
  background: rgba(234, 215, 189, 0.42);
  font-size: 0.82rem;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.price-card {
  min-height: 360px;
}

.price-card--featured {
  background: rgba(255, 250, 245, 0.74);
  border-color: rgba(196, 155, 93, 0.38);
}

.price-card--pass {
  grid-column: span 2;
  min-height: auto;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 20px;
  color: var(--plum-soft);
}

.price__amount {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.95;
}

.price__unit {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.price-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
}

.price-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 22px;
}

.price-options > div {
  border: 1px solid rgba(53, 23, 41, 0.1);
  border-radius: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.42);
}

.price-options .price {
  margin-bottom: 10px;
}

.price-options strong,
.price-options small {
  display: block;
}

.price-options strong {
  color: var(--plum);
  font-size: 1rem;
}

.price-options small {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 850;
}

/* ----- Tarifs : refonte lisibilité + boutons ----- */
.price-card {
  display: flex;
  flex-direction: column;
  min-height: 380px;
}

.price-card__tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(234, 215, 189, 0.5);
  color: var(--plum-soft);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card h3 {
  margin: 0 0 14px;
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  line-height: 1.12;
}

.price-card h3 em {
  font-style: normal;
  color: var(--rose-700);
}

.price-card ul {
  margin-bottom: 22px;
}

.price-card__cta {
  margin-top: auto;
  width: 100%;
}

/* Carte "à la carte" en pleine largeur, disposition horizontale */
.price-card--pass {
  grid-column: 1 / -1;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  gap: clamp(18px, 3vw, 40px);
  min-height: auto;
}

.price-card__pass-intro {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.price-card__pass-intro .copy {
  margin-top: 12px;
}

.price-card--pass .price-options {
  flex: 2 1 440px;
  margin: 0;
  align-items: stretch;
}

.price-option {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.price-option strong {
  color: var(--plum);
  font-size: 1.05rem;
}

.price-option small {
  margin-bottom: 16px;
}

.price-option__cta {
  margin-top: auto;
  width: 100%;
}

.signup {
  overflow: hidden;
}

.signup::before {
  position: absolute;
  inset: 8% auto auto -14%;
  width: 44vw;
  height: 44vw;
  min-width: 320px;
  min-height: 320px;
  border: 1px solid rgba(53, 23, 41, 0.1);
  border-radius: 50%;
  content: "";
  opacity: 0.5;
}

.signup__media {
  position: relative;
}

.signup__media img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
  filter: saturate(0.92) contrast(1.04);
}

.signup__badge {
  position: absolute;
  right: -20px;
  bottom: 28px;
  display: grid;
  gap: 4px;
  width: min(250px, 72%);
  padding: 18px;
}

.signup__badge strong {
  color: var(--plum);
}

.signup__badge span {
  color: var(--rose-700);
  font-weight: 900;
}

.signup-form {
  padding: clamp(22px, 4vw, 44px);
}

.signup-form h2,
.contact__panel h2 {
  margin-top: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 500;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-grid__wide {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
  color: var(--plum);
  font-size: 0.85rem;
  font-weight: 950;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(53, 23, 41, 0.14);
  border-radius: 10px;
  padding: 14px 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(159, 49, 94, 0.5);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 4px rgba(215, 109, 135, 0.13);
}

textarea {
  resize: vertical;
}

/* Menus déroulants : flèche sur-mesure + rendu soigné (remplace le style natif) */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  font-weight: 600;
  padding-right: 46px;
  background-color: rgba(255, 255, 255, 0.76);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239f315e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
}

select:hover {
  border-color: rgba(159, 49, 94, 0.4);
}

select:focus {
  background-color: rgba(255, 255, 255, 0.92);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239f315e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
}

select option {
  color: var(--ink);
  font-weight: 500;
}

/* Retire la croix native de Firefox et l'ombrage texte iOS */
select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 var(--ink);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

/* ----- Tarif famille : personnes supplémentaires ----- */
.family-people {
  margin: 18px 0 4px;
  padding: 16px 16px 18px;
  border: 1px dashed rgba(159, 49, 94, 0.3);
  border-radius: 14px;
  background: rgba(215, 109, 135, 0.06);
}
.family-people__intro {
  margin: 0 0 12px;
  font-size: 0.92rem;
  color: var(--plum);
  line-height: 1.5;
}
.extra-person {
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(53, 23, 41, 0.1);
}
.extra-person__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--plum);
}
.extra-person__remove {
  width: auto;
  padding: 5px 12px;
  border: 1px solid rgba(159, 49, 94, 0.35);
  border-radius: 999px;
  background: #fff;
  color: var(--rose-700);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}
.extra-person__remove:hover {
  background: var(--rose-700);
  color: #fff;
}
.family-discount-note {
  margin: 6px 0 0;
  padding: 10px 13px;
  border-radius: 10px;
  background: rgba(159, 49, 94, 0.1);
  color: var(--plum);
  font-weight: 700;
  font-size: 0.9rem;
}
#addPersonBtn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-actions .btn {
  min-width: min(210px, 100%);
}

.btn:disabled {
  cursor: wait;
  opacity: 0.64;
}

.form-note {
  margin: 14px 0 0;
  font-size: 0.88rem;
  font-weight: 800;
}

/* Champs du formulaire en deux étapes */
.signup-form label em {
  font-style: normal;
  font-weight: 800;
  color: var(--rose-700);
}

.field-help {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

input[type="file"] {
  padding: 11px 13px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}

input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 9px 14px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--plum), var(--rose-700));
  color: #fff;
  font-weight: 850;
  cursor: pointer;
}

.formule-summary {
  margin: 2px 0 0;
  padding: 13px 15px;
  border-radius: 11px;
  background: rgba(234, 215, 189, 0.42);
  border: 1px solid rgba(196, 155, 93, 0.32);
  color: var(--plum);
  font-size: 0.86rem;
  font-weight: 850;
}

[hidden] {
  display: none !important;
}

.about-jade {
  background:
    linear-gradient(180deg, transparent, rgba(239, 232, 228, 0.88)),
    linear-gradient(120deg, rgba(243, 174, 185, 0.16), transparent 44%);
}

.about-jade__grid {
  align-items: start;
}

.about-jade__story {
  position: sticky;
  top: 130px;
}

.about-jade__story .copy {
  margin-top: 26px;
}

.timeline {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.timeline div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 14px;
  background: rgba(255, 250, 245, 0.58);
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.timeline span {
  color: var(--rose-700);
  font-weight: 950;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

.about-jade__photos {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-content: start;
}

.about-photo {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 7px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  box-shadow: var(--shadow);
  filter: saturate(0.96) contrast(1.04);
  transform:
    perspective(900px)
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg));
}

.about-photo:hover,
.gallery-grid img:hover,
.signup__media img:hover {
  filter: saturate(1.08) contrast(1.04);
}

.about-photo--large {
  grid-column: 2;
  grid-row: 1;
  aspect-ratio: 0.74 / 1;
}

.about-photo--small {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  aspect-ratio: 0.78 / 1;
}

.about-photo--soft {
  grid-column: 2;
  grid-row: 2;
  aspect-ratio: 0.72 / 1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  grid-auto-rows: 210px;
  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
  filter: saturate(0.94) contrast(1.04);
  transition:
    transform 420ms ease,
    filter 420ms ease;
}

.gallery-grid img:hover {
  transform: translateY(-6px) scale(1.015);
}

.gallery-grid img:first-child {
  grid-column: span 2;
}

.gallery-grid img:nth-child(2) {
  grid-row: span 2;
}

.contact {
  padding-top: 40px;
}

.contact__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(24px, 5vw, 46px);
}

.contact__intro {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 44ch;
}

.contact-form .form-grid {
  margin-top: 0;
}

.contact-form .form-actions {
  margin-top: 18px;
}

@media (max-width: 880px) {
  .contact__panel {
    grid-template-columns: 1fr;
  }
}

.contact__links {
  margin-top: 0;
}

.footer {
  padding: clamp(48px, 6vw, 76px) clamp(20px, 5vw, 64px) clamp(22px, 3vw, 34px);
  background: var(--plum);
  color: rgba(255, 252, 249, 0.92);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  width: min(1160px, 100%);
  margin: 0 auto;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer__logo {
  display: inline-flex;
  width: min(180px, 58vw);
}

.footer__logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.footer__tag {
  margin: 0;
  max-width: 320px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer__insta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.footer__insta:hover {
  background: linear-gradient(135deg, var(--rose-500), var(--rose-700));
  border-color: transparent;
  transform: translateY(-2px);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col h4 {
  margin: 0 0 4px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.18rem;
}

.footer__col a {
  width: fit-content;
  color: rgba(255, 252, 249, 0.88);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 160ms ease;
}

.footer__col a:hover {
  color: #fff;
}

.footer__address {
  font-style: normal;
  color: rgba(255, 252, 249, 0.88);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(1160px, 100%);
  margin: clamp(32px, 4vw, 48px) auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.82rem;
}

.footer__bottom a {
  color: rgba(255, 252, 249, 0.92);
  font-weight: 700;
}

.footer__bottom a:hover {
  color: #fff;
}

@media (max-width: 760px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    justify-content: flex-start;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  clip-path: inset(0 0 16% 0 round 12px);
  transition:
    opacity 420ms ease,
    transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1),
    clip-path 560ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0 round 0);
}

.tilt {
  transform:
    translate3d(0, calc(var(--base-y, 0px) + var(--py, 0px)), 0)
    perspective(900px)
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
}

.spark {
  position: fixed;
  z-index: 120;
  pointer-events: none;
  color: var(--rose-700);
  font-size: 18px;
  animation: spark-out 900ms ease-out forwards;
}

@keyframes spark-out {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.75) rotate(0deg);
  }

  18% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--spark-x), -54px, 0) scale(1.35) rotate(44deg);
  }
}

/* =====================================================================
   FORMULAIRE — refonte ergonomique
   ===================================================================== */

/* Indicateur de champ requis */
.req {
  color: var(--rose-700);
  font-weight: 900;
}

.lbl-text {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

/* Étapes numérotées */
.form-step {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--plum);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.form-step--spaced {
  margin-top: 26px;
}

.form-step__num {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--plum), var(--rose-700));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
}

/* Fieldset des formules */
.formule-picker {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
}

.formule-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.formule-card {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}

.formule-card--wide {
  grid-column: 1 / -1;
}

/* On masque le rond radio natif, la carte entière devient le contrôle */
.formule-card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.formule-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  height: 100%;
  padding: 14px 16px;
  border: 1.5px solid rgba(53, 23, 41, 0.14);
  border-radius: var(--r-md, 14px);
  background: rgba(255, 255, 255, 0.66);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.formule-card:hover .formule-card__body {
  border-color: rgba(159, 49, 94, 0.4);
  transform: translateY(-2px);
}

.formule-card input:checked + .formule-card__body {
  border-color: var(--rose-700);
  background: rgba(255, 250, 245, 0.95);
  box-shadow: 0 0 0 3px rgba(215, 109, 135, 0.18), var(--shadow-sm, 0 4px 14px rgba(53, 23, 41, 0.08));
}

.formule-card input:focus-visible + .formule-card__body {
  outline: 2px solid var(--rose-700);
  outline-offset: 2px;
}

.formule-card__name {
  color: var(--plum);
  font-weight: 800;
  font-size: 1rem;
}

.formule-card__desc {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.formule-card__price {
  margin-top: 4px;
  color: var(--rose-700);
  font-weight: 900;
  font-size: 0.92rem;
}

/* Récapitulatif de formule (plus visible) */
.formule-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: var(--r-md, 14px);
  background: rgba(234, 215, 189, 0.5);
  border: 1px solid rgba(196, 155, 93, 0.4);
  color: var(--plum);
  font-size: 0.9rem;
  font-weight: 850;
}

.formule-summary::before {
  content: "✓";
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

/* Honeypot anti-spam : invisible, hors écran, ignoré du lecteur d'écran */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Consentement RGPD */
.consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.5;
}

.consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--rose-700);
  cursor: pointer;
}

.consent a,
.form-required-note a {
  color: var(--rose-700);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-required-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Boutons d'action empilés (titre + sous-titre) */
.btn--stacked {
  flex-direction: column;
  gap: 2px;
  min-height: 60px;
  padding: 10px 22px;
  line-height: 1.2;
}

.btn__title {
  font-size: 1rem;
  font-weight: 900;
}

.btn__sub {
  font-size: 0.74rem;
  font-weight: 700;
  opacity: 0.85;
}

/* Messages d'erreur inline */
.field-error {
  display: block;
  margin-top: 2px;
  color: #b21d4f;
  font-size: 0.8rem;
  font-weight: 800;
}

.formule-picker .field-error {
  margin-top: 8px;
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  border-color: #d4396b;
  background: rgba(255, 240, 244, 0.9);
}

.formule-picker.is-invalid .formule-card__body {
  border-color: rgba(212, 57, 107, 0.5);
}

.consent input.is-invalid {
  outline: 2px solid #d4396b;
  outline-offset: 2px;
}

@media (max-width: 540px) {
  .formule-cards {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   SECTION L'ÉCOLE — points forts (comble le vide)
   ===================================================================== */
.intro__grid {
  align-items: start;
}

.intro__highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.intro__highlights li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 18px;
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.7));
  border-radius: var(--r-md, 14px);
  background: rgba(255, 250, 245, 0.7);
  box-shadow: var(--shadow-sm, 0 4px 14px rgba(53, 23, 41, 0.08));
}

.intro__highlights strong {
  color: var(--plum);
  font-size: 1.05rem;
  font-weight: 800;
}

.intro__highlights span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

/* =====================================================================
   TARIFS — séparation résidents / extérieurs
   ===================================================================== */
.price-intro {
  max-width: 760px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.price-intro strong {
  color: var(--plum);
}

.price-groups {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}

.price-group {
  padding: clamp(18px, 2.5vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--r-xl, 24px);
  background: rgba(255, 250, 245, 0.4);
}

.price-group--resident {
  border-color: rgba(104, 123, 93, 0.35);
  background: linear-gradient(180deg, rgba(117, 136, 106, 0.1), rgba(255, 250, 245, 0.35));
}

.price-group--outside {
  border-color: rgba(196, 155, 93, 0.3);
  background: linear-gradient(180deg, rgba(196, 155, 93, 0.1), rgba(255, 250, 245, 0.35));
}

.price-group__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.price-group__badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-group__badge--outside {
  background: var(--gold);
}

.price-group__titles h3 {
  margin: 0;
  color: var(--plum);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.1;
}

.price-group__titles p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.price-grid--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.price-grid--solo {
  grid-template-columns: 1fr;
  margin-top: clamp(20px, 3vw, 32px);
}

.price-card__compare {
  display: inline-flex;
  align-self: flex-start;
  margin: 0 0 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(104, 123, 93, 0.16);
  color: #4f6043;
  font-size: 0.8rem;
  font-weight: 850;
}

/* =====================================================================
   RÉSIDENCE — cartes cliquables (remplace le menu déroulant)
   ===================================================================== */
.residence-picker {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
}

.residence-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.residence-card {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}

.residence-card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.residence-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: 100%;
  padding: 14px 16px;
  border: 1.5px solid rgba(53, 23, 41, 0.14);
  border-radius: var(--r-md, 14px);
  background: rgba(255, 255, 255, 0.66);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.residence-card:hover .residence-card__body {
  border-color: rgba(159, 49, 94, 0.4);
  transform: translateY(-2px);
}

.residence-card input:checked + .residence-card__body {
  border-color: var(--rose-700);
  background: rgba(255, 250, 245, 0.95);
  box-shadow: 0 0 0 3px rgba(215, 109, 135, 0.18);
}

.residence-card input:focus-visible + .residence-card__body {
  outline: 2px solid var(--rose-700);
  outline-offset: 2px;
}

.residence-card strong {
  color: var(--plum);
  font-weight: 800;
  font-size: 0.98rem;
}

.residence-card small {
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 600;
}

.residence-picker.is-invalid .residence-card__body {
  border-color: rgba(212, 57, 107, 0.5);
}

.residence-picker .field-error {
  margin-top: 8px;
}

/* Les ancres du menu atterrissent sous le header fixe */
.section {
  scroll-margin-top: 96px;
}

/* Mobile : le formulaire passe avant la photo dans la section inscription */
@media (max-width: 1080px) {
  .signup__grid {
    display: flex;
    flex-direction: column;
  }

  .signup-form {
    order: 1;
  }

  .signup__media {
    order: 2;
  }
}

@media (max-width: 540px) {
  .residence-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {
  .hero__content,
  .intro__grid,
  .signup__grid,
  .about-jade__grid,
  .section-heading--split {
    grid-template-columns: 1fr;
  }

  .hero__polaroids {
    min-height: 410px;
  }

  .polaroid--front {
    left: 5%;
  }

  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-jade__story {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 8px;
    left: 8px;
    right: auto;
    width: calc(100% - 16px);
    padding: 5px 8px;
    border-radius: 16px;
  }

  .nav-shell {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    width: 100%;
    padding-inline: 2px;
  }

  .brand-pill {
    order: 0;
    height: 42px;
    margin: 0;
    padding: 0 2px;
  }

  .brand-pill img {
    height: 38px;
  }

  .nav-group {
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }

  .nav-group--left {
    justify-content: flex-start;
  }

  .nav-group--right {
    justify-content: flex-end;
  }

  .nav-group a {
    min-height: 28px;
    font-size: 0.75rem;
    letter-spacing: -0.03em;
    white-space: nowrap;
  }

  .section__inner {
    width: calc(100% - 44px);
  }

  .section-title {
    font-size: clamp(1.7rem, 6.6vw, 2.3rem);
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .intro__text p,
  .copy,
  .course-card p,
  .price-card li,
  .hero__copy p:not(.eyebrow) {
    font-size: 1.02rem;
    line-height: 1.62;
  }

  .scroll-track {
    display: none;
  }

  .hero__content {
    width: min(calc(100% - 40px), 560px);
    padding-top: 132px;
    gap: 30px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 13vw, 3.8rem);
  }

  .hero__copy {
    padding: 24px;
  }

  .hero__polaroids {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    min-height: 0;
    margin-top: 8px;
  }

  .hero__polaroids .polaroid {
    position: static;
    width: 100%;
    margin: 0;
    --rot: 0deg;
  }

  .polaroid--front {
    aspect-ratio: 0.78 / 1;
  }

  .polaroid--back {
    aspect-ratio: 0.78 / 1;
  }

  .photo-band img {
    height: 130px;
  }

  .course-grid,
  .price-grid,
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .price-card--pass,
  .form-grid__wide {
    grid-column: auto;
  }

  .price-options {
    grid-template-columns: 1fr;
  }

  .course-card,
  .price-card {
    min-height: auto;
    padding: 26px;
  }

  .course-card h3,
  .price-card h3 {
    margin-top: 22px;
  }

  .signup__badge {
    right: 12px;
    bottom: 12px;
  }

  .timeline div {
    grid-template-columns: 1fr;
  }

  .about-jade__photos {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 8px;
  }

  .about-jade__photos .about-photo {
    position: static;
    grid-column: auto;
    grid-row: auto;
    align-self: auto;
    width: 100%;
    aspect-ratio: 1.3 / 1;
    border-width: 8px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }

  .gallery-grid img:first-child,
  .gallery-grid img:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
  }

  .contact__panel,
  .footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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

@media (max-width: 420px) {
  .site-header {
    padding: 4px 7px;
  }

  .nav-shell {
    gap: 4px;
    padding-inline: 0;
  }

  .brand-pill {
    height: 38px;
  }

  .brand-pill img {
    height: 34px;
  }

  .nav-group {
    gap: 6px;
  }

  .nav-group a {
    font-size: 0.69rem;
    min-height: 26px;
  }
}


@media (max-width: 720px) {
  .site-header {
    border: 1px solid rgba(255, 255, 255, 0.58);
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 248, 244, 0.22)),
      linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05)),
      rgba(255, 250, 245, 0.24);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.72),
      0 14px 32px rgba(53, 23, 41, 0.10);
    backdrop-filter: blur(32px) saturate(180%);
    -webkit-backdrop-filter: blur(32px) saturate(180%);
  }
}

/* ----- Parcours de paiement en étapes + récapitulatif ----- */
.signup-note {
  margin: 6px 0 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.signup-note a {
  color: var(--rose-700);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.recap {
  margin-top: 14px;
  padding: clamp(16px, 3vw, 24px);
  border-radius: var(--r-md, 14px);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(196, 155, 93, 0.35);
}

.recap__list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.recap__list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(53, 23, 41, 0.14);
}

.recap__list dt {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.recap__list dd {
  margin: 0;
  color: var(--plum);
  font-size: 0.92rem;
  font-weight: 800;
  text-align: right;
}

.recap__notice {
  margin: 16px 0 0;
  padding: 13px 15px;
  border-radius: var(--r-md, 14px);
  background: rgba(234, 215, 189, 0.5);
  border: 1px solid rgba(196, 155, 93, 0.4);
  color: var(--plum);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.5;
}

.recap__notice--ok {
  background: rgba(213, 233, 213, 0.5);
  border-color: rgba(94, 148, 96, 0.4);
}

@media (max-width: 720px) {
  .site-header::before {
    opacity: 0.74;
    transform: translateX(-6%);
  }

  .site-header::after {
    opacity: 0;
    box-shadow: none;
    border-color: transparent;
  }
}

@media (max-width: 420px) {
  .site-header {
    border-radius: 22px;
  }
}
