/* =========================================================
   WEBERA AGENCY — Design system
   ========================================================= */
:root {
  --bg: #07070d;
  --bg-2: #0c0c16;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f4fb;
  --muted: #9a9ab3;
  --violet: #7c5cff;
  --blue: #3d7bff;
  --cyan: #22d3ee;
  --pink: #ff5c9a;
  --gold: #ffc857;
  --green: #34d399;
  --grad: linear-gradient(120deg, #7c5cff 0%, #3d7bff 45%, #22d3ee 100%);
  --grad-warm: linear-gradient(120deg, #ff5c9a 0%, #7c5cff 100%);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-lg: 0 40px 80px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--border);
  --shadow-glow: 0 20px 60px -10px rgba(124, 92, 255, 0.55);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1220px;
  --font-display: "Sora", system-ui, sans-serif;
  --font: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--violet); color: #fff; }

/* Background depth: grain + grid */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none; z-index: 0;
}
body::after {
  content: "";
  position: fixed; inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: .05; pointer-events: none; z-index: 100;
}

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; position: relative; z-index: 1; }
section { position: relative; padding: 120px 0; }

/* Cursor glow */
.cursor-glow {
  position: fixed; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,255,.16), transparent 65%);
  pointer-events: none; z-index: 0; transform: translate(-50%, -50%);
  transition: opacity .3s; left: -999px; top: -999px;
}

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad); z-index: 200; box-shadow: 0 0 12px var(--violet); }

/* Orbs */
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none; z-index: 0; animation: float 14s ease-in-out infinite; }
.orb.violet { background: var(--violet); }
.orb.blue { background: var(--blue); }
.orb.cyan { background: var(--cyan); }
.orb.pink { background: var(--pink); }
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-50px) scale(1.08); }
  66% { transform: translate(-30px,30px) scale(.95); }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; }
h1 { font-size: clamp(2.7rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
p { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 620px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% auto; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: #c9bfff; padding: 8px 16px; border-radius: 99px;
  background: rgba(124,92,255,.12); border: 1px solid rgba(124,92,255,.35);
  margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52,211,153,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 70px; }
.section-head p { margin: 18px auto 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 99px; font-weight: 600; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--grad); background-size: 160% 100%; color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 25px 70px -10px rgba(124,92,255,.8); background-position: 100% 0; }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,.35); }
.btn-white { background: #fff; color: #0b0b14; }
.btn-white:hover { box-shadow: 0 20px 50px -10px rgba(255,255,255,.4); }
.btn-sm { padding: 11px 20px; font-size: .9rem; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(var(--container), calc(100% - 32px)); z-index: 150;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px 12px 24px; border-radius: 99px;
  background: rgba(12,12,22,.55); backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--border);
  transition: background .4s, box-shadow .4s, top .4s var(--ease);
}
.header.scrolled { background: rgba(10,10,18,.85); box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); top: 10px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; font-size: 1.15rem; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 11px; background: var(--grad);
  display: grid; place-items: center; color: #fff; font-size: 1.05rem; box-shadow: 0 8px 24px -6px rgba(124,92,255,.8);
  transition: transform .6s var(--ease);
}
.logo:hover .logo-mark { transform: rotate(-12deg) scale(1.08); }
.logo small { font-weight: 500; color: var(--muted); font-size: .72rem; letter-spacing: .2em; margin-left: 2px; }
.nav { display: flex; gap: 4px; }
.nav a { position: relative; padding: 10px 16px; border-radius: 99px; font-size: .94rem; font-weight: 500; color: #c8c8da; transition: color .3s, background .3s; }
.nav a:hover { color: #fff; background: var(--surface-2); }
.nav a.active { color: #fff; background: rgba(124,92,255,.18); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; place-items: center; }
.burger span { display: block; width: 18px; height: 2px; background: #fff; margin: 4px auto; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 190px 0 110px; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero h1 .rotator { display: inline-block; position: relative; vertical-align: bottom; }
.hero h1 .rotator span { display: inline-block; animation: wordIn .7s var(--ease) both; }
@keyframes wordIn { from { opacity: 0; transform: translateY(40%) rotateX(-70deg); filter: blur(8px); } }
.hero .lead { margin: 26px 0 38px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; gap: 18px; margin-top: 44px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); margin-left: -12px; transition: transform .3s var(--ease); }
.avatars img:first-child { margin-left: 0; }
.avatars:hover img { margin-left: -4px; }
.avatars img:hover { transform: translateY(-6px) scale(1.1); z-index: 2; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }
.hero-proof strong { color: #fff; }
.hero-proof small { color: var(--muted); display: block; font-size: .86rem; }

/* Hero visual: stacked browsers */
.hero-visual { position: relative; height: 560px; perspective: 1400px; }
.stack { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .2s ease-out; }
.browser {
  position: absolute; border-radius: 16px; overflow: hidden; background: #11111c;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border-strong);
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #191927; border-bottom: 1px solid var(--border); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar .url { margin-left: 10px; flex: 1; font-size: .7rem; color: var(--muted); background: rgba(255,255,255,.06); border-radius: 6px; padding: 4px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { width: 100%; height: calc(100% - 34px); object-fit: cover; }
.b1 { width: 78%; height: 380px; left: 0; top: 30px; transform: translateZ(0) rotateY(-14deg) rotateX(6deg); animation: bob 7s ease-in-out infinite; }
.b2 { width: 62%; height: 300px; right: 0; top: 200px; transform: translateZ(80px) rotateY(-14deg) rotateX(6deg); animation: bob 8s ease-in-out -2s infinite; }
.b3 { width: 34%; height: 260px; left: 8%; bottom: -10px; border-radius: 26px; transform: translateZ(140px) rotateY(-14deg) rotateX(6deg); animation: bob 6s ease-in-out -4s infinite; }
@keyframes bob { 50% { translate: 0 -14px; } }
.mini-site { height: calc(100% - 34px); position: relative; }
.mini-site img { height: 100%; }
.mini-site .ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.75)); padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; }
.mini-site .ov b { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.1; }
.mini-site .ov em { font-style: normal; font-size: .72rem; display: inline-block; margin-top: 10px; background: #fff; color: #000; padding: 6px 12px; border-radius: 99px; width: fit-content; font-weight: 600; }
.float-badge {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 18px; background: rgba(18,18,30,.75); backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong); box-shadow: 0 20px 50px -15px rgba(0,0,0,.8);
  font-size: .85rem; animation: bob 5s ease-in-out infinite;
}
.float-badge .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.1rem; }
.float-badge b { display: block; font-size: 1.05rem; font-family: var(--font-display); }
.float-badge span { color: var(--muted); font-size: .78rem; }
.fb1 { top: 0; right: 4%; animation-delay: -1s; }
.fb1 .ic { background: rgba(52,211,153,.15); color: var(--green); }
.fb2 { bottom: 60px; right: -10px; animation-delay: -3s; }
.fb2 .ic { background: rgba(255,200,87,.15); color: var(--gold); }

/* ---------- Marquee (clients) ---------- */
.trusted { padding: 40px 0 60px; }
.trusted p { text-align: center; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 30px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 70px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.client-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #6d6d86; transition: color .3s; white-space: nowrap; }
.client-logo:hover { color: #fff; }
.client-logo i { font-style: normal; font-size: 1.5rem; filter: grayscale(1); transition: filter .3s; }
.client-logo:hover i { filter: none; }

/* ---------- Cards ---------- */
.card {
  position: relative; padding: 34px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  border: 1px solid var(--border); overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(124,92,255,.22), transparent 45%);
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: rgba(124,92,255,.45); transform: translateY(-8px); box-shadow: 0 30px 60px -25px rgba(124,92,255,.45); }
.card .icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad); margin-bottom: 24px; font-size: 1.5rem;
  box-shadow: 0 12px 30px -8px rgba(124,92,255,.7); transition: transform .6s var(--ease);
}
.card:hover .icon { transform: rotate(-8deg) scale(1.1); }
.card h3 { margin-bottom: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(240px, auto); gap: 22px; }
.bento .card { display: flex; flex-direction: column; }
.bento .span-4 { grid-column: span 4; }
.bento .span-3 { grid-column: span 3; }
.bento .span-2 { grid-column: span 2; }
.bento .img-card { padding: 0; min-height: 320px; }
.bento .img-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.bento .img-card:hover img { transform: scale(1.08); }
.bento .img-card .content { margin-top: auto; padding: 34px; background: linear-gradient(0deg, rgba(7,7,13,.95), transparent); }
.bento .img-card .content p { color: #c9c9db; }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border); color: #d8d8ea; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 36px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: transform .5s var(--ease), background .3s; }
.stat:hover { transform: translateY(-6px); background: var(--surface-2); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); letter-spacing: -.04em; line-height: 1; margin-bottom: 10px; }
.stat span { color: var(--muted); font-size: .95rem; }

/* ---------- Split / image section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.img-stack { position: relative; height: 540px; }
.img-stack .im { position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); transition: transform .8s var(--ease); }
.img-stack .im img { width: 100%; height: 100%; object-fit: cover; }
.img-stack .im1 { width: 72%; height: 78%; top: 0; left: 0; }
.img-stack .im2 { width: 55%; height: 55%; bottom: 0; right: 0; border: 6px solid var(--bg); }
.img-stack:hover .im1 { transform: translate(-10px,-10px) rotate(-2deg); }
.img-stack:hover .im2 { transform: translate(10px,10px) rotate(2deg); }
.check-list { list-style: none; display: grid; gap: 16px; margin: 30px 0 38px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; color: #d6d6e6; }
.check-list li::before { content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; background: rgba(52,211,153,.14); color: var(--green); border: 1px solid rgba(52,211,153,.35); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, transparent, var(--violet), var(--cyan), transparent); opacity: .5; }
.step { text-align: center; padding: 0 10px; }
.step .num {
  width: 68px; height: 68px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; background: var(--bg-2);
  border: 1px solid var(--border-strong); position: relative; transition: transform .5s var(--ease), background .4s, box-shadow .4s;
}
.step:hover .num { transform: scale(1.12); background: var(--grad); box-shadow: var(--shadow-glow); }
.step h3 { margin-bottom: 10px; font-size: 1.15rem; }
.step p { font-size: .95rem; }

/* ---------- Testimonials ---------- */
.reviews-summary { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 60px; }
.review-badge { display: flex; align-items: center; gap: 14px; padding: 16px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); transition: transform .4s var(--ease), border-color .3s; }
.review-badge:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.review-badge .logo-g { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: #000; font-weight: 800; font-family: var(--font-display); font-size: 1.2rem; }
.review-badge b { font-family: var(--font-display); font-size: 1.3rem; }
.review-badge small { display: block; color: var(--muted); font-size: .8rem; }
.testimonials { columns: 3; column-gap: 22px; }
.testi {
  break-inside: avoid; margin-bottom: 22px; padding: 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 1px solid var(--border);
  transition: transform .5s var(--ease), border-color .3s, box-shadow .5s;
}
.testi:hover { transform: translateY(-6px) rotate(-.4deg); border-color: rgba(124,92,255,.4); box-shadow: 0 30px 60px -30px rgba(124,92,255,.5); }
.testi .stars { margin-bottom: 14px; display: block; }
.testi p { color: #dcdcea; font-size: 1rem; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.testi .who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testi .who .ini { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--grad-warm); }
.testi .who b { display: block; font-size: .95rem; }
.testi .who small { color: var(--muted); font-size: .82rem; }
.testi .verified { font-size: .72rem; color: var(--green); display: inline-flex; align-items: center; gap: 4px; margin-left: auto; }
.testi.featured { background: linear-gradient(160deg, rgba(124,92,255,.25), rgba(61,123,255,.08)); border-color: rgba(124,92,255,.4); }
.testi.featured p { font-size: 1.12rem; color: #fff; }

/* Slider testimonial (home) */
.t-slider { position: relative; max-width: 900px; margin: 0 auto; }
.t-slide { display: none; text-align: center; animation: fadeUp .7s var(--ease); }
.t-slide.active { display: block; }
.t-slide blockquote { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.4; letter-spacing: -.02em; font-weight: 500; }
.t-slide .who { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; }
.t-slide .who img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 2px solid var(--violet); }
.t-slide .who b { display: block; }
.t-slide .who small { color: var(--muted); }
.t-dots { display: flex; justify-content: center; gap: 10px; margin-top: 36px; }
.t-dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; background: var(--border-strong); cursor: pointer; transition: width .4s var(--ease), background .3s; }
.t-dots button.active { width: 34px; background: var(--grad); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } }

/* ---------- Portfolio ---------- */
.filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 50px; }
.filter { padding: 11px 22px; border-radius: 99px; border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; font-weight: 500; font-size: .92rem; transition: all .3s var(--ease); }
.filter:hover { background: var(--surface-2); transform: translateY(-2px); }
.filter.active { background: var(--grad); border-color: transparent; box-shadow: var(--shadow-glow); }
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.project { position: relative; border-radius: 26px; background: var(--bg-2); border: 1px solid var(--border); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s, border-color .4s, opacity .4s; transform-style: preserve-3d; }
.project.hide { display: none; }
.project:hover { box-shadow: 0 40px 80px -30px rgba(124,92,255,.6); border-color: rgba(124,92,255,.45); }
.project .shot { position: relative; height: 340px; overflow: hidden; margin: 14px 14px 0; border-radius: 16px 16px 0 0; }
.project .shot .browser-bar { position: absolute; top: 0; left: 0; right: 0; z-index: 2; }
.project .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project:hover .shot img { transform: scale(1.08); }
.project .shot .hover {
  position: absolute; inset: 0; z-index: 3; display: grid; place-items: center;
  background: rgba(7,7,13,.55); backdrop-filter: blur(4px); opacity: 0; transition: opacity .5s var(--ease);
}
.project:hover .shot .hover { opacity: 1; }
.project .shot .hover .btn { transform: translateY(20px) scale(.9); transition: transform .6s var(--ease), box-shadow .3s; }
.project:hover .shot .hover .btn { transform: none; }
.project .info { padding: 26px 30px 30px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.project .info h3 { font-size: 1.4rem; margin-bottom: 6px; }
.project .info p { font-size: .94rem; }
.project .kpi { text-align: right; flex: none; }
.project .kpi b { display: block; font-family: var(--font-display); font-size: 1.6rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.project .kpi small { color: var(--muted); font-size: .78rem; }
.project .badge-type { position: absolute; top: 60px; left: 30px; z-index: 4; font-size: .75rem; font-weight: 700; padding: 7px 14px; border-radius: 99px; background: rgba(0,0,0,.6); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.2); }

/* ---------- Pricing ---------- */
.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 50px; font-weight: 500; }
.switch { width: 58px; height: 32px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border-strong); position: relative; cursor: pointer; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); transition: transform .4s var(--ease); }
.switch.on::after { transform: translateX(26px); }
.save { font-size: .78rem; padding: 4px 10px; border-radius: 99px; background: rgba(52,211,153,.15); color: var(--green); border: 1px solid rgba(52,211,153,.3); }
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; padding: 40px 34px; }
.price-card.popular { background: linear-gradient(170deg, rgba(124,92,255,.3), rgba(61,123,255,.08) 60%); border-color: rgba(124,92,255,.6); transform: scale(1.04); box-shadow: 0 40px 90px -30px rgba(124,92,255,.7); }
.price-card.popular:hover { transform: scale(1.04) translateY(-8px); }
.popular-tag { position: absolute; top: 22px; right: 22px; font-size: .74rem; font-weight: 700; padding: 6px 12px; border-radius: 99px; background: var(--grad-warm); }
.price-card h3 { font-size: 1.5rem; }
.price-card .for { font-size: .92rem; margin: 8px 0 26px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.price b { font-family: var(--font-display); font-size: 3.4rem; letter-spacing: -.05em; line-height: 1; }
.price span { color: var(--muted); }
.price-note { font-size: .84rem; color: var(--muted); margin-bottom: 28px; min-height: 1.4em; }
.price-card .check-list { margin: 26px 0 34px; gap: 13px; font-size: .95rem; flex: 1; }
.price-card .check-list li.no { color: #6b6b80; }
.price-card .check-list li.no::before { content: "–"; background: var(--surface); color: #6b6b80; border-color: var(--border); }
.price-card .btn { justify-content: center; width: 100%; }

.compare { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.compare th, .compare td { padding: 18px 22px; text-align: center; border-bottom: 1px solid var(--border); font-size: .95rem; }
.compare th:first-child, .compare td:first-child { text-align: left; color: #d6d6e6; }
.compare thead th { font-family: var(--font-display); font-size: 1.05rem; background: rgba(255,255,255,.03); }
.compare tbody tr { transition: background .3s; }
.compare tbody tr:hover { background: rgba(124,92,255,.08); }
.compare .y { color: var(--green); font-weight: 700; }
.compare .n { color: #5c5c70; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { border-radius: 18px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; transition: border-color .3s, background .3s; }
.faq-item.open { border-color: rgba(124,92,255,.45); background: rgba(124,92,255,.06); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; background: none; border: 0; cursor: pointer; text-align: left; font-weight: 600; font-size: 1.05rem; }
.faq-q .plus { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); transition: transform .5s var(--ease), background .3s; font-size: 1.2rem; }
.faq-item.open .plus { transform: rotate(45deg); background: var(--grad); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 26px 24px; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.info-card { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); transition: transform .4s var(--ease), border-color .3s; }
.info-card:hover { transform: translateX(8px); border-color: rgba(124,92,255,.45); }
.info-card .ic { width: 50px; height: 50px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--grad); font-size: 1.2rem; }
.info-card b { display: block; }
.info-card span { color: var(--muted); font-size: .92rem; }
.form { padding: 44px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 500; color: #c8c8da; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 18px; border-radius: 14px; background: rgba(0,0,0,.3); border: 1px solid var(--border-strong);
  outline: none; transition: border-color .3s, box-shadow .3s, background .3s;
}
.field select option { background: #12121e; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124,92,255,.18); background: rgba(0,0,0,.45); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { display: none; }
.chip span { display: inline-block; padding: 10px 16px; border-radius: 99px; border: 1px solid var(--border-strong); cursor: pointer; font-size: .9rem; transition: all .3s var(--ease); }
.chip span:hover { background: var(--surface-2); }
.chip input:checked + span { background: var(--grad); border-color: transparent; box-shadow: 0 8px 20px -6px rgba(124,92,255,.7); }
.form-success { display: none; text-align: center; padding: 40px 10px; animation: fadeUp .6s var(--ease); }
.form-success .big { font-size: 3.5rem; margin-bottom: 14px; }
.form.sent form { display: none; }
.form.sent .form-success { display: block; }
.response-time { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .88rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { padding: 80px 0 130px; }
.cta-box {
  position: relative; overflow: hidden; text-align: center; padding: 90px 40px; border-radius: 36px;
  background: linear-gradient(130deg, #2a1a7a 0%, #1b2f86 50%, #0b4f66 100%);
  border: 1px solid rgba(255,255,255,.15); box-shadow: 0 50px 100px -40px rgba(124,92,255,.7);
}
.cta-box::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(circle at center, #000, transparent 70%); }
.cta-box > * { position: relative; }
.cta-box p { color: #d6dcff; margin: 20px auto 36px; max-width: 560px; }
.cta-box .hero-actions { justify-content: center; }
.cta-box .guarantees { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 34px; font-size: .9rem; color: #cfd6ff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 200px 0 90px; text-align: center; overflow: hidden; }
.page-hero .lead { margin: 24px auto 0; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Service detail ---------- */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--border); }
.service-row:last-child { border-bottom: 0; }
.service-row.reverse .service-media { order: 2; }
.service-media { position: relative; border-radius: 28px; overflow: hidden; height: 460px; box-shadow: var(--shadow-lg); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service-media:hover img { transform: scale(1.06); }
.service-media .float-badge { position: absolute; bottom: 22px; left: 22px; animation: none; }
.service-num { font-family: var(--font-display); font-size: .9rem; color: var(--violet); font-weight: 700; letter-spacing: .1em; }
.service-row h2 { margin: 12px 0 18px; font-size: clamp(1.8rem, 3.4vw, 2.7rem); }

/* ---------- Footer ---------- */
.footer { padding: 90px 0 40px; border-top: 1px solid var(--border); background: linear-gradient(180deg, transparent, rgba(124,92,255,.06)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 50px; }
.footer h4 { font-size: .95rem; margin-bottom: 20px; }
.footer ul { list-style: none; display: grid; gap: 12px; }
.footer ul a { color: var(--muted); font-size: .94rem; transition: color .3s, padding .3s; }
.footer ul a:hover { color: #fff; padding-left: 6px; }
.footer .about { margin: 18px 0 24px; font-size: .95rem; max-width: 340px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); transition: transform .4s var(--ease), background .3s; font-size: .9rem; font-weight: 700; }
.socials a:hover { transform: translateY(-4px); background: var(--grad); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 70px; padding-top: 28px; border-top: 1px solid var(--border); color: var(--muted); font-size: .86rem; }
.big-word { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 15vw, 13rem); letter-spacing: -.06em; line-height: .9; text-align: center; margin-top: 60px; background: linear-gradient(180deg, rgba(255,255,255,.12), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(50px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.left { transform: translateX(-60px); }
.reveal.right { transform: translateX(60px); }
.reveal.zoom { transform: scale(.9); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split-words .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 60ms); }
.split-words.in .w > span { transform: none; }

/* Sticky WhatsApp-like CTA */
.sticky-cta { position: fixed; right: 22px; bottom: 22px; z-index: 140; display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 99px; background: var(--grad); font-weight: 600; font-size: .92rem; box-shadow: var(--shadow-glow); transform: translateY(120px); transition: transform .6s var(--ease); }
.sticky-cta.show { transform: none; }
.sticky-cta:hover { transform: translateY(-4px); }

/* Toast social proof */
.toast { position: fixed; left: 22px; bottom: 22px; z-index: 140; display: flex; gap: 12px; align-items: center; max-width: 330px; padding: 14px 18px 14px 14px; border-radius: 18px; background: rgba(18,18,30,.9); backdrop-filter: blur(14px); border: 1px solid var(--border-strong); box-shadow: 0 20px 50px -15px rgba(0,0,0,.8); font-size: .86rem; transform: translateY(150%); transition: transform .7s var(--ease); }
.toast.show { transform: none; }
.toast img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.toast b { color: #fff; }
.toast small { display: block; color: var(--muted); font-size: .76rem; margin-top: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid, .split, .contact-grid, .service-row { grid-template-columns: 1fr; }
  .service-row.reverse .service-media { order: 0; }
  .hero-visual { height: 480px; }
  .grid-3, .pricing { grid-template-columns: 1fr 1fr; }
  .grid-4, .stats, .process { grid-template-columns: 1fr 1fr; }
  .process::before { display: none; }
  .testimonials { columns: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bento .span-4, .bento .span-3, .bento .span-2 { grid-column: span 3; }
  .price-card.popular { transform: none; }
}
@media (max-width: 860px) {
  .nav { position: fixed; top: 80px; left: 0; right: 0; flex-direction: column; padding: 16px; border-radius: 24px; background: rgba(12,12,22,.97); border: 1px solid var(--border); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: all .4s var(--ease); }
  .nav-open .nav { opacity: 1; pointer-events: auto; transform: none; }
  .nav a { padding: 14px 18px; }
  .burger { display: grid; }
  .header-cta .btn { display: none; }
}
@media (max-width: 720px) {
  section { padding: 80px 0; }
  .grid-3, .grid-2, .pricing, .projects, .grid-4, .form-row { grid-template-columns: 1fr; }
  .testimonials { columns: 1; }
  .bento { grid-template-columns: 1fr; }
  .bento .span-4, .bento .span-3, .bento .span-2 { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 400px; }
  .b1 { height: 280px; } .b2 { height: 220px; top: 150px; } .b3 { height: 190px; }
  .fb2 { right: 0; }
  .project .shot { height: 240px; }
  .form { padding: 28px 22px; }
  .compare th, .compare td { padding: 12px 10px; font-size: .82rem; }
  .toast { display: none; }
  .img-stack { height: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* ---------- Logo (SVG) ---------- */
.logo-svg { height: 40px; width: auto; color: #fff; overflow: visible; }
.logo-svg .e rect { transition: transform .5s var(--ease), fill .4s; }
.logo:hover .logo-svg .e rect:nth-child(1) { transform: translateX(6px); }
.logo:hover .logo-svg .e rect:nth-child(2) { transform: translateX(-4px); fill: var(--cyan); }
.logo:hover .logo-svg .e rect:nth-child(3) { transform: translateX(3px); }
.footer .logo-svg { height: 54px; }

/* Pricing on request */
.price.on-quote b { font-size: 2.3rem; }
.price.on-quote b em { font-style: normal; }
[id] { scroll-margin-top: 110px; }
.hero h1 { font-size: clamp(2.6rem, 4.9vw, 4.6rem); }
.hero h1 .rotator { white-space: nowrap; }
.hero-grid { grid-template-columns: 1.15fr 1fr; }
.hero h1 { font-size: clamp(2.4rem, 4.3vw, 4rem); }
@media (max-width: 1080px) { .hero-grid { grid-template-columns: 1fr; } }
html { overflow-x: hidden; } body { overflow-x: clip; }
main, .footer { overflow-x: clip; }
.nav-open .burger span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-open .burger span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
@media (max-width: 860px) { .nav { background: #0d0d18; box-shadow: 0 30px 60px -20px #000; } }
.burger { position: relative; }
.burger span { position: absolute; left: 50%; top: 50%; margin: -1px 0 0 -9px; }
.burger span:nth-child(1) { transform: translateY(-6px); }
.burger span:nth-child(3) { transform: translateY(6px); }
.nav-open .burger span:nth-child(1) { transform: rotate(45deg); }
.nav-open .burger span:nth-child(3) { transform: rotate(-45deg); }

/* ===== Mentions légales ===== */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.legal-nav { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.legal-nav-title { font-family: var(--font-display); font-weight: 700; margin-bottom: 8px; }
.legal-nav a { color: var(--muted); font-size: .92rem; padding: 7px 10px; border-radius: 10px; transition: color .3s, background .3s, transform .3s var(--ease); }
.legal-nav a:hover { color: var(--text); background: var(--surface-2); transform: translateX(4px); }
.legal-date { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); color: var(--muted); font-size: .8rem; }
.legal-body { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.legal-card { padding: 36px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .4s; }
.legal-card:hover { border-color: var(--border-strong); }
.legal-card h2 { font-size: 1.45rem; display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.legal-card h2 span { font-size: .8rem; padding: 6px 10px; border-radius: 99px; background: var(--grad); color: #fff; }
.legal-card h3 { font-size: 1.02rem; margin: 22px 0 8px; }
.legal-card p, .legal-card li { color: var(--muted); line-height: 1.75; }
.legal-card p + p { margin-top: 12px; }
.legal-card strong { color: var(--text); }
.legal-card ul { padding-left: 20px; display: grid; gap: 6px; }
.legal-card a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(34,211,238,.35); transition: text-decoration-color .3s; }
.legal-card a:hover { text-decoration-color: var(--cyan); }
.legal-card dl { display: grid; grid-template-columns: 220px 1fr; margin-top: 14px; border-top: 1px solid var(--border); }
.legal-card dt, .legal-card dd { padding: 12px 0; border-bottom: 1px solid var(--border); }
.legal-card dt { color: var(--muted); font-size: .9rem; }
.legal-card dd { color: var(--text); }
.legal-card mark { background: rgba(255,200,87,.14); color: var(--gold); padding: 2px 6px; border-radius: 6px; }
.footer-bottom a { color: var(--muted); transition: color .3s; }
.footer-bottom a:hover { color: var(--text); }
.form-legal { margin-top: 12px; font-size: .8rem; color: var(--muted); text-align: center; line-height: 1.5; }
.form-legal a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 860px) {
  .legal { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
  .legal-card { padding: 26px 22px; }
  .legal-card dl { grid-template-columns: 1fr; }
  .legal-card dt { padding-bottom: 0; border-bottom: 0; }
  .legal-card dd { padding-top: 4px; }
}
/* Contact : évite le débordement de l'adresse e-mail sur mobile */
.contact-grid > *, .info-card > div:not(.ic) { min-width: 0; }
.info-card b { overflow-wrap: anywhere; }

/* ===== Parcours guidé ===== */
[hidden] { display: none !important; }
.journey { display: flex; list-style: none; max-width: 640px; margin: 0 auto 34px; padding: 0; }
.journey li { flex: 1; position: relative; }
.journey li:not(:first-child)::before { content: ""; position: absolute; top: 17px; right: 50%; width: 100%; height: 2px; background: rgba(255,255,255,.18); }
.journey li.done::before, .journey li.next::before { background: linear-gradient(90deg, #fff, rgba(255,255,255,.6)); }
.journey a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 9px; font-size: .8rem; color: rgba(255,255,255,.65); transition: color .3s; }
.journey a:hover { color: #fff; }
.j-dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; border: 2px solid rgba(255,255,255,.3); background: rgba(10,10,20,.35); backdrop-filter: blur(6px); transition: transform .4s var(--ease); }
.journey a:hover .j-dot { transform: scale(1.12); }
.journey .done .j-dot { background: #fff; border-color: #fff; color: var(--violet); }
.journey .next .j-dot { border-color: #fff; color: #fff; animation: jpulse 2s infinite; }
.journey .next .j-label { color: #fff; font-weight: 600; }
@keyframes jpulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 70% { box-shadow: 0 0 0 14px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.page-hero .journey { margin-bottom: 30px; }
.page-hero .journey .done .j-dot { background: var(--grad); border-color: transparent; color: #fff; }
.page-hero .journey li.done::before, .page-hero .journey li.next::before { background: var(--grad); }

/* ===== Formulaire en étapes ===== */
.wz-progress { margin-bottom: 30px; }
.wz-bar { height: 4px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.wz-bar i { display: block; height: 100%; width: 33.33%; background: var(--grad); border-radius: inherit; transition: width .7s var(--ease); }
.wz-steps { display: flex; justify-content: space-between; list-style: none; margin-top: 12px; font-size: .8rem; color: var(--muted); }
.wz-steps li { transition: color .3s; }
.wz-steps li.active { color: var(--text); font-weight: 600; }
.wz-steps li.done { color: var(--cyan); }
.wizard fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.wz-panel { display: none; }
.wz-panel.active { display: block; animation: wzIn .55s var(--ease); }
.wz-panel.active.back { animation-name: wzBack; }
@keyframes wzIn { from { opacity: 0; transform: translateX(30px); } }
@keyframes wzBack { from { opacity: 0; transform: translateX(-30px); } }
.wizard legend { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin-bottom: 20px; padding: 0; }
.plan-pick { display: grid; gap: 12px; }
.plan-opt { position: relative; display: block; }
.plan-opt input { position: absolute; opacity: 0; pointer-events: none; }
.plan-opt > span { display: grid; grid-template-columns: 1fr auto; gap: 3px 16px; align-items: center; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s, background .3s; }
.plan-opt b { font-family: var(--font-display); font-size: 1.02rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.plan-opt em { grid-row: span 2; font-style: normal; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.plan-opt small { color: var(--muted); font-size: .84rem; }
.plan-opt .tag { font-style: normal; font-size: .68rem; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: var(--grad); color: #fff; }
.plan-opt:hover > span { transform: translateY(-3px); border-color: rgba(124,92,255,.6); background: var(--surface-2); }
.plan-opt input:checked + span { border-color: var(--violet); background: linear-gradient(120deg, rgba(124,92,255,.22), rgba(34,211,238,.08)); box-shadow: 0 16px 36px -16px rgba(124,92,255,.9); }
.plan-opt input:checked + span em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-opt input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.wz-link { display: inline-block; margin-top: 16px; font-size: .86rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.wz-link:hover { color: var(--text); }
.wz-chosen { display: inline-flex; align-items: center; gap: 8px; padding: 8px 8px 8px 14px; margin-bottom: 18px; border-radius: 99px; background: rgba(124,92,255,.14); border: 1px solid rgba(124,92,255,.4); font-size: .85rem; }
.wz-edit { border: 0; background: rgba(255,255,255,.1); color: var(--text); padding: 5px 12px; border-radius: 99px; cursor: pointer; font-size: .8rem; }
.wz-edit:hover { background: rgba(255,255,255,.2); }
.wz-recap { padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px dashed var(--border-strong); font-size: .9rem; margin: 4px 0 6px; }
.wz-recap p { margin-bottom: 6px; }
.wz-recap div { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; border-top: 1px solid var(--border); }
.wz-recap div span { color: var(--muted); }
.wz-recap div b { font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.wz-nav { display: flex; gap: 12px; margin-top: 24px; }
.wz-nav .btn { flex: 1; justify-content: center; }
.wz-nav .wz-prev { flex: 0 0 auto; }
@media (max-width: 720px) {
  .journey .j-label { font-size: .7rem; text-align: center; }
  .wz-steps { font-size: .72rem; }
}
/* Badge « Le plus choisi » posé sur le bord de la carte pour ne pas chevaucher le titre */
.popular-tag { top: -14px; right: 50%; transform: translateX(50%); white-space: nowrap; box-shadow: 0 10px 24px -8px rgba(255,92,154,.7); }
.price-card.popular { overflow: visible; }
@media (max-width: 1080px) { .contact-grid .form { order: -1; } }

/* ---------- Mise en avant de l'offre Premium ---------- */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.pricing .price-card.popular.reveal.in { transform: scale(1.05); }
.pricing .price-card.popular.reveal.in:hover { transform: scale(1.05) translateY(-8px); }
.price-card.popular { z-index: 2; }
.price-card.popular::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--ang), #7c5cff, #22d3ee, #ff5c9a, #7c5cff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spinBorder 6s linear infinite;
}
@keyframes spinBorder { to { --ang: 360deg; } }
.price { flex-wrap: wrap; }
.price-card .check-list li.no { align-items: center; }
.only-p { margin-left: auto; font-size: .66rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; color: #c9bcff; background: rgba(124,92,255,.14); border: 1px solid rgba(124,92,255,.35); white-space: nowrap; }
@media (max-width: 1080px) { .pricing .price-card.popular.reveal.in, .pricing .price-card.popular.reveal.in:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) { .price-card.popular::after { animation: none; } }
.price-card.popular .popular-tag { z-index: 3; }
.price-card .check-list { align-content: start; }
@media (min-width: 1081px) { .pricing .price-card h3 { min-height: 2.2em; display: flex; align-items: flex-end; } }
.price-card .check-list li.plus { color: #fff; font-weight: 600; }
.price-card .check-list li b { color: #fff; }
.price-legal { text-align: center; margin-top: 34px; font-size: .88rem; color: var(--muted); }
.cookie-bar { position: fixed; left: 50%; bottom: 20px; z-index: 300; width: min(720px, calc(100% - 32px)); display: flex; align-items: center; gap: 18px; padding: 16px 18px 16px 22px; border-radius: 20px; background: rgba(14,14,26,.96); border: 1px solid var(--border-strong); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); backdrop-filter: blur(14px); transform: translate(-50%, 140%); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }
.cookie-bar.show { transform: translate(-50%, 0); opacity: 1; }
.cookie-bar p { flex: 1; font-size: .88rem; color: #d6d6e6; }
.cookie-bar a { text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex: none; }
@media (max-width: 620px) { .cookie-bar { flex-direction: column; align-items: stretch; } .cookie-actions .btn { flex: 1; justify-content: center; } }
