/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --red: #dc2626;
  --red-dark: #991b1b;
  --red-light: #fef2f2;
  --red-border: #fecaca;
  --blue: #1a73e8;
  --green: #16a34a;
  --bg: #fff;
  --bg-alt: #f8f9fa;
  --border: #e8eaed;
  --text: #202124;
  --text-muted: #5f6368;
  --text-light: #80868b;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ───────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }

/* ── Typography ───────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; letter-spacing: -.02em; font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
p { color: var(--text-muted); line-height: 1.75; margin-bottom: 16px; font-size: 1rem; }
p:last-child { margin-bottom: 0; }
strong { color: var(--text); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn { display: inline-block; padding: 13px 28px; border-radius: 8px; font-weight: 700; font-size: .95rem; cursor: pointer; transition: opacity .15s, transform .1s; text-decoration: none !important; border: none; }
.btn:hover { opacity: .9; transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-outline { background: transparent; color: var(--red); border: 2px solid var(--red); }
.btn-ghost { background: transparent; color: var(--text-muted); border: 1.5px solid var(--border); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ── Header ───────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 1.2rem; font-weight: 800; color: var(--text); letter-spacing: -.02em; text-decoration: none !important; }
.logo span { color: var(--red); }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { font-size: .9rem; font-weight: 500; color: var(--text-muted); text-decoration: none; transition: color .15s; }
.site-nav a:hover { color: var(--red); text-decoration: none; }
.header-cta { font-size: .88rem; }
@media(max-width:768px){
  .site-nav { display: none; }
  .header-cta { display: none; }
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero { padding: 80px 0 72px; }
.hero-badge { display: inline-block; background: var(--red-light); color: var(--red); border: 1px solid var(--red-border); border-radius: 100px; padding: 5px 14px; font-size: .82rem; font-weight: 700; margin-bottom: 20px; }
.hero-grid { display: grid; grid-template-columns: 1fr 480px; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { font-size: 1.1rem; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-kpis { display: flex; gap: 28px; flex-wrap: wrap; }
.kpi { text-align: center; }
.kpi-num { font-size: 1.8rem; font-weight: 800; color: var(--red); letter-spacing: -.03em; }
.kpi-label { font-size: .75rem; color: var(--text-muted); margin-top: 2px; }
@media(max-width:900px){
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { display: none; }
}

/* ── Emergency band ───────────────────────────────────────── */
.emergency-band { background: var(--red); color: #fff; padding: 14px 0; text-align: center; font-size: .9rem; font-weight: 600; }
.emergency-band a { color: #fff; text-decoration: underline; }

/* ── Cards ────────────────────────────────────────────────── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 32px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: box-shadow .2s; }
.card:hover { box-shadow: var(--shadow-lg); }
.card-icon { font-size: 1.8rem; margin-bottom: 12px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .9rem; margin-bottom: 12px; }
.card a { font-size: .88rem; font-weight: 600; color: var(--red); }

/* ── Steps ────────────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 0; max-width: 680px; }
.step { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; font-size: 1rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.step h4 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: .9rem; margin: 0; }

/* ── Alert boxes ──────────────────────────────────────────── */
.alert { border-radius: 10px; padding: 16px 20px; margin: 24px 0; display: flex; gap: 14px; align-items: flex-start; }
.alert-red { background: var(--red-light); border: 1px solid var(--red-border); }
.alert-yellow { background: #fffbeb; border: 1px solid #fde68a; }
.alert-green { background: #f0fdf4; border: 1px solid #bbf7d0; }
.alert-icon { font-size: 1.4rem; flex-shrink: 0; line-height: 1.2; }
.alert-body h4 { font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.alert-body p { font-size: .88rem; margin: 0; }

/* ── Comparison ───────────────────────────────────────────── */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-card { border-radius: var(--radius); padding: 24px; }
.compare-soft { background: #fffbeb; border: 2px solid #fde68a; }
.compare-hard { background: var(--red-light); border: 2px solid var(--red-border); }
.compare-title { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }
.compare-soft .compare-title { color: #92400e; }
.compare-hard .compare-title { color: var(--red-dark); }
.compare-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.compare-card p { font-size: .88rem; }
@media(max-width:600px){ .compare-grid { grid-template-columns: 1fr; } }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list { max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item:first-of-type { border-top: 1px solid var(--border); }
.faq-q { font-size: 1rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--text); }
.faq-q::after { content: '+'; font-size: 1.3rem; font-weight: 300; color: var(--red); flex-shrink: 0; }
.faq-q.open::after { content: '−'; }
.faq-a { display: none; margin-top: 12px; font-size: .95rem; color: var(--text-muted); line-height: 1.75; }

/* ── Causes list ──────────────────────────────────────────── */
.causes-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.cause-item { display: flex; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--border); border-radius: 10px; align-items: flex-start; }
.cause-num { width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; font-size: .8rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cause-item h4 { font-size: .95rem; margin-bottom: 4px; }
.cause-item p { font-size: .85rem; margin: 0; }

/* ── Stats ────────────────────────────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin: 40px 0; }
.stat-card { text-align: center; padding: 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--red); letter-spacing: -.03em; }
.stat-label { font-size: .8rem; color: var(--text-muted); margin-top: 4px; }

/* ── Mockup ───────────────────────────────────────────────── */
.hero-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); font-family: Arial, sans-serif; }
.hero-card-bar { background: #f8f9fa; border-bottom: 1px solid var(--border); padding: 10px 14px; display: flex; align-items: center; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot-r { background: #ff5f57; } .dot-y { background: #ffbd2e; } .dot-g { background: #28c840; }
.hero-card-url { flex: 1; background: #fff; border-radius: 20px; padding: 4px 10px; font-size: .72rem; color: #555; margin-left: 6px; border: 1px solid #e8eaed; }
.hero-card-body { padding: 16px; }

/* ── CTA section ──────────────────────────────────────────── */
.cta-band { background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%); color: #fff; padding: 72px 0; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.btn-white { background: #fff; color: var(--red); font-weight: 700; padding: 14px 32px; border-radius: 8px; text-decoration: none !important; display: inline-block; font-size: 1rem; transition: transform .15s, box-shadow .15s; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* ── Article ──────────────────────────────────────────────── */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 64px 24px; }
.article-wrap h1 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 20px; }
.article-wrap h2 { margin: 40px 0 14px; }
.article-wrap h3 { margin: 28px 0 10px; }
.article-wrap p { margin-bottom: 18px; }
.article-wrap ul { margin: 12px 0 18px 22px; }
.article-wrap li { margin-bottom: 8px; line-height: 1.7; color: var(--text-muted); }
.article-meta { color: var(--text-muted); font-size: .85rem; margin-bottom: 28px; }

/* ── See also ─────────────────────────────────────────────── */
.see-also-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 20px; }
.see-also-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; transition: box-shadow .15s; }
.see-also-card:hover { box-shadow: var(--shadow); }
.see-also-card .label { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin-bottom: 5px; }
.see-also-card .title { font-size: .9rem; font-weight: 600; color: var(--text); line-height: 1.4; }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb { font-size: .82rem; color: var(--text-muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--red); text-decoration: none; }

/* ── Tarif pill ───────────────────────────────────────────── */
.tarif-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.tarif-pill { display: flex; align-items: center; gap: 8px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 100px; padding: 8px 16px; font-size: .875rem; }
.tarif-pill .price { font-weight: 800; color: var(--red); font-size: 1rem; }

/* ── FAQ Accordion ────────────────────────────────────────── */
.faq-list { margin: 20px 0 32px; }
.faq-item { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; padding: 16px 20px;
  font-size: .95rem; font-weight: 600; color: var(--text); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-family: inherit; line-height: 1.4;
}
.faq-q::after { content: '+'; font-size: 1.3rem; font-weight: 400; color: var(--red); flex-shrink: 0; transition: transform .2s; }
.faq-q.open::after { transform: rotate(45deg); }
.faq-q:hover { background: var(--bg-alt); }
.faq-a { padding: 0 20px 16px; color: var(--text-muted); font-size: .9rem; line-height: 1.7; }
.faq-a p { margin: 0; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { background: #1c1c1e; color: rgba(255,255,255,.7); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand { font-size: 1.25rem; font-weight: 800; color: #fff; letter-spacing: -.02em; margin-bottom: 10px; }
.footer-brand span { color: var(--red); }
.footer-tagline { font-size: .88rem; line-height: 1.6; color: rgba(255,255,255,.55); }
.site-footer h5 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.site-footer ul li a { color: rgba(255,255,255,.6); font-size: .88rem; text-decoration: none; transition: color .15s; }
.site-footer ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; font-size: .8rem; color: rgba(255,255,255,.4); flex-wrap: wrap; gap: 8px; }
@media(max-width:700px){ .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ── Mobile CTA ───────────────────────────────────────────── */
.mobile-cta-fixed { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; background: #fff; border-top: 1px solid var(--border); padding: 12px 16px; }
.mobile-cta-fixed a { display: block; text-align: center; }
@media(max-width:768px){ .mobile-cta-fixed { display: block; } body { padding-bottom: 64px; } }

/* ── Responsive ───────────────────────────────────────────── */
@media(max-width:600px){
  .section { padding: 48px 0; }
  .hero { padding: 48px 0 40px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}
