/* ═══════════════════════════════════════════════════════════════════════════
   Opsis Contábil — estilos do site
   Sem dependências externas: fonte e ícones são locais (exigência da CSP).
   Paleta extraída do logo: azul-marinho #19446D e verde-azulado #38A7A2.
   ═══════════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ───────── Tokens ───────── */
:root {
  --navy-950: #071726;
  --navy-900: #0b2239;
  --navy-800: #10304f;
  --navy-700: #19446d;   /* cor da marca */
  --navy-100: #e4edf6;
  --teal-300: #8fd9d3;
  --teal-400: #5cc7c0;
  --teal-500: #38a7a2;   /* cor da marca */
  --teal-600: #2a8a86;
  --teal-700: #1f6f6b;   /* texto sobre fundo claro (contraste AA) */
  --ink: #0f2337;
  --muted: #52657a;
  --line: #dbe4ec;
  --bg: #f6f9fc;
  --surface: #ffffff;
  --danger: #b03a2e;
  --ok: #17724c;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-1: 0 1px 2px rgba(11, 34, 57, .05), 0 3px 10px rgba(11, 34, 57, .05);
  --shadow-2: 0 14px 34px -10px rgba(11, 34, 57, .20);
  --shadow-3: 0 30px 60px -22px rgba(11, 34, 57, .32);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
}

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 3.9vw + .7rem, 4.05rem); }
h2 { font-size: clamp(1.75rem, 2.4vw + 1rem, 2.75rem); }
h3 { font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-700); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1160px, 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy-900); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }

/* ───────── Botões ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 13px; border: 1px solid transparent;
  font: 700 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .18s ease; }
.btn:hover .icon { transform: translateX(2px); }
.btn-sm { padding: 10px 16px; font-size: .88rem; border-radius: 11px; }
.btn-lg { padding: 16px 26px; font-size: 1rem; border-radius: 15px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy-700); color: #fff; box-shadow: 0 8px 20px -8px rgba(25, 68, 109, .65); }
.btn-primary:hover { background: var(--navy-800); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(25, 68, 109, .7); }
.btn-ghost { background: rgba(255, 255, 255, .7); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: #fff; border-color: var(--teal-400); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.btn-light { background: #fff; color: var(--navy-800); box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .5); }
.btn-light:hover { background: var(--teal-300); color: var(--navy-950); transform: translateY(-2px); }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn.is-loading .icon { animation: spin 1s linear infinite; }

/* ───────── Cabeçalho ───────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 249, 252, .8); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: background-color .2s, border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .88); border-bottom-color: var(--line); box-shadow: 0 6px 24px -16px rgba(11, 34, 57, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 34px; width: auto; }
.brand-name { font-weight: 800; font-size: 1.2rem; letter-spacing: -.03em; }
.brand-name span { font-weight: 500; color: var(--navy-700); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav .link { position: relative; padding: 6px 0; font-weight: 600; font-size: .94rem; color: var(--muted); text-decoration: none; }
.nav .link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--teal-500); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav .link:hover { color: var(--ink); }
.nav .link:hover::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.menu-btn .icon { width: 22px; height: 22px; }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }
.mobile-menu { background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(11, 34, 57, .4); }
.mobile-menu a { display: block; padding: 15px 2px; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: 0; color: var(--teal-700); }

/* ───────── Seções ───────── */
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section-tint { background: linear-gradient(180deg, #eef4f9, #e8f0f6); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin: 12px 0 16px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.eyebrow { display: inline-block; font-weight: 800; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-1); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: #b9dfdc; }
.card h3 { margin: 18px 0 10px; }
.card p { color: var(--muted); font-size: .98rem; }
.ico { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: linear-gradient(145deg, var(--navy-100), #f4f9fc); border: 1px solid #d3e2ef; color: var(--navy-700); }
.ico .icon { width: 24px; height: 24px; }
.ico-lg { width: 64px; height: 64px; border-radius: 20px; }
.ico-lg .icon { width: 30px; height: 30px; }

/* ───────── Hero ───────── */
.hero { position: relative; overflow: hidden; padding: clamp(44px, 6vw, 88px) 0 clamp(64px, 8vw, 112px);
  background:
    radial-gradient(70% 60% at 90% -8%, rgba(56, 167, 162, .22), transparent 62%),
    radial-gradient(55% 55% at -6% 30%, rgba(25, 68, 109, .12), transparent 60%),
    linear-gradient(180deg, #f6f9fc, #edf4f9); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(25, 68, 109, .16) 1px, transparent 0); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 75% at 72% 28%, #000, transparent 78%); mask-image: radial-gradient(70% 75% at 72% 28%, #000, transparent 78%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(36px, 4.5vw, 72px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .84rem; color: var(--navy-700); box-shadow: var(--shadow-1); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 0 4px rgba(56, 167, 162, .2); }
.hero h1 { margin: 22px 0 22px; font-size: clamp(2.15rem, 3vw + .7rem, 3.5rem); }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--navy-700) 10%, var(--teal-600)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--navy-700); }
.lead { font-size: clamp(1.05rem, .35vw + 1rem, 1.22rem); color: var(--muted); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 26px; font-weight: 600; font-size: .92rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--teal-600); width: 20px; height: 20px; }

.hero-visual { position: relative; padding: 18px 8px 34px 18px; }
.mock { background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-3); padding: 20px 22px 16px; }
.mock-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.mock-dots i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 50%; background: #d7e1ea; }
.mock-title { font-weight: 700; font-size: .86rem; }
.mock-tag { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: rgba(56, 167, 162, .13); color: var(--teal-700); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.stat { display: grid; gap: 5px; padding: 12px; border-radius: 15px; background: var(--bg); }
.stat-label { font-size: .68rem; font-weight: 600; color: var(--muted); line-height: 1.3; }
.stat-value { font-size: 1.18rem; font-weight: 800; letter-spacing: -.03em; }
.stat-chip { justify-self: start; padding: 2px 9px; border-radius: 999px; background: #e6edf4; color: var(--navy-700); font-size: .66rem; font-weight: 700; }
.stat-chip.up { background: rgba(23, 114, 76, .12); color: var(--ok); }
.mock-chart { width: 100%; height: auto; margin: 4px 0 12px; }
.mock-chart .grid-line { stroke: #e3eaf1; stroke-width: 1; }
.mock-chart .dashed { stroke-dasharray: 3 5; }
.mock-chart .bar { fill: #d1deea; }
.mock-chart .bar-hi { fill: var(--teal-500); }
.mock-chart text { font: 600 9px var(--font); fill: #8496aa; text-anchor: middle; }
.mock-checks { display: grid; gap: 9px; font-size: .84rem; font-weight: 600; }
.mock-checks li { display: flex; align-items: center; gap: 10px; }
.mock-checks .icon { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: rgba(56, 167, 162, .16); color: var(--teal-700); stroke-width: 2.6; }
.mock-note { margin-top: 12px; font-size: .7rem; color: #8496aa; text-align: right; }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); font-weight: 700; font-size: .82rem; animation: float 6s ease-in-out infinite; }
.float-chip .icon { width: 17px; height: 17px; color: var(--teal-600); }
.chip-a { top: 0; right: -4px; }
.chip-b { bottom: 6px; left: -6px; animation-delay: -3s; }

/* ───────── Faixa de confiança ───────── */
.trust { background: #fff; border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 28px; padding-block: 28px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item .ico { width: 46px; height: 46px; border-radius: 14px; }
.trust-item strong { display: block; font-size: .95rem; line-height: 1.3; }
.trust-item div > span, .trust-item div > a { display: block; font-size: .85rem; line-height: 1.4; color: var(--muted); }
.trust-item a { color: var(--teal-700); font-weight: 600; }

/* ───────── Metodologia (faixa escura) ───────── */
.band-dark { color: #dbe7f1; background:
  radial-gradient(50% 60% at 100% 0%, rgba(56, 167, 162, .22), transparent 60%),
  radial-gradient(45% 50% at 0% 100%, rgba(56, 167, 162, .10), transparent 60%),
  linear-gradient(180deg, var(--navy-950), var(--navy-900)); }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .eyebrow { color: var(--teal-300); }
.band-dark .section-head p { color: #b9cde0; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.step { position: relative; padding: 26px 22px 24px; border-radius: 22px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .11); transition: background-color .25s ease, transform .25s ease, border-color .25s ease; }
.step:hover { background: rgba(255, 255, 255, .08); border-color: rgba(143, 217, 211, .4); transform: translateY(-4px); }
.step-n { display: inline-block; margin-bottom: 14px; font-weight: 800; font-size: .95rem; letter-spacing: .1em; color: var(--teal-300); }
.step h3 { margin: 0 0 9px; font-size: 1.15rem; }
.step p { font-size: .93rem; color: #b3c8dc; }

/* ───────── Integração e tecnologia (bento) ───────── */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.b-main { grid-column: span 4; grid-row: span 2; display: flex; flex-direction: column; background: linear-gradient(160deg, #fff 30%, #eaf6f5); border-color: #c5e3e1; padding: clamp(26px, 3vw, 40px); }
.b-main h3 { font-size: 1.9rem; letter-spacing: -.03em; margin: 22px 0 10px; }
.b-main > p { font-size: 1.05rem; max-width: 52ch; }
.b-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tag { padding: 6px 13px; border-radius: 999px; background: rgba(56, 167, 162, .14); color: var(--teal-700); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.checklist { display: grid; gap: 11px; margin: 26px 0 8px; }
.b-main .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.checklist li { display: flex; align-items: flex-start; gap: 11px; font-weight: 600; font-size: .96rem; line-height: 1.45; }
.checklist .icon { width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; background: rgba(56, 167, 162, .16); color: var(--teal-700); stroke-width: 2.6; }
.b-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 24px; border-top: 1px dashed #b7d8d5; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .86rem; color: var(--navy-700); }
.badge .icon { width: 18px; height: 18px; color: var(--teal-600); }
.b-sim, .b-rep { grid-column: span 2; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; text-decoration: none; color: var(--navy-700); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }
.b-human { grid-column: span 6; display: flex; align-items: center; gap: 22px; background: var(--navy-900); border-color: var(--navy-900); }
.b-human .ico { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: var(--teal-300); }
.b-human h3 { margin: 0 0 6px; color: #fff; }
.b-human p { color: #b9cde0; max-width: 70ch; }
.b-human:hover { border-color: var(--teal-500); }

/* ───────── Chamada do simulador ───────── */
.teaser-wrap { padding-top: 0; }
.section-tint + .teaser-wrap { padding-top: clamp(64px, 9vw, 116px); }
.teaser { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 60px); align-items: center; padding: clamp(28px, 5vw, 60px); border-radius: 34px; color: #fff; overflow: hidden;
  background: radial-gradient(60% 90% at 100% 0%, rgba(92, 214, 190, .38), transparent 62%), linear-gradient(135deg, var(--navy-900), var(--navy-700)); box-shadow: var(--shadow-3); }
.teaser h2 { color: #fff; margin: 12px 0 16px; }
.teaser p { color: #cfe3f1; margin-bottom: 28px; max-width: 52ch; }
.teaser .eyebrow { color: var(--teal-300); }
.teaser-viz { display: grid; gap: 16px; padding: 24px; border-radius: 22px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15); }
.viz-row { display: grid; gap: 8px; font-weight: 700; font-size: .9rem; color: #d6e6f3; }
.viz-bar { display: block; height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .26); }
.viz-row.best { color: #fff; }
.viz-row.best .viz-bar { background: linear-gradient(90deg, var(--teal-500), var(--teal-300)); }
.viz-bar.w1 { width: 54%; } .viz-bar.w2 { width: 86%; } .viz-bar.w3 { width: 100%; }
.viz-note { margin: 4px 0 0; font-size: .74rem; color: #9fb8cf; }

/* ───────── Sobre ───────── */
.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-card { display: grid; justify-items: center; padding: 36px 30px 30px; border-radius: 32px; background: linear-gradient(160deg, #fff, #eaf1f7); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.about-card img { width: min(320px, 82%); height: auto; }
.crc-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 17px; border-radius: 999px; background: var(--navy-900); color: #fff; font-size: .85rem; text-decoration: none; transition: background-color .2s ease, transform .2s ease; }
.crc-badge:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); }
.crc-badge .icon { width: 18px; height: 18px; color: var(--teal-300); }
.about-copy h2 { margin: 12px 0 20px; }
.about-copy p { color: var(--muted); margin-bottom: 16px; max-width: 62ch; }
.about-copy .checklist { margin-top: 22px; }

/* ───────── FAQ ───────── */
.faq-wrap { max-width: 860px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 4px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.07rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--navy-700); }
.faq .chev { color: var(--teal-700); transition: transform .25s ease; }
.faq details[open] .chev { transform: rotate(180deg); }
.faq details p { padding: 0 4px 24px; color: var(--muted); max-width: 70ch; }

/* ───────── Contato ───────── */
.contact { background: linear-gradient(180deg, var(--bg), #e6eff6); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-copy h2 { margin: 12px 0 16px; }
.contact-copy > p { color: var(--muted); font-size: 1.1rem; max-width: 46ch; }
.contact-list { display: grid; gap: 16px; margin-top: 30px; font-weight: 600; }
.contact-list li { display: flex; align-items: center; gap: 13px; }
.contact-list .icon { width: 22px; height: 22px; color: var(--teal-700); }
.contact-list a { color: var(--ink); text-decoration-color: var(--teal-400); }
.form-card { padding: clamp(24px, 3.6vw, 38px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-3); }
.contact-form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-weight: 700; font-size: .88rem; }
.req { color: var(--danger); }
.opt { font-weight: 500; color: var(--muted); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="number"], .field select, .field textarea {
  width: 100%; padding: 13px 15px; font: 500 1rem/1.4 var(--font); color: var(--ink); background: #fff;
  border: 1.5px solid #cfdbe6; border-radius: 13px; transition: border-color .15s ease, box-shadow .15s ease; }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #8b9cad; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #a9bccd; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(56, 167, 162, .2); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(176, 58, 46, .12); }
.field-error { min-height: 0; font-size: .84rem; font-weight: 600; color: var(--danger); }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: .9rem; font-weight: 500; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy-700); cursor: pointer; }
.form-status { min-height: 0; font-size: .92rem; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { padding: 12px 14px; border-radius: 12px; background: rgba(176, 58, 46, .08); color: var(--danger); border: 1px solid rgba(176, 58, 46, .25); }
.form-status.is-info { color: var(--muted); }
.form-status .form-status-link { display: inline-block; margin-top: 8px; color: var(--danger); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.form-status .form-status-link:hover { text-decoration-thickness: 2px; }
.form-success { display: grid; justify-items: center; gap: 10px; padding: 24px 8px; text-align: center; }
.form-success .ico { background: rgba(56, 167, 162, .14); border-color: rgba(56, 167, 162, .3); color: var(--teal-700); }
.form-success p { color: var(--muted); margin-bottom: 8px; }

/* ───────── Rodapé ───────── */
.site-footer { background: var(--navy-950); color: #a9bdd0; padding: 68px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .9fr; gap: 44px; }
.brand-light { color: #fff; }
.brand-light .brand-name span { color: var(--teal-300); }
.footer-brand p { margin-top: 16px; max-width: 40ch; font-size: .95rem; }
.footer-col h4 { margin: 0 0 14px; color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-col h4.mt { margin-top: 26px; }
.footer-col a { display: block; padding: 5px 0; color: #a9bdd0; text-decoration: none; font-size: .95rem; }
.footer-col a:hover, .footer-bottom a:hover { color: var(--teal-300); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer-bottom a { color: #c6d6e4; }
.social { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .16); color: #c6d6e4; }
.social:hover { border-color: var(--teal-400); color: var(--teal-300); }
.social .icon { width: 20px; height: 20px; }

/* ───────── Páginas internas (privacidade, 404) ───────── */
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(20px, 3vw, 36px); background: linear-gradient(180deg, #eef4f9, var(--bg)); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 3vw + .8rem, 3.1rem); margin: 10px 0 12px; }
.page-hero p { color: var(--muted); max-width: 62ch; }
.prose { max-width: 780px; padding-block: clamp(36px, 5vw, 64px) clamp(56px, 8vw, 100px); }
.prose h2 { font-size: 1.5rem; margin: 38px 0 12px; }
.prose p, .prose li { color: #33475c; }
.prose p { margin-bottom: 14px; }
.prose ul { display: grid; gap: 8px; margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.prose .updated { margin-top: 36px; font-size: .9rem; color: var(--muted); }
.lost { display: grid; place-items: center; text-align: center; gap: 18px; min-height: 60vh; padding: 60px 0; }
.lost img { width: 132px; height: auto; margin-inline: auto; }
.lost p { color: var(--muted); max-width: 46ch; margin-inline: auto; }
.lost .hero-actions { justify-content: center; margin: 8px 0 0; }

/* ───────── Animações ───────── */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }

/* Entrada por rolagem: só esconde quando há JavaScript; se o script falhar, aparece sozinho após 2,2 s. */
@media (scripting: enabled) {
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
  .reveal:not(.is-visible) { animation: reveal-fallback .01s 2.2s forwards; }
  .js-ready .reveal:not(.is-visible) { animation: none; }
  .reveal.is-visible { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
  .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ───────── Responsivo ───────── */
@media (min-width: 1025px) {
  .hero-visual .mock { transform: perspective(1500px) rotateY(-5deg) rotateX(2deg); transition: transform .5s ease; }
  .hero-visual:hover .mock { transform: perspective(1500px) rotateY(-1deg) rotateX(0deg); }
}
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Com 7 itens o menu da barra só cabe a partir de ~1100px; abaixo disso entra o menu do botão (site.js usa o mesmo valor). */
@media (max-width: 1100px) {
  .nav-desktop { display: none !important; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 960px) {
  .hero-grid, .about-grid, .contact-grid, .teaser { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 560px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-main { grid-column: span 6; grid-row: auto; }
  .b-sim, .b-rep { grid-column: span 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .about-card { max-width: 440px; }
}
@media (max-width: 720px) {
  .container { width: min(1160px, 100% - 32px); }
  .grid-3, .steps { grid-template-columns: minmax(0, 1fr); }
  .b-main .checklist { grid-template-columns: minmax(0, 1fr); }
  .b-sim, .b-rep { grid-column: span 6; }
  .b-human { flex-direction: column; align-items: flex-start; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn { width: 100%; }
  .header-cta .btn-primary { display: none; }
  .mock { padding: 16px 16px 14px; }
  .mock-dots { display: none; }
  .mock-title { white-space: nowrap; }
  .mock-stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .stat { padding: 10px 9px; }
  .stat-label { font-size: .62rem; }
  .stat-value { font-size: .88rem; white-space: nowrap; }
  .chip-a { right: 0; } .chip-b { left: 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ───────── Contratação, credencial profissional e WhatsApp ───────── */
.btn-wa { background: #25d366; color: #062c1b; box-shadow: 0 8px 20px -8px rgba(37, 211, 102, .7); }
.btn-wa:hover { background: #1fbe5a; color: #062c1b; transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(37, 211, 102, .8); }
.btn-wa .icon { width: 1.35em; height: 1.35em; }
.hero-actions .btn-ghost .icon { color: #128c4a; width: 1.3em; height: 1.3em; }
.hero-alt { margin: -14px 0 28px; font-size: .95rem; color: var(--muted); }
.hero-alt a { font-weight: 700; }

.hire .card { padding: 28px 28px 30px; }
.hire .card h3 { margin: 18px 0 8px; }
.hire-n { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy-700); color: #fff; font-weight: 800; font-size: 1.15rem; box-shadow: 0 10px 20px -8px rgba(25, 68, 109, .75); }
.hire-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.cred { display: grid; justify-items: center; gap: 4px; margin-top: 22px; text-align: center; }
.cred-label { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700); }
.cred-name { font-size: 1.6rem; letter-spacing: -.03em; line-height: 1.15; }
.cred-reg { font-weight: 600; font-size: .95rem; color: var(--muted); }
.cred-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 5px 13px; border-radius: 999px; background: rgba(23, 114, 76, .1); color: var(--ok); font-weight: 700; font-size: .82rem; }
.cred-status i { width: 8px; height: 8px; border-radius: 50%; background: #1fa66a; box-shadow: 0 0 0 4px rgba(31, 166, 106, .2); }
.cred-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 700; font-size: .88rem; }
.cred-link .icon { width: 16px; height: 16px; }

.form-title { font-size: 1.4rem; }
.form-sub { margin: 4px 0 22px; color: var(--muted); font-size: .95rem; }
.contact-list .li-note { font-weight: 500; font-size: .9rem; color: var(--muted); }
.footer-contact { font-size: .9rem; }
.footer-contact a { color: #c6d6e4; }
.footer-contact a:hover { color: var(--teal-300); }
.site-footer { padding-bottom: 92px; }   /* espaço para o botão fixo do WhatsApp não cobrir o rodapé */

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px 13px 16px; border-radius: 999px; background: #25d366; color: #062c1b; font-weight: 800; font-size: .95rem; text-decoration: none; box-shadow: 0 16px 32px -10px rgba(6, 44, 27, .55); transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.wa-float:hover { background: #1fbe5a; color: #062c1b; transform: translateY(-3px); box-shadow: 0 22px 38px -12px rgba(6, 44, 27, .6); }
.wa-float .icon { width: 26px; height: 26px; }

@media (max-width: 960px) {
  .hire { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .wa-float { right: 16px; bottom: 16px; padding: 15px; }
  .wa-float span { display: none; }
  .wa-float .icon { width: 28px; height: 28px; }
  .hero-alt { margin-top: -10px; }
  .hire-cta .btn { width: 100%; }
}
.nowrap { white-space: nowrap; }
.integ-note { margin-top: 26px; padding: 16px 20px; border-radius: 16px; background: rgba(56, 167, 162, .09); border: 1px dashed rgba(56, 167, 162, .5); color: #185a57; font-weight: 600; }
