/* =========================================================
   IMPULSIONE TECH - styles.css  (mobile-first, dark neon)
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --background:     #09090B;
  --surface:        #111111;
  --surface-2:      #161618;
  --surface-hover:  #18181B;
  --border:         #27272A;

  --text:           #FAFAFA;
  --text-secondary: #A1A1AA;

  --primary:        #7C3AED;
  --primary-hover:  #A855F7;
  --primary-glow:   #9333EA;

  --primary-dim:    rgba(124,58,237,.12);
  --primary-line:   rgba(168,85,247,.28);

  --glass-bg:       rgba(255,255,255,.025);
  --glass-border:   rgba(255,255,255,.07);

  --fs-body:    16px;
  --fs-lead:    clamp(15px, 3.6vw, 18px);
  --fs-h2:      clamp(26px, 6.5vw, 46px);
  --fs-h1:      clamp(34px, 10vw, 78px);
  --fs-display: clamp(26px, 7vw, 56px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur:  .3s;
  --maxw: 1180px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  background: var(--background);
  color: var(--text);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

img { max-width: 100%; }

/* ── ATMOSPHERE ── */
#wave-bg { position: fixed; inset: 0; z-index: -3; pointer-events: none; width: 100%; height: 100%; }

/* barra lateral de progresso */
.side-progress { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 90;
  width: 4px; height: 200px; border-radius: 100px; background: rgba(255,255,255,.08); overflow: hidden; pointer-events: none; }
.side-progress-fill { position: absolute; inset: 0; transform-origin: top center; transform: scaleY(0);
  background: linear-gradient(var(--primary), var(--primary-hover)); box-shadow: 0 0 12px rgba(168,85,247,.6); }
@media (max-width: 600px) { .side-progress { right: 7px; height: 130px; width: 3px; } }

/* WhatsApp flutuante (fixo, pulsante + flutuando) */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 96; text-decoration: none;
  animation: waFloat 3.2s ease-in-out infinite; }
.wa-bubble { position: relative; display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  box-shadow: 0 10px 26px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06);
  transition: transform .25s var(--ease), box-shadow .25s; }
.wa-float:hover .wa-bubble { transform: scale(1.09); box-shadow: 0 14px 34px rgba(37,211,102,.5); }
.wa-bubble svg { width: 30px; height: 30px; fill: #fff; position: relative; z-index: 1; }
.wa-ring { position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: 0;
  animation: waPulse 2.6s ease-out infinite; }
@keyframes waFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes waPulse { 0% { transform: scale(1); opacity: .5; } 70% { transform: scale(1.75); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 600px) { .wa-float { right: 14px; bottom: 14px; } .wa-bubble { width: 52px; height: 52px; } .wa-bubble svg { width: 27px; height: 27px; } }
.wa-float:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 50%; }
.glow { position: fixed; z-index: -2; pointer-events: none; border-radius: 50%; filter: blur(100px); }
.glow-1 { top: -260px; left: 50%; transform: translateX(-50%); width: min(900px,120vw); height: 560px;
  background: radial-gradient(circle, rgba(147,51,234,.28), transparent 70%); }
.glow-2 { top: 42%; right: -280px; width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(124,58,237,.14), transparent 70%); }
.glow-3 { bottom: -280px; left: -200px; width: 620px; height: 560px;
  background: radial-gradient(circle, rgba(168,85,247,.12), transparent 70%); }

/* ── UTIL ── */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
section { position: relative; }
[id] { scroll-margin-top: 76px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary-hover); background: var(--primary-dim);
  border: 1px solid var(--primary-line); padding: 6px 14px; border-radius: 100px;
  margin-bottom: 18px;
}
.eyebrow svg.lucide { width: 13px; height: 13px; }

.section-title { font-size: var(--fs-h2); font-weight: 800; color: var(--text);
  line-height: 1.1; letter-spacing: -.03em; margin-bottom: 14px; }
.section-sub { font-size: var(--fs-lead); color: var(--text-secondary); max-width: 600px; line-height: 1.7; }
.section-head { margin-bottom: 40px; }
.center { text-align: center; }
.center .section-sub { margin-inline: auto; }

.grad {
  background: linear-gradient(110deg, var(--primary) 0%, var(--primary-hover) 50%, #C4B5FD 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

svg.lucide { width: 18px; height: 18px; stroke-width: 2; flex-shrink: 0;
  transition: transform var(--dur) var(--ease); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  text-decoration: none; font-weight: 700; cursor: pointer; font-family: inherit;
  font-size: 15px; padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
  transition: background var(--dur), transform .12s var(--ease), box-shadow var(--dur), border-color var(--dur), color var(--dur);
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 0 0 0 rgba(124,58,237,.5); }
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 10px 40px -6px rgba(124,58,237,.6); transform: translateY(-2px); }
.btn-ghost { background: var(--glass-bg); color: var(--text); border-color: var(--glass-border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-hover); transform: translateY(-2px); }
.btn-lg { font-size: 17px; padding: 16px 30px; }
.btn-primary:hover svg.lucide, .btn-ghost:hover svg.lucide { transform: scale(1.12) rotate(5deg); }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(9,9,11,.6); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border); padding: 10px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; }
.brand img { height: 46px; width: auto; display: block; animation: logoGlow 4s ease-in-out infinite; transition: transform .3s var(--ease); }
.brand:hover img { transform: scale(1.06); }
@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 2px 6px rgba(124,58,237,.25)); }
  50%      { filter: drop-shadow(0 2px 16px rgba(168,85,247,.65)); }
}
.nav-links { display: flex; align-items: center; gap: 16px; }
.nav-menu { display: none; position: relative; align-items: center; gap: 4px;
  padding: 5px; border-radius: 100px; border: 1px solid var(--glass-border);
  background: rgba(255,255,255,.03); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-menu a { position: relative; z-index: 2; color: var(--text-secondary); text-decoration: none;
  font-size: 14px; font-weight: 500; padding: 7px 16px; border-radius: 100px; transition: color var(--dur); }
.nav-menu a:hover { color: var(--text); }
.limelight { position: absolute; z-index: 1; top: 5px; bottom: 5px; left: 0; width: 0;
  border-radius: 100px; background: var(--primary-dim);
  box-shadow: 0 0 18px 1px rgba(168,85,247,.45), inset 0 0 0 1px var(--primary-line);
  opacity: 0; transition: left .35s var(--ease), width .35s var(--ease), opacity .25s; pointer-events: none; }
.nav-cta { font-size: 13px; padding: 9px 16px; }
.nav-cta svg.lucide { width: 16px; height: 16px; }

/* ── HERO (fachada no background) ── */
.hero { position: relative; min-height: 92vh; display: flex; flex-direction: column; justify-content: center;
  padding: 78px 0 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-veil { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(9,9,11,.74) 0%, rgba(9,9,11,.55) 42%, rgba(9,9,11,.94) 100%),
  radial-gradient(120% 80% at 50% 0%, rgba(124,58,237,.28), transparent 60%); }
.hero-inner { position: relative; text-align: center; padding-bottom: 30px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; padding: 7px 14px; border-radius: 100px;
  background: rgba(255,255,255,.05); border: 1px solid var(--glass-border); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 600; color: var(--text); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary-hover);
  box-shadow: 0 0 0 3px rgba(168,85,247,.25); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 3px rgba(168,85,247,.25);} 50%{box-shadow:0 0 0 7px rgba(168,85,247,.04);} }
.hero h1 { font-size: var(--fs-h1); font-weight: 800; line-height: 1.03; letter-spacing: -.04em; color: var(--text); margin-bottom: 18px; text-shadow: 0 2px 30px rgba(0,0,0,.5); }
.hero h1 .line { display: block; overflow: hidden; }
.hero-sub { font-size: var(--fs-lead); color: rgba(255,255,255,.85); max-width: 600px; margin: 0 auto 26px; line-height: 1.65; }
.hero-sub strong { color: #fff; font-weight: 600; }
.hero-cta { display: flex; justify-content: center; margin-bottom: 14px; }
.hero-cta-hint { display: inline-flex; align-items: center; gap: 7px; justify-content: center; font-size: 13px; color: var(--text-secondary); margin-bottom: 32px; }
.hero-cta-hint svg.lucide { width: 14px; height: 14px; color: var(--primary-hover); }
.hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 30px; }
.hstat { will-change: transform, opacity; }
.hstat-num { font-size: clamp(28px,8vw,40px); font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.hstat-num span { color: var(--primary-hover); }
.hstat-label { font-size: 12px; color: rgba(255,255,255,.7); margin-top: 6px; }

/* régua carrossel (trust) */
.ticker { position: relative; margin-top: auto; border-block: 1px solid var(--border);
  background: rgba(9,9,11,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow: hidden; padding: 13px 0; }
.ticker-track { display: flex; gap: 12px; width: max-content; animation: ticker 32s linear infinite; will-change: transform; }
@keyframes ticker { to { transform: translateX(-50%); } }
.tick { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; white-space: nowrap;
  font-size: 13px; font-weight: 600; color: var(--text-secondary);
  padding: 6px 16px; border-radius: 100px; border: 1px solid var(--border); background: var(--surface); }
.tick svg.lucide { width: 15px; height: 15px; color: var(--primary-hover); }

/* ── PROBLEMS (interactive + video bg) ── */
.problems { position: relative; padding: 72px 0; overflow: hidden; }
.prob-video { position: absolute; inset: 0; z-index: -1; }
.prob-video-el { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prob-video-veil { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(9,9,11,.9) 0%, rgba(9,9,11,.8) 45%, rgba(9,9,11,.96) 100%); }
.problems-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.problem-card { position: relative; text-align: left; cursor: pointer; font-family: inherit;
  display: flex; flex-direction: column; gap: 7px; min-height: 96px; padding: 13px;
  border-radius: 16px; background: rgba(17,17,17,.72); border: 1.5px solid var(--border);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: border-color var(--dur), background var(--dur), transform var(--dur) var(--ease), box-shadow var(--dur); }
.problem-card:hover { transform: translateY(-3px); border-color: var(--primary-line); }
.problem-card .pc-chip { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-dim); border: 1px solid var(--primary-line); color: var(--primary-hover); }
.problem-card .pc-chip svg.lucide { width: 22px; height: 22px; }
.pc-thumb { width: 48px; height: 48px; border-radius: 12px; overflow: hidden; flex-shrink: 0;
  border: 1px solid var(--primary-line); background: var(--surface-2); }
.pc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--dur) var(--ease); }
.problem-card:hover .pc-thumb img { transform: scale(1.08); }
.problem-card[aria-pressed="true"] .pc-thumb { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary); }
.problem-card:hover .pc-chip svg.lucide { transform: scale(1.12) rotate(5deg); }
.pc-body { display: flex; flex-direction: column; gap: 3px; }
.pc-title { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.2; }
.pc-desc { font-size: 11.5px; color: var(--text-secondary); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc-check { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); background: rgba(9,9,11,.7); color: transparent;
  transition: background var(--dur), border-color var(--dur), color var(--dur), transform var(--dur) var(--ease); }
.pc-check svg.lucide { width: 14px; height: 14px; }
.problem-card[aria-pressed="true"] { border-color: var(--primary); background: linear-gradient(180deg, rgba(124,58,237,.22), rgba(124,58,237,.06));
  box-shadow: 0 14px 40px -18px rgba(124,58,237,.7); }
.problem-card[aria-pressed="true"] .pc-check { background: var(--primary); border-color: var(--primary); color: #fff; transform: scale(1.08); }
.problem-card[aria-pressed="true"] .pc-chip { background: var(--primary); border-color: var(--primary); color: #fff; }

/* gate (trava até selecionar) */
.gate { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.gate-summary { font-size: 14px; color: var(--text-secondary); max-width: 560px; line-height: 1.5; transition: color var(--dur); }
.gate-summary.has-sel { color: #fff; }
.gate-summary b { color: var(--primary-hover); font-weight: 700; }
.gate-btn { width: 100%; max-width: 440px; display: flex; align-items: center; justify-content: center; gap: 12px; text-align: left; padding: 14px 22px; }
.gate-ico { flex-shrink: 0; display: flex; }
.gate-ico svg.lucide { width: 20px; height: 20px; }
.gate-txt { display: flex; flex-direction: column; line-height: 1.25; }
.gate-label { font-size: 15px; font-weight: 700; }
.gate-sub { font-size: 12px; font-weight: 500; opacity: .85; }
.gate-btn.is-locked { background: var(--surface); color: var(--text-secondary); border: 1px solid var(--border); box-shadow: none; cursor: not-allowed; }
.gate-btn.is-locked:hover { transform: none; box-shadow: none; }
.gate-btn.shake { animation: gateShake .4s var(--ease); }
@keyframes gateShake { 0%,100%{transform:translateX(0);} 20%{transform:translateX(-7px);} 40%{transform:translateX(7px);} 60%{transform:translateX(-5px);} 80%{transform:translateX(5px);} }

/* ── SERVICES (horizontal scroll / scroll-jacking) ── */
.services { position: relative; padding: 72px 0; overflow: hidden; }
.hsvc { position: relative; }
.hsvc-track { display: flex; gap: 14px; padding: 6px 20px 18px; overflow-x: auto; overflow-y: hidden;
  -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hsvc-track::-webkit-scrollbar { display: none; }
.hcard { position: relative; flex: 0 0 auto; width: 68vw; max-width: 290px; aspect-ratio: 3/4;
  scroll-snap-align: center; border-radius: 18px; overflow: hidden; border: 1px solid var(--border);
  background: var(--surface); isolation: isolate;
  transition: border-color var(--dur), transform var(--dur) var(--ease); }
.hcard:hover { border-color: var(--primary-line); }
.hcard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1;
  filter: saturate(.9) brightness(.72); transition: transform .6s var(--ease); }
.hcard:hover > img { transform: scale(1.06); }
.hcard::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(9,9,11,.08) 25%, rgba(9,9,11,.55) 58%, rgba(9,9,11,.92)); }
.hcard-ico { position: absolute; top: 14px; left: 14px; width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: rgba(124,58,237,.32); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--primary-line); }
.hcard-ico svg.lucide { width: 22px; height: 22px; }
.hcard:hover .hcard-ico svg.lucide { transform: scale(1.12) rotate(5deg); }
.hcard-body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; }
.hcard-body h3 { font-size: 18px; font-weight: 800; color: #fff; letter-spacing: -.02em; margin-bottom: 5px; }
.hcard-body p { font-size: 12.5px; color: rgba(255,255,255,.78); line-height: 1.45; }
.hcard-time { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; width: max-content;
  font-size: 11px; font-weight: 600; color: #fff; background: rgba(124,58,237,.3); border: 1px solid var(--primary-line);
  padding: 4px 10px; border-radius: 100px; }
.hcard-time svg.lucide { width: 12px; height: 12px; }
.hcard-cta { background: linear-gradient(160deg, rgba(124,58,237,.2), rgba(255,255,255,.012)), var(--surface); border-color: var(--primary-line); display: flex; align-items: center; justify-content: center; }
.hcard-cta::after { display: none; }
.hcard-cta-inner { text-align: center; padding: 24px; }
.hcard-cta-inner h3 { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.hcard-cta-inner p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 16px; }

/* ── ARC (marcas -> precisão, pinned) ── */
.arc { position: relative; }
.arc-pin { position: relative; }
.arc-marcas { padding: 64px 0; }
.arc-precisao { padding: 16px 0 72px; }
.arc-marcas .section-head { margin-bottom: 32px; }
/* arco pina em todas as larguras (desktop + mobile) */
.js-anim .arc-pin { height: 100svh; overflow: hidden; }
.js-anim .arc-layer { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0; will-change: transform, opacity; }
.js-anim .arc-precisao { opacity: 0; }
/* mobile: compacta "Precisão" pra caber em 1 viewport durante o pin */
@media (max-width: 1023px) {
  .arc-precisao .why-list { display: none; }
  .arc-precisao .why-grid { gap: 16px; }
  .arc-precisao .why-copy .btn { margin-top: 2px; }
  .arc-precisao .compare { max-width: min(78vw, 360px); margin-inline: auto; }
  .arc-precisao .compare-cap { display: none; }
}

/* ── BRANDS (horizontal marquee, SVG logos) ── */
.brands { padding: 72px 0; }
.brands-marquee-wrap { position: relative; overflow: hidden; padding: 4px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brands-marquee { display: flex; gap: 16px; width: max-content; animation: bscroll 32s linear infinite; }
.brands-marquee-wrap:hover .brands-marquee { animation-play-state: paused; }
@keyframes bscroll { to { transform: translateX(-50%); } }
.brand-logo { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 0;
  height: 76px; min-width: 150px; padding: 0 30px; cursor: pointer; font-family: inherit;
  border-radius: 16px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text-secondary);
  transition: color var(--dur), border-color var(--dur), background var(--dur), transform .2s var(--ease), box-shadow var(--dur); }
.brand-logo:hover { color: var(--text); border-color: var(--primary-line); transform: translateY(-3px); }
.brand-logo svg { width: auto; height: 30px; fill: currentColor; display: block; transition: transform var(--dur) var(--ease); }
/* Samsung é wordmark (baixo e largo): aumenta p/ equilibrar com os símbolos */
.brand-logo[data-code="SAMSUNG"] svg { height: 46px; }
.brand-logo[data-code="MOTOROLA"] svg { height: 32px; }
.brand-logo:hover svg { transform: scale(1.08); }
.brand-logo .bl-text { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.brand-logo[aria-pressed="true"] { color: #fff; border-color: var(--primary); background: var(--primary-dim);
  box-shadow: 0 0 0 1px var(--primary), 0 14px 36px -16px rgba(124,58,237,.7); }
.brand-logo .bl-pick { width: 0; overflow: hidden; opacity: 0; display: inline-flex; align-items: center;
  transition: width var(--dur), opacity var(--dur), margin var(--dur); }
.brand-logo[aria-pressed="true"] .bl-pick { width: 18px; opacity: 1; margin-left: 10px; }
.brand-logo .bl-pick svg.lucide { width: 18px; height: 18px; color: var(--primary-hover); }
.brands-hint { margin-top: 22px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 13px; color: var(--text-secondary); }
.brands-hint svg.lucide { width: 15px; height: 15px; color: var(--primary-hover); }

/* ── WHY (pain -> solution + compare) ── */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 24px 0 28px; }
.why-list li { display: flex; gap: 13px; align-items: flex-start; }
.why-ico { flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-dim); border: 1px solid var(--primary-line); color: var(--primary-hover); }
.why-ico svg.lucide { width: 18px; height: 18px; }
.why-list strong { display: block; font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.why-list span { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* compare slider */
.compare { position: relative; width: 100%; aspect-ratio: 1537 / 1023; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--primary-line); box-shadow: 0 30px 90px -28px rgba(124,58,237,.55); user-select: none; touch-action: pan-y; }
.cmp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cmp-before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.cmp-tag { position: absolute; top: 12px; z-index: 4; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: rgba(9,9,11,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border); padding: 5px 11px; border-radius: 100px; }
.cmp-tag-l { left: 12px; } .cmp-tag-r { right: 12px; color: var(--primary-hover); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); z-index: 5; width: 2px; transform: translateX(-1px);
  background: rgba(255,255,255,.9); box-shadow: 0 0 16px rgba(168,85,247,.8); pointer-events: none; }
.cmp-grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 42px; height: 42px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; color: #fff; background: var(--primary);
  border: 2px solid #fff; box-shadow: 0 6px 20px rgba(0,0,0,.5); }
.cmp-grip svg.lucide { width: 20px; height: 20px; }
.cmp-range { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-cap { font-size: 13px; color: var(--text-secondary); text-align: center; margin-top: 12px; }

/* ── PROCESS ── */
.process { padding: 72px 0; }
.steps { display: grid; grid-template-columns: 1fr; gap: 14px; }
.step { padding: 26px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border);
  transition: border-color var(--dur), transform var(--dur) var(--ease); }
.step:hover { border-color: var(--primary-line); transform: translateY(-4px); }
.step-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.step-num { font-size: 42px; font-weight: 800; color: rgba(168,85,247,.16); letter-spacing: -.04em; line-height: 1; }
.step-ico { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-dim); border: 1px solid var(--primary-line); color: var(--primary-hover); }
.step:hover .step-ico svg.lucide { transform: scale(1.12) rotate(5deg); }
.step h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ── GALLERY (interactive image accordion) ── */
.gallery { padding: 72px 0; }
.accordion { display: flex; flex-direction: row; gap: 8px; height: 58svh; min-height: 320px; }
.acc-panel { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--border);
  background: var(--surface); cursor: pointer; flex: 1; min-width: 0; min-height: 0;
  transition: border-color var(--dur), flex .55s var(--ease); }
.acc-panel .acc-cap-t { opacity: 0; transform: translateX(-6px); transition: opacity .4s, transform .4s; }
.acc-panel.is-active .acc-cap-t { opacity: 1; transform: none; }
.acc-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease); }
.acc-panel::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(9,9,11,.05) 30%, rgba(9,9,11,.8)); }
.acc-cap { position: absolute; left: 14px; bottom: 14px; right: 14px; z-index: 2; display: flex; align-items: center; gap: 11px; }
.acc-ico { flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff;
  background: rgba(124,58,237,.32); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--primary-line); }
.acc-ico svg.lucide { width: 19px; height: 19px; }
.acc-cap-t { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.acc-cap-t b { font-size: 15px; font-weight: 700; color: #fff; }
.acc-cap-t i { font-size: 12px; font-style: normal; color: rgba(255,255,255,.7); }
.acc-panel.is-active { border-color: var(--primary-line); flex: 4; }
.acc-panel.is-active img { transform: scale(1.03); }

@media (min-width: 760px) {
  .accordion { height: 460px; gap: 12px; }
  .acc-panel.is-active { flex: 4.5; }
  .accordion:hover .acc-panel { flex: 1; }
  .accordion:hover .acc-panel:hover { flex: 4.5; }
  .accordion:hover .acc-panel:hover .acc-cap-t { opacity: 1; transform: none; }
  .accordion:hover .acc-panel.is-active:not(:hover) .acc-cap-t { opacity: 0; }
}

/* ── TESTIMONIALS ── */
.testimonials { padding: 72px 0; overflow: hidden; }
.marquee { position: relative; display: flex; gap: 14px; width: max-content; animation: scroll 42s linear infinite; }
.marquee.row2 { animation-duration: 52s; animation-direction: reverse; margin-top: 14px; }
.marquee:hover { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee-mask { position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.rev-card { width: 300px; flex-shrink: 0; padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.rev-stars { display: flex; gap: 3px; margin-bottom: 12px; }
.rev-stars svg.lucide { width: 14px; height: 14px; color: #FBBF24; fill: #FBBF24; stroke-width: 0; }
.rev-text { font-size: 14px; color: var(--text); line-height: 1.6; margin-bottom: 16px; }
.rev-foot { display: flex; align-items: center; gap: 12px; }
.rev-av { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px;
  background: var(--primary-dim); border: 1px solid var(--primary-line); color: var(--primary-hover); }
.rev-name { font-size: 14px; font-weight: 700; color: var(--text); }
.rev-det { font-size: 12px; color: var(--text-secondary); }

/* ── FAQ ── */
.faq { padding: 72px 0; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border-radius: 14px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; transition: border-color var(--dur); }
.faq-item.open { border-color: var(--primary-line); }
.faq-q { width: 100%; text-align: left; cursor: pointer; font-family: inherit; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 20px; font-size: 15px; font-weight: 600; color: var(--text); background: none; border: none; transition: color var(--dur); }
.faq-q:hover { color: var(--primary-hover); }
.faq-arrow { display: flex; color: var(--text-secondary); flex-shrink: 0; transition: transform .3s var(--ease), color var(--dur); }
.faq-item.open .faq-arrow { transform: rotate(135deg); color: var(--primary-hover); }
.faq-a-wrap { height: 0; overflow: hidden; }
.faq-a { padding: 0 20px 20px; font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ── CTA ── */
.cta { padding: 30px 0 90px; }
.cta-box { position: relative; overflow: hidden; text-align: center; border-radius: 26px; border: 1px solid var(--primary-line); padding: 56px 22px;
  background: radial-gradient(ellipse 80% 120% at 50% 0%, rgba(124,58,237,.22), transparent 60%), var(--surface); }
.cta-glow { position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: min(560px,90vw); height: 380px; border-radius: 50%; filter: blur(90px); pointer-events: none;
  background: radial-gradient(circle, rgba(147,51,234,.3), transparent 70%); animation: glowPulse 4s ease-in-out infinite; }
@keyframes glowPulse { 0%,100%{opacity:.7;} 50%{opacity:1;} }
.cta-box > *:not(.cta-glow) { position: relative; }
.cta-logo { width: 160px; margin: 0 auto 22px; display:block; filter: drop-shadow(0 8px 30px rgba(124,58,237,.6)); }
.cta-box h2 { font-size: var(--fs-display); font-weight: 800; color: var(--text); line-height: 1.12; letter-spacing: -.03em; margin-bottom: 14px; }
.cta-box p { font-size: var(--fs-lead); color: var(--text-secondary); max-width: 500px; margin: 0 auto 30px; line-height: 1.6; }
.cta-guarantee { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: center; font-size: 13px; color: var(--text-secondary); }
.cta-guarantee span { display: inline-flex; align-items: center; gap: 6px; }
.cta-guarantee svg.lucide { width: 14px; height: 14px; color: var(--primary-hover); }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border); padding: 40px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; margin-bottom: 26px; }
.foot-brand { grid-column: 1 / -1; }
.foot-brand img { height: 56px; margin-bottom: 12px; }
.foot-brand p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; max-width: 460px; }
.foot-col h4 { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 12px; letter-spacing: .04em; text-transform: uppercase; }
.foot-col a, .foot-col p { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--text-secondary); text-decoration: none; margin-bottom: 10px; line-height: 1.5; transition: color var(--dur); }
.foot-col a:hover { color: var(--primary-hover); }
.foot-col svg.lucide { width: 16px; height: 16px; color: var(--primary-hover); margin-top: 2px; }
.foot-bottom { border-top: 1px solid var(--border); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--text-secondary); }
@media (min-width: 760px) {
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; align-items: start; }
  .foot-brand { grid-column: auto; }
}

/* ── A11Y ── */
a:focus-visible, button:focus-visible, .cmp-range:focus-visible { outline: 2px solid var(--primary-hover); outline-offset: 3px; border-radius: 6px; }

/* reveal initial state (only when JS+motion active) */
.js-anim [data-reveal] { opacity: 0; }
/* dentro de capítulos pinados, a timeline/JS controla a entrada (não deixar oculto pelo CSS) */
.js-anim [data-chapter] [data-reveal] { opacity: 1; }

/* Lenis (scroll suave) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* =========================================================
   BREAKPOINTS (min-width, progressive enhancement)
   ========================================================= */
@media (min-width: 600px) {
  .container { padding: 0 24px; }
  .problems-grid { grid-template-columns: repeat(3,1fr); }
  .steps { grid-template-columns: repeat(3,1fr); }
}

@media (min-width: 820px) {
  .nav-menu { display: flex; }
}

@media (min-width: 940px) {
  .why-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .section-head { margin-bottom: 48px; }
  .problems-grid { grid-template-columns: repeat(3,1fr); }
  .problems, .services, .process, .gallery, .testimonials, .faq { padding: 96px 0; }
  .js-anim .arc-marcas { padding: 0; } .js-anim .arc-precisao { padding: 0; }
}

/* services scroll-jacking (todas larguras): JS controla o translate */
.js-hpin .hsvc { overflow: visible; }
.js-hpin .hsvc-track { overflow: visible; scroll-snap-type: none; }

/* capítulos pinados ocupam ~1 viewport (cabe no celular) */
[data-chapter].process, [data-chapter].gallery {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
}
[data-chapter].process .section-head { margin-bottom: 22px; }
/* problemas: fluxo normal (sem center), gate sempre abaixo dos cards */
/* problemas pinado: alinhado ao TOPO (nunca sobrepõe) e cabe em 1 viewport (abaixo do nav) */
[data-chapter].problems { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-start; padding: 78px 0 24px; }
.problems .container { position: relative; z-index: 1; width: 100%; }
.gate { position: relative; z-index: 2; clear: both; margin-top: 20px; }
/* mobile: compacta p/ caber numa tela de celular (iPhone incluso) */
@media (max-width: 1023px) {
  [data-chapter].problems { padding: 70px 0 20px; }
  .problems .section-head { margin-bottom: 14px; }
  .problems .section-head .section-sub { display: none; }
  .problems-grid { gap: 8px; }
  .problem-card { min-height: 84px; padding: 12px; gap: 6px; }
  .problem-card .pc-chip { width: 38px; height: 38px; }
  .problem-card .pc-chip svg.lucide { width: 20px; height: 20px; }
  .pc-title { font-size: 13.5px; }
  .pc-desc { font-size: 11px; -webkit-line-clamp: 2; }
  .gate { margin-top: 14px; gap: 10px; }
  .gate-summary { font-size: 13px; }
  .gate-btn { padding: 13px 18px; }
}
/* mobile: processo compacto p/ os 3 passos caberem e pegarem o efeito no pin */
@media (max-width: 1023px) {
  .process .steps { gap: 10px; }
  .process .step { padding: 16px 18px; }
  .process .step-head { margin-bottom: 10px; }
  .process .step-num { font-size: 34px; }
  .process .step h3 { font-size: 15px; margin-bottom: 5px; }
  .process .step p { font-size: 12.5px; line-height: 1.45; }
}

@media (min-width: 1024px) {
  .hcard { width: 340px; max-width: 340px; }
  .problem-card { aspect-ratio: auto; min-height: 160px; }
  .pc-desc { -webkit-line-clamp: 2; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-anim [data-reveal] { opacity: 1; }
}
