/* SyrvakOpti - site vitrine. Noir et rouge, gaming premium, sobre. */
:root {
  --red: #E10613;
  --red-dark: #B8000E;
  --black: #0B0B0D;
  --surface: #111114;
  --card: #1A1A1F;
  --border: #2A2A31;
  --text: #F5F5F7;
  --muted: #A7A7B0;
  --ok: #35C979;
  --warn: #F0B44D;
  --radius: 14px;
  --ease: 180ms ease;
  --gutter: 16px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--black);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .brand-word, .btn, .eyebrow, .stat-num { font-family: Montserrat, Inter, Arial, sans-serif; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 14px; letter-spacing: -0.01em; }
h1 { font-size: clamp(36px, 6vw, 68px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.8vw, 42px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 14px; color: var(--muted); }
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
.red { color: var(--red); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin: 0 auto; }
section { padding: 88px 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head p { margin: 0 auto; font-size: 17px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(225, 6, 19, 0.35); background: rgba(225, 6, 19, 0.08);
  font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #ff5a63;
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }

/* Barre de progression du défilement */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 60; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--red-dark), var(--red)); }

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 13, 0.82);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 38px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(225, 6, 19, 0.35)); }
.brand-word { font-weight: 800; font-size: 21px; letter-spacing: 0.2px; }
.brand-word span { color: var(--red); }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; display: block; padding: 9px 13px; border-radius: 10px; text-decoration: none;
  color: var(--muted); font-size: 14px; font-weight: 500; transition: color var(--ease), background var(--ease);
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); background: var(--surface); }
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--red);
}
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none; background: var(--card); border: 1px solid var(--border); color: var(--text);
  border-radius: 10px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Boutons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--ease), background var(--ease), border-color var(--ease), box-shadow var(--ease), color var(--ease);
}
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(180deg, #F0161F, var(--red)); color: #fff; box-shadow: 0 10px 28px rgba(225, 6, 19, 0.28), inset 0 1px 0 rgba(255,255,255,0.15); }
.btn-primary:hover { background: linear-gradient(180deg, var(--red), var(--red-dark)); box-shadow: 0 14px 34px rgba(225, 6, 19, 0.38), inset 0 1px 0 rgba(255,255,255,0.15); }
.btn-ghost { background: rgba(26, 26, 31, 0.7); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: rgba(225, 6, 19, 0.6); color: #fff; }
.btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; box-shadow: none; }
.btn-block { width: 100%; }

/* Accueil : hero */
.hero { position: relative; padding: 80px 0 72px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background:
    radial-gradient(60% 55% at 78% 30%, rgba(225, 6, 19, 0.30), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(184, 0, 14, 0.18), transparent 70%),
    linear-gradient(180deg, #0B0B0D 0%, #0B0B0D 100%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; left: -10%; right: -10%; top: 58%; height: 60%;
  background-image: linear-gradient(rgba(225,6,19,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(225,6,19,0.07) 1px, transparent 1px);
  background-size: 56px 56px; transform: perspective(600px) rotateX(58deg); transform-origin: 50% 0;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 .accent { background: linear-gradient(90deg, #fff 0%, #ff4b55 45%, var(--red) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 18px; max-width: 560px; color: #c9c9d1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 14px; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; stroke: var(--red); fill: none; stroke-width: 2; }

/* Logo héros */
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-logo { width: min(320px, 70vw); filter: drop-shadow(0 0 40px rgba(225, 6, 19, 0.45)); animation: floaty 6s ease-in-out infinite; }
.halo { position: absolute; width: 130%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(225,6,19,0.25); }
.halo.h2 { width: 100%; border-color: rgba(225,6,19,0.14); animation: spin 40s linear infinite; }
.halo::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 14px var(--red); }

/* Maquette d'interface */
.mock { position: relative; margin-top: 56px; }
.window {
  background: linear-gradient(180deg, #15151a, #0f0f13); border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(225,6,19,0.06);
}
.window-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: #101015; }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a2a31; display: block; }
.window-bar i:nth-child(1) { background: var(--red); }
.window-bar b { margin-left: 10px; font-family: Montserrat, Inter, sans-serif; font-size: 13px; color: var(--muted); font-weight: 600; }
.window-body { display: grid; grid-template-columns: 210px 1fr; min-height: 340px; }
.side { border-right: 1px solid var(--border); padding: 18px 12px; background: var(--surface); }
.side .item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--muted); font-size: 14px; margin-bottom: 4px;
  position: relative;
}
.side .item svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; flex: none; }
.side .item.active { color: var(--text); background: var(--card); }
.side .item.active::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--red); }
.main { padding: 22px; }
.main h4 { margin: 0 0 4px; font-size: 20px; font-weight: 800; }
.main .muted { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.rows { display: grid; gap: 10px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; }
.row .txt b { display: block; font-size: 14px; }
.row .txt small { color: var(--muted); font-size: 12px; }
.switch { width: 44px; height: 24px; border-radius: 999px; background: #2a2a31; position: relative; flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #d7d7de; transition: left var(--ease); }
.switch.on { background: var(--red); }
.switch.on::after { left: 23px; background: #fff; }
.pill { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); white-space: nowrap; }
.pill.ok { color: var(--ok); border-color: rgba(53,201,121,0.35); }
.pill.warn { color: var(--warn); border-color: rgba(240,180,77,0.35); }
.scan { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.mock-note { margin-top: 12px; text-align: center; font-size: 12px; color: var(--muted); }

/* Bandeau de confiance */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: linear-gradient(90deg, #0d0d10, #121216, #0d0d10); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 28px 18px; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat .stat-num { font-size: 22px; font-weight: 800; }
.stat .stat-num .red { color: var(--red); }
.stat p { margin: 6px 0 0; font-size: 13px; }

/* Cartes */
.grid { display: grid; gap: 20px; }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative; background: linear-gradient(180deg, #1b1b21, #17171c); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 220ms ease;
  background: radial-gradient(260px 160px at var(--mx, 50%) var(--my, 0%), rgba(225,6,19,0.18), transparent 70%);
}
.card:hover { transform: translateY(-4px); border-color: rgba(225, 6, 19, 0.55); box-shadow: 0 18px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(225,6,19,0.12); }
.card:hover::before { opacity: 1; }
.card .icon {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(180deg, rgba(225,6,19,0.22), rgba(225,6,19,0.06)); border: 1px solid rgba(225,6,19,0.3);
}
.card .icon svg { width: 24px; height: 24px; stroke: #ff3b45; fill: none; stroke-width: 1.8; }
.card p { font-size: 14.5px; margin: 0; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.card ul li { padding: 6px 0 6px 22px; position: relative; border-top: 1px solid rgba(42,42,49,0.7); }
.card ul li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 8px; height: 8px; border-radius: 2px; background: var(--red); transform: rotate(45deg); }
.tag { display: inline-block; margin-bottom: 14px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }

/* Étapes */
.steps { counter-reset: step; }
.step { position: relative; padding: 28px 24px; }
.step-num {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  font-family: Montserrat, Inter, sans-serif; font-weight: 800; font-size: 18px; color: #fff;
  background: linear-gradient(180deg, #F0161F, var(--red)); box-shadow: 0 8px 22px rgba(225,6,19,0.3);
}

/* Bandeau de réassurance */
.benefits { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.benefit { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 14px; border: 1px solid transparent; transition: border-color var(--ease), background var(--ease); }
.benefit:hover { border-color: var(--border); background: rgba(26,26,31,0.6); }
.benefit .bi { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex: none; background: rgba(225,6,19,0.12); }
.benefit .bi svg { width: 22px; height: 22px; stroke: var(--red); fill: none; stroke-width: 2; }
.benefit h3 { font-size: 16px; margin-bottom: 4px; }
.benefit p { margin: 0; font-size: 14px; }

/* Bandeau d'appel */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, rgba(225, 6, 19, 0.22), rgba(17, 17, 20, 0.95) 55%);
  border: 1px solid rgba(225,6,19,0.3); border-radius: 22px; padding: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.cta-band::after { content: ""; position: absolute; z-index: -1; right: -60px; top: -60px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(225,6,19,0.35), transparent 65%); }
.cta-band p { margin: 8px 0 0; }
.cta-band img { width: 88px; height: 88px; object-fit: contain; filter: drop-shadow(0 0 18px rgba(225,6,19,0.5)); }

/* FAQ */
details { background: linear-gradient(180deg, #1b1b21, #17171c); border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; transition: border-color var(--ease); }
details[open] { border-color: rgba(225,6,19,0.45); }
details summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--red); font-size: 22px; line-height: 1; transition: transform var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 12px 0 0; font-size: 14.5px; }

/* Pied de page */
.site-footer { border-top: 1px solid var(--border); background: #0a0a0c; padding: 56px 0 28px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.foot-brand p { margin: 14px 0 0; font-size: 14px; max-width: 320px; }
.foot-grid h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); margin: 0 0 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 10px; }
.foot-grid a { text-decoration: none; color: var(--muted); font-size: 14px; transition: color var(--ease); }
.foot-grid a:hover { color: var(--text); }
.copy { margin-top: 40px; font-size: 13px; color: #6f6f78; border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Pages intérieures */
.page-hero { position: relative; padding: 72px 0 36px; text-align: center; overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(50% 80% at 50% 0%, rgba(225,6,19,0.22), transparent 70%);
}
.page-hero p { max-width: 680px; margin: 0 auto; font-size: 17px; }
.page-hero .brand-mark { width: 84px; height: 84px; object-fit: contain; margin: 0 auto 18px; filter: drop-shadow(0 0 24px rgba(225,6,19,0.45)); }
.placeholder { color: #ff5a63; font-weight: 700; background: rgba(225,6,19,0.08); padding: 1px 6px; border-radius: 6px; }
.badge {
  display: inline-block; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: rgba(225, 6, 19, 0.12); color: #ff5a63; border: 1px solid rgba(225, 6, 19, 0.4);
}
.badge.ok { background: rgba(53,201,121,0.1); color: var(--ok); border-color: rgba(53,201,121,0.35); }
.price-card { max-width: 460px; margin: 0 auto; text-align: center; padding: 40px 34px; }
.price-card .price { font-family: Montserrat, Inter, sans-serif; font-size: 56px; font-weight: 800; margin: 14px 0 6px; letter-spacing: -0.02em; }
.price-card .price small { font-size: 16px; color: var(--muted); font-weight: 600; }
.price-card ul { list-style: none; padding: 0; margin: 24px 0 28px; text-align: left; }
.price-card li { padding: 11px 0 11px 30px; border-bottom: 1px solid var(--border); color: #c9c9d1; font-size: 14.5px; position: relative; }
.price-card li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 14px; height: 8px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.dl-card { max-width: 620px; margin: 0 auto; text-align: center; padding: 40px 36px; }
.info-table { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 14px; }
.info-table td { padding: 12px 6px; border-bottom: 1px solid var(--border); color: var(--muted); text-align: left; }
.info-table td:last-child { color: var(--text); text-align: right; }
.compare { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 14px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.compare th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.compare td:not(:first-child) { text-align: center; }

/* Mouvement */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 620ms cubic-bezier(.2,.7,.2,1), transform 620ms cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 80ms; }
.reveal.d2 { transition-delay: 160ms; }
.reveal.d3 { transition-delay: 240ms; }
.reveal.d4 { transition-delay: 320ms; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-copy { animation: rise 800ms cubic-bezier(.2,.7,.2,1) both; }
.mock { animation: rise 900ms 120ms cubic-bezier(.2,.7,.2,1) both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .card:hover { transform: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  section { padding: 68px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-logo { width: 200px; }
  .window-body { grid-template-columns: 1fr; }
  .side { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .menu-btn { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; gap: 2px;
    background: rgba(11,11,13,0.98); border-bottom: 1px solid var(--border); padding: 12px var(--gutter) 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; font-size: 16px; }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-links a[aria-current="page"] { color: #fff; border-left: 3px solid var(--red); border-radius: 0 10px 10px 0; }
  .nav-cta .btn { display: none; }
  .cta-band { padding: 30px; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  section { padding: 56px 0; }
  .grid-5, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 56px; }
  .hero-actions .btn { width: 100%; }
  .strip .wrap { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 10px; }
  .stat .stat-num { font-size: 18px; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-band img { display: none; }
  .price-card .price { font-size: 48px; }
  .info-table td { padding: 10px 4px; font-size: 13px; }
  .compare th, .compare td { padding: 10px 6px; font-size: 13px; }
}
