/* ============================================================
   Algoritmo Vivo — Landing page
   Identidade: grafite (#343435) + teal (#20AE84)
   ============================================================ */

:root {
  --teal: #0ea9de;
  --teal-bright: #32bef0;
  --teal-soft: rgba(14, 169, 222, 0.14);
  --ink: #343435;
  --dark: #101418;
  --dark-2: #161b21;
  --paper: #ffffff;
  --paper-soft: #f5f8f7;
  --line: #e7eceb;
  --muted: #64717c;
  --muted-dark: #9fb0bb;
  --radius: 18px;
  --shadow: 0 18px 50px -18px rgba(16, 24, 32, 0.35);
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 15px; padding: 12px 24px; border-radius: 999px; border: 1.5px solid transparent; transition: transform .18s, box-shadow .18s, background .18s, color .18s; white-space: nowrap; }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--primary { background: var(--teal); color: #072a45; box-shadow: 0 10px 26px -10px rgba(14,169,222,.7); }
.btn--primary:hover { background: var(--teal-bright); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--dark); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(0,0,0,.4); }
.btn--outline-light { background: transparent; color: #072a45; border-color: rgba(7,42,69,.4); }
.btn--outline-light:hover { border-color: #072a45; background: rgba(7,42,69,.06); }

/* Header */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.header.scrolled { box-shadow: 0 8px 30px -12px rgba(16,24,32,.18); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; }
.brand__logo { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link { display: inline-flex; align-items: center; font-family: var(--font-head); font-size: 14.5px; font-weight: 500; color: var(--ink); padding: 9px 12px; border-radius: 9px; transition: color .15s, background .15s; }
.nav__link:hover { color: var(--teal); background: var(--teal-soft); }
.nav__cta { display: none; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.blob--1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(14,169,222,.55), transparent 70%); top: -160px; right: -80px; }
.blob--2 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(50,190,240,.28), transparent 70%); bottom: -180px; left: -120px; }
.grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-block: 96px 110px; }
.badge { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--teal-bright); background: var(--teal-soft); border: 1px solid rgba(14,169,222,.3); padding: 8px 16px; border-radius: 999px; margin-bottom: 22px; }
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-bright); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(50,190,240,.55)} 70%{box-shadow:0 0 0 8px rgba(50,190,240,0)} 100%{box-shadow:0 0 0 0 rgba(50,190,240,0)} }
.hero__title { font-family: var(--font-head); font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
.grad { background: linear-gradient(100deg, var(--teal-bright), #1fa763); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin-top: 22px; font-size: 18px; color: var(--muted-dark); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; }
.hero__proof li { display: flex; flex-direction: column; font-size: 14px; color: var(--muted-dark); }
.hero__proof strong { font-family: var(--font-head); font-size: 22px; color: #fff; font-weight: 700; }

.hero__visual { position: relative; display: flex; justify-content: center; }
.hero-card { width: 340px; background: #141a20; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; padding: 22px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); }
.hero-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.hero-card__logo img { height: 34px; padding: 6px 10px; background: #fff; border-radius: 10px; }
.hero-card__tag { font-family: var(--font-head); font-weight: 700; color: var(--teal-bright); background: var(--teal-soft); border: 1px solid rgba(14,169,222,.3); padding: 5px 12px; border-radius: 999px; font-size: 13px; }
.hero-card__body p { color: var(--muted-dark); font-size: 15px; }
.hero-card__cta { display: inline-block; margin-top: 14px; font-family: var(--font-head); font-weight: 700; color: var(--teal-bright); font-size: 14px; }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.06); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); animation: floaty 5s ease-in-out infinite; }
.float-card__icon { font-size: 22px; }
.float-card b { display: block; font-family: var(--font-head); font-size: 14px; color: #fff; }
.float-card small { font-size: 12px; color: var(--muted-dark); }
.float-card--1 { top: 30px; left: -14px; }
.float-card--2 { bottom: 40px; right: -8px; animation-delay: 2.5s; }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* Seções */
.section { padding: 96px 0; }
.section--alt { background: var(--paper-soft); }
.section__head { max-width: 640px; margin-bottom: 54px; }
.section__title { font-family: var(--font-head); font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin-top: 12px; }
.section__sub { color: var(--muted); font-size: 17px; margin-top: 16px; }
.eyebrow { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .22s, box-shadow .22s, border-color .22s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--teal-soft); font-size: 26px; margin-bottom: 18px; }
.card h3 { font-family: var(--font-head); font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* Mavix destaque */
.mavix { background: linear-gradient(120deg, var(--teal) 0%, #1fa763 100%); color: #072a45; }
.mavix__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; padding-block: 80px; }
.mavix .eyebrow { color: #072a45; opacity: .7; }
.mavix__title { font-family: var(--font-head); font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; margin-top: 12px; line-height: 1.15; }
.mavix__content p { font-size: 17px; margin: 18px 0 26px; opacity: .9; max-width: 560px; }
.mavix__content .btn { background: #072a45; color: #fff; }
.mavix__content .btn:hover { background: #0a3a5c; }
.mavix__card { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); border-radius: 22px; padding: 26px; backdrop-filter: blur(6px); }
.mavix__logo img { height: 40px; padding: 6px 10px; background: #fff; border-radius: 10px; margin-bottom: 18px; }
.mavix__list { display: flex; flex-direction: column; gap: 10px; }
.mavix__list li { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.mavix__list li::before { content: "✓"; color: #072a45; font-weight: 800; }

/* Features */
.features { display: flex; flex-direction: column; gap: 20px; margin-top: 30px; }
.features--grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 0; }
.features li { display: flex; gap: 14px; }
.features__icon { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); font-weight: 700; font-size: 15px; }
.features b { font-family: var(--font-head); font-size: 16px; }
.features p { color: var(--muted); font-size: 14.5px; margin-top: 3px; }

/* CTA */
.cta { background: linear-gradient(120deg, var(--teal) 0%, #1fa763 60%, #159e63 100%); color: #072a45; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-block: 68px; }
.cta h2 { font-family: var(--font-head); font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.cta p { font-size: 17px; opacity: .85; margin-top: 8px; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Contato */
.contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
.contact__list { display: flex; flex-direction: column; gap: 18px; margin-top: 30px; }
.contact__list li { display: flex; gap: 14px; align-items: center; }
.contact__list li > span:first-child { font-size: 22px; }
.contact__list small { display: block; color: var(--muted); font-size: 13px; }
.contact__list a, .contact__list b { font-family: var(--font-head); font-weight: 600; }
.contact__list a:hover { color: var(--teal); }
.contact__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 8px 30px -12px rgba(16,24,32,.18); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-size: 13.5px; font-weight: 600; }
.field input, .field textarea { font-family: var(--font-body); font-size: 15px; color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; width: 100%; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.field textarea { resize: vertical; }
.contact__form > button { grid-column: 1 / -1; }
.form__note { grid-column: 1 / -1; color: var(--teal); font-weight: 600; text-align: center; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 760px) {
  .contact__form { grid-template-columns: 1fr; }
}

/* Footer */
.footer { background: var(--dark); color: var(--muted-dark); }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: 64px 48px; }
.footer__brand p { font-size: 14.5px; margin-top: 16px; max-width: 300px; }
.footer__logo { height: 46px; padding: 8px 12px; background: #fff; border-radius: 12px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.footer__col a { font-size: 14.5px; transition: color .15s; }
.footer__col a:hover { color: var(--teal-bright); }
.footer__bar { border-top: 1px solid rgba(255,255,255,.07); }
.footer__bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 20px; font-size: 13.5px; flex-wrap: wrap; }

/* WhatsApp float */
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37,211,102,.7); transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.08); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsivo */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; padding-block: 64px 72px; }
  .hero__visual { order: -1; margin-top: 8px; }
  .cards, .features--grid { grid-template-columns: repeat(2, 1fr); }
  .mavix__inner { grid-template-columns: 1fr; gap: 32px; }
  .contact { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { position: fixed; inset: 0; top: 74px; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 20px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; }
  .nav.open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__link { width: 100%; font-size: 16px; padding: 14px 12px; }
  .nav__cta { display: flex; margin-top: 14px; }
  .burger { display: flex; }
  .cards, .features--grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .hero__proof { gap: 20px; }
  .hero-card { width: 280px; }
  .float-card--1 { left: 6px; }
  .float-card--2 { right: 6px; }
}


/* Cookies (LGPD) */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -12px 40px -20px rgba(0,0,0,.35); padding: 16px 0; }
.cookie-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; width: min(1180px, 100% - 40px); margin-inline: auto; }
.cookie-banner p { font-size: 14px; color: var(--ink); margin: 0; flex: 1; min-width: 240px; }
.cookie-banner__actions { display: flex; gap: 10px; }
.cookie-banner .btn { padding: 10px 18px; font-size: 14px; }
.cookie-banner .btn--ghost { color: var(--ink); border-color: var(--line); }
.cookie-banner .btn--ghost:hover { border-color: var(--ink); background: var(--paper-soft); color: var(--ink); }

/* Páginas legais */
.container--narrow { width: min(820px, 100% - 40px); }
.page-head { background: var(--dark); color: #fff; position: relative; overflow: hidden; padding: 64px 0 56px; }
.page-head::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
.page-head__inner { position: relative; z-index: 1; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--muted-dark); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted-dark); transition: color .15s; }
.breadcrumb a:hover { color: var(--teal-bright); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .current { color: var(--teal-bright); }
.page-head h1 { font-family: var(--font-head); font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.01em; max-width: 780px; }
.legal { padding: 72px 0 96px; }
.legal-doc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 48px; }
.legal-doc__lead { font-size: 16.5px; color: var(--muted); margin-bottom: 8px; }
.legal-doc h2 { font-family: var(--font-head); font-size: 22px; font-weight: 700; margin: 40px 0 14px; }
.legal-doc h2:first-of-type { margin-top: 20px; }
.legal-doc p { font-size: 15.5px; color: #3c464e; line-height: 1.75; margin-bottom: 14px; }
.legal-doc ul { margin: 0 0 16px 22px; display: flex; flex-direction: column; gap: 8px; list-style: disc; }
.legal-doc li { font-size: 15.5px; color: #3c464e; line-height: 1.7; }
.legal-doc strong { color: var(--ink); }
.legal-doc .legal-doc__date { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.cookie-banner p a { color: var(--teal); text-decoration: underline; }
@media (max-width: 900px) {
  .legal-doc { padding: 30px 24px; }
}