:root {
  /* Manual da marca EVR v1.1 */
  --blue: #0072FE;        /* primaria: V do logo, destaques, numeros, botoes */
  --blue-deep: #0050C8;   /* texto azul pequeno sobre claro, hover */
  --black: #000;          /* fundo principal, faixas, texto sobre claro */
  --white: #fff;
  --graphite: #14171C;    /* cartoes e blocos sobre o preto */
  --gray: #8A93A3;        /* legendas e texto secundario */
  --ice: #F2F5FA;         /* fundo claro alternativo ao branco */
  --ink: #14171C;         /* texto sobre fundo claro */
  --muted-dark: rgba(255,255,255,.72);
  --muted-light: #5a6475;
  --paper: #F2F5FA;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Open Sans', system-ui, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.55; overflow-x: hidden; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Montserrat', 'Arial Black', sans-serif; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 6vw, 40px); font-weight: 900; line-height: 1.08; margin-bottom: 18px; }
h3 { font-size: 18px; font-weight: 800; line-height: 1.2; }
p + p { margin-top: 12px; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.section { padding: 64px 0; }
.dark { background: var(--black); color: var(--white); }
.light { background: var(--paper); color: var(--ink); }
.eyebrow { display: inline-block; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.light .eyebrow { color: var(--blue-deep); }

/* Logo */
.logo { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 44px; line-height: 1; letter-spacing: -0.04em; color: var(--white); display: inline-block; }
.logo-v { color: var(--blue); }
.logo-sm { font-size: 30px; }

/* Botões */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 14px 22px; border: 0; border-radius: 12px; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 17px; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, filter .15s; }
.btn:active { transform: scale(.98); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-orange { background: var(--blue); color: var(--white); box-shadow: 0 8px 24px rgba(0,114,254,.35); }
.btn:hover { filter: brightness(1.06); }
.section .btn, .hero .btn { margin: 32px auto 0; max-width: 460px; }
:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 2px; }

/* 1. Hero + formulário */
.hero { background: var(--white); color: var(--ink); position: relative; }
.hero-grid { width: 100%; max-width: 1140px; margin: 0 auto; padding: 32px 18px 150px; display: grid; gap: 24px; align-items: center; }
.hero-inner { width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-checks { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-top: 16px; font-weight: 700; font-size: 16px; color: var(--black); text-align: left; }
.hero-checks li { display: flex; align-items: center; gap: 8px; }
.hero-checks li::before { content: '✓'; width: 20px; height: 20px; border: 2px solid var(--blue); border-radius: 4px; color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; flex-shrink: 0; }
.hero .hero-btn { margin-top: 20px; }
.form-card { background: var(--graphite); color: var(--white); border-radius: 18px; padding: 22px 16px; box-shadow: 0 20px 50px rgba(0,0,0,.25); scroll-margin-top: 12px; width: 100%; max-width: 560px; margin: 0 auto; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; padding: 56px 32px 160px; min-height: calc(100dvh - 38px); }
  .hero-inner { align-items: flex-start; text-align: left; }
  .hero .hero-btn { display: none; }
  .hero h1 { font-size: 50px; }
}
.hero .logo { font-size: 50px; margin-bottom: 18px; color: var(--black); }
.hero .logo-v { background-image: none; color: var(--blue); }
.hero h1 { font-size: clamp(30px, 8.4vw, 52px); font-weight: 700; line-height: 1.15; margin-bottom: 16px; color: var(--black); }
.hero h1 strong { font-weight: 900; color: var(--blue); }
.hero-sub { font-size: 17px; color: var(--muted-light); max-width: 560px; }
.hero .btn { margin-top: 26px; }
.micro { font-size: 13px; margin-top: 10px; font-weight: 600; }
.chevron { display: flex; justify-content: center; padding: 6px 0 8px; color: var(--black); animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

.ticker { background: var(--black); color: var(--white); height: 38px; overflow: hidden; display: flex; align-items: center; }
.ticker-track { display: flex; width: max-content; animation: ticker 28s linear infinite; }
.ticker-track span { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; padding: 0 18px; }
.ticker-track span::before { content: '•'; color: var(--blue); margin-right: 18px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* 2. Formulário */
.form-title { font-size: clamp(22px, 5.6vw, 32px); margin-bottom: 8px; text-align: center; }
.form-support { font-size: 14px; color: var(--muted-dark); text-align: center; line-height: 1.45; }
.online { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 700; margin: 10px 0 16px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 2s infinite; flex-shrink: 0; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

#lead-form { display: flex; flex-direction: column; gap: 10px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--muted-dark); }
.field input, .field select { width: 100%; height: 46px; padding: 0 12px; font-size: 16px; font-family: inherit; color: var(--white); background: #0d0f13; border: 1px solid #2b303a; border-radius: 10px; outline: none; -webkit-appearance: none; appearance: none; transition: border-color .15s; }
.field select { padding-right: 30px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230072FE' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; text-overflow: ellipsis; }
.field select:invalid { color: var(--gray); }
.field select option { color: var(--white); background: #0d0f13; }
.field input:focus, .field select:focus { border-color: var(--blue); }
.field input.invalid, .field select.invalid { border-color: #ef4444; }

.conditional { border: 1px solid var(--blue); border-radius: 10px; padding: 12px; background: rgba(0,114,254,.08); animation: reveal .3s ease; }
.conditional legend { font-size: 13.5px; line-height: 1.4; padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.radio { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 14px; cursor: pointer; clear: both; }
.radio input { width: 20px; height: 20px; accent-color: var(--blue); flex-shrink: 0; }
@keyframes reveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Política de privacidade */
.policy-page { background: var(--black); color: var(--white); }
.policy { max-width: 760px; margin: 0 auto; padding: 48px 22px 72px; }
.policy-logo { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 34px; letter-spacing: -0.04em; color: var(--white); text-decoration: none; display: inline-block; margin-bottom: 28px; }
.policy h1 { font-size: clamp(30px, 7vw, 44px); font-weight: 900; line-height: 1.1; margin-bottom: 6px; }
.policy-updated { color: rgba(255,255,255,.5); font-size: 14px; margin-bottom: 28px; }
.policy h2 { font-family: 'Montserrat', sans-serif; font-size: 20px; font-weight: 800; color: var(--blue); margin: 36px 0 10px; }
.policy p, .policy li { color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.7; }
.policy ul { padding-left: 20px; margin: 10px 0; display: flex; flex-direction: column; gap: 6px; }
.policy strong { color: var(--white); }
.policy a:not(.back-link):not(.policy-logo) { color: var(--blue); }
.privacy a, .footer-policy { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #f87171; font-size: 13px; text-align: center; min-height: 0; }
.form-error:empty { display: none; }
#lead-form .btn { margin-top: 4px; }
.btn[disabled] { opacity: .7; cursor: wait; }
.privacy { font-size: 12px; color: var(--muted-dark); text-align: center; }

/* 3. Depoimento */
.testimonial { margin: 18px auto 0; max-width: 340px; border-radius: var(--radius); overflow: hidden; border: 1px solid #2b303a; background: var(--graphite); }
.testimonial-video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; background: var(--graphite); }
.testimonial-photo { width: 84px; height: 84px; min-height: 0; border-radius: 50%; margin: 0 auto 16px; font-size: 11px; }
.testimonial blockquote { font-size: 17px; line-height: 1.5; }
.testimonial figcaption { margin-top: 14px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.testimonial figcaption span { color: var(--muted-dark); }

.placeholder-box { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 140px; border: 2px dashed rgba(0,114,254,.6); border-radius: var(--radius); color: var(--blue-deep); font-weight: 700; font-size: 13px; background: rgba(0,114,254,.07); padding: 8px; }

/* 4. Quem somos */
.about { display: grid; gap: 28px; }
.about-text p { color: var(--muted-light); font-size: 16px; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.about-photos .photo { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--ice); box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.about-photos .photo img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.1); transition: transform 2.4s cubic-bezier(.16,1,.3,1); }
.about-photos .photo.on img, .about-photos .photo:not(.reveal) img { transform: scale(1); }
@media (hover: hover) { .about-photos .photo:hover img { transform: scale(1.05); transition-duration: .6s; } }
.about-photos .wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.about-photos .tall { aspect-ratio: 3 / 4; }

/* 5. Método */
.steps { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; background: var(--graphite); border: 1px solid #2b303a; border-radius: var(--radius); padding: 18px 16px; }
.step-n { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: var(--black); font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.steps h3 { margin-bottom: 4px; }
.steps p { color: var(--muted-dark); font-size: 15px; }

/* 6. O que fazemos */
.services { display: grid; gap: 12px; margin-top: 12px; }
.service { background: var(--white); border-radius: var(--radius); padding: 22px 20px; border-top: 4px solid var(--blue); box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.service h3 { margin-bottom: 6px; }
.service p { color: var(--muted-light); font-size: 15px; }

/* 7. Clientes */
.logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 12px; }
.logos img { width: 100%; height: 92px; object-fit: contain; background: var(--white); border-radius: 12px; padding: 12px; }
.logos img:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: calc(50% - 6px); justify-self: center; }

/* 8. Pitch */
.pitch { background: var(--blue); color: var(--white); }
.pitch p { font-size: 17px; max-width: 600px; margin: 0 auto; }

/* 9. FAQ */
.faq { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
/* Empilhamento: cada pergunta gruda um pouco mais abaixo que a anterior,
   entao ao rolar elas vao se juntando numa pilha. --i vem do main.js. */
.faq details { background: var(--graphite); border: 1px solid #2b303a; border-radius: 10px; transition: border-color .3s, box-shadow .3s; position: sticky; top: calc(96px + var(--i, 0) * 18px); box-shadow: 0 -6px 18px rgba(0,0,0,.45); }
.faq details[open] { border-color: var(--blue); box-shadow: 0 0 0 1px rgba(0,114,254,.35); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 18px; font-family: "Open Sans", sans-serif; font-weight: 700; font-size: 16px; color: var(--white); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "?"; flex-shrink: 0; width: 26px; height: 26px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: var(--blue); background: rgba(0,114,254,.14); border: 1px solid rgba(0,114,254,.45); }
.faq summary::after { content: "←"; margin-left: auto; font-size: 18px; color: var(--white); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(-90deg); color: var(--blue); }
.faq details p { color: rgba(255,255,255,.62); font-size: 15.5px; line-height: 1.55; padding: 4px 22px 20px 56px; }
@media (max-width: 480px) { .faq details p { padding-left: 18px; } }

/* Rodapé */
.footer { background: var(--black); color: var(--muted-dark); padding: 36px 0; font-size: 13px; }
.social { display: flex; justify-content: center; gap: 22px; margin: 16px 0; }
.social a { color: var(--white); font-weight: 600; text-decoration: none; }

/* Obrigado */
.thanks { min-height: 100vh; min-height: 100dvh; background: var(--black); color: var(--white); display: flex; align-items: center; justify-content: center; padding: 28px 22px; text-align: center; }
.thanks-inner { max-width: 520px; width: 100%; }
.thanks .logo { font-size: 34px; margin-bottom: 26px; }
.check { width: 64px; height: 64px; border-radius: 50%; background: var(--blue); color: var(--black); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.thanks h1 { font-size: clamp(28px, 7.5vw, 40px); font-weight: 900; line-height: 1.1; margin-bottom: 14px; }
.promise { font-size: 18px; line-height: 1.45; margin: 14px 0; }
.promise strong { color: var(--blue); }
.instruction { font-size: 15px; color: var(--muted-dark); }
.back-link { display: inline-block; margin-top: 28px; padding: 10px 18px; font-size: 14px; font-weight: 600; color: var(--muted-dark); text-decoration: none; border: 1px solid #2b303a; border-radius: 999px; transition: color .3s, border-color .3s; }
.back-link:hover { color: var(--white); border-color: var(--blue); }

/* ── Movimento (estilo Alpha) ── */

/* Botões: gradiente deslizando + onda pulsando */
.btn-orange, .btn-dark { animation: btn-pulse 2.6s cubic-bezier(0.62, 0.28, 0.23, 0.99) infinite; }
.btn-orange { background: var(--blue); color: var(--white); box-shadow: 0 0 0 0 rgba(0,114,254,.7); }
.btn-dark { background: var(--black); color: var(--white); box-shadow: 0 0 0 0 rgba(0,0,0,.45); }
@keyframes btn-pulse { 70% { box-shadow: 0 0 0 16px rgba(0,114,254,0); } 100% { box-shadow: 0 0 0 0 rgba(0,114,254,0); } }
.btn:hover { transform: scale(1.03); }

/* Faixas cruzadas em sentidos opostos */
.ticker-cross { position: relative; z-index: 5; height: 200px; margin-top: -130px; overflow: hidden; overflow-x: clip; overflow-y: visible; pointer-events: none; background: linear-gradient(to bottom, transparent 130px, var(--black) 130px); }
.ticker-cross .ticker { position: absolute; display: flex; align-items: center; }
.ticker-a { top: 40px; left: -25%; width: 150%; height: 40px; background: var(--blue); color: var(--white); transform: rotate(5deg); z-index: 1; box-shadow: 0 8px 18px rgba(0,0,0,.45); }
.ticker-b { top: 118px; left: -10%; width: 120%; height: 56px; background: var(--black); color: var(--white); transform: rotate(-2deg); z-index: 2; box-shadow: 0 10px 18px rgba(0,0,0,.35); }
.ticker-a .ticker-track span::before, .ticker-b .ticker-track span::before { content: "•"; color: currentColor; margin-right: 14px; }
.ticker-cross .ticker-track span { font-family: "Open Sans", sans-serif; font-size: 15px; font-weight: 800; letter-spacing: .01em; padding: 0 14px 0 0; }
.ticker-b .ticker-track span { font-size: 17px; }
.hero-inner { order: 1; }
.form-card { order: 2; }

/* Entrada do banner ao abrir a página (não depende de JS nem de rolagem) */
@keyframes hero-in { from { opacity: 0; transform: translate3d(0, 40px, 0); } to { opacity: 1; transform: none; } }
@keyframes hero-pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
.hero .logo { animation: hero-pop 1.1s cubic-bezier(.16,1,.3,1) .1s both; }
.hero h1 { animation: hero-in 1.3s cubic-bezier(.16,1,.3,1) .35s both; }
.hero-sub { animation: hero-in 1.3s cubic-bezier(.16,1,.3,1) .6s both; }
.hero-checks li:nth-child(1) { animation: hero-in 1.2s cubic-bezier(.16,1,.3,1) .85s both; }
.hero-checks li:nth-child(2) { animation: hero-in 1.2s cubic-bezier(.16,1,.3,1) 1s both; }
.form-card { animation: hero-in 1.4s cubic-bezier(.16,1,.3,1) .7s both; }

/* Entrada das seções: sobe e aparece (fadeInUp) */
.js-anim .reveal { opacity: 0; transform: translate3d(0, 32px, 0); transition: opacity 1.3s cubic-bezier(.16,1,.3,1), transform 1.5s cubic-bezier(.16,1,.3,1); transition-delay: var(--d, 0ms); }
.js-anim .reveal.from-left { transform: translate3d(-40px, 0, 0); }
.js-anim .reveal.zoom { transform: scale(.9); }
.js-anim .reveal.on { opacity: 1; transform: none; }
.ticker-b .ticker-track { animation-name: ticker-rev; }
@keyframes ticker-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* Flutuar */
.step-n { animation: float 3.6s ease-in-out infinite; }
.steps li:nth-child(2) .step-n { animation-delay: .3s; }
.steps li:nth-child(3) .step-n { animation-delay: .6s; }
.steps li:nth-child(4) .step-n { animation-delay: .9s; }
.testimonial { animation: float 5.5s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Carrossel de logos */
.logos-marquee { overflow: hidden; margin: 16px -20px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logos-track { display: flex; gap: 14px; width: max-content; animation: ticker 40s linear infinite; }
.logos-track img { width: 150px; height: 90px; object-fit: contain; background: var(--white); border-radius: 12px; padding: 12px; flex-shrink: 0; }
.logos-marquee:hover .logos-track { animation-play-state: paused; }

/* FAQ abrindo suave */
.faq details p { animation: faq-open .7s cubic-bezier(.16,1,.3,1); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .btn-orange, .btn-dark, .step-n, .testimonial, .logos-track, .faq details p { animation: none; }
  .js-anim .reveal { opacity: 1; transform: none; transition: none; }
  .hero .logo, .hero h1, .hero-sub, .hero-checks li, .form-card { animation: none; }
  .logos-track { flex-wrap: wrap; justify-content: center; width: auto; }
  .logos-track img[aria-hidden] { display: none; }
  html { scroll-behavior: auto; }
  .ticker-track, .chevron, .dot, .conditional { animation: none; }
  .ticker-track { width: 100%; flex-wrap: wrap; justify-content: center; }
  .ticker-track span:nth-child(n+5) { display: none; }
}

@media (max-width: 360px) {
  .grid-2 { grid-template-columns: 1fr; }
}

@media (min-width: 860px) {
  .section { padding: 96px 0; }
  .about { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .service:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .logos { grid-template-columns: repeat(5, 1fr); }
  .logos img:last-child:nth-child(odd) { grid-column: auto; max-width: none; }
  .hero .btn, .section .btn { width: auto; min-width: 320px; }
}

/* Faixas e carrossel ganham camada própria: o navegador move a camada pronta
   em vez de recalcular o layout da fileira inteira a cada quadro.
   Só will-change: um transform aqui seria sobrescrito pela própria animação. */
.ticker-track, .logos-track { will-change: transform; }

/* No celular, as animações infinitas de gradiente e de sombra repintam a tela
   sem parar e travam aparelhos simples. O visual continua: só param de se mexer. */
@media (max-width: 899px) {
  .btn-orange, .btn-dark { animation: none; background-size: 100% 100%; }
  .dot { animation: none; }
  .step-n, .testimonial { animation: none; }
}
