/* ============================================
   ESPACE PILATES · Premium Studio Website
   Design: éditorial magazine · Suisse 2026
   ============================================ */

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  font-weight: 400;
  font-feature-settings: 'kern', 'liga', 'calt';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ---- Tokens ---- */
:root {
  --bg: #FAF6F2;
  --bg-warm: #F2EBE2;
  --ink: #1A1814;
  --ink-soft: #4A4540;
  --ink-mute: #7A746E;
  --brand-red: #D4230D;
  --brand-red-dark: #B01D0A;
  --brand-cream: #EAE4DB;
  --sage: #7A8A6D;
  --accent-warm: #C49A6C;
  --line: rgba(26, 24, 20, 0.10);
  --line-soft: rgba(26, 24, 20, 0.06);

  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-soft: 0 1px 2px rgba(26,24,20,0.04), 0 8px 24px rgba(26,24,20,0.04);
  --shadow-hover: 0 2px 6px rgba(26,24,20,0.06), 0 20px 40px rgba(26,24,20,0.08);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max-width: 1320px;
  --pad-x: clamp(20px, 5vw, 64px);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; font-size: inherit; color: inherit; }

::selection { background: var(--brand-red); color: var(--bg); }

/* ---- Typography ---- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--ink);
}

h1 { font-size: clamp(3rem, 8vw, 6.5rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(2.25rem, 5vw, 4rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 1rem;
  display: inline-block;
}

p { color: var(--ink-soft); }

/* ---- Layout helpers ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

section {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
}

.section-header { max-width: 720px; margin: 0 auto clamp(48px, 8vw, 96px); text-align: center; }
.section-header.left { text-align: left; margin-left: 0; }
.section-header p { font-size: 1.125rem; margin-top: 1rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-red);
  color: var(--bg);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--brand-red-dark), var(--brand-red));
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease);
}
.btn-primary span { position: relative; z-index: 1; }
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(212,35,13,0.28); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.btn-outline.on-dark { color: var(--bg); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-outline.on-dark:hover { background: var(--bg); color: var(--ink); }

.btn-text {
  padding: 0;
  background: none;
  color: var(--ink);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  border-radius: 0;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn-text:hover { color: var(--brand-red); border-color: var(--brand-red); }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0.625rem 0;
  transition: all 0.4s var(--ease);
}
.header.scrolled {
  background: rgba(250, 246, 242, 0.88);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow: 0 1px 0 var(--line-soft);
  padding: 0.375rem 0;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 0;
}
.brand .logo-mark {
  height: 110px;
  width: auto;
  display: block;
  transition: height 0.3s var(--ease);
}
.header.scrolled .brand .logo-mark { height: 90px; }
@media (max-width: 768px) {
  .brand .logo-mark { height: 80px; }
  .header.scrolled .brand .logo-mark { height: 70px; }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-list a {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink);
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s var(--ease);
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--brand-red);
  transition: width 0.4s var(--ease);
}
.nav-list a:hover::after { width: 100%; }
.nav-list a:hover { color: var(--brand-red); }
.header:not(.scrolled) .nav-list.light a { color: rgba(255,255,255,0.92); }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.lang-toggle a {
  padding: 0.25rem 0.5rem;
  transition: color 0.3s var(--ease);
}
.lang-toggle a.active { color: var(--ink); font-weight: 500; }
.lang-toggle a:hover { color: var(--brand-red); }
.lang-toggle .divider { opacity: 0.4; }
.header:not(.scrolled) .lang-toggle.light { color: rgba(255,255,255,0.6); }
.header:not(.scrolled) .lang-toggle.light a.active { color: var(--bg); }

.btn-reserve {
  padding: 0.625rem 1.25rem;
  font-size: 0.8rem;
  background: var(--brand-red);
  color: var(--bg);
  border-radius: 2px;
  letter-spacing: 0.05em;
  transition: all 0.3s var(--ease);
}
.btn-reserve:hover { background: var(--brand-red-dark); transform: translateY(-1px); }

.burger {
  display: none;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 110;
}
.burger span {
  position: absolute;
  left: 4px; right: 4px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.3s var(--ease);
}
.burger span:nth-child(1) { top: 11px; }
.burger span:nth-child(2) { top: 19px; }
.header:not(.scrolled) .burger.light span { background: var(--bg); }
.burger.open span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { top: 15px; transform: rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 105;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav a {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.mobile-nav a:hover { color: var(--brand-red); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--bg);
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: kenburns 22s var(--ease) infinite alternate;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.35) 40%,
    rgba(0,0,0,0.65) 100%
  );
}

@keyframes kenburns {
  0%   { transform: scale(1) translate3d(0,0,0); }
  100% { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad-x);
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #FFFFFF;
  opacity: 0.95;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
  animation: fadeUp 1.2s var(--ease) 0.3s both;
}

.hero h1 {
  color: #FFFFFF;
  font-size: clamp(3.5rem, 11vw, 9rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  text-shadow: 0 3px 14px rgba(0,0,0,0.45);
  opacity: 0;
  animation: fadeUp 1.4s var(--ease) 0.5s forwards;
}
.hero h1 .italic { font-style: italic; color: #FBF5EC; font-weight: 300; }

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.95);
  margin-bottom: 3rem;
  max-width: 540px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  opacity: 0;
  animation: fadeUp 1.4s var(--ease) 0.7s forwards;
}

.hero-slogan {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.35;
  color: #FBF5EC;
  max-width: 620px;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
  opacity: 0;
  animation: fadeUp 1.4s var(--ease) 0.7s forwards;
}
.hero-pitch {
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.92);
  margin-bottom: 2.5rem;
  max-width: 540px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  opacity: 0;
  animation: fadeUp 1.4s var(--ease) 0.85s forwards;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1.4s var(--ease) 0.9s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeUp 1.4s var(--ease) 1.4s forwards;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.85), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(1); opacity: 0.65; }
  50% { transform: scaleY(1.3); opacity: 1; }
}

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

/* ============================================
   HISTOIRE
   ============================================ */
.histoire {
  background: var(--bg);
  position: relative;
}

.histoire-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.histoire-text p {
  font-size: 1.0625rem;
  margin-bottom: 1.25rem;
  color: var(--ink-soft);
  line-height: 1.75;
}
.histoire-text p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 3.5em;
  float: left;
  line-height: 0.85;
  padding: 0.1em 0.15em 0 0;
  color: var(--brand-red);
  font-weight: 500;
}

.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 1px solid var(--line);
}
.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 0.25rem;
  width: 9px;
  height: 9px;
  background: var(--bg);
  border: 1.5px solid var(--brand-red);
  border-radius: 50%;
}
.timeline-year {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--brand-red);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 0.5rem;
}
.timeline-text {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ============================================
   L'EMPREINTE
   ============================================ */
.empreinte {
  background: var(--bg);
}
.empreinte-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(48px, 7vw, 80px);
}
.empreinte-intro .eyebrow { color: var(--brand-red); }
.empreinte-intro h2 {
  margin-bottom: 1.25rem;
}
.empreinte-intro .lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto;
}
.empreinte-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  max-width: 1280px;
  margin: 0 auto;
}
.empreinte-card {
  background: var(--bg-warm);
  padding: 2rem 1.5rem;
  border-left: 3px solid var(--brand-red);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.empreinte-card:hover {
  background: var(--brand-cream);
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
.empreinte-card-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.6rem, 3.2vw, 3.1rem);
  color: var(--brand-red);
  line-height: 0.85;
  letter-spacing: -0.02em;
}
.empreinte-card-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.1;
}
.empreinte-card-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
@media (max-width: 1024px) {
  .empreinte-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .empreinte-cards { grid-template-columns: 1fr; gap: 0.85rem; }
  .empreinte-card { padding: 1.5rem 1.25rem; }
}

/* ============================================
   MÉTHODE
   ============================================ */
.methode {
  background: var(--bg-warm);
}

.piliers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  margin: 0 auto;
  max-width: 1200px;
  border: 1px solid var(--line);
}
.pilier {
  background: var(--bg-warm);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  transition: background 0.5s var(--ease);
  position: relative;
  min-height: 220px;
}
.pilier:hover { background: var(--bg); }
.pilier-icon {
  width: 36px; height: 36px;
  color: #AEEF4D;
  margin-bottom: 0.5rem;
}
.pilier-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.pilier-desc {
  font-size: 0.9rem;
  color: var(--ink-mute);
  line-height: 1.6;
}

.methode-credo {
  text-align: center;
  margin-top: clamp(48px, 6vw, 80px);
}
.methode-credo-line {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-style: italic;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}
.methode-credo-line span {
  color: var(--brand-red);
  margin: 0 0.5rem;
  opacity: 0.7;
}

.methode-app-link {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ============================================
   SABRINA
   ============================================ */
.sabrina {
  background: var(--bg);
}

.sabrina-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
}

.sabrina-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.sabrina-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.5s var(--ease);
}
.sabrina-photo:hover img { transform: scale(1.04); }
.sabrina-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(26,24,20,0.06);
  pointer-events: none;
}

.sabrina-content h2 {
  margin-bottom: 0.5rem;
}
.sabrina-meta {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 2rem;
}
.sabrina-bio p {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.sabrina-quote {
  margin-top: 3rem;
  padding: 2rem;
  border-left: 2px solid var(--brand-red);
  background: var(--bg-warm);
  position: relative;
}
.sabrina-quote-mark {
  font-family: var(--serif);
  font-size: 4rem;
  color: var(--brand-red);
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  line-height: 1;
  opacity: 0.4;
}
.sabrina-quote-text {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
  position: relative;
  z-index: 1;
}
.sabrina-quote-attr {
  margin-top: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ============================================
   8 PRINCIPES
   ============================================ */
.principes {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.principes::before,
.principes::after {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(212, 35, 13, 0.10);
  border-radius: 50%;
  pointer-events: none;
}
.principes::before { top: -180px; left: -120px; }
.principes::after  { bottom: -180px; right: -120px; }

.principes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  justify-content: center;
}
.principes-group {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.principes-group-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}
.principe {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
}
.principe-num {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--brand-red);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  min-width: 1.5rem;
}
.principe-name {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.1;
}
.principes-credo {
  margin-top: clamp(56px, 7vw, 88px);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-soft);
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .principes-grid { grid-template-columns: 1fr; gap: 3rem; }
  .principes::before,
  .principes::after { width: 320px; height: 320px; }
}

/* ---- Team row (Sabrina section) ---- */
.team-row {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.team-row-eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1.75rem;
  text-align: center;
}
.team-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 56px);
  max-width: 880px;
  margin: 0 auto;
}
.team-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.team-avatar {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  object-fit: cover;
  overflow: hidden;
}
img.team-avatar {
  background: var(--bg-warm);
  display: block;
}
.team-card:nth-child(2) .team-avatar:not(img) { background: var(--accent-warm); color: var(--ink); }
.team-card-body h4 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--ink);
}
.team-card-role {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.65rem;
}
.team-card-bio {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
@media (max-width: 600px) {
  .team-cards { grid-template-columns: 1fr; gap: 2rem; }
  .team-avatar { width: 76px; height: 76px; font-size: 2rem; }
  img.team-avatar { width: 76px; height: 76px; }
}

/* ============================================
   COURS
   ============================================ */
.cours {
  background: var(--bg-warm);
}

.cours-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.cours-footnote {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.cours-footnote .pma-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
}
.cours-footnote .pma-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-red);
}
.cours-footnote .pma-note {
  font-size: 0.95rem;
  color: var(--ink-mute);
}
.cours-footnote .pma-langs {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.cours-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.5s var(--ease);
  border-top: 1px solid var(--line);
}
.cours-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-red);
  transition: width 0.5s var(--ease);
}
.cours-card:hover::before { width: 100%; }
.cours-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.cours-num {
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--brand-red);
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}
.cours-card h3 {
  font-size: 1.65rem;
  margin-bottom: 1rem;
  font-weight: 500;
}
.cours-desc {
  font-size: 0.9rem;
  color: var(--ink-mute);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.cours-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  margin-bottom: 1.5rem;
}
.cours-meta strong {
  color: var(--ink);
  font-weight: 500;
}
.cours-cta {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  display: inline-block;
  align-self: flex-start;
  transition: all 0.3s var(--ease);
}
.cours-cta:hover { color: var(--brand-red); border-color: var(--brand-red); }
.cours-cta::after {
  content: ' →';
  transition: transform 0.3s var(--ease);
  display: inline-block;
}

/* ============================================
   STUDIO
   ============================================ */
.studio {
  background: var(--bg);
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
  aspect-ratio: 16 / 9;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.studio-photo {
  overflow: hidden;
  position: relative;
  aspect-ratio: auto;
}
.studio-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.studio-photo:hover img { transform: scale(1.04); }
.studio-photo:nth-child(1) { grid-column: span 2; grid-row: span 2; }

.studio-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.studio-info-block h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 500;
}
.studio-info-block address {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-soft);
}
.studio-info-block a:hover { color: var(--brand-red); }
.studio-map iframe {
  width: 100%;
  height: 280px;
  border: none;
  filter: grayscale(0.3) contrast(0.95);
  border-radius: 2px;
}

/* ============================================
   FLUIDBODY+ BRIDGE
   ============================================ */
.fluidbody {
  background: linear-gradient(180deg, #021222 0%, #0E2A3D 45%, #1A4555 75%, #55BBC9 100%);
  color: #ffffff;
  overflow: hidden;
  position: relative;
}

.fluidbody::before {
  content: '';
  position: absolute;
  top: 20%; right: -10%;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(85,187,201,0.30) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}
.fluidbody::after {
  content: '';
  position: absolute;
  bottom: -10%; left: -8%;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(184,230,46,0.18) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.fluidbody-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
  position: relative;
}

.fluidbody-content .eyebrow {
  color: #B8E62E;
  letter-spacing: 0.22em;
}
.fluidbody-content h2 {
  color: #ffffff;
  margin-bottom: 1.5rem;
}
.fluidbody-content h2 .italic { font-style: italic; color: rgba(184,230,46,0.92); font-weight: 300; }
.fluidbody-content h2 .plus { color: #B8E62E; font-style: normal; }
.fluidbody-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}
.fluidbody-content .btn { margin-top: 1rem; }
.fluidbody-content .btn-app {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 2px;
  background: #B8E62E;
  color: #021222;
  transition: all 0.3s var(--ease);
  text-transform: none;
}
.fluidbody-content .btn-app:hover {
  background: #A6D420;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(184,230,46,0.30);
}

.fluidbody-features {
  list-style: none;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.fluidbody-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.90);
}
.fluidbody-features li::before {
  content: '';
  width: 16px; height: 1px;
  background: #B8E62E;
}

/* FluidBody+ mockups — éventail 3 iPhones */
.fluidbody-mockups,
.fluidbody-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 540px;
  perspective: 1200px;
}
.mockup {
  width: 240px;
  height: auto;
  aspect-ratio: 624 / 1270;
  border-radius: 28px;
  background: #0B0E14;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 30px 60px rgba(0,0,0,0.45),
    0 60px 120px rgba(0,0,0,0.25);
  object-fit: cover;
  position: absolute;
  transition: transform 0.5s var(--ease);
}
.mockup.left {
  transform: translateX(-150px) translateY(20px) rotate(-9deg);
  z-index: 1;
}
.mockup.center {
  transform: translateY(-10px) scale(1.08);
  z-index: 3;
}
.mockup.right {
  transform: translateX(150px) translateY(20px) rotate(9deg);
  z-index: 2;
}
.fluidbody-mockups:hover .mockup.left  { transform: translateX(-170px) translateY(12px) rotate(-11deg); }
.fluidbody-mockups:hover .mockup.right { transform: translateX(170px)  translateY(12px) rotate(11deg);  }

@media (max-width: 600px) {
  .fluidbody-mockups, .fluidbody-visual { min-height: 440px; }
  .mockup { width: 190px; border-radius: 22px; }
  .mockup.left  { transform: translateX(-105px) translateY(16px) rotate(-9deg); }
  .mockup.right { transform: translateX(105px)  translateY(16px) rotate(9deg); }
  .fluidbody-mockups:hover .mockup.left  { transform: translateX(-105px) translateY(16px) rotate(-9deg); }
  .fluidbody-mockups:hover .mockup.right { transform: translateX(105px)  translateY(16px) rotate(9deg); }
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: var(--bg-warm);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(48px, 8vw, 100px);
  align-items: start;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 500;
}
.contact-info p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.contact-row strong {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  color: var(--ink-mute);
  margin-bottom: 0.25rem;
  font-weight: 500;
}
.contact-row a:hover { color: var(--brand-red); }

.whatsapp-card {
  background: #25D366;
  color: #ffffff;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 2px;
  transition: all 0.4s var(--ease);
}
.whatsapp-card:hover {
  background: #1DA851;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37,211,102,0.30);
}
.whatsapp-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
}
.whatsapp-text { flex-grow: 1; }
.whatsapp-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.whatsapp-text span {
  font-size: 0.85rem;
  opacity: 0.8;
}

.contact-form {
  background: var(--bg);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 2px;
}
.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.3s var(--ease);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--brand-red);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  display: none;
  background: var(--sage);
  color: var(--bg);
  padding: 1rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  border-radius: 2px;
}
.form-success.show { display: block; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: clamp(60px, 8vw, 100px) 0 2rem;
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: clamp(32px, 5vw, 60px);
  margin-bottom: 3rem;
}

.footer-brand {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  line-height: 0;
}
.footer-brand img {
  height: 88px;
  width: auto;
  display: block;
}
.footer-tagline {
  font-style: italic;
  color: rgba(255,255,255,0.6);
  max-width: 320px;
  line-height: 1.6;
  font-family: var(--serif);
  font-size: 1.05rem;
}

.footer-col h4 {
  color: var(--bg);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a:hover { color: var(--bg); }

.footer-newsletter input {
  width: 100%;
  padding: 0.75rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  color: var(--bg);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.footer-newsletter input:focus { outline: none; border-bottom-color: var(--accent-warm); }
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.4); }
.footer-newsletter button {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  border-bottom: 1px solid var(--accent-warm);
  padding-bottom: 2px;
  transition: all 0.3s var(--ease);
}
.footer-newsletter button:hover { color: var(--accent-warm); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a:hover { color: var(--bg); }

.social-icons { display: flex; gap: 1rem; }
.social-icons a {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  transition: all 0.3s var(--ease);
}
.social-icons a:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: var(--bg);
}
.social-icons svg { width: 16px; height: 16px; }

/* ============================================
   ANIMATIONS · SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.in-view > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger.in-view > *:nth-child(8) { transition-delay: 0.56s; }
.reveal-stagger.in-view > *:nth-child(9) { transition-delay: 0.64s; }
.reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .cours-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .cours-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .fluidbody-grid { grid-template-columns: 1fr; gap: 4rem; }
  .fluidbody-visual { min-height: 360px; }
}

@media (max-width: 768px) {
  .nav-list,
  .header-actions .lang-toggle,
  .header-actions .btn-reserve { display: none; }
  .burger { display: block; }

  .histoire-grid,
  .sabrina-grid,
  .contact-grid,
  .studio-info {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .piliers-grid { grid-template-columns: repeat(2, 1fr); }
  .pilier { min-height: 180px; padding: 1.5rem; }
  .pilier-title { font-size: 1.25rem; }

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

  .studio-grid {
    grid-template-columns: repeat(2, 1fr);
    aspect-ratio: auto;
  }
  .studio-photo { aspect-ratio: 4/5; }
  .studio-photo:nth-child(1) { grid-column: span 2; aspect-ratio: 16/10; }

  .hero-bg::after {
    background: linear-gradient(
      180deg,
      rgba(0,0,0,0.65) 0%,
      rgba(0,0,0,0.45) 40%,
      rgba(0,0,0,0.75) 100%
    );
  }
  .hero h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .piliers-grid { grid-template-columns: 1fr; }
  .timeline { padding-left: 1.5rem; }
  .sabrina-bio p { font-size: 1rem; }
  .histoire-text p:first-of-type::first-letter { font-size: 3em; }
}

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

:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 3px;
  border-radius: 1px;
}

@media print {
  .header, .footer, .hero-bg, .hero-ctas, .btn { display: none; }
}

/* ============================================
   STATIC PAGES (privacy, terms)
   ============================================ */
.static-page {
  padding: 140px 0 80px;
  max-width: 760px;
  margin: 0 auto;
}
.static-page h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 2rem; }
.static-page h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.static-page p, .static-page li { font-size: 1rem; line-height: 1.75; margin-bottom: 1rem; color: var(--ink-soft); }
.static-page ul { padding-left: 1.5rem; }

/* ============================================
   WHATSAPP FLOATING BUTTON (toutes pages)
   ============================================ */
.whatsapp-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 999;
  transition: transform 200ms ease, background 200ms ease, box-shadow 200ms ease;
  text-decoration: none;
  opacity: 0;
  animation: wa-fade-in 400ms ease 200ms forwards;
}
.whatsapp-floating svg {
  width: 32px;
  height: 32px;
  display: block;
}
.whatsapp-floating:hover,
.whatsapp-floating:focus-visible {
  background: #1DA851;
  transform: scale(1.06);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22), 0 4px 10px rgba(0, 0, 0, 0.12);
}
.whatsapp-floating:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.4);
  outline-offset: 2px;
}
@keyframes wa-fade-in {
  to { opacity: 1; }
}
@media (max-width: 768px) {
  .whatsapp-floating {
    width: 56px;
    height: 56px;
    bottom: 18px;
    right: 18px;
  }
  .whatsapp-floating svg { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-floating { animation: none; opacity: 1; transition: background 200ms ease; }
  .whatsapp-floating:hover, .whatsapp-floating:focus-visible { transform: none; }
}
@media print {
  .whatsapp-floating { display: none; }
}
