/* ============================================================
   SOLAIRE HAGUENAU — Design System
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Sora:wght@700;800&display=swap');

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  /* Colors */
  --primary:        #0077B6;
  --primary-dark:   #005f92;
  --primary-light:  #e0f3fb;
  --secondary:      #90E0EF;
  --accent:         #00B4D8;
  --dark:           #0F172A;
  --dark-2:         #1E293B;
  --text:           #334155;
  --text-light:     #64748B;
  --border:         #E2E8F0;
  --light:          #F8FAFC;
  --light-2:        #F1F5F9;
  --success:        #059669;
  --success-light:  #d1fae5;
  --warning:        #F59E0B;
  --white:          #FFFFFF;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow:     0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-md:  0 10px 32px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg:  0 20px 48px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.07);
  --shadow-primary: 0 8px 24px rgba(0,119,182,0.3);

  /* Radius */
  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 2.5rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --space-10: 5rem;
  --space-12: 6rem;

  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.75;
  background: var(--white);
  overflow-x: hidden;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: 'Sora', 'Inter', sans-serif;
  color: var(--dark);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin-bottom: var(--space-3); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: var(--space-3); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); margin-bottom: var(--space-2); }
h4 { font-size: 1.1rem; margin-bottom: var(--space-1); }

p { margin-bottom: var(--space-2); color: var(--text); line-height: 1.8; }
p:last-child { margin-bottom: 0; }

a { text-decoration: none; color: var(--primary); transition: var(--transition); }
a:hover { color: var(--primary-dark); }

strong { font-weight: 700; color: var(--dark); }

/* ============================================================
   Utility Classes
   ============================================================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-light { color: var(--text-light); }
.text-success { color: var(--success); }

.mb-1 { margin-bottom: var(--space-2) !important; }
.mb-2 { margin-bottom: var(--space-4) !important; }
.mb-3 { margin-bottom: var(--space-6) !important; }
.mb-4 { margin-bottom: var(--space-8) !important; }
.mt-1 { margin-top: var(--space-2) !important; }
.mt-2 { margin-top: var(--space-4) !important; }
.mt-3 { margin-top: var(--space-6) !important; }

.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* ============================================================
   Layout
   ============================================================ */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.container-sm {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

section { padding: var(--space-12) 0; }
section.section-sm { padding: var(--space-8) 0; }

.bg-light   { background: var(--light); }
.bg-light-2 { background: var(--light-2); }
.bg-primary { background: var(--primary); }
.bg-dark    { background: var(--dark); }

/* Dividers */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-6) 0;
}

/* Grid */
.grid { display: grid; gap: var(--space-4); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* Flex */
.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.flex-gap    { display: flex; align-items: center; gap: var(--space-2); }
.flex-wrap   { flex-wrap: wrap; }

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.875rem 0;
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.logo-icon svg { width: 20px; height: 20px; }
.logo strong { color: var(--primary); }

/* Desktop Nav */
.desktop-nav ul {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}

.desktop-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.desktop-nav a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

/* Nav CTA */
.nav-cta {
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: white;
  z-index: 999;
  flex-direction: column;
  padding: var(--space-4);
  overflow-y: auto;
}

.mobile-menu.open { display: flex; }

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
}

.mobile-menu ul { list-style: none; }
.mobile-menu li { border-bottom: 1px solid var(--border); }
.mobile-menu a {
  display: block;
  padding: var(--space-3) 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.625rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
  letter-spacing: 0.01em;
  white-space: nowrap;
  line-height: 1;
}

.btn svg, .btn i { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,119,182,0.4);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: white;
  border-color: rgba(255,255,255,0.4);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.25);
  color: white;
  transform: translateY(-2px);
}

.btn-success {
  background: var(--success);
  color: white;
  border-color: var(--success);
}

.btn-full  { width: 100%; }
.btn-large { padding: 1.1rem 2.5rem; font-size: 1.05rem; }
.btn-sm    { padding: 0.5rem 1.25rem; font-size: 0.825rem; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background: var(--dark) url('https://images.pexels.com/photos/29206488/pexels-photo-29206488.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=900&w=1600') center/cover no-repeat;
  padding: var(--space-12) 0;
  color: white;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,30,60,0.92) 0%, rgba(0,119,182,0.6) 100%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%;
  height: 80px;
  background: white;
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: var(--space-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  color: white;
  margin-bottom: var(--space-3);
  text-shadow: 0 2px 16px rgba(0,0,0,0.2);
}

.hero h1 span {
  color: var(--secondary);
}

.hero p {
  font-size: 1.15rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-5);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}

.hero-trust {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-3);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  font-weight: 600;
}

.trust-item svg { width: 16px; height: 16px; color: var(--secondary); }

/* ============================================================
   Section Headers
   ============================================================ */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-8);
}

.section-header .section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-2);
}

.section-header h2 { margin-bottom: var(--space-2); }
.section-header p   { color: var(--text-light); font-size: 1.05rem; margin: 0; }

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: var(--transition);
  position: relative;
}

.card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: var(--space-3);
  flex-shrink: 0;
}

.card-icon svg { width: 24px; height: 24px; }

.card h3 { font-size: 1.15rem; margin-bottom: var(--space-1); }
.card p   { color: var(--text-light); font-size: 0.95rem; margin: 0; }

/* Stats Card */
.stat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.stat-card .stat-number {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-card .stat-label {
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Avantage list dans les cards */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
}

.feature-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--success-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* ============================================================
   Split Layout (Z-pattern)
   ============================================================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
}

.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-xl);
}

.split-image-badge {
  position: absolute;
  bottom: var(--space-3);
  left: var(--space-3);
  background: white;
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.split-image-badge .badge-dot {
  width: 10px;
  height: 10px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-green 1.5s infinite;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(5,150,105,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(5,150,105,0); }
}

.split-content .section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-2);
}

/* ============================================================
   Simulator
   ============================================================ */
.simulator-box {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.simulator-header {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: var(--space-4) var(--space-5);
  text-align: center;
}

.simulator-header h3 {
  color: white;
  font-size: 1.15rem;
  margin: 0;
}

.simulator-header p {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  margin: 0.4rem 0 0;
}

.simulator-body { padding: var(--space-5); }

.sim-form-group { margin-bottom: var(--space-3); }

.sim-form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.sim-form-group input,
.sim-form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  transition: var(--transition);
  background: var(--light);
}

.sim-form-group input:focus,
.sim-form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(0,119,182,0.12);
}

#simResult {
  margin-top: var(--space-3);
  padding: var(--space-3);
  background: var(--success-light);
  border-radius: var(--radius);
  border-left: 4px solid var(--success);
  display: none;
  animation: fadeInUp 0.4s ease;
}

#simResult .result-title {
  font-weight: 700;
  color: var(--success);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

#simResult .result-item {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(5,150,105,0.15);
  font-size: 0.9rem;
}

#simResult .result-item:last-child { border: none; }
#simResult .result-value { font-weight: 700; color: var(--dark); }

/* ============================================================
   Aides / Badges
   ============================================================ */
.aide-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-2);
  transition: var(--transition);
}

.aide-badge:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.aide-badge .aide-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.aide-badge .aide-icon svg { width: 20px; height: 20px; }

.aide-badge h4 { font-size: 0.95rem; margin-bottom: 0.2rem; color: var(--dark); }
.aide-badge p  { font-size: 0.82rem; color: var(--text-light); margin: 0; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: var(--space-2); }

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) var(--space-4);
  cursor: pointer;
  user-select: none;
}

.faq-question h3 {
  font-size: 1rem;
  margin: 0;
  color: var(--dark);
  font-weight: 700;
  padding-right: var(--space-2);
}

.faq-icon {
  width: 28px;
  height: 28px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-icon svg { width: 14px; height: 14px; }

.faq-item.open .faq-icon {
  background: var(--primary);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer p {
  padding: 0 var(--space-4) var(--space-3);
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
}

/* ============================================================
   Reviews
   ============================================================ */
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }

.review-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: var(--transition);
  position: relative;
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.review-card::before {
  content: '"';
  position: absolute;
  top: var(--space-3);
  right: var(--space-4);
  font-size: 4rem;
  font-family: 'Sora', serif;
  color: var(--primary-light);
  line-height: 1;
  font-weight: 900;
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-2);
}

.review-stars svg {
  width: 16px;
  height: 16px;
  color: var(--warning);
  fill: var(--warning);
}

.review-text {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: var(--space-3);
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.review-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--dark);
}

.review-info span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ============================================================
   Cities / Silo Links
   ============================================================ */
.cities-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.cities-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: white;
  border: 1px solid var(--border);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}

.cities-list a:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.cities-list svg { width: 12px; height: 12px; }

/* Nearby cities silo */
.silo-links {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.silo-links h3 {
  font-size: 1rem;
  margin-bottom: var(--space-3);
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ============================================================
   Iframe Devis
   ============================================================ */
.iframe-section {
  padding: var(--space-12) 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  position: relative;
  overflow: hidden;
}

.iframe-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 400px; height: 400px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.06;
}

.iframe-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.05;
}

.iframe-section .container { position: relative; z-index: 2; }

.iframe-section h2 {
  color: white;
  text-align: center;
  margin-bottom: var(--space-2);
}

.iframe-section > .container > p {
  color: rgba(255,255,255,0.7);
  text-align: center;
  font-size: 1.05rem;
  margin-bottom: var(--space-5);
}

.iframe-wrapper {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   Process Steps
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 0;
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto var(--space-3);
  box-shadow: var(--shadow-primary);
}

.step-item h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.step-item p  { font-size: 0.875rem; color: var(--text-light); margin: 0; }

/* ============================================================
   Images
   ============================================================ */
.service-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
}

.img-rounded {
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: block;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
}

.footer-top {
  padding: var(--space-12) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-8);
}

.footer-col h4 {
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.footer-col .logo { margin-bottom: var(--space-3); }
.footer-col .logo strong { color: white; }
.footer-logo-text {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a  { color: rgba(255,255,255,0.6); font-size: 0.9rem; font-weight: 500; transition: var(--transition); }
.footer-col a:hover { color: white; padding-left: 4px; }

.footer-certifs {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.certif-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.875rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom {
  padding: var(--space-3) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 0.825rem;
  margin: 0;
}

/* ============================================================
   Sticky Mobile CTA
   ============================================================ */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: white;
  border-top: 1px solid var(--border);
  padding: 0.875rem var(--space-3);
  z-index: 998;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
}

/* ============================================================
   Exit Popup
   ============================================================ */
.exit-popup {
  position: fixed;
  inset: 0;
  background: rgba(10,20,40,0.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: var(--space-4);
}

.exit-popup.active { opacity: 1; visibility: visible; }

.exit-popup-content {
  background: white;
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.exit-popup-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin: 0 auto var(--space-3);
}

.exit-popup-icon svg { width: 28px; height: 28px; }
.exit-popup-content h2 { font-size: 1.5rem; margin-bottom: var(--space-2); }
.exit-popup-content p  { color: var(--text-light); margin-bottom: var(--space-4); }

.exit-popup-close {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  background: var(--light);
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: var(--transition);
}

.exit-popup-close:hover { background: var(--border); color: var(--dark); }
.exit-popup-close svg { width: 16px; height: 16px; }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.35s; }

/* ============================================================
   Animations
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,119,182,0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(0,119,182,0); }
}

.pulse-anim { animation: pulse 2.5s infinite; }

/* ============================================================
   Page Hero (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  padding: var(--space-10) 0;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 60px;
  background: white;
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: white; }
.page-hero p   { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: rgba(255,255,255,0.4); }
.breadcrumb strong { color: white; }

/* ============================================================
   Notification Banner
   ============================================================ */
.notif-banner {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: white;
  text-align: center;
  padding: 0.625rem var(--space-4);
  font-size: 0.875rem;
  font-weight: 600;
}

.notif-banner a { color: white; text-decoration: underline; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
}

@media (max-width: 768px) {
  /* Nav */
  .desktop-nav { display: none; }
  .nav-cta     { display: none; }
  .hamburger   { display: flex; }

  /* Typography */
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }

  /* Sections */
  section { padding: var(--space-8) 0; }
  .page-hero { padding: var(--space-8) 0; }
  .hero { padding: var(--space-8) 0; min-height: auto; }

  /* Layouts */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split-section  { grid-template-columns: 1fr; gap: var(--space-4); }
  .split-section.reverse { direction: ltr; }
  .split-image img { height: 260px; }

  /* Hero */
  .hero::after { height: 50px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-trust { gap: var(--space-2); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; }

  /* Simulator in hero */
  .simulator-box { margin-top: var(--space-4); }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr 1fr; }

  /* Sticky CTA */
  .mobile-sticky-cta { display: block; }
  body { padding-bottom: 80px; }

  /* Section header */
  .section-header { margin-bottom: var(--space-5); }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-3); }
  .hero h1 { font-size: 1.65rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}