/* GPILATES.fr - Studio de Pilates - 2026 */
/* Color palette: Sage green (#7B8F6B), Deep forest (#2C3E2D), Warm cream (#F5F0E8), Charcoal (#2D2D2D), Soft gold (#C4A962) */

:root {
  --sage: #7B8F6B;
  --sage-light: #A3B596;
  --forest: #2C3E2D;
  --cream: #F5F0E8;
  --charcoal: #2D2D2D;
  --gold: #C4A962;
  --gold-light: #D4BC7A;
  --white: #FFFFFF;
  --text: #333333;
  --text-light: #666666;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --transition: all 0.3s ease;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  color: var(--forest);
  line-height: 1.2;
  font-weight: 600;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin-bottom: 0.8rem; }
p { margin-bottom: 1rem; }

/* Fade-in animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(245, 240, 232, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(123, 143, 107, 0.15);
  transition: var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: 2px;
}
.logo img { height: 40px; width: auto; }
.nav-links { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-links a {
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 5px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--sage) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 30px;
  font-size: 0.85rem !important;
}
.nav-cta:hover { background: var(--forest) !important; }
.nav-cta::after { display: none !important; }

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}
.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--charcoal);
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    padding: 80px 40px;
    gap: 1.5rem;
    transition: right 0.4s ease;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { right: 0; }
}

/* ===== HERO VIDEO ===== */
.hero-video {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-video video,
.hero-video .hero-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 45, 0.85) 0%, rgba(45, 45, 45, 0.80) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
  max-width: 800px;
}
.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1rem;
  letter-spacing: 3px;
}
.hero-content .hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}
.hero-cta-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 169, 98, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--charcoal);
  transform: translateY(-2px);
}
.btn-sage {
  background: var(--sage);
  color: var(--white);
}
.btn-sage:hover {
  background: var(--forest);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
section { padding: 80px 0; }
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header .section-label {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-light);
}
.section-alt { background: var(--white); }

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(123, 143, 107, 0.1);
}
.section-alt .feature-card { background: var(--cream); }
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--sage), var(--forest));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
}
.feature-card h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.feature-card p { color: var(--text-light); font-size: 0.95rem; }

/* ===== IMAGE SECTIONS ===== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.split-image:hover img { transform: scale(1.05); }
.split-text h2 { margin-bottom: 1rem; }
.split-text p { color: var(--text-light); margin-bottom: 1rem; }
@media (max-width: 768px) {
  .split-section, .split-section.reverse { grid-template-columns: 1fr; gap: 2rem; }
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
}
.testimonial-card .stars { color: var(--gold); margin-bottom: 1rem; font-size: 1.1rem; }
.testimonial-card blockquote {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.testimonial-card .author {
  font-weight: 600;
  color: var(--forest);
  font-size: 0.9rem;
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid rgba(123, 143, 107, 0.15);
  transition: var(--transition);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--gold);
  transform: scale(1.05);
}
.pricing-card.featured::before {
  content: 'Populaire';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--charcoal);
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pricing-card.featured:hover { transform: scale(1.05) translateY(-5px); }
.pricing-card h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.pricing-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--forest);
  font-family: 'Cormorant Garamond', serif;
}
.pricing-amount span { font-size: 1rem; font-weight: 400; color: var(--text-light); }
.pricing-features {
  list-style: none;
  margin: 1.5rem 0;
  text-align: left;
}
.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.95rem;
  color: var(--text-light);
}
.pricing-features li::before {
  content: '\2713';
  color: var(--sage);
  font-weight: 700;
  margin-right: 8px;
}

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.blog-card-image {
  height: 220px;
  overflow: hidden;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-card:hover .blog-card-image img { transform: scale(1.1); }
.blog-card-content { padding: 1.5rem; }
.blog-card-meta {
  font-size: 0.8rem;
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.blog-card-content h3 { font-size: 1.2rem; margin-bottom: 0.8rem; }
.blog-card-content h3 a { color: var(--forest); }
.blog-card-content h3 a:hover { color: var(--gold); }
.blog-card-content p { color: var(--text-light); font-size: 0.9rem; }
.blog-read-more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ===== BLOG ARTICLE PAGE ===== */
.article-hero {
  height: 50vh;
  min-height: 350px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  margin-top: 70px;
}
.article-hero .hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44, 62, 45, 0.82);
}
.article-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}
.article-hero-content h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}
.article-meta {
  font-size: 0.9rem;
  opacity: 0.8;
}
.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}
.article-body h2 { margin: 2rem 0 1rem; }
.article-body h3 { margin: 1.5rem 0 0.8rem; }
.article-body p { margin-bottom: 1.2rem; color: var(--text); line-height: 1.8; }
.article-body ul, .article-body ol {
  margin: 1rem 0;
  padding-left: 2rem;
  color: var(--text);
}
.article-body li { margin-bottom: 0.5rem; line-height: 1.7; }
.article-body img {
  width: 100%;
  border-radius: var(--radius);
  margin: 2rem 0;
  box-shadow: var(--shadow);
}
.article-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-light);
}
.article-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}

/* ===== CONTACT FORM ===== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--forest);
  font-size: 0.9rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(123, 143, 107, 0.3);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(123, 143, 107, 0.15);
}
.form-group textarea { min-height: 150px; resize: vertical; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-family: 'Cormorant Garamond', serif;
}
.footer-col p { font-size: 0.9rem; line-height: 1.6; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--gold); }

/* ===== PLAN DU SITE ===== */
.sitemap-list { list-style: none; padding: 0; }
.sitemap-list li { padding: 0.5rem 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.sitemap-list li a { font-size: 1rem; }
.sitemap-list .sub-list { padding-left: 2rem; margin-top: 0.5rem; }

/* ===== 404 ===== */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.page-404 h1 { font-size: 6rem; color: var(--sage); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--forest), var(--sage));
  color: var(--white);
  text-align: center;
  padding: 80px 20px;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 2rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  section { padding: 50px 0; }
  .hero-video { min-height: 500px; }
  .hero-content h1 { letter-spacing: 1px; }
  .features-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-5px); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-cta-group { flex-direction: column; align-items: center; }
  .btn { width: 100%; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
}
