/*
Theme Name: Thallos Contabilidade
Theme URI: https://thalloscontabilidade.com.br
Description: Tema próprio da Thallos Contabilidade. Converte o site estático em WordPress mantendo paleta, tipografia, layout e animações originais. Funciona sem plugins; o ACF, se instalado, torna os textos editáveis.
Author: Thallos Contabilidade
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thallos
*/

/* ==========================================================================
   Thallos Contabilidade — Design System
   Paleta: #055BA6 · #0A8CBF · #0BB3D9 · #0CDBF2 · #F2F2F2
   ========================================================================== */

/* ---------- 1. Tokens --------------------------------------------------- */
:root {
  /* Marca */
  --brand-900: #033f74;
  --brand-800: #055BA6;
  --brand-700: #0672b4;
  --brand-600: #0A8CBF;
  --brand-500: #0BB3D9;
  --brand-400: #0CDBF2;
  --brand-100: #d9f5fb;
  --brand-050: #eefaFD;

  /* Neutros */
  --ink:       #0a1c2b;
  --ink-2:     #33475b;
  --ink-3:     #64778a;
  --line:      #e2e8ee;
  --surface:   #ffffff;
  --surface-2: #F2F2F2;
  --surface-3: #f8fafc;

  /* Gradientes */
  --grad-brand: linear-gradient(120deg, var(--brand-800) 0%, var(--brand-600) 48%, var(--brand-400) 100%);
  --grad-deep:  linear-gradient(150deg, #032e56 0%, var(--brand-800) 55%, var(--brand-600) 100%);
  --grad-soft:  linear-gradient(140deg, #f4fbfe 0%, #eaf6fc 100%);

  /* Tipografia */
  --font-head: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Escala fluida */
  --fs-display: clamp(2.35rem, 1.4rem + 3.9vw, 4.25rem);
  --fs-h1:      clamp(2rem, 1.35rem + 2.7vw, 3.25rem);
  --fs-h2:      clamp(1.65rem, 1.2rem + 1.9vw, 2.6rem);
  --fs-h3:      clamp(1.2rem, 1.05rem + 0.7vw, 1.55rem);
  --fs-lead:    clamp(1.02rem, 0.96rem + 0.4vw, 1.2rem);

  /* Layout */
  --wrap: 1200px;
  --wrap-narrow: 820px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 7.5rem);

  /* Raios e sombras */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 999px;
  --sh-sm: 0 1px 2px rgba(10,28,43,.06), 0 2px 8px rgba(10,28,43,.05);
  --sh-md: 0 4px 12px rgba(10,28,43,.06), 0 12px 32px rgba(10,28,43,.07);
  --sh-lg: 0 10px 24px rgba(5,91,166,.10), 0 26px 60px rgba(5,91,166,.13);
  --sh-brand: 0 10px 26px rgba(10,140,191,.32);

  --t-fast: .18s cubic-bezier(.4,0,.2,1);
  --t: .32s cubic-bezier(.4,0,.2,1);
  --header-h: 82px;
}

/* ---------- 2. Reset ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

/* O atributo hidden precisa vencer qualquer display definido aqui
   (.card usa display:flex, que sobrepõe o display:none do navegador). */
[hidden] { display: none !important; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: var(--brand-700); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--brand-500); }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: -0.022em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p  { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--brand-400); color: #04283f; }

/* ---------- 3. Utilitários ---------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.75rem, 5vw, 4.5rem); }
.bg-alt { background: var(--surface-3); }
.bg-soft { background: var(--grad-soft); }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 50%; top: 8px; transform: translate(-50%, -180%);
  background: var(--brand-800); color: #fff; padding: .7rem 1.3rem;
  border-radius: var(--r-full); z-index: 999; font-weight: 600;
  transition: transform var(--t);
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

/* Cabeçalho de seção */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--brand-600);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: var(--grad-brand);
}
.eyebrow--center { justify-content: center; }
.section-head { max-width: 660px; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.lead { font-size: var(--fs-lead); color: var(--ink-3); margin-top: 1.05rem; }

/* Gradiente no texto */
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- 4. Botões --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  line-height: 1; padding: 1.05rem 1.75rem; border-radius: var(--r-full);
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: var(--sh-brand); }
.btn--primary:hover { color: #fff; box-shadow: 0 14px 34px rgba(10,140,191,.42); }

.btn--dark { background: var(--brand-800); color: #fff; }
.btn--dark:hover { background: var(--brand-900); color: #fff; }

.btn--ghost { background: transparent; color: var(--brand-800); border-color: rgba(5,91,166,.28); }
.btn--ghost:hover { background: var(--brand-050); border-color: var(--brand-600); color: var(--brand-800); }

.btn--light { background: #fff; color: var(--brand-800); }
.btn--light:hover { background: var(--brand-050); color: var(--brand-900); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { background: rgba(255,255,255,.14); color: #fff; border-color: #fff; }

.btn--wa { background: #1FA855; color: #fff; box-shadow: 0 10px 26px rgba(31,168,85,.3); }
.btn--wa:hover { background: #18904a; color: #fff; }

.btn--sm { padding: .8rem 1.3rem; font-size: .88rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* Link com seta */
.arrow-link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-head); font-weight: 700; font-size: .93rem;
  color: var(--brand-700);
}
.arrow-link svg { width: 16px; height: 16px; transition: transform var(--t); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ---------- 5. Cabeçalho ------------------------------------------------ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--t), box-shadow var(--t), border-color var(--t), height var(--t);
}
.site-header.is-stuck {
  background: rgba(255,255,255,.96);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(10,28,43,.07);
  --header-h: 72px;
}
.header-inner {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: clamp(34px, 4.4vw, 44px); width: auto; transition: height var(--t); }
.site-header.is-stuck .brand img { height: clamp(30px, 3.8vw, 38px); }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  position: relative; display: block; padding: .6rem .9rem;
  font-family: var(--font-head); font-weight: 600; font-size: .94rem;
  color: var(--ink-2); border-radius: var(--r-sm);
}
.nav-link::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .3rem;
  height: 2px; border-radius: 2px; background: var(--grad-brand);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.nav-link:hover { color: var(--brand-800); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--brand-800); }

/* Dropdown */
.has-drop { position: relative; }
.drop-toggle { display: inline-flex; align-items: center; gap: .35rem; }
.drop-toggle svg { width: 12px; height: 12px; transition: transform var(--t); }
.has-drop:hover .drop-toggle svg, .has-drop:focus-within .drop-toggle svg { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 6px); left: 50%;
  transform: translate(-50%, 8px);
  width: 310px; padding: .6rem; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.has-drop:hover .drop, .has-drop:focus-within .drop {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.drop a {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: .65rem .7rem; border-radius: var(--r-sm); color: var(--ink);
}
.drop a:hover { background: var(--brand-050); }
.drop strong { display: block; font-family: var(--font-head); font-size: .9rem; font-weight: 700; }
.drop span { display: block; font-size: .78rem; color: var(--ink-3); line-height: 1.45; }
.drop .ic { flex: none; width: 20px; height: 20px; color: var(--brand-600); margin-top: 3px; }

.header-cta { display: flex; align-items: center; gap: .6rem; flex: none; }

/* Botão hambúrguer */
.burger {
  display: none; width: 46px; height: 46px; flex: none;
  border-radius: var(--r-sm); border: 1px solid var(--line);
  align-items: center; justify-content: center; background: #fff;
}
.burger span {
  display: block; position: relative; width: 20px; height: 2px;
  border-radius: 2px; background: var(--ink); transition: background var(--t-fast);
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  border-radius: 2px; background: var(--ink); transition: transform var(--t), top var(--t);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* Menu mobile */
.mobile-nav {
  position: fixed; inset: 0; z-index: 190;
  background: #fff; padding: calc(var(--header-h) + 1.25rem) var(--gutter) 2.5rem;
  overflow-y: auto;
  transform: translateX(100%); transition: transform .38s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; gap: .2rem;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav a.m-link {
  font-family: var(--font-head); font-weight: 700; font-size: 1.18rem;
  color: var(--ink); padding: .95rem .25rem; border-bottom: 1px solid var(--line);
}
.mobile-nav a.m-link[aria-current="page"] { color: var(--brand-700); }
.mobile-nav .m-sub {
  font-size: .96rem; font-weight: 600; color: var(--ink-2);
  padding: .7rem .25rem .7rem 1.15rem; border-bottom: 1px solid var(--line);
  display: block;
}
.mobile-nav .m-group-title {
  font-family: var(--font-head); font-size: .74rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand-600); font-weight: 700;
  padding: 1.4rem .25rem .5rem;
}
.mobile-nav .m-actions { margin-top: 1.75rem; display: grid; gap: .7rem; }
body.nav-open { overflow: hidden; }

/* ---------- 6. Hero ----------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
  background: var(--grad-soft);
}
.hero::before {
  content: ""; position: absolute; top: -28%; right: -14%;
  width: min(760px, 74vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 34% 34%, rgba(12,219,242,.38), rgba(5,91,166,.14) 46%, transparent 68%);
  filter: blur(8px); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; bottom: -34%; left: -18%;
  width: min(620px, 66vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, rgba(10,140,191,.22), transparent 66%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.06fr .94fr;
  gap: clamp(2.25rem, 5vw, 4.25rem); align-items: center;
}
.hero h1 { font-size: var(--fs-display); }
.hero .lead { max-width: 54ch; margin-top: 1.35rem; font-size: clamp(1.05rem,.98rem+.45vw,1.28rem); color: var(--ink-2); }
.hero .btn-row { margin-top: 2.2rem; }

.pill {
  display: inline-flex; align-items: center; gap: .55rem;
  background: #fff; border: 1px solid var(--brand-100);
  padding: .5rem 1.05rem .5rem .6rem; border-radius: var(--r-full);
  font-size: .84rem; font-weight: 600; color: var(--brand-800);
  box-shadow: var(--sh-sm); margin-bottom: 1.5rem;
}
.pill .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,.18);
}

/* Trust row */
.trust-row {
  margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1rem 2.1rem;
  align-items: center; padding-top: 1.7rem; border-top: 1px solid rgba(5,91,166,.14);
}
.trust-item { display: flex; align-items: center; gap: .6rem; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.trust-item svg { width: 19px; height: 19px; color: var(--brand-600); flex: none; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-figure {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-lg); aspect-ratio: 4/5; background: var(--brand-100);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3,46,86,0) 42%, rgba(3,46,86,.55) 100%);
}
.float-card {
  position: absolute; z-index: 3; background: #fff;
  border-radius: var(--r-md); box-shadow: var(--sh-md);
  padding: .95rem 1.15rem; display: flex; align-items: center; gap: .8rem;
  border: 1px solid rgba(255,255,255,.7);
}
.float-card .ic {
  width: 40px; height: 40px; flex: none; border-radius: 12px;
  display: grid; place-items: center; background: var(--brand-050); color: var(--brand-700);
}
.float-card .ic svg { width: 20px; height: 20px; }
.float-card b { display: block; font-family: var(--font-head); font-size: 1.02rem; color: var(--ink); line-height: 1.2; }
.float-card span { font-size: .76rem; color: var(--ink-3); }
.float-card--a { left: -6%; top: 13%; animation: float 6s ease-in-out infinite; }
.float-card--b { right: -5%; bottom: 12%; animation: float 6s ease-in-out .9s infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

/* Hero interno (páginas secundárias) */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--grad-deep); color: #fff;
  padding-top: calc(var(--header-h) + clamp(2.75rem, 6vw, 4.75rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(12,219,242,.34), transparent 46%),
    radial-gradient(circle at 6% 92%, rgba(11,179,217,.24), transparent 44%);
}
.page-hero > * { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero .lead { color: rgba(255,255,255,.82); max-width: 62ch; }
.page-hero .eyebrow { color: var(--brand-400); }
.page-hero .eyebrow::before { background: var(--brand-400); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .84rem; margin-bottom: 1.4rem; color: rgba(255,255,255,.6); }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-hidden] { opacity: .5; }

/* ---------- 7. Grids e cards -------------------------------------------- */
.grid { display: grid; gap: clamp(1.1rem, 2.2vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.5rem, 2.6vw, 2.1rem);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  height: 100%; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--brand-100); }
.card h3 { margin-bottom: .7rem; }
.card p { font-size: .95rem; color: var(--ink-3); }
.card .arrow-link { margin-top: auto; padding-top: 1.35rem; }

.card-ic {
  width: 56px; height: 56px; border-radius: 18px; flex: none;
  display: grid; place-items: center; margin-bottom: 1.35rem;
  background: var(--grad-brand); color: #fff; box-shadow: var(--sh-brand);
}
.card-ic svg { width: 26px; height: 26px; }
.card-ic--soft { background: var(--brand-050); color: var(--brand-700); box-shadow: none; }

.card--flat { border-color: transparent; background: var(--surface-3); }
.card--flat:hover { border-color: var(--brand-100); background: #fff; }

.tick-list { display: grid; gap: .72rem; margin-top: 1.2rem; }
.tick-list li { display: flex; gap: .65rem; font-size: .93rem; color: var(--ink-2); line-height: 1.6; }
.tick-list svg { width: 19px; height: 19px; flex: none; color: var(--brand-500); margin-top: 4px; }

/* ---------- 8. Estatísticas --------------------------------------------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.stat { background: #fff; padding: clamp(1.5rem,3vw,2.25rem) 1.25rem; text-align: center; }
.stat b {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.9rem, 1.2rem + 2.1vw, 3rem); line-height: 1;
  letter-spacing: -.03em; margin-bottom: .5rem;
}
.stat span { font-size: .85rem; color: var(--ink-3); font-weight: 500; }
.stats--on-dark { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.16); }
.stats--on-dark .stat { background: transparent; }
.stats--on-dark .stat b { color: #fff; }
.stats--on-dark .stat span { color: rgba(255,255,255,.72); }

/* ---------- 9. Split (texto + imagem) ----------------------------------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img {
  width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh-md);
  aspect-ratio: 5/4; object-fit: cover;
}
.split-media::before {
  content: ""; position: absolute; inset: auto -18px -18px auto;
  width: 62%; height: 62%; border-radius: var(--r-lg);
  background: var(--grad-brand); opacity: .1; z-index: -1;
}

/* ---------- 10. Processo (timeline) ------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 2.6vw, 2rem); position: relative; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--brand-800), var(--brand-400));
  opacity: .28;
}
.step { position: relative; text-align: center; }
.step .num {
  width: 56px; height: 56px; margin: 0 auto 1.15rem; border-radius: 50%;
  display: grid; place-items: center; background: #fff;
  border: 2px solid var(--brand-400); color: var(--brand-800);
  font-family: var(--font-head); font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 0 0 6px #fff, var(--sh-sm); position: relative; z-index: 2;
}
.step h3 { font-size: 1.06rem; margin-bottom: .5rem; }
.step p { font-size: .9rem; color: var(--ink-3); }

/* ---------- 11. Depoimentos --------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.2vw, 1.75rem); }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.6rem, 2.6vw, 2.1rem); display: flex; flex-direction: column;
}
.quote .stars { display: flex; gap: .18rem; color: #f5a623; margin-bottom: 1.05rem; }
.quote .stars svg { width: 17px; height: 17px; }
.quote blockquote { font-size: .98rem; color: var(--ink-2); line-height: 1.75; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: .8rem; margin-top: 1.5rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--grad-brand); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
}
.quote figcaption b { display: block; font-family: var(--font-head); font-size: .93rem; color: var(--ink); }
.quote figcaption span { font-size: .8rem; color: var(--ink-3); }

/* ---------- 12. FAQ ----------------------------------------------------- */
.faq { display: grid; gap: .8rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; transition: border-color var(--t), box-shadow var(--t); }
.faq-item.is-open { border-color: var(--brand-100); box-shadow: var(--sh-sm); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1.15rem; padding: 1.2rem 1.4rem; text-align: left;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--ink);
}
.faq-q:hover { color: var(--brand-800); }
.faq-q .chev { flex: none; width: 22px; height: 22px; color: var(--brand-600); transition: transform var(--t); }
.faq-item.is-open .chev { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 1.4rem 1.35rem; font-size: .95rem; color: var(--ink-3); }

/* ---------- 13. CTA ----------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: var(--grad-deep); color: #fff;
  padding: clamp(2.5rem, 5.5vw, 4.5rem) clamp(1.6rem, 5vw, 4rem);
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(12,219,242,.3), transparent 42%),
    radial-gradient(circle at 85% 85%, rgba(11,179,217,.26), transparent 44%);
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 56ch; margin: 1.1rem auto 0; font-size: var(--fs-lead); }
.cta-band .btn-row { justify-content: center; margin-top: 2.15rem; }

/* ---------- 14. Rodapé -------------------------------------------------- */
.site-footer { background: #041f3a; color: rgba(255,255,255,.68); padding-top: clamp(3.25rem, 6vw, 5rem); }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.25rem); padding-bottom: 3rem;
}
.site-footer h4 {
  font-family: var(--font-head); color: #fff; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.25rem; font-weight: 700;
}
.site-footer a { color: rgba(255,255,255,.7); font-size: .93rem; }
.site-footer a:hover { color: var(--brand-400); }
.site-footer ul { display: grid; gap: .72rem; }
.footer-brand img { height: 46px; margin-bottom: 1.35rem; }
.footer-brand p { font-size: .93rem; max-width: 34ch; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--brand-400); margin-top: 4px; }
.socials { display: flex; gap: .6rem; margin-top: 1.6rem; }
.socials a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff; transition: background var(--t), transform var(--t);
}
.socials a:hover { background: var(--brand-600); color: #fff; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.6rem;
  display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; align-items: center; justify-content: space-between;
  font-size: .84rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }

/* ---------- 15. WhatsApp flutuante -------------------------------------- */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 150; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #fff;
  box-shadow: 0 10px 28px rgba(37,211,102,.45);
  transition: transform var(--t), box-shadow var(--t);
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: ping 2.4s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%,100% { transform: scale(1.55); opacity: 0; } }

/* ---------- 16. Formulário ---------------------------------------------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3.2vw, 2.6rem); box-shadow: var(--sh-md);
}
.field { margin-bottom: 1.15rem; }
.field label {
  display: block; font-family: var(--font-head); font-weight: 600;
  font-size: .87rem; color: var(--ink); margin-bottom: .45rem;
}
.field .req { color: #e11d48; }
.field input, .field select, .field textarea {
  width: 100%; padding: .9rem 1.05rem; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); background: var(--surface-3); font-size: .95rem;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-500); background: #fff;
  box-shadow: 0 0 0 4px rgba(11,179,217,.14);
}
.field .err { display: none; font-size: .8rem; color: #e11d48; margin-top: .35rem; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #e11d48; background: #fff5f7; }
.field.is-invalid .err { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .85rem; color: var(--ink-3); }
.check input { width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--brand-600); }
.form-msg {
  display: none; margin-top: 1.15rem; padding: 1rem 1.15rem; border-radius: var(--r-sm);
  font-size: .9rem; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0;
}
.form-msg.is-visible { display: block; }

/* ---------- 17. Info boxes ---------------------------------------------- */
.info-list { display: grid; gap: 1rem; }
.info-item {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.25rem 1.4rem;
  transition: border-color var(--t), box-shadow var(--t);
}
.info-item:hover { border-color: var(--brand-100); box-shadow: var(--sh-sm); }
.info-item .ic {
  width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-050); color: var(--brand-700);
}
.info-item .ic svg { width: 20px; height: 20px; }
.info-item b { display: block; font-family: var(--font-head); font-size: .93rem; color: var(--ink); margin-bottom: .18rem; }
.info-item a, .info-item p { font-size: .94rem; color: var(--ink-3); }
.info-item a:hover { color: var(--brand-600); }

/* ---------- 18. Blog ---------------------------------------------------- */
.post-card { overflow: hidden; padding: 0; }
.post-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--brand-100); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.4,0,.2,1); }
.post-card:hover .thumb img { transform: scale(1.06); }
.post-card .body { padding: clamp(1.35rem, 2.4vw, 1.85rem); display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.12rem; }
.tag {
  display: inline-block; font-family: var(--font-head); font-size: .7rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--brand-700);
  background: var(--brand-050); padding: .34rem .7rem; border-radius: var(--r-full);
  margin-bottom: .9rem;
}
.post-meta { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .8rem; color: var(--ink-3); margin-top: .9rem; }
.post-meta span[aria-hidden] { opacity: .45; }

.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2.25rem; }
.filter-btn {
  padding: .55rem 1.1rem; border-radius: var(--r-full); border: 1.5px solid var(--line);
  font-family: var(--font-head); font-weight: 600; font-size: .87rem; color: var(--ink-2);
  transition: all var(--t-fast); background: #fff;
}
.filter-btn:hover { border-color: var(--brand-400); color: var(--brand-800); }
.filter-btn.is-active { background: var(--brand-800); border-color: var(--brand-800); color: #fff; }

/* Artigo */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.35rem; }
.prose h2 { font-size: clamp(1.4rem, 1.15rem + 1.1vw, 1.9rem); margin-top: 2.75rem; }
.prose h3 { font-size: 1.2rem; margin-top: 2rem; }
.prose p, .prose li { font-size: 1.03rem; line-height: 1.8; color: var(--ink-2); }
.prose ul { display: grid; gap: .7rem; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.6rem; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .68em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--brand-500);
}
.prose ol { counter-reset: n; display: grid; gap: .7rem; }
.prose ol li { position: relative; padding-left: 2.1rem; counter-increment: n; }
.prose ol li::before {
  content: counter(n); position: absolute; left: 0; top: .1em;
  width: 24px; height: 24px; border-radius: 50%; background: var(--brand-050);
  color: var(--brand-800); font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  display: grid; place-items: center;
}
.prose blockquote {
  border-left: 3px solid var(--brand-400); padding: .3rem 0 .3rem 1.35rem;
  font-size: 1.08rem; color: var(--ink); font-style: italic;
}
.prose img { border-radius: var(--r-md); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.5rem; }

.callout {
  background: var(--brand-050); border: 1px solid var(--brand-100);
  border-radius: var(--r-md); padding: 1.4rem 1.6rem;
}
.callout b { font-family: var(--font-head); color: var(--brand-900); display: block; margin-bottom: .35rem; }
.callout p { font-size: .95rem; color: var(--ink-2); }

.toc {
  background: var(--surface-3); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1.4rem 1.6rem; position: sticky; top: calc(var(--header-h) + 20px);
}
.toc h4 { font-family: var(--font-head); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-600); margin-bottom: .9rem; }
.toc ul { display: grid; gap: .6rem; }
.toc a { font-size: .9rem; color: var(--ink-2); }
.toc a:hover { color: var(--brand-700); }

.article-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(2rem,4vw,3.5rem); align-items: start; }

/* ---------- 19. Tabela de preços/comparativo ---------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
table.tbl { width: 100%; border-collapse: collapse; min-width: 560px; }
table.tbl th, table.tbl td { padding: 1rem 1.15rem; text-align: left; font-size: .93rem; border-bottom: 1px solid var(--line); }
table.tbl thead th { background: var(--surface-3); font-family: var(--font-head); color: var(--ink); font-weight: 700; font-size: .84rem; letter-spacing: .03em; }
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl tbody tr:hover { background: var(--brand-050); }

/* ---------- 20. Animações de entrada ------------------------------------ */
[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .09s; }
[data-reveal][data-delay="2"] { transition-delay: .18s; }
[data-reveal][data-delay="3"] { transition-delay: .27s; }
[data-reveal][data-delay="4"] { transition-delay: .36s; }

/* ---------- 21. Responsivo ---------------------------------------------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}

@media (max-width: 980px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: flex; }
  .header-inner { justify-content: space-between; }
  .header-cta { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin-inline: auto; width: 100%; }
  .hero-figure { aspect-ratio: 4/3.2; }
  .split, .split--reverse .split-media { grid-template-columns: 1fr; order: 0; }
  .split-media { max-width: 560px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .quotes { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --header-h: 70px; }
  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
  .trust-row { gap: .85rem 1.25rem; }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
}

/* Impressão */
@media print {
  .site-header, .mobile-nav, .wa-float, .cta-band, .site-footer { display: none !important; }
  body { color: #000; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* Acessibilidade: reduzir movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
