/* Flem Contabilidade · LP Contabilidade para e-commerce (v1, 03/11/2026) */

@font-face {
  font-family: 'Jakarta';
  src: url('../fonts/jakarta-var.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-var.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --azul: #0088CC;          /* azul do logo */
  --azul-600: #0072AE;      /* azul para textos pequenos */
  --azul-700: #005A8C;
  --azul-claro: #EAF5FC;
  --ceu: #D4EBFA;
  --marinho: #1E3560;
  --marinho-800: #172B4F;
  --marinho-900: #0E1F3D;
  --marinho-950: #0A1730;
  --laranja: #EB7418;       /* cor de apoio: caixa de papelão */
  --laranja-claro: #F6A44C;
  --laranja-texto: #B4520C;
  --kraft: #DB9450;
  --texto: #1B2B44;
  --suave: #52627A;
  --linha: #DCE7F2;
  --fundo: #F4F8FC;
  --branco: #FFFFFF;
  --wa: #1FAF55;
  --erro: #B42318;

  --grad-laranja: linear-gradient(120deg, #C9560A 0%, #E2690F 55%, #EE7E22 100%);
  --grad-azul: linear-gradient(135deg, #00A0E6 0%, #0088CC 45%, #0068A8 100%);

  --titulo: 'Jakarta', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --corpo: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --raio: 26px;
  --raio-m: 20px;
  --raio-p: 14px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--corpo); font-size: 16px; line-height: 1.6; color: var(--texto);
  background: var(--fundo); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
main, .rodape { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titulo); margin: 0; color: var(--marinho); }
h1 em, h2 em { font-style: normal; color: var(--azul-600); }
.nw { white-space: nowrap; }
.pt { margin-left: -.07em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: none; }
.pular { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--marinho); color: #fff; padding: 10px 16px; border-radius: 10px; }
.pular:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--laranja-claro); outline-offset: 3px; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.secao { padding: clamp(64px, 8vw, 108px) 0; position: relative; }

.etiqueta {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--titulo); font-weight: 700;
  font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--azul-600); margin-bottom: 14px;
}
.etiqueta-clara { color: #8FD3F7; }
.ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--laranja); box-shadow: 0 0 0 0 rgba(235, 116, 24, .5); animation: pulso 2.4s ease-out infinite; }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 rgba(235, 116, 24, .5); } 70%, 100% { box-shadow: 0 0 0 8px rgba(235, 116, 24, 0); } }

h2 { font-size: clamp(29px, 4.3vw, 44px); font-weight: 800; line-height: 1.1; letter-spacing: -0.035em; }
.cabeca-centro { text-align: center; max-width: 780px; margin: 0 auto clamp(36px, 5vw, 56px); display: flex; flex-direction: column; align-items: center; }
.apoio { font-size: 17px; color: var(--suave); margin-top: 16px; max-width: 40em; }
.apoio-p { font-size: 15px; }
.acao-centro { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 44px); }

/* ---------- Vidro (liquid glass leve) ---------- */
.card-vidro, .card-vidro-forte {
  position: relative; isolation: isolate;
  background: linear-gradient(155deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .80));
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--raio-m);
  box-shadow: 0 18px 44px -28px rgba(14, 31, 61, .38), 0 2px 6px -2px rgba(14, 31, 61, .06), inset 0 1px 0 #fff, inset 0 0 0 1px rgba(0, 136, 204, .07);
}
.card-vidro::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 70% at 0% 0%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 55%);
}
@supports ((backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px))) {
  @media (min-width: 760px) {
    .card-vidro { background: linear-gradient(155deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .52)); backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5); }
  }
  .card-vidro-forte { background: rgba(255, 255, 255, .86); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); }
}
/* brilho que passa no cartão ao passar o mouse */
@media (hover: hover) {
  .serv-card, .pilar, .passos li, .fase, .tec-card { overflow: hidden; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
  .serv-card::after, .pilar::after, .passos li::after, .fase::after, .tec-card::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: 1; pointer-events: none;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .7), transparent); transform: skewX(-18deg) translateX(0); opacity: 0;
  }
  .serv-card:hover, .pilar:hover, .passos li:hover, .fase:hover, .tec-card:hover { transform: translateY(-5px); border-color: rgba(0, 136, 204, .35); box-shadow: 0 28px 54px -30px rgba(0, 72, 130, .5), inset 0 1px 0 #fff; }
  .serv-card:hover::after, .pilar:hover::after, .passos li:hover::after, .fase:hover::after, .tec-card:hover::after { opacity: 1; transform: skewX(-18deg) translateX(420%); transition: transform .9s ease, opacity .2s ease; }
}

/* fundos com manchas suaves (dão cor ao vidro) */
.fundo-bolhas { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bolha { position: absolute; border-radius: 50%; }
.hero .b1 { width: 620px; height: 620px; left: -220px; top: -160px; background: radial-gradient(circle, rgba(0, 136, 204, .20), rgba(0, 136, 204, 0) 68%); }
.hero .b2 { width: 560px; height: 560px; right: -180px; top: 60px; background: radial-gradient(circle, rgba(0, 160, 230, .22), rgba(0, 160, 230, 0) 68%); }
.hero .b3 { width: 420px; height: 420px; right: 18%; bottom: -220px; background: radial-gradient(circle, rgba(246, 164, 76, .22), rgba(246, 164, 76, 0) 68%); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--titulo); font-weight: 700; font-size: 16px; text-decoration: none; line-height: 1.2;
  text-align: center; position: relative; isolation: isolate; overflow: hidden;
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 60%; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, .45) 50%, transparent 80%);
  transform: translateX(-130%) skewX(-18deg);
}
.btn:hover::after, .btn:focus-visible::after { transform: translateX(260%) skewX(-18deg); transition: transform .8s ease; }
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  .btn-laranja::after { animation: reluz 5s ease-in-out 1.5s infinite; }
}
@keyframes reluz { 0% { transform: translateX(-130%) skewX(-18deg); } 22%, 100% { transform: translateX(260%) skewX(-18deg); } }

.btn-laranja { background: var(--grad-laranja); color: #fff; box-shadow: 0 14px 30px -14px rgba(201, 86, 10, .85), inset 0 1px 0 rgba(255, 255, 255, .3); text-shadow: 0 1px 1px rgba(120, 45, 0, .25); }
.btn-laranja:hover { box-shadow: 0 20px 38px -14px rgba(201, 86, 10, .95), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-marinho { background: var(--marinho); color: #fff; box-shadow: 0 14px 30px -16px rgba(14, 31, 61, .8); }
.btn-marinho:hover { background: var(--marinho-800); }
.btn-vidro { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn-vidro:hover { background: rgba(255, 255, 255, .18); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #18984A; }
.btn-largo { width: 100%; }
.btn-seta { padding-right: 6px; }
.btn-seta .seta { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .22); color: #fff; margin-left: 4px; flex: none; transition: transform .25s ease; }
.btn-marinho.btn-seta .seta { background: var(--laranja); }
.btn-seta:hover .seta { transform: rotate(-45deg); }

/* ---------- Topo ---------- */
.topo { position: fixed; top: 10px; left: 0; right: 0; z-index: 50; }
.topo-in {
  width: min(1180px, 100% - 20px); margin-inline: auto; height: 62px; padding: 0 10px 0 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: 18px;
  background: linear-gradient(100deg, rgba(14, 31, 61, .9), rgba(18, 62, 112, .86));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 16px 40px -22px rgba(10, 23, 48, .7), inset 0 1px 0 rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  transition: background .3s ease;
}
.topo.is-solido .topo-in { background: linear-gradient(100deg, rgba(14, 31, 61, .97), rgba(18, 62, 112, .95)); }
.marca img { height: 36px; width: auto; }
.topo-nav { display: none; }
.btn-wa-topo { min-height: 44px; padding: 0 16px; font-size: 14.5px; gap: 8px; background: var(--wa); color: #fff; }
.btn-wa-topo:hover { background: #18984A; }
@media (min-width: 980px) {
  .topo-nav { display: flex; gap: 30px; }
  .topo-nav a { color: rgba(255, 255, 255, .86); text-decoration: none; font-weight: 500; font-size: 15px; position: relative; padding: 6px 0; }
  .topo-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--laranja-claro); transform: scaleX(0); transition: transform .25s ease; }
  .topo-nav a:hover { color: #fff; }
  .topo-nav a:hover::after { transform: scaleX(1); }
  .btn-wa-topo { padding: 0 20px; }
}

/* ---------- Dobra 1 · Hero ---------- */
.hero { position: relative; padding: 100px 0 44px; background: linear-gradient(180deg, #EAF4FC 0%, #F4F8FC 70%); }
.hero-in { position: relative; z-index: 1; display: grid; gap: 24px; grid-template-areas: "texto" "form" "socios" "selos"; }
.hero-texto { grid-area: texto; }
.hero-form { grid-area: form; }
.hero-socios { grid-area: socios; }
.hero-selos { grid-area: selos; }
.hero h1 { font-size: clamp(32px, 4.9vw, 52px); font-weight: 800; line-height: 1.08; letter-spacing: -0.035em; }
.hero-sub { font-size: 16.5px; color: var(--suave); margin-top: 16px; max-width: 34em; }
.hero-socios { display: flex; align-items: center; gap: 14px; }
.avatares { display: flex; flex: none; }
.avatares img { width: 46px; height: 46px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 6px 14px -6px rgba(14, 31, 61, .45); object-fit: cover; }
.avatares img + img { margin-left: -12px; }
.hero-socios p { font-size: 14.5px; color: var(--suave); line-height: 1.45; }
.hero-socios strong { color: var(--marinho); display: block; }
.hero-selos { display: grid; gap: 10px 22px; }
.hero-selos li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; color: var(--azul-700); }
.hero-selos .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #fff; color: var(--azul); box-shadow: 0 0 0 1px rgba(0, 136, 204, .25); }
@media (min-width: 440px) { .hero-selos { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) {
  .hero { padding: 132px 0 64px; }
  .hero-in { grid-template-columns: 1.12fr .88fr; grid-template-areas: "texto form" "socios form" "selos form"; gap: 26px 56px; align-items: start; }
  .hero-texto { padding-top: 18px; }
  .hero-sub { font-size: 18px; }
  .hero-selos { margin-top: 6px; }
}

/* ---------- Esteira animada ---------- */
.esteira { background: radial-gradient(60% 120% at 85% 100%, rgba(0, 136, 204, .35), transparent 70%), linear-gradient(180deg, var(--marinho-900), var(--marinho-950)); color: #fff; padding-top: 30px; overflow: hidden; }
.esteira-cabeca p { font-family: var(--titulo); font-size: clamp(17px, 2.2vw, 21px); line-height: 1.4; font-weight: 500; color: rgba(255, 255, 255, .85); max-width: 640px; }
.esteira-cabeca strong { color: #fff; font-weight: 700; }
.esteira-palco { --cw: 104px; --ch: 66px; --gap: 18px; --tela: 132px; position: relative; height: 136px; margin-top: 6px; }
.esteira-pista { /* as caixas somem ao entrar na tela do computador */
  position: absolute; left: 0; top: 0; bottom: 0; right: calc(max(12px, (100% - 1160px) / 2) + var(--tela) * .45); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 70px); mask-image: linear-gradient(90deg, transparent 0, #000 70px);
}
.esteira-trilho { position: absolute; left: 0; bottom: 30px; display: flex; width: max-content; align-items: flex-end; animation: esteira 34s linear infinite; will-change: transform; }
.caixas { display: flex; align-items: flex-end; gap: var(--gap); padding-right: var(--gap); }
.caixa {
  position: relative; width: var(--cw); height: var(--ch); border-radius: 7px; flex: none;
  background: linear-gradient(180deg, #E8A868, #D3883F); box-shadow: inset 0 -5px 0 rgba(90, 40, 0, .14), 0 8px 14px -8px rgba(0, 0, 0, .6);
}
.caixa::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 34%; transform: translateX(-50%); background: rgba(255, 236, 205, .55); }
.caixa::after { content: ""; position: absolute; left: 0; right: 0; top: 34%; height: 2px; background: rgba(90, 40, 0, .16); }
.caixa span { position: absolute; left: 8px; right: 8px; bottom: 9px; background: #fff; color: var(--marinho); border-radius: 4px; padding: 3px 4px; font-family: var(--titulo); font-weight: 700; font-size: 10.5px; line-height: 1.2; text-align: center; white-space: nowrap; overflow: hidden; }
.caixa.c2 { height: calc(var(--ch) * .86); background: linear-gradient(180deg, #F0B97E, #DD9550); }
.caixa.c3 { width: calc(var(--cw) * .88); height: calc(var(--ch) * 1.12); background: linear-gradient(180deg, #E09A55, #C97A34); }
.esteira-faixa { position: absolute; left: 0; right: calc(max(12px, (100% - 1160px) / 2) + var(--tela) * .3); bottom: 12px; height: 18px; background: #24354F; border-top: 2px solid #3A4E6E; overflow: hidden; }
.esteira-faixa span { position: absolute; top: 0; bottom: 0; left: -40px; right: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .14) 0 4px, transparent 4px 40px); animation: faixa 1.2s linear infinite; }
.tela { position: absolute; z-index: 2; right: max(12px, (100% - 1160px) / 2); bottom: 4px; width: var(--tela); filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45)); }
.tela svg { display: block; width: 100%; height: auto; }
.tela-badge { transform-box: fill-box; transform-origin: center; animation: pop 2.6s ease-in-out infinite; }
.tela-botao { animation: pisca 2.6s ease-in-out infinite; }
@keyframes esteira { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes faixa { from { transform: translateX(0); } to { transform: translateX(40px); } }
@keyframes pop { 0%, 55%, 100% { transform: scale(1); } 65% { transform: scale(1.45); } 75% { transform: scale(.95); } }
@keyframes pisca { 0%, 55%, 100% { opacity: 1; } 62% { opacity: .55; } }
@media (min-width: 760px) {
  .esteira { padding-top: 40px; }
  .esteira-palco { --cw: 132px; --ch: 84px; --gap: 24px; --tela: 200px; height: 186px; margin-top: 0; }
  .caixa span { font-size: 12px; bottom: 11px; left: 10px; right: 10px; }
  .esteira-faixa { height: 22px; bottom: 14px; }
  .esteira-trilho { bottom: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .esteira-trilho, .esteira-faixa span, .tela-badge, .tela-botao, .ponto { animation: none; }
}

/* ---------- Dobra 2 · Serviços ---------- */
.servicos { background: radial-gradient(40% 40% at 8% 18%, rgba(0, 136, 204, .12), transparent 70%), radial-gradient(36% 40% at 94% 78%, rgba(246, 164, 76, .14), transparent 70%), var(--fundo); }
.serv-grade { display: grid; gap: 16px; }
.serv-card { padding: 20px; display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; align-items: center; }
.serv-card p { grid-column: 1 / -1; }
.serv-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--grad-azul); box-shadow: 0 12px 22px -12px rgba(0, 104, 168, .9), inset 0 1px 0 rgba(255, 255, 255, .35); }
.serv-ic svg { width: 24px; height: 24px; }
.serv-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.serv-card p { color: var(--suave); font-size: 15px; margin-top: 12px; }
@media (min-width: 640px) { .serv-grade { grid-template-columns: 1fr 1fr; gap: 18px; } .serv-card { display: block; padding: 26px 24px; } .serv-ic { width: 50px; height: 50px; border-radius: 15px; margin-bottom: 18px; } .serv-card p { margin-top: 8px; font-size: 15.5px; } }
@media (min-width: 980px) { .serv-grade { grid-template-columns: repeat(3, 1fr); gap: 22px; } .serv-card { padding: 30px 28px; } }

/* ---------- Dobra 3 · Crescimento ---------- */
.crescimento { background: linear-gradient(180deg, #fff 0%, #F1F7FC 100%); }
.fases { display: grid; gap: 16px; position: relative; counter-reset: fase; }
.fase { padding: 24px; display: flex; flex-direction: column; }
.fase-ilu { height: 50px; display: flex; flex-wrap: wrap-reverse; align-content: flex-start; gap: 4px; width: 80px; margin-bottom: 14px; }
.fase-ilu .cx { width: 24px; height: 24px; border-radius: 4px; background: linear-gradient(180deg, #E8A868, #D3883F); box-shadow: inset 0 -3px 0 rgba(90, 40, 0, .14); position: relative; }
.fase-ilu .cx::before { content: ""; position: absolute; left: 50%; top: 0; width: 5px; height: 9px; transform: translateX(-50%); background: rgba(255, 236, 205, .6); }
.fase-ilu-g .cx { width: 22px; height: 22px; }
.fase-n { align-self: flex-start; font-family: var(--titulo); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--laranja-texto); background: #FFF1E3; border: 1px solid #FBD9B8; padding: 4px 11px; border-radius: 999px; }
.fase h3 { font-size: 19.5px; font-weight: 700; margin-top: 12px; letter-spacing: -0.01em; }
.fase p { color: var(--suave); font-size: 15.5px; margin-top: 8px; }
.honorario {
  margin-top: 22px; padding: 26px 24px; border-radius: var(--raio); color: #fff; display: grid; gap: 18px; position: relative; overflow: hidden;
  background: radial-gradient(70% 140% at 100% 0%, rgba(0, 160, 230, .45), transparent 60%), linear-gradient(120deg, var(--marinho-900), var(--marinho));
  box-shadow: 0 30px 60px -34px rgba(10, 23, 48, .8), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.honorario-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); color: var(--laranja-claro); }
.honorario-ic svg { width: 26px; height: 26px; }
.honorario h3 { color: #fff; font-size: 21px; font-weight: 700; }
.honorario p { color: rgba(255, 255, 255, .82); margin-top: 6px; }
@media (min-width: 880px) {
  .fases { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .fases::before { content: ""; position: absolute; left: 12%; right: 12%; top: 54px; height: 2px; background: repeating-linear-gradient(90deg, rgba(0, 136, 204, .45) 0 8px, transparent 8px 16px); z-index: 0; transform-origin: left; }
  .js .fases[data-linha]::before { transform: scaleX(0); transition: transform 1.4s ease .2s; }
  .js .fases[data-linha].is-cheio::before { transform: scaleX(1); }
  .fase { padding: 28px; }
  .honorario { grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 30px 34px; }
}

/* ---------- Dobra 4 · Pilares ---------- */
.conectada { background: radial-gradient(38% 44% at 90% 10%, rgba(0, 136, 204, .12), transparent 70%), radial-gradient(30% 40% at 6% 90%, rgba(0, 160, 230, .10), transparent 70%), var(--fundo); }
.pilares { display: grid; gap: 16px; }
.pilar { padding: 26px 24px; }
.pilar-n { font-family: var(--titulo); font-weight: 800; color: var(--azul); font-size: 15px; }
.pilar h3 { font-size: 18.5px; font-weight: 700; margin-top: 10px; line-height: 1.3; }
.pilar p { color: var(--suave); font-size: 15px; margin-top: 10px; }
.pilar strong { color: var(--texto); font-weight: 600; }
@media (min-width: 640px) { .pilares { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .pilares { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* ---------- Dobra 5 · Tecnologia ---------- */
.tecnologia { background: #fff; }
.tec-in { display: grid; gap: 34px; }
.tec-cards { display: grid; gap: 16px; position: relative; }
.tec-cards::before { content: ""; position: absolute; inset: 10% -4% auto auto; width: 60%; height: 80%; border-radius: 50%; background: radial-gradient(circle, rgba(0, 136, 204, .16), transparent 70%); z-index: -1; }
.tec-card { padding: 24px; }
.tec-topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.tec-card h3 { font-size: 18.5px; font-weight: 700; }
.tec-card p { color: var(--suave); font-size: 15px; margin-top: 10px; }
.pilula { display: inline-block; font-family: var(--titulo); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--azul-700); background: var(--azul-claro); border: 1px solid #BFE1F5; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.pilula-laranja { color: var(--laranja-texto); background: #FFF1E3; border-color: #FBD9B8; }
.pilula-grande { margin-top: 22px; font-size: 13px; padding: 7px 14px; }
.chips-tec { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips-tec li { font-size: 13.5px; font-weight: 600; color: var(--azul-700); background: #fff; border: 1px solid #C7E3F5; padding: 5px 12px; border-radius: 999px; }
.tec-card-destaque { border-color: rgba(235, 116, 24, .25); }
@media (min-width: 980px) { .tec-in { grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; } .tec-card { padding: 28px; } }

/* ---------- Dobra 6 · Sócios ---------- */
.socios { background: radial-gradient(40% 50% at 100% 30%, rgba(0, 136, 204, .14), transparent 70%), var(--fundo); }
.socios-in { display: grid; gap: 36px; }
.socios-texto .btn { margin-top: 26px; }
.socios-texto .apoio-p { margin-top: 14px; }
.socios-foto { margin: 0; position: relative; border-radius: var(--raio); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(14, 31, 61, .55); max-width: 520px; width: 100%; justify-self: center; background: var(--ceu); }
.socios-foto img { width: 100%; aspect-ratio: 720 / 829; object-fit: cover; }
.socios-foto figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 12px 16px; border-radius: 16px; }
.socios-foto figcaption strong { display: block; font-family: var(--titulo); color: var(--marinho); font-size: 15px; line-height: 1.3; }
.socios-foto figcaption span { font-size: 13px; color: var(--suave); }
@media (min-width: 980px) { .socios-in { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }

/* ---------- Dobra 7 · Trocar de contador ---------- */
.troca { background: #fff; }
.passos { display: grid; gap: 16px; }
.passos li { padding: 24px; }
.passo-n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-family: var(--titulo); font-weight: 800; font-size: 15px; color: #fff; background: var(--grad-azul); box-shadow: 0 10px 20px -10px rgba(0, 104, 168, .9); }
.passos h3 { font-size: 18px; font-weight: 700; margin-top: 16px; }
.passos p { color: var(--suave); font-size: 15px; margin-top: 8px; }
@media (min-width: 640px) { .passos { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .passos { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* ---------- Dobra 8 · Contato ---------- */
.contato { position: relative; padding: clamp(64px, 8vw, 108px) 0; color: #fff; background: linear-gradient(160deg, var(--marinho-900), var(--marinho-950)); overflow: hidden; }
.fundo-escuro .b1 { width: 640px; height: 640px; left: -240px; bottom: -280px; background: radial-gradient(circle, rgba(0, 136, 204, .45), transparent 68%); }
.fundo-escuro .b2 { width: 520px; height: 520px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(235, 116, 24, .28), transparent 68%); }
.contato-in { position: relative; z-index: 1; display: grid; gap: 36px; }
.contato h2 { color: #fff; }
.contato .apoio { color: rgba(255, 255, 255, .78); }
.garantias { display: grid; gap: 16px; margin-top: 26px; }
.garantias li { display: flex; gap: 14px; align-items: flex-start; }
.gar-ic { width: 42px; height: 42px; border-radius: 13px; flex: none; display: grid; place-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #8FD3F7; }
.gar-ic svg { width: 20px; height: 20px; }
.garantias strong { display: block; font-family: var(--titulo); font-size: 16px; }
.garantias span { color: rgba(255, 255, 255, .72); font-size: 14.5px; }
.contato-links { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.contato-links a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 500; word-break: break-word; }
.contato-links a:hover { color: #8FD3F7; }
.contato-links .ic { color: #8FD3F7; }
@media (min-width: 980px) { .contato-in { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }

/* ---------- Formulário ---------- */
#formulario, #formulario-final, #contato { scroll-margin-top: 84px; }
.form-card { border-radius: var(--raio); padding: 22px 20px; color: var(--texto); box-shadow: 0 34px 80px -34px rgba(14, 31, 61, .5), inset 0 1px 0 #fff; }
.contato .form-card { background: #fff; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7), inset 0 1px 0 #fff; }
.form-titulo { font-family: var(--titulo); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--marinho); line-height: 1.25; }
.form-apoio { color: var(--suave); font-size: 14.5px; margin-top: 4px; }
.form-progresso { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 16px; }
.form-progresso span { height: 5px; border-radius: 5px; background: #E3ECF5; transition: background-color .3s ease; }
.form-progresso span.is-on { background: var(--grad-azul); }
.form-body { margin-top: 18px; }
.etapa { border: 0; padding: 0; margin: 0; min-width: 0; }
.etapa + .etapa { margin-top: 22px; }
.is-etapas .etapa { display: none; margin-top: 0; }
.is-etapas .etapa.is-atual { display: block; animation: entra .35s ease; }
@keyframes entra { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
legend { font-family: var(--titulo); font-weight: 700; font-size: 18px; color: var(--marinho); margin-bottom: 12px; padding: 0; }
.etapa-num { color: var(--azul-600); font-size: 13.5px; font-weight: 600; }
.opcoes { display: grid; gap: 8px; }
.opcao { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1.5px solid var(--linha); border-radius: 15px; background: rgba(255, 255, 255, .85); cursor: pointer; transition: border-color .2s ease, background-color .2s ease, transform .2s ease; position: relative; }
.opcao:hover { border-color: var(--azul); transform: translateX(3px); }
.opcao input { position: absolute; opacity: 0; pointer-events: none; }
.opcao-ic { width: 38px; height: 38px; border-radius: 11px; background: var(--azul-claro); color: var(--azul-600); display: grid; place-items: center; flex: none; transition: background-color .2s ease, color .2s ease; }
.opcao-ic svg { width: 19px; height: 19px; }
.opcao-txt { font-weight: 500; font-size: 15.5px; line-height: 1.35; }
.opcao:has(input:checked) { border-color: var(--azul); background: #F1F8FD; }
.opcao:has(input:checked) .opcao-ic { background: var(--azul); color: #fff; }
.opcao:has(input:focus-visible) { outline: 3px solid var(--laranja-claro); outline-offset: 2px; }
.field { margin-top: 13px; }
.field:first-of-type { margin-top: 0; }
.field-grupo + .field-grupo { margin-top: 18px; }
.rotulo, .field > label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 8px; color: var(--marinho); }
.opcional { font-weight: 400; color: var(--suave); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 8px 13px; border: 1.5px solid var(--linha); border-radius: 999px; background: #fff; font-size: 14.5px; font-weight: 500; transition: all .2s ease; }
.chip:hover span { border-color: var(--azul); }
.chip input:checked + span { background: var(--marinho); border-color: var(--marinho); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--laranja-claro); outline-offset: 2px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"] {
  width: 100%; height: 50px; padding: 0 16px; border: 1.5px solid var(--linha); border-radius: 14px; background: #fff; color: var(--texto); font-size: 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus { outline: 0; border-color: var(--azul); box-shadow: 0 0 0 4px rgba(0, 136, 204, .16); }
.field-check { margin-top: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--suave); cursor: pointer; line-height: 1.45; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--azul); flex: none; }
.check a { color: var(--texto); }
.field-error { color: var(--erro); font-size: 13.5px; margin-top: 6px; }
.is-invalid input[type="text"], .is-invalid input[type="tel"], .is-invalid input[type="email"] { border-color: var(--erro); }
.is-invalid .chip span, .etapa.is-invalid .opcao { border-color: #E9B4AE; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-acoes { display: flex; gap: 8px; margin-top: 20px; align-items: center; }
.form-acoes .btn { flex: 1; padding: 0 18px; }
.btn-voltar { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0 8px; min-height: 52px; color: var(--suave); cursor: pointer; font-weight: 500; }
.btn-voltar:hover { color: var(--texto); }
.form-seguro { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--suave); margin-top: 12px; }
.form-seguro .ic { width: 15px; height: 15px; }
.form-error { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #FEF3F2; color: var(--erro); font-size: 14px; }
.form-success { text-align: center; padding: 10px 0; outline: none; }
.ok-ic { width: 66px; height: 66px; margin: 0 auto; border-radius: 50%; background: var(--grad-azul); color: #fff; display: grid; place-items: center; animation: estoura .6s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes estoura { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.ok-ic svg { width: 30px; height: 30px; }
.ok-titulo { font-family: var(--titulo); font-weight: 800; font-size: 24px; margin-top: 16px; color: var(--marinho); }
.form-success p:not(.ok-titulo) { color: var(--suave); margin: 8px 0 20px; }
.js-so { display: none; }
.js .js-so:not([hidden]) { display: revert; }
.js .form-progresso.js-so { display: grid; }
.js .btn.js-so:not([hidden]) { display: inline-flex; }
.js .btn-voltar.js-so:not([hidden]) { display: inline-flex; }
@media (min-width: 480px) { .form-card { padding: 28px; } .form-titulo { font-size: 24px; } }

/* ---------- Dobra 9 · Dúvidas ---------- */
.duvidas { background: radial-gradient(36% 40% at 0% 50%, rgba(0, 136, 204, .10), transparent 70%), var(--fundo); }
.duv-in { max-width: 860px; }
.duv-lista { display: grid; gap: 10px; }
.duv { padding: 0; border-radius: 18px; }
.duv summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-family: var(--titulo); font-weight: 700; font-size: 16.5px; color: var(--marinho); line-height: 1.35; }
.duv summary::-webkit-details-marker { display: none; }
.duv-ic { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--azul-claro); color: var(--azul-600); transition: transform .3s ease, background-color .3s ease, color .3s ease; }
.duv-ic svg { width: 16px; height: 16px; }
.duv[open] .duv-ic { transform: rotate(45deg); background: var(--azul); color: #fff; }
.duv[open] { border-color: rgba(0, 136, 204, .3); }
.duv-resp { padding: 0 20px 20px; }
.duv-resp p { color: var(--suave); font-size: 15.5px; max-width: 46em; }

/* ---------- Dobra 10 · Localização ---------- */
.local { background: var(--fundo); padding-bottom: clamp(48px, 6vw, 80px); }
.local-card { display: grid; background: linear-gradient(150deg, var(--marinho), var(--marinho-900)); color: #fff; border-radius: var(--raio); overflow: hidden; position: relative; box-shadow: 0 40px 80px -46px rgba(10, 23, 48, .8); }
.local-card::before { content: ""; position: absolute; left: -120px; bottom: -180px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 136, 204, .45), transparent 70%); pointer-events: none; }
.local-info { position: relative; padding: 28px 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.local-info .etiqueta { margin-bottom: -6px; }
.local-info h2 { font-size: clamp(26px, 3.2vw, 36px); color: #fff; }
.local-lista { display: grid; gap: 13px; }
.local-lista li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255, 255, 255, .88); font-size: 15.5px; line-height: 1.45; word-break: break-word; }
.local-lista .ic { color: #8FD3F7; margin-top: 1px; }
.local-lista a { text-decoration: none; }
.local-lista a:hover { color: #8FD3F7; }
.local-mapa { position: relative; min-height: 280px; background: #1B2E52; }
.local-mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.9); }
@media (min-width: 860px) { .local-card { grid-template-columns: .9fr 1.1fr; } .local-info { padding: 44px; } .local-mapa { min-height: 400px; } }

/* ---------- Rodapé ---------- */
.rodape { background: var(--marinho-950); color: rgba(255, 255, 255, .74); padding: 52px 0 24px; font-size: 14.5px; }
.rodape-in { display: grid; gap: 32px; }
.rodape-marca img { height: 48px; width: auto; }
.rodape-marca p { margin-top: 14px; max-width: 30em; }
.rodape-tit { font-family: var(--titulo); font-weight: 700; color: #fff; font-size: 15px; margin-bottom: 12px; }
.rodape-nav, .rodape-contato { display: flex; flex-direction: column; gap: 9px; }
.rodape-nav a, .rodape-contato a { text-decoration: none; }
.rodape-nav a:hover, .rodape-contato a:hover { color: #fff; }
.rodape-contato a, .rodape-contato span { display: inline-flex; align-items: flex-start; gap: 10px; word-break: break-word; }
.rodape-contato .ic { width: 18px; height: 18px; color: #8FD3F7; margin-top: 2px; }
.rodape-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; color: rgba(255, 255, 255, .6); }
.rodape-base a { color: rgba(255, 255, 255, .8); }
@media (min-width: 860px) { .rodape-in { grid-template-columns: 1.4fr .8fr 1.2fr; gap: 48px; } }

/* ---------- Barra fixa no celular ---------- */
.barra-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .9); border-top: 1px solid rgba(14, 31, 61, .08);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform: translateY(110%); transition: transform .35s ease;
}
.barra-cta.is-on { transform: none; }
.barra-cta .btn { min-height: 50px; }
.barra-cta .btn-laranja { flex: 1; }
.barra-wa { width: 54px; padding: 0; flex: none; }
.barra-wa .ic { width: 24px; height: 24px; }
@media (max-width: 759px) { .rodape { padding-bottom: 96px; } }
@media (min-width: 760px) { .barra-cta { display: none; } }

/* ---------- Animações ao rolar ---------- */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }
@media (hover: hover) { .js-reveal [data-reveal].is-in { transition: opacity .7s ease, transform .35s ease, box-shadow .35s ease, border-color .35s ease; } }

/* ---------- Celular: pilares e passos em carrossel (deslizar para o lado) ---------- */
@media (max-width: 639px) {
  .pilares, .passos {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin-inline: -16px; padding: 4px 16px 18px; scroll-padding-inline: 16px; scrollbar-width: none;
  }
  .pilares::-webkit-scrollbar, .passos::-webkit-scrollbar { display: none; }
  .pilares > li, .passos > li { flex: 0 0 82%; scroll-snap-align: start; }
  .deslize { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--suave); margin-top: 2px; }
  .deslize .ic { width: 16px; height: 16px; }
}
@media (min-width: 640px) { .deslize { display: none; } }
