/* ============================================================
   wpilates.fr — style.css
   Palette: Dark purple #1a0a2e | Violet #7c3aed | Light #f5f3ff
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: #1e1b4b;
  background: #ffffff;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #7c3aed; text-decoration: none; transition: color .2s; }
a:hover { color: #6d28d9; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: #1a0a2e;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.2rem; }
p { margin-bottom: 1rem; }

/* ---------- Layout Helpers ---------- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.section-pad { padding: 80px 0; }
.text-center { text-align: center; }
.text-white { color: #ffffff !important; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .85rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  letter-spacing: .04em;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: #7c3aed;
  color: #ffffff;
  border-color: #7c3aed;
}
.btn-primary:hover { background: #6d28d9; border-color: #6d28d9; color: #fff; }
.btn-outline {
  background: transparent;
  color: #7c3aed;
  border-color: #7c3aed;
}
.btn-outline:hover { background: #7c3aed; color: #fff; }
.btn-light {
  background: #f5f3ff;
  color: #1a0a2e;
  border-color: #f5f3ff;
}
.btn-light:hover { background: #ede9fe; border-color: #ede9fe; }

/* ---------- Section Labels ---------- */
.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #7c3aed;
  margin-bottom: .75rem;
}
.section-label-light { color: #c4b5fd; }

/* ---------- Divider ---------- */
.divider { width: 60px; height: 3px; background: #7c3aed; margin: 1rem auto 2rem; }
.divider-left { margin-left: 0; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26,10,46,.97);
  backdrop-filter: blur(6px);
  padding: .9rem 0;
  border-bottom: 1px solid rgba(124,58,237,.3);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo a { display: flex; align-items: center; }
.logo img { height: 48px; width: auto; }

.main-nav ul { display: flex; gap: 2rem; }
.main-nav a {
  color: #ede9fe;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  padding: .25rem 0;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: #7c3aed;
  transform: scaleX(0); transition: transform .2s;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a:hover, .main-nav a.active { color: #a78bfa; }
.nav-cta { margin-left: 1.5rem; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: .4rem;
}
.hamburger span { display: block; width: 25px; height: 2px; background: #ede9fe; transition: .3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: url('/images/hero-pilates.jpg') center center / cover no-repeat;
  padding-top: 80px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(26,10,46,.88);
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-content .section-label { color: #a78bfa; }
.hero-content h1 { color: #f5f3ff; margin-bottom: 1.25rem; }
.hero-content p { color: #c4b5fd; font-size: 1.15rem; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-badges {
  display: flex; gap: 2rem; flex-wrap: wrap;
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-badge { color: #ede9fe; font-size: .9rem; }
.hero-badge strong { display: block; font-size: 1.6rem; color: #a78bfa; }

/* ============================================================
   FEATURES
   ============================================================ */
.intro { background: #f5f3ff; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem; margin-top: 3rem;
}
.feature-card {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 2px 16px rgba(26,10,46,.08);
  border-top: 3px solid #7c3aed;
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(124,58,237,.15); }
.feature-icon {
  width: 48px; height: 48px;
  background: #ede9fe; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.feature-icon svg { width: 24px; height: 24px; stroke: #7c3aed; fill: none; stroke-width: 2; }

/* ============================================================
   TWO-COLUMN SECTIONS
   ============================================================ */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col img { border-radius: 10px; width: 100%; height: 420px; object-fit: cover; box-shadow: 0 8px 32px rgba(26,10,46,.15); }
.two-col-text h2 { margin-bottom: 1rem; }
.two-col-text ul { margin: 1rem 0 1.5rem; }
.two-col-text ul li { padding: .4rem 0 .4rem 1.5rem; position: relative; color: #374151; }
.two-col-text ul li::before { content: ''; position: absolute; left: 0; top: .85rem; width: 8px; height: 8px; border-radius: 50%; background: #7c3aed; }

/* ============================================================
   BANNER
   ============================================================ */
.banner-section {
  position: relative; padding: 100px 0;
  background: url('/images/vue-paris.jpg') center center / cover no-repeat;
  text-align: center;
}
.banner-section::before { content: ''; position: absolute; inset: 0; background: rgba(26,10,46,.87); }
.banner-section .container { position: relative; z-index: 1; }
.banner-section h2 { color: #f5f3ff; margin-bottom: 1rem; }
.banner-section p { color: #c4b5fd; font-size: 1.15rem; max-width: 640px; margin: 0 auto 2rem; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; }
.cta-img { background: url('/images/groupe-pilates.jpg') center center / cover no-repeat; }
.cta-content { background: #1a0a2e; display: flex; flex-direction: column; justify-content: center; padding: 4rem; }
.cta-content h2 { color: #f5f3ff; margin-bottom: 1rem; }
.cta-content p { color: #c4b5fd; margin-bottom: 2rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: #f5f3ff; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.testimonial-card { background: #fff; border-radius: 10px; padding: 2rem; box-shadow: 0 2px 16px rgba(26,10,46,.07); border-left: 4px solid #7c3aed; }
.stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: .75rem; }
.testimonial-card blockquote { font-style: italic; color: #374151; margin-bottom: 1rem; }
.testimonial-author { font-weight: 700; color: #1a0a2e; font-size: .9rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 800px; margin: 2rem auto 0; }
.faq-item { border-bottom: 1px solid #e2e8f0; padding: 1.25rem 0; }
.faq-question { font-weight: 700; color: #1a0a2e; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 1.05rem; }
.faq-question::after { content: '+'; color: #7c3aed; font-size: 1.4rem; }
.faq-answer { color: #374151; margin-top: .75rem; display: none; }
.faq-item.open .faq-question::after { content: '−'; }
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   PRICING / ABONNEMENTS
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.pricing-card { background: #fff; border-radius: 12px; padding: 2.5rem; box-shadow: 0 3px 20px rgba(26,10,46,.09); border: 2px solid #e9d5ff; text-align: center; transition: transform .2s, box-shadow .2s; }
.pricing-card:hover, .pricing-card.featured { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(124,58,237,.18); border-color: #7c3aed; }
.pricing-card.featured { background: #7c3aed; }
.pricing-card.featured h3, .pricing-card.featured .price, .pricing-card.featured p { color: #fff; }
.pricing-card.featured ul li { color: #e9d5ff; }
.pricing-card.featured ul li::before { background: #a78bfa; }
.price { font-size: 2.5rem; font-weight: 800; color: #7c3aed; margin: 1rem 0; }
.price span { font-size: 1rem; font-weight: 400; color: #64748b; }
.pricing-card ul { text-align: left; margin: 1.25rem 0 1.5rem; }
.pricing-card ul li { padding: .4rem 0 .4rem 1.5rem; position: relative; color: #374151; font-size: .95rem; }
.pricing-card ul li::before { content: ''; position: absolute; left: 0; top: .85rem; width: 8px; height: 8px; border-radius: 50%; background: #7c3aed; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0f0520; color: #94a3b8; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand img { height: 44px; margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; line-height: 1.7; }
.footer-col h4 { color: #ede9fe; font-size: 1rem; margin-bottom: 1rem; font-family: 'Inter', sans-serif; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { color: #94a3b8; font-size: .9rem; }
.footer-col ul li a:hover { color: #a78bfa; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }
.footer-bottom a { color: #64748b; }
.footer-bottom a:hover { color: #a78bfa; }

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero { background: linear-gradient(135deg, #1a0a2e 0%, #2d1459 100%); padding: 140px 0 80px; text-align: center; }
.page-hero h1 { color: #f5f3ff; }
.page-hero p { color: #c4b5fd; font-size: 1.1rem; margin-top: .75rem; }
.breadcrumb { display: flex; gap: .5rem; align-items: center; justify-content: center; margin-bottom: 1rem; font-size: .85rem; color: #a78bfa; }
.breadcrumb a { color: #a78bfa; }
.breadcrumb span { color: #c4b5fd; }

/* ============================================================
   BLOG / STUDIO
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.blog-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 3px 20px rgba(26,10,46,.09); transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(124,58,237,.15); }
.blog-card img { width: 100%; height: 220px; object-fit: cover; }
.blog-card-body { padding: 1.5rem; }
.blog-tag { display: inline-block; background: #ede9fe; color: #6d28d9; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .75rem; border-radius: 20px; margin-bottom: .75rem; }
.blog-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.blog-card h3 a { color: #1a0a2e; }
.blog-card h3 a:hover { color: #7c3aed; }
.blog-card p { color: #475569; font-size: .9rem; margin-bottom: 1rem; }
.blog-meta { font-size: .8rem; color: #94a3b8; }

/* Article */
.article-wrap { max-width: 820px; margin: 0 auto; }
.article-hero { width: 100%; height: 420px; object-fit: cover; border-radius: 12px; margin-bottom: 2.5rem; }
.article-meta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.5rem; font-size: .85rem; color: #64748b; }
.article-body h2 { margin: 2rem 0 1rem; }
.article-body h3 { margin: 1.5rem 0 .75rem; }
.article-body img { border-radius: 10px; margin: 1.5rem 0; }
.article-body ul, .article-body ol { margin: 1rem 0 1rem 1.5rem; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: .4rem; color: #374151; }
.article-body blockquote { border-left: 4px solid #7c3aed; padding: 1rem 1.5rem; background: #f5f3ff; border-radius: 0 10px 10px 0; margin: 1.5rem 0; font-style: italic; color: #374151; }
.nap-box { background: #f5f3ff; border: 2px solid #7c3aed; border-radius: 12px; padding: 2rem; margin: 2rem 0; }
.nap-box h3 { color: #1a0a2e; margin-bottom: 1rem; }
.nap-box p { margin-bottom: .5rem; }
.maps-embed { margin: 2rem 0; border-radius: 12px; overflow: hidden; }
.maps-embed iframe { width: 100%; max-width: 600px; height: 450px; border: 0; border-radius: 12px; }

/* ============================================================
   COURS / FLOW PAGE
   ============================================================ */
.cours-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.cours-card { background: #fff; border-radius: 12px; padding: 2rem; box-shadow: 0 2px 16px rgba(26,10,46,.08); border-top: 3px solid #7c3aed; }
.cours-card h3 { color: #1a0a2e; margin-bottom: .75rem; }
.cours-card p { color: #475569; font-size: .9rem; }
.cours-card .price { font-size: 1.5rem; font-weight: 700; color: #7c3aed; margin-top: 1rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.contact-info h3 { margin-bottom: 1rem; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.25rem; align-items: flex-start; }
.contact-info-icon { width: 40px; height: 40px; background: #ede9fe; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-icon svg { width: 20px; height: 20px; stroke: #7c3aed; fill: none; stroke-width: 2; }
.contact-form { background: #f5f3ff; border-radius: 12px; padding: 2.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: .4rem; color: #1a0a2e; font-size: .9rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: .75rem 1rem; border: 1.5px solid #ddd6fe; border-radius: 8px; font-size: 1rem; font-family: inherit; background: #fff; transition: border-color .2s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #7c3aed; }
.form-group textarea { min-height: 140px; resize: vertical; }

/* ============================================================
   SITEMAP
   ============================================================ */
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-top: 2rem; }
.sitemap-col h3 { color: #1a0a2e; margin-bottom: 1rem; font-size: 1.1rem; }
.sitemap-col ul li { margin-bottom: .5rem; }
.sitemap-col ul li a { color: #7c3aed; font-size: .95rem; }
.sitemap-col ul li a:hover { color: #6d28d9; }

/* ============================================================
   404
   ============================================================ */
.error-page { min-height: 80vh; display: flex; align-items: center; text-align: center; }
.error-code { font-size: 8rem; font-weight: 900; color: #ede9fe; line-height: 1; }
.error-page h1 { color: #1a0a2e; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band { background: #7c3aed; padding: 50px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; text-align: center; }
.stat-num { font-size: 2.5rem; font-weight: 800; color: #f5f3ff; }
.stat-label { color: #ddd6fe; font-size: .9rem; margin-top: .25rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .section-pad { padding: 60px 0; }
  .main-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(26,10,46,.98); padding: 1.5rem; gap: 1rem; }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 1rem; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .two-col.reverse { direction: ltr; }
  .two-col img { height: 280px; }
  .cta-section { grid-template-columns: 1fr; }
  .cta-img { display: none; }
  .cta-content { padding: 3rem 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .blog-grid { grid-template-columns: 1fr; }
}
