/* Yellen Group — site institucional
   Conceito: a "planta técnica". Página clara, desenho de projeto em traço cinza,
   e o amarelo Yellen marcando apenas o que é sistema instalado. */
@font-face { font-family: "Sora"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/sora-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2"); }
:root {
  --amarelo: #FFC000;
  --amarelo-suave: #FFF3CC;
  --tinta: #1D1D1B;
  --tinta-2: #2C2C28;
  --texto: #3A3A35;
  --muted: #66655D;
  --linha: #E1E0D8;
  --papel: #FFFFFF;
  --papel-2: #F4F4F0;
  --traco: #B9B8AE;
  --ok: #2F7D4F;
  --erro: #B3261E;

  --f-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --f-texto: "Figtree", "Segoe UI", system-ui, sans-serif;

  --s-xs: .8125rem;
  --s-sm: .9375rem;
  --s-md: 1.0625rem;
  --s-lg: 1.3125rem;
  --s-xl: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
  --s-2xl: clamp(1.9rem, 1.2rem + 2.6vw, 2.875rem);
  --s-3xl: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);

  --largura: 1180px;
  --raio: 6px;
  --cab: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--cab) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papel);
  color: var(--texto);
  font-family: var(--f-texto);
  font-size: var(--s-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--tinta); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -.015em; }
h1 { font-size: var(--s-3xl); font-weight: 700; letter-spacing: -.03em; }
h2 { font-size: var(--s-2xl); font-weight: 700; letter-spacing: -.025em; }
h3 { font-size: var(--s-lg); font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.envoltorio {
  max-width: var(--largura);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.secao { padding-block: clamp(64px, 8vw, 112px); }
.secao--cinza { background: var(--papel-2); }
.secao--escura { background: var(--tinta); color: #D9D8D0; }
.secao--escura h2, .secao--escura h3 { color: #fff; }
.cabecalho-secao { display: grid; gap: 14px; max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.cabecalho-secao p { font-size: var(--s-lg); color: var(--muted); line-height: 1.5; }
.secao--escura .cabecalho-secao p { color: #B8B7AE; }

/* ---------- Botões ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--raio); border: 2px solid transparent;
  font: 600 var(--s-sm)/1.2 var(--f-texto);
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.botao svg { width: 20px; height: 20px; flex: none; }
.botao--primario { background: var(--amarelo); color: var(--tinta); }
.botao--primario:hover { background: #F2B600; }
.botao--contorno { border-color: var(--tinta); color: var(--tinta); background: transparent; }
.botao--contorno:hover { background: var(--tinta); color: #fff; }
.secao--escura .botao--contorno { border-color: #fff; color: #fff; }
.secao--escura .botao--contorno:hover { background: #fff; color: var(--tinta); }

.link-seta { font-weight: 600; color: var(--tinta); text-decoration: underline; text-decoration-color: var(--amarelo); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.link-seta:hover { text-decoration-thickness: 4px; }
.secao--escura .link-seta { color: #fff; }

/* ---------- Cabeçalho ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--papel); }
.cabecalho {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--linha);
}
.cabecalho .envoltorio { display: flex; align-items: center; gap: 24px; height: var(--cab); }
.marca { display: block; flex: none; }
.marca img { height: 46px; width: auto; }
.menu { margin-left: auto; display: flex; align-items: center; gap: 4px; list-style: none; }
.menu a { display: block; padding: 8px 12px; text-decoration: none; font-weight: 500; font-size: var(--s-sm); color: var(--tinta); border-radius: var(--raio); }
.menu a:hover, .menu a[aria-current="page"] { background: var(--papel-2); }
.cabecalho .botao { min-height: 42px; padding: 9px 16px; }
.botao-menu { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: var(--raio); color: var(--tinta); }
.botao-menu svg { width: 26px; height: 26px; }

@media (max-width: 980px) {
  .botao-menu { display: inline-grid; place-items: center; }
  .cabecalho .botao--primario { display: none; }
  .menu {
    position: fixed; inset: calc(var(--cab) + env(safe-area-inset-top, 0px)) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--papel); border-bottom: 1px solid var(--linha);
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px));
    box-shadow: 0 18px 30px -20px rgba(29,29,27,.35);
    display: none;
  }
  .menu.aberto { display: flex; }
  .menu a { padding: 14px 8px; font-size: var(--s-md); border-bottom: 1px solid var(--linha); border-radius: 0; }
  .menu li:last-child a { border-bottom: 0; }
  .menu .menu-cta { margin-top: 12px; }
  .menu .menu-cta a { background: var(--amarelo); text-align: center; border-radius: var(--raio); font-weight: 600; }
}
@media (min-width: 981px) { .menu .menu-cta { display: none; } }

/* ---------- Hero com a planta ---------- */
.hero { padding-block: clamp(40px, 6vw, 72px) clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--linha);
  background-image:
    linear-gradient(var(--papel-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--papel-2) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero .envoltorio { display: grid; gap: clamp(28px, 4vw, 40px); }
.hero-topo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: end; }
.hero-topo h1 { max-width: 15ch; }
.hero-texto { display: grid; gap: 22px; min-width: 0; }
.hero-sub { font-size: var(--s-lg); line-height: 1.5; color: var(--texto); }
.hero-acoes { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-fatos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 32px; list-style: none; padding-top: 22px; border-top: 1px solid var(--linha); font-size: var(--s-sm); color: var(--muted); }
.hero-fatos strong { display: block; font-family: var(--f-display); font-size: 1.75rem; color: var(--tinta); font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
@media (max-width: 920px) { .hero-topo { grid-template-columns: minmax(0, 1fr); } .hero-topo h1 { max-width: 18ch; } }
@media (max-width: 620px) { .hero-fatos { gap: 12px 16px; } .hero-fatos strong { font-size: 1.375rem; } .hero-sub { font-size: var(--s-md); } }

/* módulo da planta */
.planta-modulo { background: var(--papel); border: 1px solid var(--linha); border-radius: 12px; box-shadow: 0 40px 70px -50px rgba(29,29,27,.55); min-width: 0; }
.abas-barra { position: relative; display: flex; align-items: center; border-bottom: 1px solid var(--linha); }
.abas { flex: 1 1 auto; min-width: 0; display: flex; gap: 5px; padding: 12px; overflow-x: auto; scrollbar-width: thin; }
.auto-btn { flex: none; width: 44px; height: 44px; margin-right: 12px; border-radius: 50%; border: 1px solid var(--linha); background: var(--papel); color: var(--tinta); cursor: pointer; display: grid; place-items: center; }
.auto-btn:hover { border-color: var(--tinta); }
.auto-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.auto-btn .i-play { fill: currentColor; stroke-width: 1.5; }
.auto-btn .i-play, .auto-btn[aria-pressed="true"] .i-pausa { display: none; }
.auto-btn[aria-pressed="true"] .i-play { display: block; }
.auto-progresso { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; overflow: hidden; }
.auto-progresso span { display: block; height: 100%; width: 100%; background: var(--amarelo); transform-origin: left; transform: scaleX(0); }
.planta-modulo.girando .auto-progresso span { animation: progresso var(--intervalo, 7s) linear forwards; }
.planta-modulo.girando.pausado .auto-progresso span { animation-play-state: paused; }
@keyframes progresso { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.aba {
  flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 12px 8px 9px;
  border: 1px solid var(--linha); background: var(--papel); border-radius: 999px;
  font: 600 var(--s-sm)/1.2 var(--f-texto); color: var(--tinta); cursor: pointer; white-space: nowrap;
}
.aba:hover { border-color: var(--tinta); }
.aba[aria-selected="true"] { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.aba-icone { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--amarelo); flex: none; }
.aba-icone svg { width: 16px; height: 16px; stroke: var(--tinta); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.planta-corpo { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.planta { min-width: 0; margin: 0; padding: 14px; border-right: 1px solid var(--linha); }
.planta-legenda-topo span:last-child { white-space: nowrap; }
.planta-legenda-topo { display: flex; justify-content: space-between; gap: 12px; font-size: var(--s-xs); color: var(--muted); padding: 2px 4px 10px; }
.planta svg { display: block; width: 100%; height: auto; border-radius: 6px; }
.paineis { padding: clamp(20px, 2.6vw, 30px); min-width: 0; }
.painel { display: grid; gap: 14px; align-content: start; }
.painel h3 { font-size: 1.375rem; }
.painel > p { color: var(--texto); font-size: var(--s-sm); line-height: 1.6; }
.pontos { list-style: none; display: grid; gap: 4px; border-top: 1px solid var(--linha); padding-top: 10px; }
.pontos li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 8px 8px 8px 4px; border-radius: var(--raio); cursor: default; }
.pontos li:hover, .pontos li.realce { background: var(--amarelo-suave); }
.pontos .num { width: 26px; height: 26px; border-radius: 50%; background: var(--tinta); color: var(--amarelo); display: grid; place-items: center; font: 700 .8125rem var(--f-display); margin-top: 1px; }
.pontos strong { display: block; color: var(--tinta); font-size: var(--s-sm); font-weight: 600; line-height: 1.35; }
.pontos span:not(.num) { display: block; font-size: var(--s-xs); color: var(--muted); line-height: 1.5; margin-top: 2px; }
.resultado { font-size: var(--s-sm); padding: 12px 14px; border-left: 3px solid var(--amarelo); background: var(--papel-2); border-radius: 0 var(--raio) var(--raio) 0; }
.resultado strong { color: var(--tinta); }
.painel .link-seta { font-size: var(--s-sm); justify-self: start; }
.visao-geral { list-style: none; display: grid; gap: 2px; border-top: 1px solid var(--linha); padding-top: 8px; }
.linha-camada { width: 100%; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 8px; border: 0; background: transparent; border-radius: var(--raio); text-align: left; cursor: pointer; font: inherit; color: inherit; }
.linha-camada:hover { background: var(--papel-2); }
.linha-camada strong { display: block; font-size: var(--s-sm); color: var(--tinta); }
.linha-camada span span { display: block; font-size: var(--s-xs); color: var(--muted); }
.linha-camada em { font-style: normal; font-size: var(--s-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .planta-corpo { grid-template-columns: minmax(0, 1fr); }
  .planta { border-right: 0; border-bottom: 1px solid var(--linha); padding: 10px; }
}

/* SVG da planta */
.p-grade { stroke: #EFEEE8; stroke-width: 1; }
.p-lote { fill: #FAFAF7; stroke: var(--traco); stroke-width: 1.2; }
.p-casa { fill: #EDECE6; stroke: #A3A298; stroke-width: 1.2; }
.p-rua { fill: #E8E7E0; }
.p-carro { fill: #D3D2C9; stroke: #A3A298; }
.p-arvore { fill: #DCE3D3; stroke: #B9C4AC; }
.p-texto { font: 600 10px var(--f-texto); fill: #8B8A80; letter-spacing: .04em; }
.p-verde { fill: #EEF1E8; stroke: #CFD6C4; }
.cam { transition: opacity .35s ease; }
.planta svg[data-foco] .cam { opacity: .1; }
.planta svg[data-foco="acesso"] .cam-acesso,
.planta svg[data-foco="cftv"] .cam-cftv,
.planta svg[data-foco="perimetral"] .cam-perimetral,
.planta svg[data-foco="analiticos"] .cam-analiticos,
.planta svg[data-foco="interfonia"] .cam-interfonia,
.planta svg[data-foco="rede"] .cam-rede { opacity: 1; }
.so-foco { opacity: 0; transition: opacity .35s ease; }
.planta svg[data-foco] .so-foco { opacity: 1; }
.setor { fill: none; stroke: var(--amarelo); stroke-width: 7; stroke-opacity: .35; }
.area-ia { fill: var(--amarelo); fill-opacity: .18; stroke: #E0A800; stroke-width: 2; stroke-dasharray: 5 4; }
.y-fill { fill: var(--amarelo); }
.y-cone { fill: var(--amarelo); fill-opacity: .28; stroke: var(--amarelo); stroke-width: 1; }
.y-stroke { fill: none; stroke: var(--amarelo); stroke-width: 3; }
.y-dash { fill: none; stroke: #E0A800; stroke-width: 3; stroke-dasharray: 2 6; stroke-linecap: round; }
.k-fill { fill: var(--tinta); }
.k-stroke { fill: none; stroke: var(--tinta); stroke-width: 1.6; }
.k-dash { fill: none; stroke: var(--tinta); stroke-width: 1.4; stroke-dasharray: 4 4; }
.rede-anel { fill: none; stroke: var(--tinta); stroke-width: 2.4; stroke-dasharray: 10 5; }
.rotulo { font: 700 9.5px var(--f-texto); fill: var(--tinta); }
.rotulo-fundo { fill: var(--amarelo); }
.marcador { opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.m-disco { fill: var(--tinta); stroke: #fff; stroke-width: 2; }
.m-num { fill: var(--amarelo); font: 700 11px var(--f-display); text-anchor: middle; }
.m-halo { fill: var(--amarelo); opacity: 0; transition: opacity .2s; }
.marcador.realce .m-halo { opacity: .55; }
.planta svg[data-foco="acesso"] .marcador-acesso,
.planta svg[data-foco="cftv"] .marcador-cftv,
.planta svg[data-foco="perimetral"] .marcador-perimetral,
.planta svg[data-foco="analiticos"] .marcador-analiticos,
.planta svg[data-foco="interfonia"] .marcador-interfonia,
.planta svg[data-foco="rede"] .marcador-rede { opacity: 1; pointer-events: auto; cursor: pointer; }

@media (prefers-reduced-motion: no-preference) {
  .anima-perimetro { stroke-dasharray: 2200; stroke-dashoffset: 2200; animation: desenha 2.4s .3s ease-out forwards; }
  @keyframes desenha { to { stroke-dashoffset: 0; } }
  .rede-anel { animation: fluxo 1.6s linear infinite; animation-play-state: paused; }
  .planta svg[data-foco="rede"] .rede-anel { animation-play-state: running; }
  @keyframes fluxo { to { stroke-dashoffset: -30; } }
  .marcador.realce .m-halo { animation: pulso 1.2s ease-out infinite; }
  @keyframes pulso { 0% { opacity: .6; } 100% { opacity: .15; } }
}

/* ---------- Ilustrações técnicas ---------- */
.ilustracao { margin: 0; display: grid; gap: 8px; }
.ilustracao svg { display: block; width: 100%; height: auto; background: var(--papel-2); border-radius: 8px; }
.ilustracao figcaption { font-size: var(--s-xs); color: var(--muted); }
.il-grade { stroke: #E8E7E0; stroke-width: 1; }
.il-chao { stroke: var(--tinta); stroke-width: 2; }
.il-muro { fill: #E3E2DA; stroke: #8F8E85; stroke-width: 1.4; }
.il-pilar { fill: #D6D5CC; stroke: #8F8E85; stroke-width: 1.4; }
.il-grade-portao { fill: none; stroke: var(--tinta); stroke-width: 1.6; }
.il-grade-portao rect { fill: rgba(255,255,255,.4); }
.il-equip { fill: #fff; stroke: var(--tinta); stroke-width: 1.8; }
.il-y { fill: var(--amarelo); }
.il-k { fill: var(--tinta); }
.il-l { fill: none; stroke: var(--tinta); stroke-width: 1.8; }
.il-ly { fill: none; stroke: #8F8E85; stroke-width: 1.2; }
.il-pessoa { fill: var(--tinta); }
.il-frame { fill: none; stroke: var(--amarelo); stroke-width: 3; stroke-linecap: round; }
.il-tag rect { fill: var(--tinta); }
.il-tag text { fill: var(--amarelo); font: 700 11px var(--f-texto); }
.il-t { fill: var(--tinta); font: 600 11px var(--f-texto); }
.il-t-p { font-weight: 500; font-size: 10px; }
.il-t-claro { fill: #D9D8D0; font-weight: 500; }
.il-t-y { fill: var(--amarelo); }
.il-carro { fill: #fff; stroke: var(--tinta); stroke-width: 1.8; stroke-linejoin: round; }
.il-roda { fill: var(--tinta); stroke: #fff; stroke-width: 3; }
.il-vidro { fill: #DCE9EC; stroke: var(--tinta); stroke-width: 1.2; }
.il-onda { fill: none; stroke: var(--amarelo); stroke-width: 2.4; stroke-linecap: round; }
.il-janela { fill: #fff; stroke: #8F8E85; stroke-width: 1.2; }
.il-porta { fill: #D6D5CC; stroke: #8F8E85; stroke-width: 1.2; }
.il-fov { fill: var(--amarelo); fill-opacity: .25; stroke: var(--amarelo); stroke-width: 1.2; }
.il-celular { fill: var(--tinta); }
.il-tela { fill: #fff; }
.il-tile { fill: #E3E2DA; }
.il-tile-y { fill: var(--amarelo); fill-opacity: .55; }
.il-fio { stroke: var(--tinta); stroke-width: 1; }
.il-placa { fill: var(--amarelo); stroke: var(--tinta); stroke-width: 1; }
.il-raio { fill: none; stroke: var(--tinta); stroke-width: 1.4; }
.il-feixe { stroke: #E0A800; stroke-width: 2; stroke-dasharray: 6 5; }
.il-escada { fill: none; stroke: #8F8E85; stroke-width: 2.4; }
.il-alerta { fill: none; stroke: #E5484D; stroke-width: 2.4; stroke-dasharray: 4 4; }
.il-monitor { fill: var(--tinta); }
.il-cena { fill: #3A3A35; }
.il-cena-l { stroke: #55554E; stroke-width: 1.4; fill: none; }
.il-cena-p { fill: #4A4A44; }
.il-cena-j { fill: #5D5D56; }
.il-cena-s { fill: #9A998F; }
.il-cena-r { fill: #2C2C28; stroke: #9A998F; stroke-width: 2; }
.il-box { fill: none; stroke: var(--amarelo); stroke-width: 2.4; }
.il-box-off { fill: none; stroke: #8F8E85; stroke-width: 1.6; stroke-dasharray: 4 3; }
.il-linha { fill: none; stroke: var(--amarelo); stroke-width: 2.4; stroke-dasharray: 8 5; }
.il-tecla { fill: #D6D5CC; }
.il-chamada { fill: none; stroke: var(--tinta); stroke-width: 1.8; stroke-dasharray: 5 5; }
.il-video { fill: #3A3A35; }
.il-btn { fill: #E3E2DA; }
.il-rack { fill: #fff; stroke: var(--tinta); stroke-width: 2; }
.il-u { fill: #F4F4F0; stroke: var(--tinta); stroke-width: 1.2; }
.il-porta-rj { fill: var(--tinta); }
.il-fibra { stroke: var(--amarelo); stroke-width: 4; stroke-linecap: round; }
.il-anel { fill: none; stroke: var(--amarelo); stroke-width: 4; }
.il-no circle { fill: #fff; stroke: var(--tinta); stroke-width: 2; }
.il-ic { fill: none; stroke: var(--tinta); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ilustração dentro de cada solução */
.solucao-figura { grid-column: 1 / -1; display: block; margin-bottom: 18px; }
.solucao-figura .ilustracao figcaption { display: none; }
.autonoma-figura { margin-top: 10px; }
.autonoma-figura svg { background: #2C2C28; }
.autonoma-figura .il-grade { stroke: #34342F; }
.autonoma-figura figcaption { color: #A9A89F; }
.segmento-icone { width: 44px; height: 44px; border-radius: 50%; background: var(--amarelo); display: grid; place-items: center; margin-bottom: 4px; }
.segmento-icone svg { width: 22px; height: 22px; fill: none; stroke: var(--tinta); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sub-hero-figura { min-width: 0; }
.sub-hero-figura svg { background: var(--papel); border: 1px solid var(--linha); }
.componentes-topo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 32px; align-items: start; margin-bottom: clamp(28px, 4vw, 44px); }
.componentes-topo .cabecalho-secao { margin-bottom: 0; }
@media (max-width: 860px) { .componentes-topo { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Soluções ---------- */
.solucoes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--linha); }
.solucao {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 20px;
  padding: 32px 28px 32px 0; border-bottom: 1px solid var(--linha);
}
.solucao:nth-child(even) { padding: 32px 0 32px 28px; border-left: 1px solid var(--linha); }
.solucao-icone { width: 56px; height: 56px; border-radius: 50%; background: var(--amarelo); display: grid; place-items: center; grid-row: span 4; }
.solucao-icone svg { width: 28px; height: 28px; stroke: var(--tinta); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.solucao h3 { font-size: 1.375rem; }
.solucao > p { color: var(--texto); margin-top: 6px; }
.lista-check { list-style: none; display: grid; gap: 6px; margin-top: 14px; font-size: var(--s-sm); }
.lista-check li { position: relative; padding-left: 22px; }
.lista-check li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 6px; border-left: 2px solid var(--tinta); border-bottom: 2px solid var(--tinta); transform: rotate(-45deg); }
.secao--escura .lista-check li::before { border-color: var(--amarelo); }
.solucao .link-seta { margin-top: 16px; justify-self: start; font-size: var(--s-sm); }
@media (max-width: 860px) {
  .solucoes { grid-template-columns: minmax(0, 1fr); }
  .solucao, .solucao:nth-child(even) { padding: 28px 0; border-left: 0; }
}
@media (max-width: 460px) {
  .solucao { grid-template-columns: minmax(0, 1fr); }
  .solucao-icone { grid-row: auto; margin-bottom: 10px; width: 48px; height: 48px; }
}

/* ---------- Portaria autônoma ---------- */
.autonoma { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.autonoma-intro { display: grid; gap: 18px; }
.autonoma-intro p { font-size: var(--s-lg); line-height: 1.55; color: #CFCEC5; }
.aviso {
  border: 1px solid #45453F; border-radius: var(--raio); padding: 16px 18px;
  font-size: var(--s-sm); color: #CFCEC5; background: #262623;
}
.aviso strong { color: #fff; }
.fluxo { list-style: none; counter-reset: passo; display: grid; gap: 0; }
.fluxo li { counter-increment: passo; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding-bottom: 26px; position: relative; }
.fluxo li::before {
  content: counter(passo); width: 44px; height: 44px; border-radius: 50%;
  background: var(--amarelo); color: var(--tinta); display: grid; place-items: center;
  font: 700 1.05rem var(--f-display);
}
.fluxo li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 2px; background: #45453F; }
.fluxo h3 { font-size: 1.125rem; margin-bottom: 4px; padding-top: 9px; }
.fluxo p { font-size: var(--s-sm); color: #B8B7AE; }
.ganhos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid #45453F; }
.ganhos > div { padding: 24px 24px 0 0; }
.ganhos > div + div { padding-left: 24px; border-left: 1px solid #45453F; }
.ganhos h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.ganhos p { font-size: var(--s-sm); color: #B8B7AE; }
@media (max-width: 860px) {
  .autonoma { grid-template-columns: minmax(0, 1fr); }
  .ganhos { grid-template-columns: minmax(0, 1fr); }
  .ganhos > div, .ganhos > div + div { padding: 20px 0; border-left: 0; border-bottom: 1px solid #45453F; }
}

/* ---------- Segmentos ---------- */
.segmentos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: 1px solid var(--linha); border-radius: 10px; background: var(--papel); }
.segmento { padding: 24px 20px; display: grid; gap: 8px; align-content: start; }
.segmento + .segmento { border-left: 1px solid var(--linha); }
.segmento h3 { font-size: 1.0625rem; }
.segmento p { font-size: var(--s-sm); color: var(--muted); }
.nota-b2b { margin-top: 20px; font-size: var(--s-sm); color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.nota-b2b svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
@media (max-width: 1020px) {
  .segmentos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .segmento + .segmento { border-left: 0; }
  .segmento { border-bottom: 1px solid var(--linha); }
  .segmento:nth-child(even) { border-left: 1px solid var(--linha); }
  .segmento:last-child { grid-column: 1 / -1; border-bottom: 0; }
}
@media (max-width: 520px) {
  .segmentos { grid-template-columns: minmax(0, 1fr); }
  .segmento:nth-child(even) { border-left: 0; }
}

/* ---------- Processo ---------- */
.processo { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: etapa; }
.processo li { counter-increment: etapa; display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 3px solid var(--tinta); }
.processo li::before { content: "Etapa " counter(etapa); font: 600 var(--s-xs) var(--f-texto); color: var(--muted); }
.processo h3 { font-size: 1.1875rem; }
.processo p { font-size: var(--s-sm); }
@media (max-width: 900px) { .processo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .processo { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Diferenciais ---------- */
.diferenciais { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); }
.diferenciais-lista { display: grid; gap: 0; list-style: none; }
.diferenciais-lista li { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--linha); }
.diferenciais-lista li:first-child { padding-top: 0; }
.diferenciais-lista h3 { font-size: 1.125rem; }
.diferenciais-lista p { font-size: var(--s-sm); color: var(--muted); }
.citacao-marca { display: grid; gap: 20px; align-content: start; }
.citacao-marca p.grande { font-family: var(--f-display); font-size: var(--s-xl); line-height: 1.3; color: var(--tinta); font-weight: 600; letter-spacing: -.02em; }
@media (max-width: 860px) { .diferenciais { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Tecnologias e clientes ---------- */
.marcas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.marcas li { padding: 10px 18px; border: 1px solid var(--linha); border-radius: 999px; font: 600 var(--s-sm) var(--f-display); color: var(--tinta); background: var(--papel); }
.clientes { columns: 4 200px; column-gap: 32px; list-style: none; margin-top: 8px; }
.clientes li { break-inside: avoid; padding: 9px 0; border-bottom: 1px solid var(--linha); font-size: var(--s-sm); color: var(--tinta); font-weight: 500; }
.bloco-duplo { display: grid; gap: 56px; }

/* ---------- FAQ ---------- */
.faq { display: grid; max-width: 52rem; border-top: 1px solid var(--linha); }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font: 600 1.0625rem/1.4 var(--f-display); color: var(--tinta);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--tinta); border-bottom: 2px solid var(--tinta); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 22px; color: var(--texto); max-width: 44rem; }
.faq details > div p + p { margin-top: 10px; }

/* ---------- Contato ---------- */
.contato { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.contato-info { display: grid; gap: 22px; }
.contato-info > p { font-size: var(--s-lg); color: var(--muted); line-height: 1.5; }
.canais { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--linha); }
.canais li { padding: 16px 0; border-bottom: 1px solid var(--linha); display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; font-size: var(--s-sm); }
.canais span { color: var(--muted); }
.canais a, .canais strong { color: var(--tinta); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.canais a:hover { text-decoration: underline; text-decoration-color: var(--amarelo); text-decoration-thickness: 2px; }

.formulario { background: var(--papel); border: 1px solid var(--linha); border-radius: 10px; padding: clamp(20px, 3.5vw, 36px); display: grid; gap: 18px; box-shadow: 0 30px 60px -45px rgba(29,29,27,.5); }
.formulario h3 { font-size: 1.25rem; }
.campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.campo { display: grid; gap: 6px; min-width: 0; }
.campo--inteiro { grid-column: 1 / -1; }
.campo label, .campo legend { font-size: var(--s-xs); font-weight: 600; color: var(--tinta); }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 46px; padding: 11px 13px;
  border: 1px solid #CFCEC5; border-radius: var(--raio); background: #fff;
  font: 400 var(--s-md) var(--f-texto); color: var(--tinta);
}
.campo textarea { min-height: 110px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: 2px solid var(--amarelo); outline-offset: 0; border-color: var(--tinta); }
.campo [aria-invalid="true"] { border-color: var(--erro); }
fieldset.campo { border: 0; padding: 0; margin: 0; }
.opcoes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.opcoes label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid #CFCEC5; border-radius: 999px; font-size: var(--s-sm); font-weight: 500; cursor: pointer; }
.opcoes input { width: 16px; height: 16px; min-height: 0; accent-color: var(--tinta); margin: 0; }
.opcoes label:has(input:checked) { background: var(--amarelo-suave); border-color: var(--tinta); }
.isca { position: absolute; left: -9999px; }
.form-rodape { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-rodape small { color: var(--muted); font-size: var(--s-xs); flex: 1 1 220px; }
.status { font-size: var(--s-sm); font-weight: 600; }
.status[data-tipo="ok"] { color: var(--ok); }
.status[data-tipo="erro"] { color: var(--erro); }
@media (max-width: 860px) { .contato { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .campos { grid-template-columns: minmax(0, 1fr); } .canais li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* ---------- Faixa CTA ---------- */
.faixa-cta { background: var(--amarelo); }
.faixa-cta .envoltorio { padding-block: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.faixa-cta h2 { font-size: var(--s-xl); max-width: 30ch; }
.faixa-cta .botao--contorno:hover { background: var(--tinta); }

/* ---------- Rodapé ---------- */
.rodape { background: var(--tinta); color: #A9A89F; font-size: var(--s-sm); padding-bottom: env(safe-area-inset-bottom, 0px); }
.rodape .envoltorio { padding-block: 56px 28px; display: grid; gap: 40px; }
.rodape-colunas { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.rodape img { height: 44px; width: auto; }
.rodape h4 { color: #fff; font-size: var(--s-sm); margin-bottom: 12px; font-weight: 600; }
.rodape ul { list-style: none; display: grid; gap: 8px; }
.rodape a { text-decoration: none; color: #D9D8D0; }
.rodape a:hover { color: var(--amarelo); }
.rodape-base { border-top: 1px solid #3A3A35; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: var(--s-xs); }
.rodape-marca { display: grid; gap: 14px; align-content: start; }
@media (max-width: 860px) { .rodape-colunas { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rodape-marca { grid-column: 1 / -1; } }

/* ---------- WhatsApp flutuante ---------- */
.zap {
  position: fixed; z-index: 40;
  right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.45);
}
.zap svg { width: 30px; height: 30px; }

/* ---------- Subpáginas ---------- */
.trilha { font-size: var(--s-xs); color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.trilha a { color: var(--muted); }
.sub-hero { padding-block: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--linha); background: var(--papel-2); }
.sub-hero .envoltorio { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.sub-hero-texto { display: grid; gap: 18px; }
.sub-hero h1 { font-size: var(--s-2xl); max-width: 20ch; }
.sub-hero-texto > p { font-size: var(--s-lg); line-height: 1.5; max-width: 38rem; }
.resumo { background: var(--papel); border: 1px solid var(--linha); border-radius: 10px; padding: 22px 24px; display: grid; gap: 10px; }
.resumo h2 { font-size: 1rem; }
.resumo .lista-check { margin-top: 0; }
@media (max-width: 860px) { .sub-hero .envoltorio { grid-template-columns: minmax(0, 1fr); } }

.componentes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--linha); }
.componente { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--linha); display: grid; gap: 8px; align-content: start; }
.componente:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--linha); }
.componente h3 { font-size: 1.125rem; }
.componente p { font-size: var(--s-sm); }
@media (max-width: 900px) {
  .componentes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .componente, .componente:not(:nth-child(3n+1)) { padding: 24px 20px 24px 0; border-left: 0; }
  .componente:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--linha); }
}
@media (max-width: 560px) {
  .componentes { grid-template-columns: minmax(0, 1fr); }
  .componente, .componente:nth-child(even) { padding: 22px 0; border-left: 0; }
}

.duas-colunas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); }
.duas-colunas h2 { font-size: var(--s-xl); margin-bottom: 18px; }
.duas-colunas p + p { margin-top: 12px; }
@media (max-width: 860px) { .duas-colunas { grid-template-columns: minmax(0, 1fr); } }

.outras { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.outras a { display: inline-block; padding: 10px 16px; border: 1px solid var(--linha); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: var(--s-sm); color: var(--tinta); background: var(--papel); }
.outras a:hover { border-color: var(--tinta); }
@media (max-width: 520px) { .sub-hero-texto > p { font-size: var(--s-md); } .abas { padding: 10px; } .painel h3 { font-size: 1.25rem; } }
@media (max-width: 640px) { .m-inner { transform: scale(1.7); } }

/* ---------- Contato: WhatsApp principal + formulário ---------- */
.botao--escuro { background: var(--tinta); color: #fff; }
.botao--escuro:hover { background: #000; }
.botao--grande { min-height: 56px; padding: 14px 26px; font-size: var(--s-md); }
.botao--grande svg { width: 22px; height: 22px; }
.contato { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: stretch; }
.canal-zap { background: var(--tinta); color: #CFCEC5; border-radius: 12px; padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 16px; align-content: start; }
.canal-zap h3 { color: #fff; font-size: 1.5rem; }
.canal-zap > p { font-size: var(--s-md); line-height: 1.55; }
.canal-icone { width: 52px; height: 52px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; }
.canal-icone svg { width: 28px; height: 28px; }
.canal-zap .botao { justify-self: start; margin-top: 4px; }
.canal-zap .canais { margin-top: 14px; border-top-color: #3A3A35; }
.canal-zap .canais li { border-bottom-color: #3A3A35; grid-template-columns: 140px minmax(0, 1fr); }
.canal-zap .canais span { color: #A9A89F; }
.canal-zap .canais a, .canal-zap .canais strong { color: #fff; }
.form-topo { display: grid; gap: 6px; }
.form-topo h3 { font-size: 1.5rem; }
.form-topo p { color: var(--muted); font-size: var(--s-sm); }
@media (max-width: 860px) { .contato { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .canal-zap .canais li { grid-template-columns: minmax(0, 1fr); } .canal-zap .botao { justify-self: stretch; } }
/* espaço para o botão flutuante não cobrir o fim da página no celular */
@media (max-width: 760px) { .rodape-base { padding-bottom: 72px; } }
