/* ==========================================================================
   YKAZY NAILS ACADEMY — Système de design
   Refonte 2026 · HTML/CSS pur · Mobile-first
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES & TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Palette — alignée sur le dossier administratif */
  --ykazy-purple:       #4A1F5C;
  --ykazy-purple-deep:  #2E1138;
  --ykazy-gold:         #B8860B;
  --ykazy-gold-light:   #D4A82C;
  --ykazy-cream:        #FAF7F2;
  --ykazy-paper:        #FFFCF9;
  --ykazy-ink:          #1F1F1F;
  --ykazy-ink-soft:     #555555;
  --ykazy-ink-faint:    #8A8A8A;
  --ykazy-mauve-tint:   #F5EFF7;
  --ykazy-rose:         #C97B8A;
  --ykazy-line:         rgba(74, 31, 92, 0.12);
  --ykazy-gold-line:    rgba(184, 134, 11, 0.35);

  /* Typographie */
  --font-display: "Cormorant Garamond", "Apple Garamond", Garamond, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-script:  "Caveat", "Lucida Handwriting", cursive;

  /* Échelle typographique fluide */
  --fs-h1:   clamp(2.5rem, 1.5rem + 4vw, 5rem);
  --fs-h2:   clamp(2rem, 1.4rem + 2.5vw, 3.5rem);
  --fs-h3:   clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --fs-h4:   clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-body: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.75rem;

  /* Espacements */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 6rem;
  --space-16: 8rem;
  --space-20: 10rem;

  /* Mise en page */
  --container: 1280px;
  --container-narrow: 900px;
  --container-prose: 720px;
  --header-h: 80px;
  --header-h-mobile: 64px;

  /* Effets */
  --shadow-sm: 0 1px 2px rgba(31, 17, 56, 0.04);
  --shadow-md: 0 8px 24px rgba(31, 17, 56, 0.06);
  --shadow-lg: 0 16px 48px rgba(31, 17, 56, 0.10);
  --radius-sm: 2px;
  --radius-md: 4px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 200ms var(--ease-out);
  --t-base: 400ms var(--ease-out);
  --t-slow: 600ms var(--ease-out);
}

/* --------------------------------------------------------------------------
   2. RESET MINIMAL
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ykazy-ink);
  background: var(--ykazy-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
hr { border: 0; height: 1px; background: var(--ykazy-line); margin: 0; }

/* Skip link pour l'accessibilité */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  padding: var(--space-3) var(--space-5);
  background: var(--ykazy-purple);
  color: #fff;
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
  z-index: 1000;
  transition: top var(--t-fast);
}
.skip-link:focus { top: var(--space-3); outline: 2px solid var(--ykazy-gold); outline-offset: 2px; }

/* Focus accessible global */
:focus-visible {
  outline: 2px solid var(--ykazy-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHIE
   -------------------------------------------------------------------------- */
.display, h1, h2, h3, .h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ykazy-ink);
}
h1, .h1 { font-size: var(--fs-h1); font-weight: 600; line-height: 1.02; letter-spacing: -0.025em; }
h2, .h2 { font-size: var(--fs-h2); font-style: italic; }
h3, .h3 { font-size: var(--fs-h3); font-weight: 500; }
h4, .h4 { font-family: var(--font-body); font-size: var(--fs-h4); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ykazy-purple);
}
.eyebrow--gold { color: var(--ykazy-gold); }
.eyebrow--paper { color: rgba(255, 252, 249, 0.75); }

.script {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  color: var(--ykazy-purple);
  line-height: 1.4;
}

.lead {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  color: var(--ykazy-ink-soft);
  line-height: 1.7;
}

.text-muted { color: var(--ykazy-ink-soft); }
.text-faint { color: var(--ykazy-ink-faint); }
.text-purple { color: var(--ykazy-purple); }
.text-gold { color: var(--ykazy-gold); }
.text-paper { color: var(--ykazy-paper); }

/* --------------------------------------------------------------------------
   4. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.container--narrow { max-width: var(--container-narrow); }
.container--prose { max-width: var(--container-prose); }

.section { padding-block: clamp(4rem, 8vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 5vw, 5rem); }
.section--paper { background: var(--ykazy-paper); }
.section--cream { background: var(--ykazy-cream); }
.section--mauve { background: var(--ykazy-mauve-tint); }
.section--purple {
  background: var(--ykazy-purple-deep);
  color: var(--ykazy-paper);
}
.section--purple h1, .section--purple h2, .section--purple h3 { color: var(--ykazy-paper); }
.section--purple .eyebrow { color: var(--ykazy-gold-light); }

/* Filet doré décoratif */
.gold-rule {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--ykazy-gold);
  border: 0;
  margin-block: var(--space-5);
}
.gold-rule--center { margin-inline: auto; }
.gold-rule--lg { width: 80px; }

/* Section header (eyebrow + h2 + lead) */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-12);
}
.section-head .eyebrow + h2 { margin-top: var(--space-4); }
.section-head h2 + .lead { margin-top: var(--space-5); }
.section-head--left { text-align: left; margin-inline: 0; }

/* --------------------------------------------------------------------------
   5. BOUTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: 0.95rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: all var(--t-base);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: var(--ykazy-purple);
  color: var(--ykazy-paper);
  border-color: var(--ykazy-purple);
}
.btn--primary:hover, .btn--primary:focus-visible {
  background: var(--ykazy-gold);
  border-color: var(--ykazy-gold);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(184, 134, 11, 0.25);
}
.btn--secondary {
  background: transparent;
  color: var(--ykazy-purple);
  border-color: var(--ykazy-gold);
}
.btn--secondary:hover, .btn--secondary:focus-visible {
  background: var(--ykazy-purple);
  color: var(--ykazy-paper);
  border-color: var(--ykazy-purple);
}
.btn--ghost-light {
  background: transparent;
  color: var(--ykazy-paper);
  border-color: rgba(255, 252, 249, 0.4);
}
.btn--ghost-light:hover, .btn--ghost-light:focus-visible {
  background: var(--ykazy-gold);
  border-color: var(--ykazy-gold);
  color: var(--ykazy-purple-deep);
}
.btn--gold {
  background: var(--ykazy-gold);
  color: var(--ykazy-purple-deep);
  border-color: var(--ykazy-gold);
}
.btn--gold:hover, .btn--gold:focus-visible {
  background: var(--ykazy-gold-light);
  border-color: var(--ykazy-gold-light);
  transform: translateY(-1px);
}
.btn--lg { padding: 1.1rem 2.25rem; font-size: 0.875rem; }
.btn--block { display: flex; width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.btn-group--center { justify-content: center; }

/* Lien texte avec soulignement doré */
.link {
  position: relative;
  color: var(--ykazy-purple);
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ykazy-gold);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.link:hover { color: var(--ykazy-gold); border-color: var(--ykazy-purple); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ykazy-purple);
  transition: gap var(--t-fast), color var(--t-fast);
}
.link-arrow::after {
  content: "→";
  font-weight: 400;
  transition: transform var(--t-fast);
}
.link-arrow:hover { color: var(--ykazy-gold); gap: var(--space-4); }
.link-arrow:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 247, 242, 0);
  border-bottom: 1px solid transparent;
  transition: background var(--t-base), backdrop-filter var(--t-base), border-color var(--t-base);
}
.site-header.is-scrolled {
  background: rgba(255, 252, 249, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--ykazy-gold-line);
}
.site-header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-6);
}
.site-header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--ykazy-purple);
  line-height: 1;
}
.site-header__logo svg { width: 36px; height: 36px; }
.site-header__logo strong {
  display: block;
  font-weight: 600;
  color: var(--ykazy-purple);
}
.site-header__logo span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ykazy-gold);
  margin-top: 2px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
}
.site-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ykazy-ink);
  position: relative;
  padding-block: var(--space-2);
  transition: color var(--t-fast);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--ykazy-gold);
  transition: width var(--t-base);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ykazy-purple); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { width: 100%; }

.site-header__cta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Burger mobile */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  position: relative;
}
.burger span {
  position: absolute;
  width: 24px;
  height: 1.5px;
  background: var(--ykazy-ink);
  transition: transform var(--t-base), opacity var(--t-fast), top var(--t-base);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1023px) {
  .site-header { height: var(--header-h-mobile); }
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    gap: var(--space-4);
  }
  .site-nav {
    position: fixed;
    inset: var(--header-h-mobile) 0 0 0;
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--space-10) var(--space-6);
    gap: var(--space-6);
    background: var(--ykazy-paper);
    transform: translateY(-110%);
    transition: transform var(--t-base);
    overflow-y: auto;
    border-top: 1px solid var(--ykazy-gold-line);
  }
  .site-nav.is-open { transform: translateY(0); }
  .site-nav a {
    font-size: 1.5rem;
    font-family: var(--font-display);
    font-style: italic;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 500;
  }
  .site-nav a::after { display: none; }
  .site-nav .site-nav__cta { margin-top: var(--space-4); }
  .site-nav .site-nav__cta a {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 600;
    color: var(--ykazy-paper);
    background: var(--ykazy-purple);
    padding: 1rem 2rem;
    display: inline-block;
  }
  .burger { display: flex; order: 1; }
  .site-header__logo { order: 2; justify-self: center; font-size: 1.0625rem; }
  .site-header__logo span { font-size: 0.5625rem; }
  .site-header__cta { order: 3; }
  .site-header__cta .btn { padding: 0.7rem 1rem; font-size: 0.6875rem; letter-spacing: 0.14em; }
}

/* Hauteur de réservation pour le contenu */
.has-fixed-header { padding-top: var(--header-h); }
@media (max-width: 1023px) {
  .has-fixed-header { padding-top: var(--header-h-mobile); }
}

/* --------------------------------------------------------------------------
   7. HERO PRINCIPAL
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding-block: var(--space-16) var(--space-12);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--ykazy-purple-deep);
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(46, 17, 56, 0.85) 0%,
    rgba(74, 31, 92, 0.62) 50%,
    rgba(46, 17, 56, 0.78) 100%
  );
  z-index: 1;
}
.hero__content {
  color: var(--ykazy-paper);
  max-width: 760px;
  position: relative;
  z-index: 2;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--ykazy-gold-light);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: var(--space-6);
}
.hero__eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--ykazy-gold);
}
.hero h1 {
  color: var(--ykazy-paper);
  font-size: clamp(2.75rem, 1.5rem + 5vw, 5.5rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.025em;
}
.hero h1 em {
  font-style: italic;
  color: var(--ykazy-gold-light);
  font-weight: 500;
}
.hero__sub {
  margin-top: var(--space-6);
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 252, 249, 0.85);
  max-width: 540px;
}
.hero__ctas { margin-top: var(--space-8); }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 252, 249, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  z-index: 2;
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--ykazy-gold) 0%, transparent 100%);
  animation: scrollIndicator 2.4s ease-in-out infinite;
}
@keyframes scrollIndicator {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (max-width: 768px) { .hero__scroll { display: none; } }

/* Hero secondaire (pages internes) */
.hero-sub {
  position: relative;
  padding: clamp(7rem, 12vw, 10rem) 0 clamp(4rem, 6vw, 6rem);
  background: var(--ykazy-paper);
  overflow: hidden;
  isolation: isolate;
}
.hero-sub__roman {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(20rem, 50vw, 42rem);
  line-height: 0.8;
  color: var(--ykazy-gold);
  opacity: 0.07;
  top: 50%;
  right: -2%;
  transform: translateY(-45%);
  z-index: -1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}
.hero-sub__inner { max-width: 760px; }
.hero-sub__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--ykazy-purple);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: var(--space-5);
}
.hero-sub__eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--ykazy-gold);
}
.hero-sub h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); font-weight: 600; line-height: 1.04; }
.hero-sub h1 em { font-style: italic; font-weight: 500; }
.hero-sub__sub {
  margin-top: var(--space-5);
  max-width: 600px;
  color: var(--ykazy-ink-soft);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   8. CARTES & GRILLES
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Carte niveau */
.level-card {
  position: relative;
  background: var(--ykazy-paper);
  padding: var(--space-8) var(--space-6) var(--space-6);
  border: 1px solid var(--ykazy-line);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  display: flex;
  flex-direction: column;
  height: 100%;
  isolation: isolate;
  overflow: hidden;
}
.level-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ykazy-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}
.level-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--ykazy-gold-line); }
.level-card:hover::before { transform: scaleX(1); }
.level-card__roman {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: 2.5rem;
  color: var(--ykazy-gold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.level-card__meta {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ykazy-ink-soft);
  margin-top: var(--space-4);
}
.level-card h3 {
  margin-top: var(--space-3);
  font-size: 1.625rem;
  font-style: italic;
  font-weight: 500;
  color: var(--ykazy-purple);
  line-height: 1.15;
}
.level-card__desc {
  margin-top: var(--space-4);
  color: var(--ykazy-ink-soft);
  font-size: 0.9375rem;
  line-height: 1.65;
  flex-grow: 1;
}
.level-card__cta { margin-top: var(--space-6); }

/* Carte simple (réassurance, etc.) */
.feature {
  text-align: center;
  padding: var(--space-6) var(--space-4);
}
.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-5);
  color: var(--ykazy-gold);
}
.feature__icon svg { width: 100%; height: 100%; stroke-width: 1.25; }
.feature h4 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ykazy-purple);
  letter-spacing: 0;
  line-height: 1.2;
}
.feature p {
  margin-top: var(--space-3);
  color: var(--ykazy-ink-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Bandeau de réassurance */
.reassurance {
  background: var(--ykazy-paper);
  border-block: 1px solid var(--ykazy-line);
  padding-block: var(--space-10);
}
.reassurance__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: var(--space-4);
  align-items: stretch;
}
@media (min-width: 1024px) {
  .reassurance__grid { grid-template-columns: repeat(4, 1fr); }
  .reassurance__grid > * + * { border-left: 1px solid var(--ykazy-gold-line); }
}

/* --------------------------------------------------------------------------
   9. GALERIE
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(4, 1fr); } }

.gallery__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ykazy-mauve-tint);
}
.gallery__item--tall { aspect-ratio: 4 / 6; }
.gallery__item--wide { aspect-ratio: 4 / 3; }
@media (min-width: 1024px) {
  .gallery__item--span2 { grid-column: span 2; aspect-ratio: 8 / 5; }
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out), filter var(--t-base);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-5) var(--space-4);
  background: linear-gradient(to top, rgba(46, 17, 56, 0.92) 0%, transparent 100%);
  color: var(--ykazy-paper);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-base), transform var(--t-base);
}
.gallery__item:hover .gallery__caption,
.gallery__item:focus-within .gallery__caption { opacity: 1; transform: translateY(0); }
.gallery__caption strong {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: 0;
}
.gallery__caption span {
  display: block;
  margin-top: var(--space-1);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ykazy-gold-light);
}

/* --------------------------------------------------------------------------
   10. SPLIT — bloc image + texte
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--portrait { grid-template-columns: 5fr 7fr; }
  .split--reverse > :first-child { order: 2; }
}

.split__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ykazy-mauve-tint);
}
.split__media--landscape { aspect-ratio: 5 / 4; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

.split__media--framed {
  position: relative;
  padding: 0;
}
.split__media--framed::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(184, 134, 11, 0.5);
  pointer-events: none;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   11. ACCORDÉON
   -------------------------------------------------------------------------- */
.accordion { border-top: 1px solid var(--ykazy-line); }
.accordion details {
  border-bottom: 1px solid var(--ykazy-line);
  overflow: hidden;
}
.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-6) var(--space-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);
  color: var(--ykazy-ink);
  transition: color var(--t-fast);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-right: 1px solid var(--ykazy-purple);
  border-bottom: 1px solid var(--ykazy-purple);
  transform: rotate(45deg);
  transition: transform var(--t-base), border-color var(--t-fast);
}
.accordion summary:hover { color: var(--ykazy-purple); }
.accordion details[open] summary { color: var(--ykazy-purple); }
.accordion details[open] summary::after {
  transform: rotate(-135deg);
  border-color: var(--ykazy-gold);
}
.accordion__body {
  padding: 0 var(--space-2) var(--space-6);
  color: var(--ykazy-ink-soft);
  max-width: 700px;
  font-size: 0.9375rem;
  line-height: 1.7;
}
.accordion__body p + p { margin-top: var(--space-4); }

/* --------------------------------------------------------------------------
   12. CTA FINAL PLEINE LARGEUR
   -------------------------------------------------------------------------- */
.final-cta {
  position: relative;
  background: var(--ykazy-purple-deep);
  color: var(--ykazy-paper);
  padding: clamp(5rem, 9vw, 8rem) 0;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(184, 134, 11, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(74, 31, 92, 0.6) 0%, transparent 50%);
  z-index: -1;
}
.final-cta h2 {
  color: var(--ykazy-paper);
  font-style: italic;
  max-width: 800px;
  margin-inline: auto;
}
.final-cta__sub {
  margin-top: var(--space-5);
  max-width: 540px;
  margin-inline: auto;
  color: rgba(255, 252, 249, 0.78);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
}
.final-cta__ctas { margin-top: var(--space-8); justify-content: center; }

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ykazy-paper);
  border-top: 1px solid var(--ykazy-line);
  padding-block: var(--space-12) var(--space-6);
  font-size: 0.9375rem;
}
.site-footer__grid {
  display: grid;
  gap: var(--space-10);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.site-footer__brand h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--ykazy-purple);
}
.site-footer__brand p {
  margin-top: var(--space-3);
  color: var(--ykazy-ink-soft);
  max-width: 320px;
  font-size: 0.9375rem;
}
.site-footer__contact {
  margin-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  color: var(--ykazy-ink-soft);
  font-size: 0.875rem;
}
.site-footer__contact a:hover { color: var(--ykazy-purple); }

.site-footer__heading {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ykazy-gold);
  margin-bottom: var(--space-5);
}

.site-footer__nav { display: flex; flex-direction: column; gap: var(--space-3); }
.site-footer__nav a {
  color: var(--ykazy-ink-soft);
  font-size: 0.9375rem;
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.site-footer__nav a:hover { color: var(--ykazy-purple); padding-left: 4px; }

.site-footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.site-footer__social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ykazy-line);
  color: var(--ykazy-purple);
  transition: all var(--t-fast);
}
.site-footer__social a:hover { background: var(--ykazy-purple); color: var(--ykazy-paper); border-color: var(--ykazy-purple); }
.site-footer__social svg { width: 18px; height: 18px; }

.site-footer__legal {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid var(--ykazy-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  color: var(--ykazy-ink-faint);
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   14. PROSE — pages légales et longues
   -------------------------------------------------------------------------- */
.prose {
  max-width: var(--container-prose);
  margin-inline: auto;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ykazy-ink);
}
.prose h2 {
  font-size: 1.625rem;
  font-style: normal;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--ykazy-purple);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}
.prose h3 {
  font-size: 1.1875rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ykazy-ink);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}
.prose p, .prose ul, .prose ol { margin-bottom: var(--space-4); }
.prose ul, .prose ol { padding-left: var(--space-5); }
.prose ul { list-style: none; }
.prose ul li { position: relative; padding-left: var(--space-4); }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 1px;
  background: var(--ykazy-gold);
}
.prose ol { list-style: decimal; padding-left: var(--space-6); }
.prose ol li { padding-left: var(--space-2); }
.prose ol li::marker { color: var(--ykazy-gold); font-weight: 600; }
.prose strong { color: var(--ykazy-purple); font-weight: 600; }
.prose a { color: var(--ykazy-purple); border-bottom: 1px solid var(--ykazy-gold); transition: all var(--t-fast); }
.prose a:hover { color: var(--ykazy-gold); border-color: var(--ykazy-purple); }

.prose-callout {
  margin-block: var(--space-8);
  padding: var(--space-6) var(--space-6);
  background: var(--ykazy-mauve-tint);
  border-left: 2px solid var(--ykazy-gold);
}
.prose-callout p { margin: 0; }

/* --------------------------------------------------------------------------
   15. FORMULAIRES
   -------------------------------------------------------------------------- */
.form { display: flex; flex-direction: column; gap: var(--space-5); }
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label, .field-legend {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ykazy-ink);
  letter-spacing: 0.02em;
}
.field-legend { display: block; margin-bottom: var(--space-3); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="month"],
.field select,
.field textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--ykazy-line);
  background: var(--ykazy-paper);
  font-size: 1rem;
  color: var(--ykazy-ink);
  transition: border-color var(--t-fast), background var(--t-fast);
  border-radius: 0;
  font-family: var(--font-body);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--ykazy-purple);
  background: #fff;
}
.field textarea { min-height: 140px; resize: vertical; }
.field--row { flex-direction: row; align-items: flex-start; gap: var(--space-3); }
.field--row input[type="checkbox"], .field--row input[type="radio"] {
  margin-top: 4px;
  accent-color: var(--ykazy-purple);
  width: 18px;
  height: 18px;
}
.field-help { font-size: 0.8125rem; color: var(--ykazy-ink-faint); }
.field--required label::after { content: " *"; color: var(--ykazy-rose); }

/* Radio cards */
.radio-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: var(--space-3);
}
.radio-card {
  position: relative;
  padding: var(--space-5);
  border: 1px solid var(--ykazy-line);
  background: var(--ykazy-paper);
  cursor: pointer;
  transition: all var(--t-fast);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--ykazy-purple);
  line-height: 1.2;
}
.radio-card__sub {
  font-size: 0.8125rem;
  color: var(--ykazy-ink-soft);
  letter-spacing: 0.04em;
}
.radio-card:hover { border-color: var(--ykazy-gold); }
.radio-card:has(input:checked) {
  border-color: var(--ykazy-purple);
  background: var(--ykazy-mauve-tint);
  box-shadow: inset 0 0 0 1px var(--ykazy-purple);
}

/* Étapes du formulaire de réservation */
.steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: var(--space-10);
}
.steps__item {
  display: flex;
  align-items: center;
  flex: 1;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ykazy-ink-faint);
  font-weight: 500;
}
.steps__num {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ykazy-line);
  margin-right: var(--space-3);
  font-family: var(--font-display);
  font-style: italic;
  flex-shrink: 0;
  background: var(--ykazy-paper);
}
.steps__item.is-active { color: var(--ykazy-purple); }
.steps__item.is-active .steps__num { border-color: var(--ykazy-purple); background: var(--ykazy-purple); color: var(--ykazy-paper); }
.steps__item.is-done .steps__num { border-color: var(--ykazy-gold); color: var(--ykazy-gold); }
.steps__item:not(:last-child)::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ykazy-line);
  margin-left: var(--space-3);
}
.steps__item.is-done:not(:last-child)::after { background: var(--ykazy-gold); }
@media (max-width: 768px) {
  .steps__label { display: none; }
  .steps__item:not(:last-child)::after { margin-left: 0; }
}

.form-step { display: none; }
.form-step.is-active { display: block; animation: fadeUp 0.4s var(--ease-out); }
.form-actions { display: flex; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-8); }
.form-actions--end { justify-content: flex-end; }

/* --------------------------------------------------------------------------
   16. ANIMATIONS RÉVÉLATION (au scroll)
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"].is-visible { transition-delay: 100ms; }
.reveal[data-delay="2"].is-visible { transition-delay: 200ms; }
.reveal[data-delay="3"].is-visible { transition-delay: 300ms; }
.reveal[data-delay="4"].is-visible { transition-delay: 400ms; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   17. UTILITAIRES
   -------------------------------------------------------------------------- */
.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;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mb-0 { margin-bottom: 0; }
.mb-5 { margin-bottom: var(--space-5); }
.mb-8 { margin-bottom: var(--space-8); }

/* --------------------------------------------------------------------------
   18. CARTE LEAFLET (page contact)
   -------------------------------------------------------------------------- */
.map-wrap {
  width: 100%;
  height: clamp(280px, 40vw, 420px);
  background: var(--ykazy-mauve-tint);
  position: relative;
}
.leaflet-container { font-family: var(--font-body) !important; }

/* --------------------------------------------------------------------------
   19. CITATION PLEINE LARGEUR
   -------------------------------------------------------------------------- */
.pull-quote {
  text-align: center;
  max-width: 880px;
  margin-inline: auto;
  padding-block: clamp(3rem, 6vw, 5rem);
}
.pull-quote::before {
  content: "“";
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 6rem;
  line-height: 0.6;
  color: var(--ykazy-gold);
  margin-bottom: var(--space-3);
}
.pull-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  line-height: 1.3;
  color: var(--ykazy-ink);
}
.pull-quote cite {
  display: block;
  margin-top: var(--space-5);
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ykazy-ink-soft);
}

/* --------------------------------------------------------------------------
   20. TARIFS
   -------------------------------------------------------------------------- */
.price-table {
  border: 1px solid var(--ykazy-line);
  background: var(--ykazy-paper);
  display: grid;
  grid-template-columns: 1fr;
}
.price-table__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding: var(--space-6);
  border-bottom: 1px solid var(--ykazy-line);
  align-items: center;
}
.price-table__row:last-child { border-bottom: 0; }
@media (min-width: 768px) {
  .price-table__row { grid-template-columns: 60px 1fr auto; gap: var(--space-6); }
}
.price-table__roman {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--ykazy-gold);
  line-height: 1;
}
.price-table__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.375rem;
  color: var(--ykazy-purple);
  line-height: 1.2;
}
.price-table__sub { color: var(--ykazy-ink-soft); margin-top: var(--space-1); font-size: 0.9375rem; }
.price-table__amount {
  text-align: right;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--ykazy-ink);
}
.price-table__amount small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ykazy-ink-faint);
  font-weight: 500;
  margin-top: var(--space-1);
}
.price-table__row--feature {
  background: var(--ykazy-mauve-tint);
  border-left: 2px solid var(--ykazy-gold);
}

/* Cartes financements */
.fin-card {
  padding: var(--space-6);
  border: 1px solid var(--ykazy-line);
  background: var(--ykazy-paper);
  height: 100%;
}
.fin-card h4 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ykazy-purple);
}
.fin-card p { margin-top: var(--space-3); font-size: 0.9375rem; color: var(--ykazy-ink-soft); }

/* --------------------------------------------------------------------------
   21. STUDIO MAP / CARTE
   -------------------------------------------------------------------------- */
.studio-info {
  display: grid;
  gap: var(--space-3);
  font-size: 0.9375rem;
  color: var(--ykazy-ink-soft);
}
.studio-info dt {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ykazy-gold);
  font-weight: 600;
  margin-top: var(--space-3);
}
.studio-info dd { margin: 0; }
.studio-info dt:first-child { margin-top: 0; }

/* --------------------------------------------------------------------------
   22. TIMELINE (parcours sur page À propos)
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  padding-left: var(--space-8);
}
.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 6px;
  width: 1px;
  background: var(--ykazy-gold-line);
}
.timeline__item { position: relative; padding-bottom: var(--space-8); }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  top: 6px;
  left: -29px;
  width: 13px;
  height: 13px;
  background: var(--ykazy-paper);
  border: 1px solid var(--ykazy-gold);
  border-radius: 50%;
}
.timeline__year {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--ykazy-gold);
  letter-spacing: 0.04em;
  display: block;
}
.timeline__title {
  margin-top: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ykazy-ink);
  letter-spacing: -0.01em;
}
.timeline__org { color: var(--ykazy-ink-soft); font-size: 0.9375rem; margin-top: var(--space-1); }

/* --------------------------------------------------------------------------
   23. PROGRAMME HORAIRE (pages niveaux)
   -------------------------------------------------------------------------- */
.schedule {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--ykazy-line);
}
.schedule__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--ykazy-line);
}
@media (min-width: 768px) {
  .schedule__row { grid-template-columns: 140px 1fr; gap: var(--space-6); }
}
.schedule__time {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ykazy-gold);
  font-size: 1.125rem;
}
.schedule__title { font-weight: 600; color: var(--ykazy-ink); }
.schedule__desc { margin-top: var(--space-2); color: var(--ykazy-ink-soft); font-size: 0.9375rem; line-height: 1.65; }

/* --------------------------------------------------------------------------
   24. NOTICE / ALERTE LÉGÈRE
   -------------------------------------------------------------------------- */
.notice {
  padding: var(--space-5) var(--space-6);
  background: var(--ykazy-paper);
  border: 1px solid var(--ykazy-line);
  border-left: 2px solid var(--ykazy-gold);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ykazy-ink-soft);
}
.notice strong { color: var(--ykazy-purple); }
