/* ═══════════════════════════════════════════════════════════════
   Osteo Habach — Design System
   Luxury Editorial Wellness
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --bg: #F4EEE5;
  --bg-warm: #EBE2D5;
  --dark: #1C1B19;
  --dark-soft: #2D2B28;
  --text: #2D2B28;
  --text-muted: #6B6660;
  --sage: #6B8E5B;
  --sage-hover: #5A7D4A;
  --sage-soft: color-mix(in srgb, var(--sage) 10%, transparent);
  --gold-soft: color-mix(in srgb, var(--gold) 12%, transparent);
  --gold: #C4956A;
  --gold-light: #D6B08A;
  --accent: #B8725D;
  --cream: #FAF6F0;
  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-light) transparent;
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gold-light); border-radius: 3px; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── Grain Overlay ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10000;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--sage-soft);
  color: var(--dark);
}

/* ═══════════════════════════════════════════════════════════════
   Animations
   ═══════════════════════════════════════════════════════════════ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes lineGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-8px) rotate(1deg); }
  66% { transform: translateY(4px) rotate(-0.5deg); }
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.vis {
  opacity: 1;
  transform: translateY(0);
}
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }
.d6 { transition-delay: 0.48s; }

/* ═══════════════════════════════════════════════════════════════
   Navigation
   ═══════════════════════════════════════════════════════════════ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.8rem 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  mix-blend-mode: difference;
}
nav.solid,
nav.scrolled,
nav.menu-open {
  mix-blend-mode: normal;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  padding: 1.1rem 3.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
nav.solid .nav-logo,
nav.solid .nav-links a,
nav.scrolled .nav-logo,
nav.scrolled .nav-links a,
nav.menu-open .nav-logo,
nav.menu-open .nav-links a { color: var(--text); }
nav.solid .nav-links a:hover,
nav.scrolled .nav-links a:hover,
nav.menu-open .nav-links a:hover { color: var(--sage); }

.nav-logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  gap: 2.8rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.4s;
}
.nav-links a:hover { opacity: 0.6; }
.nav-cta-wrap a {
  background: var(--sage) !important;
  color: var(--cream) !important;
  padding: 0.7rem 1.8rem;
  border-radius: 100px;
  font-weight: 400 !important;
  mix-blend-mode: normal;
  transition: background 0.4s, transform 0.4s !important;
}
.nav-cta-wrap a:hover {
  background: var(--sage-hover) !important;
  opacity: 1 !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 102;
  padding: 13px 8px;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #fff;
  position: absolute;
  left: 0;
  transition: 0.4s ease;
}
nav.solid .nav-toggle span,
nav.scrolled .nav-toggle span,
nav.menu-open .nav-toggle span { background: var(--text); }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }
.nav-toggle.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); background: var(--text); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); background: var(--text); }

/* ═══════════════════════════════════════════════════════════════
   Hero
   ═══════════════════════════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  background: var(--dark);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 3.5rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, color-mix(in srgb, var(--sage) 40%, transparent) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(181,164,139,0.3) 0%, transparent 60%);
}

/* Hero with background image */
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28, 27, 25, 0.3) 0%,
    rgba(28, 27, 25, 0.15) 40%,
    rgba(28, 27, 25, 0.5) 70%,
    rgba(28, 27, 25, 0.85) 100%
  );
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.06;
}
.hero-lines span {
  position: absolute;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, #fff 30%, #fff 70%, transparent);
}
.hero-lines span:nth-child(1) { left: 20%; }
.hero-lines span:nth-child(2) { left: 40%; }
.hero-lines span:nth-child(3) { left: 60%; }
.hero-lines span:nth-child(4) { left: 80%; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
}
.hero-label {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  animation: fadeIn 1s 0.3s both;
}
.hero-label::before {
  content: '';
  width: 50px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 2.5rem;
}
.hero-word {
  display: inline-block;
  overflow: hidden;
}
.hero-word span {
  display: inline-block;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-word:nth-child(1) span { animation-delay: 0.4s; }
.hero-word:nth-child(2) span { animation-delay: 0.5s; }
.hero-word:nth-child(3) span { animation-delay: 0.6s; }
.hero-word:nth-child(4) span { animation-delay: 0.7s; }
.hero-word:nth-child(5) span { animation-delay: 0.8s; }
.hero h1 em {
  font-style: italic;
  color: #fff;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 4rem;
}
.hero-desc {
  max-width: 420px;
  font-size: 1rem;
  line-height: 1.8;
  color: #fff;
  animation: fadeIn 1s 1s both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  animation: fadeIn 1s 1.1s both;
  flex-shrink: 0;
}
.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  color: var(--dark);
  padding: 1.1rem 2.4rem;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
}
.btn-light:hover {
  background: var(--sage);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 48px color-mix(in srgb, var(--sage) 30%, transparent);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: #fff;
  padding: 1.1rem 2.4rem;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.4s;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.05);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  right: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fadeIn 1s 1.5s both;
}
.scroll-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  animation: float 3s ease-in-out infinite;
}
.scroll-track {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

/* ═══════════════════════════════════════════════════════════════
   Marquee
   ═══════════════════════════════════════════════════════════════ */

.marquee {
  overflow: hidden;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background: var(--cream);
}
.marquee-inner {
  display: flex;
  gap: 3rem;
  animation: marqueeScroll 25s linear infinite;
  width: max-content;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.marquee-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════════
   Sections — General
   ═══════════════════════════════════════════════════════════════ */

section { padding: 8rem 3.5rem; }
.container { max-width: 1300px; margin: 0 auto; }
.label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--sage);
}
.sec-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.sec-text {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.9;
}

/* ═══════════════════════════════════════════════════════════════
   Approach
   ═══════════════════════════════════════════════════════════════ */

.approach {
  background: var(--cream);
}
.approach-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}
.approach-visual {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 300px 300px 20px 20px;
  overflow: hidden;
  background: var(--bg-warm);
}
.approach-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.approach-visual-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.morph-shape {
  width: 60%;
  height: 50%;
  background: linear-gradient(135deg, color-mix(in srgb, var(--sage) 15%, transparent), rgba(181,164,139,0.12));
  border-radius: 60% 40% 55% 45% / 55% 60% 40% 45%;
  animation: morph 12s ease-in-out infinite;
  position: relative;
}
.morph-shape::after {
  content: '';
  position: absolute;
  inset: -30px;
  border: 1px solid color-mix(in srgb, var(--sage) 8%, transparent);
  border-radius: inherit;
  animation: morph 12s ease-in-out infinite reverse;
}
@keyframes morph {
  0%, 100% { border-radius: 60% 40% 55% 45% / 55% 60% 40% 45%; }
  25% { border-radius: 45% 55% 40% 60% / 60% 45% 55% 40%; }
  50% { border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%; }
  75% { border-radius: 40% 60% 45% 55% / 55% 40% 60% 45%; }
}
.approach-text { padding: 2rem 0; }
.approach-text .sec-text { margin-bottom: 3rem; }
.approach-values {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.value-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.value-num {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  min-width: 32px;
}
.value-item h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.3rem;
}
.value-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   Stats Band
   ═══════════════════════════════════════════════════════════════ */

.stats-band {
  background: var(--dark);
  padding: 4.5rem 3.5rem;
}
.stats-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat {
  text-align: center;
  position: relative;
}
.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255,255,255,0.08);
}
.stat-num {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.6rem;
}
.stat-lbl {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════
   Specialties
   ═══════════════════════════════════════════════════════════════ */

.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.acces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.spec-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 3rem 2.5rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0,0,0,0.04);
  cursor: default;
}
.spec-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.08);
  border-color: color-mix(in srgb, var(--sage) 15%, transparent);
}
.spec-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--sage), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.spec-card:hover .spec-line { transform: scaleX(1); }
.spec-num {
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(0,0,0,0.04);
  line-height: 1;
  margin-bottom: 1.5rem;
}
.spec-card h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.spec-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.spec-tag {
  font-size: 0.7rem;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  border: 1px solid rgba(0,0,0,0.08);
  color: var(--text-muted);
  letter-spacing: 0.03em;
  transition: all 0.3s;
}
.spec-card:hover .spec-tag {
  border-color: color-mix(in srgb, var(--sage) 20%, transparent);
  color: var(--sage);
}

/* ═══════════════════════════════════════════════════════════════
   Specialty Slides
   ═══════════════════════════════════════════════════════════════ */

/* ─── Specialty Cards Grid (static) ─── */
.spec-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 4rem;
}
.spec-card-full {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: 380px;
}
.spec-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.spec-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,27,25,0.82) 0%, rgba(28,27,25,0.55) 100%);
}
.spec-card-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 4rem 5rem;
  align-items: center;
  width: 100%;
  color: #fff;
}
.spec-card-left h3 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}
.spec-card-left h3 em {
  font-style: italic;
  color: var(--gold-light);
}
.spec-card-left p {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
}
.spec-card-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.spec-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}
.spec-detail:hover {
  background: rgba(255,255,255,0.09);
}
.spec-detail-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--sage) 20%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-light);
  font-size: 0.85rem;
}
.spec-detail span {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
}

/* ═══════════════════════════════════════════════════════════════
   Formations
   ═══════════════════════════════════════════════════════════════ */

.formations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.formation-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.formation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.formation-card:hover::before { transform: scaleX(1); }
.formation-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.08);
}
.formation-year {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1.2rem;
}
.formation-card h4 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
}
.formation-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.formation-badge {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.formation-badge.en-cours {
  background: color-mix(in srgb, var(--sage) 12%, transparent);
  color: var(--sage);
}
.formation-badge.termine {
  background: color-mix(in srgb, var(--gold) 12%, transparent);
  color: var(--gold);
}

/* ═══════════════════════════════════════════════════════════════
   Google Reviews
   ═══════════════════════════════════════════════════════════════ */

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 0.6rem 1.4rem;
  margin-top: 2rem;
  transition: all 0.3s;
}
.google-badge:hover {
  background: rgba(255,255,255,0.1);
}
.google-badge img {
  width: 18px;
  height: 18px;
}
.google-badge span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
}
.google-badge a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.3s;
}
.google-badge a:hover { color: var(--gold-light); }

/* ═══════════════════════════════════════════════════════════════
   Testimonials
   ═══════════════════════════════════════════════════════════════ */

.testimonials {
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}
.testimonials .label { color: var(--gold); }
.testimonials .label::before { background: var(--gold); }
.testimonials .sec-title { color: #fff; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.testi-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 2.8rem;
  transition: all 0.5s;
  position: relative;
}
.testi-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}
.testi-card::before {
  content: '\201C';
  font-family: var(--serif);
  font-size: 5rem;
  color: color-mix(in srgb, var(--sage) 15%, transparent);
  position: absolute;
  top: 1rem;
  right: 2rem;
  line-height: 1;
}
.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1.8rem;
}
.testi-star {
  width: 14px;
  height: 14px;
  color: var(--gold);
}
.testi-card blockquote {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.testi-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 0.85rem;
  color: #fff;
}
.testi-name {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.03em;
}

/* ═══════════════════════════════════════════════════════════════
   Pricing
   ═══════════════════════════════════════════════════════════════ */

.pricing {
  background: var(--cream);
}
.pricing-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  margin-top: 4rem;
}
.pricing-info .sec-text { margin-bottom: 2.5rem; }
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.pricing-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--sage) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--sage);
}
.pricing-card-wrap {
  display: flex;
  justify-content: center;
}
.price-card {
  background: var(--dark);
  color: #fff;
  border-radius: 24px;
  padding: 4rem 3.5rem;
  text-align: center;
  max-width: 380px;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--sage) 8%, transparent) 0%, transparent 50%);
  pointer-events: none;
}
.price-card-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}
.price-amount {
  font-family: var(--serif);
  font-size: 6rem;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 0.5rem;
  position: relative;
}
.price-amount .currency {
  font-size: 2rem;
  vertical-align: top;
  margin-right: 0.2rem;
  color: var(--sage);
}
.price-per {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2.5rem;
}
.price-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 2rem 0;
}
.price-cta {
  display: block;
  background: #fff;
  color: var(--dark);
  padding: 1.1rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: all 0.4s;
  margin-bottom: 1.5rem;
}
.price-cta:hover {
  background: var(--sage);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px color-mix(in srgb, var(--sage) 30%, transparent);
}
.price-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   Contact
   ═══════════════════════════════════════════════════════════════ */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.contact-item {
  display: flex;
  gap: 1.5rem;
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--sage);
  transition: all 0.4s;
}
.contact-item:hover .contact-icon {
  background: var(--sage);
  color: #fff;
}
.contact-item h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.3rem;
}
.contact-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.contact-item a {
  color: var(--sage);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.contact-item a:hover { border-bottom-color: var(--sage); }
.contact-cta {
  margin-top: 1rem;
}
.btn-sage {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--sage);
  color: #fff;
  padding: 1.1rem 2.4rem;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-sage:hover {
  background: var(--sage-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px color-mix(in srgb, var(--sage) 25%, transparent);
}
.contact-map {
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-warm);
  min-height: 400px;
  position: relative;
  border: 1px solid rgba(0,0,0,0.04);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  border: none;
  filter: grayscale(0.4) contrast(0.9) brightness(1.05);
}

/* ═══════════════════════════════════════════════════════════════
   Gallery
   ═══════════════════════════════════════════════════════════════ */

.gallery {
  background: var(--cream);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-warm);
  aspect-ratio: 1 / 1;
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.1);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,27,25,0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}
.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}
.gallery-item-caption {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.01em;
}

/* Gallery — tall items spanning two rows */
.gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}
/* Gallery — wide items spanning two columns */
.gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

/* ═══════════════════════════════════════════════════════════════
   Blog Cards
   ═══════════════════════════════════════════════════════════════ */

.blog {
  background: var(--bg);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.blog-card {
  background: var(--cream);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.08);
  border-color: color-mix(in srgb, var(--sage) 15%, transparent);
}
.blog-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-warm);
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}
.blog-card-body {
  padding: 2rem 2.2rem 2.5rem;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.blog-card-tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  border: 1px solid color-mix(in srgb, var(--sage) 20%, transparent);
}
.blog-card-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.blog-card-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 0.8rem;
  transition: color 0.3s;
}
.blog-card:hover .blog-card-title {
  color: var(--sage);
}
.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-link {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s;
}
.blog-card:hover .blog-card-link {
  gap: 0.8rem;
}
.blog-card-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s;
}
.blog-card:hover .blog-card-link svg {
  transform: translateX(3px);
}

/* Blog — featured (large first card) */
.blog-grid.has-featured .blog-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.blog-grid.has-featured .blog-card:first-child .blog-card-image {
  aspect-ratio: auto;
  height: 100%;
  min-height: 280px;
}
.blog-grid.has-featured .blog-card:first-child .blog-card-title {
  font-size: 2rem;
}

/* ═══════════════════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════════════════ */

footer {
  padding: 3.5rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-left {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--text);
}
.footer-left span {
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 0.8rem;
  margin-left: 1.5rem;
}
.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--sage); }

/* ═══════════════════════════════════════════════════════════════
   Floating CTA
   ═══════════════════════════════════════════════════════════════ */

.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.floating-cta.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.floating-cta a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--dark);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: all 0.4s;
}
.floating-cta a:hover {
  background: var(--sage);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px color-mix(in srgb, var(--sage) 35%, transparent);
}

/* ═══════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  section { padding: 6rem 2rem; }
  .hero { padding: 0 2rem 4rem; }
  .approach-layout { grid-template-columns: 1fr; gap: 4rem; }
  .approach-visual { max-height: 380px; border-radius: 200px 200px 16px 16px; }
  .pricing-layout { grid-template-columns: 1fr; gap: 3rem; }
  .pricing-card-wrap { justify-content: flex-start; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid.has-featured .blog-card:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
  .spec-card-content { grid-template-columns: 1fr; gap: 2.5rem; padding: 3.5rem; }
  .spec-card-full { min-height: auto; }
  .formations-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  nav { padding: 1.2rem 1.5rem; }
  nav.solid,
  nav.scrolled { padding: 0.8rem 1.5rem; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  nav.menu-open {
    bottom: 0;
    background: var(--bg) !important;
    mix-blend-mode: normal !important;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    inset: 0;
    background: var(--bg);
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 101;
  }
  .nav-links.open a { font-size: 1.1rem; color: var(--text) !important; }
  .nav-links.open .nav-cta-wrap a { font-size: 1rem !important; }
  .hero { padding: 0 1.5rem 3rem; }
  .hero h1 { font-size: clamp(2.8rem, 10vw, 4rem); }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .hero-scroll-indicator { display: none; }
  .marquee-item { font-size: 0.9rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .stat:nth-child(2)::after { display: none; }
  .stat-num { font-size: 2.5rem; }
  .specs-grid { grid-template-columns: 1fr; }
  .acces-grid { grid-template-columns: 1fr; }
  .spec-card-content { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 1.5rem; }
  .spec-card-full { min-height: auto; }
  .spec-card-left h3 { font-size: 2rem; }
  .testi-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-left span { display: block; margin: 0.5rem 0 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-item.wide { grid-column: span 1; aspect-ratio: 1 / 1; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-grid.has-featured .blog-card:first-child {
    grid-column: span 1;
    grid-row: span 1;
  }
  .blog-grid.has-featured .blog-card:first-child .blog-card-title {
    font-size: 1.5rem;
  }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions a { width: 100%; justify-content: center; }
  .price-card { padding: 3rem 2rem; }
  .price-amount { font-size: 4.5rem; }
}

/* ═══════════════════════════════════════════════════════════════
   Accessibility
   ═══════════════════════════════════════════════════════════════ */

/* Focus indicators */
*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.testimonials *:focus-visible,
.stats-band *:focus-visible,
.spec-card-full *:focus-visible,
[style*="background: var(--dark)"] *:focus-visible {
  outline-color: var(--gold-light);
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--dark);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 0 0 8px 8px;
  z-index: 10001;
  font-size: 0.85rem;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .marquee-inner { animation: none; }
}
