:root {
  color-scheme: light;
  --ink: #111418;
  --muted: #5a606c;
  --accent: #0070ff;
  --accent-2: #2f8dff;
  --positive: #00bf63;
  --positive-soft: #d5f1e3;
  --alert: #ff3131;
  --bg: #f7f8fb;
  --panel: #ffffff;
  --panel-2: #f1f3f7;
  --border: #e3e7ee;
  --shadow: 0 18px 60px rgba(17, 20, 24, 0.08);
  --radius-l: 20px;
  --radius-m: 14px;
  --radius-s: 10px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  padding-bottom: 96px;
}

a { color: inherit; text-decoration: none; }

.page { padding: 16px 18px 120px; }
.container { width: min(var(--max-width), 100%); margin: 0 auto; }

.navbar { position: sticky; top: 0; z-index: 10; padding: 10px 0; backdrop-filter: blur(10px); }
.navbar .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  box-shadow: 0 10px 36px rgba(17, 20, 24, 0.1);
}

.brand { display: flex; gap: 10px; align-items: center; font-weight: 800; letter-spacing: -0.25px; }
.brand-mark { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 8px 26px rgba(0, 112, 255, 0.35); }
.muted { color: var(--muted); font-size: 14px; }

.nav-actions { display: flex; gap: 8px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; font-weight: 700; font-size: 14px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease; }
.btn-primary { background: linear-gradient(135deg, var(--accent), #0055cc); color: #fff; box-shadow: 0 12px 30px rgba(0, 112, 255, 0.28); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { background: var(--panel); border-color: var(--border); color: var(--ink); }
.btn-ghost:hover { box-shadow: 0 10px 30px rgba(17, 20, 24, 0.08); }
.btn-text { padding: 10px 12px; color: var(--muted); font-weight: 600; }

section { padding: 58px 0; border-top: 1px solid var(--border); }
.section-head { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 112, 255, 0.08); color: #0055cc; font-weight: 800; letter-spacing: 0.3px; text-transform: uppercase; font-size: 12px; }

h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Manrope', sans-serif; margin: 0; letter-spacing: -0.4px; }
h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.1; }
h2 { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.15; }
h3 { font-size: 20px; }
p { margin: 8px 0 0; color: var(--muted); }

.highlight { color: var(--accent); font-weight: 800; }

.hero { display: grid; gap: 28px; align-items: center; }
.hero-grid { display: grid; gap: 12px; max-width: 660px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--panel); border: 1px solid var(--border); border-radius: 999px; font-weight: 700; font-size: 14px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.hero-support { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; align-items: center; }
.pill { padding: 10px 14px; border-radius: 10px; background: var(--panel); border: 1px solid var(--border); color: var(--muted); font-weight: 600; }

.metric { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--positive-soft); color: #05894c; border-radius: 12px; font-weight: 800; margin-top: 10px; }
.metric.red { background: var(--positive-soft); color: #05894c; }

.hero-visuals { display: grid; gap: 16px; justify-items: center; }
.video-shell { position: relative; width: min(420px, 100%); padding: 12px; border-radius: 16px; background: linear-gradient(150deg, #0b1422, #0f233f 55%, #112e52); border: 1px solid rgba(255, 255, 255, 0.06); box-shadow: 0 18px 60px rgba(10, 27, 68, 0.32), 0 10px 26px rgba(0, 0, 0, 0.2); color: #e7edf7; overflow: hidden; }
.video-shell::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 18% 12%, rgba(47, 141, 255, 0.15), transparent 40%), radial-gradient(circle at 82% 22%, rgba(0, 191, 99, 0.12), transparent 38%); pointer-events: none; }
.video-shell::after { content: ''; position: absolute; inset: 6px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.05); pointer-events: none; }
.video-embed { position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #0d1a2e; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-meta { display: flex; align-items: center; gap: 10px; justify-content: space-between; margin-top: 12px; color: #d0d7e2; font-size: 13px; flex-wrap: wrap; }
.video-meta .muted { color: #d0d7e2; }
.badge.muted-badge { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.14); color: #e7edf7; }
.video-meta .pill { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); color: #d0d7e2; }
.video-shell .shine { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0) 65%); opacity: 0.4; filter: blur(2px); pointer-events: none; }

@media (max-width: 760px) {
  .video-shell { padding: 12px 12px 14px; border-radius: 18px; }
  .video-shell::after { inset: 6px; border-radius: 14px; }
  .video-embed { border-radius: 14px; }
  .offer-card h3 { font-size: 17px; }
  .offer-card .price-row { font-size: 19px; }
  .nav-actions .btn-text,
  .nav-actions .btn-ghost { display: none; }
  .nav-actions { justify-content: flex-end; }
  .video-shell { width: 100%; max-width: 420px; }
  .hero-visuals { width: 100%; }
}

.offer-card .price { font-weight: 800; }
/* Garantir titres/prix sur une ligne dans les offres tournage */
.service-pair .offer-card h3 { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.service-pair .offer-card .price-row { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (min-width: 980px) {
  .video-shell {
    width: min(440px, 100%);
    padding: 10px 12px;
    border-radius: 15px;
    background: linear-gradient(150deg, #0c1424, #0f2036);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 14px 40px rgba(9, 22, 48, 0.24), 0 8px 20px rgba(0, 0, 0, 0.16);
  }
  .video-shell::before { display: none; }
  .video-shell::after { inset: 5px; border-radius: 12px; }
  .video-embed { border-radius: 12px; }
  .video-shell .shine { display: none; }
}
.mock-video { position: relative; background: #0d1a2e; color: #fff; border-radius: var(--radius-l); padding: 22px; min-height: 240px; overflow: hidden; box-shadow: var(--shadow); }
.mock-video::after { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; }
.mock-play { width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); display: grid; place-items: center; font-weight: 800; letter-spacing: 1px; margin-bottom: 14px; }
.mock-meta { display: grid; gap: 6px; position: relative; z-index: 1; }
.mock-bars { display: grid; gap: 6px; width: 80%; }
.mock-bar { display: block; height: 7px; border-radius: 6px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.2)); }
.mock-bar.short { width: 70%; }
.hero-video-embed { position: relative; padding-top: 56.25%; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); }
.hero-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.split { display: grid; gap: 20px; }
.split-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }

.list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.list li::before { content: ''; width: 10px; height: 10px; margin-top: 6px; border-radius: 3px; background: var(--accent); flex-shrink: 0; }

.panel-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 20px; box-shadow: 0 14px 40px rgba(17, 20, 24, 0.06); }

.feature-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 14px; }
.feature { padding: 16px; border-radius: var(--radius-m); background: var(--panel); border: 1px solid var(--border); }
.feature h3 { margin-bottom: 4px; }

.price-box { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 20px; box-shadow: 0 14px 40px rgba(17, 20, 24, 0.08); display: grid; gap: 10px; }
.price { font-size: 28px; font-weight: 800; margin: 4px 0; }
.tag { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 8px; background: rgba(0, 112, 255, 0.1); color: #0055cc; font-size: 12px; font-weight: 800; letter-spacing: 0.3px; text-transform: uppercase; }
.guarantee { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--positive-soft); color: #0a7c42; font-weight: 700; }
.small-note { color: var(--muted); font-size: 13px; }

.service-pair { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); justify-items: center; align-items: start; }
.offer-card { width: 100%; max-width: 360px; padding: 18px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-m); box-shadow: 0 14px 38px rgba(17, 20, 24, 0.06); display: grid; gap: 8px; }
.offer-card .top-line { display: flex; justify-content: space-between; align-items: center; }
.offer-card h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); font-size: 18px; }
.offer-card .price { display: none !important; }
.offer-card .price-row { display: block; margin: 2px 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); font-size: 20px; font-weight: 800; line-height: 1.2; }
.offer-card .tag.alt { background: rgba(0, 191, 99, 0.12); color: #018a4e; }

.table-wrap { overflow-x: auto; margin-top: 18px; }
.cta-block { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 26px; box-shadow: 0 14px 40px rgba(17, 20, 24, 0.08); display: grid; gap: 12px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-actions .btn-ghost { border-color: var(--border); }

.result-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 18px; }
.result-card { padding: 16px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-m); box-shadow: 0 12px 32px rgba(17, 20, 24, 0.05); }

.examples-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 16px; }
.example-card { padding: 18px; border-radius: var(--radius-l); border: 1px solid var(--border); background: var(--panel); box-shadow: 0 14px 32px rgba(17, 20, 24, 0.06); display: grid; gap: 8px; }
.example-card.dark { background: #0d1a2e; color: #fff; border-color: rgba(255,255,255,0.08); box-shadow: 0 20px 40px rgba(0,0,0,0.25); }
.example-card.dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.12); }
.example-tag { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 10px; background: rgba(0, 112, 255, 0.12); color: #0b46c4; font-weight: 700; font-size: 12px; letter-spacing: 0.3px; text-transform: uppercase; width: fit-content; }
.video-embed { position: relative; padding-top: 177%; border-radius: 14px; overflow: hidden; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.process-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 18px; }
.step-card { padding: 16px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-m); box-shadow: 0 12px 32px rgba(17, 20, 24, 0.05); }
.step-card h3 { margin-bottom: 4px; }

.footer { padding: 28px 0 10px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 14px; border-top: 1px solid var(--border); margin-top: 30px; }

.float-whatsapp { position: fixed; right: 18px; bottom: 18px; padding: 12px 16px; border-radius: 999px; background: #25d366; color: #0f172a; font-weight: 800; box-shadow: 0 14px 30px rgba(37, 211, 102, 0.35); display: inline-flex; align-items: center; gap: 8px; z-index: 20; }

@media (min-width: 940px) { .hero { grid-template-columns: 1.05fr 0.95fr; } }
@media (max-width: 640px) {
  .navbar .inner {
    padding: 10px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .nav-actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }
  .nav-actions .btn {
    flex: 1 0 48%;
    justify-content: center;
  }
  .btn { padding: 10px 14px; width: auto; }
  section { padding: 44px 0; }
  .hero-actions { justify-content: flex-start; }
  .hero-support, .badge-row { gap: 6px; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; } }
