/* Theme: generated for coaching professionnel (consultant) — Archetype: vitrine */
:root {
  /* Colors */
  --color-primary: #059669;
  --color-primary-hover: #008255;
  --color-heading: #0f172a;
  --color-text: #374151;
  --color-text-muted: #6b7280;
  --color-bg: #ffffff;
  --color-surface: #fefefe;
  --color-border: #f1f5f9;

  /* Footer */
  --color-footer-bg: #f8fafc;
  --color-footer-text: var(--color-text-muted);
  --color-footer-heading: var(--color-heading);
  --color-footer-border: rgba(255,255,255,0.1);

  /* Typography */
  --font-heading: 'Libre Baskerville', Georgia, serif;
  --font-body: 'Outfit', 'Inter', system-ui, sans-serif;

  /* Radius */
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.03);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.06);

  /* Spacing */
  --spacing-section: 7rem;
  --max-width: 1200px;
  --content-width: 780px;

  /* Archetype-specific variables */
  --archetype: "vitrine";
}

/* Archetype-specific styling (30+ rules per archetype) */

/* === VITRINE ARCHETYPE === Pro libéral/Consultant minimaliste */
/* Hero vitrine: grid texte + photo */
.hero-vitrine {
  background: linear-gradient(135deg, #f8fafc 0%, #ecfdf5 100%);
  padding: 7rem 0 5rem;
}
.hero-vitrine-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: center;
}
.hero-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.hero-vitrine-text h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 400;
  color: var(--color-heading);
}
.hero-vitrine-text .hero-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-vitrine-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.hero-vitrine-trust {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.hero-vitrine-photo {
  display: flex;
  justify-content: center;
}
.hero-vitrine-photo img {
  width: 320px;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.hero-portrait-placeholder {
  width: 320px;
  height: 400px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--color-primary) 0%, #34d399 100%);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 768px) {
  .hero-vitrine-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .hero-vitrine-actions { justify-content: center; }
  .hero-vitrine-trust { justify-content: center; }
  .hero-vitrine-photo { order: -1; }
  .hero-portrait-placeholder, .hero-vitrine-photo img { width: 200px; height: 250px; margin: 0 auto; }
}

/* Header minimal transparent */
.y9a-site-header { 
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  background: rgba(248, 250, 252, 0.9); 
  backdrop-filter: blur(8px);
  z-index: 90; 
  padding: 1.25rem 0; 
  transition: all 0.3s ease; 
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.y9a-site-header.y9a-scrolled { 
  background: rgba(255, 255, 255, 0.98); 
  backdrop-filter: blur(10px); 
  border-bottom: 1px solid var(--color-border); 
  padding: 1rem 0; 
}
.y9a-mobile-toggle span { background: var(--color-heading) !important; }
.y9a-header-inner { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
}
.y9a-site-logo { 
  font-family: var(--font-heading); 
  font-size: 1.5rem; 
  font-weight: 400; 
  color: var(--color-heading); 
  text-decoration: none; 
}
.y9a-site-nav { 
  display: flex; 
  gap: 3rem; 
}
.y9a-site-nav a { 
  color: var(--color-text-muted); 
  font-weight: 400; 
  font-size: 0.95rem; 
  letter-spacing: 0.5px; 
  transition: all 0.3s ease; 
}
.y9a-site-nav a:hover { 
  color: var(--color-primary); 
}

/* Cards épurées avec beaucoup de padding */
.y9a-card { 
  background: white; 
  border: 1px solid var(--color-border); 
  border-radius: var(--radius-xl); 
  padding: 3rem; 
  transition: all 0.3s ease; 
  text-align: center; 
}
.y9a-card:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 8px 32px rgba(0,0,0,0.08); 
  border-color: var(--color-primary); 
}
.y9a-card h3 { 
  margin-bottom: 1.5rem; 
  font-weight: 400; 
  font-size: 1.3rem; 
}
.y9a-card p { 
  color: var(--color-text-muted); 
  line-height: 1.7; 
  margin-bottom: 0; 
}

/* Footer minimaliste 2 colonnes centrées */
.y9a-site-footer { 
  background: var(--color-footer-bg); 
  color: var(--color-footer-text); 
  padding: 4rem 0 2rem; 
  text-align: center; 
  border-top: 1px solid var(--color-border); 
}
.y9a-footer-grid { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 4rem; 
  max-width: 600px; 
  margin: 0 auto 3rem; 
}
.footer-section h4 { 
  color: var(--color-footer-heading); 
  font-weight: 400; 
  margin-bottom: 1.5rem; 
  font-size: 1.1rem; 
}
.footer-section a { 
  color: var(--color-footer-text); 
  font-size: 0.95rem; 
  line-height: 2; 
  transition: all 0.3s ease; 
}
.footer-section a:hover { 
  color: var(--color-primary); 
}

/* Testimonials slider avec grande citation centrée */
.y9a-testimonial { 
  background: none; 
  border: none; 
  padding: 4rem 2rem; 
  text-align: center; 
  max-width: 800px; 
  margin: 0 auto; 
}
.y9a-testimonial-text { 
  font-size: 1.5rem; 
  line-height: 1.6; 
  font-style: italic; 
  color: var(--color-heading); 
  margin-bottom: 2rem; 
  position: relative; 
}
.y9a-testimonial-text::before { 
  content: '"'; 
  font-size: 6rem; 
  color: var(--color-primary); 
  font-family: Georgia, serif; 
  position: absolute; 
  top: -2rem; 
  left: 50%; 
  transform: translateX(-50%); 
  opacity: 0.3; 
}
.y9a-testimonial-author { 
  margin-top: 2rem; 
}
.y9a-testimonial-name { 
  font-weight: 600; 
  color: var(--color-heading); 
  margin-bottom: 0.5rem; 
}
.y9a-testimonial-role { 
  color: var(--color-text-muted); 
  font-size: 0.95rem; 
}

/* Expert en avant avec stats élégantes */
.y9a-expert-section { 
  background: linear-gradient(135deg, var(--color-surface) 0%, white 100%); 
  padding: 6rem 0; 
  text-align: center; 
}
.y9a-expert-photo { 
  width: 150px; 
  height: 150px; 
  border-radius: 50%; 
  margin: 0 auto 2rem; 
  border: 3px solid var(--color-primary); 
  padding: 3px; 
}
.y9a-expert-badge { 
  background: var(--color-primary); 
  color: white; 
  padding: 0.5rem 1.5rem; 
  border-radius: 50px; 
  font-size: 0.9rem; 
  font-weight: 500; 
  display: inline-block; 
  margin-bottom: 2rem; 
}
.y9a-expert-stats { 
  display: flex; 
  justify-content: center; 
  gap: 4rem; 
  margin-top: 3rem; 
}
.expert-stat { 
  text-align: center; 
}
.y9a-expert-stat-number { 
  font-size: 2.5rem; 
  font-weight: 300; 
  color: var(--color-primary); 
  display: block; 
}
.y9a-expert-stat-label { 
  color: var(--color-text-muted); 
  font-size: 0.9rem; 
  text-transform: uppercase; 
  letter-spacing: 1px; 
  margin-top: 0.5rem; 
}

/* Timeline verticale élégante avec dots */
.y9a-steps { 
  max-width: 600px; 
  margin: 0 auto; 
  position: relative; 
}
.y9a-steps::before { 
  content: ''; 
  position: absolute; 
  left: 20px; 
  top: 0; 
  bottom: 0; 
  width: 1px; 
  background: var(--color-border); 
}
.y9a-step { 
  position: relative; 
  padding-left: 60px; 
  margin-bottom: 4rem; 
}
.y9a-step::before { 
  content: ''; 
  position: absolute; 
  left: 10px; 
  top: 0; 
  width: 20px; 
  height: 20px; 
  background: var(--color-primary); 
  border-radius: 50%; 
  border: 4px solid white; 
  box-shadow: 0 0 0 1px var(--color-border); 
}
.y9a-step h3 { 
  font-weight: 400; 
  margin-bottom: 1rem; 
  color: var(--color-heading); 
}
.y9a-step p { 
  color: var(--color-text-muted); 
  line-height: 1.7; 
}

/* CTA section minimale centrée */
.y9a-cta-block { 
  background: white; 
  padding: 6rem 2rem; 
  text-align: center; 
  border-top: 1px solid var(--color-border); 
}
.y9a-cta-block h2 { 
  font-weight: 400; 
  margin-bottom: 1.5rem; 
  color: var(--color-heading); 
}
.y9a-cta-block p { 
  color: var(--color-text-muted); 
  font-size: 1.1rem; 
  margin-bottom: 3rem; 
  max-width: 600px; 
  margin-left: auto; 
  margin-right: auto; 
}

/* Bouton outline élégant */
.y9a-btn-outline { 
  border: 2px solid var(--color-primary); 
  color: var(--color-primary); 
  background: transparent; 
  padding: 1rem 3rem; 
  border-radius: var(--radius); 
  font-weight: 500; 
  letter-spacing: 0.5px; 
  transition: all 0.3s ease; 
}
.y9a-btn-outline:hover { 
  background: var(--color-primary); 
  color: white; 
  transform: translateY(-1px); 
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.2); 
}

/* Espacement maximum aéré (7rem) */
.y9a-section { 
  padding: 7rem 0; 
}
.y9a-section-header { 
  text-align: center; 
  margin-bottom: 5rem; 
}
.y9a-section-header h2 { 
  font-weight: 400; 
  color: var(--color-heading); 
  margin-bottom: 1.5rem; 
}
.y9a-section-header p { 
  color: var(--color-text-muted); 
  font-size: 1.1rem; 
  max-width: 600px; 
  margin: 0 auto; 
  line-height: 1.7; 
}

/* Mobile responsive */
@media (max-width: 768px) {
  .y9a-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .y9a-expert-stats { flex-direction: column; gap: 2rem; }
  .y9a-site-nav { display: none; }
  .y9a-hero { padding: 6rem 0 4rem; }
  .y9a-steps::before { left: 15px; }
  .y9a-step { padding-left: 50px; }
  .y9a-step::before { left: 5px; }
}


/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { 
  font-family: var(--font-body); 
  color: var(--color-text); 
  background: var(--color-bg); 
  line-height: 1.7; 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { color: var(--color-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-primary-hover); }
body { overflow-x: clip; }
p, li, td, th, blockquote { overflow-wrap: break-word; word-break: break-word; }
.y9a-article-content { overflow-wrap: break-word; word-break: break-word; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 700; margin: 3rem 0 1rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); font-weight: 600; margin: 2rem 0 0.75rem; }
p { margin-bottom: 1.25rem; color: var(--color-text); }
strong { font-weight: 600; }

/* === LAYOUT === */
.y9a-container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.y9a-content-narrow { max-width: var(--content-width); margin: 0 auto; }
.y9a-section { padding: var(--spacing-section) 0; }
.y9a-section-alt { background: var(--color-surface); }
/* Alternating section backgrounds for visual rhythm */
.y9a-section:nth-child(even) { background: rgba(0,0,0,0.015); }
.y9a-section:nth-child(even) .y9a-container { position: relative; }

/* === GRID === */
.y9a-grid { display: grid; gap: var(--grid-gap, 2rem); }
.y9a-grid-2 { grid-template-columns: repeat(2, 1fr); }
.y9a-grid-3 { grid-template-columns: repeat(3, 1fr); }
.y9a-grid-4 { grid-template-columns: repeat(4, 1fr); }
.y9a-grid-auto { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* === HEADER === */
.y9a-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  transition: box-shadow 0.3s;
}
.y9a-site-header.y9a-scrolled { box-shadow: var(--shadow-md); }
.y9a-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
}
.y9a-site-logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-heading);
  text-decoration: none;
}
.y9a-site-logo:hover { color: var(--color-heading); text-decoration: none; }
.y9a-site-nav { display: flex; gap: 1.75rem; align-items: center; }
.y9a-site-nav a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  text-decoration: none;
}
.y9a-site-nav a:hover { color: var(--color-primary); }
.y9a-nav-cta {
  background: var(--color-primary) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: background 0.2s, transform 0.15s !important;
}
.y9a-nav-cta:hover { background: var(--color-primary-hover) !important; transform: translateY(-1px); }
.y9a-mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.y9a-mobile-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 4px 0; transition: 0.3s; border-radius: 2px; }

/* === HERO === */
/* Hero layout is defined by archetype in css-theme.ts */
/* Only shared hero utilities here */
.y9a-hero-content { max-width: 680px; position: relative; z-index: 2; }
.y9a-hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
}
.y9a-hero h1 { margin-bottom: 1.25rem; }
.y9a-hero-desc {
  font-size: 1.15rem;
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 560px;
}

/* === BUTTONS === */
.y9a-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  border: none;
  text-decoration: none;
}
.y9a-btn:hover { transform: translateY(-2px); text-decoration: none; }
.y9a-btn-primary { background: var(--color-primary); color: #fff; }
.y9a-btn-primary:hover { background: var(--color-primary-hover); box-shadow: var(--shadow-md); color: #fff; }
.y9a-btn-outline { background: transparent; border: 2px solid var(--color-primary); color: var(--color-primary); }
.y9a-btn-outline:hover { background: var(--color-primary); color: #fff; }
.y9a-btn-white {
  background: #fff;
  color: var(--color-primary);
  font-weight: 700;
  padding: 0.85rem 2.5rem;
  border-radius: var(--radius);
  font-size: 1rem;
}
.y9a-btn-white:hover {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

/* === CARDS === */
.y9a-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  position: relative;
}
.y9a-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid var(--color-border);
  transition: border-color 0.3s;
  pointer-events: none;
}
.y9a-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.y9a-card:hover::before { border-color: var(--color-primary); }
.y9a-card a { display: block; text-decoration: none; color: inherit; }
.y9a-card h3 { margin-top: 0; color: var(--color-heading); transition: color 0.2s; }
.y9a-card:hover h3 { color: var(--color-primary); }
.y9a-card p { color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: 0; }

/* Card arrow on hover */
.card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 1rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s;
}
.y9a-card:hover .card-arrow { opacity: 1; transform: translateX(0); }
.card-arrow::after { content: '→'; transition: transform 0.3s; }
.y9a-card:hover .card-arrow::after { transform: translateX(4px); }

/* Service icon improved */
.y9a-service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: color-mix(in srgb, var(--color-primary) 8%, transparent);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  transition: all 0.3s;
}
.y9a-card:hover .y9a-service-icon {
  background: var(--color-primary);
  transform: scale(1.05);
}
.y9a-card:hover .service-icon-text { color: #fff; }

/* Sticky CTA mobile */
.sticky-cta-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  background: var(--color-primary);
  padding: 0;
}
.sticky-cta-mobile a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem 1rem;
  width: 100%;
}
.sticky-cta-mobile a:active { background: rgba(0,0,0,0.1); }
@media (max-width: 768px) {
  .sticky-cta-mobile { display: block; }
  body { padding-bottom: 52px; } /* space for sticky bar */
}

/* FAQ Home section */
.faq-home { margin: 0; }
.faq-home details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  overflow: hidden;
  transition: all 0.2s;
}
.faq-home details:hover { border-color: color-mix(in srgb, var(--color-primary) 40%, var(--color-border)); }
.faq-home details[open] { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.faq-home summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-heading);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-home summary::-webkit-details-marker { display: none; }
.faq-home summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--color-text-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-home details[open] summary::after { content: '−'; }
.faq-home .y9a-faq-answer {
  padding: 0 1.25rem 1rem;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Branding section (home) */
.branding-block {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: center;
}
.branding-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}
.branding-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}
.branding-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.branding-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
  text-decoration: none;
  transition: gap 0.2s;
}
.branding-link:hover { text-decoration: underline; }
.branding-numbers {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.branding-stat {
  text-align: center;
  padding: 1rem;
  background: var(--color-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.branding-stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.branding-stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
@media (max-width: 768px) {
  .branding-block { grid-template-columns: 1fr; gap: 2rem; }
  .branding-numbers { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .branding-stat { flex: 1; min-width: 120px; }
}

/* About page */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}
.about-hero-content h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1.5rem;
}
.about-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
}
.about-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.about-stat {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.about-stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.about-stat-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
.about-team {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 700px;
  margin: 0 auto;
}
.about-team-photo {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-team-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-team-initials {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
}
.about-team-content h3 { margin-bottom: 0.75rem; }
.about-team-content p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
}
@media (max-width: 768px) {
  .about-hero { grid-template-columns: 1fr; }
  .about-team { grid-template-columns: 1fr; text-align: center; }
  .about-team-photo { margin: 0 auto; width: 150px; height: 150px; }
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--color-primary) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--color-primary);
}
/* Featured card (first or highlighted) */
.card-featured {
  background: var(--color-primary);
  color: #fff;
}
.card-featured h3 { color: #fff; }
.card-featured p { color: rgba(255,255,255,0.8); }
.card-featured::before { border-color: transparent; }
.card-featured:hover { transform: translateY(-6px); box-shadow: 0 16px 48px color-mix(in srgb, var(--color-primary) 30%, transparent); }

/* === TRUST BADGES === */
.y9a-trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  padding: 1.75rem 0;
}
.y9a-trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
  padding: 0.5rem 1rem;
  background: var(--color-bg);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}
.trust-icon { 
  width: 18px; 
  height: 18px; 
  color: var(--color-primary);
  flex-shrink: 0;
}

/* === HOW IT WORKS === */
.y9a-steps { counter-reset: step; }
.y9a-step {
  position: relative;
  padding-left: 4.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-left: 2px solid var(--color-border);
  margin-left: 1.5rem;
}
.y9a-step:last-child { border-left: 2px solid transparent; padding-bottom: 0; margin-bottom: 0; }
.y9a-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -1.5rem;
  top: 0;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 0 0 4px var(--color-bg), 0 0 0 6px var(--color-primary);
}
.y9a-step h3 { margin-top: 0; margin-bottom: 0.5rem; }
.y9a-step p { margin-bottom: 0; color: var(--color-text-muted); }

/* === TESTIMONIALS === */
.y9a-testimonial {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}
.y9a-testimonial:hover { transform: translateY(-3px); }
.y9a-testimonial::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--color-primary);
  opacity: 0.1;
  line-height: 1;
}
.y9a-testimonial-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  position: relative;
}
.y9a-testimonial-author { 
  display: flex; 
  align-items: center; 
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}
.y9a-testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: color-mix(in srgb, var(--color-primary) 12%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
}
.y9a-testimonial-name { font-weight: 600; font-size: 0.9rem; color: var(--color-heading); }
.y9a-testimonial-role { font-size: 0.8rem; color: var(--color-text-muted); }
.y9a-stars { color: #f59e0b; letter-spacing: 1px; font-size: 0.9rem; margin-bottom: 0.75rem; }

/* === STATS / COUNTERS === */
.y9a-stats-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 4rem;
  padding: 3rem 0;
}
.y9a-stat { text-align: center; min-width: 120px; }
.y9a-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}
.y9a-stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  font-weight: 500;
}

/* === CTA SECTION === */
.y9a-cta-block {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 2.5rem;
  border-radius: var(--radius-xl);
  text-align: center;
  margin: var(--spacing-section) 0;
  position: relative;
  overflow: hidden;
}
.y9a-cta-block::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}
.y9a-cta-block h2 { color: #fff; margin-top: 0; position: relative; }
.y9a-cta-block p { color: rgba(255,255,255,0.85); max-width: 500px; margin: 0 auto 2rem; position: relative; }

/* === ARTICLE CONTENT === */
.y9a-article-content {
  max-width: var(--content-width);
  margin: 0 auto;
}
.y9a-article-content h1 { margin-bottom: 1.5rem; }
.y9a-article-content h2 {
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-surface);
  margin-top: 3rem;
}
/* H2 icons */
/* h2-icon removed — emoji in headings = AI pattern */

/* Section dividers between major blocks */
.y9a-article-content .y9a-section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  margin: 2.5rem 0;
}

/* === ARTICLE PAGE LAYOUT === */
.article-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}
.article-hero .y9a-container {
  position: relative;
  z-index: 2;
}

.article-header {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.article-category-badge {
  background: var(--color-primary);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s;
}
.article-category-badge:hover {
  background: var(--color-primary-hover);
  color: #fff;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 3rem 0;
  padding: 1.5rem 0;
  border-top: 2px solid var(--color-surface);
  border-bottom: 2px solid var(--color-surface);
}
.article-nav a {
  flex: 1;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--color-text);
  transition: all 0.2s;
  display: block;
}
.article-nav a:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.article-nav a:last-child {
  text-align: right;
}

.article-related {
  margin: 3rem 0;
  padding: 2rem 0;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
}
.article-related h2 {
  text-align: center;
  margin-bottom: 2rem;
  border-bottom: none;
}

/* Author box improvements */
.y9a-author-box {
  margin: 3rem 0;
  padding: 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  display: flex;
  gap: 1rem;
  align-items: center;
}
.y9a-author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-primary) 12%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.y9a-author-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.y9a-author-name {
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.y9a-author-bio {
  color: var(--color-text);
  margin: 0;
  line-height: 1.6;
}

/* Regular H3 */
.y9a-article-content h3 {
  color: var(--color-heading);
  font-size: 1.1rem;
  padding-bottom: 0.5rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* === FAQ Accordion === */
.y9a-article-content .y9a-faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.y9a-article-content .y9a-faq-item[open] {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-color: var(--color-primary);
}
.y9a-article-content .y9a-faq-question {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-heading);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background 0.15s;
}
.y9a-article-content .y9a-faq-question:hover { background: rgba(0,0,0,0.02); }
.y9a-article-content .y9a-faq-question::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--color-primary);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.y9a-article-content .y9a-faq-item[open] .y9a-faq-question::after {
  content: '−';
}
.y9a-article-content .y9a-faq-question::-webkit-details-marker { display: none; }
.y9a-article-content .y9a-faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text);
}
.y9a-article-content .y9a-faq-answer p { margin-bottom: 0.5rem; }
/* --- Premium blockquotes / review cards --- */
.y9a-article-content blockquote {
  border: none;
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
  background: #fff;
  border-radius: var(--radius-lg);
  font-style: normal;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  border-left: 4px solid var(--color-primary);
}
.y9a-article-content blockquote::before {
  content: '★★★★★';
  display: block;
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}
.y9a-article-content blockquote::after {
  content: '\201C';
  position: absolute;
  top: 0.5rem;
  right: 1.25rem;
  font-size: 3.5rem;
  color: var(--color-primary);
  opacity: 0.08;
  font-family: Georgia, serif;
  line-height: 1;
}
.y9a-article-content blockquote p { margin-bottom: 0.5rem; font-size: 0.95rem; line-height: 1.7; color: var(--color-text); }
.y9a-article-content blockquote p:last-child {
  margin-bottom: 0;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--color-heading);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.y9a-article-content blockquote p:last-child::after {
  content: ' · Client vérifié';
  color: var(--color-primary);
  font-weight: 500;
  font-size: 0.75rem;
}
/* Callout boxes (> 💡 or > ⚠️) — NOT review cards */
.y9a-article-content blockquote:has(strong:first-child) {
  border-left: 4px solid var(--color-primary);
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb, 3,105,161), 0.05), rgba(var(--color-primary-rgb, 3,105,161), 0.01));
  box-shadow: none;
}
.y9a-article-content blockquote:has(strong:first-child)::before { display: none; }
.y9a-article-content blockquote:has(strong:first-child)::after { display: none; }
.y9a-article-content blockquote:has(strong:first-child) p:last-child::after { display: none; }
.y9a-article-content blockquote:has(strong:first-child) p:last-child { border-top: none; padding-top: 0; font-weight: 400; color: var(--color-text); }
/* --- Premium content tables --- */
.y9a-article-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  font-size: 0.9rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  background: #fff;
}
.y9a-article-content th, .y9a-article-content td {
  padding: 0.9rem 1.15rem;
  text-align: left;
}
.y9a-article-content th {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: none;
}
.y9a-article-content td {
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: background 0.15s;
}
.y9a-article-content tr:last-child td { border-bottom: none; }
.y9a-article-content tr:nth-child(even) td { background: rgba(0,0,0,0.015); }
.y9a-article-content tr:hover td { background: rgba(var(--color-primary-rgb, 3,105,161), 0.04); }
.y9a-article-content ul, .y9a-article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.y9a-article-content li {
  list-style: disc;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}
.y9a-article-content ol li { list-style: decimal; }

/* === FAQ === */
.y9a-faq { margin: 3rem 0; }
.y9a-faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 0;
}
.y9a-faq-item h3 {
  color: var(--color-heading);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

/* === SPLIT LAYOUT === */
.y9a-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.y9a-split-reverse { direction: rtl; }
.y9a-split-reverse > * { direction: ltr; }
.y9a-split-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.y9a-split-img img {
  width: 100%;
  height: auto;
  display: block;
}
.y9a-split-img-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--color-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

/* === GALLERY === */
.y9a-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
.y9a-gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.y9a-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.y9a-gallery-item:hover img { transform: scale(1.05); }
.y9a-gallery-item:first-child {
  grid-row: 1 / 3;
  min-height: 300px;
}
.y9a-gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .y9a-split { grid-template-columns: 1fr; gap: 2rem; }
  .y9a-split-reverse { direction: ltr; }
  .y9a-gallery-grid { grid-template-columns: 1fr 1fr; }
  .y9a-gallery-item:first-child { grid-row: auto; }
}

/* === CONTENT + SIDEBAR LAYOUT === */
.y9a-layout-sidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}
.y9a-sidebar {
  position: sticky;
  top: 5rem;
}
.y9a-sidebar-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
}
.y9a-sidebar-card h4 {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-primary);
}
.y9a-sidebar-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
.y9a-sidebar-cta h4 { color: #fff; border-bottom-color: rgba(255,255,255,0.3); }
.y9a-sidebar-cta p { color: rgba(255,255,255,0.9); font-size: 0.9rem; margin: 0.75rem 0 1.25rem; }
.y9a-sidebar-cta .y9a-btn { background: #fff; color: var(--color-primary); font-weight: 700; width: 100%; justify-content: center; }
.y9a-sidebar-cta .y9a-btn:hover { background: rgba(255,255,255,0.9); }

.y9a-sidebar-expert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}
.y9a-sidebar-expert:last-child { border-bottom: none; padding-bottom: 0; }
.y9a-sidebar-expert-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-primary) 12%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
}
.y9a-sidebar-expert-name { font-weight: 600; font-size: 0.9rem; }
.y9a-sidebar-expert-role { font-size: 0.8rem; color: var(--color-text-muted); }

/* City grid */
.y9a-city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}
.y9a-city-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: var(--color-heading);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}
.y9a-city-card:hover {
  border-color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 5%, transparent);
  text-decoration: none;
  transform: translateY(-1px);
}
.y9a-city-card::before {
  content: '📍';
  font-size: 0.85rem;
}

/* Tarif table clean */
/* --- Premium Tables --- */
.y9a-tarif-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 2rem 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  background: #fff;
}
.y9a-tarif-table th {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  color: #fff;
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.y9a-tarif-table th:first-child { border-radius: var(--radius-lg) 0 0 0; }
.y9a-tarif-table th:last-child { border-radius: 0 var(--radius-lg) 0 0; }
.y9a-tarif-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  font-size: 0.9rem;
}
.y9a-tarif-table tr:last-child td { border-bottom: none; }
.y9a-tarif-table tr:nth-child(even) td { background: rgba(0,0,0,0.015); }
.y9a-tarif-table tr:hover td { background: rgba(var(--color-primary-rgb, 3,105,161), 0.04); transition: background 0.15s; }

@media (max-width: 1024px) {
  .y9a-layout-sidebar { grid-template-columns: 1fr; }
  .y9a-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
}
@media (max-width: 768px) {
  .y9a-sidebar { grid-template-columns: 1fr; }
  .y9a-city-grid { grid-template-columns: 1fr 1fr; }
}

/* === INTERACTIVE PRICE CHART (Premium) === */
.y9a-price-chart {
  margin: 2.5rem 0;
  padding: 2rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.y9a-price-chart h2 { font-size: 1.35rem; margin-bottom: 0.25rem; }
.y9a-chart-row {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1.25rem;
}
.y9a-chart-label {
  min-width: 160px;
  font-size: 0.85rem;
  color: var(--color-heading);
  font-weight: 600;
  text-align: right;
  line-height: 1.3;
}
.y9a-chart-bar {
  flex: 1;
  background: linear-gradient(90deg, rgba(0,0,0,0.03), rgba(0,0,0,0.06));
  border-radius: 12px;
  height: 40px;
  overflow: visible;
  position: relative;
}
.y9a-chart-bar-fill {
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  border-radius: 12px;
  width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 1rem;
  box-shadow: 0 2px 8px rgba(var(--color-primary-rgb, 3,105,161), 0.25);
  position: relative;
}
.y9a-chart-bar-fill::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 8px;
  right: 8px;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.2), transparent);
  border-radius: 8px;
}
.y9a-chart-price {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .y9a-price-chart { padding: 1.5rem 1.25rem; }
  .y9a-chart-row { flex-direction: column; align-items: stretch; gap: 0.35rem; margin-bottom: 1.25rem; }
  .y9a-chart-label { text-align: left; min-width: auto; font-size: 0.8rem; }
  .y9a-chart-bar { height: 36px; }
}

/* === CTA INLINE (mid-content) === */
.y9a-cta-inline {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb, 3,105,161), 0.04), rgba(var(--color-primary-rgb, 3,105,161), 0.02));
  border: 1px solid rgba(var(--color-primary-rgb, 3,105,161), 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.y9a-cta-inline-icon { font-size: 1.75rem; flex-shrink: 0; }
.y9a-cta-inline-title { font-size: 1rem; font-weight: 700; color: var(--color-heading); margin-bottom: 0.15rem; }
.y9a-cta-inline-desc { font-size: 0.8rem; color: var(--color-text-muted); margin: 0; }
.y9a-cta-inline .y9a-btn { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 768px) {
  .y9a-cta-inline { flex-direction: column; text-align: center; gap: 0.75rem; padding: 1.5rem; }
  .y9a-cta-inline .y9a-btn { width: 100%; }
}

/* === CONTACT LAYOUT === */
.y9a-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) {
  .y9a-contact-layout { grid-template-columns: 1fr; gap: 2rem; }
}

/* === FORMS === */
.y9a-form-group { margin-bottom: 1.25rem; }
.y9a-form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-heading);
  margin-bottom: 0.4rem;
}
.y9a-form-input, .y9a-form-textarea, .y9a-form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.y9a-form-input:focus, .y9a-form-textarea:focus, .y9a-form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 15%, transparent);
}
.y9a-form-textarea { min-height: 140px; resize: vertical; }
.y9a-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Contact info cards */
.y9a-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.y9a-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
}
.y9a-contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--color-primary) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}
.y9a-contact-item h4 { font-size: 0.9rem; margin-bottom: 0.25rem; }
.y9a-contact-item p { font-size: 0.85rem; color: var(--color-text-muted); margin: 0; }

@media (max-width: 768px) {
  .y9a-form-row { grid-template-columns: 1fr; }
}

/* === BLOG === */
.y9a-blog-hero {
  padding: 3rem 0 2rem;
  background: var(--color-surface);
}
.y9a-blog-hero h1 { margin-bottom: 0.25rem; }
.y9a-blog-hero p { color: var(--color-text-muted); }
.y9a-blog-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.y9a-blog-filter {
  padding: 0.5rem 1.15rem;
  border-radius: 100px;
  border: 1.5px solid var(--color-border);
  background: var(--color-bg);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.y9a-blog-filter:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  text-decoration: none;
}
.y9a-blog-filter.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.y9a-blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  align-items: center;
}
.y9a-blog-featured-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
}
.y9a-blog-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.y9a-blog-featured-content .y9a-hero-eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
}
.y9a-blog-featured-content h2 { margin-top: 0; font-size: 1.5rem; }
.y9a-blog-featured-content h2 a { color: var(--color-heading); text-decoration: none; }
.y9a-blog-featured-content h2 a:hover { color: var(--color-primary); }
.y9a-blog-featured-content p { color: var(--color-text-muted); font-size: 0.95rem; }

.y9a-blog-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--color-bg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.y9a-blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.y9a-blog-card-img {
  height: 180px;
  overflow: hidden;
  background: var(--color-surface);
}
.y9a-blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.y9a-blog-card:hover .y9a-blog-card-img img { transform: scale(1.05); }
.y9a-blog-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.y9a-blog-card-cat {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.y9a-blog-card-body h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0 0 0.5rem;
}
.y9a-blog-card-body h3 a { color: var(--color-heading); text-decoration: none; }
.y9a-blog-card-body h3 a:hover { color: var(--color-primary); }
.y9a-blog-card-meta {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.blog-card-count {
  text-align: center;
  padding: 2rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .y9a-blog-featured { grid-template-columns: 1fr; }
  .y9a-blog-featured-img { height: 200px; }
}

/* === BREADCRUMB === */
.y9a-breadcrumb {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}
.y9a-breadcrumb a { color: var(--color-text-muted); }
.y9a-breadcrumb a:hover { color: var(--color-primary); }
.y9a-breadcrumb span { margin: 0 0.5rem; }

/* CTA Dark section */
.cta-dark {
  background: #0f172a;
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.cta-dark h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}
.cta-dark p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cta-phone {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.cta-phone:hover { color: #fff; }

/* === FOOTER === */
.y9a-site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 3rem 0 0;
  margin-top: 0;
}
.y9a-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.y9a-site-footer h4 {
  color: var(--color-footer-heading);
  margin-bottom: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.y9a-site-footer p { font-size: 0.85rem; color: var(--color-footer-text); line-height: 1.6; }
.y9a-site-footer a { color: var(--color-footer-text); font-size: 0.85rem; text-decoration: none; transition: color 0.2s; }
.y9a-site-footer a:hover { color: #fff; }
.y9a-site-footer li { margin-bottom: 0.4rem; }
.y9a-site-footer ul { list-style: none; padding: 0; margin: 0; }
.footer-brand {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}
.footer-tel {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.y9a-footer-bottom {
  text-align: center;
  padding: 1.25rem 0;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}
.y9a-footer-bottom p { margin: 0; color: inherit; }

/* === MOBILE MENU === */
.y9a-mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.3s;
}
.y9a-mobile-nav.open { display: block; opacity: 1; }
.y9a-mobile-nav-inner {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--color-bg);
  padding: 5rem 2rem 2rem;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.y9a-mobile-nav.open .y9a-mobile-nav-inner { transform: translateX(0); }
.y9a-mobile-nav a {
  display: block;
  padding: 0.875rem 0;
  font-size: 1.05rem;
  color: var(--color-heading);
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
}
.y9a-mobile-nav a:last-child { border-bottom: none; }
.y9a-mobile-nav-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-muted);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === SECTION SPACING RHYTHM === */
.y9a-section { padding: var(--spacing-section) 0; }
.y9a-section-tight { padding: calc(var(--spacing-section) * 0.6) 0; }
.y9a-section-loose { padding: calc(var(--spacing-section) * 1.3) 0; }
.y9a-section-alt { background: var(--color-surface); }

/* === SECTION HEADERS === */
.y9a-section-header { text-align: center; margin-bottom: 3rem; }
.y9a-section-header h2 { margin-bottom: 0.5rem; margin-top: 0; }
.y9a-section-header p { color: var(--color-text-muted); max-width: 500px; margin: 0 auto; }

/* === EXPERT / PERSONA === */
.y9a-expert-section {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: start;
}
.y9a-expert-photo {
  width: 200px;
  height: 240px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 15%, transparent), color-mix(in srgb, var(--color-primary) 5%, transparent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--color-primary);
  position: relative;
  overflow: hidden;
}
.y9a-expert-photo img { width: 100%; height: 100%; object-fit: cover; }
.y9a-expert-badge {
  position: absolute;
  bottom: -8px;
  right: -8px;
  background: var(--color-primary);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}
.y9a-expert-content h2 { margin-top: 0; }
.y9a-expert-content p { color: var(--color-text-muted); }
.y9a-expert-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}
.y9a-expert-stat-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}
.y9a-expert-stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.2rem;
}
.y9a-expert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.y9a-expert-tag {
  padding: 0.3rem 0.75rem;
  background: var(--color-surface);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* === PRESS / VU DANS === */
.y9a-press-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
}
.y9a-press-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  font-weight: 600;
}
.y9a-press-logo {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-muted);
  opacity: 0.5;
  transition: opacity 0.2s;
}
.y9a-press-logo:hover { opacity: 0.8; }

/* === AUTHOR BOX === */
.y9a-author-box {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  margin: 2.5rem 0;
}
.y9a-author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 20%, transparent), color-mix(in srgb, var(--color-primary) 8%, transparent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
}
.y9a-author-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.y9a-author-name { font-weight: 600; font-size: 0.95rem; color: var(--color-heading); }
.y9a-author-bio { font-size: 0.85rem; color: var(--color-text-muted); margin: 0.25rem 0 0; }

@media (max-width: 768px) {
  .y9a-expert-section { grid-template-columns: 1fr; }
  .y9a-expert-photo { width: 120px; height: 150px; font-size: 3rem; margin: 0 auto; }
  .y9a-expert-stats { flex-wrap: wrap; gap: 1.25rem; }
}

/* === DEVIS ESTIMATOR (Premium) === */
.y9a-estimator {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  overflow: hidden;
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid rgba(0,0,0,0.04);
}
.y9a-estimator-header {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  color: #fff;
  padding: 2rem 2rem 1.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.y9a-estimator-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.y9a-estimator-header::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.y9a-estimator-header h3 { color: #fff; margin: 0 0 0.35rem; font-size: 1.3rem; position: relative; z-index: 1; }
.y9a-estimator-header p { color: rgba(255,255,255,0.85); margin: 0; font-size: 0.9rem; position: relative; z-index: 1; }
.y9a-estimator-progress {
  display: flex;
  gap: 4px;
  padding: 0 2rem;
  margin-top: 1rem;
}
.y9a-estimator-progress-bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.2);
  transition: background 0.3s;
}
.y9a-estimator-progress-bar.active { background: rgba(255,255,255,0.9); }
.y9a-estimator-body { padding: 2rem; }
.y9a-estimator-step { display: none; }
.y9a-estimator-step.active { display: block; }
.y9a-estimator-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 1.25rem;
}
.y9a-estimator-options { display: flex; flex-direction: column; gap: 0.5rem; }
.y9a-estimator-option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
  font-weight: 500;
  background: var(--color-bg);
}
.y9a-estimator-option:hover {
  border-color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 4%, transparent);
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(var(--color-primary-rgb, 3,105,161), 0.1);
}
.y9a-estimator-option.selected {
  border-color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 8%, transparent);
  box-shadow: 0 2px 12px rgba(var(--color-primary-rgb, 3,105,161), 0.15);
}
.y9a-estimator-option-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.y9a-estimator-result {
  text-align: center;
  padding: 1.5rem 0;
  position: relative;
}
.y9a-estimator-result::before {
  content: '';
  display: block;
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  box-shadow: 0 4px 16px rgba(var(--color-primary-rgb, 3,105,161), 0.25);
  opacity: 0.12;
}
.y9a-estimator-price {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0.5rem 0;
  letter-spacing: -0.02em;
}
.y9a-estimator-price-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
.y9a-estimator-disclaimer {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  line-height: 1.5;
}
.estimator-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  gap: 1rem;
}
.estimator-nav .y9a-btn { flex: 1; justify-content: center; }

/* === ANIMATED COUNTERS === */
@keyframes count-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === FLOATING ELEMENTS === */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.y9a-float-subtle { animation: float 6s ease-in-out infinite; }
.float-subtle-delay { animation: float 6s ease-in-out 2s infinite; }

/* === GRADIENT TEXT === */
.y9a-text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === PREMIUM ELEMENTS === */
/* Gradient divider */
.y9a-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  margin: 0;
  border: none;
}

/* Floating badge */
.y9a-badge-float {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  background: var(--color-bg);
  border-radius: 100px;
  box-shadow: var(--shadow-md);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-heading);
}
.y9a-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Animated counter (JS handles the counting) */
.y9a-counter-animate {
  font-variant-numeric: tabular-nums;
}

/* Highlight card with top accent */
.y9a-card-accent {
  border-top: 3px solid var(--color-primary);
}

/* Service card with icon area */
.y9a-service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 12%, transparent), color-mix(in srgb, var(--color-primary) 6%, transparent));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-primary);
}

/* Testimonial grid with featured */
.y9a-testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.y9a-testimonial-grid .y9a-testimonial:first-child {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Scroll reveal animation */
.y9a-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.y9a-reveal.y9a-visible { opacity: 1; transform: translateY(0); }

/* Stats with separator */
.y9a-stat + .y9a-stat {
  position: relative;
}
.y9a-stat + .y9a-stat::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--color-border);
}

/* Premium button hover glow */
.y9a-btn-primary:hover {
  box-shadow: 0 4px 20px color-mix(in srgb, var(--color-primary) 35%, transparent);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .y9a-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .y9a-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  /* Grids → 1 col */
  .y9a-grid-2, .y9a-grid-3, .y9a-grid-4 { grid-template-columns: 1fr; }
  .y9a-grid-auto { grid-template-columns: 1fr; }
  .y9a-footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Blog grid → 1 col on mobile */
  .y9a-blog-grid { grid-template-columns: 1fr !important; gap: 1.5rem; }
  .y9a-blog-card { flex-direction: column; }
  .y9a-blog-card-img { height: 200px; width: 100%; }
  .y9a-blog-featured { grid-template-columns: 1fr; }
  .y9a-blog-featured-img { height: 220px; }
  .y9a-blog-filters { overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 0.5rem; padding-bottom: 0.5rem; flex-wrap: nowrap; }
  .y9a-blog-filter-btn { white-space: nowrap; min-height: 44px; padding: 0.5rem 1rem; font-size: 0.85rem; }

  /* Nav */
  .y9a-site-nav { display: none; }
  .y9a-mobile-toggle { display: block; min-width: 44px; min-height: 44px; }

  /* Hero */
  .y9a-hero { padding: 3rem 0 2.5rem; min-height: 50vh; }
  .y9a-hero-content { max-width: 100%; }
  .y9a-hero-desc { max-width: 100%; font-size: 1rem; line-height: 1.6; }
  .y9a-hero h1 { font-size: 1.65rem; line-height: 1.25; }
  .y9a-badge-float { font-size: 0.75rem; padding: 0.35rem 0.75rem; }

  /* Stats */
  .y9a-stats-bar { gap: 1rem; justify-content: space-around; }
  .y9a-stat-number { font-size: 1.5rem; }
  .y9a-stat { min-width: 70px; }
  .y9a-stat-label { font-size: 0.75rem; }
  .y9a-stat + .y9a-stat::before { display: none; }

  /* Trust */
  .y9a-trust-bar { gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
  .y9a-trust-item { font-size: 0.8rem; padding: 0.5rem 0.75rem; min-height: 36px; }

  /* Steps */
  .y9a-step { padding-left: 3.5rem; margin-left: 1.25rem; }
  .y9a-step::before { width: 2.25rem; height: 2.25rem; font-size: 0.9rem; left: -1.25rem; }

  /* Testimonials */
  .y9a-testimonial { padding: 1.5rem; }
  .y9a-testimonial-grid { grid-template-columns: 1fr; }
  .y9a-testimonial-grid .y9a-testimonial:first-child { grid-row: auto; }

  /* Expert */
  .y9a-expert-section { flex-direction: column; text-align: center; }
  .y9a-expert-photo { width: 120px; height: 120px; margin: 0 auto 1rem; }

  /* Sections */
  .y9a-section { padding: 3rem 0; }
  .y9a-section-header { margin-bottom: 2rem; }
  .y9a-section-header h2 { font-size: 1.5rem; }

  /* Press */
  .y9a-press-bar { gap: 1rem; flex-wrap: wrap; }
  .y9a-press-logo { font-size: 0.85rem; }

  /* Estimator */
  .y9a-estimator { margin: 0; border-radius: var(--radius); }
  .y9a-estimator-body { padding: 1.25rem; }
  .y9a-estimator-option { padding: 0.85rem 1rem; font-size: 0.95rem; min-height: 48px; }
  .y9a-estimator-options { gap: 0.75rem; }
  .y9a-estimator-price { font-size: 2rem; }

  /* CTA */
  .y9a-cta-block { padding: 2.5rem 1.25rem; }
  .y9a-cta-block h2 { font-size: 1.35rem; }

  /* Typography */
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.15rem; }

  /* Contact */
  .y9a-contact-info { gap: 1rem; }

  /* Cards */
  .y9a-card { padding: 1.5rem; }

  /* Buttons — touch target */
  .y9a-btn { min-height: 44px; padding: 0.75rem 1.5rem; font-size: 0.95rem; }

  /* Pillar sidebar → stack below */
  .y9a-layout-sidebar { grid-template-columns: 1fr; }
  .y9a-sidebar { position: static; }

  /* City grid */
  .y9a-city-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .y9a-city-card { padding: 0.75rem; font-size: 0.85rem; min-height: 44px; }

  /* Tarif table */
  .y9a-tarif-table { font-size: 0.85rem; }
  .y9a-tarif-table td, .y9a-tarif-table th { padding: 0.6rem 0.5rem; }

  /* Gallery */
  .y9a-gallery-grid { grid-template-columns: 1fr; }
  .y9a-gallery-item:first-child { grid-row: auto; }

  /* Article */
  .y9a-article-content { font-size: 1rem; line-height: 1.75; }
  .y9a-article-content blockquote { padding: 1rem 1.25rem; margin: 1.5rem 0; }
  
  /* Article page responsive */
  .article-hero { min-height: 280px; padding: 3rem 0 2rem; }
  .article-header { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .article-nav { flex-direction: column; gap: 1rem; }
  .article-nav a { text-align: left; }
  .article-nav a:last-child { text-align: left; }
  .article-related .y9a-grid-3 { grid-template-columns: 1fr; }
  .y9a-author-box { flex-direction: column; text-align: center; gap: 1rem; }

  /* Footer */
  .y9a-site-footer { padding: 2.5rem 0 1.5rem; }
  .y9a-footer-bottom { font-size: 0.8rem; flex-wrap: wrap; gap: 0.5rem; justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .y9a-container { padding: 0 1.25rem; }
  .y9a-header-inner { padding: 0 1rem; height: 56px; }
  .y9a-hero { padding: 2.5rem 0 2rem; }
  .y9a-hero h1 { font-size: 1.4rem; }
  .y9a-section { padding: 2.5rem 0; }
  .y9a-grid-3, .y9a-grid-2 { grid-template-columns: 1fr; }
  .y9a-stats-bar { flex-direction: column; align-items: center; gap: 1.25rem; }
  .y9a-stat { min-width: auto; }
  .y9a-trust-item { font-size: 0.75rem; }
  .y9a-city-grid { grid-template-columns: 1fr; }
  .y9a-cta-block { padding: 2rem 1rem; border-radius: var(--radius); }
  .y9a-cta-block h2 { font-size: 1.2rem; }
  .y9a-card { padding: 1.25rem; }
  .y9a-btn { width: 100%; text-align: center; }
  .y9a-split { gap: 2rem; }
  .y9a-estimator-option-icon { font-size: 1.25rem; }
  .y9a-blog-card-img { height: 180px; }
  .y9a-tarif-table { display: block; overflow-x: auto; }
}

/* === TEMPLATE VARIANTS CSS === */

/* Hero Split Image */
.y9a-hero.y9a-split .y9a-split {
  align-items: center;
  gap: 3rem;
}

.y9a-hero.y9a-split .y9a-hero-content {
  flex: 1;
}

.y9a-hero.y9a-split .y9a-split-img {
  flex: 1;
  position: relative;
}

/* Service Cards - Horizontal Layout */
.service-card-horizontal .y9a-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  text-align: left;
}

.service-card-horizontal .y9a-service-icon,
.service-card-horizontal img {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
}

.service-card-horizontal .card-content {
  flex: 1;
}

/* Testimonials - Grid 3 Layout */
.testimonials-grid-3 .y9a-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonials-grid-3 .y9a-testimonial {
  background: var(--color-bg);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
}

/* Testimonials - Featured Single Layout */
.testimonials-featured .featured-testimonial {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-featured .featured-testimonial .y9a-testimonial {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--color-surface);
}

.testimonials-featured .secondary-testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* Steps - Timeline Layout */
.y9a-steps.timeline {
  position: relative;
  padding-left: 2rem;
}

.y9a-steps.timeline::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-primary);
}

.y9a-steps.timeline .y9a-step {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 2rem;
}

.y9a-steps.timeline .y9a-step::before {
  content: attr(data-number);
  position: absolute;
  left: -2.5rem;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.y9a-steps.timeline .step-number {
  position: absolute;
  left: -2.5rem;
  top: 0.25rem;
  width: 2rem;
  height: 2rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Stats - Cards Layout */
.stats-cards .y9a-grid-4 .y9a-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.stats-cards .y9a-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stats-cards .y9a-stat-label {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Stats - Big Numbers Layout */
.stats-big-numbers {
  text-align: center;
}

.stats-big-numbers .y9a-grid-4 div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stats-big-numbers .y9a-stat-number {
  font-size: 4rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Split Reverse */
.y9a-split-reverse {
  flex-direction: row-reverse;
}

/* Responsive adjustments for variants */
@media (max-width: 768px) {
  .y9a-hero.y9a-split .y9a-split {
    flex-direction: column;
    gap: 2rem;
  }
  
  .service-card-horizontal .y9a-card {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonials-grid-3 .y9a-testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-featured .secondary-testimonials {
    grid-template-columns: 1fr;
  }
  
  .y9a-steps.timeline {
    padding-left: 1rem;
  }
  
  .y9a-steps.timeline .y9a-step {
    padding-left: 1.5rem;
  }
  
  .stats-big-numbers .y9a-stat-number {
    font-size: 3rem;
  }
  
  .y9a-split-reverse {
    flex-direction: column;
  }
}

