/* ============ Talk Solutions — 2026 ============ */
:root {
  --bg: #06080d;
  --bg-2: #0b0f17;
  --surface: #10151f;
  --surface-2: #151b27;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eef1f6;
  --muted: #9aa3b2;
  --dim: #7d8697;
  --brand: #ffaa00;
  --brand-2: #ff7a00;
  --blue: #2f8cff;
  --green: #25d366;
  --grad: linear-gradient(120deg, #ffcc4d 0%, #ffaa00 40%, #ff7a00 100%);
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: "Sora", "Inter", sans-serif; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
::selection { background: var(--brand); color: #000; }

.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--alt { background: var(--bg-2); }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
  padding: 7px 14px; border: 1px solid rgba(255, 170, 0, .28); border-radius: 999px;
  background: rgba(255, 170, 0, .06);
  margin-bottom: 20px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(255,170,0,.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255,170,0,.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(255,170,0,0); } }

.h-display { font-size: clamp(2.1rem, 6.4vw, 5rem); font-weight: 700; overflow-wrap: break-word; }
.h-section { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.center .lead { margin-inline: auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head { margin-bottom: clamp(40px, 6vw, 64px); }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: .98rem; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap; font-family: inherit;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--grad); color: #140c00; box-shadow: 0 10px 30px -10px rgba(255, 150, 0, .6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(255, 150, 0, .75); }
.btn--ghost { background: rgba(255,255,255,.04); border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn--wa { background: var(--green); color: #04210f; }
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(37, 211, 102, .7); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(6, 8, 13, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.logo { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }
.logo__mark { width: 38px; height: 38px; border-radius: 11px; background: var(--grad); display: grid; place-items: center; color: #140c00; box-shadow: 0 6px 20px -6px rgba(255,150,0,.7); }
.logo__mark svg { width: 20px; height: 20px; }
.logo b { color: var(--brand); font-weight: 700; }
.logo img { height: 46px; width: auto; }
.logo--footer img { height: 64px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { white-space: nowrap; padding: 9px 14px; border-radius: 999px; font-size: .93rem; color: var(--muted); transition: color .2s, background .2s; }
.nav a:hover, .nav a.is-active { color: var(--text); background: rgba(255,255,255,.06); }
.header .btn { --h: 44px; padding: 0 20px; font-size: .9rem; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--text); cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 2px; transition: transform .3s, 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); }

@media (max-width: 1080px) {
  .burger { display: block; }
  .header .header__cta { display: none; }
  .nav {
    position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 16px 20px 24px; background: rgba(6, 8, 13, .97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .3s var(--ease);
  }
  .nav a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
  .nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav-open .header { background: rgba(6, 8, 13, .97); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; isolation: isolate; }
.hero--page { min-height: 86svh; }
.hero__canvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 75% 40%, rgba(255, 140, 0, .16), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(47, 140, 255, .12), transparent 70%),
    linear-gradient(180deg, transparent 70%, var(--bg));
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__grid > * { min-width: 0; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 34px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 40px; color: var(--muted); font-size: .9rem; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 18px; height: 18px; color: var(--brand); }
/* Cada frase tem o próprio gradiente: background-clip:text no pai ignoraria a opacidade dos filhos */
.rotator { display: grid; }
.rotator > span { grid-area: 1 / 1; align-self: start; opacity: 0; visibility: hidden; transform: translateY(40%); filter: blur(6px); transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease), visibility .7s; }
.rotator > span.is-on { opacity: 1; visibility: visible; transform: none; filter: none; }
.rotator > span.is-out { opacity: 0; visibility: visible; transform: translateY(-40%); filter: blur(6px); }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--line-2); border-radius: 20px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--brand); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; row-gap: 84px; }
  .hero { padding-top: 110px; }
  .scroll-cue { display: none; }
}

/* ---------- Hero visual: call card ---------- */
.callcard {
  position: relative; border-radius: var(--radius-lg); padding: 26px;
  background: linear-gradient(180deg, rgba(21, 27, 39, .85), rgba(12, 16, 24, .85));
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.callcard__top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #140c00; font-weight: 700; font-family: "Sora"; position: relative; }
.avatar::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255,170,0,.5); animation: ring 1.8s infinite; }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.callcard__who b { display: block; font-family: "Sora"; }
.callcard__who small { color: var(--muted); }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--green); background: rgba(37,211,102,.1); padding: 5px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.wave { display: flex; align-items: center; gap: 4px; height: 74px; margin: 6px 0 22px; }
.wave i { flex: 1; border-radius: 4px; background: var(--grad); height: 20%; opacity: .9; }
.callcard__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.mini small { display: block; color: var(--dim); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.mini b { font-family: "Sora"; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.mini b.up { color: var(--green); }
.chip-float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 16px; font-size: .85rem;
  background: rgba(16, 21, 31, .92); border: 1px solid var(--line-2);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); backdrop-filter: blur(8px);
}
.chip-float b { font-family: "Sora"; display: block; }
.chip-float small { color: var(--muted); }
.chip-float .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,170,0,.14); color: var(--brand); flex: none; }
.chip-float .ic svg { width: 18px; height: 18px; }
.chip-float--a { top: -54px; right: -18px; animation: float 6s ease-in-out infinite reverse; }
.chip-float--b { bottom: -30px; left: -26px; animation: float 8s ease-in-out infinite; }
@media (max-width: 560px) { .chip-float--a { right: 4px; } .chip-float--b { left: 4px; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 14px; color: var(--muted); font-family: "Sora"; font-size: 1.05rem; white-space: nowrap; }
.marquee__track span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative; border-radius: var(--radius); padding: 28px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(255,170,0,.12), transparent 60%);
}
.card:hover { transform: translateY(-4px); border-color: rgba(255,170,0,.3); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; background: rgba(255,170,0,.1); border: 1px solid rgba(255,170,0,.25); color: var(--brand); }
.icon svg { width: 24px; height: 24px; }

.service { display: flex; flex-direction: column; min-height: 320px; }
.service .more { margin-top: auto; padding-top: 24px; display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 600; font-size: .92rem; }
.service .more svg { width: 16px; height: 16px; transition: transform .25s; }
.service:hover .more svg { transform: translateX(4px); }
.service__num { position: absolute; top: 22px; right: 26px; font-family: "Sora"; color: var(--dim); font-size: .85rem; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }
.checklist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: rgba(255,170,0,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffaa00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.stat { padding: 34px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: "Sora"; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; margin-bottom: 10px; }
.stat span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); }
.calc__form { padding: clamp(28px, 4vw, 48px); }
.calc__result { padding: clamp(28px, 4vw, 48px); background: radial-gradient(120% 90% at 100% 0%, rgba(255,140,0,.28), transparent 60%), var(--surface-2); border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.field { margin-bottom: 26px; }
.field label { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 12px; }
.field label output { font-family: "Sora"; color: var(--brand); font-variant-numeric: tabular-nums; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--brand) var(--p, 30%), rgba(255,255,255,.1) var(--p, 30%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); cursor: grab; box-shadow: 0 4px 14px rgba(255,150,0,.5); }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); cursor: grab; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button { flex: 1; min-width: 110px; padding: 12px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; transition: .2s; }
.seg button.is-on { border-color: var(--brand); color: var(--text); background: rgba(255,170,0,.1); }
.calc__big { font-family: "Sora"; font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 700; line-height: 1; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.calc__small { color: var(--muted); }
.calc__bars { display: grid; gap: 12px; margin: 26px 0 30px; }
.bar small { display: flex; justify-content: space-between; color: var(--muted); font-size: .85rem; margin-bottom: 6px; }
.bar div { height: 10px; border-radius: 10px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar div i { display: block; height: 100%; border-radius: 10px; background: #5a6272; transition: width .6s var(--ease); }
.bar--talk div i { background: var(--grad); }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc__result { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Steps / timeline ---------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.step::before { counter-increment: s; content: "0" counter(s); font-family: "Sora"; font-weight: 700; font-size: 2.4rem; line-height: 1; display: block; margin-bottom: 18px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Quote ---------- */
.quote { position: relative; padding: clamp(32px, 5vw, 64px); border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: radial-gradient(80% 120% at 0% 0%, rgba(255,170,0,.14), transparent 60%), var(--surface); }
.quote blockquote { margin: 0 0 28px; font-family: "Sora"; font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.35; letter-spacing: -.01em; }
.quote blockquote::before { content: "“"; display: block; font-size: 5rem; line-height: .6; color: var(--brand); margin-bottom: 14px; }
.quote cite { font-style: normal; display: flex; align-items: center; gap: 14px; }
.quote cite b { display: block; }
.quote cite small { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .3s; }
.faq details[open] { border-color: rgba(255,170,0,.35); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: "Sora"; font-size: 1.5rem; line-height: 1; color: var(--brand); transition: transform .3s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* ---------- Tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); font-size: .93rem; transition: .25s; }
.tag:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- CTA band + contact ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px); background: var(--grad); color: #140c00; display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-radial-gradient(circle at 100% 50%, rgba(0,0,0,.06) 0 2px, transparent 2px 26px); }
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 10px; }
.cta-band p { margin: 0; opacity: .8; font-size: 1.08rem; }
.cta-band .btn--dark { background: #0b0f17; color: #fff; }
.cta-band .btn--dark:hover { transform: translateY(-2px); }
.cta-band .btn--line { border-color: rgba(0,0,0,.25); color: #140c00; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { flex-direction: column; } .cta-band .btn { width: 100%; white-space: normal; } }

.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
.contact__list { display: grid; gap: 14px; margin-top: 28px; }
.contact__item { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); transition: border-color .25s, transform .25s; }
a.contact__item:hover { border-color: rgba(255,170,0,.35); transform: translateX(4px); }
.contact__item .icon { margin: 0; flex: none; width: 46px; height: 46px; }
.contact__item small { display: block; color: var(--dim); font-size: .8rem; }
.contact__item b { font-weight: 600; }
.form { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: var(--surface); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.form label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 7px; font-weight: 500; }
.form .f { margin-bottom: 16px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--bg-2); color: var(--text); font: inherit; outline: none; transition: border-color .2s, box-shadow .2s;
}
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa3b2' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(255,170,0,.12); }
.form .btn { width: 100%; margin-top: 6px; }
.form__note { font-size: .82rem; color: var(--dim); margin: 14px 0 0; text-align: center; }
.map { margin-top: 14px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); height: 220px; filter: grayscale(1) invert(.92) contrast(.9); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 28px; background: var(--bg); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 48px; }
.footer h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--dim); margin-bottom: 16px; font-family: "Inter"; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: var(--muted); transition: color .2s; }
.footer a:hover { color: var(--brand); }
.footer p { color: var(--muted); font-size: .94rem; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: .85rem; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
/* espaço para o botão flutuante do WhatsApp não cobrir o rodapé */
@media (max-width: 560px) { .footer { padding-bottom: 100px; } }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 34px -10px rgba(37,211,102,.7); transition: transform .25s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: ring 2.2s infinite; }

/* ---------- Page-specific visuals ---------- */
.phone {
  width: min(320px, 100%); margin-inline: auto; aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #2a3140, #0d1118); border: 1px solid var(--line-2);
  box-shadow: 0 50px 120px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.04) inset;
  animation: float 7s ease-in-out infinite;
}
.phone__screen { height: 100%; border-radius: 34px; background: #0a0d13; overflow: hidden; display: flex; flex-direction: column; }
.phone__bar { padding: 18px 18px 12px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.phone__bar .avatar { width: 34px; height: 34px; font-size: .8rem; }
.phone__bar .avatar::after { display: none; }
.phone__bar b { font-size: .9rem; display: block; }
.phone__bar small { color: var(--green); font-size: .72rem; }
.phone__msgs { flex: 1; padding: 16px 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 16px 16px 16px 4px; background: var(--surface-2); font-size: .82rem; line-height: 1.45; opacity: 0; transform: translateY(16px) scale(.96); transition: .5s var(--ease); }
.msg.is-in { opacity: 1; transform: none; }
.msg small { display: block; color: var(--dim); font-size: .66rem; margin-top: 4px; }
.msg--brand { background: rgba(255,170,0,.14); border: 1px solid rgba(255,170,0,.25); }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 16px; background: var(--surface-2); width: max-content; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

.mapviz { position: relative; aspect-ratio: 1; width: min(520px, 100%); margin-inline: auto; }
.mapviz canvas { width: 100%; height: 100%; }

.routeviz { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: rgba(12,16,24,.7); padding: 18px; backdrop-filter: blur(8px); }
.routeviz svg { width: 100%; height: auto; }
.flow { stroke-dasharray: 6 10; animation: dash 1.2s linear infinite; }
.flow--slow { animation-duration: 3s; }
@keyframes dash { to { stroke-dashoffset: -32; } }

.devices { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.device { text-align: center; padding: 26px 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: .3s var(--ease); }
.device:hover { border-color: rgba(255,170,0,.35); transform: translateY(-4px); }
.device .icon { margin: 0 auto 14px; }
.device b { display: block; font-family: "Sora"; font-size: .98rem; }
@media (max-width: 960px) { .devices { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .devices { grid-template-columns: repeat(2, 1fr); } }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.compare th, .compare td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font-family: "Sora"; font-size: .95rem; background: var(--surface-2); }
.compare th:last-child, .compare td:last-child { background: rgba(255,170,0,.06); }
.compare td { color: var(--muted); font-size: .95rem; }
.compare td:last-child { color: var(--text); }
.compare-wrap { overflow-x: auto; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal { opacity: 1; transform: none; transition: none; animation: rise .9s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { transform: translateY(18px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Testimonials ---------- */
.testimonial {
  margin: 0; display: flex; flex-direction: column; gap: 22px;
  padding: clamp(26px, 3vw, 34px); border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: radial-gradient(90% 70% at 0% 0%, rgba(255,170,0,.1), transparent 60%), var(--surface);
  transition: transform .35s var(--ease), border-color .35s;
}
.testimonial:hover { transform: translateY(-4px); border-color: rgba(255,170,0,.3); }
.testimonial blockquote { flex: 1; margin: 0; font-size: 1.04rem; line-height: 1.65; color: var(--text); }
.testimonial blockquote::before { content: "“"; display: block; font-family: "Sora"; font-size: 3.6rem; line-height: .7; color: var(--brand); margin-bottom: 10px; }
.testimonial__tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--brand); background: rgba(255,170,0,.08); border: 1px solid rgba(255,170,0,.22); }
.testimonial__tag svg { width: 15px; height: 15px; }
.testimonial figcaption { min-height: 98px; margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.testimonial figcaption b { display: block; }
.testimonial figcaption small { color: var(--muted); }
.testimonial .avatar { flex: none; width: 46px; height: 46px; font-size: .9rem; }
.testimonial .avatar::after { display: none; }
@media (max-width: 1024px) { .testimonials { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }

/* ---------- Legal pages ---------- */
.legal-hero { padding-top: clamp(130px, 16vw, 170px); padding-bottom: clamp(40px, 6vw, 64px); }
.legal-date { color: var(--dim); font-size: .9rem; margin: 0; }
.form__note a, .footer__bottom a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.form__note a:hover, .footer__bottom a:hover { color: var(--brand); }
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.legal__toc { position: sticky; top: 100px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); font-size: .9rem; }
.legal__toc b { display: block; margin-bottom: 10px; font-family: "Sora"; }
.legal__toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--dim); }
.legal__toc a { color: var(--muted); }
.legal__toc a:hover { color: var(--brand); }
.legal__content { max-width: 760px; }
.legal__content h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 48px 0 14px; scroll-margin-top: 100px; }
.legal__content h2:first-child { margin-top: 0; }
.legal__content h3 { font-size: 1.1rem; margin: 26px 0 10px; }
.legal__content p, .legal__content li { color: var(--muted); }
.legal__content strong { color: var(--text); font-weight: 600; }
.legal__content ul { padding-left: 20px; display: grid; gap: 8px; margin: 0 0 1em; }
.legal__content a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.legal__table { overflow-x: auto; margin: 0 0 1em; }
.legal__table td:first-child { color: var(--text); }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } .legal__toc { position: static; } }
