:root {
  color-scheme: only light;
  --cream: #f1f2f1;
  --paper: #fbfbfa;
  --ink: #11100e;
  --muted: #5c6063;
  --nude: #c7ccd0;
  --gold: #565d62;
  --line: #d8dcde;
  --white: #fff;
  --site-gradient:
    radial-gradient(900px 520px at -9% 12%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 20%, rgba(241, 242, 241, 0.28) 39%, transparent 54%),
    radial-gradient(780px 560px at 104% 3%, rgba(248, 250, 249, 0.88) 0%, rgba(226, 231, 231, 0.42) 22%, rgba(52, 59, 62, 0.18) 40%, transparent 57%),
    linear-gradient(100deg, #fbfbfa 0%, #eef1f1 18%, #c4ced1 44%, #738086 72%, #2f3639 100%);
  --section-gradient:
    radial-gradient(820px 500px at -8% 16%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.82) 20%, rgba(241, 242, 241, 0.2) 43%, transparent 58%),
    radial-gradient(760px 520px at 106% 0%, rgba(246, 248, 247, 0.82) 0%, rgba(210, 218, 220, 0.34) 22%, rgba(39, 45, 48, 0.16) 43%, transparent 60%),
    linear-gradient(100deg, #fbfbfa 0%, #e9eeee 20%, #bdc8cc 46%, #6c7980 73%, #30373a 100%);
  --section-light-gradient:
    radial-gradient(820px 500px at -8% 16%, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.76) 22%, rgba(241, 242, 241, 0.16) 45%, transparent 58%),
    radial-gradient(760px 520px at 106% 0%, rgba(246, 248, 247, 0.75) 0%, rgba(210, 218, 220, 0.3) 22%, rgba(39, 45, 48, 0.14) 43%, transparent 60%),
    linear-gradient(100deg, #f8f9f8 0%, #e5ebeb 22%, #b3bec3 49%, #647178 76%, #2f3639 100%);
  --panel-gradient: linear-gradient(145deg, rgba(255, 255, 255, 0.58) 0%, rgba(241, 244, 244, 0.5) 42%, rgba(199, 207, 211, 0.42) 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--site-gradient);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--ink);
  font-family: "Avenir Next Ultra Light", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-weight: 200;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  min-width: 0;
}

p,
li,
h1,
h2,
h3,
a,
button,
label {
  overflow-wrap: break-word;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(14px, 2vw, 32px);
  padding: clamp(6px, 0.35vw, 12px) clamp(18px, 4vw, 56px) 0;
  color: var(--ink);
}

.site-header.solid {
  position: sticky;
  align-items: center;
  flex-wrap: wrap;
  padding: 22px clamp(18px, 4vw, 56px);
  background: var(--section-gradient);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.site-header.solid .brand {
  font-size: clamp(1.25rem, 3vw, 2rem);
}

.brand {
  font-family: inherit;
  font-size: clamp(1rem, 1.34vw, 1.35rem);
  font-weight: 200;
  text-decoration: none;
  letter-spacing: 0;
}

.header-workshop {
  display: grid;
  justify-items: start;
  width: min(46vw, 720px);
  min-width: min(100%, 260px);
}

.header-name {
  font-size: clamp(2.4rem, 4.85vw, 5rem);
  line-height: 1;
  white-space: nowrap;
}

.header-workshop p {
  margin: 0;
  color: var(--gold);
  font-size: clamp(1rem, 2.15vw, 2.25rem);
  line-height: 1.2;
}

.header-button {
  min-height: clamp(42px, 4.35vw, 64px);
  padding: clamp(10px, 1.2vw, 18px) clamp(16px, 1.85vw, 28px);
  font-size: clamp(0.85rem, 1.34vw, 1.25rem);
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: clamp(10px, 2.8vw, 42px);
  font-size: clamp(0.78rem, 1.34vw, 1.2rem);
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  text-decoration: none;
}

.nav-cta {
  border: 1px solid currentColor;
  padding: clamp(8px, 1vw, 14px) clamp(10px, 1.35vw, 20px);
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: end;
  justify-items: start;
  overflow: hidden;
  background: #d5d8d8;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(241, 242, 241, 0.78), rgba(191, 198, 202, 0.46) 48%, rgba(86, 93, 98, 0.14));
}

.hero-content {
  position: relative;
  width: min(58vw, 780px);
  padding: 0 0 clamp(48px, 6.6vw, 96px) clamp(28px, 7vw, 100px);
  color: var(--ink);
  text-align: left;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: inherit;
  font-weight: 200;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(3rem, 8.8vw, 6.2rem);
}

.hero h1 {
  margin-bottom: 0.55vw;
  font-size: clamp(2.4rem, 4.85vw, 5rem);
  line-height: 1;
  white-space: nowrap;
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 5vw, 4rem);
}

h3 {
  margin: 0 0 16px;
  font-size: 1.35rem;
}

.hero-line,
.hero-tagline {
  max-width: min(58vw, 760px);
  margin: 0;
  font-size: clamp(0.95rem, 1.34vw, 1.35rem);
  line-height: 1.35;
}

.hero-workshop {
  max-width: none;
  margin: 0 0 2.4vw;
  color: var(--gold);
  font-size: clamp(1rem, 2.15vw, 2.25rem);
  line-height: 1.2;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  background: var(--nude);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.header-workshop .header-button {
  min-height: clamp(42px, 4.35vw, 64px);
  padding: clamp(10px, 1.2vw, 18px) clamp(16px, 1.85vw, 28px);
  font-size: clamp(0.85rem, 1.34vw, 1.25rem);
}

.hero .button {
  min-height: clamp(42px, 4.35vw, 64px);
  padding: clamp(10px, 1.2vw, 18px) clamp(16px, 1.85vw, 28px);
  font-size: clamp(0.85rem, 1.34vw, 1.25rem);
}

.section {
  padding: clamp(64px, 9vw, 120px) 0;
  background: transparent;
}

.section-light {
  background: transparent;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.wrap {
  width: min(1120px, calc(100% - clamp(28px, 5vw, 80px)));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - clamp(28px, 5vw, 80px)));
}

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(36px, 7vw, 80px);
  align-items: start;
}

.schedule-details {
  font-size: 1.08rem;
}

.studio-location {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin: 18px 0;
}

.studio-location img {
  width: 100%;
  height: auto;
  display: block;
}

.studio-location p {
  margin: 0;
}

.schedule-details p,
.narrow p,
.course-card p,
.price-card p,
.rules p {
  margin: 0 0 16px;
}

.notice {
  margin-top: 12px;
  color: var(--ink);
  font-weight: 700;
}

.date-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(min(100%, 220px), 1fr));
  gap: 18px;
}

.year-block,
.course-card,
.price-card,
.rules {
  border: 1px solid var(--line);
  background: var(--panel-gradient);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.year-block {
  padding: 24px;
}

.year-block ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.year-block li {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.year-block li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.course-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(min(100%, 300px), 1fr));
  gap: 22px;
}

.course-card {
  padding: clamp(24px, 4vw, 38px);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: var(--white);
}

.footer p {
  margin: 0;
}

.pricing-hero {
  padding: clamp(82px, 12vw, 150px) 0 clamp(48px, 7vw, 82px);
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.pricing-hero h1 {
  color: var(--ink);
}

.pricing-hero p:last-child {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.price-card.highlight {
  border-color: var(--gold);
  background: linear-gradient(145deg, rgba(236, 238, 239, 0.9), rgba(178, 187, 192, 0.78));
}

.price-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.price {
  margin-top: 18px;
  color: var(--gold);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.small {
  color: var(--muted);
  font-size: 0.95rem;
}

.purchase-button {
  width: 100%;
  margin-top: auto;
  border-color: var(--gold);
}

.purchase-button:hover,
.purchase-button:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.success-page {
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
  padding: clamp(100px, 14vw, 160px) 0 70px;
}

.success-card {
  width: min(680px, calc(100% - 32px));
  padding: clamp(28px, 6vw, 64px);
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-gradient);
}

.success-card h1 {
  margin-bottom: 20px;
  color: var(--ink);
}

.success-card p:not(.eyebrow) {
  max-width: 520px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 1.08rem;
}

.rules {
  margin-top: 28px;
  padding: 22px;
  color: var(--muted);
}

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

.contact-section {
  border-top: 1px solid var(--line);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(36px, 7vw, 82px);
  align-items: start;
}

.contact-intro {
  max-width: 500px;
}

.contact-intro p:not(.eyebrow) {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-mail {
  display: inline-block;
  max-width: 100%;
  padding-bottom: 4px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-gradient);
  backdrop-filter: blur(10px);
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}


.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(86, 93, 98, 0.22);
  outline-offset: 2px;
  border-color: var(--gold);
}

.contact-submit {
  justify-self: start;
  border-color: rgba(17, 16, 14, 0.08);
  cursor: pointer;
}

.dark-page {
  background: linear-gradient(135deg, #11100e 0%, #2b3033 52%, #565d62 100%);
  color: var(--white);
}

.hidden-offer {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  background: linear-gradient(135deg, #11100e 0%, #252a2d 48%, #565d62 100%);
}

.hidden-offer-media {
  min-height: 100svh;
  overflow: hidden;
}

.hidden-offer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.06) brightness(0.72);
}

.hidden-offer-content {
  align-self: center;
  padding: clamp(34px, 8vw, 92px);
  min-width: 0;
  background: linear-gradient(135deg, rgba(17, 16, 14, 0.92), rgba(86, 93, 98, 0.34));
}

.hidden-offer-content .eyebrow {
  color: #aeb4b8;
}

.hidden-offer-content h1 {
  max-width: 880px;
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  text-transform: uppercase;
}

.hidden-offer-content p:not(.eyebrow) {
  max-width: 560px;
  margin: 0 0 28px;
  color: #d8dcde;
  font-size: 1.1rem;
}

.secondary-button {
  background: transparent;
  color: var(--white);
  border-color: #aeb4b8;
}

@media (max-width: 1080px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: clamp(16px, 5vw, 24px) clamp(14px, 5vw, 24px);
  }

  .brand {
    font-size: 0.9rem;
  }

  .header-workshop {
    width: min(100%, 430px);
  }

  .header-name {
    font-size: clamp(2rem, 10vw, 3.3rem);
    white-space: normal;
  }

  .header-workshop p {
    margin-bottom: 0;
    font-size: 1rem;
  }

  .header-workshop .header-button {
    min-height: 42px;
    padding: 9px 14px;
    font-size: 0.8rem;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
    gap: 8px 14px;
    font-size: 0.78rem;
  }

  nav a {
    min-height: 38px;
  }

  .nav-cta {
    padding: 7px 10px;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-content {
    width: min(100% - 40px, 520px);
    padding: clamp(150px, 46vw, 230px) 20px 44px;
  }

  .hero-line,
  .hero-tagline {
    max-width: 100%;
    font-size: 0.95rem;
  }

  .hero h1 {
    font-size: 2.3rem;
    white-space: normal;
  }

  .hero-workshop {
    margin-bottom: 18px;
    font-size: 1rem;
  }

  .hero .button {
    min-height: 42px;
    padding: 9px 14px;
    font-size: 0.8rem;
  }

  .two-columns,
  .date-grid,
  .course-list,
  .pricing-grid,
  .contact-layout,
  .hidden-offer {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .hidden-offer-media {
    min-height: 42svh;
  }

  .hidden-offer-content {
    align-self: start;
  }

  .wrap,
  .narrow {
    width: min(100% - 28px, 1120px);
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: clamp(2.45rem, 14vw, 3.2rem);
  }

  h2 {
    font-size: clamp(1.85rem, 11vw, 2.55rem);
  }

  .section {
    padding: clamp(50px, 14vw, 70px) 0;
  }

  nav {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .nav-cta {
    padding: 7px 10px;
  }

  .hero-line {
    font-size: 1.2rem;
  }

  .button {
    width: 100%;
  }

  .studio-location {
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .year-block,
  .course-card,
  .price-card,
  .rules,
  .contact-form {
    padding: 18px;
  }

  .price {
    font-size: 1.9rem;
  }
}

@media (max-width: 360px) {
  .studio-location {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .studio-location img {
    width: 60px;
  }
}

/* Animations douces inspirées du mouvement */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

.site-header {
  animation: header-arrival 700ms ease-out both;
}

.hero-content {
  animation: hero-text-arrival 1s 180ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero img {
  animation: hero-breathe 14s ease-in-out infinite alternate;
}

.button,
.nav-cta,
.contact-mail {
  transition:
    color 240ms ease,
    background-color 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease,
    transform 240ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(17, 16, 14, 0.14);
}

.course-card,
.price-card,
.year-block {
  transition:
    transform 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
}

.course-card:hover,
.price-card:hover,
.year-block:hover {
  transform: translateY(-5px);
  border-color: rgba(86, 93, 98, 0.55);
  box-shadow: 0 16px 34px rgba(17, 16, 14, 0.1);
}

@keyframes header-arrival {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-text-arrival {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-breathe {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.045);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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