/* =========================================================
   TexInfo — folha de estilos
   Paleta extraída da logo: azul #0052E0 (principal), azul claro
   #1493F2 (brilho dos cantos do degradê), azul profundo (sombra
   das formas angulares) e branco. Tudo são tons da própria marca.
   ========================================================= */

:root {
  /* cores da marca */
  --tx-950: #001A52;
  --tx-900: #00267A;
  --tx-800: #0036A0;
  --tx-700: #0044BD;
  --tx-600: #004CD0;
  --tx-500: #0052E0;   /* azul da logo */
  --tx-400: #1493F2;   /* azul claro do degradê da logo */
  --tx-300: #6CB6F7;
  --tx-200: #B5D8FC;
  --tx-100: #DCEBFF;
  --tx-50:  #F2F7FF;
  --white:  #FFFFFF;
  --ink:    #071E58;   /* texto principal (tom escuro do azul) */
  --muted:  #3A5390;   /* texto secundário */
  --danger: #D92D4A;   /* usado apenas em mensagens de erro de formulário */

  --grad-brand:
    radial-gradient(900px 620px at 0% 0%, rgba(20,147,242,.95), transparent 62%),
    radial-gradient(900px 620px at 100% 100%, rgba(20,147,242,.9), transparent 62%),
    linear-gradient(160deg, #0052E0 0%, #0050DE 55%, #0052E0 100%);
  --grad-btn: linear-gradient(135deg, #1493F2 0%, #0052E0 70%);

  --radius: 26px;
  --radius-sm: 16px;
  --shadow-sm: 0 6px 20px rgba(0, 50, 160, .10);
  --shadow-md: 0 18px 44px rgba(0, 50, 160, .18);
  --shadow-lg: 0 30px 70px rgba(0, 26, 82, .32);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html.menu-open, html.menu-open body { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 3px solid var(--tx-300); outline-offset: 3px; border-radius: 8px; }
.section-blue :focus-visible, .section-deep :focus-visible, .hero :focus-visible,
.site-header :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: #fff; color: var(--tx-500); font-weight: 700;
  padding: 12px 18px; border-radius: 12px; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 40px); }
.center { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- ícones ---------- */
.ic {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.ic-fill { fill: currentColor; stroke: none; }
.svg-t { font-family: var(--font); }

/* ---------- botões ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 1.02rem; text-decoration: none; line-height: 1.1;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn::after {  /* brilho que passa no hover */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .6s var(--ease); pointer-events: none;
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-lg { min-height: 60px; padding: 0 32px; font-size: 1.1rem; }
.btn-block { width: 100%; }

.btn-white { background: #fff; color: var(--tx-500); box-shadow: 0 10px 26px rgba(0, 26, 82, .25); }
.btn-white:hover { box-shadow: 0 16px 34px rgba(0, 26, 82, .32); }
.btn-ghost { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.7); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--tx-500); }
.btn-blue { background: var(--grad-btn); color: #fff; box-shadow: 0 12px 28px rgba(0, 82, 224, .35); }
.btn-blue:hover { box-shadow: 0 18px 38px rgba(0, 82, 224, .45); }
.btn-outline { background: transparent; color: var(--tx-500); border-color: var(--tx-200); }
.btn-outline:hover { border-color: var(--tx-500); background: var(--tx-50); }

/* ---------- cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.scrolled {
  background: rgba(0, 50, 160, .86);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 8px 30px rgba(0, 26, 82, .25);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: block; position: relative; z-index: 120; }
.brand img { height: 34px; width: auto; transition: transform .3s var(--ease); }
.brand:hover img { transform: scale(1.04); }

.nav { display: flex; align-items: center; gap: 22px; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list a {
  display: block; padding: 10px 14px; border-radius: 999px;
  color: #fff; font-weight: 500; font-size: .98rem; text-decoration: none;
  transition: background-color .2s, transform .2s var(--ease);
}
.nav-list a:hover { background: rgba(255,255,255,.16); transform: translateY(-1px); }
.nav-list a[aria-current="true"] { background: rgba(255,255,255,.22); font-weight: 700; }
.nav-cta { min-height: 46px; padding: 0 22px; font-size: .98rem; }

.menu-toggle {
  display: none; position: relative; z-index: 120;
  width: 52px; height: 52px; border-radius: 16px;
  background: rgba(255,255,255,.16); border: 1.5px solid rgba(255,255,255,.4);
  color: #fff; place-items: center; transition: background-color .2s, transform .2s;
}
.menu-toggle:active { transform: scale(.94); }
.menu-toggle .ic { width: 26px; height: 26px; grid-area: 1 / 1; transition: opacity .2s, transform .3s var(--ease); }
.menu-toggle .ic-close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.menu-toggle[aria-expanded="true"] .ic-open { opacity: 0; transform: rotate(90deg) scale(.6); }
.menu-toggle[aria-expanded="true"] .ic-close { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .menu-toggle { display: grid; }
  /* backdrop-filter cria um novo "containing block" para elementos fixos:
     sem isso, o menu em tela cheia fica preso à altura do cabeçalho */
  .site-header, .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-header.scrolled { background: rgba(0, 50, 160, .96); }
  html.menu-open .site-header { background: transparent; box-shadow: none; }
  .nav {
    position: fixed; inset: 0; z-index: 110;
    flex-direction: column; justify-content: center; align-items: stretch; gap: 22px;
    padding: calc(var(--header-h) + 16px) 28px 40px;
    background: var(--grad-brand);
    opacity: 0; visibility: hidden; transform: translateY(-14px);
    transition: opacity .3s, transform .35s var(--ease), visibility 0s .35s;
    overflow-y: auto;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 6px; }
  .nav-list a { padding: 15px 20px; font-size: 1.3rem; font-weight: 600; border-radius: 18px; }
  .nav-list li { opacity: 0; transform: translateY(12px); transition: opacity .35s, transform .4s var(--ease); }
  .nav.open .nav-list li { opacity: 1; transform: none; }
  .nav.open .nav-list li:nth-child(1) { transition-delay: .05s; } .nav.open .nav-list li:nth-child(2) { transition-delay: .09s; }
  .nav.open .nav-list li:nth-child(3) { transition-delay: .13s; } .nav.open .nav-list li:nth-child(4) { transition-delay: .17s; }
  .nav.open .nav-list li:nth-child(5) { transition-delay: .21s; } .nav.open .nav-list li:nth-child(6) { transition-delay: .25s; }
  .nav.open .nav-list li:nth-child(7) { transition-delay: .29s; }
  .nav-cta { min-height: 60px; font-size: 1.1rem; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 150px;
  background: var(--grad-brand); color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%);
}
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.hero::before {  /* formas angulares escuras da identidade */
  inset: 0 0 auto 0; height: 26%;
  background: linear-gradient(90deg, transparent 10%, rgba(0, 54, 160, .55));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8% 0);
}
.hero::after {
  inset: auto 0 0 0; height: 30%;
  background: linear-gradient(90deg, rgba(0, 54, 160, .5), transparent 70%);
  clip-path: polygon(0 100%, 62% 28%, 100% 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; position: relative;
}
.hero-grid::before {  /* grade de pontos tecnológica */
  content: ""; position: absolute; inset: -80px -60px; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.22) 1.4px, transparent 1.6px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse at 75% 45%, #000 0%, transparent 62%);
  mask-image: radial-gradient(ellipse at 75% 45%, #000 0%, transparent 62%);
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
  font-weight: 600; font-size: .95rem; backdrop-filter: blur(6px);
}
.pill .ic { width: 1.05em; height: 1.05em; fill: #fff; }
.hero h1 { font-size: clamp(2.45rem, 5.6vw, 4.5rem); line-height: 1.04; font-weight: 800; letter-spacing: -.02em; }
.hl { color: var(--tx-200); position: relative; white-space: nowrap; }
.hero-sub { margin-top: 24px; max-width: 34em; font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: rgba(255,255,255,.94); }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 500; color: rgba(255,255,255,.95); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .ic { background: rgba(255,255,255,.22); border-radius: 50%; padding: 3px; width: 1.5em; height: 1.5em; stroke-width: 3; }

.hero-visual { position: relative; }
.hero-art { width: 100%; max-width: 580px; margin-inline: auto; overflow: visible; filter: drop-shadow(0 30px 40px rgba(0, 26, 82, .28)); }
.hero-art .float { animation: floaty 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.hero-art .float-b { animation-delay: -2s; animation-duration: 7s; }
.hero-art .float-c { animation-delay: -3.5s; animation-duration: 5.5s; }
.hero-art .float-d { animation-delay: -1s; animation-duration: 6.5s; }
.hero-art .ring-2 { animation: spin 60s linear infinite; transform-box: fill-box; transform-origin: center; }
.hero-art .art-cursor { animation: click 3.4s var(--ease) infinite; transform-box: fill-box; transform-origin: 0 0; }
.hero-art .art-monitor { animation: floaty 8s ease-in-out infinite; animation-duration: 9s; transform-box: fill-box; transform-origin: center; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes click {
  0%, 55%, 100% { transform: translate(0, 0) scale(1); }
  30% { transform: translate(-30px, -12px) scale(1); }
  42% { transform: translate(-30px, -12px) scale(.88); }
  48% { transform: translate(-30px, -12px) scale(1); }
}

@media (max-width: 900px) {
  .hero { padding-bottom: 130px; min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; text-align: left; }
  .hero-visual { max-width: 360px; margin-inline: auto; width: 100%; }
  .hero { padding-top: calc(var(--header-h) + 28px); }
  .hl { white-space: normal; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- diferenciais ---------- */
.features { position: relative; z-index: 2; margin-top: -90px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff; border-radius: var(--radius); padding: 30px 28px 32px;
  box-shadow: var(--shadow-md); border: 1px solid var(--tx-100);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature h2 { font-size: 1.3rem; font-weight: 700; margin: 18px 0 8px; line-height: 1.2; }
.feature p { color: var(--muted); }
@media (max-width: 900px) {
  .features { margin-top: -70px; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
}

.icon-tile {
  display: inline-grid; place-items: center; flex: none;
  width: 62px; height: 62px; border-radius: 20px;
  background: var(--grad-btn); color: #fff;
  box-shadow: 0 10px 22px rgba(0, 82, 224, .32);
  transition: transform .35s var(--ease), background .3s, color .3s;
}
.icon-tile .ic { width: 28px; height: 28px; }

/* ---------- seções genéricas ---------- */
.section { padding: clamp(76px, 9vw, 128px) 0; position: relative; }
.section-tint { background: var(--tx-50); }
.section-blue { background: var(--grad-brand); color: #fff; overflow: hidden; isolation: isolate; }
.section-blue::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.18) 1.4px, transparent 1.6px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, transparent 60%);
  mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, transparent 60%);
}
.section-deep { background: linear-gradient(160deg, var(--tx-800) 0%, var(--tx-900) 60%, var(--tx-950) 100%); color: #fff; overflow: hidden; isolation: isolate; }
.section-deep::before {
  content: ""; position: absolute; z-index: -1; right: -12%; top: -30%; width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(20,147,242,.45), transparent 65%); pointer-events: none;
}

.section-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--tx-500);
}
.eyebrow-light, .section-head-light .eyebrow { color: var(--tx-200); }
.section h2 { font-size: clamp(1.95rem, 4.2vw, 3.1rem); line-height: 1.1; font-weight: 800; letter-spacing: -.015em; }
.lead { margin-top: 16px; font-size: clamp(1.08rem, 1.6vw, 1.24rem); color: var(--muted); }
.section-head-light .lead, .section-deep .lead { color: rgba(255,255,255,.9); }
.hl-blue { color: var(--tx-500); }

/* ---------- serviços ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1180px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; gap: 16px; } }

.card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px 26px 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--tx-100); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s, color .35s;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: var(--grad-brand); transition: opacity .35s;
}
.card h3 { font-size: 1.22rem; font-weight: 700; line-height: 1.2; margin-top: 8px; }
.card p { color: var(--muted); flex: 1; transition: color .35s; }
.card-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 52px; padding: 0 18px; margin-top: 8px; white-space: nowrap;
  border-radius: 999px; background: var(--tx-50); color: var(--tx-500);
  font-weight: 700; font-size: .95rem; text-decoration: none;
  transition: background-color .25s, color .25s, transform .25s var(--ease);
}
.card-btn .arrow { transition: transform .25s var(--ease); }
.card-btn:hover .arrow { transform: translateX(5px); }
.card-btn:active { transform: scale(.97); }
.card:hover, .card:focus-within { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; color: #fff; }
.card:hover::before, .card:focus-within::before { opacity: 1; }
.card:hover p, .card:focus-within p { color: rgba(255,255,255,.92); }
.card:hover .icon-tile, .card:focus-within .icon-tile { background: #fff; color: var(--tx-500); transform: rotate(-6deg) scale(1.06); box-shadow: 0 10px 22px rgba(0,26,82,.25); }
.card:hover .card-btn, .card:focus-within .card-btn { background: #fff; color: var(--tx-500); }

/* ---------- assistente ---------- */
.assistant {
  max-width: 980px; margin-inline: auto;
  background: #fff; color: var(--ink); border-radius: 32px;
  padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow-lg);
  min-height: 320px;
}
.noscript-note { color: var(--muted); }
.noscript-note a { color: var(--tx-500); font-weight: 700; }

.as-view { animation: viewIn .45s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.as-title { font-size: clamp(1.4rem, 2.8vw, 1.9rem); font-weight: 800; line-height: 1.2; outline: none; }
.as-sub { color: var(--muted); margin-top: 8px; }

.problems { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 4px; }
.problem {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 18px;
  min-height: 148px; padding: 20px; text-align: left;
  border-radius: 22px; border: 2px solid var(--tx-100); background: var(--tx-50);
  font-weight: 700; font-size: 1.02rem; line-height: 1.25; color: var(--ink);
  transition: transform .25s var(--ease), border-color .25s, background-color .25s, box-shadow .25s, color .25s;
}
.problem .icon-tile { width: 48px; height: 48px; border-radius: 16px; box-shadow: none; }
.problem .icon-tile .ic { width: 24px; height: 24px; }
.problem:hover { transform: translateY(-5px); border-color: var(--tx-500); background: #fff; box-shadow: var(--shadow-md); }
.problem:active { transform: scale(.97); }
@media (max-width: 900px) { .problems { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .problem { min-height: 132px; padding: 16px; font-size: .98rem; } }

.as-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.as-back {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px 0 14px;
  border-radius: 999px; border: 2px solid var(--tx-100); background: #fff; color: var(--tx-500); font-weight: 700;
  transition: background-color .2s, transform .2s var(--ease), border-color .2s;
}
.as-back:hover { background: var(--tx-50); border-color: var(--tx-300); transform: translateX(-3px); }
.as-step { font-weight: 700; color: var(--muted); font-size: .95rem; }
.progress { height: 10px; border-radius: 999px; background: var(--tx-100); overflow: hidden; margin-bottom: 26px; }
.progress span { display: block; height: 100%; border-radius: inherit; background: var(--grad-btn); transition: width .5s var(--ease); }
.as-intro {
  display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px;
  padding: 16px 18px; border-radius: 18px; background: var(--tx-50); border: 1px solid var(--tx-100); color: var(--muted);
}
.as-intro .icon-tile { width: 44px; height: 44px; border-radius: 14px; box-shadow: none; }
.as-intro .icon-tile .ic { width: 22px; height: 22px; }
.as-intro strong { display: block; color: var(--ink); font-size: 1.05rem; }

.answers { display: grid; gap: 12px; margin-top: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.answer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 64px; padding: 14px 22px; text-align: left;
  border-radius: 20px; border: 2px solid var(--tx-100); background: #fff;
  font-weight: 700; font-size: 1.08rem;
  transition: transform .2s var(--ease), border-color .2s, background-color .2s, color .2s, box-shadow .2s;
}
.answer .ic { opacity: 0; transform: scale(.5); transition: opacity .2s, transform .25s var(--ease); }
.answer:hover { border-color: var(--tx-500); background: var(--tx-50); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.answer:active { transform: scale(.97); }
.answer.chosen { background: var(--tx-500); border-color: var(--tx-500); color: #fff; }
.answer.chosen .ic { opacity: 1; transform: none; }
.answer.picked { border-color: var(--tx-500); background: var(--tx-50); }

.summary { margin-top: 20px; display: grid; gap: 10px; }
.summary li {
  display: grid; gap: 2px; padding: 14px 18px; border-radius: 16px;
  background: var(--tx-50); border: 1px solid var(--tx-100);
}
.summary li span { color: var(--muted); font-size: .95rem; }
.summary li strong { font-size: 1.08rem; }
.summary li.first { background: var(--tx-500); border-color: var(--tx-500); color: #fff; }
.summary li.first span { color: rgba(255,255,255,.85); }
.as-note { margin-top: 18px; display: block; font-weight: 700; }
.as-textarea {
  width: 100%; margin-top: 8px; padding: 14px 16px; resize: vertical; min-height: 96px;
  border-radius: 16px; border: 2px solid var(--tx-100); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.as-textarea:focus { outline: none; border-color: var(--tx-500); box-shadow: 0 0 0 4px rgba(0, 82, 224, .15); }
.as-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.as-actions .btn-blue { flex: 1 1 280px; }
.as-fine { margin-top: 14px; font-size: .92rem; color: var(--muted); }

/* ---------- como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; counter-reset: s; }
.steps::before {  /* linha conectora */
  content: ""; position: absolute; z-index: 0; left: 12.5%; right: 12.5%; top: 58px; height: 4px; border-radius: 4px;
  background: repeating-linear-gradient(90deg, var(--tx-300) 0 10px, transparent 10px 20px);
}
.step {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: 0 8px;
}
.step .icon-tile { width: 76px; height: 76px; border-radius: 26px; border: 5px solid #fff; box-shadow: 0 12px 28px rgba(0, 82, 224, .35); }
.step .icon-tile .ic { width: 32px; height: 32px; }
.step:hover .icon-tile { transform: translateY(-6px) rotate(-5deg); }
.step-num {
  position: absolute; top: -8px; left: calc(50% + 22px); z-index: 2;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--tx-500); border: 2px solid var(--tx-500); font-weight: 800; font-size: .95rem;
}
.step h3 { margin-top: 12px; font-size: 1.2rem; font-weight: 700; line-height: 1.2; }
.step p { color: var(--muted); max-width: 18em; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 6px; max-width: 520px; margin-inline: auto; }
  .steps::before { left: 37px; right: auto; top: 40px; bottom: 40px; width: 4px; height: auto; background: repeating-linear-gradient(180deg, var(--tx-300) 0 10px, transparent 10px 20px); }
  .step { flex-direction: row; flex-wrap: wrap; align-items: flex-start; text-align: left; gap: 0 18px; padding: 10px 0; display: grid; grid-template-columns: 76px 1fr; }
  .step .icon-tile { grid-row: 1 / span 2; }
  .step h3 { margin-top: 6px; }
  .step p { max-width: none; }
  .step-num { left: 52px; top: 2px; }
}

/* ---------- sobre ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-copy h2 { margin-bottom: 22px; }
.about-copy p + p, .about-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.12rem; }
.about-copy p:not(.eyebrow) { margin-top: 0; margin-bottom: 16px; }
.about-copy .btn { margin-top: 14px; }
.orbit { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin-inline: auto; }
.orbit-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed var(--tx-300); animation: spin 50s linear infinite; }
.orbit-ring.r2 { inset: 16%; border-style: solid; border-color: var(--tx-200); animation-direction: reverse; animation-duration: 40s; }
.orbit-core {
  position: absolute; inset: 31%; border-radius: 34%; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-lg);
  animation: floaty 6s ease-in-out infinite;
}
.orbit-core .ic { width: 46%; height: 46%; fill: #fff; stroke: #fff; }
.orbit-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--ink);
  font-weight: 700; font-size: .95rem; box-shadow: var(--shadow-md); border: 1px solid var(--tx-100);
  animation: floaty 6s ease-in-out infinite;
}
.orbit-chip .ic { color: var(--tx-500); }
.orbit-chip.c1 { top: 4%; left: -2%; }
.orbit-chip.c2 { top: 46%; right: -3%; animation-delay: -2s; }
.orbit-chip.c3 { bottom: 4%; left: 6%; animation-delay: -4s; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .orbit { width: min(100%, 360px); }
  .orbit-chip.c1 { left: 0; } .orbit-chip.c2 { right: 0; } .orbit-chip { font-size: .88rem; padding: 8px 13px; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq-item { border-radius: 22px; background: #fff; border: 2px solid var(--tx-100); transition: border-color .25s, box-shadow .25s; overflow: hidden; }
.faq-item.open { border-color: var(--tx-500); box-shadow: var(--shadow-sm); }
.faq-item h3 { font-size: 1.1rem; font-weight: 700; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 68px; padding: 16px 22px; text-align: left; background: transparent; border: 0;
  font-weight: 700; font-size: 1.1rem; line-height: 1.3; color: var(--ink);
}
.faq-q .ic { color: var(--tx-500); width: 32px; height: 32px; padding: 6px; border-radius: 50%; flex: none; background: var(--tx-50); transition: transform .35s var(--ease), background-color .25s, color .25s; }
.faq-q:hover .ic { background: var(--tx-100); }
.faq-item.open .faq-q .ic { transform: rotate(180deg); background: var(--tx-500); color: #fff; }
.faq-a { display: grid; grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 22px; color: var(--muted); }
.faq-a a { color: var(--tx-500); font-weight: 700; }
.js .faq-a { grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.js .faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.contact-copy h2 { color: #fff; }
.contact-list { margin-top: 34px; display: grid; gap: 14px; }
.contact-link {
  display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 22px; text-decoration: none;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px);
  transition: transform .25s var(--ease), background-color .25s, border-color .25s;
}
.contact-link:hover { transform: translateX(6px); background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); }
.contact-link:active { transform: scale(.98); }
.contact-link .icon-tile { width: 52px; height: 52px; border-radius: 16px; background: #fff; color: var(--tx-500); box-shadow: none; }
.contact-link.primary { background: #fff; color: var(--ink); border-color: #fff; }
.contact-link.primary:hover { background: #fff; }
.contact-link.primary .icon-tile { background: var(--grad-btn); color: #fff; }
.contact-link small { display: block; font-size: .85rem; opacity: .8; font-weight: 500; }
.contact-link strong { font-size: 1.12rem; font-weight: 700; overflow-wrap: anywhere; }

.form-card { background: #fff; color: var(--ink); border-radius: 32px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 1.6rem; font-weight: 800; }
.form-hint { color: var(--muted); margin: 6px 0 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 8px; }
.opt { font-weight: 500; color: var(--muted); }
.input-wrap { position: relative; }
.input-wrap > .ic { position: absolute; left: 16px; top: 17px; color: var(--tx-500); pointer-events: none; }
.input-wrap input, .input-wrap select, .input-wrap textarea {
  width: 100%; min-height: 56px; padding: 14px 16px 14px 48px;
  border-radius: 16px; border: 2px solid var(--tx-100); background: var(--tx-50);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.input-wrap textarea { resize: vertical; min-height: 120px; padding-left: 16px; }
.input-wrap select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230052E0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; }
.input-wrap input::placeholder, .input-wrap textarea::placeholder { color: #6B84B9; }
.input-wrap input:focus, .input-wrap select:focus, .input-wrap textarea:focus {
  outline: none; border-color: var(--tx-500); background: #fff; box-shadow: 0 0 0 4px rgba(0, 82, 224, .15);
}
.field.invalid input, .field.invalid textarea { border-color: var(--danger); background: #FFF6F7; }
.field.invalid .input-wrap > .ic { color: var(--danger); }
.field-err { min-height: 0; margin-top: 6px; color: var(--danger); font-weight: 600; font-size: .95rem; }
.field-err:empty { display: none; }
.field.invalid { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.form-ok {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 14px 16px;
  border-radius: 16px; background: var(--tx-50); border: 1px solid var(--tx-200); color: var(--ink); font-weight: 500;
  animation: viewIn .4s var(--ease);
}
.form-ok[hidden] { display: none; }
.form-ok .ic { color: #fff; background: var(--tx-500); border-radius: 50%; padding: 4px; width: 1.7em; height: 1.7em; stroke-width: 3; margin-top: 1px; }
.form-ok a { color: var(--tx-500); font-weight: 700; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- rodapé ---------- */
.site-footer { background: var(--tx-950); color: rgba(255,255,255,.85); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.footer-brand img { width: 220px; height: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 24em; }
.site-footer h2 { color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: 14px; letter-spacing: .02em; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; }
.footer-contact .ic { color: var(--tx-300); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 20px; padding: 22px 0 90px; border-top: 1px solid rgba(255,255,255,.14); font-size: .95rem; }
.to-top { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; text-decoration: none;
  background: var(--grad-btn); color: #fff; border: 3px solid #fff;
  box-shadow: 0 14px 32px rgba(0, 26, 82, .4);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.wa-float .ic { width: 32px; height: 32px; }
.wa-float::before {
  content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid var(--tx-400);
  animation: ping 2.6s ease-out infinite; pointer-events: none;
}
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float:active { transform: scale(.94); }
.wa-tip {
  position: absolute; right: 78px; top: 50%; transform: translate(10px, -50%);
  padding: 10px 16px; border-radius: 14px; background: #fff; color: var(--ink);
  font-weight: 700; font-size: .95rem; white-space: nowrap; box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip, .wa-float.show-tip .wa-tip { opacity: 1; transform: translate(0, -50%); }
@media (max-width: 520px) { .wa-tip { display: none; } .wa-float { right: 14px; bottom: 14px; } }

/* ---------- revelar ao rolar ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero .reveal { transition-duration: .9s; }
.js .steps::before { transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .2s; }
.js .steps.in-view::before { transform: scaleX(1); }
@media (max-width: 900px) {
  .js .steps::before { transform: scaleY(0); transform-origin: top; }
  .js .steps.in-view::before { transform: scaleY(1); }
}

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
