/* Versátil Tecnologia — site. Usa as variáveis de tokens.css (Design System). */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-text); font-size: 17px; line-height: 27px; background: var(--surface); color: var(--ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
a { color: var(--magenta-ink); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.night a:focus-visible, .night button:focus-visible, .night input:focus-visible, .night select:focus-visible, .night textarea:focus-visible, .night summary:focus-visible { outline-color: var(--magenta-on-night); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; color: inherit; text-wrap: balance; }
p { margin: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); color: var(--ink); padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); }
.skip:focus { left: var(--space-4); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: calc(var(--container-max) + 2 * var(--space-6)); margin: 0 auto; padding: 0 var(--space-6); }
.section { padding: var(--space-24) 0; }
.section--alt { background: var(--surface-alt); }
.night { background: var(--night); color: var(--on-night); }

.eyebrow { display: inline-block; font-family: var(--font-display); font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--magenta-ink); }
.night .eyebrow { color: var(--magenta-on-night); }
.h-section { margin-top: var(--space-3); font-size: 42px; line-height: 48px; font-weight: 700; letter-spacing: -0.015em; }
.lead { font-size: 20px; line-height: 31px; color: var(--ink-muted); max-width: var(--measure); }
.night .lead { color: var(--on-night-muted); }
.section-head { max-width: 760px; margin-bottom: var(--space-12); }
.section-head .lead { margin-top: var(--space-4); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Componentes (iguais ao Design System) ---------- */
.vt-icon { width: 24px; height: 24px; flex: none; display: inline-block; vertical-align: middle; }
.vt-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: 0 var(--space-6); border-radius: var(--radius-pill); border: 2px solid transparent; font-family: var(--font-text); font-size: 16px; line-height: 20px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, color .18s ease; white-space: nowrap; }
.vt-btn .vt-icon { width: 20px; height: 20px; }
.vt-btn--primary { background: var(--magenta); color: var(--on-magenta); }
.vt-btn--primary:hover { background: var(--magenta-strong); }
.vt-btn--secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.vt-btn--secondary:hover { border-color: var(--ink); }
.vt-btn--onNight { background: transparent; color: var(--on-night); border-color: var(--on-night-muted); }
.vt-btn--onNight:hover { border-color: var(--on-night); }
.vt-btn--lg { min-height: 56px; padding: 0 var(--space-8); font-size: 17px; }
.vt-tag { display: inline-flex; align-items: center; gap: var(--space-1); padding: 6px 12px; border-radius: var(--radius-pill); font-family: var(--font-text); font-size: 13px; line-height: 16px; font-weight: 700; }
.vt-tag--magenta { background: var(--magenta-soft); color: var(--magenta-ink); }
.vt-tag--neutral { background: var(--surface-alt); color: var(--ink-muted); box-shadow: inset 0 0 0 1px var(--line); }
.vt-card { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-8); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .2s ease, box-shadow .2s ease; }
.vt-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.vt-card__icon { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--magenta-soft); color: var(--magenta-ink); display: grid; place-items: center; }
.vt-card__icon .vt-icon { width: 26px; height: 26px; }
.vt-card__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.vt-card__title { font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.vt-card__text { font-size: 16px; line-height: 25px; color: var(--ink-muted); }
.vt-card__list { list-style: none; margin: auto 0 0; padding: var(--space-4) 0 0; border-top: 1px solid var(--line); display: grid; gap: var(--space-3); }
.vt-card__list li { display: flex; gap: var(--space-2); align-items: flex-start; font-size: 15px; line-height: 23px; font-weight: 500; color: var(--ink); }
.vt-card__list .vt-icon { width: 18px; height: 18px; margin-top: 2px; color: var(--magenta-ink); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); min-height: 76px; }
.header__logo { display: block; flex: none; border-radius: var(--radius-sm); }
.header__logo img { width: 166px; height: auto; }
.nav { display: flex; align-items: center; gap: var(--space-8); }
.nav__list { display: flex; gap: var(--space-6); list-style: none; margin: 0; padding: 0; }
.nav__list a { white-space: nowrap; color: var(--ink); text-decoration: none; font-size: 16px; line-height: 20px; font-weight: 600; padding: var(--space-2) 0; border-bottom: 2px solid transparent; transition: border-color .18s ease; }
.nav__list a:hover { border-color: var(--magenta); }
.nav__toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: transparent; color: var(--ink); cursor: pointer; }
.nav__toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: var(--space-24) 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--space-12); align-items: center; }
.hero__title { margin-top: var(--space-4); font-size: 60px; line-height: 64px; font-weight: 700; letter-spacing: -0.02em; }
.hero__title em { font-style: normal; color: var(--magenta-on-night); }
.hero .lead { margin-top: var(--space-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-8); }
.hero__note { margin-top: var(--space-4); font-size: 15px; line-height: 23px; color: var(--on-night-muted); }
.hero__tags { display: none; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-8); }
.hero__tags span { padding: 6px 12px; border-radius: var(--radius-pill); border: 1px solid rgba(246, 241, 238, 0.28); font-size: 14px; line-height: 18px; font-weight: 600; color: var(--on-night); }
.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; overflow: visible; }
.circuit .trace { fill: none; stroke: var(--magenta); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.circuit .pulse { fill: none; stroke: var(--magenta-on-night); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 10 420; stroke-dashoffset: 430; animation: pulse 3.6s linear infinite; }
.circuit .pulse:nth-of-type(2n) { animation-delay: -1.2s; }
.circuit .pulse:nth-of-type(3n) { animation-delay: -2.4s; }
.circuit .ring { fill: var(--night); stroke: var(--magenta); stroke-width: 2.5; }
.circuit .chip-pill { fill: rgba(246, 241, 238, 0.06); stroke: rgba(246, 241, 238, 0.32); stroke-width: 1; }
.circuit text { fill: var(--on-night); font-family: var(--font-text); font-size: 15px; font-weight: 600; }
.hero__deco { position: absolute; pointer-events: none; opacity: .5; }
@keyframes pulse { to { stroke-dashoffset: 0; } }

/* ---------- Prova ---------- */
.proof { border-bottom: 1px solid var(--line); }
.proof__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.proof__list li { padding: var(--space-8) var(--space-6); border-left: 1px solid var(--line); }
.proof__list li:first-child { border-left: 0; padding-left: 0; }
.proof__list strong { display: block; font-family: var(--font-display); font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.proof__list span { display: block; margin-top: var(--space-1); font-size: 15px; line-height: 23px; color: var(--ink-muted); }

/* ---------- Serviços ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.services__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-6); margin-top: var(--space-12); padding: var(--space-8); border-radius: var(--radius-lg); background: var(--surface-raised); border: 1px solid var(--line); }
.services__cta p { font-family: var(--font-display); font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; }
.services__cta p span { display: block; margin-top: var(--space-1); font-family: var(--font-text); font-size: 16px; line-height: 25px; font-weight: 400; letter-spacing: 0; color: var(--ink-muted); }

/* ServiceCard em faixa night (cursos) */
.vt-card__cta { display: inline-flex; align-items: center; gap: var(--space-2); align-self: flex-start; font-size: 16px; line-height: 20px; font-weight: 700; color: var(--magenta-ink); text-decoration: none; border-radius: var(--radius-sm); }
.vt-card__cta .vt-icon { width: 18px; height: 18px; transition: transform .18s ease; }
.vt-card__cta:hover { text-decoration: underline; text-underline-offset: 3px; }
.vt-card__cta:hover .vt-icon { transform: translateX(3px); }
.vt-card__cta:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.vt-card--night { background: var(--night-raised); border-color: var(--night-line); }
.vt-card--night .vt-card__icon { background: var(--magenta); color: var(--on-magenta); }
.vt-card--night .vt-card__title, .vt-card--night .vt-card__list li { color: var(--on-night); }
.vt-card--night .vt-card__text { color: var(--on-night-muted); }
.vt-card--night .vt-card__list { border-top-color: var(--night-line); }
.vt-card--night .vt-card__list .vt-icon, .vt-card--night .vt-card__cta { color: var(--magenta-on-night); }
.vt-card--night .vt-card__cta:focus-visible { outline-color: var(--magenta-on-night); }
.vt-card--night .vt-tag--neutral { background: transparent; color: var(--on-night-muted); box-shadow: inset 0 0 0 1px var(--night-line); }

/* ---------- Cursos ---------- */
.courses__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.courses__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); margin-top: var(--space-12); }
.courses__cta p { font-size: 16px; line-height: 25px; color: var(--on-night-muted); }

/* ---------- Loja virtual ---------- */
.loja__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-16); align-items: start; }
.loja__copy .lead { margin-top: var(--space-4); }
.loja__points { list-style: none; margin: var(--space-8) 0 0; padding: 0; display: grid; gap: var(--space-4); }
.loja__points li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 17px; line-height: 27px; }
.loja__points .vt-icon { margin-top: 2px; color: var(--magenta-ink); }
.loja__copy .vt-btn { margin-top: var(--space-8); }
.loja__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }

/* ---------- Diferenciais ---------- */
.why__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--space-16); align-items: start; }
.why__statement { font-family: var(--font-display); font-size: 36px; line-height: 44px; font-weight: 700; letter-spacing: -0.015em; margin-top: var(--space-3); }
.why__statement span { color: var(--magenta-ink); }
.why__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8) var(--space-6); list-style: none; margin: 0; padding: 0; }
.why__items li { padding-top: var(--space-6); border-top: 2px solid var(--ink); }
.why__items h3 { font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -0.01em; }
.why__items p { margin-top: var(--space-2); font-size: 16px; line-height: 25px; color: var(--ink-muted); }

/* ---------- Processo ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 23px; left: 24px; right: calc(25% - 42px); height: 2.5px; background: var(--magenta); border-radius: 2px; }
.steps li { position: relative; }
.steps__num { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--surface-alt); border: 2.5px solid var(--magenta); font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--magenta-ink); }
.steps h3 { margin-top: var(--space-6); font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; }
.steps p { margin-top: var(--space-2); font-size: 16px; line-height: 25px; color: var(--ink-muted); padding-right: var(--space-4); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-16); align-items: start; }
.faq__grid .section-head { margin-bottom: 0; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-6) 0; cursor: pointer; font-family: var(--font-display); font-size: 19px; line-height: 26px; font-weight: 600; letter-spacing: -0.01em; border-radius: var(--radius-sm); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--magenta-ink); border-bottom: 2px solid var(--magenta-ink); transform: rotate(45deg) translateY(-4px); transition: transform .2s ease; }
.faq__item[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq__item p { padding: 0 var(--space-12) var(--space-6) 0; color: var(--ink-muted); max-width: var(--measure); }

/* ---------- Contato ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-16); align-items: start; }
.contact__direct { margin-top: var(--space-8); display: grid; gap: var(--space-4); justify-items: start; }
.contact__phone { font-size: 16px; line-height: 25px; color: var(--on-night-muted); }
.contact__phone a { color: var(--on-night); font-weight: 700; }
.form { padding: var(--space-8); border-radius: var(--radius-lg); background: rgba(246, 241, 238, 0.04); border: 1px solid rgba(246, 241, 238, 0.18); display: grid; gap: var(--space-4); }
.form h3 { font-size: 22px; line-height: 28px; font-weight: 600; }
.form > p { font-size: 15px; line-height: 23px; color: var(--on-night-muted); margin-top: calc(-1 * var(--space-2)); }
.field { display: grid; gap: var(--space-2); }
.field label { font-size: 15px; line-height: 20px; font-weight: 700; color: var(--on-night); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; line-height: 24px; color: var(--on-night); background: var(--night); border: 1.5px solid var(--on-night-muted); border-radius: var(--radius-sm); padding: 11px 14px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #b8aca6 50%), linear-gradient(135deg, #b8aca6 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 112px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8f817b; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form .vt-btn { width: 100%; margin-top: var(--space-2); }
.form__hint { font-size: 14px; line-height: 20px; color: var(--on-night-muted); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--on-night-muted); border-top: 1px solid rgba(246, 241, 238, 0.12); padding: var(--space-16) 0 var(--space-8); font-size: 15px; line-height: 23px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-12); }
.footer__brand img { width: 190px; height: auto; }
.footer__brand p { margin-top: var(--space-4); max-width: 340px; }
.footer h2 { font-family: var(--font-display); font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--magenta-on-night); }
.footer ul { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: var(--space-2); }
.footer a { color: var(--on-night); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__bottom { margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid rgba(246, 241, 238, 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); font-size: 14px; line-height: 20px; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; right: var(--space-6); bottom: var(--space-6); z-index: 60; display: inline-flex; align-items: center; gap: var(--space-2); height: 56px; padding: 0 var(--space-6) 0 var(--space-4); border-radius: var(--radius-pill); background: var(--magenta); color: var(--on-magenta); text-decoration: none; font-weight: 700; font-size: 16px; box-shadow: 0 8px 24px rgba(32, 24, 21, 0.28); transition: background-color .18s ease, transform .18s ease; }
.wa-float:hover { background: var(--magenta-strong); transform: translateY(-2px); }
.wa-float .vt-icon { width: 26px; height: 26px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav__list { gap: var(--space-4); }
  .hero__grid, .loja__grid, .why__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; gap: var(--space-12); }
  .hero__art { display: none; }
  .hero__tags { display: flex; }
  .services__grid, .courses__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof__list li:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-12); }
  .steps::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 1180px) {
  .nav__toggle { display: inline-flex; }
  .nav__panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); padding: var(--space-4) var(--space-6) var(--space-6); display: none; flex-direction: column; align-items: stretch; gap: var(--space-4); box-shadow: 0 16px 24px rgba(32, 24, 21, 0.08); }
  .nav__panel.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
  .nav { gap: var(--space-3); }
}
@media (max-width: 640px) {
  body { font-size: 16px; line-height: 25px; }
  .container { padding: 0 var(--space-4); }
  .section { padding: var(--space-16) 0; }
  .hero { padding: var(--space-12) 0 var(--space-16); }
  .hero__title { font-size: 38px; line-height: 42px; }
  .h-section { font-size: 30px; line-height: 36px; }
  .why__statement { font-size: 28px; line-height: 34px; }
  .lead { font-size: 18px; line-height: 28px; }
  .hero__actions .vt-btn { width: 100%; }
  .header__bar { min-height: 64px; }
  .header__logo img { width: 138px; }
  .header .vt-btn--primary span { display: none; }
  .header .vt-btn--primary { width: 48px; padding: 0; }
  .services__grid, .courses__grid, .loja__cards, .why__items, .steps, .form__row, .footer__grid { grid-template-columns: 1fr; }
  .vt-card { padding: var(--space-6); }
  .proof__list { grid-template-columns: 1fr; }
  .proof__list li { border-left: 0 !important; padding: var(--space-6) 0 !important; border-top: 1px solid var(--line); }
  .proof__list li:first-child { border-top: 0; }
  .faq__item p { padding-right: 0; }
  .form { padding: var(--space-6); }
  .wa-float { right: var(--space-4); bottom: var(--space-4); width: 56px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
  .services__cta { padding: var(--space-6); }
  .services__cta .vt-btn, .courses__cta .vt-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .circuit .pulse { animation: none; display: none; }
  .vt-card, .vt-btn, .wa-float { transition: none; }
  .vt-card:hover, .wa-float:hover { transform: none; }
}
