:root {
  /* Marca teal */
  --teal-900: #134e4a;
  --teal-800: #115e59;
  --teal-700: #0f766e;
  --teal-500: #14b8a6;
  --teal-400: #2dd4bf;
  --teal-100: #ccfbf1;

  /* WhatsApp (funcional, só em CTA) */
  --wpp: #25d366;
  --wpp-dark: #1eb456;

  /* Tema escuro: escada de superfícies */
  --canvas: #0b1110;
  --surface-1: #0f1615;
  --surface-2: #121a19;
  --surface-3: #16201e;
  --border: rgba(255, 255, 255, .07);
  --border-strong: rgba(255, 255, 255, .13);

  /* Tinta */
  --ink: #e8f1ef;
  --ink-soft: #b9cdc9;
  --muted: #8ba5a0;

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  line-height: 1.62;
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 {
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f2faf8;
}
a { text-decoration: none; color: inherit; }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--teal-400); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(45, 212, 191, .25); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.container-narrow { max-width: 760px; }

.eyebrow {
  display: inline-block;
  font-size: 12.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--teal-400); margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: var(--radius-sm); font-weight: 600; font-size: 16px;
  font-family: 'Inter', sans-serif;
  transition: transform .14s ease, background .16s ease, box-shadow .16s ease, border-color .16s ease;
  cursor: pointer; border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-wpp { background: var(--wpp); color: #05130a; box-shadow: 0 6px 22px rgba(37, 211, 102, .22); }
.btn-wpp:hover { background: var(--wpp-dark); color: #05130a; box-shadow: 0 8px 26px rgba(37, 211, 102, .3); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .24); }
.btn-lg { padding: 16px 30px; font-size: 17.5px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 17, 16, .74); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Sora', sans-serif; font-size: 21px; font-weight: 800;
  color: #f2faf8; letter-spacing: -.02em;
}
.brand-text span { color: var(--teal-400); }
.brand-mark { width: 28px; height: 28px; flex-shrink: 0; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink-soft); font-weight: 500; font-size: 14.5px; transition: color .15s; }
.nav a:hover { color: #fff; }
.nav .nav-cta {
  background: rgba(45, 212, 191, .1); color: var(--teal-400);
  border: 1px solid rgba(45, 212, 191, .3);
  padding: 8px 15px; border-radius: 8px; font-weight: 600;
}
.nav .nav-cta:hover { background: rgba(45, 212, 191, .18); color: var(--teal-100); }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--ink); line-height: 1; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 96px 0 100px;
  background:
    radial-gradient(900px 480px at 78% -10%, rgba(20, 184, 166, .16), transparent 60%),
    radial-gradient(700px 420px at 8% 110%, rgba(15, 118, 110, .12), transparent 65%),
    var(--canvas);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(900px 560px at 60% 0%, #000 30%, transparent 78%);
}
.hero-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 56px; }
.hero-copy { flex: 1; }
.hero h1 {
  font-size: clamp(32px, 4.6vw, 50px); font-weight: 800; margin-bottom: 20px;
  letter-spacing: -.03em; max-width: 15ch;
  background: linear-gradient(100deg, #ffffff 30%, #8ee8dc 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy > p { font-size: clamp(17px, 2vw, 19.5px); color: var(--ink-soft); margin-bottom: 30px; max-width: 50ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; }
.hero-note { font-size: 14px; color: var(--muted); margin-top: 18px; }

.hero-card { flex: 0 0 400px; }
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: -70px -60px; pointer-events: none;
  background: radial-gradient(55% 50% at 55% 42%, rgba(45, 212, 191, .14), transparent 70%);
}
.chat {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  border-radius: 22px; padding: 18px 16px 16px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, var(--surface-2), var(--surface-1)) padding-box,
    linear-gradient(150deg, rgba(45, 212, 191, .45), rgba(255, 255, 255, .09) 38%, rgba(255, 255, 255, .05) 62%, rgba(15, 118, 110, .4)) border-box;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.chat-head {
  display: flex; align-items: center; gap: 11px;
  padding: 0 2px 13px; margin-bottom: 2px;
  border-bottom: 1px solid var(--border);
}
.chat-avatar { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; box-shadow: 0 4px 14px rgba(45, 212, 191, .25); }
.chat-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.chat-title { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.2; white-space: nowrap; }
.chat-status { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted); }
.chat-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--wpp); box-shadow: 0 0 8px rgba(37, 211, 102, .9); }
.chat-badge {
  margin-left: auto; flex-shrink: 0; font-size: 11px; font-weight: 600; letter-spacing: .04em;
  color: var(--teal-400); background: rgba(45, 212, 191, .1);
  border: 1px solid rgba(45, 212, 191, .25); border-radius: 99px; padding: 3px 9px;
}
.chat-day {
  align-self: center; font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted); background: var(--surface-3); border: 1px solid var(--border);
  border-radius: 99px; padding: 2px 10px;
}
.msg { max-width: 86%; padding: 9px 13px 7px; border-radius: 14px; font-size: 13.8px; line-height: 1.45; }
.msg time { float: right; font-size: 10px; opacity: .55; margin: 9px -2px 0 8px; }
.msg.in { background: var(--surface-3); border: 1px solid var(--border); color: var(--ink-soft); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.out { background: linear-gradient(160deg, var(--teal-700), #0c5a53); color: #eafffb; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-replies { display: flex; gap: 8px; margin-top: 4px; }
.chat-replies span {
  flex: 1; text-align: center; font-size: 12.5px; font-weight: 600;
  color: var(--teal-400); background: rgba(45, 212, 191, .08);
  border: 1px solid rgba(45, 212, 191, .3); border-radius: 10px; padding: 8px 10px;
}

/* Chips flutuantes do hero */
.float-chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  background: rgba(18, 26, 25, .9); backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong); border-radius: 14px; padding: 10px 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
  animation: chip-float 7s ease-in-out infinite;
}
.chip-img { top: 92px; right: -34px; }
.chip-order { bottom: -26px; left: -40px; animation-duration: 8s; animation-delay: -2.5s; }
.ba { display: flex; align-items: center; gap: 6px; }
.ba-before, .ba-after { width: 30px; height: 30px; border-radius: 8px; }
.ba-before { background: radial-gradient(9px 7px at 62% 42%, #66716e, transparent 72%), linear-gradient(150deg, #333d3b, #222927); }
.ba-after {
  background: radial-gradient(9px 7px at 62% 40%, #ffd9a4, transparent 72%), linear-gradient(150deg, #22c4ae, #0c5f56);
  box-shadow: 0 0 12px rgba(45, 212, 191, .35);
}
.ba-arrow { display: flex; color: var(--muted); }
.ba-arrow svg { width: 13px; height: 13px; }
.chip-ico {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 9px;
  color: var(--wpp); background: rgba(37, 211, 102, .12); border: 1px solid rgba(37, 211, 102, .3);
}
.chip-ico svg { width: 17px; height: 17px; }
.chip-txt { display: flex; flex-direction: column; gap: 1px; }
.chip-txt strong { font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.3; white-space: nowrap; }
.chip-txt span { font-size: 11px; color: var(--muted); line-height: 1.3; white-space: nowrap; }
@keyframes chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Faixa de confiança */
.proof { background: var(--surface-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 30px 26px; text-align: center; border-right: 1px solid var(--border); }
.proof-item:last-child { border-right: none; }
.proof-item strong {
  display: block; font-family: 'Sora', sans-serif; font-size: 24px; font-weight: 700;
  color: var(--teal-400); letter-spacing: -.02em; margin-bottom: 6px; white-space: nowrap;
}
.proof-item span { font-size: 13.5px; color: var(--muted); }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--surface-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 14px; letter-spacing: -.025em; }
.section-head p { font-size: 17.5px; color: var(--muted); }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Soluções */
.sol {
  position: relative;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.sol:hover { transform: translateY(-3px); border-color: rgba(45, 212, 191, .28); background: var(--surface-3); }
.sol-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  background: rgba(45, 212, 191, .09); border: 1px solid rgba(45, 212, 191, .22);
  color: var(--teal-400);
  display: flex; align-items: center; justify-content: center;
}
.sol-icon svg { width: 24px; height: 24px; }
.sol h3 { font-size: 19px; margin-bottom: 10px; }
.sol > p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.sol ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.sol li { position: relative; padding-left: 24px; color: var(--ink-soft); font-size: 14px; }
.sol li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 12px; height: 12px; border-radius: 4px;
  background: rgba(45, 212, 191, .12); border: 1px solid rgba(45, 212, 191, .4);
}

/* Para quem é */
.use {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .18s ease, border-color .18s ease;
}
.use:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.use-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  background: var(--surface-3); border: 1px solid var(--border-strong);
  color: var(--teal-400);
  display: flex; align-items: center; justify-content: center;
}
.use-icon svg { width: 23px; height: 23px; }
.use h3 { font-size: 17px; margin-bottom: 8px; }
.use p { color: var(--muted); font-size: 14.5px; }

/* Como funciona */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  position: relative;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px; margin-bottom: 16px;
  background: rgba(45, 212, 191, .1); border: 1px solid rgba(45, 212, 191, .3);
  color: var(--teal-400); font-family: 'Sora', sans-serif; font-weight: 700; font-size: 17px;
}
.step h3 { font-size: 18.5px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* Serviços: cards sem lista ficam mais enxutos */
.services .sol > p { margin-bottom: 0; }

/* Portfólio */
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.pf-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .18s ease, border-color .18s ease;
}
.pf-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.pf-media { position: relative; aspect-ratio: 41 / 18; overflow: hidden; background: #0a0f0e; border-bottom: 1px solid var(--border); }
.pf-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-body { padding: 22px 24px 24px; }
.pf-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pf-logo { width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0; box-shadow: 0 6px 16px rgba(0, 0, 0, .38); }
.pf-head h3 { font-size: 19px; margin-bottom: 2px; }
.pf-type { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.pf-tag {
  margin-left: auto; align-self: flex-start; flex-shrink: 0;
  font-size: 11px; font-weight: 600; letter-spacing: .03em;
  border-radius: 99px; padding: 4px 11px; white-space: nowrap;
}
.pf-tag-own { color: var(--teal-100); background: rgba(45, 212, 191, .12); border: 1px solid rgba(45, 212, 191, .32); }
.pf-tag-live { color: #bff2d3; background: rgba(37, 211, 102, .12); border: 1px solid rgba(37, 211, 102, .32); }
.pf-body > p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.pf-link { display: inline-block; font-size: 13.5px; font-weight: 500; color: var(--teal-400); border-bottom: 1px solid transparent; padding-bottom: 1px; transition: border-color .15s, color .15s; }
.pf-link:hover { color: var(--teal-100); border-color: var(--teal-400); }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 340px at 50% -40%, rgba(45, 212, 191, .2), transparent 65%),
    linear-gradient(160deg, var(--teal-800), var(--teal-900) 70%);
  border-top: 1px solid rgba(45, 212, 191, .18);
  padding: 84px 0;
}
.cta-inner { position: relative; text-align: center; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(25px, 3.2vw, 34px); margin-bottom: 14px; letter-spacing: -.025em; color: #fff; }
.cta-inner p { font-size: 17.5px; color: #cdeee9; margin-bottom: 28px; }
.cta-sub { display: block; margin-top: 16px; font-size: 13.5px; color: rgba(255, 255, 255, .66); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color .15s; }
.faq-item.open { border-color: rgba(45, 212, 191, .3); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 17px 22px; font-size: 15.5px; font-weight: 600; color: var(--ink); font-family: 'Inter', sans-serif;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q span { color: var(--teal-400); font-size: 22px; font-weight: 400; flex-shrink: 0; transition: transform .2s; }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding: 0 22px 18px; color: var(--muted); font-size: 15px; }

/* Footer */
.site-footer { background: #070c0b; border-top: 1px solid var(--border); padding: 58px 0 30px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { max-width: 430px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--muted); margin-bottom: 20px; font-size: 14.5px; }
.footer-links h3 { font-family: 'Sora', sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-bottom: 14px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--muted); font-size: 14.5px; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--border); }
.footer-bottom p { color: #5e7672; font-size: 13px; }

/* WhatsApp float */
.wpp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: var(--wpp); color: #05130a;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, .4); transition: transform .15s;
}
.wpp-float svg { width: 27px; height: 27px; }
.wpp-float:hover { transform: scale(1.08); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(2) { border-right: none; }
  .proof-item:nth-child(1), .proof-item:nth-child(2) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 880px) {
  .nav { position: fixed; top: 64px; left: 0; right: 0; background: #0d1413;
    flex-direction: column; gap: 0; padding: 8px 0; border-bottom: 1px solid var(--border-strong);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .5); transform: translateY(-140%); transition: transform .25s; }
  .nav.open { transform: translateY(0); }
  .nav a { width: 100%; padding: 13px 24px; }
  .nav .nav-cta { margin: 8px 24px; text-align: center; justify-content: center; }
  .nav-toggle { display: block; }
  .hero { padding: 64px 0 70px; }
  .hero-inner { flex-direction: column; text-align: center; gap: 44px; }
  .hero h1 { max-width: none; }
  .hero-copy > p { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-card { flex: 1; width: 100%; max-width: 400px; }
  .chip-img { right: -10px; }
  .chip-order { left: -10px; bottom: -22px; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item { border-right: none; border-bottom: 1px solid var(--border); }
  .proof-item:last-child { border-bottom: none; }
  .float-chip { padding: 8px 11px; }
  .chip-img { top: 84px; right: -6px; }
  .chip-order { left: -6px; }
  .chat-replies span { font-size: 11.5px; padding: 8px 4px; white-space: nowrap; }
}

/* Acessibilidade: sem movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip { animation: none; }
  .btn:hover, .sol:hover, .use:hover, .wpp-float:hover, .pf-card:hover { transform: none; }
}
