/* ============================================
   VARIABLES & RESET
============================================ */
:root {
  --sage:       #8aab89;
  --sage-light: #c4d8c3;
  --sage-dark:  #5a7a59;
  --cream:      #faf7f2;
  --warm-white: #fffef9;
  --charcoal:   #2c2c2c;
  --mid-gray:   #6b6b6b;
  --light-gray: #e8e4de;
  --gold:       #c9a96e;
  --gold-light: #f0e0c4;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  --radius:  12px;
  --radius-lg: 20px;
  --shadow:  0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.12);

  --transition: .3s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--warm-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ============================================
   TYPOGRAPHY
============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.2;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.45rem; }

.section-label {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: .6rem;
}

/* ============================================
   LAYOUT HELPERS
============================================ */
.container {
  width: min(1160px, 100% - 2.5rem);
  margin-inline: auto;
}

.section { padding: 5rem 0; }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--sage-dark);
  color: #fff;
  border-color: var(--sage-dark);
}
.btn-primary:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44,44,44,.25);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
}

.btn-nav {
  background: var(--sage-dark);
  color: #fff;
  padding: .55rem 1.4rem;
  font-size: .85rem;
}
.btn-nav:hover { background: var(--charcoal); }

.btn-full { width: 100%; }

/* ============================================
   NAVBAR
============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(250,247,242,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--light-gray);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin-inline: auto;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--charcoal);
  letter-spacing: .03em;
}

.nav-links {
  display: none;
  gap: 2rem;
}
.nav-links a {
  font-size: .88rem;
  font-weight: 400;
  color: var(--mid-gray);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--sage-dark); }

.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 65px; left: 0; right: 0;
  background: var(--cream);
  z-index: 800;
  transform: translateY(-120%);
  transition: transform var(--transition);
  border-bottom: 1px solid var(--light-gray);
  padding: 1.5rem;
}
.mobile-drawer.open { transform: translateY(0); }
.mobile-drawer ul { display: flex; flex-direction: column; gap: 1rem; }
.mobile-drawer a {
  font-size: 1.1rem;
  color: var(--charcoal);
  display: block;
  padding: .4rem 0;
  border-bottom: 1px solid var(--light-gray);
}
.btn-drawer {
  color: var(--sage-dark) !important;
  font-weight: 500;
  border-bottom: none !important;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .burger { display: none; }
  .mobile-drawer { display: none !important; }
}

/* ============================================
   HERO
============================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(160deg, rgba(90,122,89,.6) 0%, rgba(44,44,44,.7) 100%),
    url('https://images.unsplash.com/photo-1545389336-cf090694435e?w=1600&q=80') center/cover no-repeat;
  color: #fff;
  padding-top: 80px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
  padding: 3rem 1.5rem;
  margin: 0 auto;
  text-align: center;
}

.hero-sub {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 1rem;
}

.hero h1 {
  font-weight: 300;
  font-style: italic;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 16px rgba(0,0,0,.3);
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,.4);
  margin: auto;
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: top; }
}

/* ============================================
   ABOUT
============================================ */
.about { background: var(--cream); }

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  max-width: 440px;
  margin: auto;
}

.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background:
    linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
}

.about-img-inner {
  width: 100%;
  height: 100%;
  background:
    url('https://images.unsplash.com/photo-1575052814086-f385e2e2ad1b?w=800&q=80') center/cover no-repeat;
  mix-blend-mode: multiply;
  opacity: .9;
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background: var(--gold);
  color: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.badge-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  line-height: 1;
}
.badge-text {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
}

.about-text h2 { margin-bottom: 1.2rem; }
.about-text p { color: var(--mid-gray); margin-bottom: 1rem; }

.about-values {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.about-values li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .95rem;
}
.about-values .icon { font-size: 1.1rem; }

@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-img-wrap { margin: 0; }
}

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

.cours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.cours-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}
.cours-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sage-light);
}
.cours-card.featured {
  background: var(--sage-dark);
  color: #fff;
  border-color: var(--sage-dark);
}
.cours-card.featured p,
.cours-card.featured .cours-level { color: rgba(255,255,255,.8); }
.cours-card.featured .cours-duration { color: var(--sage-light); }

.cours-icon { font-size: 2rem; margin-bottom: 1rem; }
.cours-card h3 { margin-bottom: .3rem; }

.cours-level {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: .8rem;
}

.cours-card p:not(.cours-level) {
  font-size: .92rem;
  color: var(--mid-gray);
  margin-bottom: .8rem;
}

.cours-duration {
  font-size: .85rem !important;
  font-weight: 500;
  color: var(--gold) !important;
}

/* ============================================
   HORAIRES
============================================ */
.horaires { background: var(--cream); }

.horaires-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.horaires-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: #fff;
  font-size: .88rem;
}

.horaires-table thead { background: var(--sage-dark); color: #fff; }
.horaires-table th {
  padding: 1rem .9rem;
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: .05em;
  font-size: .82rem;
}
.horaires-table th:first-child { text-align: left; }

.horaires-table td {
  padding: .9rem;
  text-align: center;
  border-bottom: 1px solid var(--light-gray);
  vertical-align: middle;
  color: var(--mid-gray);
}
.horaires-table tr:last-child td { border-bottom: none; }
.horaires-table tr:hover td { background: var(--cream); }

.heure {
  font-weight: 600;
  color: var(--charcoal) !important;
  text-align: left !important;
  white-space: nowrap;
  font-size: .88rem;
  padding-left: 1.2rem !important;
}

.tag {
  display: inline-block;
  padding: .3rem .75rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 500;
  white-space: nowrap;
}
.tag.hatha   { background: #e8f4e8; color: #3a7a39; }
.tag.vinyasa { background: #fde8d8; color: #b85a1a; }
.tag.yin     { background: #e8e4f4; color: #5a48a0; }
.tag.prenatal{ background: #fce8f0; color: #a0386a; }
.tag.medita  { background: var(--gold-light); color: #8a6020; }

.horaires-note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: .88rem;
  color: var(--mid-gray);
}

/* ============================================
   TÉMOIGNAGES
============================================ */
.temoignages { background: var(--sage-dark); color: #fff; }
.temoignages .section-label { color: var(--sage-light); }
.temoignages h2 { color: #fff; }

.temo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.temo-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}
.temo-card:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-3px);
}

.temo-card p {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.7;
  color: rgba(255,255,255,.9);
  margin-bottom: 1.2rem;
}

.temo-card footer {
  font-size: .82rem;
  color: var(--sage-light);
  letter-spacing: .04em;
}

/* ============================================
   RÉSERVATION
============================================ */
.reservation { background: var(--warm-white); }

.resa-wrap {
  display: grid;
  gap: 3rem;
  align-items: start;
}

.resa-text h2 { margin-bottom: 1rem; }
.resa-text p { color: var(--mid-gray); margin-bottom: 1.5rem; }

.resa-infos {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  font-size: .93rem;
}
.resa-infos a { color: var(--sage-dark); text-decoration: underline dotted; }
.resa-infos a:hover { color: var(--sage-dark); text-decoration: underline; }

.resa-form {
  background: var(--cream);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.2rem;
}

.form-group label {
  font-size: .82rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: .05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: .8rem 1rem;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .93rem;
  color: var(--charcoal);
  background: #fff;
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sage-dark);
  box-shadow: 0 0 0 3px rgba(90,122,89,.15);
}
.form-group textarea { resize: vertical; }

.form-mention {
  margin-top: .8rem;
  font-size: .8rem;
  color: var(--mid-gray);
  text-align: center;
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background: #e8f4e8;
  color: #3a7a39;
  border-radius: var(--radius);
  font-size: .9rem;
  text-align: center;
  font-weight: 500;
}
.form-success.visible { display: block; }

@media (min-width: 900px) {
  .resa-wrap {
    grid-template-columns: 1fr 1.2fr;
  }
}

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
  .resa-form { padding: 1.5rem; }
}

/* ============================================
   FOOTER
============================================ */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.5rem;
  padding: 4rem 0 3rem;
}

.footer-brand .logo {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: .5rem;
  display: block;
}
.footer-brand p {
  font-size: .88rem;
  line-height: 1.8;
  margin-bottom: .3rem;
}

.footer-links h4,
.footer-social h4 {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-links ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a {
  font-size: .88rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--sage-light); }

.social-links {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 1.2rem;
}
.social-links a {
  font-size: .88rem;
  transition: color var(--transition);
}
.social-links a:hover { color: var(--sage-light); }

.footer-hours {
  font-size: .82rem;
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.2rem 0;
  text-align: center;
}
.footer-bottom p { font-size: .8rem; }

/* ============================================
   SCROLLED NAV SHADOW
============================================ */
.navbar.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
