/* =========================================================================
   Agência D'avila · sistema visual
   Preto + neon verde-menta. Display: Space Grotesk · UI: Manrope · Dados: JetBrains Mono.
   Estética fintech/dashboard: glass, glow, dados e motion. Craft sobre template.
   ========================================================================= */

:root {
  --bg: #0a0a0a;
  --bg-2: #060606;
  --surface: #121413;
  --surface-2: #181b1a;
  --surface-3: #1f2322;
  --glass: rgba(255, 255, 255, 0.035);

  --mint: #00e19e;
  --mint-soft: #5cf0c2;
  --mint-deep: #042a1f;

  --white: #f4f8f6;
  --text: #e6ebe9;
  --muted: #a3aba7;
  --neg: #e87b72;

  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.05);
  --line-mint: rgba(0, 225, 158, 0.25);

  --maxw: 1200px;
  --gutter: 26px;

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --glow-mint: 0 0 0 1px rgba(0, 225, 158, 0.4), 0 14px 40px -10px rgba(0, 225, 158, 0.45);
  --glow-soft: 0 24px 70px -34px rgba(0, 0, 0, 0.9);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-ui: "Manrope", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* ------------------------------- reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--mint); color: var(--mint-deep); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 1.02rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  background-image:
    radial-gradient(60% 50% at 80% -5%, rgba(0, 225, 158, 0.10), transparent 60%),
    radial-gradient(50% 40% at -5% 8%, rgba(0, 225, 158, 0.06), transparent 55%);
  background-repeat: no-repeat;
}

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #2a2f2d; border-radius: 20px; border: 3px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: #353b39; }

/* --------------------------- tipografia -------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--white);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.ital { color: var(--mint); font-style: normal; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mint);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before { content: none; }

.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--mint); color: var(--mint-deep);
  padding: 10px 18px; border-radius: 8px; font-weight: 700;
  z-index: 200; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

/* ------------------------------ layout --------------------------------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; }
.sec { padding: clamp(60px, 9vw, 104px) 0; }
.sec-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); margin: 0.5em 0 0.45em; }
.sec-head p { font-size: 1.08rem; color: var(--text); }

/* ------------------------------ botões --------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--font-ui); font-weight: 700; font-size: 0.95rem; line-height: 1;
  padding: 0.95em 1.55em; border-radius: 100px; cursor: pointer; border: 0; white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.3s, border-color 0.25s, color 0.25s;
}
.btn svg { width: 17px; height: 17px; }
.btn-gold { background: var(--mint); color: var(--mint-deep); box-shadow: 0 10px 30px -8px rgba(0, 225, 158, 0.5); }
.btn-gold:hover { transform: translateY(-2px); background: var(--mint-soft); box-shadow: 0 16px 44px -8px rgba(0, 225, 158, 0.65); }
.btn-ghost { background: rgba(255, 255, 255, 0.02); color: var(--white); border: 1px solid var(--line); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--line-mint); color: var(--mint-soft); }

.text-link {
  color: var(--mint-soft); font-weight: 600;
  background-image: linear-gradient(var(--mint), var(--mint));
  background-size: 0% 1.5px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size 0.3s var(--ease); padding-bottom: 2px;
}
.text-link:hover { background-size: 100% 1.5px; }

/* -------------------------------- nav ---------------------------------- */
nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 10, 10, 0.72);
  border-bottom: 1px solid transparent; transition: border-color 0.3s, background 0.3s;
}
nav.scrolled { border-bottom: 1px solid var(--line); background: rgba(8, 8, 8, 0.9); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; color: var(--white); letter-spacing: -0.03em; display: inline-flex; align-items: center; gap: 0.5em; }
.logo b { color: var(--mint); }
.logo .mark { width: 13px; height: 13px; border: 2px solid var(--mint); border-radius: 50%; position: relative; flex: 0 0 13px; box-shadow: 0 0 12px rgba(0, 225, 158, 0.6); }
.logo .mark::after { content: ""; position: absolute; inset: 3px; background: var(--mint); border-radius: 50%; }
.logo img { height: 32px; width: auto; display: block; }
.nav-links { display: flex; gap: 32px; font-size: 0.92rem; font-weight: 600; }
.nav-links a { color: var(--text); position: relative; transition: color 0.2s; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%; background: var(--mint); transform: scaleX(0); transform-origin: left; transition: transform 0.28s var(--ease); }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; width: 44px; height: 40px; background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 0 9px; border-radius: 10px; }
.nav-toggle span { height: 2px; width: 100%; background: var(--white); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: flex; flex-direction: column; gap: 4px; padding: 14px var(--gutter) 26px; border-bottom: 1px solid var(--line); background: rgba(8, 8, 8, 0.97); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 13px 4px; color: var(--text); font-weight: 600; border-bottom: 1px solid var(--line-2); }
.mobile-menu a:not(.btn):hover { color: var(--mint-soft); }
.mobile-menu .btn { margin-top: 14px; justify-content: center; }
.mobile-menu .btn svg { width: 19px; height: 19px; }
@media (max-width: 900px) { .nav-links { display: none; } .nav-cta .btn-gold { display: none; } .nav-toggle { display: flex; } }

/* -------------------------------- hero --------------------------------- */
.hero { padding: clamp(40px, 6vw, 70px) 0 clamp(48px, 7vw, 84px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.04fr 1.1fr; gap: 52px; align-items: center; }
.hero-rating { display: inline-flex; align-items: center; gap: 9px; font-size: 0.82rem; color: var(--text); margin-bottom: 22px; }
.hero-rating .stars { display: inline-flex; gap: 2px; }
.hero-rating .stars svg { width: 14px; height: 14px; fill: var(--mint); }
.hero-rating b { color: var(--white); font-weight: 700; }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); margin-bottom: 0.45em; }
.hero p.lead { font-size: 1.16rem; max-width: 46ch; margin-bottom: 32px; color: var(--text); }
.hero-ctas { display: flex; gap: 13px; flex-wrap: wrap; }
.hero-trust { margin-top: 30px; display: flex; align-items: center; gap: 14px; font-size: 0.86rem; color: var(--muted); }
.hero-trust .avatars { display: inline-flex; }
.hero-trust .avatars span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -9px; background: linear-gradient(135deg, var(--mint), #017a56); display: grid; place-items: center; font-size: 0.62rem; font-weight: 800; color: var(--mint-deep); font-family: var(--font-ui); }
.hero-trust .avatars span:first-child { margin-left: 0; }
.hero-trust b { color: var(--white); }
/* foto do fundador no herói: recortada, ancorada na base, cor corrigida */
.hero-foto { position: relative; min-height: clamp(560px, 58vw, 660px); }
.hero-foto .wrap { position: relative; z-index: 2; }
/* foto de estúdio (já com luz verde + bordas esfumadas) à direita */
.hero-photo { position: absolute; right: clamp(0px, 4vw, 72px); top: clamp(16px, 3vw, 44px); bottom: 0; width: min(48%, 640px); display: flex; align-items: flex-end; justify-content: flex-end; z-index: 1; pointer-events: none; }
/* neon verde atrás do modelo (mesmo tom das fontes) = fonte de luz do rim */
.hero-photo::before { content: ""; position: absolute; inset: 0; background: radial-gradient(48% 46% at 60% 38%, rgba(0, 225, 158, 0.32), rgba(0, 225, 158, 0.06) 56%, transparent 74%); filter: blur(26px); z-index: 0; pointer-events: none; }
.hero-photo picture { display: contents; }
.hero-photo img {
  position: relative; z-index: 1; width: 100%; height: auto; max-height: 100%;
  object-fit: contain; object-position: bottom;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-foto { min-height: 0; padding-bottom: 0; }            /* base da foto encosta no fim da seção */
  .hero-photo { position: static; top: auto; bottom: auto; width: 100%; margin: 14px auto 0; }
  .hero-photo::before { background: radial-gradient(66% 52% at 50% 42%, rgba(0, 225, 158, 0.30), rgba(0, 225, 158, 0.05) 58%, transparent 76%); }
  .hero-photo img { max-width: 320px; max-height: none; margin: 0 auto; display: block; }
}

/* ------------------------ dashboard de marketing ----------------------- */
.dash {
  position: relative; border: 1px solid var(--line); border-radius: var(--r-xl);
  background: linear-gradient(168deg, #15191800, #131615) , var(--surface);
  background-blend-mode: normal; padding: 18px; box-shadow: var(--glow-soft);
  backdrop-filter: blur(6px);
}
.dash::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(0, 225, 158, 0.35), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.dash-brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; color: var(--white); }
.dash-brand .mark { width: 10px; height: 10px; border: 2px solid var(--mint); border-radius: 50%; position: relative; }
.dash-brand .mark::after { content: ""; position: absolute; inset: 2px; background: var(--mint); border-radius: 50%; }
.dash-tabs { display: flex; gap: 6px; }
.dash-tabs span { font-size: 0.66rem; font-family: var(--font-mono); letter-spacing: 0.06em; color: var(--muted); padding: 5px 10px; border-radius: 100px; border: 1px solid transparent; }
.dash-tabs span.on { color: var(--mint); border-color: var(--line-mint); background: rgba(0, 225, 158, 0.07); }
.dash-ava { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--mint), #017a56); display: grid; place-items: center; font-size: 0.66rem; font-weight: 800; color: var(--mint-deep); }
.dash-greet { font-size: 0.78rem; color: var(--muted); margin: 14px 2px 12px; }
.dash-body { display: grid; grid-template-columns: 1.5fr 0.85fr; gap: 12px; }
.dash-card { background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 15px 16px; }
.dash-kpi-label { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.dash-kpi-val { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--white); letter-spacing: -0.03em; margin-top: 4px; display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.dash-kpi-val .up { font-family: var(--font-ui); font-size: 0.72rem; font-weight: 700; color: var(--mint); background: rgba(0, 225, 158, 0.1); padding: 2px 7px; border-radius: 6px; }
.dash-chart { width: 100%; height: 92px; margin-top: 12px; overflow: visible; }
.dash-chart .grid-l { stroke: rgba(255, 255, 255, 0.05); }
.dash-side { display: flex; flex-direction: column; gap: 10px; }
.mini { background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 11px 13px; }
.mini span { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: block; }
.mini b { color: var(--white); font-size: 1.12rem; font-weight: 700; font-family: var(--font-display); letter-spacing: -0.02em; }
.mini b small { color: var(--mint); font-size: 0.66rem; font-weight: 700; margin-left: 5px; font-family: var(--font-ui); }
.dash-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 11px 14px; border-radius: var(--r-md); background: rgba(0, 225, 158, 0.08); border: 1px solid var(--line-mint); font-size: 0.78rem; color: var(--mint-soft); font-weight: 600; }
.dash-foot svg { width: 15px; height: 15px; }
.dash-bars { display: flex; align-items: flex-end; gap: 6px; height: 36px; margin-top: 2px; }
.dash-bars i { flex: 1; background: linear-gradient(var(--mint), rgba(0, 225, 158, 0.2)); border-radius: 3px 3px 0 0; opacity: 0.85; }
@media (max-width: 460px) { .dash-body { grid-template-columns: 1fr; } .dash-kpi-val { font-size: 1.45rem; } }

/* float sutil */
@media (prefers-reduced-motion: no-preference) {
  .dash { animation: float 7s ease-in-out infinite; }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
}

/* ------------------------- marcas (ticker / timeline) ------------------ */
.brands { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.brands-label { text-align: center; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 58px; padding-right: 58px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.brand-item { white-space: nowrap; text-transform: uppercase; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: 0.005em; color: #cfd5d2; transition: color 0.25s; }
.brand-item:hover { color: var(--white); }

/* ------------------------------ serviços ------------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; position: relative; overflow: hidden; color: inherit; transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s, box-shadow 0.3s; }
a.card:hover { transform: translateY(-4px); border-color: var(--line-mint); background: var(--surface-2); box-shadow: var(--glow-soft); }
.card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(0, 225, 158, 0.08); border: 1px solid var(--line-mint); margin-bottom: 20px; transition: box-shadow 0.3s; }
a.card:hover .ic { box-shadow: 0 0 22px -2px rgba(0, 225, 158, 0.45); }
.card .ic svg { width: 23px; height: 23px; stroke: var(--mint); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; color: var(--white); letter-spacing: -0.02em; margin-bottom: 10px; }
.card p { font-size: 0.93rem; color: var(--text); flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: 0.4em; margin-top: 18px; font-size: 0.8rem; font-weight: 700; color: var(--mint); }
.card-link svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
a.card:hover .card-link svg { transform: translateX(4px); }
.card-static { cursor: default; }
.card .tag { position: absolute; top: 18px; right: 18px; font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.1em; color: var(--mint); text-transform: uppercase; background: rgba(0, 225, 158, 0.08); padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line-mint); }
@media (max-width: 920px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* ------------------------------- motor --------------------------------- */
.engine { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.engine-steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.step { padding: 30px 24px; border-left: 1px solid var(--line); position: relative; }
.step:first-child { border-left: 0; }
.step .n { font-family: var(--font-mono); font-size: 0.72rem; color: var(--mint); letter-spacing: 0.18em; }
.step h3 { font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 1.2rem; margin: 14px 0 10px; letter-spacing: -0.02em; }
.step p { font-size: 0.94rem; color: var(--text); }
.step .arrow { position: absolute; top: 34px; right: -9px; color: var(--mint); opacity: 0.5; z-index: 2; }
.step:last-child .arrow { display: none; }
@media (max-width: 880px) { .engine-steps { grid-template-columns: 1fr 1fr; } .step { border-left: 0; border-top: 1px solid var(--line); } .step .arrow { display: none; } .step:nth-child(-n + 2) { border-top: 0; } }
@media (max-width: 520px) { .engine-steps { grid-template-columns: 1fr; } .step:nth-child(2) { border-top: 1px solid var(--line); } }

/* ------------------------------- stats --------------------------------- */
.stats { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-pad { padding: clamp(48px, 7vw, 76px) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat { padding: 18px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem, 4.4vw, 3.2rem); color: var(--mint); display: block; line-height: 1; letter-spacing: -0.03em; }
.stat span { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; margin-top: 12px; display: block; }
@media (max-width: 620px) { .stats-grid { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line); padding-top: 26px; } }

/* --------------------------- depoimentos ------------------------------- */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; }
.quote .stars { display: flex; gap: 3px; margin-bottom: 16px; }
.quote .stars svg { width: 15px; height: 15px; fill: var(--mint); }
.quote .q { color: var(--white); font-size: 0.97rem; line-height: 1.6; margin-bottom: 20px; flex: 1; }
.quote .who { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.quote .av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--mint), #017a56); display: grid; place-items: center; color: var(--mint-deep); font-weight: 800; flex: 0 0 40px; font-size: 0.82rem; }
.quote .who b { color: var(--white); display: block; font-size: 0.92rem; }
.quote .who span { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.06em; color: var(--mint); text-transform: uppercase; }
@media (max-width: 920px) { .cases-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cases-grid { grid-template-columns: 1fr; } }

/* ------------------------- planos de parceria -------------------------- */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border-color: var(--line-mint); background: linear-gradient(170deg, rgba(0, 225, 158, 0.07), var(--surface)); box-shadow: var(--glow-soft); }
.plan-badge { position: absolute; top: 18px; right: 18px; font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mint-deep); background: var(--mint); padding: 4px 9px; border-radius: 6px; font-weight: 700; }
.plan-name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--white); letter-spacing: -0.02em; }
.plan-desc { font-size: 0.9rem; color: var(--text); margin: 8px 0 18px; min-height: 40px; }
.plan-price { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--mint); margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.plan-price small { display: block; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.plan-list { list-style: none; flex: 1; margin-bottom: 24px; }
.plan-list li { display: flex; gap: 11px; padding: 9px 0; font-size: 0.92rem; color: var(--text); }
.plan-list svg { flex: 0 0 19px; width: 19px; height: 19px; stroke: var(--mint); fill: none; stroke-width: 2.2; margin-top: 2px; }
.plan .btn { width: 100%; justify-content: center; }
@media (max-width: 880px) { .plans-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* -------------------------------- faq ---------------------------------- */
.faq-wrap { max-width: 860px; }
.faq-head { margin-bottom: 34px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: 0; color: var(--white); font-family: var(--font-ui); font-weight: 700; font-size: 1.06rem; text-align: left; padding: 23px 0; display: flex; justify-content: space-between; gap: 20px; cursor: pointer; }
.faq-q .plus { color: var(--mint); flex: 0 0 auto; transition: transform 0.3s var(--ease); font-weight: 400; font-size: 1.4rem; line-height: 1; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { padding: 0 0 23px; color: var(--text); max-width: 76ch; }

/* ------------------------------- final --------------------------------- */
.final { padding: clamp(72px, 11vw, 120px) 0; text-align: center; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 80% at 50% 110%, rgba(0, 225, 158, 0.18), transparent 70%); }
.final h2 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); max-width: 17ch; margin: 0 auto 22px; position: relative; }
.final p { max-width: 52ch; margin: 0 auto 34px; position: relative; font-size: 1.08rem; }
.final-eyebrow { justify-content: center; }
.final-cta { position: relative; }

/* ------------------------- páginas internas ---------------------------- */
.subhero { padding: clamp(48px, 7vw, 78px) 0 clamp(30px, 4vw, 46px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.subhero::before { content: ""; position: absolute; top: -40%; right: -8%; width: 46%; height: 120%; background: radial-gradient(circle, rgba(0, 225, 158, 0.09), transparent 70%); }
.subhero .wrap { position: relative; }
.subhero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin: 0.3em 0 0.4em; max-width: 19ch; }
.subhero .lead { font-size: 1.12rem; max-width: 58ch; color: var(--text); margin-bottom: 30px; }

.breadcrumb { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--mint-soft); }
.breadcrumb span.sep { opacity: 0.5; }
.breadcrumb [aria-current] { color: var(--mint); }

.split { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 48px; align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 36px; } .aside-card { position: static; } }

.feature-list { list-style: none; margin: 8px 0 0; }
.feature-list li { display: flex; gap: 13px; padding: 13px 0; border-top: 1px solid var(--line); color: var(--text); }
.feature-list li:first-child { border-top: 0; }
.feature-list svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px; stroke: var(--mint); fill: none; stroke-width: 2; }

.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; position: sticky; top: 94px; }
.aside-card h3 { font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 1.16rem; margin-bottom: 8px; letter-spacing: -0.02em; }
.aside-card p { font-size: 0.92rem; margin-bottom: 20px; }
.aside-card .btn { width: 100%; justify-content: center; }
.aside-meta { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.85rem; }
.aside-meta b { display: block; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mint); margin-bottom: 6px; }

.lede { font-size: 1.18rem; color: var(--white); line-height: 1.6; max-width: 60ch; }

/* fundador (página quem somos) — foto inteira ao lado da história */
.founder { display: grid; grid-template-columns: 0.82fr 1.1fr; gap: clamp(28px, 4vw, 52px); align-items: center; }
.founder-photo { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line-mint); box-shadow: var(--glow-soft); }
.founder-photo img { width: 100%; height: auto; display: block; }
.founder-photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 90px rgba(0, 225, 158, 0.12); pointer-events: none; }
.founder-role { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mint); display: block; margin-bottom: 20px; }
.founder-body h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 12px 0 4px; }
.founder-body p { color: var(--text); font-size: 1.06rem; margin-bottom: 16px; }
.founder-body p strong { color: var(--white); font-weight: 700; }
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; } .founder-photo { max-width: 400px; margin: 0 auto; } }

.compare { background: var(--bg-2); border-top: 1px solid var(--line); }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 0.45em; padding: 9px 15px; border-radius: 100px; border: 1px solid var(--line); background: var(--surface); font-size: 0.86rem; font-weight: 600; color: var(--text); transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.25s var(--ease); }
.chip:hover { border-color: var(--line-mint); color: var(--white); background: var(--surface-2); transform: translateY(-2px); }

/* ------------------------------ blog ----------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s, box-shadow 0.3s; }
.post-card:hover { transform: translateY(-4px); border-color: var(--line-mint); background: var(--surface-2); box-shadow: var(--glow-soft); }
.post-meta { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; margin-bottom: 14px; }
.post-meta .dot { color: var(--mint); }
.post-card h2, .post-card h3 { font-family: var(--font-display); font-size: 1.34rem; color: var(--white); margin-bottom: 12px; line-height: 1.18; letter-spacing: -0.02em; }
.post-card p { font-size: 0.95rem; color: var(--text); flex: 1; }
.post-card .card-link { margin-top: 18px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.post-tag { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mint); background: rgba(0, 225, 158, 0.07); border: 1px solid var(--line-mint); border-radius: 6px; padding: 4px 8px; }

.prose { max-width: 720px; font-size: 1.08rem; line-height: 1.75; color: var(--text); }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); color: var(--white); margin-top: 1.8em; }
.prose h3 { font-size: 1.34rem; color: var(--white); margin-top: 1.5em; }
.prose strong { color: var(--white); font-weight: 700; }
.prose a { color: var(--mint-soft); background-image: linear-gradient(var(--line-mint), var(--line-mint)); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size 0.25s; }
.prose a:hover { background-image: linear-gradient(var(--mint), var(--mint)); background-size: 100% 2px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-top: 0.5em; }
.prose li::marker { color: var(--mint); }
.prose blockquote { border-left: 3px solid var(--mint); padding: 4px 0 4px 22px; color: var(--white); font-family: var(--font-display); font-size: 1.2rem; letter-spacing: -0.01em; }
.prose code { font-family: var(--font-mono); font-size: 0.88em; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; color: var(--mint-soft); }
.prose pre { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; overflow-x: auto; }
.prose pre code { border: 0; background: none; padding: 0; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }
.article-head { max-width: 760px; }
.article-foot { max-width: 720px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }

/* ----------------------------- formulário ------------------------------ */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 40px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.field input, .field textarea, .field select { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px 15px; color: var(--white); font-size: 0.98rem; transition: border-color 0.2s, box-shadow 0.2s; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(0, 225, 158, 0.15); }
.field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; }
.contact-direct { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.contact-line { display: flex; align-items: center; gap: 14px; }
.contact-line .ic { width: 42px; height: 42px; border-radius: var(--r-sm); background: rgba(0, 225, 158, 0.09); border: 1px solid var(--line-mint); display: grid; place-items: center; flex: 0 0 42px; }
.contact-line .ic svg { width: 20px; height: 20px; stroke: var(--mint); fill: none; stroke-width: 1.8; }
.contact-line b { color: var(--white); display: block; font-size: 0.95rem; }
.contact-line span { font-size: 0.85rem; color: var(--muted); }

/* ------------------------------- 404 ----------------------------------- */
.error-page { text-align: center; padding: clamp(80px, 14vw, 150px) 0; }
.error-page .code { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.28em; color: var(--mint); text-transform: uppercase; }
.error-page h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin: 18px 0; }
.error-page p { max-width: 46ch; margin: 0 auto 30px; }

/* ------------------------------ footer --------------------------------- */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--bg-2); }
.foot-grid { display: flex; justify-content: space-between; gap: 36px; flex-wrap: wrap; align-items: flex-start; }
.foot-brand p { font-size: 0.88rem; color: var(--muted); max-width: 40ch; margin-top: 14px; }
.foot-social { margin-top: 16px; }
.foot-social a { font-size: 0.86rem; color: var(--text); }
.foot-social a:hover { color: var(--mint-soft); }
.foot-links { display: flex; gap: 44px; flex-wrap: wrap; }
.foot-col b { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.14em; color: var(--mint); text-transform: uppercase; display: block; margin-bottom: 14px; }
.foot-col a { display: block; font-size: 0.9rem; color: var(--text); padding: 5px 0; }
.foot-col a:hover { color: var(--mint-soft); }
.foot-addr { display: block; font-size: 0.9rem; color: var(--muted); padding: 5px 0; }
.legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--muted); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* --------------------- funil de crescimento (curva) -------------------- */
/* seção clara: quebra o fundo preto (evita o visual "tudo escuro") */
.sec-light { background: #eef2f0; color: #4a564f; }
.sec-light h2, .sec-light h3, .sec-light h4 { color: #0c1512; }
.sec-light .eyebrow, .sec-light .ital { color: #07835a; }
.sec-light .sec-head p { color: #4d5a53; }
.sec-light .feat-card { background: #ffffff; border-color: rgba(12, 21, 18, 0.08); box-shadow: 0 16px 38px -24px rgba(12, 21, 18, 0.3); }
.sec-light .feat-card h3 { color: #0c1512; }
.sec-light .feat-card p { color: #4d5a53; }
.sec-light .feat-ic { background: rgba(0, 180, 126, 0.14); border-color: rgba(0, 150, 104, 0.32); box-shadow: none; }
.sec-light .feat-ic svg { stroke: #07835a; }
.sec-light .feat-stage { border-color: rgba(12, 21, 18, 0.1); }
.sec-light .faq-item { border-color: rgba(12, 21, 18, 0.12); }
.sec-light .faq-q { color: #0c1512; }
.sec-light .faq-q .plus { color: #07835a; }
.sec-light .faq-a p { color: #4d5a53; }
.funnel { margin-top: 14px; }
.funnel-curve { width: 100%; height: auto; display: block; overflow: visible; }
.funnel-curve .grid-l { stroke: rgba(255, 255, 255, 0.05); }
.funnel-curve .drop { stroke: rgba(0, 225, 158, 0.28); stroke-dasharray: 3 6; }
.funnel-curve .line { fill: none; stroke: var(--mint); stroke-width: 2.6; stroke-linecap: round; filter: drop-shadow(0 0 7px rgba(0, 225, 158, 0.55)); }
.funnel-curve .fill { fill: url(#funnelfill); }
.funnel-curve .node { fill: var(--mint); filter: drop-shadow(0 0 8px rgba(0, 225, 158, 0.85)); }
.funnel-curve .halo { fill: rgba(0, 225, 158, 0.16); }
.funnel-stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.fstage { text-align: center; padding: 0 8px; }
.fstage .n { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; color: var(--mint); }
.fstage h3 { font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 1.16rem; margin: 10px 0 8px; letter-spacing: -0.02em; }
.fstage p { font-size: 0.9rem; color: var(--text); }
@media (max-width: 720px) { .funnel-stages { grid-template-columns: 1fr 1fr; gap: 28px 16px; } }

/* ----------------- diferenciais (cards com mini mockup) ---------------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 22px; transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.feat-card:hover { transform: translateY(-4px); border-color: var(--line-mint); box-shadow: var(--glow-soft); }
.feat-stage { aspect-ratio: 16 / 10; border-radius: var(--r-md); border: 1px solid var(--line-2); background: radial-gradient(110% 80% at 50% 0%, rgba(0, 225, 158, 0.09), transparent 60%), var(--bg); margin-bottom: 22px; overflow: hidden; display: grid; place-items: center; }
.feat-stage svg { width: 78%; height: auto; }
.feat-head { display: flex; align-items: center; gap: 13px; margin-bottom: 10px; }
.feat-ic { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 13px; background: rgba(0, 225, 158, 0.1); border: 1px solid var(--line-mint); display: grid; place-items: center; box-shadow: 0 0 22px -5px rgba(0, 225, 158, 0.55); }
.feat-ic svg { width: 22px; height: 22px; stroke: var(--mint); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feat-card h3 { font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 1.18rem; letter-spacing: -0.02em; }
.feat-card p { font-size: 0.93rem; color: var(--text); }
@media (max-width: 880px) { .feat-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }

/* ============================ refinos mobile =========================== */
@media (max-width: 720px) {
  /* funil: a curva horizontal é desktop; no mobile vira lista numerada */
  .funnel-curve { display: none; }
  .funnel { margin-top: 0; }
  .funnel-stages { grid-template-columns: 1fr; gap: 0; }
  .fstage { text-align: left; padding: 22px 0; border-top: 1px solid var(--line); }
  .fstage:first-child { border-top: 0; padding-top: 2px; }
  .fstage h3 { margin: 6px 0; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .dash-tabs { display: none; }                 /* dashboard mais limpo no celular */
  .dash { padding: 16px; }
  .brand-item { font-size: 1.2rem; }            /* ticker proporcional */
  .marquee-group { gap: 44px; padding-right: 44px; }
  .hero-trust { font-size: 0.84rem; }
  .sec-head { margin-bottom: 32px; }

  /* depoimentos viram carrossel com swipe (economiza altura) */
  .cases-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 20px;
    gap: 14px;
    margin: 0 -20px;
    padding: 4px 20px 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cases-grid::-webkit-scrollbar { display: none; }
  .cases-grid .quote { scroll-snap-align: start; flex: 0 0 84%; }
}

/* ------------------------------ reveal --------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .marquee-track { animation: none !important; transform: none !important; }
}
