/* ========== MOUV — Studio immersif sombre ========== */

:root {
  --noir: #000000;
  --noir-2: #0a0a08;
  --noir-3: #111110;
  --gris-beton: #B6AC9D;
  --olive: #6D7761;
  --creme: #F5EEE4;
  --camel: #BD8A5A;

  --font-title: "Big Shoulders Stencil Text", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 14px;
  --container: 1080px;
  --sidenav-w: 264px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 17.5px; }
section[id] { scroll-margin-top: 84px; }

body {
  font-family: var(--font-body);
  background: var(--noir);
  color: var(--creme);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Grain fin façon film — texture premium discrète sur tout le site */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 320;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) { body::after { display: none; } }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 600;
  line-height: 1.05;
}

h2 { font-size: clamp(2.3rem, 5.5vw, 4.1rem); line-height: 0.96; margin-bottom: 16px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--camel);
  background: rgba(189,138,90,0.1);
  border: 1px solid rgba(189,138,90,0.22);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-head { max-width: 620px; margin-bottom: 52px; }
.section-head p { color: rgba(245,238,228,0.62); font-size: 1.15rem; }

section {
  padding: 108px 0;
  position: relative;
  border-top: 1px solid rgba(245,238,228,0.06);
}
section:first-of-type { border-top: none; }

@media (max-width: 720px) { section { padding: 72px 0; } }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.in-view { opacity: 1; transform: none; }

.valeurs-grid .valeur-card:nth-child(1) { transition-delay: 0s; }
.valeurs-grid .valeur-card:nth-child(2) { transition-delay: 0.08s; }
.valeurs-grid .valeur-card:nth-child(3) { transition-delay: 0.16s; }
.valeurs-grid .valeur-card:nth-child(4) { transition-delay: 0.24s; }

.cours-grid .cours-card:nth-child(1) { transition-delay: 0s; }
.cours-grid .cours-card:nth-child(2) { transition-delay: 0.05s; }
.cours-grid .cours-card:nth-child(3) { transition-delay: 0.1s; }
.cours-grid .cours-card:nth-child(4) { transition-delay: 0.15s; }
.cours-grid .cours-card:nth-child(5) { transition-delay: 0.2s; }
.cours-grid .cours-card:nth-child(6) { transition-delay: 0.25s; }
.cours-grid .cours-card:nth-child(7) { transition-delay: 0.3s; }
.cours-grid .cours-card:nth-child(8) { transition-delay: 0.35s; }
.cours-grid .cours-card:nth-child(9) { transition-delay: 0.4s; }

.pricing-grid .price-card:nth-child(1), .hscroll-track .price-card:nth-child(1) { transition-delay: 0s; }
.pricing-grid .price-card:nth-child(2), .hscroll-track .price-card:nth-child(2) { transition-delay: 0.06s; }
.pricing-grid .price-card:nth-child(3), .hscroll-track .price-card:nth-child(3) { transition-delay: 0.12s; }
.pricing-grid .price-card:nth-child(4), .hscroll-track .price-card:nth-child(4) { transition-delay: 0.18s; }
.pricing-grid .price-card:nth-child(5), .hscroll-track .price-card:nth-child(5) { transition-delay: 0.24s; }
.pricing-grid .price-card:nth-child(6), .hscroll-track .price-card:nth-child(6) { transition-delay: 0.3s; }
.pricing-grid .price-card:nth-child(7), .hscroll-track .price-card:nth-child(7) { transition-delay: 0.36s; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.55s cubic-bezier(0.16,1,0.3,1), background 0.6s ease, color 0.6s ease, border-color 0.6s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--camel); color: var(--noir); }
.btn-primary:hover { background: #d19c68; }

.btn-olive { background: var(--olive); color: var(--creme); }
.btn-olive:hover { background: #7d8874; }

.btn-outline, .btn-outline-light {
  position: relative;
  background: transparent;
  border-color: rgba(245,238,228,0.3);
  color: var(--creme);
  overflow: hidden;
  z-index: 0;
  transition: color 0.75s ease, border-color 0.6s ease, transform 0.55s ease;
}
.btn-outline::before, .btn-outline-light::before {
  content: '';
  position: absolute;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  width: 10px; height: 10px;
  background: var(--camel);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 1.35s cubic-bezier(0.16,1,0.3,1);
  z-index: -1;
}
.btn-outline:hover, .btn-outline-light:hover { color: var(--noir); border-color: var(--camel); }
.btn-outline:hover::before, .btn-outline-light:hover::before { transform: translate(-50%, -50%) scale(45); }

/* Sur fond crème, l'outline crème-sur-crème est invisible par défaut : on inverse en noir */
.section-light .btn-outline,
.section-light .btn-outline-light {
  border-color: rgba(0,0,0,0.35);
  color: var(--noir);
}
.section-light .btn-outline:hover,
.section-light .btn-outline-light:hover { color: var(--noir); border-color: var(--camel); }

/* ---------- Top bar (persistante, tous écrans) ---------- */

.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 40px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(189,138,90,0.14);
  z-index: 300;
  transition: background 0.4s ease, border-color 0.4s ease;
}
.top-logo img { height: 28px; transition: opacity 0.2s ease; }
.top-logo-text {
  font-family: var(--font-title);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--creme);
  transition: color 0.3s ease;
  white-space: nowrap;
}
.top-bar.on-light .top-logo-text { color: var(--noir); }
@media (max-width: 480px) {
  .top-logo-text { font-size: 1.4rem; }
}

.top-nav { display: flex; align-items: center; gap: 30px; }
.top-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(245,238,228,0.55);
  transition: color 0.3s ease;
}
.top-nav a:hover, .top-nav a.active { color: var(--creme); }

.top-actions { display: flex; align-items: center; gap: 14px; }
.top-cta { padding: 12px 26px; font-size: 0.85rem; }

.menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid rgba(245,238,228,0.3);
  border-radius: 999px;
  cursor: pointer;
  padding: 11px 22px;
  color: var(--creme);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.menu-btn:hover { border-color: var(--camel); color: var(--camel); }
.menu-btn.open { border-color: var(--camel); color: var(--camel); }
.menu-btn-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* En-tête adaptatif : passe en clair au-dessus d'une section crème */
.top-bar.on-light {
  background: rgba(245,238,228,0.85);
  border-bottom-color: rgba(0,0,0,0.08);
}
.top-bar.on-light .top-nav a { color: rgba(0,0,0,0.55); }
.top-bar.on-light .top-nav a:hover, .top-bar.on-light .top-nav a.active { color: var(--noir); }
.top-bar.on-light .menu-btn { border-color: rgba(0,0,0,0.25); color: var(--noir); }
.top-bar.on-light .menu-btn:hover, .top-bar.on-light .menu-btn.open { border-color: var(--camel); color: var(--camel); }

@media (max-width: 960px) {
  .top-nav, .top-cta { display: none; }
  .menu-btn { display: flex; }
}

/* ---------- Barre de progression (pleine largeur, en haut) ---------- */

.top-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--camel);
  z-index: 310;
  transition: width 0.1s linear;
}

/* ---------- Menu plein écran ---------- */

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: var(--noir-2);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.65s cubic-bezier(0.83,0,0.17,1);
  pointer-events: none;
  overflow-y: auto;
}
.menu-overlay.open { clip-path: inset(0 0 0% 0); pointer-events: auto; }

.menu-overlay-inner {
  min-height: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 150px 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 60px;
}

.menu-links { display: flex; flex-direction: column; }
.menu-links a {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(245,238,228,0.1);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1), color 0.2s ease;
}
.menu-links a:last-child { border-bottom: 1px solid rgba(245,238,228,0.1); }
.menu-overlay.open .menu-links a { opacity: 1; transform: none; }
.menu-overlay.open .menu-links a:nth-child(1) { transition-delay: 0.1s; }
.menu-overlay.open .menu-links a:nth-child(2) { transition-delay: 0.16s; }
.menu-overlay.open .menu-links a:nth-child(3) { transition-delay: 0.22s; }
.menu-overlay.open .menu-links a:nth-child(4) { transition-delay: 0.28s; }
.menu-overlay.open .menu-links a:nth-child(5) { transition-delay: 0.34s; }
.menu-overlay.open .menu-links a:nth-child(6) { transition-delay: 0.4s; }

.menu-index {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(245,238,228,0.35);
}
.menu-label {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  text-transform: uppercase;
  line-height: 1;
  color: rgba(245,238,228,0.5);
  transition: color 0.25s ease, transform 0.25s ease;
}
.menu-links a:hover .menu-label, .menu-links a.active .menu-label { color: var(--creme); transform: translateX(14px); }
.menu-links a.active .menu-index { color: var(--camel); }

.menu-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 30px;
  border-top: 1px solid rgba(245,238,228,0.1);
}
.menu-footer-col { display: flex; flex-direction: column; gap: 4px; }
.menu-footer-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(245,238,228,0.4);
}
.menu-footer-col a, .menu-footer-col span:not(.menu-footer-label) { font-size: 0.95rem; color: rgba(245,238,228,0.8); }
.menu-footer-col a:hover { color: var(--camel); }

@media (max-width: 700px) {
  .menu-overlay-inner { padding: 120px 24px 40px; gap: 40px; }
  .menu-footer { flex-direction: column; align-items: flex-start; }
  .top-bar { padding: 0 22px; }
  .menu-btn { padding: 9px 16px; }
}

/* ---------- Main content ---------- */

.main-content { padding-top: 84px; }

/* ---------- Hero ---------- */

.hero { padding: 60px 0 100px; overflow: hidden; min-height: calc(100vh - 84px); display: flex; align-items: center; position: relative; }

.hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: min(1100px, 130vw);
  height: min(1100px, 130vw);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(189,138,90,0.22) 0%, rgba(189,138,90,0.09) 32%, rgba(189,138,90,0) 68%);
  pointer-events: none;
  z-index: 0;
  animation: heroGlow 9s ease-in-out infinite;
}
@keyframes heroGlow {
  0%, 100% { opacity: 0.75; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) { .hero::before { animation: none; } }

.hero .wrap { display: flex; justify-content: center; position: relative; z-index: 1; }

.hero-content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform, opacity;
}

.hero-tags,
.hero-content p,
.hero-ctas,
.hero-stats {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.hero-content.hero-in .hero-tags { opacity: 1; transform: none; transition-delay: 0.55s; }
.hero-content.hero-in p { opacity: 1; transform: none; transition-delay: 0.85s; }
.hero-content.hero-in .hero-ctas { opacity: 1; transform: none; transition-delay: 1s; }
.hero-content.hero-in .hero-stats { opacity: 1; transform: none; transition-delay: 1.15s; }

.hero-tags { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.eyebrow-camel { color: var(--noir); background: var(--camel); border-color: var(--camel); }

.hero-content h1 {
  font-size: clamp(3.1rem, 7.5vw, 6.4rem);
  line-height: 0.94;
  margin-bottom: 26px;
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  filter: blur(6px);
  transition: opacity 1.1s cubic-bezier(0.16,1,0.3,1), transform 1.1s cubic-bezier(0.16,1,0.3,1), filter 1.1s cubic-bezier(0.16,1,0.3,1);
}
.hero-content h1.title-in { opacity: 1; transform: none; filter: blur(0); }
.hero-content h1 span { color: var(--camel); position: relative; }

.hero-content p {
  color: rgba(245,238,228,0.65);
  font-size: 1.15rem;
  max-width: 460px;
  margin: 0 auto 32px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 30px;
  border-top: 1px solid rgba(245,238,228,0.16);
}
.hero-stats > div { text-align: center; }
.hero-stats div strong {
  display: block;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 3.1rem;
  letter-spacing: 0.01em;
  color: var(--camel);
  text-shadow: 0 0 28px rgba(189,138,90,0.35);
  margin-bottom: 4px;
}
.hero-stats div span {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(245,238,228,0.72);
}

@media (max-width: 600px) {
  .hero { padding: 40px 0 70px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-tags, .hero-content p, .hero-ctas, .hero-stats { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-content h1 { filter: none !important; }
}

/* ---------- Valeurs ---------- */

.valeurs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.valeur-card {
  background: rgba(245,238,228,0.03);
  border: 1px solid rgba(245,238,228,0.08);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.valeur-card:hover { border-color: rgba(189,138,90,0.35); background: rgba(245,238,228,0.05); }

.valeur-card .icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(189,138,90,0.14);
  border: 1px solid rgba(189,138,90,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--camel);
  font-family: var(--font-title);
  font-size: 1.1rem;
}

.valeur-card h3 { font-size: 1.1rem; margin-bottom: 8px; text-transform: none; color: var(--creme); }
.valeur-card p { color: rgba(245,238,228,0.55); font-size: 1rem; }

@media (max-width: 900px) { .valeurs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .valeurs-grid { grid-template-columns: 1fr; } }

/* ---------- Cours ---------- */

.cours-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.cours-card {
  position: relative;
  background: rgba(245,238,228,0.03);
  border: 1px solid rgba(245,238,228,0.08);
  border-radius: var(--radius);
  padding: 28px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.4s ease;
}
.cours-card:hover, .cours-card:focus-visible {
  border-color: rgba(109,119,97,0.5);
  background: rgba(109,119,97,0.08);
  box-shadow: 0 18px 38px -20px rgba(0,0,0,0.6);
  outline: none;
}

.cours-card-letter {
  position: absolute;
  top: 10px;
  right: 16px;
  font-family: var(--font-title);
  font-size: 3.4rem;
  color: rgba(189,138,90,0.1);
  line-height: 1;
  pointer-events: none;
  transition: color 0.4s ease, transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.cours-card:hover .cours-card-letter { color: rgba(189,138,90,0.22); transform: scale(1.08); }

.cours-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--camel); position: relative; }
.cours-card p { font-size: 1.02rem; color: rgba(245,238,228,0.58); position: relative; }

.cours-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--camel);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s cubic-bezier(0.16,1,0.3,1), transform 0.35s cubic-bezier(0.16,1,0.3,1), gap 0.35s ease;
}
.cours-card:hover .cours-card-more, .cours-card:focus-visible .cours-card-more { opacity: 1; transform: none; }
.cours-card:hover .cours-card-more:hover, .cours-card-more:hover { gap: 10px; }
.section-light .cours-card-more { color: var(--olive); }

@media (prefers-reduced-motion: reduce) {
  .cours-card-more { transition: none; }
  .cours-card-letter { transition: none; }
}

@media (max-width: 900px) { .cours-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cours-grid { grid-template-columns: 1fr; } }

/* ---------- Planning ---------- */

.planning-table-wrap { overflow-x: auto; border-radius: var(--radius); }

table.planning-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  background: rgba(245,238,228,0.02);
}
table.planning-table th, table.planning-table td {
  padding: 16px 14px;
  text-align: center;
  font-size: 0.96rem;
  border: 1px solid rgba(245,238,228,0.08);
  transition: background 0.35s cubic-bezier(0.16,1,0.3,1), color 0.35s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease;
}
table.planning-table thead th {
  font-family: var(--font-title);
  letter-spacing: 0.04em;
  color: var(--camel);
  font-size: 1rem;
  background: rgba(189,138,90,0.06);
}
table.planning-table td.creneau {
  font-weight: 700;
  text-align: left;
  color: var(--gris-beton);
  white-space: nowrap;
}
table.planning-table td.creneau small { display: block; font-weight: 400; opacity: 0.65; }
table.planning-table tbody td:not(.creneau) { color: rgba(245,238,228,0.72); }

/* Effets couleur au survol — ligne + case */
table.planning-table tbody tr:hover td { background: rgba(189,138,90,0.05); }
table.planning-table tbody tr:hover td.creneau { color: var(--camel); }
table.planning-table tbody td:not(.creneau):hover {
  background: rgba(189,138,90,0.22);
  color: var(--camel);
  font-weight: 700;
  transform: scale(1.04);
  box-shadow: inset 0 0 0 1px rgba(189,138,90,0.5);
  position: relative;
  z-index: 1;
}
table.planning-table td.clickable { cursor: pointer; }
table.planning-table td.clickable:focus-visible {
  outline: none;
  background: rgba(189,138,90,0.22);
  color: var(--camel);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(189,138,90,0.6);
}
@media (prefers-reduced-motion: reduce) {
  table.planning-table td { transition: none; }
  table.planning-table tbody td:not(.creneau):hover { transform: none; }
}

.planning-note { margin-top: 24px; font-size: 0.87rem; color: rgba(245,238,228,0.4); }

/* ---------- Offres ---------- */

.offre-block { margin-bottom: 68px; }

.offre-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}
.offre-block-head h3 { font-size: 1.6rem; color: var(--creme); }

.offre-desc { color: rgba(245,238,228,0.55); margin-bottom: 30px; max-width: 600px; }

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

.price-card {
  position: relative;
  background: var(--noir);
  padding: 30px 24px;
  border: 1px solid rgba(245,238,228,0.07);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background 0.45s cubic-bezier(0.16,1,0.3,1), border-color 0.45s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1), box-shadow 0.5s cubic-bezier(0.16,1,0.3,1);
}

/* Spotlight qui suit le curseur — effet "agence premium" */
.price-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(189,138,90,0.16), transparent 68%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.price-card:hover::before { opacity: 1; }
.price-card > * { position: relative; z-index: 1; }

.price-card:hover {
  background: rgba(245,238,228,0.045);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -22px rgba(0,0,0,0.6);
  z-index: 2;
}

.price-card.highlight { background: var(--camel); }
.price-card.highlight::before { background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(0,0,0,0.14), transparent 68%); }
.price-card.highlight:hover { background: #c99968; box-shadow: 0 20px 40px -20px rgba(189,138,90,0.4); }

/* Halo respirant très discret sur les offres mises en avant */
.price-card.highlight { animation: highlightGlow 7s ease-in-out infinite; }
@keyframes highlightGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(189,138,90,0); }
  50% { box-shadow: 0 10px 28px -16px rgba(189,138,90,0.4); }
}
.price-card.highlight:hover { animation: none; }
@media (prefers-reduced-motion: reduce) { .price-card.highlight { animation: none; } }

.price-card .tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(189,138,90,0.8);
  margin-bottom: 12px;
}
.price-card.highlight .tag { color: rgba(0,0,0,0.5); }

.price-card h4 { font-size: 1.05rem; font-weight: 500; text-transform: none; margin-bottom: 14px; color: var(--creme); }
.price-card.highlight h4 { color: var(--noir); }

.price-card .price { font-family: var(--font-title); font-size: 2.2rem; margin: 0 0 4px; color: var(--creme); }
.price-card.highlight .price { color: var(--noir); }
.price-card .price small { font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; }

.price-card .desc { font-size: 0.88rem; line-height: 1.5; color: rgba(245,238,228,0.42); margin-bottom: 18px; }
.price-card.highlight .desc { color: rgba(0,0,0,0.55); }

.price-card ul { font-size: 0.88rem; margin-top: auto; padding-top: 4px; color: rgba(245,238,228,0.55); }
.price-card ul li { padding: 7px 0; border-top: 1px solid rgba(245,238,228,0.06); }
.price-card ul li:first-child { border-top: none; }
.price-card.highlight ul li { border-top-color: rgba(0,0,0,0.12); color: rgba(0,0,0,0.65); }

.offre-fineprint {
  margin-top: 24px;
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(245,238,228,0.35);
  white-space: nowrap;
  overflow-x: auto;
}
@media (max-width: 900px) {
  .offre-fineprint { white-space: normal; overflow-x: visible; }
}

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

/* ---------- Mini CTA sur chaque carte tarif ---------- */

.price-cta {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--camel);
  transition: gap 0.4s cubic-bezier(0.16,1,0.3,1), color 0.35s ease;
}
.price-cta:hover { gap: 10px; color: var(--creme); }
.price-card.highlight .price-cta { color: var(--noir); }
.price-card.highlight .price-cta:hover { color: rgba(0,0,0,0.6); }
.price-card ul + .price-cta { margin-top: 16px; }

.promo-banner {
  background: rgba(109,119,97,0.16);
  border: 1px solid rgba(109,119,97,0.4);
  border-radius: var(--radius);
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
}
.promo-banner strong { font-family: var(--font-title); font-size: 1.5rem; display: block; color: var(--camel); }
.promo-banner p { font-size: 0.85rem; color: rgba(245,238,228,0.6); margin-top: 4px; }

/* ---------- Studio / Galerie ---------- */

.studio .wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }

.studio-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(245,238,228,0.1);
}
.studio-visual img { filter: brightness(0.88); }

.studio-list { margin-top: 24px; }
.studio-list li {
  padding: 13px 0;
  border-top: 1px solid rgba(245,238,228,0.08);
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(245,238,228,0.68);
}
.studio-list li:last-child { border-bottom: 1px solid rgba(245,238,228,0.08); }
.studio-list li strong { color: var(--camel); font-family: var(--font-title); font-size: 1rem; min-width: 26px; }

@media (max-width: 900px) {
  .studio .wrap { grid-template-columns: 1fr; }
  .studio .wrap > div:first-child { order: 2; }
}

/* ---------- Contact ---------- */

.contact {
  background: linear-gradient(180deg, rgba(109,119,97,0.22), rgba(109,119,97,0.1));
}
.contact .section-head p { color: rgba(245,238,228,0.75); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.contact-card {
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(245,238,228,0.14);
  border-radius: var(--radius);
  padding: 30px;
}
.contact-card h3 { font-size: 1.15rem; margin-bottom: 16px; color: var(--creme); }

.contact-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 0.95rem; color: rgba(245,238,228,0.75); }
.contact-line strong { display: block; color: var(--creme); }
.contact-line span.label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(245,238,228,0.45);
  display: block;
  margin-bottom: 2px;
}
.contact-card .btn { margin-top: 14px; }

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

/* ---------- Footer ---------- */

.site-footer { background: var(--noir-2); padding: 56px 0 28px; }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(245,238,228,0.08);
  margin-bottom: 24px;
}
.footer-top img { height: 28px; margin-bottom: 12px; }
.footer-logo-text {
  display: block;
  font-family: var(--font-title);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--creme);
  margin-bottom: 12px;
}
.footer-top p { max-width: 320px; font-size: 0.95rem; color: rgba(245,238,228,0.45); }

.footer-nav { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-nav h4 {
  font-family: var(--font-body);
  text-transform: none;
  font-size: 0.85rem;
  color: var(--creme);
  margin-bottom: 12px;
  font-weight: 700;
}
.footer-nav li { font-size: 0.88rem; margin-bottom: 8px; color: rgba(245,238,228,0.5); }
.footer-nav a:hover { color: var(--camel); }

.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.78rem; color: rgba(245,238,228,0.35); }

/* ========== Modal détail cours ========== */

.course-modal {
  position: fixed;
  inset: 0;
  z-index: 380;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  pointer-events: none;
}
.course-modal.open { visibility: visible; pointer-events: auto; }

.course-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.45s ease;
}
.course-modal.open .course-modal-backdrop { opacity: 1; }

.course-modal-panel {
  position: relative;
  width: min(880px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: var(--noir-3);
  border: 1px solid rgba(245,238,228,0.1);
  border-radius: 20px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  filter: blur(4px);
  transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1), transform 0.5s cubic-bezier(0.16,1,0.3,1), filter 0.5s cubic-bezier(0.16,1,0.3,1);
}
.course-modal.open .course-modal-panel { opacity: 1; transform: none; filter: blur(0); }

.course-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.4);
  color: var(--creme);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}
.course-modal-close:hover { background: var(--camel); color: var(--noir); transform: rotate(90deg); }

.course-modal-visual {
  position: relative;
  min-height: 220px;
  overflow: hidden;
}
.course-modal-visual img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.55) saturate(0.9); }
.course-modal-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(189,138,90,0.5), rgba(0,0,0,0.55) 70%);
  mix-blend-mode: multiply;
}
.course-modal-letter {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-title);
  font-size: 9rem;
  line-height: 1;
  color: rgba(245,238,228,0.9);
  z-index: 1;
  text-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.course-modal-body { padding: 40px 38px; }
.course-modal-body .eyebrow { margin-bottom: 14px; display: inline-flex; }
.course-modal-body h3 { font-size: 1.9rem; color: var(--creme); margin-bottom: 10px; }
.course-modal-body p { color: rgba(245,238,228,0.62); font-size: 1.02rem; margin-bottom: 24px; }

.course-modal-meta {
  display: flex;
  gap: 32px;
  padding: 18px 0;
  margin-bottom: 20px;
  border-top: 1px solid rgba(245,238,228,0.1);
  border-bottom: 1px solid rgba(245,238,228,0.1);
}
.course-modal-meta strong { display: block; font-family: var(--font-title); font-size: 1.3rem; color: var(--camel); }
.course-modal-meta span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(245,238,228,0.5); }

.course-modal-body ul { margin-bottom: 28px; }
.course-modal-body ul li {
  padding: 9px 0 9px 22px;
  position: relative;
  font-size: 0.95rem;
  color: rgba(245,238,228,0.75);
  border-top: 1px solid rgba(245,238,228,0.07);
}
.course-modal-body ul li:first-child { border-top: none; }
.course-modal-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 17px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--camel);
}

@media (max-width: 720px) {
  .course-modal-panel { grid-template-columns: 1fr; max-height: 90vh; }
  .course-modal-visual { min-height: 160px; }
  .course-modal-letter { font-size: 6rem; }
  .course-modal-body { padding: 30px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .course-modal-backdrop, .course-modal-panel { transition: none; }
}

body.course-modal-lock { overflow: hidden; }

/* ========== Preloader ========== */

#preloader {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--noir);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.7,0,0.3,1);
}
.preloader-logo-text {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--creme);
  opacity: 0;
  transform: scale(0.92);
  animation: preloaderLogo 1.1s cubic-bezier(0.16,1,0.3,1) forwards 0.15s,
             preloaderPulse 1.9s ease-in-out infinite 1.35s;
}
#preloader.done {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}
#preloader.done .preloader-logo-text { animation-play-state: paused; }
@keyframes preloaderLogo {
  to { opacity: 1; transform: scale(1); }
}
@keyframes preloaderPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ========== Curseur personnalisé ========== */

body.has-custom-cursor, body.has-custom-cursor a, body.has-custom-cursor button {
  cursor: none;
}
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 400;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--camel);
  display: none;
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(189,138,90,0.55);
  transition: width 0.3s cubic-bezier(0.16,1,0.3,1), height 0.3s cubic-bezier(0.16,1,0.3,1), border-color 0.3s ease, background 0.3s ease;
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
body.has-custom-cursor .cursor-dot, body.has-custom-cursor .cursor-ring { display: flex; }
.cursor-ring.hovered {
  width: 58px; height: 58px;
  background: rgba(189,138,90,0.12);
  border-color: var(--camel);
}
.cursor-ring.labeled {
  width: 78px; height: 78px;
  background: var(--camel);
  border-color: var(--camel);
}
.cursor-ring span {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--noir);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}
.cursor-ring.labeled span { opacity: 1; transform: scale(1); }

/* ========== Texte révélé (split words) ========== */

.split-text .word { overflow: hidden; display: inline-block; vertical-align: top; }
.split-text .word-inner {
  display: inline-block;
  transform: translateY(115%);
  opacity: 0;
  transition: transform 0.75s cubic-bezier(0.16,1,0.3,1), opacity 0.6s ease;
}
.split-text.revealed .word-inner { transform: none; opacity: 1; }

/* ========== Tilt 3D ========== */

.tilt {
  transition: transform 0.55s cubic-bezier(0.16,1,0.3,1);
  will-change: transform;
}

/* ========== Sections claires (alternance façon Cuberto) ========== */

.section-light {
  background: var(--creme);
  color: var(--noir);
  border-top-color: rgba(0,0,0,0.08);
}
.section-light .section-head p, .section-light p { color: rgba(0,0,0,0.6); }
.section-light .eyebrow {
  color: var(--olive);
  background: rgba(109,119,97,0.1);
  border-color: rgba(109,119,97,0.25);
}
.section-light .valeur-card { background: #fff; border-color: rgba(0,0,0,0.07); }
.section-light .valeur-card:hover { border-color: rgba(189,138,90,0.4); background: #fff; }
.section-light .valeur-card h3 { color: var(--noir); }
.section-light .valeur-card p { color: rgba(0,0,0,0.55); }
.section-light .studio-list li { color: rgba(0,0,0,0.6); border-top-color: rgba(0,0,0,0.1); }
.section-light .studio-list li:last-child { border-bottom-color: rgba(0,0,0,0.1); }
.section-light .studio-visual { border-color: rgba(0,0,0,0.08); }

.section-light table.planning-table { background: rgba(0,0,0,0.015); }
.section-light table.planning-table th, .section-light table.planning-table td { border-color: rgba(0,0,0,0.09); }
.section-light table.planning-table thead th { background: rgba(189,138,90,0.08); color: var(--camel); }
.section-light table.planning-table td.creneau { color: var(--olive); }
.section-light table.planning-table tbody td:not(.creneau) { color: rgba(0,0,0,0.7); }
.section-light .planning-note { color: rgba(0,0,0,0.4); }

/* ========== Bande photo ========== */

.image-band { padding: 0; border-top: none; }
.image-band-frame {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.image-band-frame .inner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 52vh;
  min-height: 340px;
  max-height: 520px;
}

/* Animation d'entrée ET de sortie — fondu discret, sans gimmick */
.band-io {
  position: relative;
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 1s cubic-bezier(0.16,1,0.3,1), transform 1.1s cubic-bezier(0.16,1,0.3,1);
}
.band-io.in-view { opacity: 1; transform: none; }

.image-band-frame img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.6) saturate(0.95);
  animation: slowZoom 22s ease-in-out infinite alternate;
}
@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.09); }
}
@media (prefers-reduced-motion: reduce) {
  .image-band-frame img { animation: none; }
}
.image-band-frame .inner::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.6));
}
.image-band-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.8s ease 0.7s;
}
.band-io.in-view .image-band-caption { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .band-io { opacity: 1 !important; transform: none !important; transition: none !important; }
  .image-band-caption { opacity: 1 !important; transition: none !important; }
}
.image-band-caption p {
  color: rgba(245,238,228,0.88);
  font-size: 1.1rem;
  max-width: 480px;
  margin-top: 10px;
}

@media (max-width: 700px) {
  .image-band-frame .inner { height: 42vh; min-height: 280px; }
  .image-band-caption { padding: 24px; }
}

/* ========== CTA de fin de section ========== */

.section-cta { margin-top: 48px; text-align: center; }

/* ========== Comptage animé ========== */

.count { font-variant-numeric: tabular-nums; }

/* ========== Accessibilité : mouvement réduit ========== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .reveal, .split-text .word-inner, .hero-content h1 { opacity: 1 !important; transform: none !important; }
  #preloader { display: none !important; }
}
