/* ═══════════════════════════════════════════════════════════
   ZOOM IN MEDIA — CSS v2
   Mobile-first · Light/Dark Mode · Animations
   ═══════════════════════════════════════════════════════════ */

/* ── TOKENS LIGHT (défaut) ───────────────────────────────── */
:root {
  --bg:        #FAFAF8;
  --bg2:       #F2F0EC;
  --bg3:       #E8E5DF;
  --surface:   #FFFFFF;
  --border:    #E0DDD7;
  --text:      #0F1923;
  --text2:     #4A5568;
  --text3:     #8A9BB0;
  --green:     #00B87A;
  --green-dk:  #008F5E;
  --green-lt:  #E6F9F2;
  --orange:    #FF4D1C;
  --orange-lt: #FFF0EB;
  --blue:      #1877F2;
  --blue-lt:   #EBF3FF;
  --red:       #FF0000;
  --red-lt:    #FFF0F0;
  --wp-blue:   #21759B;
  --wp-lt:     #EBF5FA;

  --shadow-sm: 0 2px 8px rgba(15,25,35,.08);
  --shadow-md: 0 8px 24px rgba(15,25,35,.12);
  --shadow-lg: 0 20px 60px rgba(15,25,35,.16);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --tr: 0.25s cubic-bezier(0.4,0,0.2,1);

  --font-display: 'Syne', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-ar:      'Cairo', sans-serif;
}

/* ── TOKENS DARK ─────────────────────────────────────────── */
[data-theme="dark"] {
  --bg:        #0C1118;
  --bg2:       #111820;
  --bg3:       #1A2332;
  --surface:   #161E2A;
  --border:    rgba(255,255,255,0.09);
  --text:      #F0EDE6;
  --text2:     #A0AEC0;
  --text3:     #5A6A80;
  --green-lt:  rgba(0,184,122,0.12);
  --orange-lt: rgba(255,77,28,0.12);
  --blue-lt:   rgba(24,119,242,0.12);
  --red-lt:    rgba(255,0,0,0.10);
  --wp-lt:     rgba(33,117,155,0.12);

  --shadow-sm: 0 2px 8px rgba(0,0,0,.25);
  --shadow-md: 0 8px 24px rgba(0,0,0,.35);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.50);
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background .3s, color .3s;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ── LANGUE ──────────────────────────────────────────────── */
body.ar { direction: rtl; }
body.fr .ar-text, body.ar .fr-text { display: none !important; }
.ar-text { display: none; font-family: var(--font-ar); }
.fr-text { display: block; }
span.ar-text, span.fr-text, li.ar-text, li.fr-text,
p.ar-text, p.fr-text, div.ar-text, div.fr-text { display: none; }
body.ar span.ar-text, body.ar li.ar-text,
body.ar p.ar-text, body.ar div.ar-text { display: block; }
body.fr span.fr-text, body.fr li.fr-text,
body.fr p.fr-text, body.fr div.fr-text { display: block; }
body.ar .ar-inline { display: inline !important; }
body.fr .fr-inline { display: inline !important; }
.ar-inline, .fr-inline { display: none; }

/* ── LAYOUT ──────────────────────────────────────────────── */
section { padding: 60px 0; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }
.text-green  { color: var(--green); }
.text-orange { color: var(--orange); }

/* ── TYPO ────────────────────────────────────────────────── */
.section-eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800; line-height: 1.18; margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem; color: var(--text2);
  max-width: 580px; line-height: 1.75;
}

/* ── SCROLL REVEAL ───────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-24px); transition: opacity .6s ease, transform .6s ease; }
.reveal-right { opacity: 0; transform: translateX(24px);  transition: opacity .6s ease, transform .6s ease; }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── BREAKING NEWS TICKER ────────────────────────────────── */
.ticker {
  background: var(--orange);
  color: #fff;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: .8rem; font-weight: 600;
}
.ticker-inner {
  display: inline-block;
  animation: ticker-scroll 30s linear infinite;
}
@keyframes ticker-scroll {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-100%); }
}
.ticker-sep { margin: 0 32px; opacity: .5; }

/* ── NAVBAR ──────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 0 20px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background var(--tr), box-shadow var(--tr);
}
.nav-logo {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 800;
  color: var(--text);
  display: flex; align-items: center; gap: 6px;
}
.nav-logo .logo-dot { color: var(--green); }
.nav-links {
  display: none; /* mobile: caché */
  gap: 24px; list-style: none;
}
.nav-links a {
  font-size: .85rem; font-weight: 500; color: var(--text2);
  transition: color var(--tr); white-space: nowrap;
}
.nav-links a:hover { color: var(--green); }
.nav-right { display: flex; align-items: center; gap: 10px; }

/* Contrôles navbar */
.theme-toggle {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--bg2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem; transition: all var(--tr);
}
.theme-toggle:hover { background: var(--bg3); }
.lang-toggle { display: flex; gap: 3px; }
.lang-btn {
  padding: 5px 9px; border: 1px solid var(--border);
  border-radius: 6px; font-size: .72rem; font-weight: 700;
  cursor: pointer; transition: all var(--tr);
  background: transparent; color: var(--text3);
}
.lang-btn.active {
  background: var(--green); color: #fff; border-color: var(--green);
}
.nav-cta {
  background: var(--green); color: #fff;
  padding: 9px 18px; border-radius: var(--r-sm);
  font-weight: 700; font-size: .82rem; border: none; cursor: pointer;
  transition: all var(--tr); white-space: nowrap;
}
.nav-cta:hover { background: var(--green-dk); transform: translateY(-1px); }

/* Menu burger mobile */
.burger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all var(--tr);
}
.mobile-menu {
  display: none; position: fixed; inset: 64px 0 0 0;
  background: var(--surface); z-index: 999;
  flex-direction: column; padding: 24px 20px; gap: 4px;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 16px; border-radius: var(--r-sm);
  font-weight: 600; color: var(--text2); font-size: .95rem;
  transition: all var(--tr);
}
.mobile-menu a:hover { background: var(--bg2); color: var(--green); }
.mobile-menu .mob-cta {
  margin-top: 8px; background: var(--green); color: #fff;
  padding: 14px; border-radius: var(--r-sm); text-align: center;
  font-weight: 700;
}

/* ── BOUTONS GLOBAUX ─────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff;
  padding: 14px 26px; border-radius: var(--r-sm);
  font-weight: 700; font-size: .95rem; border: none; cursor: pointer;
  transition: all var(--tr); touch-action: manipulation;
}
.btn-primary:hover { background: var(--green-dk); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,184,122,.35); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  padding: 14px 26px; border-radius: var(--r-sm);
  border: 2px solid var(--border); font-weight: 600; font-size: .95rem;
  cursor: pointer; transition: all var(--tr);
}
.btn-secondary:hover { border-color: var(--green); color: var(--green); }
.btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff;
  padding: 14px 22px; border-radius: var(--r-sm);
  font-weight: 700; font-size: .95rem; border: none; cursor: pointer;
  transition: all var(--tr);
}
.btn-wa:hover { background: #1DB954; transform: translateY(-2px); }

/* ── HERO ────────────────────────────────────────────────── */
#hero {
  background: var(--bg);
  padding: 48px 0 40px;
  position: relative; overflow: hidden;
}
.hero-inner {
  display: flex; flex-direction: column; gap: 40px;
}
.hero-eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-lt); border: 1px solid rgba(0,184,122,.25);
  padding: 6px 14px; border-radius: 20px;
  font-size: .75rem; font-weight: 700; color: var(--green);
  margin-bottom: 16px;
}
.hero-eyebrow-pill::before {
  content: ''; width: 7px; height: 7px; background: var(--green);
  border-radius: 50%; animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1}50%{opacity:.3} }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 800; line-height: 1.1; margin-bottom: 20px;
}
.hero-title em { font-style: normal; color: var(--green); }
.hero-sub {
  font-size: 1.05rem; color: var(--text2); line-height: 1.75;
  margin-bottom: 32px; max-width: 540px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 5px 12px; border-radius: 20px;
  font-size: .75rem; font-weight: 600; color: var(--text2);
  box-shadow: var(--shadow-sm);
}
.badge-icon { width: 14px; height: 14px; }

/* HERO IMAGE MOCKUP */
.hero-visual {
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
}
.hero-visual-bar {
  background: var(--bg3); padding: 10px 14px;
  display: flex; align-items: center; gap: 6px;
}
.hv-dot { width: 10px; height: 10px; border-radius: 50%; }
.hv-dot:nth-child(1) { background: #FF5F57; }
.hv-dot:nth-child(2) { background: #FFBD2E; }
.hv-dot:nth-child(3) { background: #28CA41; }
.hv-url {
  margin-left: 8px; flex: 1; background: var(--bg);
  border-radius: 6px; padding: 4px 10px; font-size: .72rem; color: var(--text3);
  border: 1px solid var(--border);
}
.hero-visual-img {
  width: 100%; height: 220px; object-fit: cover;
  display: block;
}
.hero-visual-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
  padding: 20px 16px;
  display: flex; align-items: flex-end; justify-content: space-between;
}
.hvo-stat {
  text-align: center; color: #fff;
}
.hvo-num {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 800;
}
.hvo-lbl { font-size: .68rem; opacity: .8; }

/* ── STATS STRIP ─────────────────────────────────────────── */
.stats-strip {
  background: var(--green);
  padding: 20px 0;
}
.stats-inner {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 16px;
}
.stat-item { text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: #fff; }
.stat-lbl { font-size: .72rem; color: rgba(255,255,255,.8); margin-top: 2px; }

/* ── DIAGNOSTIC ──────────────────────────────────────────── */
#diagnostic { background: var(--bg2); }
.diag-grid {
  display: grid; grid-template-columns: 1fr; gap: 14px;
  margin: 36px 0 28px;
}
.diag-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 20px;
  display: flex; align-items: flex-start; gap: 16px;
  box-shadow: var(--shadow-sm); transition: all var(--tr);
}
.diag-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.diag-icon-wrap {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--orange-lt); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.diag-title { font-weight: 700; font-size: .95rem; margin-bottom: 4px; }
.diag-text { font-size: .82rem; color: var(--text2); line-height: 1.5; }
.diag-conclusion {
  background: var(--green-lt); border: 1px solid rgba(0,184,122,.25);
  border-radius: var(--r-md); padding: 20px 24px;
  font-size: .92rem; color: var(--text); line-height: 1.7;
}
.diag-conclusion strong { color: var(--green); }

/* ── ÉCOSYSTÈME ──────────────────────────────────────────── */
#ecosysteme { background: var(--bg); }
.ecosystem-layers { margin: 36px 0 24px; }
.eco-layer {
  padding: 18px 20px; margin-bottom: 2px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.eco-layer-3 { background: var(--green-lt); border-radius: var(--r-md) var(--r-md) 0 0; border: 1px solid rgba(0,184,122,.2); }
.eco-layer-2 { background: var(--blue-lt); border: 1px solid rgba(24,119,242,.15); border-top: none; }
.eco-layer-1 { background: var(--orange-lt); border-radius: 0 0 var(--r-md) var(--r-md); border: 1px solid rgba(255,77,28,.15); border-top: none; }
.eco-label { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.eco-layer-3 .eco-label { color: var(--green); }
.eco-layer-2 .eco-label { color: var(--blue); }
.eco-layer-1 .eco-label { color: var(--orange); }
.eco-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.eco-tag {
  padding: 3px 10px; border-radius: 12px; font-size: .73rem; font-weight: 600;
}
.eco-layer-3 .eco-tag { background: rgba(0,184,122,.15); color: var(--green); }
.eco-layer-2 .eco-tag { background: rgba(24,119,242,.15); color: var(--blue); }
.eco-layer-1 .eco-tag { background: rgba(255,77,28,.15); color: var(--orange); }
.eco-base {
  text-align: center; padding: 14px;
  background: var(--text); color: #fff;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  letter-spacing: .05em;
}

/* ── SERVICES INCLUS ─────────────────────────────────────── */
#services { background: var(--bg2); }
.services-group { margin-bottom: 40px; }
.group-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 20px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; margin-bottom: 20px;
}
.g-tech { background: var(--orange-lt); color: var(--orange); }
.g-visi { background: var(--blue-lt); color: var(--blue); }
.g-cont { background: var(--green-lt); color: var(--green); }
.svc-grid {
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
.svc-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 20px;
  display: flex; align-items: flex-start; gap: 14px;
  box-shadow: var(--shadow-sm); transition: all var(--tr);
  position: relative; overflow: hidden;
}
.svc-card::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 100%; border-radius: 3px 0 0 3px;
}
.svc-card.tech::after  { background: var(--orange); }
.svc-card.visi::after  { background: var(--blue); }
.svc-card.excl::after  { background: linear-gradient(180deg, var(--green), var(--orange)); }
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.svc-logo-wrap {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: var(--r-sm); display: flex;
  align-items: center; justify-content: center;
  overflow: hidden;
}
.svc-logo-wrap img { width: 28px; height: 28px; object-fit: contain; }
.svc-name { font-weight: 700; font-size: .9rem; margin-bottom: 4px; }
.svc-desc { font-size: .8rem; color: var(--text2); line-height: 1.55; }
.excl-pill {
  display: inline-block; margin-bottom: 4px;
  background: linear-gradient(90deg,var(--green),var(--orange));
  color: #fff; padding: 2px 8px; border-radius: 8px;
  font-size: .64rem; font-weight: 800; text-transform: uppercase;
}
.svc-card.excl-full {
  grid-column: 1/-1; flex-direction: column; align-items: flex-start;
}
.svc-card.excl-full .svc-logo-wrap { width: 52px; height: 52px; }
.svc-card.excl-full .svc-logo-wrap img { width: 36px; height: 36px; }

/* ── HÉBERGEMENT ─────────────────────────────────────────── */
#hebergement { background: var(--bg); }
.host-layout { display: flex; flex-direction: column; gap: 32px; }
.host-feats { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.host-feat {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
}
.hf-icon-wrap {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: var(--r-sm);
  background: var(--green-lt); display: flex; align-items: center;
  justify-content: center; font-size: 1.1rem;
}
.hf-title { font-weight: 700; font-size: .85rem; margin-bottom: 2px; }
.hf-desc  { font-size: .77rem; color: var(--text2); }
.host-promise {
  margin-top: 20px; padding: 16px 20px;
  background: var(--green); color: #fff; border-radius: var(--r-md);
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  text-align: center;
}
.infra-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--shadow-md); text-align: center;
}
.infra-node {
  display: inline-block; padding: 10px 20px;
  border-radius: var(--r-sm); font-weight: 600; font-size: .85rem;
  margin: 6px auto;
}
.in-visitors { background: var(--blue-lt); color: var(--blue); border: 1px solid rgba(24,119,242,.2); }
.in-server   { background: var(--green-lt); color: var(--green); border: 1px solid rgba(0,184,122,.25); min-width: 200px; }
.in-site     { background: var(--orange-lt); color: var(--orange); border: 1px solid rgba(255,77,28,.2); }
.in-arrow    { display: block; font-size: 1.2rem; color: var(--text3); padding: 3px 0; }
.in-feats {
  list-style: none; text-align: left; margin-top: 10px;
  padding: 10px 14px; background: var(--bg2); border-radius: var(--r-sm);
}
.in-feats li { font-size: .78rem; color: var(--text2); padding: 3px 0; }
.in-feats li::before { content: '✓ '; color: var(--green); font-weight: 700; }

/* ── PLUGIN IA ───────────────────────────────────────────── */
#plugin { background: var(--bg2); }
.plugin-layout { display: flex; flex-direction: column; gap: 32px; }
.excl-banner {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--green-lt), var(--orange-lt));
  border: 1px solid rgba(0,184,122,.3);
  padding: 8px 16px; border-radius: 24px;
  font-size: .73rem; font-weight: 800; text-transform: uppercase;
  color: var(--green); margin-bottom: 20px; letter-spacing: .08em;
}
.plugin-config {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 20px; margin-top: 24px;
  box-shadow: var(--shadow-sm);
}
.cfg-header { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text3); margin-bottom: 14px; }
.cfg-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .83rem;
}
.cfg-row:last-child { border-bottom: none; }
.cfg-key { color: var(--text2); }
.cfg-val { color: var(--green); font-weight: 600; }
.flow-diagram { display: flex; flex-direction: column; gap: 0; }
.flow-node {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.flow-node.flow-center {
  background: var(--green-lt); border-color: rgba(0,184,122,.35);
  padding: 22px 20px;
}
.flow-arrow { text-align: center; color: var(--green); font-size: 1.3rem; padding: 4px 0; }
.flow-lbl { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text3); margin-bottom: 4px; }
.flow-title { font-weight: 700; font-size: .9rem; color: var(--text); }
.flow-sub { font-size: .78rem; color: var(--text2); margin-top: 4px; }
.flow-feats { list-style: none; margin-top: 10px; }
.flow-feats li { font-size: .78rem; color: var(--green); padding: 2px 0; }
.flow-feats li::before { content: '→ '; }

/* ── WORDPRESS ───────────────────────────────────────────── */
#wordpress { background: var(--bg); }
.wp-layout { display: flex; flex-direction: column; gap: 32px; }
.wp-logo-row {
  display: flex; align-items: center; gap: 16px; margin-bottom: 20px;
}
.wp-logo-icon {
  width: 56px; height: 56px; background: var(--wp-blue);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.wp-logo-icon svg { width: 32px; height: 32px; fill: #fff; }
.wp-logo-text h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; }
.wp-logo-text p  { font-size: .78rem; color: var(--text2); }
.wp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.wp-stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 16px; text-align: center;
  box-shadow: var(--shadow-sm);
}
.wp-stat-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--wp-blue); }
.wp-stat-lbl { font-size: .72rem; color: var(--text2); margin-top: 3px; }
.wp-reasons { display: flex; flex-direction: column; gap: 12px; }
.wp-reason {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); transition: all var(--tr);
}
.wp-reason:hover { border-color: var(--wp-blue); transform: translateX(4px); }
.wr-icon-wrap {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: var(--r-sm);
  background: var(--wp-lt); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.wr-title { font-weight: 700; font-size: .88rem; margin-bottom: 4px; }
.wr-text  { font-size: .79rem; color: var(--text2); line-height: 1.55; }

/* ── PERFORMANCE ─────────────────────────────────────────── */
#performance { background: var(--bg2); }
.perf-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
.perf-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm);
}
.perf-card-title { font-weight: 700; font-size: .9rem; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
/* Jauges */
.speed-row { display: flex; justify-content: space-around; gap: 16px; }
.speed-gauge { text-align: center; }
.gauge-ring {
  width: 90px; height: 90px; margin: 0 auto 8px;
  border-radius: 50%; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.gauge-ring.score-94 { background: conic-gradient(#34C759 0% 94%, var(--border) 94% 100%); }
.gauge-ring.score-98 { background: conic-gradient(#34C759 0% 98%, var(--border) 98% 100%); }
.gauge-ring::before {
  content: ''; position: absolute; inset: 8px;
  background: var(--surface); border-radius: 50%;
}
.gauge-score {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
  color: #34C759;
}
.gauge-lbl { font-size: .72rem; color: var(--text2); font-weight: 600; }
/* CWV */
.cwv-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .83rem;
}
.cwv-row:last-child { border-bottom: none; }
.cwv-lbl { color: var(--text2); }
.cwv-ok { color: #34C759; font-weight: 700; }
/* Sécurité */
.sec-stack { display: flex; flex-direction: column; gap: 10px; }
.sec-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; background: var(--bg2);
  border-radius: var(--r-sm); font-size: .82rem;
}
.sec-item-icon { font-size: 1.1rem; flex-shrink: 0; }
.sec-item-name { font-weight: 600; margin-bottom: 1px; }
.sec-item-desc { font-size: .74rem; color: var(--text2); }

/* ── RESPONSIVE SECTION ──────────────────────────────────── */
#responsive { background: var(--bg); }
.resp-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 28px; flex-wrap: wrap; }
.resp-tab {
  padding: 8px 18px; border-radius: 20px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text2); font-weight: 600; cursor: pointer;
  font-size: .82rem; transition: all var(--tr);
}
.resp-tab.active { background: var(--green); color: #fff; border-color: var(--green); }
.resp-mockup-wrap { display: flex; justify-content: center; align-items: flex-end; gap: 12px; min-height: 220px; }
.resp-device {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-md); transition: all var(--tr);
  opacity: .4; transform: scale(.88);
}
.resp-device.active { opacity: 1; transform: scale(1); border-color: var(--green); }
.resp-device-bar {
  background: var(--bg3); height: 16px;
  display: flex; align-items: center; padding: 0 8px; gap: 4px;
}
.resp-dot { width: 5px; height: 5px; border-radius: 50%; }
.rd-r{background:#FF5F57;}.rd-y{background:#FFBD2E;}.rd-g{background:#28CA41;}
.resp-body { padding: 10px; }
.resp-line { height: 6px; background: rgba(0,184,122,.25); border-radius: 3px; margin-bottom: 5px; }
.resp-line:nth-child(2){width:80%;background:rgba(255,77,28,.15);}
.resp-line:nth-child(3){width:65%;}
.r-desk { width: 300px; }
.r-tab  { width: 160px; }
.r-mob  { width: 100px; }
.resp-stat { text-align: center; margin-top: 28px; }
.resp-stat-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--green); }

/* ── ROADMAP ─────────────────────────────────────────────── */
#roadmap { background: var(--bg2); }
.roadmap-cards {
  display: flex; flex-direction: column; gap: 12px; margin-top: 32px;
}
.rm-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 16px 20px;
  display: flex; align-items: flex-start; gap: 16px;
  box-shadow: var(--shadow-sm); transition: all var(--tr);
}
.rm-card:hover { border-color: var(--green); }
.rm-step-num {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--green); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: .85rem;
}
.rm-period { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--green); margin-bottom: 3px; }
.rm-title  { font-weight: 700; font-size: .9rem; margin-bottom: 3px; }
.rm-desc   { font-size: .78rem; color: var(--text2); line-height: 1.5; }

/* ── CADRE LÉGAL ─────────────────────────────────────────── */
#legal { background: var(--bg); }
.legal-selector {
  display: grid; grid-template-columns: 1fr; gap: 12px;
  margin: 28px 0;
}
.profile-selector-btn {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-radius: var(--r-md);
  border: 2px solid var(--border); background: var(--surface);
  cursor: pointer; transition: all var(--tr);
  box-shadow: var(--shadow-sm); text-align: left;
}
.profile-selector-btn.active { border-color: var(--green); background: var(--green-lt); }
.psb-icon { font-size: 1.8rem; flex-shrink: 0; }
.psb-title { font-weight: 700; font-size: .9rem; }
.psb-sub   { font-size: .74rem; color: var(--text2); margin-top: 2px; }
.legal-reassure {
  background: var(--green-lt); border: 1px solid rgba(0,184,122,.25);
  border-radius: var(--r-md); padding: 18px 22px;
  font-size: .88rem; line-height: 1.7; margin-bottom: 28px;
}
.legal-reassure strong { color: var(--green); }
.legal-content { display: none; }
.legal-content.active { display: block; }
.legal-steps { display: flex; flex-direction: column; gap: 12px; }
.legal-step {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 18px;
  box-shadow: var(--shadow-sm); transition: border-color var(--tr);
}
.legal-step:hover { border-color: var(--green); }
.ls-num {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--green); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .85rem;
}
.ls-title { font-weight: 700; margin-bottom: 5px; font-size: .88rem; }
.ls-desc  { font-size: .8rem; color: var(--text2); line-height: 1.6; }
.ls-docs  { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.doc-tag {
  padding: 3px 9px; background: var(--bg2);
  border: 1px solid var(--border); border-radius: 10px;
  font-size: .7rem; color: var(--text2);
}

/* Tableau comparatif */
.cmp-table { width: 100%; border-collapse: collapse; margin-top: 32px; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.cmp-table th { padding: 13px 16px; font-weight: 700; font-size: .8rem; }
.cmp-table th:first-child { background: rgba(255,0,0,.06); color: #E53E3E; }
.cmp-table th:last-child  { background: var(--green-lt); color: var(--green); }
.cmp-table td { padding: 11px 16px; font-size: .82rem; }
.cmp-table tr:nth-child(odd)  td:first-child { background: rgba(255,0,0,.02); color: var(--text2); }
.cmp-table tr:nth-child(odd)  td:last-child  { background: var(--green-lt); color: var(--text); }
.cmp-table tr:nth-child(even) td:first-child { background: rgba(255,0,0,.04); color: var(--text2); }
.cmp-table tr:nth-child(even) td:last-child  { background: rgba(0,184,122,.06); color: var(--text); }
.cmp-table td:first-child::before { content: '✗ '; color: #E53E3E; font-weight: 700; }
.cmp-table td:last-child::before  { content: '✓ '; color: var(--green); font-weight: 700; }

/* Revenus */
.rev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.rev-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 16px;
  box-shadow: var(--shadow-sm); transition: all var(--tr);
}
.rev-card:hover { border-color: var(--green); transform: translateY(-3px); }
.rev-icon-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.rev-logo { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; }
.rev-title { font-weight: 700; font-size: .85rem; }
.rev-desc  { font-size: .75rem; color: var(--text2); line-height: 1.5; margin-bottom: 10px; }
.rev-meter { display: flex; gap: 3px; }
.rev-dot { width: 14px; height: 6px; background: var(--bg3); border-radius: 3px; }
.rev-dot.on { background: var(--green); }

/* ── SIMULATEUR ──────────────────────────────────────────── */
#simulateur { background: var(--bg2); }
.sim-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 24px;
  box-shadow: var(--shadow-md); margin-top: 28px;
  display: flex; flex-direction: column; gap: 28px;
}
.sim-label { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text3); margin-bottom: 12px; }
.sim-slider {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 6px; border-radius: 3px; background: var(--bg3); outline: none;
}
.sim-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px;
  border-radius: 50%; background: var(--green); cursor: pointer;
  box-shadow: 0 0 0 4px rgba(0,184,122,.2);
}
.sim-traf-val { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--green); }
.sim-traf-lbl { font-size: .76rem; color: var(--text2); }
.sim-sources { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.sim-src {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border: 1px solid var(--border);
  border-radius: var(--r-sm); cursor: pointer;
  background: var(--surface); transition: all var(--tr); font-size: .82rem;
}
.sim-src:hover { border-color: var(--green); }
.sim-src input { accent-color: var(--green); width: 15px; height: 15px; }
.sim-src-lbl { flex: 1; font-weight: 500; }
.sim-src-logo { width: 18px; height: 18px; object-fit: contain; }
.sim-src-rpm { font-size: .72rem; color: var(--text3); }
.sim-results-title { font-weight: 700; font-size: .9rem; margin-bottom: 16px; }
.sim-bar-item { margin-bottom: 13px; }
.sim-bar-hd { display: flex; justify-content: space-between; font-size: .79rem; margin-bottom: 5px; }
.sim-bar-lbl { color: var(--text2); }
.sim-bar-val { font-weight: 700; color: var(--text); }
.sim-bar-track { height: 8px; background: var(--bg3); border-radius: 4px; overflow: hidden; }
.sim-bar-fill  { height: 100%; border-radius: 4px; background: var(--green); transition: width .6s ease; }
.sim-total-box {
  background: var(--green-lt); border: 1px solid rgba(0,184,122,.3);
  border-radius: var(--r-md); padding: 18px; text-align: center;
}
.sim-total-lbl { font-size: .76rem; color: var(--text2); margin-bottom: 4px; }
.sim-total-val { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--green); }
.sim-note { font-size: .72rem; color: var(--text3); font-style: italic; margin-top: 10px; line-height: 1.5; }

/* ── COMPLÉMENTAIRES ─────────────────────────────────────── */
#complementaires { background: var(--bg); }
.comp-cards { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
.comp-card {
  background: var(--surface); border: 2px solid var(--border);
  border-radius: var(--r-lg); padding: 24px;
  box-shadow: var(--shadow-sm); transition: all var(--tr);
}
.comp-card.selected { border-color: var(--green); background: var(--green-lt); }
.comp-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.comp-logo { width: 44px; height: 44px; border-radius: var(--r-sm); object-fit: cover; flex-shrink: 0; }
.comp-title  { font-family: var(--font-display); font-weight: 700; font-size: .95rem; }
.comp-desc   { font-size: .82rem; color: var(--text2); line-height: 1.6; margin-bottom: 14px; }
.comp-feats  { list-style: none; margin-bottom: 18px; }
.comp-feats li { font-size: .78rem; color: var(--text); padding: 3px 0; }
.comp-feats li::before { content: '✓ '; color: var(--green); font-weight: 700; }
.comp-price {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 800;
  color: var(--text); margin-bottom: 16px;
}
.comp-price span { font-size: .8rem; font-weight: 400; color: var(--text2); }
.comp-toggle {
  width: 100%; padding: 12px; border-radius: var(--r-sm);
  border: 2px solid var(--green); background: transparent;
  color: var(--green); font-weight: 700; font-size: .88rem; cursor: pointer;
  transition: all var(--tr);
}
.comp-card.selected .comp-toggle { background: var(--green); color: #fff; }

/* ── CALCULATEUR ─────────────────────────────────────────── */
#calculateur { background: var(--bg2); }
.calc-layout { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.calc-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm);
}
.calc-box-title { font-weight: 700; font-size: .95rem; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.calc-base-block {
  background: var(--green-lt); border: 1px solid rgba(0,184,122,.25);
  border-radius: var(--r-md); padding: 16px; margin-bottom: 18px;
}
.calc-base-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.calc-base-name { font-weight: 700; font-size: .88rem; }
.calc-base-cb { display: flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--text2); cursor: pointer; }
.calc-base-cb input { accent-color: var(--green); width: 16px; height: 16px; }
.crossed-list { list-style: none; margin-bottom: 12px; }
.crossed-list li {
  font-size: .76rem; color: var(--text2); padding: 2px 0;
  display: flex; justify-content: space-between;
}
.crossed-list li del { color: var(--text3); }
.savings-box {
  background: var(--surface); border-radius: var(--r-sm);
  padding: 12px; text-align: center;
  border: 1px solid rgba(0,184,122,.2);
}
.savings-real  { font-size: .75rem; color: var(--text3); text-decoration: line-through; }
.savings-price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--green); }
.savings-pct   { font-size: .73rem; color: var(--green); font-weight: 600; }
.calc-opts { display: flex; flex-direction: column; gap: 10px; }
.calc-opt {
  display: flex; align-items: center; gap: 12px;
  padding: 13px; border: 1.5px solid var(--border);
  border-radius: var(--r-sm); cursor: pointer; transition: all var(--tr);
  background: var(--surface);
}
.calc-opt:hover { border-color: var(--green); }
.calc-opt.selected { border-color: var(--green); background: var(--green-lt); }
.calc-opt input { accent-color: var(--green); width: 17px; height: 17px; flex-shrink: 0; cursor: pointer; }
.co-logo { width: 28px; height: 28px; object-fit: contain; border-radius: 4px; flex-shrink: 0; }
.co-name  { font-weight: 600; font-size: .87rem; }
.co-price { font-size: .74rem; color: var(--text2); }
.co-tag   { font-size: .7rem; color: var(--green); font-weight: 600; margin-left: auto; background: var(--green-lt); padding: 2px 8px; border-radius: 10px; white-space: nowrap; }
/* Résumé */
.calc-summary { display: flex; flex-direction: column; margin-bottom: 20px; }
.calc-line {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .85rem;
}
.calc-line:last-child { border-bottom: none; }
.cl-lbl   { color: var(--text2); }
.cl-price { font-weight: 700; }
.cl-price.inactive { color: var(--text3); text-decoration: line-through; }
.calc-total-box {
  background: var(--green); border-radius: var(--r-md);
  padding: 20px; text-align: center; margin-bottom: 18px;
}
.ct-lbl   { font-size: .74rem; color: rgba(255,255,255,.8); margin-bottom: 6px; }
.ct-price { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: #fff; transition: transform .3s; }
.ct-price.bump { transform: scale(1.06); }
.calc-ctas { display: flex; flex-direction: column; gap: 10px; }

/* ── COMPARATIF PRESTATAIRES ─────────────────────────────── */
#comparatif { background: var(--bg); }

/* ── TÉMOIGNAGES ─────────────────────────────────────────── */
#temoignages { background: var(--bg2); }
.testi-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
.testi-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 24px;
  box-shadow: var(--shadow-sm); transition: all var(--tr);
}
.testi-card:hover { border-color: var(--green); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi-stars { color: #F6B000; font-size: .9rem; margin-bottom: 12px; letter-spacing: 2px; }
.testi-quote {
  font-size: .85rem; color: var(--text2); line-height: 1.7;
  margin-bottom: 20px; font-style: italic;
  border-left: 3px solid var(--green); padding-left: 14px;
}
.testi-foot { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; color: #fff; font-size: .9rem;
  flex-shrink: 0;
}
.testi-name   { font-weight: 700; font-size: .88rem; }
.testi-site   { font-size: .74rem; color: var(--green); margin-top: 1px; }
.testi-result { font-size: .72rem; color: var(--text3); margin-top: 2px; }

/* ── FAQ ─────────────────────────────────────────────────── */
#faq { background: var(--bg); }
.faq-tabs { display: flex; gap: 7px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.faq-tab {
  padding: 7px 16px; border-radius: 20px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text2); font-weight: 600; cursor: pointer;
  font-size: .78rem; transition: all var(--tr);
}
.faq-tab.active { background: var(--green); color: #fff; border-color: var(--green); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  color: var(--text); padding: 16px 0; font-size: .9rem; font-weight: 600;
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 14px; transition: color var(--tr);
}
.faq-q:hover { color: var(--green); }
.faq-chevron { color: var(--text3); font-size: 1rem; transition: transform var(--tr); flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--green); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  font-size: .84rem; color: var(--text2); line-height: 1.75;
}
.faq-item.open .faq-a { max-height: 320px; padding-bottom: 16px; }

/* ── CTA FINAL ───────────────────────────────────────────── */
#cta-final {
  background: var(--green);
  text-align: center; padding: 72px 0;
}
.cta-title { font-family: var(--font-display); font-size: clamp(1.6rem,4vw,2.6rem); font-weight: 800; color: #fff; margin-bottom: 16px; line-height: 1.15; }
.cta-sub   { font-size: 1rem; color: rgba(255,255,255,.85); max-width: 540px; margin: 0 auto 36px; line-height: 1.7; }
.cta-btns  { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.btn-cta-white {
  background: #fff; color: var(--green);
  padding: 14px 26px; border-radius: var(--r-sm);
  font-weight: 700; font-size: .95rem; border: none; cursor: pointer;
  transition: all var(--tr);
}
.btn-cta-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.btn-cta-outline {
  background: transparent; color: #fff;
  padding: 14px 26px; border-radius: var(--r-sm);
  border: 2px solid rgba(255,255,255,.5); font-weight: 600; font-size: .95rem;
  cursor: pointer; transition: all var(--tr);
}
.btn-cta-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
.footer-logo { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.footer-tagline { font-size: .82rem; color: var(--text2); line-height: 1.6; }
.footer-col h4 {
  font-family: var(--font-display); font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--text);
  margin-bottom: 12px;
}
.footer-col a {
  display: block; font-size: .82rem; color: var(--text2); padding: 3px 0;
  transition: color var(--tr);
}
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 20px;
  font-size: .76rem; color: var(--text3); text-align: center;
}

/* ── MODAL ───────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6); z-index: 2000;
  display: none; align-items: flex-end; justify-content: center;
  backdrop-filter: blur(4px); padding: 0;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: 28px 20px; width: 100%; max-width: 600px;
  max-height: 92vh; overflow-y: auto; position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-handle {
  width: 40px; height: 4px; background: var(--border);
  border-radius: 2px; margin: 0 auto 20px;
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--bg2); border: 1px solid var(--border);
  color: var(--text); width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--tr);
}
.modal-close:hover { background: var(--bg3); }
.modal-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.modal-sub   { font-size: .83rem; color: var(--text2); margin-bottom: 24px; }
.form-group  { margin-bottom: 16px; }
.form-lbl    { display: block; font-size: .77rem; font-weight: 600; color: var(--text2); margin-bottom: 6px; }
.form-lbl span { color: var(--orange); }
.f-input, .f-select, .f-textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  background: var(--bg); color: var(--text);
  font-size: .88rem; font-family: var(--font-body);
  outline: none; transition: border-color var(--tr);
}
.f-input:focus, .f-select:focus, .f-textarea:focus { border-color: var(--green); }
.f-select option { background: var(--surface); }
.f-textarea { resize: vertical; min-height: 70px; }
.profile-radios { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.profile-radio input { display: none; }
.prc {
  padding: 12px; border: 1.5px solid var(--border);
  border-radius: var(--r-sm); transition: all var(--tr);
  text-align: center; cursor: pointer;
  background: var(--bg);
}
.profile-radio input:checked + .prc { border-color: var(--green); background: var(--green-lt); }
.prc-icon  { font-size: 1.3rem; margin-bottom: 4px; }
.prc-title { font-size: .78rem; font-weight: 700; }
.prc-sub   { font-size: .68rem; color: var(--text3); margin-top: 2px; }
.moualama-check { display: none; margin-top: 8px; }
.moualama-check.visible { display: block; }
.moualama-lbl {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; background: var(--green-lt);
  border: 1px solid rgba(0,184,122,.2); border-radius: var(--r-sm);
  cursor: pointer; font-size: .82rem;
}
.moualama-lbl input { accent-color: var(--green); }
.svc-checks { display: flex; flex-direction: column; gap: 7px; }
.svc-chk {
  display: flex; align-items: center; gap: 9px;
  padding: 11px 12px; border: 1.5px solid var(--border);
  border-radius: var(--r-sm); cursor: pointer;
  font-size: .82rem; transition: all var(--tr);
  background: var(--bg);
}
.svc-chk:hover { border-color: var(--green); }
.svc-chk input { accent-color: var(--green); width: 15px; height: 15px; }
.svc-chk-price { margin-left: auto; color: var(--green); font-weight: 700; font-size: .78rem; }
.form-total {
  background: var(--green-lt); border: 1px solid rgba(0,184,122,.25);
  border-radius: var(--r-sm); padding: 12px 16px;
  display: flex; justify-content: space-between; align-items: center; margin-top: 14px;
}
.ft-lbl { font-size: .8rem; color: var(--text2); }
.ft-val { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: var(--green); }
.btn-submit-form {
  width: 100%; padding: 15px; background: var(--green); color: #fff;
  border: none; border-radius: var(--r-sm); font-weight: 700; font-size: .95rem;
  cursor: pointer; margin-top: 20px; transition: all var(--tr);
}
.btn-submit-form:hover { background: var(--green-dk); }
.btn-submit-form:disabled { opacity: .6; cursor: not-allowed; }
.form-success { display: none; text-align: center; padding: 32px 0; }
.fs-icon  { font-size: 3.5rem; margin-bottom: 12px; }
.fs-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--green); margin-bottom: 8px; }
.fs-text  { font-size: .86rem; color: var(--text2); }

/* ── DESKTOP (≥ 768px) ───────────────────────────────────── */
@media (min-width: 768px) {
  section { padding: 80px 0; }
  .nav-links    { display: flex; }
  .burger       { display: none; }
  .hero-inner   { flex-direction: row; align-items: center; gap: 48px; }
  .hero-left    { flex: 1; }
  .hero-visual  { flex: 1; min-width: 0; }
  .hero-visual-img { height: 300px; }
  .stats-inner  { grid-template-columns: repeat(4,1fr); }
  .diag-grid    { grid-template-columns: repeat(2,1fr); }
  .svc-grid     { grid-template-columns: repeat(2,1fr); }
  .host-layout  { flex-direction: row; align-items: flex-start; }
  .host-layout > * { flex: 1; }
  .plugin-layout { flex-direction: row; align-items: flex-start; }
  .plugin-layout > * { flex: 1; }
  .wp-layout    { flex-direction: row; align-items: flex-start; }
  .wp-layout > * { flex: 1; }
  .perf-grid    { grid-template-columns: repeat(3,1fr); }
  .legal-selector { grid-template-columns: 1fr 1fr; }
  .rev-grid     { grid-template-columns: repeat(3,1fr); }
  .sim-card     { flex-direction: row; }
  .sim-card > * { flex: 1; }
  .comp-cards   { grid-template-columns: repeat(3,1fr); }
  .calc-layout  { flex-direction: row; align-items: flex-start; }
  .calc-layout > * { flex: 1; }
  .testi-grid   { grid-template-columns: repeat(3,1fr); }
  .footer-grid  { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-bottom { text-align: left; display: flex; justify-content: space-between; }
  .modal {
    border-radius: var(--r-lg);
    margin: auto; max-height: 88vh;
  }
  .modal-overlay { align-items: center; padding: 20px; }
  .modal-handle { display: none; }
}

@media (min-width: 1024px) {
  .diag-grid    { grid-template-columns: repeat(5,1fr); }
  .svc-grid     { grid-template-columns: repeat(3,1fr); }
  .roadmap-cards { flex-direction: row; }
  .rm-card { flex-direction: column; flex: 1; text-align: center; }
  .rm-card .rm-step-num { margin: 0 auto 8px; }
  .rm-card:not(:last-child) { border-right: none; border-radius: var(--r-md) 0 0 var(--r-md); }
  .rm-card:last-child { border-radius: 0 var(--r-md) var(--r-md) 0; }
}
