/* NetSync Brasil — folha de estilo única do site
   Sem framework. Tokens da identidade atual (cores, fontes, raios) em :root. */

:root {
  --azul: #2563eb;
  --azul-hover: #1d4ed8;
  --sinal: #60a5fa;
  --grafite: #0a0a0a;
  --preto: #000;
  --superficie: #171717;
  --linha: #262626;
  --texto: #fff;
  --texto-2: #9ca3af;
  --texto-3: #8b93a1;
  --whats: #22c55e;
  --raio: 10px;
  --raio-btn: 6px;
  --secao: clamp(64px, 8vw, 112px);
  --larg: 1200px;
  --fonte: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --titulo: Montserrat, ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--preto); color: var(--texto); font: 400 16px/1.65 var(--fonte); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sinal); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--titulo); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; color: rgba(255, 255, 255, .82); }
ul, ol { padding-left: 1.2em; color: rgba(255, 255, 255, .82); }
li { margin: .25em 0; }
:focus-visible { outline: 2px solid var(--sinal); outline-offset: 3px; }

.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; fill: none; stroke: currentColor;
     stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- cabeçalho ---------- */
.topo { position: sticky; top: 0; z-index: 50; background: rgba(10, 10, 10, .95); backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--linha); }
.topo .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.topo .logo img { height: 44px; width: auto; }
.topo nav ul { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.topo nav a { color: #fff; font-weight: 500; font-size: 15px; }
.topo nav a:hover { color: var(--sinal); }
.topo .acoes { display: flex; align-items: center; gap: 1.25rem; }
.topo .tel { color: rgba(255, 255, 255, .8); font-size: 14px; display: inline-flex; gap: .5rem; align-items: center; }
.menu-btn { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; font-size: 1.4rem; }
@media (max-width: 1023px) {
  .menu-btn { display: inline-flex; }
  .topo nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--grafite);
              border-bottom: 1px solid var(--linha); }
  .topo nav.aberto { display: block; }
  .topo nav ul { flex-direction: column; gap: 0; padding: .5rem 1rem 1rem; }
  .topo nav a { display: block; padding: .75rem 0; border-bottom: 1px solid var(--linha); }
  .topo .acoes .tel, .topo .acoes .social { display: none; }
}

/* ---------- estrutura ---------- */
.wrap { width: min(100% - 2rem, var(--larg)); margin-inline: auto; }
.bloco { padding-block: var(--secao); position: relative; }
.bloco.alt { background: var(--grafite); }
.bloco > .wrap > :last-child { margin-bottom: 0; }
.kicker { color: var(--sinal); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .75rem; }
.bloco > .wrap > h2, .bloco > .wrap > .kicker, .bloco > .wrap > h2 + p { max-width: 760px; }

/* hero: primeira seção com imagem de fundo */
main > .bloco:first-child { min-height: min(88vh, 760px); display: flex; align-items: center; overflow: hidden;
                               background: var(--preto); }
main > .bloco:first-child > .wrap { position: relative; z-index: 1; }
main > .bloco:first-child h1 { max-width: 900px; }
main > .bloco:first-child p { max-width: 680px; font-size: 1.1rem; }
.bloco .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; z-index: 0; }
.bloco:has(> .bg)::after { content: ""; position: absolute; inset: 0; z-index: 0;
                            background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.6) 60%, rgba(0,0,0,.35) 100%); }
.bloco > .wrap { position: relative; z-index: 1; }

/* grades e cartões */
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 2rem 0; }
.grid .grid { margin: 1rem 0 0; }
.card { background: var(--superficie); border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.5rem; }
.card .card { background: var(--grafite); }
.card > .i:first-child, .card > p:first-child > .i { color: var(--sinal); width: 1.6em; height: 1.6em; display: block; margin-bottom: .75rem; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card img { border-radius: calc(var(--raio) - 4px); margin-bottom: 1rem; aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.items { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 2rem 0; }
.item p { margin: 0; color: var(--texto-2); font-size: .9rem; }
.item p:first-child { font: 800 1.9rem/1.1 var(--titulo); color: #fff; }
main figure, .bloco > .wrap > img { border-radius: var(--raio); overflow: hidden; margin: 1.5rem 0; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .9rem 1.6rem;
       border-radius: var(--raio-btn); font-weight: 600; font-size: 15px; background: var(--azul); color: #fff;
       border: 1px solid transparent; cursor: pointer; transition: background-color .25s; margin: .25rem .5rem .25rem 0; }
.btn:hover { background: var(--azul-hover); color: #fff; }
.btn-sec { background: transparent; border-color: #4b5563; }
.btn-sec:hover { background: var(--superficie); }
.btn-wa { background: var(--whats); color: #04210f; }
.btn-wa:hover { background: #16a34a; color: #fff; }

/* FAQ */
.faq { border-bottom: 1px solid var(--linha); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0;
               font: 700 1.05rem/1.4 var(--titulo); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--sinal); transition: transform .25s; }
.faq[open] summary .i { transform: rotate(180deg); }
.faq p { padding-bottom: 1.25rem; margin: 0; }

/* formulário */
form { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1rem; background: var(--superficie);
       border: 1px solid var(--linha); border-radius: var(--raio); padding: clamp(1.25rem, 3vw, 2rem); margin-top: 1.5rem; }
form .campo { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .6rem; }
form .campo.full, form .full { grid-column: 1 / -1; }
label { font-size: .85rem; font-weight: 500; color: rgba(255, 255, 255, .85); }
input, select, textarea { width: 100%; font: inherit; color: #fff; background: var(--grafite); border: 1px solid var(--linha);
                          border-radius: var(--raio-btn); padding: .75rem .9rem; }
input:focus, select:focus, textarea:focus { border-color: var(--sinal); outline: none; }
input::placeholder, textarea::placeholder { color: var(--texto-3); }
form button[type=submit] { grid-column: 1 / -1; justify-self: start; }
.hp { position: absolute; left: -5000px; }
.form-msg { grid-column: 1 / -1; padding: 1rem; border-radius: var(--raio-btn); margin: .5rem 0 0; }
.form-msg.ok { background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .4); color: #bbf7d0; }
.form-msg.erro { background: rgba(239, 68, 68, .12); border: 1px solid rgba(239, 68, 68, .4); color: #fecaca; }
@media (max-width: 700px) { form { grid-template-columns: 1fr; } }

/* rodapé */
.rodape { background: var(--grafite); border-top: 1px solid var(--linha); padding: 3.5rem 0 2rem; font-size: .92rem; }
.rodape .wrap { display: grid; gap: 2rem; grid-template-columns: 2fr 1fr 1fr; }
.rodape img { height: 40px; width: auto; margin-bottom: 1rem; }
.rodape ul { list-style: none; padding: 0; margin: 0; }
.rodape li { display: flex; gap: .5rem; align-items: flex-start; }
.rodape .legal { grid-column: 1 / -1; border-top: 1px solid var(--linha); padding-top: 1.25rem; display: flex; flex-wrap: wrap;
                 gap: .5rem 1.5rem; color: var(--texto-3); }
.rodape .legal p { margin: 0; color: var(--texto-3); }
.rodape a { color: rgba(255, 255, 255, .8); }
@media (max-width: 800px) { .rodape .wrap { grid-template-columns: 1fr; } }

/* páginas de texto (política, termos) */
.texto { max-width: 820px; }
.texto h2 { font-size: 1.3rem; margin-top: 2rem; }

/* flutuantes: WhatsApp, chat, cookies */
.flutuante { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: .5rem;
             background: var(--azul); color: #fff; padding: .85rem 1.2rem; border-radius: 999px; font-weight: 600;
             box-shadow: 0 10px 30px rgba(37, 99, 235, .35); }
.flutuante:hover { background: var(--azul-hover); color: #fff; }
.chat-btn { padding: 0; width: 56px; height: 56px; justify-content: center; border: 0; cursor: pointer; }
.chat-btn .i { width: 24px; height: 24px; }
.chat { position: fixed; right: 20px; bottom: 88px; z-index: 45; width: min(360px, calc(100vw - 40px)); max-height: min(520px, calc(100vh - 8rem));
        display: flex; flex-direction: column; background: var(--grafite); border: 1px solid var(--linha); border-radius: var(--raio);
        box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.chat[hidden] { display: none; }
.chat header { padding: .8rem 1rem; border-bottom: 1px solid var(--linha); background: var(--superficie); border-radius: var(--raio) var(--raio) 0 0; }
.chat header strong { display: block; font-size: .9rem; }
.chat header small { color: var(--texto-3); }
.chat .msgs { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; min-height: 200px; }
.chat .msg { max-width: 85%; padding: .55rem .8rem; border-radius: 8px; font-size: .88rem; line-height: 1.5; }
.chat .bot { background: var(--superficie); border: 1px solid var(--linha); align-self: flex-start; }
.chat .eu { background: var(--azul); align-self: flex-end; }
.chat .sugestoes { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1rem .6rem; }
.chat .sugestoes button { font-size: .78rem; background: transparent; color: var(--sinal); border: 1px solid var(--linha);
                          border-radius: 999px; padding: .3rem .7rem; cursor: pointer; }
.chat form { display: flex; gap: .5rem; padding: .6rem; margin: 0; border: 0; border-top: 1px solid var(--linha); border-radius: 0; background: none; }
.chat form input { padding: .55rem .7rem; }
.chat form button { background: var(--azul); color: #fff; border: 0; border-radius: var(--raio-btn); padding: 0 .8rem; cursor: pointer; }
.cookies { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60; max-width: 960px; margin-inline: auto;
           background: rgba(10, 10, 10, .97); border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.25rem 1.5rem;
           display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.cookies[hidden] { display: none; }
.cookies p { margin: 0; flex: 1 1 420px; font-size: .9rem; }
.cookies .botoes { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookies .btn { margin: 0; padding: .6rem 1.1rem; font-size: 14px; }
.cookies fieldset { flex-basis: 100%; border: 1px solid var(--linha); border-radius: var(--raio-btn); padding: .75rem 1rem; margin: 0; }
.cookies fieldset[hidden] { display: none; }
.cookies fieldset label { display: flex; gap: .5rem; align-items: center; margin: .3rem 0; }
.cookies fieldset input { width: auto; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print { .topo, .flutuante, .chat, .cookies, form { display: none !important; } body { background: #fff; color: #000; } }
.destaque { color: var(--sinal); }

/* duas colunas (texto + imagem / texto + cartão) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin: 1rem 0; }
.split > div > :last-child { margin-bottom: 0; }
.split img { border-radius: var(--raio); width: 100%; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.items .item { min-width: 120px; }
ul:has(> li > .i:first-child) { list-style: none; padding-left: 0; }
li > .i:first-child { color: var(--sinal); margin-right: .5rem; }
.card > .item, .items > .item:only-child { }
