/* Base de todas as páginas: cores, tipografia, botões, topo, rodapé, botão flutuante. Veio do index.html. */
:root {
  --azul: #0A8FE0;
  --azul-claro: #45B8FF;
  --azul-escuro: #1450B4;
  --magenta: #E8175D;
  --magenta-claro: #FF3F82;
  --magenta-escuro: #C80F4C;
  --amarelo: #FFC20E;
  --escuro: #070B12;
  --texto: #E9EEF5;
  --texto-suave: #93A0B3;
  --fundo: #070B12;
  --fundo-alt: #0C121C;
  --cartao: rgba(255, 255, 255, .04);
  --borda: rgba(255, 255, 255, .09);
  --whats: #25D366;
  --raio: 22px;
  --sombra: 0 30px 80px -20px rgba(0, 0, 0, .7);
  --curva: cubic-bezier(.2, .8, .2, 1);
  --titulo: "Outfit", "Manrope", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
section[id] { scroll-margin-top: 80px; }
body {
  margin: 0; overflow-x: hidden;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--texto);
  background: var(--fundo);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
/* sem isto, a largura própria dos vídeos estica as colunas e a página vaza no celular */
.hero-grid > *, .sobre > *, .empresas-grid > *, .empresas-fotos > *, .ra-grid > * { min-width: 0; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titulo); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.destaque {
  font-weight: 600;
  background: linear-gradient(90deg, var(--azul-claro), var(--magenta-claro));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Barra de leitura e brilho que segue o mouse */
#barra { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 200; background: linear-gradient(90deg, var(--azul), var(--magenta), var(--amarelo)); }
#brilho {
  position: fixed; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(69, 184, 255, .09), transparent 65%);
  transform: translate(-50%, -50%); left: 50%; top: 30%;
}
main, footer { position: relative; z-index: 1; }
/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 14px 28px; border-radius: 100px; border: 1px solid transparent;
  font: 600 .92rem "Manrope", system-ui, sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .35s var(--curva), box-shadow .35s var(--curva), border-color .35s, color .35s, background-color .35s;
}
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn:hover { transform: translateY(-3px); }
.btn-whats, .btn-cta {
  background: linear-gradient(135deg, var(--magenta-claro), var(--magenta-escuro)); color: #fff;
  box-shadow: 0 10px 40px -10px rgba(232, 23, 93, .65);
}
.btn-whats:hover, .btn-cta:hover { box-shadow: 0 18px 50px -10px rgba(232, 23, 93, .85); }
.btn-linha { background: var(--cartao); border-color: var(--borda); color: var(--texto); }
.btn-linha:hover { border-color: var(--azul-claro); color: var(--azul-claro); }
/* Topo: transparente, vira vidro escuro ao rolar */
header { position: sticky; top: 0; z-index: 100; padding: 14px 0; transition: padding .4s, background-color .4s, border-color .4s; border-bottom: 1px solid transparent; }
header.rolou { background: rgba(7, 11, 18, .78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: 6px 0; border-bottom-color: var(--borda); }
.topo { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topo .logo { height: 62px; width: auto; display: block; transition: height .4s; }
header.rolou .topo .logo { height: 50px; }
nav { display: flex; align-items: center; gap: 30px; }
nav a.link { position: relative; text-decoration: none; font-size: .88rem; font-weight: 500; color: var(--texto-suave); transition: color .3s; }
nav a.link::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0; background: var(--azul-claro); transition: width .3s; }
nav a.link:hover { color: #fff; }
nav a.link:hover::after { width: 100%; }
nav .btn { padding: .7em 1.3em; font-size: .88rem; }
.links { display: flex; align-items: center; gap: inherit; }
.hamburguer { display: none; }
.redes { display: flex; gap: 8px; }
.redes a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  color: var(--texto-suave); border: 1px solid var(--borda);
  transition: color .3s, background-color .3s, border-color .3s, transform .3s;
}
.redes a:hover { color: #fff; background: var(--magenta); border-color: var(--magenta); transform: translateY(-4px); }
.redes svg { width: 18px; height: 18px; }
@media (max-width: 1100px) { nav { gap: 18px; } }
/* "Mais": os links menos usados ficam numa lista que abre no clique (no celular aparecem todos no menu) */
nav a.link, .mais-botao { white-space: nowrap; }
.mais { position: relative; }
.mais-botao { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; cursor: pointer; font: 500 .88rem "Manrope", system-ui, sans-serif; color: var(--texto-suave); transition: color .3s; }
.mais-botao:hover, .mais.aberto .mais-botao { color: #fff; }
.mais-botao svg { width: 11px; height: 8px; transition: transform .3s; }
.mais.aberto .mais-botao svg { transform: rotate(180deg); }
.mais-lista {
  position: absolute; top: calc(100% + 18px); left: 50%; min-width: 190px; padding: 8px; z-index: 120;
  display: grid; border-radius: 16px; border: 1px solid var(--borda); background: rgba(12, 18, 28, .97);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--sombra);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity .25s, transform .25s, visibility .25s;
}
.mais.aberto .mais-lista { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mais-lista a.link { padding: 10px 14px; border-radius: 10px; color: var(--texto); }
.mais-lista a.link::after { display: none; }
.mais-lista a.link:hover { background: rgba(255, 255, 255, .06); }
section { padding: 110px 0; position: relative; }
/* Título de seção: etiqueta e título à esquerda, texto de apoio à direita */
.titulo-secao { display: grid; grid-template-columns: 1.3fr 1fr; column-gap: 40px; align-items: end; margin: 0 0 60px; }
.titulo-secao > * { grid-column: 1; }
.titulo-secao h2 { margin: 18px 0 0; }
.titulo-secao > p { grid-column: 2; grid-row: 1 / span 2; margin: 0; color: var(--texto-suave); font-size: 1.05rem; max-width: 460px; justify-self: end; }
.etiqueta {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .75rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--amarelo);
}
.etiqueta::before { content: ""; width: 38px; height: 1px; background: currentColor; flex: none; }
/* Botão flutuante */
.flutuante {
  /* acima do selo "Powered by Netlify" que o Netlify coloca no canto */
  position: fixed; right: 20px; bottom: 76px; z-index: 150;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--whats); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 34px rgba(37, 211, 102, .5); transition: transform .3s;
}
.flutuante::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--whats); animation: anel 2.2s infinite; }
@keyframes anel { to { transform: scale(1.7); opacity: 0; } }
.flutuante:hover { transform: scale(1.1) rotate(-6deg); }
.flutuante svg { width: 32px; height: 32px; }
@media (max-width: 980px) {
  .links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px;
    background: rgba(7, 11, 18, .97); border-bottom: 1px solid var(--borda);
  }
  header.aberto { background: rgba(7, 11, 18, .97); }
  header.aberto .links { display: flex; }
  .links a.link { padding: 15px 4px; border-bottom: 1px solid var(--borda); font-size: 1.05rem; color: var(--texto); }
  .links a.link::after { display: none; }
  .links a.link:last-child { border-bottom: 0; }
  .mais-botao { display: none; }
  .mais { display: contents; }
  .mais-lista { position: static; display: contents; opacity: 1; visibility: visible; transform: none; }
  .mais-lista a.link { padding: 15px 4px; border-radius: 0; border-bottom: 1px solid var(--borda); }
  .mais-lista a.link:hover { background: none; }
  .hamburguer {
    display: grid; align-content: center; gap: 5px; width: 42px; height: 42px; padding: 0 10px;
    border: 1px solid var(--borda); border-radius: 50%; background: var(--cartao); cursor: pointer;
  }
  .hamburguer span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
  header.aberto .hamburguer span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  header.aberto .hamburguer span:nth-child(2) { opacity: 0; }
  header.aberto .hamburguer span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .topo .logo, header.rolou .topo .logo { height: 44px; }
  nav .btn span { display: none; }
  nav .btn { padding: .7em; }
  nav { gap: 10px; }
  .redes a { width: 36px; height: 36px; }
  .redes svg { width: 16px; height: 16px; }
}
footer { border-top: 1px solid var(--borda); padding: 56px 0 34px; background: var(--fundo-alt); font-size: .88rem; color: var(--texto-suave); }
.rodape { display: grid; grid-template-columns: 1.1fr 1.2fr 1.2fr 1fr; gap: 36px; }
.rodape > * { min-width: 0; }
footer img { height: 56px; width: auto; margin-bottom: 14px; }
footer p { margin: 0 0 12px; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer .cnpj { font-size: .8rem; }
.rodape-titulo { font-family: var(--titulo); font-size: 1rem; font-weight: 500; color: var(--texto); margin-bottom: 14px; }
@media (max-width: 980px) { .rodape { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .rodape { grid-template-columns: 1fr; } }
/* Dado que ainda falta preencher: bem visível para não passar despercebido */
.preencher { background: #FFC20E; color: #141B26; padding: 1px 6px; border-radius: 6px; font-weight: 700; }
/* Vídeo que só carrega ao clicar: capa + botão de play */
.video-clique { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: inherit; }
.video-clique img { width: 100%; display: block; }
.video-clique::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; transform: translate(-50%, -50%); border-radius: 50%;
  background: rgba(7, 11, 18, .72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 44px no-repeat;
  border: 1px solid rgba(255, 255, 255, .5); transition: transform .3s;
}
.video-clique:hover::after { transform: translate(-50%, -50%) scale(1.1); }
/* Menu com 7 itens: as redes ficam só no rodapé em telas médias, para não apertar o topo */
@media (max-width: 1240px) { nav .redes { display: none; } nav { gap: 20px; } .links { gap: 20px; } }
@media (max-width: 1080px) { nav a.link, .mais-botao { font-size: .82rem; } nav, .links { gap: 14px; } nav .btn span { display: none; } nav .btn { padding: .7em; } }
/* Aviso de cookies (só aparece com o GA4 configurado) */
.aviso-cookies {
  position: fixed; left: 20px; bottom: 20px; z-index: 300; width: min(420px, calc(100% - 40px)); padding: 20px 22px; border-radius: 18px;
  border: 1px solid var(--borda); background: rgba(12, 18, 28, .98); box-shadow: var(--sombra); font-size: .9rem; color: var(--texto-suave);
}
.aviso-cookies p { margin: 0 0 14px; }
.aviso-cookies a { color: var(--azul-claro); }
.aviso-cookies div { display: flex; gap: 10px; }
.aviso-cookies .btn { padding: 10px 20px; font-size: .85rem; }
