/* =========================================================
   WILD CORE POWER — feuille de style
   ========================================================= */
:root {
  --bg: #0B0D10;
  --bg-2: #101317;
  --card: #15191E;
  --card-2: #1B2026;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #F3F2EF;
  --muted: #A4A9B0;
  --dim: #6F757D;
  --accent: #FF6B00;
  --accent-2: #FF8F3F;
  --accent-soft: rgba(255, 107, 0, .12);
  --ok: #4ADE80;
  --warn: #FBBF24;
  --radius: 20px;
  --radius-s: 12px;
  --max: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #000; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Typo ---------- */
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.025em; font-weight: 800; }
h1 { font-size: clamp(40px, 6.2vw, 78px); letter-spacing: -.035em; }
h2 { font-size: clamp(32px, 4.2vw, 54px); }
h3 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -.015em; }
p { margin: 0; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 640px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.accent { color: var(--accent); }
.grad {
  background: linear-gradient(100deg, #FFB070 0%, var(--accent) 45%, #FF4D00 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 16px; letter-spacing: -.005em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
}
.btn .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: #0B0D10; box-shadow: 0 10px 30px -10px rgba(255, 107, 0, .6); }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .05); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.topbar { background: var(--accent); color: #0B0D10; font-size: 13.5px; font-weight: 600; text-align: center; padding: 8px 16px; }
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 13, 16, .72);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.header.scrolled { border-color: var(--line); background: rgba(11, 13, 16, .9); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 11px; }
.logo-mark { width: 38px; height: 38px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-size: 18px; font-weight: 900; letter-spacing: .08em; }
.logo-text span { font-size: 10px; font-weight: 700; letter-spacing: .32em; color: var(--accent); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav > a, .nav .dd > a {
  padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav > a:hover, .nav .dd > a:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav .btn { margin-left: 10px; }
.nav > a.btn-primary, .nav > a.btn-primary:hover { color: #0B0D10; background: var(--accent); }
.nav > a.btn-primary:hover { background: var(--accent-2); }
.dd { position: relative; }
.dd-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  width: 560px; padding: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  background: rgba(21, 25, 30, .97); border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.dd-menu::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd-menu a { padding: 12px; border-radius: var(--radius-s); text-align: center; transition: background .2s; }
.dd-menu a:hover { background: rgba(255, 255, 255, .05); }
.dd-menu .pv { width: 100%; margin: 0 auto 10px; border-radius: 12px; }
.dd-menu b { display: block; font-size: 15px; }
.dd-menu small { color: var(--accent); font-weight: 700; font-size: 13px; }
.dd-menu .dd-all { grid-column: 1 / -1; text-align: center; font-weight: 700; font-size: 14px; color: var(--accent); border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; padding-top: 14px; }

.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { margin: 16px 0 18px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin: 0 auto; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 8vw, 110px) 0 clamp(60px, 8vw, 100px); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 72% 46%, rgba(255, 107, 0, .22), transparent 70%),
    radial-gradient(40% 40% at 10% 0%, rgba(255, 143, 63, .08), transparent 70%);
}
.hero-mountains { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; width: 100%; height: auto; opacity: .9; }
.hero .container { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: 40px; }
.hero h1 { margin: 20px 0 22px; }
.hero .lead { margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; aspect-ratio: 1.1; }
.hero-visual svg { position: absolute; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .55)); }
.hero-visual .hv-1 { width: 74%; right: -2%; top: 6%; z-index: 2; }
.hero-visual .hv-2 { width: 50%; left: 0; bottom: 2%; z-index: 3; }
.hero-visual .hv-3 { width: 44%; right: 6%; bottom: -4%; z-index: 1; opacity: .9; }
.hero-glow { position: absolute; inset: 18% 12% 10% 18%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 107, 0, .35), transparent 65%); filter: blur(30px); z-index: 0; animation: pulse 6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; transform: scale(1.06); } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: clamp(48px, 7vw, 80px); }
.stat { background: rgba(16, 19, 23, .92); padding: 24px 22px; display: flex; gap: 14px; align-items: center; }
.stat .ico { width: 30px; height: 30px; color: var(--accent); flex: none; }
.stat b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- Cartes produits ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.p-card {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: 26px; padding: 28px; overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.p-card::before { content: ''; position: absolute; left: 50%; top: 22%; width: 80%; aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255, 107, 0, .18), transparent 65%); transition: opacity .4s; opacity: .6; pointer-events: none; }
.p-card:hover { transform: translateY(-6px); border-color: rgba(255, 107, 0, .45); box-shadow: 0 30px 60px -30px rgba(255, 107, 0, .35); }
.p-card:hover::before { opacity: 1; }
.p-card.featured { border-color: rgba(255, 107, 0, .5); }
.badge { position: absolute; top: 20px; left: 20px; z-index: 2; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #0B0D10; background: var(--accent); padding: 6px 11px; border-radius: 999px; }
.p-card .p-visual { position: relative; margin: -4px -10px 6px; transition: transform .5s var(--ease); }
.p-card:hover .p-visual { transform: scale(1.04) translateY(-4px); }
.p-card .cap { font-size: 14px; font-weight: 800; letter-spacing: .1em; color: var(--accent); text-transform: uppercase; }
.p-card h3 { font-size: 28px; margin: 6px 0 8px; }
.p-card .tagline { color: var(--muted); margin-bottom: 20px; }
.p-keys { list-style: none; margin: 0 0 22px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.p-keys li { display: flex; flex-direction: column; }
.p-keys b { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.p-keys span { font-size: 13px; color: var(--dim); }
.p-card .p-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { display: flex; flex-direction: column; line-height: 1.15; }
.price small { font-size: 12px; color: var(--dim); }
.price b { font-size: 22px; font-weight: 800; }
.p-card .stretched::after { content: ''; position: absolute; inset: 0; z-index: 1; }

/* ---------- Visuels produits (tuile claire, photo ou dessin) ---------- */
.pv { position: relative; display: block; aspect-ratio: 4 / 3; background: #fff; border-radius: 18px; overflow: hidden; }
.pv img, .pv svg { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.pv:not(.pv-photo) svg { padding: 4% 6% 0; }
.pv-white img { padding: 6%; }
.pv-studio img, .pv-scene img { object-fit: cover; }
.nw { white-space: nowrap; }
.p-card .p-visual { position: relative; z-index: 1; margin: 0 0 22px; }
.p-card .p-visual .pv { box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .8); }
.p-card:hover .pv img, .p-card:hover .pv svg { transform: scale(1.04); }
.p-card .badge { z-index: 3; }

/* ---------- Galerie ---------- */
.gallery { display: grid; gap: 12px; min-width: 0; }
.g-main { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.g-stage { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .5s var(--ease); }
.g-slide.is-active { opacity: 1; }
.g-slide img { width: 100%; height: 100%; object-fit: cover; }
.g-white .g-img, .g-thumb.g-white img { object-fit: contain; padding: 5%; }
.g-blur { overflow: hidden; background: #1a1d21; }
.g-blur .g-img { position: relative; object-fit: contain; }
.g-slide .g-bg { position: absolute; inset: -8%; width: 116%; height: 116%; object-fit: cover; filter: blur(26px) saturate(1.15) brightness(.9); }

/* ---------- Équipement camping ---------- */
.c-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.c-grid-4 { grid-template-columns: repeat(4, 1fr); }
.c-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 22px; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.c-card:hover { transform: translateY(-5px); border-color: rgba(255, 107, 0, .45); box-shadow: 0 30px 60px -30px rgba(255, 107, 0, .3); }
.c-img { aspect-ratio: 1 / 1; overflow: hidden; background: #fff; }
.c-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.c-card:hover .c-img img { transform: scale(1.05); }
.c-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.c-cat { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.c-body h3 { margin: 6px 0 6px; font-size: 22px; }
.c-body p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.c-body .link-arrow { margin-top: auto; font-size: 15px; }
.c-card .stretched::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.split-head { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.split-head h2 { margin: 16px 0 0; }
@media (min-width: 961px) { .pdp-hero .gallery { align-self: start; position: sticky; top: 96px; } }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; padding: 0 0 3px; background: rgba(11, 13, 16, .62); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .2s, transform .2s; }
.g-nav:hover { background: var(--accent); color: #0B0D10; }
.g-prev { left: 14px; }
.g-next { right: 14px; }
.g-count, .g-zoom { position: absolute; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: rgba(11, 13, 16, .62); color: #fff; font-size: 13px; font-weight: 600; pointer-events: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.g-count { left: 14px; }
.g-zoom { right: 14px; }
.g-zoom .ico { width: 15px; height: 15px; }
.g-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.g-thumb { aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; background: #fff; cursor: pointer; opacity: .55; transition: opacity .25s, border-color .25s; }
.g-thumb:hover { opacity: .85; }
.g-thumb.is-active { opacity: 1; border-color: var(--accent); }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; }

.lightbox { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: 0; background: transparent; color: var(--text); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(5, 6, 8, .94); }
.lb-img { max-width: min(92vw, 1448px); max-height: 82vh; width: auto; height: auto; border-radius: 16px; background: #fff; }
.lb-close { position: fixed; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .06); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; padding: 0 0 4px; }
.lb-close:hover { background: var(--accent); color: #0B0D10; }
.lightbox .g-nav { position: fixed; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-caption { position: fixed; left: 0; right: 0; bottom: 20px; text-align: center; color: var(--muted); font-size: 14px; padding: 0 80px; }

/* ---------- Bandeau photo ---------- */
.banner { position: relative; display: block; margin: 0; aspect-ratio: 16 / 8; border-radius: 30px; overflow: hidden; border: 1px solid var(--line); isolation: isolate; }
.banner img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; transition: transform 1.4s var(--ease); }
.banner::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(8, 9, 11, .9) 0%, rgba(8, 9, 11, .62) 30%, rgba(8, 9, 11, 0) 56%); }
.banner-link:hover img { transform: scale(1.035); }
.banner-text { position: absolute; right: clamp(24px, 5vw, 64px); bottom: clamp(24px, 5vw, 60px); width: min(40%, 440px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.banner h2, .banner .h2 { display: block; margin: 0; font-size: clamp(28px, 3.6vw, 48px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; color: #fff; }

/* ---------- Avantages ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: border-color .3s, transform .4s var(--ease); }
.feature:hover { border-color: var(--line-2); transform: translateY(-3px); }
.feature .ico-box { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 20px; }
.feature .ico-box .ico { width: 26px; height: 26px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15.5px; }

/* ---------- Usages ---------- */
.uses { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.use { position: relative; border-radius: var(--radius); padding: 26px 20px 22px; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; border: 1px solid var(--line); background: var(--card); isolation: isolate; }
.use::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 100% 0%, rgba(255, 107, 0, .18), transparent 60%); }
.use .ico { width: 34px; height: 34px; color: var(--accent); margin-bottom: auto; }
.use h3 { font-size: 18px; margin: 18px 0 6px; }
.use p { color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* ---------- Bloc solaire / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split h2 { margin: 16px 0 18px; }
.checks { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ico { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.flow { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: clamp(22px, 3vw, 36px); }
.flow svg { width: 100%; height: auto; }

/* ---------- Comparatif ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15.5px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { position: sticky; top: 0; background: var(--card-2); }
.compare thead th:not(:first-child) { text-align: center; }
.compare thead a { display: block; }
.compare thead .pv { width: 150px; max-width: 100%; margin: 0 auto 10px; border-radius: 12px; }
.compare thead b { display: block; font-size: 18px; }
.compare thead small { color: var(--accent); font-weight: 700; }
.compare tbody th { color: var(--muted); font-weight: 600; width: 26%; }
.compare tbody td { text-align: center; font-weight: 600; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover td, .compare tbody tr:hover th { background: rgba(255, 255, 255, .02); }
.compare .hl { background: rgba(255, 107, 0, .05); }

/* ---------- Calculateur ---------- */
.calc { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; align-items: start; }
.calc-list { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.dev { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; transition: background .2s; }
.dev + .dev { border-top: 1px solid var(--line); }
.dev.on { background: rgba(255, 107, 0, .05); }
.dev-toggle { width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--line-2); background: transparent; cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s; padding: 0; }
.dev-toggle .ico { width: 16px; height: 16px; color: #0B0D10; opacity: 0; }
.dev.on .dev-toggle { background: var(--accent); border-color: var(--accent); }
.dev.on .dev-toggle .ico { opacity: 1; }
.dev-name { display: flex; align-items: center; gap: 12px; min-width: 0; }
.dev-name .ico { width: 22px; height: 22px; color: var(--muted); flex: none; }
.dev.on .dev-name .ico { color: var(--accent); }
.dev-name b { font-weight: 600; font-size: 15.5px; display: block; }
.dev-name small { color: var(--dim); font-size: 13px; }
.dev-ctrl { display: flex; gap: 8px; align-items: center; }
.num { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 10px; height: 38px; }
.num button { width: 30px; height: 100%; background: none; border: 0; cursor: pointer; color: var(--muted); font-size: 18px; line-height: 1; }
.num button:hover { color: var(--text); }
.num output { min-width: 46px; text-align: center; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.dev:not(.on) .dev-ctrl { opacity: .35; pointer-events: none; }

.calc-result { position: sticky; top: 96px; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 28px; }
.calc-total { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.calc-total small { display: block; color: var(--muted); font-size: 13px; }
.calc-total b { font-size: 32px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc-total b span { font-size: 16px; color: var(--muted); font-weight: 600; }
.calc-model { padding: 14px 0; }
.calc-model + .calc-model { border-top: 1px solid var(--line); }
.calc-model .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.calc-model a { font-weight: 700; }
.calc-model a:hover { color: var(--accent); }
.calc-model .days { font-weight: 800; font-variant-numeric: tabular-nums; }
.bar { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, #FF4D00, var(--accent-2)); transition: width .6s var(--ease); }
.calc-model .warn { color: var(--warn); font-size: 13px; margin-top: 6px; }
.calc-model.best .row a::after { content: 'Recommandée'; margin-left: 8px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 999px; background: var(--accent); color: #0B0D10; vertical-align: 2px; }
.calc-note { color: var(--dim); font-size: 12.5px; margin-top: 16px; line-height: 1.5; }

/* ---------- Page produit ---------- */
.breadcrumb { font-size: 14px; color: var(--dim); padding-top: 26px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: var(--dim); }
.breadcrumb a:hover { color: var(--text); }
.pdp-hero { padding: 30px 0 clamp(60px, 8vw, 100px); position: relative; overflow: hidden; }
.pdp-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 28% 50%, rgba(255, 107, 0, .2), transparent 70%); }
.pdp-hero .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.pdp-visual { position: relative; }
.pdp-visual svg { width: 100%; filter: drop-shadow(0 50px 60px rgba(0, 0, 0, .6)); }
.pdp-info h1 { font-size: clamp(40px, 5vw, 64px); margin: 14px 0 12px; }
.pdp-info .lead { margin-bottom: 26px; }
.pdp-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 28px; }
.pdp-keys div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.pdp-keys b { display: block; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.pdp-keys span { font-size: 13px; color: var(--dim); }
.pdp-for { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--muted); }
.chip .ico { width: 15px; height: 15px; color: var(--accent); }
.pdp-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.pdp-price b { font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.pdp-price small { color: var(--dim); font-size: 14px; }
.pdp-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.pdp-assure { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; color: var(--muted); font-size: 14px; }
.pdp-assure span { display: inline-flex; align-items: center; gap: 7px; }
.pdp-assure .ico { width: 18px; height: 18px; color: var(--accent); }

.runtime { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rt { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.rt .ico { width: 30px; height: 30px; color: var(--accent); margin-bottom: 18px; }
.rt b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.rt b small { font-size: 16px; font-weight: 700; color: var(--muted); }
.rt span { color: var(--muted); font-size: 14.5px; }

.ports { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.port { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.port .ico-box { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.port .ico-box .ico { width: 22px; height: 22px; }
.port b { display: block; margin-bottom: 2px; }
.port span { color: var(--muted); font-size: 14.5px; }

.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.specs dl { margin: 0; }
.specs .sp { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; text-align: right; }
.inbox { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.others { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.other { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: border-color .3s, transform .4s var(--ease); }
.other:hover { border-color: rgba(255, 107, 0, .45); transform: translateY(-3px); }
.other .cap { color: var(--accent); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.other h3 { margin: 4px 0 6px; }
.other p { color: var(--muted); font-size: 15px; margin-bottom: 10px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px; font-size: clamp(17px, 1.6vw, 19px); font-weight: 700; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 14px; height: 14px; flex: none; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { color: var(--muted); padding: 0 4px 26px; max-width: 760px; }

/* ---------- CTA ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 30px; padding: clamp(40px, 6vw, 72px); background: linear-gradient(120deg, #1A1208, #15191E 55%); border: 1px solid rgba(255, 107, 0, .3); display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; isolation: isolate; }
.cta-band::before { content: ''; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 107, 0, .35), transparent 65%); z-index: -1; }
.cta-band h2 { font-size: clamp(30px, 3.6vw, 46px); margin: 14px 0 14px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ---------- Formulaires ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: clamp(24px, 3.5vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 107, 0, .15); }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { width: 20px; height: 20px; accent-color: var(--accent); margin-top: 2px; flex: none; }
.form .btn { grid-column: 1 / -1; justify-self: start; }
.form-status { grid-column: 1 / -1; font-size: 15px; min-height: 1em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: #F87171; }
.hp { position: absolute; left: -5000px; }
.contact-cards { display: grid; gap: 14px; margin-top: 30px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.contact-card .ico-box { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.contact-card .ico-box .ico { width: 22px; height: 22px; }
.contact-card b { display: block; }
.contact-card span, .contact-card a { color: var(--muted); font-size: 15px; }
.contact-card a:hover { color: var(--accent); }

/* ---------- Pages texte ---------- */
.prose { max-width: 780px; }
.prose h1 { font-size: clamp(36px, 5vw, 56px); margin: 16px 0 30px; }
.prose h2 { font-size: 24px; margin: 44px 0 14px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 12px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { padding-left: 20px; }

/* ---------- Pied de page ---------- */
.footer { border-top: 1px solid var(--line); padding: 70px 0 34px; margin-top: 40px; background: var(--bg-2); }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; margin-bottom: 50px; }
.footer .logo { margin-bottom: 18px; }
.footer p { color: var(--muted); font-size: 15px; max-width: 320px; }
.footer h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a { color: var(--muted); font-size: 15px; transition: color .2s; }
.footer ul a:hover { color: var(--text); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--muted); transition: color .2s, border-color .2s; }
.socials a:hover { color: var(--accent); border-color: var(--accent); }
.socials .ico { width: 20px; height: 20px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--text); }

/* ---------- Apparition au scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
/* Haut de page : animation CSS immédiate, sans attendre le script */
.js .hero .reveal, .js .pdp-hero .reveal, .js .page-head .reveal { opacity: 1; transform: none; transition: none; animation: rise .8s var(--ease) both; }
.js .hero .reveal.d1, .js .pdp-hero .reveal.d1, .js .page-head .reveal.d1 { animation-delay: .07s; }
.js .hero .reveal.d2, .js .pdp-hero .reveal.d2, .js .page-head .reveal.d2 { animation-delay: .14s; }
.js .hero .reveal.d3, .js .pdp-hero .reveal.d3, .js .page-head .reveal.d3 { animation-delay: .21s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .c-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .uses { grid-template-columns: repeat(3, 1fr); }
  .runtime { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px 20px 26px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -10px rgba(0, 0, 0, .7);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .25s;
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav-open .header { background: var(--bg); border-color: var(--line); }
  .nav-open { overflow: hidden; }
  .nav > a, .nav .dd > a { padding: 14px 12px; font-size: 17px; border-radius: 12px; display: block; }
  .nav .btn { margin: 12px 0 0; }
  .dd-menu { position: static; transform: none; opacity: 1; visibility: visible; width: auto; grid-template-columns: repeat(3, 1fr); background: transparent; border: 0; box-shadow: none; padding: 0 0 8px; }
  .dd:hover .dd-menu, .dd:focus-within .dd-menu { transform: none; }
  .dd-menu .pv { border-radius: 10px; }
  .banner { aspect-ratio: 4 / 5; }
  .banner::after { background: linear-gradient(0deg, rgba(8, 9, 11, .92) 0%, rgba(8, 9, 11, .45) 48%, rgba(8, 9, 11, 0) 72%); }
  .banner img { object-position: 38% 30%; }
  .banner-text { left: 22px; right: 22px; bottom: 24px; width: auto; }
  .pdp-hero .gallery { max-width: 620px; width: 100%; margin: 0 auto; }
  .dd-menu .dd-all { display: none; }
  .hero .container, .pdp-hero .container, .split, .form-grid, .cta-band, .calc { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .pdp-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .products { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .c-grid, .c-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; }
  .cta-band .actions { justify-content: flex-start; }
  .calc-result { position: static; }
  .specs { grid-template-columns: 1fr; }
  .others { grid-template-columns: 1fr; }
  .ports { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .topbar { font-size: 12.5px; }
  .uses { grid-template-columns: 1fr 1fr; }
  .use { min-height: 190px; }
  .features, .ports { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 18px; }
  .pdp-keys { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .pdp-keys div { padding: 12px 10px; }
  .pdp-keys b { font-size: 17px; }
  .runtime { grid-template-columns: 1fr 1fr; }
  .rt { padding: 18px 16px; }
  .rt b { font-size: 24px; }
  .form { grid-template-columns: 1fr; }
  .other { grid-template-columns: 110px 1fr; gap: 14px; padding: 16px; }
  .other .pv { border-radius: 12px; }
  .c-grid, .c-grid-3, .c-grid-4 { gap: 12px; }
  .c-body { padding: 14px 14px 16px; }
  .c-body h3 { font-size: 18px; }
  .c-body p { font-size: 13.5px; }
  .c-cat { font-size: 10.5px; }
  .g-nav { width: 40px; height: 40px; font-size: 26px; }
  .g-zoom { display: none; }
  .g-thumbs { gap: 8px; }
  .g-thumb { border-radius: 10px; }
  .lightbox .g-nav { top: auto; bottom: 14px; transform: none; }
  .lb-caption { bottom: 70px; padding: 0 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .dev { grid-template-columns: auto 1fr; }
  .dev-ctrl { grid-column: 2; }
  .hero-cta .btn, .pdp-cta .btn { flex: 1 1 auto; }
  .p-card { padding: 22px; }
  .p-card h3 { font-size: 25px; }
}
