/* ============================
   local-pages.css
   Arnaud FAVRE — Consultant SEO B2B
   ============================ */

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

:root {
  --bg: #f1f5f9;
  --bg-white: #ffffff;
  --navy: #0f172a;
  --navy-light: #1e293b;
  --green: #10b981;
  --green-light: #d1fae5;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --gray: #64748b;
  --gray-light: #e2e8f0;
  --card-shadow: 0 4px 24px rgba(15,23,42,0.08);
  --radius: 16px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--navy); line-height: 1.6; overflow-x: hidden; }

/* ─── NAV ─── */
nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--gray-light); padding: 0 2rem; }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo { font-size: 1.2rem; font-weight: 800; color: var(--navy); text-decoration: none; }
.nav-logo span { color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--navy-light); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--blue); }
.btn-nav { background: var(--blue); color: #fff !important; padding: 0.55rem 1.3rem; border-radius: 8px; font-weight: 600 !important; transition: background 0.2s !important; }
.btn-nav:hover { background: var(--blue-dark) !important; }
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: 0.3s; }

/* ─── BREADCRUMB ─── */
.breadcrumb { background: var(--bg-white); border-bottom: 1px solid var(--gray-light); padding: 0.65rem 2rem; }
.breadcrumb-inner { max-width: 1200px; margin: 0 auto; font-size: 0.8rem; color: var(--gray); display: flex; align-items: center; gap: 0.4rem; }
.breadcrumb-inner a { color: var(--blue); text-decoration: none; }
.breadcrumb-inner a:hover { text-decoration: underline; }

/* ─── LOCAL HERO ─── */
.local-hero { background: linear-gradient(160deg, #f1f5f9 0%, #e8f0fe 50%, #f1f5f9 100%); padding: 4rem 2rem 3.5rem; }
.local-hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 340px; gap: 4rem; align-items: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--green-light); color: var(--green); font-size: 0.78rem; font-weight: 700; padding: 0.35rem 0.9rem; border-radius: 20px; margin-bottom: 1.25rem; letter-spacing: 0.03em; }
.local-hero-text h1 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 900; letter-spacing: -1px; line-height: 1.1; color: var(--navy); margin-bottom: 1.25rem; }
.local-hero-text h1 span { color: var(--green); }
.hero-desc { font-size: 1.05rem; color: var(--gray); line-height: 1.75; margin-bottom: 2rem; max-width: 520px; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.btn-primary { background: var(--blue); color: #fff; padding: 0.85rem 2rem; border-radius: 10px; font-weight: 700; font-size: 1rem; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; transition: background 0.2s, transform 0.2s; box-shadow: 0 4px 16px rgba(37,99,235,0.3); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--navy); padding: 0.85rem 2rem; border-radius: 10px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid var(--gray-light); transition: border-color 0.2s, background 0.2s; }
.btn-secondary:hover { border-color: var(--navy); background: rgba(15,23,42,0.04); }
.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero-stat .stat-num { font-size: 1.6rem; font-weight: 900; color: var(--navy); letter-spacing: -0.5px; line-height: 1; }
.hero-stat .stat-num em { color: var(--green); font-style: normal; }
.hero-stat .stat-label { font-size: 0.75rem; color: var(--gray); margin-top: 0.2rem; }
.local-hero-photo img { width: 100%; height: 380px; object-fit: cover; object-position: top center; border-radius: 24px; box-shadow: 0 20px 60px rgba(15,23,42,0.15); display: block; }

/* ─── SECTIONS COMMUNES ─── */
section { padding: 5rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag { display: inline-block; background: var(--green-light); color: var(--green); font-size: 0.75rem; font-weight: 700; padding: 0.3rem 0.85rem; border-radius: 20px; margin-bottom: 0.75rem; letter-spacing: 0.04em; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -0.6px; color: var(--navy); line-height: 1.15; margin-bottom: 0.75rem; }
.section-title .green { color: var(--green); }
.section-subtitle { font-size: 1rem; color: var(--gray); max-width: 580px; margin: 0 auto; line-height: 1.7; }

/* ─── CONTEXTE LOCAL ─── */
.local-context { background: var(--bg-white); }
.context-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: start; }
.context-text h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); font-weight: 900; letter-spacing: -0.5px; color: var(--navy); line-height: 1.2; margin-bottom: 1.25rem; }
.context-text h2 .green { color: var(--green); }
.context-text p { font-size: 0.95rem; color: var(--gray); line-height: 1.8; margin-bottom: 1rem; }
.context-text p strong { color: var(--navy); font-weight: 700; }
.context-text h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin: 1.5rem 0 0.6rem; }
.context-right { display: flex; flex-direction: column; gap: 1rem; }
.context-stat { background: var(--bg); border-radius: var(--radius); padding: 1.5rem; }
.context-stat .num { font-size: 2.2rem; font-weight: 900; color: var(--navy); letter-spacing: -1.5px; line-height: 1; }
.context-stat .num em { color: var(--green); font-style: normal; }
.context-stat .lbl { font-size: 0.8rem; color: var(--gray); margin-top: 0.3rem; line-height: 1.4; }

/* ─── POURQUOI MOI ─── */
.why-me { background: var(--bg); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.why-card { background: var(--bg-white); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--card-shadow); transition: transform 0.25s; }
.why-card:hover { transform: translateY(-4px); }
.why-icon { width: 44px; height: 44px; background: #e0f2fe; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 1rem; }
.why-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--navy); }
.why-card p { font-size: 0.84rem; color: var(--gray); line-height: 1.65; }

/* ─── MÉTHODE ─── */
.method-section { background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 100%); }
.method-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step-card { background: var(--bg-white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--card-shadow); position: relative; overflow: hidden; transition: transform 0.25s; }
.step-card:hover { transform: translateY(-4px); }
.step-number { font-size: 4rem; font-weight: 900; color: rgba(37,99,235,0.07); position: absolute; top: 0.5rem; right: 1rem; line-height: 1; }
.step-phase { font-size: 0.75rem; font-weight: 600; color: var(--blue); background: #eff6ff; padding: 0.25rem 0.75rem; border-radius: 20px; display: inline-block; margin-bottom: 1rem; }
.step-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--navy); }
.step-card > p { font-size: 0.88rem; color: var(--gray); margin-bottom: 1.25rem; }
.step-deliverable span { font-size: 0.75rem; color: var(--gray); display: block; }
.step-deliverable strong { font-size: 0.9rem; font-weight: 700; color: var(--navy); display: block; margin-top: 2px; }

/* ─── RÉSULTATS ─── */
.results-section { background: var(--bg); }
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.result-card { background: var(--bg-white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--card-shadow); transition: transform 0.25s; }
.result-card:hover { transform: translateY(-4px); }
.result-metric { font-size: 2.8rem; font-weight: 900; color: var(--green); letter-spacing: -2px; line-height: 1; margin-bottom: 0.3rem; }
.result-label { font-size: 0.75rem; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1.25rem; }
.result-quote { font-size: 0.88rem; color: var(--navy-light); font-style: italic; margin-bottom: 1.5rem; line-height: 1.65; }
.result-author { display: flex; align-items: center; gap: 0.75rem; }
.result-avatar-photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; flex-shrink: 0; border: 2px solid var(--gray-light); }
.result-author-info .name { font-weight: 700; font-size: 0.88rem; }
.result-author-info .role { font-size: 0.78rem; color: var(--gray); }

/* ─── OFFRES ─── */
.offers-section { background: linear-gradient(160deg, #f8fafc 0%, #eff6ff 100%); }
.offers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.offer-card { background: var(--bg-white); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--card-shadow); border: 2px solid transparent; position: relative; transition: transform 0.25s, box-shadow 0.25s; }
.offer-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(15,23,42,0.12); }
.offer-card.popular { border-color: var(--green); box-shadow: 0 8px 32px rgba(16,185,129,0.15); }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--green); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 0.3rem 1rem; border-radius: 20px; white-space: nowrap; }
.offer-name { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.4rem; }
.offer-tagline { font-size: 0.85rem; color: var(--gray); margin-bottom: 1.5rem; }
.offer-price-row { display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: 0.25rem; }
.offer-price { font-size: 2.4rem; font-weight: 900; letter-spacing: -1.5px; color: var(--navy); }
.offer-period { font-size: 0.85rem; color: var(--gray); }
.offer-billing { font-size: 0.78rem; color: var(--gray); margin-bottom: 1.75rem; }
.offer-features { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 2rem; }
.offer-features li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.88rem; color: var(--navy-light); }
.offer-features li::before { content: '✓'; color: var(--green); font-weight: 800; flex-shrink: 0; }
.btn-offer-primary { display: block; text-align: center; background: var(--blue); color: #fff; padding: 0.85rem; border-radius: 10px; font-weight: 700; text-decoration: none; transition: background 0.2s; }
.btn-offer-primary:hover { background: var(--blue-dark); }
.btn-offer-outline { display: block; text-align: center; background: transparent; color: var(--navy); padding: 0.85rem; border-radius: 10px; font-weight: 700; text-decoration: none; border: 1.5px solid var(--gray-light); transition: border-color 0.2s; }
.btn-offer-outline:hover { border-color: var(--navy); }

/* ─── FAQ ─── */
.faq-section { background: var(--bg-white); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: var(--bg); border-radius: 12px; overflow: hidden; border: 1px solid var(--gray-light); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.5rem; cursor: pointer; font-weight: 700; font-size: 0.94rem; color: var(--navy); user-select: none; gap: 1rem; }
.faq-question:hover { background: rgba(37,99,235,0.04); }
.faq-icon { font-size: 1.2rem; color: var(--blue); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 600px; }
.faq-answer-inner { padding: 0 1.5rem 1.25rem; font-size: 0.9rem; color: var(--gray); line-height: 1.8; }
.faq-answer-inner strong { color: var(--navy); }

/* ─── CONTACT / CTA ─── */
.contact-section { background: linear-gradient(135deg, var(--navy) 0%, #1e3a8a 100%); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: start; }
.contact-left .section-title { color: #fff; text-align: left; }
.contact-reassurances { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2rem; }
.reassurance-item { display: flex; align-items: center; gap: 0.75rem; color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.contact-photo-block { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.12); }
.contact-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--green); }
.contact-right { background: rgba(255,255,255,0.06); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.75); }
.form-group input, .form-group textarea { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 8px; padding: 0.7rem 1rem; color: #fff; font-size: 0.9rem; font-family: inherit; outline: none; width: 100%; transition: border-color 0.2s, background 0.2s; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--green); background: rgba(255,255,255,0.12); }
.form-group textarea { resize: vertical; min-height: 100px; }
.offer-selector { display: flex; flex-direction: column; gap: 0.75rem; }
.offer-option { display: flex; align-items: flex-start; gap: 0.85rem; background: rgba(255,255,255,0.06); border: 1.5px solid rgba(255,255,255,0.12); border-radius: 10px; padding: 1rem 1.1rem; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.offer-option:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.1); }
.offer-option input[type="radio"] { accent-color: var(--green); margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; }
.offer-option.selected { border-color: var(--green); background: rgba(16,185,129,0.1); }
.offer-option-title { font-weight: 700; font-size: 0.9rem; color: #fff; }
.offer-option-price { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 2px; }
.offer-option-badge { display: inline-block; margin-top: 5px; background: var(--green); color: #fff; font-size: 0.68rem; font-weight: 700; padding: 0.15rem 0.6rem; border-radius: 20px; }
.btn-form-submit { width: 100%; background: var(--green); color: #fff; padding: 1rem; border: none; border-radius: 10px; font-size: 1rem; font-weight: 700; cursor: pointer; font-family: inherit; box-shadow: 0 4px 20px rgba(16,185,129,0.35); transition: background 0.2s; }
.btn-form-submit:hover { background: #059669; }
.form-success { margin-top: 1rem; padding: 1rem; background: rgba(16,185,129,0.15); border: 1px solid var(--green); border-radius: 8px; color: #6ee7b7; font-size: 0.9rem; text-align: center; }

/* ─── MAILLAGE INTERNE ─── */
.internal-links-section { background: var(--bg); }
.cities-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.85rem; }
.city-link { background: var(--bg-white); border-radius: 10px; padding: 0.9rem 1rem; text-decoration: none; color: var(--navy); font-weight: 600; font-size: 0.84rem; border: 1.5px solid var(--gray-light); transition: border-color 0.2s, background 0.2s, transform 0.2s, color 0.2s; display: flex; align-items: center; gap: 0.5rem; }
.city-link:hover { border-color: var(--blue); background: #eff6ff; transform: translateY(-2px); color: var(--blue); }

/* ─── FOOTER ─── */
footer { background: var(--navy); padding: 2.5rem 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.footer-logo { font-size: 1.1rem; font-weight: 800; color: #fff; text-decoration: none; }
.footer-logo span { color: var(--green); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; list-style: none; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.9); }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.footer-cities { display: flex; gap: 0.75rem 1.25rem; flex-wrap: wrap; justify-content: center; padding-top: 0.75rem; border-top: 1px solid rgba(255,255,255,0.08); width: 100%; }
.footer-cities a { font-size: 0.75rem; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.footer-cities a:hover { color: var(--green); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .cities-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .local-hero-inner { grid-template-columns: 1fr; }
  .local-hero-photo { display: none; }
  .context-grid { grid-template-columns: 1fr; }
  .method-steps { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .offers-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-left .section-title { text-align: center; }
  .contact-reassurances { align-items: center; }
  .contact-photo-block { justify-content: center; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--gray-light); padding: 1rem 2rem; gap: 1rem; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .why-grid { grid-template-columns: 1fr; }
  .cities-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .method-steps { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  section { padding: 3.5rem 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-right { padding: 1.5rem; }
  .hero-stats { gap: 1rem; }
}

/* ═══════════════════════════════════════
   SIMULATEUR DE BUDGET SEO
═══════════════════════════════════════ */
.sim-section { background: linear-gradient(160deg, #f8fafc 0%, #eff6ff 100%); }
.sim-card { background: var(--bg-white); border-radius: 24px; box-shadow: 0 8px 48px rgba(15,23,42,0.1); padding: 2.5rem 3rem; max-width: 720px; margin: 0 auto; }
.sim-progress { height: 5px; background: var(--gray-light); border-radius: 5px; margin-bottom: 2.25rem; overflow: hidden; }
.sim-progress-bar { height: 100%; background: linear-gradient(90deg, var(--green), var(--blue)); border-radius: 5px; transition: width 0.4s ease; }
.sim-step-label { font-size: 0.72rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.sim-step-title { font-size: 1.15rem; font-weight: 800; color: var(--navy); margin-bottom: 1.75rem; line-height: 1.3; }
.sim-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.sim-type-btn { background: var(--bg); border: 2px solid var(--gray-light); border-radius: 14px; padding: 1.1rem 0.75rem 0.9rem; cursor: pointer; font-family: inherit; font-size: 0.84rem; font-weight: 600; color: var(--navy-light); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; transition: all 0.2s; line-height: 1.3; }
.sim-type-btn:hover, .sim-type-btn.sim-active { border-color: var(--blue); background: #eff6ff; color: var(--blue); }
.sim-goals { display: flex; flex-direction: column; gap: 0.85rem; }
.sim-goal-btn { background: var(--bg); border: 2px solid var(--gray-light); border-radius: 14px; padding: 1.25rem 1.5rem; cursor: pointer; font-family: inherit; text-align: left; transition: all 0.2s; display: flex; align-items: flex-start; gap: 1rem; }
.sim-goal-btn:hover { border-color: var(--blue); background: #eff6ff; }
.sim-goal-btn.sim-active { border-color: var(--green); background: var(--green-light); }
.sim-goal-icon { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.sim-goal-text strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.2rem; }
.sim-goal-text span { font-size: 0.81rem; color: var(--gray); line-height: 1.5; }
.sim-note { background: var(--green-light); color: #065f46; font-size: 0.8rem; font-weight: 500; padding: 0.7rem 1rem; border-radius: 8px; margin-bottom: 1.25rem; line-height: 1.55; }
.sim-duration-display { text-align: center; padding: 1rem 0 0.5rem; }
.sim-duration-label { font-size: 0.82rem; color: var(--gray); margin-bottom: 0.3rem; }
.sim-duration-months { font-size: 1.4rem; font-weight: 800; color: var(--navy); }
.sim-slider { width: 100%; -webkit-appearance: none; height: 6px; border-radius: 6px; outline: none; cursor: pointer; margin: 0.85rem 0 0.35rem; background: var(--gray-light); }
.sim-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); box-shadow: 0 2px 10px rgba(37,99,235,0.4); cursor: pointer; border: 3px solid #fff; }
.sim-slider::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; cursor: pointer; }
.sim-slider-labels { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--gray); margin-bottom: 0.75rem; }
.sim-price-block { text-align: center; background: var(--bg); border-radius: 16px; padding: 1.75rem; margin: 1rem 0 1.25rem; }
.sim-price-from { font-size: 0.78rem; font-weight: 600; color: var(--gray); margin-bottom: 0.3rem; }
.sim-price-amount { font-size: 3rem; font-weight: 900; color: var(--navy); letter-spacing: -2px; line-height: 1; }
.sim-price-amount sup { font-size: 1.3rem; vertical-align: super; font-weight: 700; }
.sim-price-period { font-size: 0.82rem; color: var(--gray); margin-top: 0.35rem; }
.sim-features { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; margin: 0 0 1.75rem; }
.sim-features li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.86rem; color: var(--navy-light); }
.sim-features li::before { content: '✓'; color: var(--green); font-weight: 900; flex-shrink: 0; }
.sim-cta-btn { display: block; text-align: center; background: var(--blue); color: #fff; padding: 1rem 2rem; border-radius: 12px; font-weight: 700; font-size: 1rem; text-decoration: none; transition: background 0.2s, transform 0.2s; box-shadow: 0 4px 16px rgba(37,99,235,0.3); }
.sim-cta-btn:hover { background: var(--blue-dark); transform: translateY(-2px); }
.sim-restart { display: block; text-align: center; background: none; border: none; color: var(--gray); cursor: pointer; font-family: inherit; font-size: 0.82rem; text-decoration: underline; margin: 0.85rem auto 0; padding: 0; }
.sim-back { background: none; border: none; color: var(--gray); cursor: pointer; font-family: inherit; font-size: 0.8rem; margin-bottom: 1rem; padding: 0; display: flex; align-items: center; gap: 0.3rem; }
.sim-back:hover { color: var(--navy); }

/* Dark mode simulateur */
[data-theme="dark"] .sim-section { background: linear-gradient(160deg, #1a2035 0%, #1a2440 100%); }
[data-theme="dark"] .sim-type-btn { background: var(--bg); border-color: var(--gray-light); color: #cbd5e1; }
[data-theme="dark"] .sim-type-btn:hover, [data-theme="dark"] .sim-type-btn.sim-active { border-color: #60a5fa; background: #1e2d4a; color: #60a5fa; }
[data-theme="dark"] .sim-goal-btn { background: var(--bg); border-color: var(--gray-light); }
[data-theme="dark"] .sim-goal-btn:hover { border-color: #60a5fa; background: #1e2d4a; }
[data-theme="dark"] .sim-goal-btn.sim-active { border-color: var(--green); background: rgba(16,185,129,0.1); }
[data-theme="dark"] .sim-goal-text strong { color: #f1f5f9; }
[data-theme="dark"] .sim-step-title, [data-theme="dark"] .sim-duration-months { color: #f1f5f9; }
[data-theme="dark"] .sim-price-block { background: var(--bg); }
[data-theme="dark"] .sim-price-amount { color: #f1f5f9; }
[data-theme="dark"] .sim-features li { color: #cbd5e1; }
[data-theme="dark"] .sim-note { background: rgba(16,185,129,0.12); color: #6ee7b7; }
@media (max-width: 768px) { .sim-card { padding: 1.75rem 1.25rem; } .sim-types { grid-template-columns: repeat(2, 1fr); } }

/* ═══════════════════════════════════════
   DARK MODE TOGGLE — bouton nav
═══════════════════════════════════════ */
.dark-toggle {
  background: none;
  border: 1.5px solid var(--gray-light);
  cursor: pointer;
  color: var(--gray);
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.dark-toggle:hover { background: var(--gray-light); color: var(--navy); }

/* ═══════════════════════════════════════
   DARK MODE PALETTE
═══════════════════════════════════════ */
[data-theme="dark"] {
  --bg:          #111827;
  --bg-white:    #1e2533;
  --navy-light:  #cbd5e1;
  --gray:        #94a3b8;
  --gray-light:  #2d3748;
  --card-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

/* Corps — texte principal clair */
[data-theme="dark"] body { background: var(--bg); color: #e2e8f0; }

/* Titres et éléments avec color: var(--navy) explicite */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] .section-title,
[data-theme="dark"] .nav-logo,
[data-theme="dark"] .hero-stat .stat-num,
[data-theme="dark"] .context-text h2,
[data-theme="dark"] .context-stat .num,
[data-theme="dark"] .why-card h3,
[data-theme="dark"] .step-card h3,
[data-theme="dark"] .result-metric,
[data-theme="dark"] .offer-name,
[data-theme="dark"] .offer-price,
[data-theme="dark"] .faq-question { color: #f1f5f9; }

/* Texte secondaire */
[data-theme="dark"] .hero-desc,
[data-theme="dark"] .section-subtitle,
[data-theme="dark"] .breadcrumb-inner,
[data-theme="dark"] .context-text p,
[data-theme="dark"] .why-card p,
[data-theme="dark"] .step-card > p,
[data-theme="dark"] .offer-tagline,
[data-theme="dark"] .offer-billing,
[data-theme="dark"] .offer-period,
[data-theme="dark"] .result-quote,
[data-theme="dark"] .faq-answer-inner { color: #94a3b8; }

/* Nav */
[data-theme="dark"] nav { background: rgba(17,24,39,0.96); border-bottom-color: var(--gray-light); }
[data-theme="dark"] .nav-links a { color: #cbd5e1; }
[data-theme="dark"] .nav-links { background: #111827; border-bottom-color: var(--gray-light); }

/* Breadcrumb */
[data-theme="dark"] .breadcrumb { background: var(--bg-white); border-bottom-color: var(--gray-light); }

/* Hero local */
[data-theme="dark"] .local-hero { background: linear-gradient(160deg, #111827 0%, #1a2440 50%, #111827 100%); }

/* Sections avec gradients hardcodés */
[data-theme="dark"] .method-section { background: linear-gradient(160deg, #1a2035 0%, #111827 100%); }
[data-theme="dark"] .offers-section  { background: linear-gradient(160deg, #1a2035 0%, #1a2440 100%); }
[data-theme="dark"] .results-section { background: var(--bg); }
[data-theme="dark"] .why-me          { background: var(--bg); }

/* Cards */
[data-theme="dark"] .why-card,
[data-theme="dark"] .step-card,
[data-theme="dark"] .result-card,
[data-theme="dark"] .offer-card,
[data-theme="dark"] .context-stat { background: var(--bg-white); }
[data-theme="dark"] .offer-card.popular { box-shadow: 0 8px 32px rgba(16,185,129,0.2); }

/* Step number */
[data-theme="dark"] .step-number { color: rgba(96,165,250,0.1); }
[data-theme="dark"] .step-phase   { background: rgba(37,99,235,0.15); color: #60a5fa; }

/* FAQ */
[data-theme="dark"] .faq-section { background: var(--bg-white); }
[data-theme="dark"] .faq-item    { background: var(--bg); border-color: var(--gray-light); }
[data-theme="dark"] .faq-question:hover { background: rgba(255,255,255,0.03); }

/* Sections de maillage / villes */
[data-theme="dark"] .internal-links-section { background: var(--bg); }
[data-theme="dark"] .city-link { background: var(--bg-white); border-color: var(--gray-light); color: #e2e8f0; }
[data-theme="dark"] .city-link:hover { border-color: #60a5fa; background: #1e2d4a; color: #60a5fa; }

/* Sections dark (footer, contact) — restent sombres, légèrement plus foncées */
[data-theme="dark"] .contact-section { background: linear-gradient(135deg, #070c18 0%, #0f1f4a 100%); }
[data-theme="dark"] footer { background: #070c18; }

/* Texte dans les listes features (couleur var(--navy-light) héritée) */
[data-theme="dark"] .offer-features li,
[data-theme="dark"] .result-author-info .name,
[data-theme="dark"] .result-author-info .role,
[data-theme="dark"] .context-text h3,
[data-theme="dark"] .step-deliverable strong,
[data-theme="dark"] .step-deliverable span,
[data-theme="dark"] .hero-stat .stat-label { color: #cbd5e1; }

/* Boutons outline — texte invisible en dark */
[data-theme="dark"] .btn-offer-outline,
[data-theme="dark"] .btn-secondary { color: #e2e8f0; border-color: #4b5563; }
[data-theme="dark"] .btn-offer-outline:hover,
[data-theme="dark"] .btn-secondary:hover { border-color: #e2e8f0; background: rgba(255,255,255,0.06); }

/* Section tag (badge vert clair) */
[data-theme="dark"] .section-tag { background: rgba(16,185,129,0.15); }

/* Popular badge */
[data-theme="dark"] .popular-badge { background: var(--green); color: #fff; }

/* Dark toggle — état actif en dark mode */
[data-theme="dark"] .dark-toggle { border-color: var(--gray-light); color: #94a3b8; }
[data-theme="dark"] .dark-toggle:hover { background: var(--gray-light); color: #f1f5f9; }
