/* ============================================================
   Babeth Pilates — Dogliani (CN), Langhe
   Palette issue de l'affiche : bleu nuit, prune, orange, crème
   ============================================================ */
:root {
  --navy: #2b2f6b;
  --ink: #22254a;
  --plum: #8e3a6e;
  --orange: #ef8f3c;
  --orange-dark: #d97a28;
  --cream: #faf4ea;
  --white: #ffffff;
  --grey: #6b6d80;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(34, 37, 74, 0.10);
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--plum); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; }
section:nth-of-type(even) { background: var(--cream); }

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; color: var(--navy); line-height: 1.25; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 12px; }
.section-sub { color: var(--grey); max-width: 640px; margin-bottom: 36px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-family: Georgia, serif; font-size: 1.35rem; font-weight: bold; color: var(--navy); text-decoration: none; }
.brand span { color: var(--orange); }
.main-nav { display: flex; gap: 22px; align-items: center; }
.main-nav a { text-decoration: none; color: var(--ink); font-size: 0.95rem; }
.main-nav a:hover { color: var(--plum); }
.lang-switch { display: flex; gap: 6px; margin-left: 10px; }
.lang-switch a {
  font-size: 0.8rem; padding: 3px 8px; border-radius: 6px;
  text-decoration: none; color: var(--grey); border: 1px solid #ddd;
}
.lang-switch a.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--navy); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #2b2f6b 0%, #4a3b8c 45%, #8e3a6e 78%, #ef8f3c 120%);
  color: var(--white); padding: 96px 0;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 18px; }
.hero p.lead { font-size: 1.15rem; opacity: 0.92; margin-bottom: 28px; }
.hero .badge {
  display: inline-block; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.35);
  padding: 6px 14px; border-radius: 999px; font-size: 0.85rem; margin-bottom: 20px;
}
.hero-art img { border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,0.35); }

.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  font-weight: 600; text-decoration: none; font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.18); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-outline { border: 2px solid var(--white); color: var(--white); margin-left: 12px; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-whatsapp { background: #25d366; color: var(--white); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
/* Les 4 pavés « lezioni » : 4 colonnes sur grand écran, 2 sur tablette, 1 sur mobile */
#lezioni .cards { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { #lezioni .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { #lezioni .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border-top: 4px solid var(--orange);
}
.card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card .tag {
  display: inline-block; background: var(--cream); color: var(--plum);
  font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  margin-bottom: 12px; text-transform: uppercase; letter-spacing: .04em;
}
.card ul { list-style: none; margin-top: 10px; }
.card ul li { padding-left: 22px; position: relative; margin-bottom: 6px; font-size: 0.95rem; }
.card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: bold; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.about-photo {
  background: linear-gradient(160deg, var(--plum), var(--navy));
  border-radius: var(--radius); min-height: 340px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.75); font-size: 0.9rem; text-align: center; padding: 20px;
}
.about-img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.diplomas { margin-top: 28px; display: grid; gap: 14px; }
.diploma {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white); border-radius: 10px; padding: 16px 18px; box-shadow: var(--shadow);
}
.diploma .icon { font-size: 1.5rem; }
.diploma strong { color: var(--navy); }

/* ---------- Pricing ---------- */
.price-card { text-align: center; border-top-color: var(--plum); position: relative; }
.price-card .price { font-size: 2.2rem; font-weight: 800; color: var(--navy); margin: 10px 0 2px; }
.price-card .per { color: var(--grey); font-size: 0.85rem; margin-bottom: 16px; }
.price-card.featured { border-top-color: var(--orange); outline: 2px solid var(--orange); }
.price-card .ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--white); font-size: 0.72rem; font-weight: 700;
  padding: 4px 14px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em;
}
.stripe-note { margin-top: 24px; font-size: 0.85rem; color: var(--grey); text-align: center; }

/* ---------- Booking ---------- */
.booking-embed {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  min-height: 560px; overflow: hidden;
}
.booking-embed iframe { width: 100%; height: 640px; border: 0; }
.booking-placeholder { min-height: 0; display: flex; align-items: center; justify-content: center; padding: 56px 24px; }
.booking-soon { text-align: center; max-width: 480px; }
.booking-soon .icon { font-size: 2.6rem; display: block; margin-bottom: 14px; }
.booking-soon h3 { color: var(--navy); margin-bottom: 10px; }
.booking-soon p { color: var(--grey); }
.booking-fallback { text-align: center; margin-top: 24px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.gallery .ph {
  aspect-ratio: 4/3; border-radius: 10px; overflow: hidden;
  background: linear-gradient(150deg, #e8e0f0, #f6e7d8);
  display: flex; align-items: center; justify-content: center;
  color: var(--grey); font-size: 0.8rem; text-align: center;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 32px; }
.videos video { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--navy); }
.video-ph {
  aspect-ratio: 16/9; border-radius: var(--radius); background: var(--navy);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.8);
  font-size: 0.9rem; text-align: center; padding: 16px;
}

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.review { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.review .stars { color: var(--orange); letter-spacing: 2px; margin-bottom: 10px; }
.review .who { margin-top: 14px; font-weight: 600; color: var(--navy); font-size: 0.9rem; }
.google-cta { text-align: center; margin-top: 32px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { font-size: 1.3rem; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 320px; background: #e9e6f2; display: flex; align-items: center; justify-content: center; color: var(--grey); }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }
.socials { display: flex; gap: 14px; margin-top: 20px; }
.socials a {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  background: var(--cream); padding: 10px 18px; border-radius: 999px; color: var(--navy); font-weight: 600; font-size: 0.9rem;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.85); padding: 40px 0; font-size: 0.85rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--orange); text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 20px; gap: 16px;
    border-bottom: 1px solid #eee; box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  section { padding: 52px 0; }
  .btn-outline { margin-left: 0; margin-top: 12px; }
}
