/* ============================================
   LP Empória — dark + red brand system
   Reflects brand identity: black bg, red accent, bold sans
   ============================================ */

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #161616;
  --card: #141414;
  --card-2: #1a1a1a;
  --fg: #f5f5f5;
  --fg-soft: #e5e5e5;
  --muted: rgba(245, 245, 245, 0.58);
  --muted-2: rgba(245, 245, 245, 0.36);
  --line: rgba(245, 245, 245, 0.10);
  --line-strong: rgba(245, 245, 245, 0.22);
  --accent: #e6242b;
  --accent-2: #ff2d36;
  --accent-ink: #ffffff;

  --font-display: "Archivo", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 64px);
}

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

html { scroll-behavior: smooth; background: var(--bg); }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--accent); color: white; }

/* ---------- + DECORATIVE PATTERN ---------- */
/* Subtle red + crosses sprinkled across dark sections */

.plus-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><g stroke='%23e6242b' stroke-width='1' opacity='0.4'><path d='M14 10v8M10 14h8'/><path d='M64 30v6M61 33h6'/><path d='M24 54v6M21 57h6'/><path d='M70 70v6M67 73h6'/></g></svg>");
  background-size: 160px 160px;
  opacity: 0.25;
}
.plus-bg-dense {
  background-size: 100px 100px;
  opacity: 0.7;
}

/* ---------- TYPOGRAPHY ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 0.92;
  text-transform: uppercase;
  text-wrap: balance;
}
.display.tight { letter-spacing: -0.025em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 14px; height: 1px;
  background: var(--accent);
}

.lede {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
  color: var(--fg-soft);
  text-wrap: pretty;
  font-weight: 400;
}

/* ---------- LAYOUT ---------- */

.shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}

section { position: relative; }

.section-pad { padding: clamp(72px, 9vw, 140px) 0; }
.section-pad-sm { padding: clamp(48px, 6vw, 88px) 0; }

.rule { height: 1px; background: var(--line); width: 100%; }
.rule-strong { height: 1px; background: var(--line-strong); }

/* ---------- BUTTONS ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 0;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.18s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-primary .arr {
  display: inline-flex;
  width: 20px; height: 20px;
  align-items: center; justify-content: center;
  transition: transform 0.2s ease;
}
.btn-primary:hover .arr { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line-strong);
  padding: 15px 24px;
}
.btn-ghost:hover { border-color: var(--fg); background: var(--fg); color: var(--bg); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}

/* ---------- NAV ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px) saturate(140%);
  background: rgba(10, 10, 10, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: flex; align-items: center; gap: 14px;
}
.brand-mark-svg {
  color: var(--accent);
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.nav-cta { font-size: 11px; padding: 12px 18px; }
.nav-links { display: none; gap: 32px; }
@media (min-width: 880px) { .nav-links { display: flex; } }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

/* ---------- HERO ---------- */

.hero {
  padding: clamp(40px, 6vw, 96px) 0 clamp(56px, 7vw, 120px);
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
/* Confine hero's + decoration to the right half so headline stays clean */
.hero > .plus-bg {
  left: 50%;
  opacity: 0.45;
  mask-image: linear-gradient(to right, transparent 0%, black 25%, black 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%, black 100%);
}
@media (max-width: 880px) {
  .hero > .plus-bg { left: 0; opacity: 0.18; mask-image: none; -webkit-mask-image: none; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-headline {
  font-size: clamp(34px, 5.4vw, 76px);
  line-height: 1.0;
}
.hero-headline .red { color: var(--accent); }
.hero-headline .stroke {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  text-transform: none;
  -webkit-text-stroke: 0;
  color: var(--fg);
}
.hero-sub {
  margin-top: 32px;
  max-width: 44ch;
}
.hero-actions {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; gap: 14px;
}
.hero-meta {
  margin-top: 44px;
  display: flex; gap: 40px; flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-meta-item .k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-meta-item .v {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}

/* ---------- HERO CANVAS ---------- */

.hero-canvas {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  min-height: 540px;
}
.hero-canvas .canvas-bg {
  position: absolute; inset: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 50 50'><g stroke='%23e6242b' stroke-width='1' opacity='0.5'><path d='M25 18v8M21 22h8'/></g></svg>");
  background-size: 60px 60px;
  opacity: 0.55;
}
.hero-canvas svg.lines {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}
.piece {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 14px;
  z-index: 2;
  box-shadow: 0 30px 50px -30px rgba(0,0,0,0.6);
}
.piece .pmeta {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.piece .pbody {
  margin-top: 10px;
  height: calc(100% - 28px);
  background:
    repeating-linear-gradient(135deg, rgba(245,245,245,0.05) 0 1px, transparent 1px 8px),
    var(--bg-3);
  position: relative;
  overflow: hidden;
}
.piece .pbody.red {
  background: var(--accent);
  position: relative;
}
.piece .pbody.red::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='30'><g fill='%230a0a0a' opacity='0.3'><circle cx='15' cy='15' r='1'/></g></svg>");
  background-size: 6px 6px;
}
.piece .ptag {
  position: absolute;
  inset: auto 10px 10px 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.piece .pbody.red ~ .ptag { color: rgba(255,255,255,0.85); }

.piece-1 { top: 0%;  left: 4%;  width: 38%; height: 30%; transform: rotate(-3deg); }
.piece-2 { top: 6%;  right: 2%; width: 44%; height: 38%; transform: rotate(2deg); }
.piece-3 { top: 42%; left: 0%;  width: 36%; height: 30%; transform: rotate(4deg); }
.piece-4 { top: 48%; right: 6%; width: 38%; height: 34%; transform: rotate(-2deg); }
.piece-5 { bottom: 0%; left: 26%; width: 48%; height: 22%; transform: rotate(1deg); }

.line-path {
  stroke: var(--accent);
  stroke-width: 1.2;
  fill: none;
  stroke-dasharray: 4 4;
  opacity: 0;
  stroke-dashoffset: 200;
  animation: draw 1.6s ease-out 0.3s forwards;
}
@keyframes draw {
  to { opacity: 0.85; stroke-dashoffset: 0; }
}
.node-dot {
  fill: var(--accent);
  opacity: 0;
  animation: pop 0.4s ease-out 1.4s forwards;
}
@keyframes pop {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- VALUE PROP ---------- */

.value-prop {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.value-prop-grid {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: clamp(32px, 5vw, 80px);
}
@media (max-width: 760px) { .value-prop-grid { grid-template-columns: 1fr; } }
.value-prop p {
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.4;
  color: var(--fg);
  font-weight: 300;
  letter-spacing: -0.005em;
  margin-bottom: 28px;
  text-wrap: pretty;
}
.value-prop p:last-child { margin-bottom: 0; }
.value-prop p .em {
  color: var(--accent);
  font-weight: 600;
}

/* ---------- PAIN ---------- */

.pain-grid {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: clamp(40px, 6vw, 88px);
}
@media (max-width: 880px) { .pain-grid { grid-template-columns: 1fr; } }

.pain-list { display: flex; flex-direction: column; }
.pain-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.pain-item:last-child { border-bottom: 1px solid var(--line); }
.pain-item .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent);
  padding-top: 4px;
}
.pain-item .txt {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.4;
  text-wrap: pretty;
}
.pain-close {
  margin-top: 56px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  max-width: 28ch;
  text-transform: none;
  color: var(--fg-soft);
}
.pain-close .accent { color: var(--accent); }

/* ---------- SOLUTION / 8 FRENTES ---------- */

.solution { background: var(--bg); position: relative; }
.solution-intro {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: clamp(40px, 6vw, 88px);
}
@media (max-width: 880px) { .solution-intro { grid-template-columns: 1fr; } }
.solution-intro p {
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--fg-soft);
  margin-bottom: 20px;
  text-wrap: pretty;
}

.frentes {
  margin-top: clamp(56px, 7vw, 100px);
  position: relative;
}
.frentes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  position: relative;
  z-index: 2;
}
@media (max-width: 880px) { .frentes-grid { grid-template-columns: repeat(2, 1fr); } }

.frente {
  background: var(--card);
  padding: 40px 28px 44px;
  min-height: 280px;
  position: relative;
  transition: background 0.3s ease;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.frente::before {
  content: "+";
  position: absolute;
  top: 14px; right: 16px;
  color: var(--accent);
  font-size: 14px;
  font-family: var(--font-mono);
  font-weight: 400;
  opacity: 0.6;
}
.frente:hover { background: var(--card-2); }
.frente .fnum {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.frente .ficon {
  margin-top: 28px;
  width: 44px; height: 44px;
  color: var(--accent);
  transition: transform 0.3s ease;
}
.frente:hover .ficon { transform: scale(1.06); }
.frente .fname {
  margin-top: auto;
  padding-top: 32px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.05;
}
.frente .fdesc {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.frente.active { background: var(--card-2); }

.frentes-close {
  margin-top: clamp(56px, 7vw, 96px);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  text-wrap: balance;
}
.frentes-close .dim { color: var(--muted); }
.frentes-close .em { color: var(--accent); }

/* ---------- BENEFITS ---------- */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 1080px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .benefits-grid { grid-template-columns: 1fr; } }

.benefit {
  background: var(--bg);
  padding: 40px 28px 44px;
  min-height: 240px;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.benefit::before {
  content: "+";
  position: absolute;
  top: 14px; right: 16px;
  color: var(--accent);
  font-size: 14px;
  font-family: var(--font-mono);
  opacity: 0.5;
}
.benefit .bicon {
  width: 32px; height: 32px;
  color: var(--accent);
}
.benefit .btitle {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.1;
}
.benefit .bdesc {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.benefit-wide { grid-column: span 2; }
@media (max-width: 1080px) { .benefit-wide { grid-column: span 2; } }
@media (max-width: 600px) { .benefit-wide { grid-column: span 1; } }

/* ---------- PROVA SOCIAL ---------- */

.proof-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 760px) { .proof-numbers { grid-template-columns: repeat(2, 1fr); } }
.proof-num {
  background: var(--bg);
  padding: 44px 24px;
}
.proof-num .v {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--fg);
}
.proof-num .v .red { color: var(--accent); }
.proof-num .v .sub { font-size: 0.4em; color: var(--muted-2); letter-spacing: -0.01em; margin-left: 6px; font-weight: 700; }
.proof-num .k {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 880px) { .logos-grid { grid-template-columns: repeat(3, 1fr); } }
.logo-cell {
  background: var(--bg);
  aspect-ratio: 5 / 3;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  position: relative;
  transition: background 0.2s;
}
.logo-cell:hover { background: var(--card); }
.logo-cell svg { opacity: 0.6; color: var(--fg-soft); }
.logo-cell .logo-img {
  max-width: 72%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(1);
  opacity: 0.92;
  transition: opacity 0.2s;
}
.logo-cell:hover .logo-img { opacity: 1; }

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 880px) { .testimonials { grid-template-columns: 1fr; } }
.testi {
  background: var(--card);
  padding: 32px;
  display: flex; flex-direction: column;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}
.testi::before {
  content: "+";
  position: absolute;
  top: 14px; right: 16px;
  color: var(--accent);
  font-family: var(--font-mono);
  opacity: 0.5;
}
.testi .quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.005em;
  flex: 1;
  text-wrap: pretty;
  text-transform: none;
}
.testi .author {
  margin-top: 28px;
  display: flex; align-items: center; gap: 14px;
}
.testi .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}
.testi .who { display: flex; flex-direction: column; }
.testi .name { font-weight: 700; font-size: 14px; }
.testi .role { font-size: 12px; color: var(--muted); }
.testi .placeholder-tag {
  position: absolute;
  top: 14px; right: 36px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
}

/* ---------- OFERTA ---------- */

.oferta {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.oferta-grid {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: clamp(40px, 6vw, 88px);
}
@media (max-width: 880px) { .oferta-grid { grid-template-columns: 1fr; } }
.oferta-list { display: flex; flex-direction: column; }
.oferta-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.oferta-item:last-child { border-bottom: 1px solid var(--line); }
.oferta-item .check {
  width: 28px; height: 28px;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid; place-items: center;
}
.oferta-item .txt {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.4;
}
.oferta-close {
  margin-top: 44px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.oferta-close .accent { color: var(--accent); }

/* ---------- ACCORDION ---------- */

.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  text-align: left;
  transition: padding-left 0.25s ease;
}
.acc-q:hover { padding-left: 8px; }
.acc-q .qtext {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}
.acc-q .qmark {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
  margin-top: 4px;
  color: var(--muted);
}
.acc-item.open .acc-q .qmark {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  transform: rotate(45deg);
}
.acc-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.acc-item.open .acc-a { max-height: 500px; }
.acc-a-inner {
  padding: 0 0 32px 0;
  max-width: 72ch;
  color: var(--fg-soft);
  font-size: 17px;
  line-height: 1.6;
}
.acc-q.objection .qtext {
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: none;
  font-style: italic;
  color: var(--fg-soft);
}
.acc-q.objection .qtext::before { content: "“"; margin-right: 4px; color: var(--accent); }
.acc-q.objection .qtext::after  { content: "”"; margin-left: 4px; color: var(--accent); }

/* ---------- GARANTIA ---------- */

.garantia {
  background: var(--card);
  padding: clamp(40px, 5vw, 72px);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.garantia .gtitle {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.0;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin-top: 20px;
  max-width: 22ch;
}
.garantia .gtitle .em { color: var(--accent); }
.garantia .gbody {
  margin-top: 32px;
  max-width: 64ch;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--fg-soft);
  line-height: 1.6;
  text-wrap: pretty;
}
.garantia-deco {
  position: absolute;
  right: -100px; top: -100px;
  width: 360px; height: 360px;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><g stroke='%23e6242b' stroke-width='1' opacity='0.5'><path d='M20 14v12M14 20h12'/></g></svg>");
  background-size: 40px 40px;
  pointer-events: none;
  mask-image: radial-gradient(closest-side, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(closest-side, black 30%, transparent 80%);
}

/* ---------- CUSTO DA INAÇÃO ---------- */

.custo-list { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.custo-item {
  background: var(--bg);
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  padding: 36px 0;
  align-items: center;
}
.custo-item .num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
  text-align: right;
}
.custo-item .txt {
  font-family: var(--font-body);
  font-weight: 500;
  font-style: normal;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.4;
  letter-spacing: -0.005em;
  text-transform: none;
  max-width: 42ch;
  color: var(--fg-soft);
  text-wrap: pretty;
}
.custo-close {
  margin-top: 56px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  max-width: 32ch;
}
.custo-close .em { color: var(--accent); }

/* ---------- CTA FINAL / FORM ---------- */

.cta-final {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
@media (max-width: 880px) { .form-grid { grid-template-columns: 1fr; } }

.form-card {
  background: var(--card);
  color: var(--fg);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
}
.form-row {
  display: grid;
  gap: 22px;
  margin-bottom: 22px;
}
.form-row.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form-row.two { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field select, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 8px 0 10px;
  font-size: 16px;
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-bottom-color: var(--accent);
}
.field textarea { min-height: 80px; resize: vertical; font-family: inherit; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' stroke='%23f5f5f5' stroke-width='1.4' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
}
.field select option { background: var(--card); color: var(--fg); }

.consent {
  display: flex; gap: 12px;
  align-items: flex-start;
  margin: 24px 0 28px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}
.consent input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }
.consent a { color: var(--fg); border-bottom: 1px solid var(--line-strong); }

.form-submit {
  width: 100%;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  transition: background 0.18s ease;
}
.form-submit:hover { background: var(--accent-2); }

.form-ok {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 56px 40px;
  text-align: center;
}
.form-ok .display { font-size: 36px; }

.cta-side-list {
  margin-top: 48px;
  display: flex; flex-direction: column; gap: 18px;
}
.cta-side-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: center;
  font-size: 14px;
  color: var(--fg-soft);
}
.cta-side-item .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  display: block;
}

/* ---------- PS ---------- */

.ps {
  background: var(--accent);
  color: var(--accent-ink);
  position: relative;
  overflow: hidden;
}
.ps .plus-bg {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><g stroke='%23ffffff' stroke-width='1' opacity='0.35'><path d='M14 10v8M10 14h8'/><path d='M64 30v6M61 33h6'/><path d='M24 54v6M21 57h6'/><path d='M70 70v6M67 73h6'/></g></svg>");
}
.ps-grid {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: clamp(40px, 6vw, 88px);
}
@media (max-width: 880px) { .ps-grid { grid-template-columns: 1fr; } }
.ps .eyebrow { color: rgba(255,255,255,0.85); }
.ps .eyebrow::before { background: white; }
.ps p {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.96);
  text-wrap: pretty;
}
.ps p:last-of-type { margin-bottom: 0; }
.ps-sign {
  margin-top: 36px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- FOOTER ---------- */

.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 56px 0 36px;
  font-size: 13px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-end;
}
.footer-legal {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- WHATSAPP FLOAT ---------- */

.wa {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 40;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: grid; place-items: center;
  box-shadow: 0 8px 30px rgba(37,211,102,0.35), 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.wa:hover { transform: scale(1.06); }
.wa-label {
  position: absolute;
  right: 64px;
  background: var(--card);
  color: var(--fg);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity 0.2s, transform 0.2s;
}
.wa:hover .wa-label { opacity: 1; transform: translateX(0); }

/* ---------- BACK TO TOP ---------- */

.back-top {
  position: fixed;
  bottom: 24px; right: 92px;
  z-index: 40;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.45);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.18s ease, color 0.18s ease;
}
.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-top:hover {
  background: var(--accent);
  border-color: transparent;
}
.back-top svg { display: block; }

@media (max-width: 600px) {
  .back-top {
    bottom: 24px; right: 88px;
    width: 56px; height: 56px;
  }
  .back-top svg { width: 20px; height: 20px; }
}

/* ---------- REVEAL ANIMATION ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- UTIL ---------- */
.text-center { text-align: center; }
.muted { color: var(--muted); }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 28px; }
.mt-lg { margin-top: 56px; }
.mt-xl { margin-top: 88px; }

.section-eyebrow-block {
  margin-bottom: clamp(40px, 5vw, 64px);
}

/* ---------- MOBILE TWEAKS ---------- */

@media (max-width: 600px) {
  /* Safety net: nada deve causar scroll horizontal */
  html, body { overflow-x: hidden; }
  body { max-width: 100vw; }

  /* 1) Headline maior no mobile */
  .hero-headline {
    font-size: clamp(42px, 11.2vw, 56px);
    line-height: 1.02;
    overflow-wrap: break-word;
    word-break: normal;
  }

  /* 2) Sub-headline menor, para não brigar com a head */
  .hero-sub {
    font-size: 15px;
    line-height: 1.5;
    margin-top: 22px;
    max-width: 38ch;
  }

  /* 3) Botões centralizados no mobile (exceto nav-cta do menu) */
  .hero-actions { justify-content: center; }
  .hero-actions .btn { width: auto; }
  .ps-sign + div { text-align: center; }

  /* Botões longos podem quebrar linha no mobile */
  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    padding: 10px 16px;
    font-size: 12px;
    max-width: 100%;
  }
  .btn-primary, .btn-ghost { padding: 12px 18px; }
  .btn .arr { width: 16px; height: 16px; }
  .nav-cta {
    padding: 8px 12px;
    font-size: 10px;
    white-space: nowrap;
    gap: 6px;
    flex-shrink: 0;
  }
  .nav-cta .arr { width: 14px; height: 14px; }
  .nav-inner { gap: 12px; }
  .brand { flex-shrink: 1; min-width: 0; }

  /* HERO CANVAS — não pode forçar largura > viewport */
  .hero-canvas {
    min-height: 0;
    aspect-ratio: 1.05 / 1;
    width: 100%;
    max-width: 100%;
    margin-top: 48px;
  }

  /* Texto longo do hero-meta quebra com naturalidade */
  .hero-meta { gap: 24px; }
  .hero-meta-item { min-width: 0; max-width: 100%; }
  .hero-meta-item .v {
    font-size: 17px;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  /* Eyebrow não vaza */
  .eyebrow {
    flex-wrap: wrap;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  /* Frentes em 1 coluna no mobile (estava 2 cols, ficava apertado) */
  .frentes-grid { grid-template-columns: 1fr !important; }
  .frente { padding: 32px 22px 36px; min-height: 0; }

  /* Benefits / cards com padding mais enxuto */
  .benefit { padding: 32px 22px 36px; min-height: 0; }

  /* Form card mais enxuto */
  .form-card { padding: 24px; }
  .form-card input,
  .form-card select,
  .form-card textarea { max-width: 100%; box-sizing: border-box; }

  /* Garantia: clip da decoração que vaza */
  .garantia { overflow: hidden; }

  /* Logos das empresas: 2 colunas no mobile, logos maiores */
  .logos-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .logo-cell { aspect-ratio: 4 / 3; }
  .logo-cell .logo-img { max-width: 82%; }

  /* Quote/testimonial não vaza */
  .testi .quote { overflow-wrap: anywhere; }
  .testi { min-height: 0; }

  /* Section padding um pouco mais enxuto no mobile */
  .section-pad { padding: 64px 0; }
  .section-pad-sm { padding: 44px 0; }

  /* WhatsApp float: encolhe label */
  .wa-label { display: none; }

  /* Imagens responsivas */
  img, svg, video { max-width: 100%; height: auto; }
}
