/* ============================================
   MON CHER WATTSUN — styles.css
   Design moderne : dégradés, light mode, orange solaire
   Police : Plus Jakarta Sans
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

/* ── Variables ── */
:root {
  --sun: #F59E0B;
  --sun-dark: #D97706;
  --sun-light: #FEF3C7;
  --sun-xlight: #FFFBEB;
  --sky: #0EA5E9;
  --sky-dark: #0284C7;
  --sky-light: #E0F2FE;
  --sky-xlight: #F0F9FF;
  --dark: #0F172A;
  --dark-2: #1E293B;
  --gray: #64748B;
  --gray-light: #94A3B8;
  --border: #E2E8F0;
  --bg: #FAFAFA;
  --white: #FFFFFF;
  --success: #10B981;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 4px 20px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 20px 48px rgba(0,0,0,.10), 0 4px 16px rgba(0,0,0,.06);
  --shadow-sun: 0 8px 32px rgba(245,158,11,.30);
  --shadow-sky: 0 8px 32px rgba(14,165,233,.22);
  --font: 'Plus Jakarta Sans', sans-serif;
  --max-w: 1200px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.18; font-weight: 800; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.3rem); }
h3 { font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { color: var(--gray); line-height: 1.78; }
strong { color: var(--dark); font-weight: 700; }

/* ── Gradient text ── */
.grad-text {
  background: linear-gradient(135deg, var(--sun) 0%, #FB923C 50%, var(--sun-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-text-sky {
  background: linear-gradient(135deg, var(--sky) 0%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.highlight {
  background: linear-gradient(135deg, var(--sun) 0%, #FB923C 50%, var(--sun-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  transition: all .22s ease;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font);
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--sun) 0%, #FB923C 100%);
  color: var(--white);
  box-shadow: var(--shadow-sun);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--sun-dark) 0%, var(--sun) 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(245,158,11,.42);
}
.btn-secondary {
  background: linear-gradient(135deg, var(--sky) 0%, #38BDF8 100%);
  color: var(--white);
  box-shadow: var(--shadow-sky);
}
.btn-secondary:hover {
  background: linear-gradient(135deg, var(--sky-dark) 0%, var(--sky) 100%);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--sun-dark);
  border: 2px solid var(--sun);
}
.btn-outline:hover {
  background: linear-gradient(135deg, var(--sun) 0%, #FB923C 100%);
  color: var(--white);
  border-color: transparent;
}
.btn-ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,.25);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.22);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover { background: var(--dark-2); transform: translateY(-2px); }
.btn-lg { padding: 17px 36px; font-size: 1.02rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 9px 18px; font-size: .84rem; border-radius: 9px; }

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 99px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.badge-sun { background: var(--sun-light); color: var(--sun-dark); }
.badge-sky { background: var(--sky-light); color: var(--sky-dark); }
.badge-green { background: #D1FAE5; color: #065F46; }
.badge-dark { background: var(--dark); color: var(--white); }
.badge-orange { background: #FFEDD5; color: #C2410C; }

/* ── Section spacing ── */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 120px 0; }

/* ── Section header ── */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-header .badge { margin-bottom: 16px; }
.section-header p { font-size: 1.02rem; margin-top: 14px; }

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px;
  transition: all .28s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245,158,11,.35);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--sun-light), #FDE68A);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--sun-dark);
}

/* ── Grid helpers ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── ===========================
   NAVBAR
   =========================== ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226,232,240,.7);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.08); }
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--dark);
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--sun) 0%, #FB923C 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sun);
}
.logo-icon svg { width: 20px; height: 20px; color: var(--white); }
.logo-text span { color: var(--sun-dark); }
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  padding: 8px 13px;
  border-radius: 9px;
  font-weight: 600;
  font-size: .88rem;
  color: var(--gray);
  transition: all .2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--sun-dark);
  background: var(--sun-light);
}
.navbar-cta { margin-left: 12px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all .3s;
}

/* ── ===========================
   HERO — Light mode avec dégradé
   =========================== ── */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #FFFBEB 0%, #FEF3C7 30%, #F0F9FF 70%, #DBEAFE 100%);
  padding: 100px 0 80px;
  min-height: 88vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 80% 30%, rgba(245,158,11,.12) 0%, transparent 65%),
    radial-gradient(ellipse 600px 400px at 10% 80%, rgba(14,165,233,.10) 0%, transparent 55%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,158,11,.12);
  border: 1px solid rgba(245,158,11,.3);
  color: var(--sun-dark);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 {
  color: var(--dark);
  margin-bottom: 18px;
  letter-spacing: -.02em;
}
.hero-desc {
  color: var(--gray);
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(226,232,240,.8);
}
.hero-stat-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--sun-dark);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: .79rem;
  color: var(--gray);
  font-weight: 500;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-sun-graphic {
  position: relative;
  width: 380px;
  height: 380px;
}
.sun-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 140px; height: 140px;
  background: radial-gradient(circle, #FEF08A 0%, var(--sun) 55%, var(--sun-dark) 100%);
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(245,158,11,.5), 0 0 100px rgba(245,158,11,.25);
  animation: pulse-sun 3s ease-in-out infinite;
}
.sun-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid rgba(245,158,11,.18);
  animation: expand-ring 3s ease-in-out infinite;
}
.sun-ring-1 { width: 200px; height: 200px; animation-delay: 0s; }
.sun-ring-2 { width: 270px; height: 270px; animation-delay: .5s; }
.sun-ring-3 { width: 340px; height: 340px; animation-delay: 1s; }
.panel-card-float {
  position: absolute;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226,232,240,.8);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}
.panel-card-float.card-1 { top: 30px; right: 10px; animation-delay: 0s; }
.panel-card-float.card-2 { bottom: 60px; left: 5px; animation-delay: 1.5s; }
.panel-card-float.card-3 { bottom: 155px; right: -5px; animation-delay: .8s; }
.float-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--sun-light), #FDE68A);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--sun-dark);
}
.float-value { font-weight: 800; font-size: .95rem; color: var(--dark); }
.float-label { font-size: .7rem; color: var(--gray); }

@keyframes pulse-sun {
  0%, 100% { box-shadow: 0 0 50px rgba(245,158,11,.5), 0 0 100px rgba(245,158,11,.25); }
  50% { box-shadow: 0 0 70px rgba(245,158,11,.7), 0 0 140px rgba(245,158,11,.35); }
}
@keyframes expand-ring {
  0%, 100% { opacity: .25; }
  50% { opacity: .55; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ── ===========================
   STATS SECTION
   =========================== ── */
.stats-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 300px at 50% 50%, rgba(245,158,11,.08) 0%, transparent 60%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  position: relative;
}
.stat-item {
  text-align: center;
  padding: 36px 20px;
  border-right: 1px solid rgba(255,255,255,.07);
}
.stat-item:last-child { border-right: none; }
.stat-icon {
  width: 44px; height: 44px;
  background: rgba(245,158,11,.12);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  color: var(--sun);
}
.stat-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num .unit { font-size: 1.4rem; color: var(--sun); }
.stat-label { font-size: .87rem; color: rgba(255,255,255,.5); font-weight: 500; }
.stat-source { font-size: .7rem; color: rgba(255,255,255,.22); margin-top: 4px; }

/* ── ===========================
   SPLIT SECTION (homepage)
   =========================== ── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split-text h2 { margin-bottom: 18px; }
.split-text p { margin-bottom: 0; }
.split-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.split-stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-sm);
  transition: all .28s;
}
.split-stat-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
  border-color: rgba(245,158,11,.3);
}
.split-stat-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ── ===========================
   MODULES GRID
   =========================== ── */
.modules-section { background: var(--bg); }
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.module-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  border: 1px solid var(--border);
  transition: all .28s ease;
  position: relative;
  overflow: hidden;
}
.module-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sun), #FB923C, var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.module-card:hover::after { transform: scaleX(1); }
.module-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,.09);
}
.module-card.featured {
  background: linear-gradient(135deg, var(--sun) 0%, #FB923C 50%, #FBBF24 100%);
  border-color: transparent;
  color: var(--white);
  grid-column: span 2;
}
.module-card.featured::after { display: none; }
.module-card.featured:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(245,158,11,.35); }
.module-card.featured .module-desc { color: rgba(255,255,255,.8); }
.module-card.featured .card-icon { background: rgba(255,255,255,.2); color: var(--white); }
.module-card.featured .module-link { color: var(--white); }
.module-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: 12px;
  transition: color .3s;
}
.module-card:hover .module-num { color: rgba(245,158,11,.2); }
.module-card.featured .module-num { color: rgba(255,255,255,.15); }
.module-title { font-size: 1.1rem; margin-bottom: 8px; }
.module-desc { font-size: .88rem; color: var(--gray); margin-bottom: 18px; line-height: 1.65; }
.module-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .86rem; font-weight: 700;
  color: var(--sun-dark);
  transition: gap .2s;
}
.module-link:hover { gap: 10px; }

/* ── ===========================
   CTA STRIP
   =========================== ── */
.cta-strip {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 500px 300px at 80% 50%, rgba(245,158,11,.12) 0%, transparent 60%);
}
.cta-strip-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 40px; position: relative; z-index: 1;
}
.cta-strip h2 { color: var(--white); margin-bottom: 10px; }
.cta-strip p { color: rgba(255,255,255,.6); font-size: .98rem; max-width: 520px; }
.cta-strip-btns { display: flex; gap: 12px; flex-shrink: 0; }

/* ── ===========================
   AIDES PAGE
   =========================== ── */
.aide-hero {
  background: linear-gradient(160deg, #EFF6FF 0%, #DBEAFE 40%, #E0F2FE 100%);
  padding: 80px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.aide-hero h1 { color: var(--dark); margin-bottom: 16px; }
.aide-hero p { color: var(--gray); font-size: 1.05rem; max-width: 600px; margin: 0 auto 28px; }
.aide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.aide-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 28px;
  transition: all .28s;
}
.aide-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(14,165,233,.3); transform: translateY(-4px); }
.aide-card-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.aide-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.aide-icon-sky { background: linear-gradient(135deg, var(--sky-light), #BAE6FD); color: var(--sky-dark); }
.aide-icon-sun { background: linear-gradient(135deg, var(--sun-light), #FDE68A); color: var(--sun-dark); }
.aide-icon-green { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); color: #065F46; }
.aide-title { font-size: 1.1rem; margin-bottom: 3px; }
.aide-subtitle { font-size: .8rem; color: var(--gray-light); font-weight: 600; }
.aide-amount {
  background: linear-gradient(135deg, var(--sun-xlight), #FEF3C7);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: var(--radius);
  padding: 12px 16px; margin-bottom: 14px;
}
.aide-amount-label { font-size: .78rem; color: var(--gray); }
.aide-amount-value { font-size: 1.25rem; font-weight: 800; color: var(--sun-dark); }
.aide-warning {
  background: #FFFBEB; border: 1px solid #FDE68A;
  border-radius: var(--radius); padding: 11px 14px;
  font-size: .8rem; color: #92400E;
  display: flex; gap: 8px; align-items: flex-start; margin-top: 10px;
}
.aide-steps { counter-reset: step; margin-top: 16px; }
.aide-step {
  display: flex; gap: 12px; margin-bottom: 12px; font-size: .87rem;
}
.aide-step::before {
  counter-increment: step;
  content: counter(step);
  width: 22px; height: 22px;
  background: linear-gradient(135deg, var(--sky), #38BDF8);
  color: var(--white); border-radius: 50%;
  font-size: .72rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.aide-cta-official {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--sky), #38BDF8);
  color: var(--white); border-radius: var(--radius);
  font-size: .86rem; font-weight: 700; margin-top: 14px;
  transition: opacity .2s, transform .2s;
}
.aide-cta-official:hover { opacity: .9; transform: translateY(-1px); }

/* ── ===========================
   SIMULATEUR PAGE
   =========================== ── */
.simulateur-hero {
  background: linear-gradient(160deg, #FFFBEB 0%, #FEF3C7 40%, #FFF7ED 100%);
  padding: 80px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.simulateur-hero h1 { color: var(--dark); margin-bottom: 16px; }
.simulateur-hero p { color: var(--gray); font-size: 1.05rem; max-width: 580px; margin: 0 auto; }

.sim-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.sim-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
}
.sim-results-card {
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: sticky;
  top: 88px;
}
.form-group { margin-bottom: 22px; }
.form-label {
  display: block; font-size: .86rem; font-weight: 700;
  color: var(--dark); margin-bottom: 8px;
}
.form-label span { font-weight: 400; color: var(--gray-light); margin-left: 4px; }
.form-input, .form-select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .92rem; font-family: var(--font);
  color: var(--dark); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--sun);
  box-shadow: 0 0 0 3px rgba(245,158,11,.12);
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
  cursor: pointer;
}
.form-range { width: 100%; accent-color: var(--sun); cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; font-size: .75rem; color: var(--gray-light); margin-top: 4px; }
.range-value {
  display: inline-block;
  background: var(--sun-light); color: var(--sun-dark);
  border-radius: 6px; padding: 2px 10px;
  font-size: .82rem; font-weight: 700;
}

/* Results */
.result-placeholder {
  text-align: center; padding: 48px 24px;
}
.result-placeholder svg { color: rgba(255,255,255,.2); margin: 0 auto 16px; display: block; }
.result-placeholder p { color: rgba(255,255,255,.4); }
.result-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 24px;
}
.result-item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
}
.result-value {
  font-size: 1.6rem; font-weight: 800; color: var(--sun);
  line-height: 1; margin-bottom: 4px;
}
.result-label { font-size: .76rem; color: rgba(255,255,255,.5); font-weight: 500; }
.result-item.featured-result {
  grid-column: span 2;
  background: rgba(245,158,11,.12);
  border-color: rgba(245,158,11,.3);
}
.result-item.featured-result .result-value { font-size: 2.4rem; color: var(--sun); }

/* ── ===========================
   PRODUITS PAGE
   =========================== ── */
.produits-hero {
  background: linear-gradient(160deg, #F0FDF4 0%, #DCFCE7 40%, #D1FAE5 100%);
  padding: 80px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.produits-hero h1 { color: var(--dark); margin-bottom: 16px; }
.produits-hero p { color: var(--gray); font-size: 1.05rem; max-width: 580px; margin: 0 auto; }
.product-filters {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap; margin-bottom: 32px;
}
.filter-btn {
  padding: 7px 16px; border-radius: 99px;
  font-size: .83rem; font-weight: 600;
  border: 1.5px solid var(--border); color: var(--gray);
  background: var(--white); transition: all .2s; cursor: pointer;
}
.filter-btn.active, .filter-btn:hover {
  border-color: var(--sun);
  background: var(--sun-light); color: var(--sun-dark);
}
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.product-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  transition: all .28s; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(245,158,11,.3); }
.product-thumb {
  height: 170px;
  background: linear-gradient(135deg, var(--sun-xlight), var(--sky-xlight));
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.product-thumb svg { width: 60px; height: 60px; color: var(--sun); opacity: .5; }
.product-badge-top { position: absolute; top: 10px; left: 10px; }
.product-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-category { font-size: .72rem; font-weight: 700; color: var(--gray-light); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.product-name { font-size: 1rem; margin-bottom: 7px; font-weight: 700; }
.product-desc { font-size: .85rem; color: var(--gray); line-height: 1.6; margin-bottom: 14px; flex: 1; }
.product-specs { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.spec-chip {
  background: var(--sky-xlight); color: var(--sky-dark);
  border-radius: 6px; padding: 3px 9px;
  font-size: .75rem; font-weight: 600;
}
.product-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--border);
}
.product-price { font-size: 1.25rem; font-weight: 800; color: var(--dark); }
.product-price .from { font-size: .74rem; font-weight: 500; color: var(--gray-light); display: block; }
.amazon-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: linear-gradient(135deg, #FF9900, #FFB347);
  color: var(--dark); padding: 8px 14px; border-radius: var(--radius);
  font-size: .83rem; font-weight: 700; transition: all .2s;
}
.amazon-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255,153,0,.35); }
.amazon-disclaimer {
  background: var(--sky-xlight); border: 1px solid var(--sky-light);
  border-radius: var(--radius); padding: 14px 18px;
  font-size: .82rem; color: var(--gray);
  display: flex; gap: 10px; align-items: flex-start; margin-top: 28px;
}

/* ── ===========================
   ANNUAIRE PAGE
   =========================== ── */
.annuaire-hero {
  background: linear-gradient(160deg, #FAF5FF 0%, #EDE9FE 40%, #DDD6FE 100%);
  padding: 80px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.annuaire-hero h1 { color: var(--dark); margin-bottom: 16px; }
.annuaire-hero p { color: var(--gray); font-size: 1.05rem; max-width: 580px; margin: 0 auto; }
.search-bar {
  display: flex; gap: 10px;
  max-width: 560px; margin: 28px auto 0;
}
.search-bar .form-input {
  flex: 1; border-radius: var(--radius-lg);
  padding: 14px 20px; font-size: .95rem;
  border-color: rgba(139,92,246,.3);
}
.search-bar .form-input:focus { border-color: #8B5CF6; box-shadow: 0 0 0 3px rgba(139,92,246,.12); }

/* Annuaire city grid */
.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.city-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  transition: all .25s;
  display: flex;
  align-items: center;
  gap: 14px;
}
.city-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(139,92,246,.3);
}
.city-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, #EDE9FE, #DDD6FE);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #7C3AED; flex-shrink: 0;
}
.city-name { font-weight: 700; font-size: .95rem; color: var(--dark); }
.city-meta { font-size: .78rem; color: var(--gray-light); margin-top: 2px; }

/* Pro cards */
.pro-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all .25s;
}
.pro-card:hover { box-shadow: var(--shadow); border-color: rgba(245,158,11,.25); }
.pro-logo {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--sun-light), #FDE68A);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--sun-dark); flex-shrink: 0; font-weight: 800; font-size: 1.1rem;
}
.pro-body { flex: 1; min-width: 0; }
.pro-name { font-weight: 700; font-size: 1rem; color: var(--dark); margin-bottom: 3px; }
.pro-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }
.pro-tag {
  background: var(--sky-xlight); color: var(--sky-dark);
  border-radius: 5px; padding: 2px 8px;
  font-size: .73rem; font-weight: 600;
}
.pro-address { font-size: .83rem; color: var(--gray); display: flex; align-items: center; gap: 5px; }
.pro-siret { font-size: .76rem; color: var(--gray-light); margin-top: 4px; }

/* ── ===========================
   FOOTER
   =========================== ── */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand p { color: rgba(255,255,255,.5); font-size: .88rem; line-height: 1.7; margin: 14px 0 20px; }
.footer-social { display: flex; gap: 8px; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.06); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.45); transition: all .2s;
}
.social-link:hover { background: linear-gradient(135deg, var(--sun), #FB923C); color: var(--white); }
.footer-heading { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 18px; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(255,255,255,.55); font-size: .86rem; transition: color .2s; display: flex; align-items: center; gap: 5px; }
.footer-links a:hover { color: var(--sun); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; gap: 16px; flex-wrap: wrap;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.3); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: .8rem; color: rgba(255,255,255,.3); transition: color .2s; }
.footer-legal a:hover { color: var(--sun); }

/* ── ===========================
   BREADCRUMB
   =========================== ── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .81rem; padding: 12px 0; flex-wrap: wrap; }
.breadcrumb a { color: var(--gray-light); transition: color .2s; }
.breadcrumb a:hover { color: var(--sun-dark); }
.breadcrumb-sep { color: var(--border); }
.breadcrumb-current { color: var(--gray); font-weight: 500; }

/* ── ===========================
   REVEAL ON SCROLL
   =========================== ── */
.reveal-on-scroll { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }

/* ── ===========================
   ALERT / NOTICE
   =========================== ── */
.notice { border-radius: var(--radius); padding: 13px 16px; font-size: .87rem; display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; }
.notice-info { background: var(--sky-xlight); border: 1px solid var(--sky-light); color: var(--sky-dark); }
.notice-warning { background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E; }
.notice-success { background: #F0FDF4; border: 1px solid #BBF7D0; color: #065F46; }
.notice svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; }

/* ── ===========================
   FAQ
   =========================== ── */
.faq-list { margin-top: 24px; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 10px; overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left; padding: 16px 18px;
  font-weight: 600; font-size: .93rem;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--white); color: var(--dark);
  cursor: pointer; transition: background .2s;
}
.faq-question:hover { background: var(--sun-xlight); }
.faq-question.open { background: var(--sun-xlight); color: var(--sun-dark); }
.faq-chevron { width: 17px; height: 17px; transition: transform .3s; color: var(--gray-light); }
.faq-question.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer-inner { padding: 0 18px 16px; font-size: .88rem; }
.faq-answer.open { max-height: 500px; }

/* ── ===========================
   404
   =========================== ── */
.error-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 20px; }
.error-num { font-size: 9rem; font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--sun), #FB923C, var(--sky)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 16px; }

/* ── ===========================
   RESPONSIVE
   =========================== ── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .module-card.featured { grid-column: span 2; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .sim-layout { grid-template-columns: 1fr; }
  .sim-results-card { position: static; }
  .aide-grid { grid-template-columns: 1fr; }
  .split-section { grid-template-columns: 1fr; gap: 40px; }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .navbar-nav, .navbar-cta { display: none; }
  .hamburger { display: flex; }
  .navbar-nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 66px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 14px 16px; gap: 3px; box-shadow: var(--shadow); z-index: 999;
  }
  .navbar-cta.open { display: block; padding: 6px 16px 14px; background: var(--white); }
  .modules-grid { grid-template-columns: 1fr; }
  .module-card.featured { grid-column: span 1; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cta-strip-inner { flex-direction: column; text-align: center; }
  .cta-strip-btns { flex-direction: column; width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .product-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .result-grid { grid-template-columns: 1fr; }
  .result-item.featured-result { grid-column: span 1; }
  .city-grid { grid-template-columns: 1fr; }
  .pro-card { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero { padding: 60px 0 50px; min-height: unset; }
  .hero-stat-num { font-size: 1.4rem; }
  .stat-num { font-size: 2rem; }
  .error-num { font-size: 5.5rem; }
}