/* ============================================================
   TEMPLATE V3 — Editorial Design (Myriam-level)
   Decorative frames, accent bars, accordion, staggered reveals
   Colors #5b8a72 and #1a1a2e replaced dynamically by build_site.py
   ============================================================ */

/* ── CSS CUSTOM PROPERTIES ── */
:root {
  --primary: #5b8a72;
  --primary-rgb: 91,138,114;
  --secondary: #1a1a2e;
  --secondary-rgb: 26,26,46;
  --text: #2d2d3a;
  --text-light: #6b6b7a;
  --bg: #fafaf9;
  --cream: #f5f3ef;
  --border: rgba(0,0,0,0.08);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; }
h2 em, h1 em { font-style: italic; color: #5b8a72; }

/* ── SECTION LABEL (editorial line + text) ── */
.section-label {
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #5b8a72;
  margin-bottom: 1.2rem;
  display: inline-flex; align-items: center; gap: 1rem;
}
.section-label::before {
  content: '';
  width: 40px; height: 1px;
  background: #5b8a72;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block; padding: 16px 40px;
  background: #5b8a72; color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.5px; text-transform: uppercase;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(var(--primary-rgb),0.35); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px;
  border: 1px solid rgba(255,255,255,0.25); color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 400;
  letter-spacing: 0.5px;
  transition: border-color 0.3s, background 0.3s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }

/* ── NAVIGATION (overridden by header.php, kept for preview) ── */
nav#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 5%; height: 72px;
  background: transparent;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
nav#nav.scrolled {
  background: rgba(250,250,249,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav-logo { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: #fff; letter-spacing: 0.3px; }
.nav-logo span { font-weight: 700; }
nav#nav.scrolled .nav-logo { color: var(--text); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 0.82rem; font-weight: 400; color: rgba(255,255,255,0.85); text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s; }
nav#nav.scrolled .nav-links a { color: var(--text-light); }
.nav-links a:hover { color: #5b8a72; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; transition: all 0.3s; }
nav#nav.scrolled .hamburger span { background: var(--text); }
.mobile-menu { display: none; position: fixed; inset: 0; width: 100%; height: 100vh; background: var(--bg); flex-direction: column; justify-content: center; align-items: center; gap: 24px; z-index: 9998; }
.mobile-menu.active { display: flex; }
.mobile-menu a { font-family: var(--font-display); font-size: 1.5rem; color: var(--text); padding: 8px 0; transition: color 0.3s; }
.mobile-menu a:hover { color: #5b8a72; }

/* ── HERO SECTION ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 0 5%;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -20%; right: -5%;
  width: 55%; height: 140%;
  background: rgba(var(--primary-rgb), 0.04);
  transform: skewX(-8deg);
  z-index: 0;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(var(--primary-rgb),0.1), transparent 60%);
  z-index: 0;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 580px;
}
.hero-label {
  font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #5b8a72;
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 28px;
}
.hero-label::before {
  content: '';
  width: 40px; height: 1px;
  background: #5b8a72;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  color: #fff; margin-bottom: 24px;
  line-height: 1.15;
}
.hero h1 em { font-style: italic; color: #5b8a72; }
.hero-description {
  font-size: 1.05rem; color: rgba(255,255,255,0.65);
  line-height: 1.8; margin-bottom: 36px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero portrait with decorative frame */
.hero-image {
  position: absolute; right: 8%; bottom: 0; z-index: 1;
  width: 380px; max-height: 80vh;
}
.hero-image::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 100%; height: 100%;
  border: 1px solid #5b8a72;
  z-index: -1;
}
.hero-image::after {
  content: '';
  position: absolute;
  bottom: -15px; left: -15px;
  width: 120px; height: 120px;
  background: #5b8a72;
  opacity: 0.12;
  z-index: -1;
}
.hero-portrait {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  filter: grayscale(8%) contrast(1.02);
}

/* ── QUOTE SECTION (dark, giant quotation mark) ── */
.quote-section {
  padding: 5rem 5%;
  background: #1a1a2e;
  color: #fff;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.quote-section::before {
  content: '\201C';
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 20rem;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
}
.quote-section blockquote {
  max-width: 750px; margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
  font-style: italic;
  position: relative;
}
.quote-author {
  margin-top: 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 400;
  color: #5b8a72;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-style: normal;
}
.quote-author::before {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: #5b8a72;
  margin: 0 auto 1rem;
}

/* ── SERVICES (sharp edges, accent bar hover) ── */
.services { padding: 100px 5%; background: var(--cream); }
.services-inner { max-width: 1200px; margin: 0 auto; }
.services-header { text-align: center; margin-bottom: 60px; }
.services h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: #1a1a2e; margin-bottom: 16px; }
.services-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.service-card {
  background: var(--bg); padding: 2.5rem;
  transition: all 0.4s var(--ease);
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
  border: 1px solid transparent;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 0;
  background: #5b8a72;
  transition: height 0.4s var(--ease);
}
.service-card:hover {
  background: #fff;
  border-color: var(--border);
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  transform: translateY(-3px);
}
.service-card:hover::before { height: 100%; }
.service-number {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 300;
  color: rgba(var(--primary-rgb),0.2);
  line-height: 1;
}
.service-card h3 { font-size: 1.15rem; color: #1a1a2e; }
.service-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; color: #5b8a72; font-weight: 500;
  margin-top: auto; padding-top: 8px;
  transition: gap 0.3s var(--ease);
}
.service-card:hover .service-link { gap: 12px; }

/* ── TESTIMONIALS ── */
.testimonials { padding: 100px 5%; background: var(--bg); }
.testimonials-inner { max-width: 1200px; margin: 0 auto; }
.testimonials-header { text-align: center; margin-bottom: 60px; }
.testimonials h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: #1a1a2e; margin-bottom: 16px; }
.testimonials-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.testimonial-card {
  background: var(--cream); padding: 2.5rem 2rem;
  position: relative; display: flex; flex-direction: column;
  border: 1px solid transparent;
  transition: all 0.4s var(--ease);
}
.testimonial-card:hover {
  border-color: var(--border);
  background: #fff;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  transform: translateY(-3px);
}
.testimonial-stars {
  display: flex; gap: 2px; margin-bottom: 16px;
  color: #5b8a72; font-size: 0.85rem; letter-spacing: 2px;
}
.testimonial-text {
  color: var(--text); line-height: 1.8;
  margin-bottom: 24px; flex-grow: 1;
  font-size: 0.95rem;
}
.testimonial-author {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(var(--primary-rgb),0.1);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; color: #5b8a72; font-size: 0.9rem;
  font-family: var(--font-display);
}
.testimonial-author-info strong { font-size: 0.9rem; color: var(--text); display: block; }
.testimonial-author-info span { font-size: 0.8rem; color: var(--text-light); }

/* ── PAIN POINTS ── */
.pain-section { padding: 100px 5%; background: var(--cream); }
.pain-inner { max-width: 900px; margin: 0 auto; }
.pain-header { text-align: center; margin-bottom: 50px; }
.pain-section h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: #1a1a2e; margin-bottom: 16px; }
.pain-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; }
.pain-list {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 50px;
}
.pain-list li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 24px;
  background: var(--bg);
  font-size: 1rem; color: var(--text);
  line-height: 1.6;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}
.pain-list li:hover {
  border-color: #5b8a72;
  transform: translateX(4px);
}
.pain-list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #5b8a72;
  margin-top: 8px;
}
/* CTA box with decorative offset frame */
.pain-cta-box {
  background: #1a1a2e;
  padding: 3.5rem;
  text-align: center;
  position: relative;
}
.pain-cta-box::before {
  content: '';
  position: absolute;
  top: 15px; left: 15px;
  right: -15px; bottom: -15px;
  border: 1px solid #5b8a72;
  z-index: -1;
}
.pain-cta-box h3 {
  color: #fff; font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 16px;
}
.pain-cta-box p {
  color: rgba(255,255,255,0.65); margin-bottom: 28px;
  max-width: 500px; margin-left: auto; margin-right: auto;
  line-height: 1.7;
}
.pain-cta-box .btn-primary { background: #5b8a72; color: #fff; }

/* ── BLOG ── */
.blog { padding: 100px 5%; background: var(--bg); }
.blog-inner { max-width: 1200px; margin: 0 auto; }
.blog-header { text-align: center; margin-bottom: 60px; }
.blog h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: #1a1a2e; margin-bottom: 16px; }
.blog-header p { color: var(--text-light); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: stretch; }
.blog-card {
  background: var(--bg); overflow: hidden;
  transition: all 0.4s var(--ease);
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
  height: 100%;
}
.blog-card:hover {
  border-color: #5b8a72;
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}
.blog-card-img {
  height: 200px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
}
.blog-card-img svg { width: 100%; height: 100%; }
.blog-card-body { padding: 28px 24px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-card-tag {
  font-family: var(--font-body);
  font-size: 0.7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: #5b8a72;
  margin-bottom: 12px;
}
.blog-card-body h3 { font-size: 1.1rem; color: #1a1a2e; margin-bottom: 8px; line-height: 1.4; }
.blog-card-body p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; flex-grow: 1; }
.blog-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 24px; border-top: 1px solid var(--border);
  margin-top: auto;
}
.blog-card-footer span { font-size: 0.8rem; color: var(--text-light); }
.blog-card-footer span:last-child { color: #5b8a72; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }

/* ── APPROACH (2-column: text left + accordion right) ── */
.approach { padding: 100px 5%; background: var(--cream); }
.approach-inner { max-width: 1200px; margin: 0 auto; }
.approach-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}
.approach-left {}
.approach h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: #1a1a2e; margin-bottom: 20px; }
.approach-left > p { color: var(--text-light); line-height: 1.8; margin-bottom: 2rem; font-size: 1rem; }
.approach-tagline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 1rem;
}
.approach-video {
  margin-top: 2.5rem;
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border: 1px solid var(--border);
}
.approach-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}
.approach-right {}
.approach-grid { display: flex; flex-direction: column; }
.approach-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.approach-item:first-child { border-top: 1px solid var(--border); }
.approach-item-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem 0;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}
.approach-item-header:hover { color: #5b8a72; }
.approach-item-header h3 {
  font-size: 1rem; font-weight: 400; color: inherit;
  font-family: var(--font-display);
  margin: 0;
}
.accordion-icon {
  position: relative;
  width: 20px; height: 20px;
  flex-shrink: 0;
}
.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.accordion-icon::before {
  top: 50%; left: 0;
  width: 100%; height: 1px;
  transform: translateY(-50%);
}
.accordion-icon::after {
  top: 0; left: 50%;
  width: 1px; height: 100%;
  transform: translateX(-50%);
}
.approach-item.active .accordion-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}
.approach-item.active .approach-item-header { color: #5b8a72; }
.approach-item-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 0 0;
}
.approach-item.active .approach-item-content {
  max-height: 300px;
  padding-bottom: 1.4rem;
}
.approach-item-content p {
  color: var(--text-light); font-size: 0.95rem; line-height: 1.7;
}
.approach-item-content ul {
  list-style: none; padding: 0.5rem 0 0;
  display: flex; flex-direction: column; gap: 6px;
}
.approach-item-content li {
  font-size: 0.9rem; color: var(--text-light);
  padding-left: 1.2rem;
  position: relative;
}
.approach-item-content li::before {
  content: '\2014';
  position: absolute; left: 0;
  color: #5b8a72;
}

/* ── STEPS / PROCESS ── */
.steps-section { padding: 100px 5%; background: var(--bg); }
.steps-inner { max-width: 1000px; margin: 0 auto; }
.steps-header { text-align: center; margin-bottom: 60px; }
.steps-section h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: #1a1a2e; margin-bottom: 16px; }
.steps-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card { text-align: center; padding: 32px 20px; position: relative; }
.step-number {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600;
  margin: 0 auto 20px;
  color: #5b8a72;
  border: 1px solid #5b8a72;
  border-radius: 50%;
  transition: all 0.4s var(--ease);
}
.step-card:hover .step-number {
  background: #5b8a72; color: #fff;
}
.step-card h3 { font-size: 1.05rem; color: #1a1a2e; margin-bottom: 12px; }
.step-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }

/* ── DETAILS / INFOS PRATIQUES (dark section) ── */
.details-section {
  padding: 100px 5%;
  background: #1a1a2e;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.details-section::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 40%; height: 100%;
  background: linear-gradient(135deg, rgba(var(--primary-rgb),0.08), transparent);
  pointer-events: none;
}
.details-inner { max-width: 1000px; margin: 0 auto; position: relative; z-index: 1; }
.details-header { text-align: center; margin-bottom: 60px; }
.details-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem); color: #fff; margin-bottom: 16px;
}
.details-section h2 em { color: #5b8a72; }
.details-section .section-label { color: #5b8a72; }
.details-section .section-label::before { background: #5b8a72; }
.details-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.detail-item {
  padding: 2rem 2.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.4s var(--ease);
}
.detail-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(var(--primary-rgb),0.3);
}
.detail-item h3 {
  font-family: var(--font-body);
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: #5b8a72; margin-bottom: 8px;
}
.detail-item p { color: rgba(255,255,255,0.7); font-size: 1rem; line-height: 1.7; }
.details-bio {
  grid-column: 1 / -1;
  padding: 2.5rem;
  background: rgba(var(--primary-rgb),0.08);
  border: 1px solid rgba(var(--primary-rgb),0.15);
}
.details-bio h3 { color: #5b8a72; margin-bottom: 12px; }
.details-bio p { color: rgba(255,255,255,0.75); line-height: 1.8; }

/* ── CONTACT ── */
.contact { padding: 100px 5%; background: var(--cream); }
.contact-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.contact h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: #1a1a2e; margin-bottom: 16px; }
.contact-inner > p { color: var(--text-light); margin-bottom: 40px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; text-align: left; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form label {
  display: block; font-size: 0.75rem; color: var(--text-light);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
  font-weight: 500;
}
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 12px 0;
  border: none; border-bottom: 1px solid var(--border);
  background: transparent; color: var(--text);
  font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color 0.3s var(--ease);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-bottom-color: #5b8a72;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #bbb; }
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form button {
  grid-column: 1 / -1;
  padding: 16px 40px;
  background: #5b8a72; color: #fff; border: none;
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.5px;
  cursor: pointer; transition: all 0.4s var(--ease);
  justify-self: center; min-width: 220px;
}
.contact-form button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(var(--primary-rgb),0.3); }
.contact-info {
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.contact-info p { color: var(--text-light); font-size: 0.9rem; }
.contact-info a { color: #5b8a72; font-weight: 400; }

/* ── FOOTER ── */
footer {
  padding: 32px 5%;
  background: #1a1a2e;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}
footer a { color: #5b8a72; }

/* ── ANIMATIONS (staggered, multi-directional) ── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes expandLine { from { width: 0; } to { width: 40px; } }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
/* Staggered delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Keep old class for backward compat */
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .approach-layout { grid-template-columns: 1fr; gap: 3rem; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-image { width: 320px; right: 3%; }
}
@media (max-width: 768px) {
  .hero { padding-top: 100px; min-height: auto; padding-bottom: 40px; }
  .hero-image { display: none; }
  .services, .testimonials, .blog, .approach, .contact,
  .pain-section, .steps-section, .details-section, .quote-section { padding: 60px 5%; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .details-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .hamburger { display: flex; }
  .nav-links { display: none; }
  .quote-section blockquote { font-size: 1.1rem; }
  .quote-section::before { font-size: 12rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; justify-content: center; }
  .steps-grid { grid-template-columns: 1fr; }
  .quote-section::before { font-size: 8rem; }
}
  

/* ============================================================
   BLOG CSS - Generated for Simon Segouin
   ============================================================ */
.nav-back {
    display: inline-flex; align-items: center; gap: 8px;
    color: #6b6b7a; font-size: 0.85rem; text-decoration: none;
    margin-bottom: 24px;
}
.nav-back:hover { color: #5b8a72; }
.article-hero {
    position: relative; min-height: 340px;
    display: flex; align-items: flex-end; padding: 40px 5%;
}
.article-hero .overlay { position: absolute; inset: 0; background: rgba(10,10,10,0.85); }
.article-hero h1 {
    position: relative; z-index: 1; color: #fff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 500; line-height: 1.2;
}
.article-hero .tag {
    position: relative; z-index: 1;
    display: inline-block; padding: 4px 14px; border-radius: 20px;
    background: rgba(91,138,114, 0.2);
    color: #5b8a72; font-size: 0.8rem; font-weight: 500;
    margin-bottom: 16px;
}
.article-body {
    max-width: 720px; margin: 0 auto; padding: 48px 24px 60px;
    font-size: 1.05rem; line-height: 1.8; color: #2d2d3a;
}
.article-body h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem; font-weight: 500; margin: 40px 0 16px;
    color: #1a1a2e;
}
.article-body blockquote {
    border-left: 3px solid #5b8a72; padding: 16px 24px;
    margin: 32px 0; background: #f8faf9; border-radius: 0 8px 8px 0;
    font-style: italic; color: #6b6b7a;
}
.article-cta {
    text-align: center; padding: 48px 24px;
    background: #f8faf9; border-radius: 12px; margin: 40px 0;
}
.article-cta a {
    display: inline-block; padding: 14px 36px; border-radius: 30px;
    background: #5b8a72; color: #fff; text-decoration: none;
    font-weight: 500; transition: transform 0.2s;
}
.article-cta a:hover { transform: translateY(-2px); }
@media (max-width: 768px) {
    .article-hero { min-height: 260px; padding: 24px 5%; }
    .article-body { padding: 32px 16px 48px; font-size: 1rem; }
}


/* ============================================================
   ELEMENTOR OVERRIDES - Generated for Simon Segouin
   ============================================================ */
.elementor-section.elementor-section-full_width > .elementor-container {
    max-width: 100% !important; padding: 0 !important;
}
.elementor-column-wrap, .elementor-widget-wrap {
    padding: 0 !important;
}
/* Navigation overrides */
nav#nav {
    position: fixed !important; top: 0 !important; left: 0 !important;
    right: 0 !important; z-index: 9999 !important;
    background: transparent !important; transition: background 0.3s !important;
}
nav#nav.scrolled {
    background: #f8faf9 !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08) !important;
}
.nav-blog {
    background: rgba(248,250,249, 0.95) !important;
}
/* Mobile menu hidden by default */
.nav-links { display: flex !important; }
.hamburger { display: none !important; }
.mobile-menu { display: none !important; }
@media (max-width: 768px) {
    .nav-links { display: none !important; }
    .hamburger { display: flex !important; }
    .mobile-menu.active { display: flex !important; }
}