/* Core Studio — CSS principal */

:root {
  --beige: #F5EFE6;
  --beige2: #EDE5D8;
  --rose: #F0D9D2;
  --bordeaux: #6B2737;
  --bordeaux2: #8B3347;
  --bordeaux-light: #C4717F;
  --noir: #1A1015;
  --gris: #8A7F7A;
  --cond: 'Anton', sans-serif;
  --serif: 'Instrument Serif', serif;
  --sans: 'DM Sans', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--beige); color: var(--noir); overflow-x: hidden; }

/* ── SURLIGNAGE ANIMÉ ── */
.highlight {
  position: relative; display: inline;
  background: linear-gradient(var(--rose) 0%, var(--rose) 100%);
  background-repeat: no-repeat;
  background-position: left 85%;
  background-size: 0% 40%;
  transition: background-size 0.6s cubic-bezier(.4,0,.2,1);
  padding: 0 2px;
}
.highlight.active { background-size: 100% 40%; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 40px; height: 64px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(245,239,230,0); transition: background .4s, border-color .4s;
  border-bottom: 0.5px solid transparent;
}
.nav.scrolled { background: rgba(245,239,230,.97); border-color: rgba(26,16,21,.08); backdrop-filter: blur(10px); }
.nav-logo { font-family: var(--cond); font-size: 22px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--bordeaux); text-decoration: none; }
.nav-logo span { color: var(--noir); }
.nav-links { display: flex; gap: 32px; align-items: center; list-style: none; }
.nav-links a { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--gris); text-decoration: none; transition: color .2s; font-weight: 500; }
.nav-links a:hover { color: var(--bordeaux); }
.nav-book { background: var(--bordeaux) !important; color: var(--beige) !important; padding: 8px 20px !important; letter-spacing: .12em !important; transition: background .2s !important; }
.nav-book:hover { background: var(--bordeaux2) !important; }

/* ── HERO ── */
/* ── HERO PLEIN ÉCRAN ── */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  overflow: hidden; display: flex; align-items: flex-end;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block;
}
.hero-bg-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #2a1a1e 0%, #6B2737 50%, #3a1520 100%);
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,16,21,.85) 0%, rgba(26,16,21,.4) 50%, rgba(26,16,21,.1) 100%);
}
.hero-content {
  position: relative; z-index: 2; padding: 0 48px 64px; width: 100%;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
}
.hero-content-left { max-width: 680px; }
.hero-eyebrow {
  font-size: 9px; letter-spacing: .4em; text-transform: uppercase;
  color: var(--rose); display: block; margin-bottom: 16px; font-weight: 500;
  font-family: var(--sans);
}
.hero-h1 {
  font-family: var(--cond); font-weight: 900;
  font-size: clamp(72px, 11vw, 140px);
  text-transform: uppercase; letter-spacing: -.02em; line-height: .85;
  color: var(--beige); margin-bottom: 24px;
}
.hero-h1 em {
  font-style: italic; font-weight: 400; color: var(--rose);
  font-family: var(--serif); font-size: .75em; text-transform: none; letter-spacing: .02em;
}
.hero-sub {
  font-size: 12px; line-height: 1.8; color: rgba(245,239,230,.6);
  font-weight: 300; max-width: 420px; margin-bottom: 28px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--bordeaux); color: var(--beige);
  font-family: var(--sans); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  padding: 13px 28px; border: none; cursor: pointer; font-weight: 500;
  text-decoration: none; display: inline-block; transition: background .2s, transform .2s;
}
.btn-primary:hover { background: var(--bordeaux2); transform: translateY(-2px); }
.btn-secondary {
  border: 1px solid rgba(245,239,230,.35); color: var(--beige);
  font-family: var(--sans); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  padding: 13px 28px; background: transparent; cursor: pointer;
  text-decoration: none; display: inline-block; transition: border-color .2s, transform .2s;
}
.btn-secondary:hover { border-color: rgba(245,239,230,.7); transform: translateY(-2px); }
.hero-content-right { text-align: right; flex-shrink: 0; }
.hero-stats { display: flex; gap: 28px; justify-content: flex-end; }
.hero-stat-num {
  font-family: var(--cond); font-size: 40px; font-weight: 900;
  color: var(--beige); line-height: 1;
}
.hero-stat-label {
  font-size: 8px; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(245,239,230,.4); margin-top: 2px; font-family: var(--sans);
}
.hero-pill {
  position: absolute; top: 88px; right: 40px; z-index: 3;
  background: rgba(245,239,230,.1); backdrop-filter: blur(12px);
  border: 0.5px solid rgba(245,239,230,.2);
  padding: 10px 16px; display: flex; align-items: center; gap: 8px;
}
.hero-pill-dot {
  width: 7px; height: 7px; background: var(--rose); border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }
.hero-pill-text {
  font-size: 9px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--beige); font-weight: 500; font-family: var(--sans);
}

/* ── BLOC FEATURED (Our Favourites) ── */
.featured {
  padding: 0 48px; margin-top: -2px; background: var(--beige);
}
.featured-header {
  padding: 48px 0 32px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 0.5px solid rgba(26,16,21,.08); margin-bottom: 32px;
}
.featured-title {
  font-family: var(--cond); font-size: 28px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .05em; color: var(--noir);
}
.featured-subtitle {
  font-size: 10px; color: var(--gris); letter-spacing: .05em; font-style: italic;
  font-family: var(--serif);
}
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  padding-bottom: 64px;
}
.featured-card {
  position: relative; overflow: hidden; cursor: pointer; text-decoration: none; display: block;
}
.featured-card-img {
  width: 100%; overflow: hidden; display: block;
}
.featured-card-img-inner {
  width: 100%; display: block; transition: transform .6s ease;
}
.featured-card:hover .featured-card-img-inner { transform: scale(1.04); }
.featured-card-placeholder {
  width: 100%; display: block;
}
.featured-card-info {
  padding: 12px 0 0;
  display: flex; justify-content: space-between; align-items: flex-start;
}
.featured-card-name {
  font-family: var(--cond); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--noir);
  display: block; margin-bottom: 2px;
}
.featured-card-type {
  font-size: 9px; color: var(--gris); letter-spacing: .06em; font-family: var(--sans);
}
.featured-card-link {
  font-size: 8px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--bordeaux); font-weight: 600; white-space: nowrap; margin-top: 2px;
  font-family: var(--sans);
}
/* Grande carte gauche */
.featured-card.large .featured-card-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, #D4C4B8 0%, #C0A898 100%);
  display: flex; align-items: center; justify-content: center;
}
/* Petites cartes droite */
.featured-card.small .featured-card-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(160deg, var(--rose) 0%, var(--bordeaux-light) 60%);
  display: flex; align-items: center; justify-content: center;
}
.featured-card.small:nth-child(3) .featured-card-placeholder {
  background: linear-gradient(160deg, #3a1520 0%, var(--bordeaux) 100%);
}
.featured-card.small:nth-child(4) .featured-card-placeholder {
  background: linear-gradient(160deg, var(--beige2) 0%, #C0A898 100%);
}
.featured-placeholder-text {
  font-family: var(--cond); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(245,239,230,.3);
}
/* Grille : grande à gauche sur 2 lignes, petites à droite */
.featured-card.large {
  grid-row: 1 / 3;
}
.featured-card.small {
  grid-row: auto;
}

/* ── MARQUEE ── */
.marquee { background: var(--bordeaux); overflow: hidden; padding: .7rem 0; }
.marquee-track { display: flex; gap: 3rem; animation: marq 20s linear infinite; white-space: nowrap; }
.marquee-item { font-family: var(--cond); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: rgba(245,239,230,.5); flex-shrink: 0; font-weight: 600; }
.marquee-item span { color: var(--rose); margin: 0 1rem; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ── SECTION COMMUNE ── */
.section-tag { font-size: 9px; letter-spacing: .35em; text-transform: uppercase; color: var(--bordeaux); display: block; margin-bottom: 8px; font-weight: 500; }
.section-title { font-family: var(--cond); font-size: clamp(36px, 5vw, 64px); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; line-height: .9; color: var(--noir); }
.section-title em { font-style: italic; font-family: var(--serif); font-weight: 300; text-transform: none; letter-spacing: .02em; }

/* ── À PROPOS ── */
.about { padding: 96px 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; }
.about-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.about-placeholder { width: 100%; aspect-ratio: 3/4; background: linear-gradient(160deg, var(--rose) 0%, var(--bordeaux-light) 100%); display: flex; align-items: center; justify-content: center; }
.about-placeholder span { font-family: var(--cond); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(245,239,230,.4); }
.about-badge { position: absolute; bottom: -20px; right: -20px; background: var(--bordeaux); padding: 20px 24px; text-align: center; min-width: 120px; }
.about-badge-num { font-family: var(--cond); font-size: 40px; font-weight: 900; color: var(--rose); line-height: 1; }
.about-badge-label { font-size: 8px; letter-spacing: .15em; text-transform: uppercase; color: rgba(245,239,230,.5); margin-top: 2px; }
.about-text { margin-top: 24px; }
.about-text p { font-size: 13px; line-height: 1.9; color: var(--gris); margin-bottom: 14px; }
.about-values { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 24px; }
.about-value { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--bordeaux); display: flex; align-items: center; gap: 6px; }
.about-value::before { content: ''; width: 16px; height: 1px; background: var(--bordeaux); }

/* ── COURS ── */
.cours { padding: 96px 48px; background: var(--noir); }
.cours-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.cours .section-title { color: var(--beige); }
.cours-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.cours-card { background: rgba(245,239,230,.03); padding: 36px 28px; border: 0.5px solid rgba(245,239,230,.06); transition: background .3s, border-color .3s; position: relative; overflow: hidden; }
.cours-card::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--bordeaux); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.4,0,.2,1); }
.cours-card:hover { background: rgba(245,239,230,.05); border-color: rgba(245,239,230,.1); }
.cours-card:hover::before { transform: scaleX(1); }
.cours-card-num { font-family: var(--cond); font-size: 64px; font-weight: 900; color: rgba(245,239,230,.04); line-height: 1; margin-bottom: -8px; }
.cours-card-name { font-family: var(--cond); font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--beige); margin-bottom: 10px; }
.cours-card-desc { font-size: 11px; line-height: 1.7; color: rgba(245,239,230,.45); font-weight: 300; margin-bottom: 20px; }
.cours-card-details { display: flex; gap: 16px; flex-wrap: wrap; }
.cours-detail { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--bordeaux-light); }
.cours-card-link { display: inline-block; font-size: 9px; letter-spacing: .15em; text-transform: uppercase; color: var(--beige); margin-top: 20px; text-decoration: none; border-bottom: 1px solid rgba(245,239,230,.2); padding-bottom: 2px; transition: border-color .2s, color .2s; }
.cours-card:hover .cours-card-link { border-color: var(--bordeaux-light); color: var(--rose); }

/* ── PLANNING ── */
.planning { padding: 96px 48px; background: var(--beige2); }
.planning-header { margin-bottom: 48px; }
.planning-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; }
.planning-day { }
.planning-day-name { font-family: var(--cond); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--bordeaux); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1.5px solid var(--bordeaux); }
.planning-slots { display: flex; flex-direction: column; gap: 8px; }
.planning-slot { background: var(--beige); padding: 10px 12px; border-left: 2.5px solid var(--bordeaux); transition: background .2s, transform .2s; cursor: pointer; }
.planning-slot:hover { background: var(--rose); transform: translateX(3px); }
.planning-slot-time { font-size: 10px; font-weight: 500; color: var(--bordeaux); margin-bottom: 2px; }
.planning-slot-name { font-size: 9px; color: var(--gris); letter-spacing: .05em; }
.planning-slot-spots { font-size: 8px; color: var(--bordeaux-light); letter-spacing: .1em; text-transform: uppercase; margin-top: 3px; }
.planning-slot.full { opacity: .5; cursor: not-allowed; border-left-color: var(--gris); }
.planning-slot.full:hover { transform: none; background: var(--beige); }

/* ── ABONNEMENTS ── */
.abonnements { padding: 96px 48px; background: var(--beige); }
.abonnements-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; }
.abonnement { padding: 36px 28px; border: 1px solid rgba(26,16,21,.1); position: relative; transition: transform .3s, border-color .3s, box-shadow .3s; }
.abonnement:hover { transform: translateY(-6px); border-color: var(--bordeaux); box-shadow: 0 20px 40px rgba(107,39,55,.1); }
.abonnement.featured { background: var(--bordeaux); border-color: var(--bordeaux); }
.abonnement-badge { position: absolute; top: -12px; left: 24px; background: var(--rose); color: var(--bordeaux); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; padding: 3px 12px; font-weight: 600; }
.abonnement-name { font-family: var(--cond); font-size: 14px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--bordeaux); margin-bottom: 8px; }
.abonnement.featured .abonnement-name { color: var(--rose); }
.abonnement-price { font-family: var(--cond); font-size: 56px; font-weight: 900; color: var(--noir); line-height: 1; margin-bottom: 4px; }
.abonnement.featured .abonnement-price { color: var(--beige); }
.abonnement-period { font-size: 10px; color: var(--gris); margin-bottom: 24px; letter-spacing: .05em; }
.abonnement.featured .abonnement-period { color: rgba(245,239,230,.5); }
.abonnement-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.abonnement-features li { font-size: 11px; color: var(--gris); display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.abonnement.featured .abonnement-features li { color: rgba(245,239,230,.7); }
.abonnement-features li::before { content: '→'; color: var(--bordeaux); flex-shrink: 0; font-weight: 600; }
.abonnement.featured .abonnement-features li::before { color: var(--rose); }
.abonnement-btn { display: block; text-align: center; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; padding: 12px; border: 1px solid rgba(26,16,21,.15); color: var(--noir); font-weight: 500; background: transparent; cursor: pointer; transition: all .2s; width: 100%; font-family: var(--sans); }
.abonnement-btn:hover { background: var(--bordeaux); border-color: var(--bordeaux); color: var(--beige); }
.abonnement.featured .abonnement-btn { background: var(--beige); border-color: var(--beige); color: var(--bordeaux); }
.abonnement.featured .abonnement-btn:hover { background: var(--rose); border-color: var(--rose); }

/* ── TEMOIGNAGES ── */
.temoignages { padding: 96px 48px; background: var(--rose); overflow: hidden; }
.temoignages-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.temos-track { display: flex; gap: 20px; animation: temos 30s linear infinite; }
.temos-track:hover { animation-play-state: paused; }
.temo-card { min-width: 340px; background: var(--beige); padding: 28px; flex-shrink: 0; transition: transform .3s; }
.temo-card:hover { transform: translateY(-4px); }
.temo-stars { display: flex; gap: 3px; margin-bottom: 12px; }
.temo-star { width: 12px; height: 12px; background: var(--bordeaux); clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }
.temo-text { font-family: var(--serif); font-size: 15px; font-style: italic; line-height: 1.6; color: var(--noir); margin-bottom: 16px; }
.temo-author { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--bordeaux); font-weight: 500; }
.temo-detail { font-size: 9px; color: var(--gris); margin-top: 2px; }
@keyframes temos { to { transform: translateX(-50%); } }

/* ── BEFORE AFTER ── */
/* résultats remplacés par section photo */

/* ── CTA ── */
.cta { padding: 96px 48px; background: var(--bordeaux); text-align: center; position: relative; overflow: hidden; }
.cta::before { content: 'JOIN'; position: absolute; font-family: var(--cond); font-size: 280px; font-weight: 900; color: rgba(245,239,230,.04); top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; letter-spacing: -.02em; }
.cta h2 { font-family: var(--cond); font-size: clamp(48px,8vw,100px); font-weight: 900; text-transform: uppercase; color: var(--beige); line-height: .9; margin-bottom: 16px; position: relative; z-index: 1; letter-spacing: -.01em; }
.cta h2 em { font-style: italic; font-family: var(--serif); font-weight: 300; text-transform: none; color: var(--rose); }
.cta p { font-size: 13px; color: rgba(245,239,230,.55); margin-bottom: 32px; line-height: 1.7; position: relative; z-index: 1; }
.cta-btn { background: var(--beige); color: var(--bordeaux); font-family: var(--sans); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; padding: 14px 32px; border: none; cursor: pointer; font-weight: 600; text-decoration: none; display: inline-block; position: relative; z-index: 1; transition: background .2s, transform .2s; }
.cta-btn:hover { background: var(--rose); transform: translateY(-2px); }

/* ── FOOTER ── */
footer { background: var(--noir); padding: 36px 48px; display: flex; justify-content: space-between; align-items: center; }
.footer-logo { font-family: var(--cond); font-size: 20px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--rose); }
.footer-logo span { color: rgba(245,239,230,.3); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 9px; letter-spacing: .15em; text-transform: uppercase; color: rgba(245,239,230,.3); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--rose); }
.footer-copy { font-size: 9px; color: rgba(245,239,230,.2); letter-spacing: .05em; }
.footer-credit { font-size: 9px; color: rgba(245,239,230,.2); }
.footer-credit a { color: var(--bordeaux-light); text-decoration: none; }

/* ── ANIMATIONS SCROLL ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform .9s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity .9s ease, transform .9s ease; }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(32px); transition: opacity .9s ease, transform .9s ease; }
.reveal-right.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-content { flex-direction: column; align-items: flex-start; padding: 0 24px 48px; }
  .featured { padding: 0 24px; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-card.large { grid-row: auto; }
  .about, .results-inner { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px; }
  .cours, .planning, .abonnements, .temoignages, .cta { padding: 64px 24px; }
  .cours-grid, .abonnements-grid { grid-template-columns: 1fr; }
  .planning-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  footer { flex-direction: column; gap: 16px; text-align: center; padding: 28px 24px; }
  .about-badge { bottom: -12px; right: 12px; }
}