/* =====================================================================
   GRUPO AST — FOLHA DE ESTILO PRINCIPAL
   =====================================================================
   Este arquivo é usado por TODAS as páginas do site.
   Ele fica organizado em blocos, cada um com um comentário explicando
   o que faz. Se quiser mudar uma cor, uma fonte ou um espaçamento,
   normalmente basta editar aqui uma vez e o site inteiro atualiza.

   ÍNDICE RÁPIDO (procure pelo título em MAIÚSCULO com Ctrl+F):
   1. VARIÁVEIS DE MARCA (cores, fontes, espaçamentos)
   2. RESET E BASE
   3. UTILITÁRIOS (classes reutilizáveis)
   4. CABEÇALHO / MENU
   5. RODAPÉ
   6. HERO (banner principal de cada página)
   7. CARTÕES E GRADES
   8. BOTÕES
   9. SEÇÃO "MARCAS/PARCEIROS"
   10. SEÇÃO INSTAGRAM
   11. FORMULÁRIOS
   12. PÁGINA DE EMPRESA (landing page individual)
   13. ANIMAÇÕES
   14. RESPONSIVO (celular / tablet)
   ===================================================================== */


/* ---------------------------------------------------------------------
   0. TEXTURA DE FUNDO COM MOVIMENTO (PARALLAX)
   Camada fixa atrás de todo o conteúdo do site, com um padrão sutil de
   linhas/pontos que se desloca lentamente conforme o visitante rola a
   página — é o efeito de "movimento" pedido no ajuste de identidade
   visual. Injetada automaticamente pelo assets/js/effects.js em todas
   as páginas (não precisa adicionar nada no HTML).
--------------------------------------------------------------------- */
.bg-texture {
  position: fixed;
  inset: -10% -10% -10% -10%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    radial-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(135deg, rgba(228,38,44,0.03) 0%, rgba(111,107,255,0.03) 100%);
  background-size: 26px 26px, 100% 100%;
  will-change: transform;
}

/* ---------------------------------------------------------------------
   1. VARIÁVEIS DE MARCA
   Tudo que é cor, fonte ou espaçamento do site está centralizado aqui.
   Trocar a cor --ast-red, por exemplo, muda o vermelho em todo o site.
--------------------------------------------------------------------- */
:root {
  /* Cores da marca (extraídas da apresentação institucional) */
  --ast-red: #E4262C;
  --ast-red-dark: #B4141C;

  /* MODO ESCURO É O PADRÃO DO SITE — estas são as cores de superfície/
     texto usadas em todas as páginas por padrão. O modo claro (abaixo,
     em html[data-theme="light"]) é a opção alternativa, escolhida pelo
     visitante através do botão no cabeçalho. */
  --ast-ink: #f2f2f4;        /* texto principal (claro, sobre fundo escuro) */
  --ast-ink-soft: #a3a3ab;   /* texto secundário */
  --ast-bg: #101014;         /* fundo padrão das páginas */
  --ast-bg-alt: #17171d;     /* fundo alternado */
  --ast-line: rgba(255, 255, 255, 0.1);
  --ast-surface: rgba(24, 24, 30, 0.75); /* vidro/glass */

  /* Paleta "profunda" — usada em heros e áreas escuras, inspirada nas
     texturas sofisticadas das referências (traços, blur, glow).
     Não é mais um preto/vermelho chapado: tem um leve tom azulado nas
     sombras, para dar profundidade, e um segundo tom de glow (violeta)
     que aparece ao lado do vermelho da marca. */
  --ast-deep-950: #08080d;
  --ast-deep-900: #0e0e17;
  --ast-deep-800: #16151f;
  --ast-glow-red: #ff3b3f;
  --ast-glow-violet: #6f6bff;
  --ast-line-light: rgba(255, 255, 255, 0.14);

  /* Tipografia */
  --font-base: -apple-system, "SF Pro Text", "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: -apple-system, "SF Pro Display", "Inter", "Segoe UI", Helvetica, Arial, sans-serif;

  /* Espaçamentos e formas */
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max-width: 1180px;
}

/* ---------------------------------------------------------------------
   2. RESET E BASE
   Deixa o comportamento igual em todos os navegadores.
--------------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ast-bg);
  color: var(--ast-ink);
  font-family: var(--font-base);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* Respeita usuários que preferem menos animação (acessibilidade) */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------------------------------------------------------------------
   3. UTILITÁRIOS
--------------------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-alt { background: var(--ast-bg-alt); }
/* Antes usava var(--ast-ink) como fundo, o que quebrou quando o modo
   escuro virou padrão (--ast-ink passou a ser quase branco, gerando
   fundo e texto brancos ao mesmo tempo = ilegível). Agora usa as
   variáveis de superfície/texto do tema — se adapta sozinho aos dois
   modos, sempre legível. */
.section-dark { background: var(--ast-bg-alt); color: var(--ast-ink); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head .eyebrow {
  color: var(--ast-red);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
}
.section-head p {
  margin-top: 14px;
  color: var(--ast-ink-soft);
  font-size: 17px;
}
.text-center { text-align: center; }

/* Elemento reservado para animação de "aparecer ao rolar a página" —
   controlado pelo main.js. Basta adicionar a classe "reveal" em
   qualquer elemento HTML para ele ganhar esse efeito. */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }


/* ---------------------------------------------------------------------
   4. CABEÇALHO / MENU
   O mesmo cabeçalho é copiado em todas as páginas (cada página é um
   arquivo independente, como vocês pediram). Se quiser adicionar um
   item de menu novo, repita a alteração em cada arquivo .html — todos
   têm o bloco marcado com "INÍCIO DO CABEÇALHO".
--------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(16, 16, 20, 0.75);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--ast-line);
}
.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header__logo img { height: 28px; width: auto; }
.site-header__logo { margin-right: 20px; flex-shrink: 0; }
.site-nav {
  display: flex;
  align-items: center;
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ast-ink-soft);
  transition: color .2s var(--ease);
  white-space: nowrap;
  /* Espaçamento via margin (em vez de "gap") para garantir compatibilidade
     com absolutamente qualquer navegador, mesmo os mais antigos. */
  margin-right: 26px;
}
.site-nav a:last-child { margin-right: 0; }
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--ast-ink); }
.site-nav a[aria-current="page"] { color: var(--ast-red); }

.site-header__cta {
  background: var(--ast-red);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s var(--ease), transform .2s var(--ease);
  /* Impede que o botão "encolha" e quebre o texto em duas linhas quando
     o menu fica cheio (ex.: depois que adicionamos o item "Projetos") */
  white-space: nowrap;
  flex-shrink: 0;
}
.site-header__cta:hover { background: var(--ast-red-dark); transform: translateY(-1px); }

/* O botão "Fale conosco" de dentro do menu (mobile-cta) só deve aparecer
   quando o menu está no formato mobile (veja o media query lá embaixo).
   Sem esta regra, ele também aparecia duplicado no desktop, espremido
   dentro do menu horizontal — por isso o texto quebrava em duas linhas. */
.mobile-cta { display: none; }

/* Botão hambúrguer (some no desktop, aparece no celular) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 34px;
  height: 34px;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  height: 2px;
  background: var(--ast-ink);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle span { top: 16px; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span::after { transform: translateY(-8px) rotate(-45deg); }


/* ---------------------------------------------------------------------
   5. RODAPÉ
--------------------------------------------------------------------- */
.site-footer {
  /* O rodapé é sempre escuro, independente do tema claro/escuro do
     restante do site (por isso usa uma cor fixa, e não var(--ast-ink),
     que muda de acordo com o tema escolhido pelo visitante). */
  background: var(--ast-deep-950);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-grid h4 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-grid a, .footer-grid p {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 10px;
  transition: color .2s var(--ease);
}
.footer-grid a:hover { color: #fff; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.55); max-width: 280px; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease);
}
.footer-social a:hover { background: var(--ast-red); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255,255,255,.4);
}


/* ---------------------------------------------------------------------
   6. HERO (banner principal no topo de cada página)

   Tratamento visual atualizado a pedido do marketing: a imagem fica
   limpa (sem filtro escuro/vermelho por cima, sem ícones decorativos
   espalhados) e o texto vem LOGO ABAIXO da imagem, não mais por cima
   dela. Isso também prepara o site para as imagens em PNG com fundo
   transparente — sem filtro por cima, a transparência aparece de
   verdade, integrando a imagem ao fundo da página (claro ou escuro).
--------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ast-bg);
}
.hero__bg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  /* Efeito de entrada: a imagem é o elemento que "chega" com
     movimento na página agora (em vez do texto, como era antes). */
  opacity: 0;
  transform: translateY(28px) scale(1.02);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.hero.is-visible .hero__bg {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* O overlay escuro/glow e os ícones decorativos foram removidos a
   pedido do marketing — mantemos as classes (escondidas) só para não
   quebrar nada caso apareçam em alguma página antiga em cache. */
.hero__scrim,
.hero__motif {
  display: none;
}
.hero__content {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 64px;
  text-align: center;
  color: var(--ast-ink);
}
.hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ast-red);
  background: rgba(228,38,44,0.1);
  border: 1px solid rgba(228,38,44,0.3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
  max-width: 820px;
  margin: 0 auto;
}
.hero h1 em {
  font-style: normal;
  color: var(--ast-red);
}
.hero p {
  margin: 22px auto 0;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--ast-ink-soft);
  max-width: 560px;
}
.hero__actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* Selo "+ de 17 anos de experiência" — usado na página inicial, logo
   abaixo do texto principal do hero (ver index.html). Tem sua própria
   entrada suave, um pouco depois da imagem e do texto. */
.hero__badge {
  display: inline-block;
  margin-top: 40px;
  padding: 16px 32px;
  border-radius: 999px;
  background: var(--ast-red);
  color: #fff;
  font-size: clamp(14px, 2vw, 17px);
  font-weight: 600;
  box-shadow: 0 16px 32px rgba(228,38,44,.28);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: .3s;
}
.hero.is-visible .hero__badge {
  opacity: 1;
  transform: translateY(0);
}
.hero__badge strong { font-weight: 800; }

/* ---------------------------------------------------------------------
   6.1 IMAGENS ABAIXO DOS NÚMEROS ("Resultados que contam nossa história")
--------------------------------------------------------------------- */
.stat-block img {
  width: 100%;
  max-width: 180px;
  margin: 20px auto 0;
  display: block;
  border-radius: 90px 90px 16px 16px;
  box-shadow: var(--shadow-lg);
}


/* Hero menor, usado nas páginas internas (Sobre, Suporte, etc.) */
/* Hero menor, usado nas páginas internas (Sobre, Suporte, etc.) —
   como o hero agora não tem mais altura mínima fixa (o tamanho vem da
   própria imagem), esta classe só limita a altura máxima da imagem
   pra não ficar exagerada em páginas internas. */
.hero--compact .hero__bg { max-height: 360px; }

/* Variante SEM limite de altura — usada quando a arte já vem no
   tamanho certo (controlado no próprio arquivo da imagem), como no
   banner da página de Suporte. */
.hero--auto .hero__bg { max-height: none; }
/* Um pouco de respiro entre o menu (sempre fixo no topo) e o início
   do banner, pra nunca dar a sensação de que o menu está "cortando"
   a arte. */
.hero--auto { padding-top: 4px; }


/* ---------------------------------------------------------------------
   7. CARTÕES E GRADES
--------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #17171d;
  border: 1px solid var(--ast-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__image { aspect-ratio: 16/10; overflow: hidden; }
.card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__image img { transform: scale(1.06); }
.card__body { padding: 24px; }
.card__body h3 { font-size: 18px; margin-bottom: 8px; }
.card__body p { font-size: 14px; color: var(--ast-ink-soft); }
.card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ast-red);
  background: rgba(228,38,44,.08);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* "Selo" com a logo da empresa, sobreposto no canto da foto do card.
   Ver assets/images/logos/ — envie o PNG (fundo transparente) com o
   mesmo nome apontado no campo "logo" de assets/data/empresas.json. */
.card__image { position: relative; }
.card__logo-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(255,255,255,.95);
  border-radius: 12px;
  padding: 8px 12px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  max-height: 40px;
}
.card__logo-badge img { height: 22px; width: auto; max-width: 120px; object-fit: contain; }

/* Cartão "de vidro", usado sobre imagens/fundos escuros */
.card-glass {
  background: var(--ast-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--radius);
  padding: 28px;
}


/* ---------------------------------------------------------------------
   8. BOTÕES
--------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.btn-primary { background: var(--ast-red); color: #fff; }
.btn-primary:hover { background: var(--ast-red-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(228,38,44,.32); }
.btn-light { background: #fff; color: var(--ast-deep-950); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; border-color: var(--ast-line); color: var(--ast-ink); }
.btn-outline:hover { background: var(--ast-bg-alt); }
.btn-dark { background: var(--ast-deep-950); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-block { width: 100%; justify-content: center; }


/* ---------------------------------------------------------------------
   9. SEÇÃO "MARCAS QUE CONFIAM" (logos parceiros)
--------------------------------------------------------------------- */
.brands-strip {
  padding: 56px 0;
  border-top: 1px solid var(--ast-line);
  border-bottom: 1px solid var(--ast-line);
}
.brands-strip img { border-radius: var(--radius); box-shadow: var(--shadow); }


/* ---------------------------------------------------------------------
   9.1 DEPOIMENTOS DE CLIENTES
--------------------------------------------------------------------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--ast-bg-alt);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.testimonial-card__quote {
  font-size: 46px;
  line-height: 1;
  color: var(--ast-red);
  font-family: Georgia, serif;
  opacity: .3;
  margin-bottom: 4px;
}
.testimonial-card p.texto {
  font-size: 15px;
  color: var(--ast-ink);
  line-height: 1.7;
  margin-bottom: 24px;
  min-height: 96px;
}
.testimonial-card__autor {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-card__autor img {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  flex-shrink: 0;
}
.testimonial-card__autor strong { display: block; font-size: 14px; }
.testimonial-card__autor span { font-size: 12.5px; color: var(--ast-ink-soft); }

/* ---------------------------------------------------------------------
   9.2 VÍDEO INSTITUCIONAL E ASTCAST
--------------------------------------------------------------------- */
/* Player de vídeo com proporção 16:9 sempre correta, em qualquer tela */
.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--ast-ink);
}
.video-embed iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.video-embed__placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; color: rgba(255,255,255,.85); text-align: center; padding: 24px;
}
.video-embed__placeholder .play-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--ast-red); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}

.podcast-card { padding: 0; overflow: hidden; }
.podcast-card .video-embed { border-radius: 0; box-shadow: none; }
.podcast-card__body { padding: 20px; }
.podcast-card__body h3 { font-size: 15.5px; margin-bottom: 6px; }
.podcast-card__body p { font-size: 13px; color: var(--ast-ink-soft); }

/* ---------------------------------------------------------------------
   10. SEÇÃO INSTAGRAM
   Esta grade é preenchida automaticamente pelo assets/js/instagram.js,
   usando o arquivo assets/data/instagram-feed.json como fonte.
   Ver README do projeto para as opções de manter isso "ao vivo".
--------------------------------------------------------------------- */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.instagram-grid a {
  position: relative;
  display: block;
  aspect-ratio: 1/1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ast-bg-alt);
}
.instagram-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.instagram-grid a:hover img { transform: scale(1.08); }
.instagram-grid .ig-icon {
  position: absolute; top: 10px; right: 10px;
  width: 22px; height: 22px;
  opacity: .9;
}
.instagram-cta { text-align: center; margin-top: 32px; }


/* ---------------------------------------------------------------------
   11. FORMULÁRIOS (Contato, Currículo)
--------------------------------------------------------------------- */
.form-card {
  background: var(--ast-bg-alt);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ast-ink-soft);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--ast-line);
  background: var(--ast-bg);
  color: var(--ast-ink);
  font-family: var(--font-base);
  font-size: 15px;
  outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--ast-red);
  box-shadow: 0 0 0 4px rgba(228,38,44,.12);
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.file-drop {
  border: 2px dashed var(--ast-line);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  color: var(--ast-ink-soft);
  font-size: 14px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.file-drop.is-dragover { border-color: var(--ast-red); background: rgba(228,38,44,.04); }
.form-note { font-size: 12.5px; color: var(--ast-ink-soft); margin-top: 14px; }
.form-success, .form-error {
  display: none;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  margin-top: 18px;
}
.form-success { background: rgba(30,174,90,.1); color: #1e7a3c; }
.form-error { background: rgba(228,38,44,.1); color: var(--ast-red-dark); }


/* ---------------------------------------------------------------------
   12. PÁGINA DE EMPRESA (landing individual dentro de /empresas/)
   Mesmo tratamento do hero da página inicial: imagem limpa (sem
   filtro/glow) com entrada suave, texto abaixo dela, cores que se
   adaptam ao tema claro/escuro.
--------------------------------------------------------------------- */
.company-hero {
  position: relative;
  overflow: hidden;
  background: var(--ast-bg);
}
.company-hero__bg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  opacity: 0;
  transform: translateY(28px) scale(1.02);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.company-hero.is-visible .company-hero__bg {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* Overlay escuro e halos de glow removidos a pedido do marketing —
   classes mantidas (escondidas) só por segurança/compatibilidade. */
.company-hero__scrim,
.company-hero::after {
  display: none;
}
.company-hero__content {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px 56px;
  color: var(--ast-ink);
}
.company-hero__logo { height: 46px; margin-bottom: 26px; }
.company-hero h1 { font-size: clamp(30px, 5vw, 50px); font-weight: 800; text-transform: uppercase; }
.company-hero p { margin-top: 18px; font-size: 18px; max-width: 560px; color: var(--ast-ink-soft); }
.company-back { color: var(--ast-ink-soft) !important; }

/* Variante sem foto de fundo — usada quando ainda não temos uma imagem
   real da empresa (ex.: WOW Telecom). Usa um gradiente rico em vez de
   uma foto de banco de imagens genérica. Basta adicionar de volta a
   tag <img class="company-hero__bg"> quando tiverem uma foto real. */
.company-hero--nophoto {
  background:
    radial-gradient(ellipse 600px 500px at 85% 10%, rgba(0,144,255,.35) 0%, rgba(0,144,255,0) 60%),
    radial-gradient(ellipse 500px 500px at 10% 100%, rgba(111,107,255,.3) 0%, rgba(111,107,255,0) 60%),
    linear-gradient(160deg, var(--ast-deep-950) 0%, var(--ast-deep-800) 100%);
}
.company-hero--nophoto .company-hero__content { color: #fff; padding-top: 56px; }
.company-hero--nophoto .company-hero p { color: rgba(255,255,255,.85); }
.company-hero--nophoto .company-back { color: rgba(255,255,255,.75) !important; }
.company-hero--nophoto .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.company-hero--nophoto .btn-outline:hover { background: rgba(255,255,255,.1); }

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-list li {
  background: var(--ast-bg-alt);
  border-radius: var(--radius);
  padding: 24px;
}
.feature-list .icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(228,38,44,.1);
  color: var(--ast-red);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  margin-bottom: 14px;
}
.feature-list strong { display: block; font-size: 15px; margin-bottom: 6px; }
.feature-list span { font-size: 13.5px; color: var(--ast-ink-soft); }

.company-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ast-ink-soft);
  margin-bottom: 18px;
}
.company-back:hover { color: var(--ast-ink); }


/* ---------------------------------------------------------------------
   13. ANIMAÇÕES REUTILIZÁVEIS
--------------------------------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .8s var(--ease) forwards; }
/* Dentro do hero, o efeito de entrada agora é da IMAGEM (.hero__bg),
   não do texto — por isso neutraliza qualquer .fade-up usado nos
   textos do hero em páginas já existentes, sem precisar editar cada
   arquivo .html um por um. */
.hero .fade-up { animation: none; opacity: 1; }


/* ---------------------------------------------------------------------
   14. RESPONSIVO — celular e tablet
   Sempre que mexer em algo do layout "grande", cheque aqui embaixo se
   precisa de um ajuste equivalente para telas pequenas.
--------------------------------------------------------------------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-list { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    top: 62px;
    left: 0; right: 0;
    background: var(--ast-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--ast-line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle { display: block; }
  .site-header__cta { display: none; }
  .site-nav .site-header__cta.mobile-cta { display: inline-flex; margin-top: 4px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 64vh; }
}


/* =====================================================================
   15. MODO CLARO / ESCURO
   Ativado ao clicar no botão de sol/lua no cabeçalho (injetado
   automaticamente pelo main.js). A preferência fica salva no navegador
   do visitante (localStorage), então na próxima visita já abre no
   modo escolhido.
   ===================================================================== */
html[data-theme="light"] {
  --ast-ink: #1A1A1A;
  --ast-ink-soft: #6b6b6f;
  --ast-bg: #ffffff;
  --ast-bg-alt: #f5f5f7;
  --ast-line: rgba(0, 0, 0, 0.08);
  --ast-surface: rgba(255, 255, 255, 0.75);
}
html[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.8);
  border-bottom-color: var(--ast-line);
}
html[data-theme="light"] .site-nav {
  background: #fff;
}
html[data-theme="light"] .card {
  background: #fff;
  border-color: var(--ast-line);
}
html[data-theme="light"] .form-row input,
html[data-theme="light"] .form-row select,
html[data-theme="light"] .form-row textarea {
  background: #fff;
  color: var(--ast-ink);
  border-color: var(--ast-line);
}
html[data-theme="light"] .download-item {
  background: #fff;
}

.theme-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--ast-line);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--ast-ink);
  transition: background .2s var(--ease), transform .2s var(--ease);
  flex-shrink: 0;
}
.theme-toggle:hover { background: var(--ast-bg-alt); transform: translateY(-1px); }
.theme-toggle svg { width: 17px; height: 17px; }

/* Ícone rápido de WhatsApp, ao lado direito do botão "Fale conosco" —
   por padrão: círculo vazado (sem preenchimento) com contorno e ícone
   vermelhos. Ao passar o mouse: preenche de vermelho sólido, ícone
   branco (igual ao botão "Fale conosco"). */
.whatsapp-quick {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--ast-red);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  color: var(--ast-red);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
  flex-shrink: 0;
}
.whatsapp-quick svg { width: 18px; height: 18px; }
.whatsapp-quick:hover {
  background: var(--ast-red);
  color: #fff;
  transform: translateY(-1px);
}
/* Por padrão (modo escuro, sem atributo no <html>), mostra a lua —
   quando o visitante muda para o modo claro, mostra o sol no lugar. */
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
html[data-theme="light"] .theme-toggle .icon-sun { display: block; }
html[data-theme="light"] .theme-toggle .icon-moon { display: none; }


/* =====================================================================
   16. CABEÇALHO QUE RECOLHE AO ROLAR
   O menu esconde suavemente ao rolar para baixo, e reaparece assim que
   o visitante rola um pouco para cima — libera espaço de leitura sem
   nunca deixar o menu longe de alcance.
   ===================================================================== */
.site-header {
  transition: transform .35s var(--ease), background .3s var(--ease);
}
.site-header.header--hidden {
  transform: translateY(-100%);
}


/* =====================================================================
   17. FAIXA DE CLIENTES/PARCEIROS EM MOVIMENTO (MARQUEE)
   Logos passando devagar na horizontal, em looping infinito — a lista
   vem de assets/data/parceiros.json.
   ===================================================================== */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: .75;
  filter: grayscale(1);
  transition: opacity .25s var(--ease), filter .25s var(--ease);
}
.marquee__track img:hover { opacity: 1; filter: grayscale(0); }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* =====================================================================
   18. "JUNTE-SE À NOSSA COMUNIDADE" — ícones sociais animados
   ===================================================================== */
.community-block {
  text-align: center;
  padding: 56px 0;
}
.community-block h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ast-ink-soft);
  margin-bottom: 28px;
}
.community-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.community-icons a {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--ast-bg-alt);
  border: 1px solid var(--ast-line);
  color: var(--ast-ink);
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.community-icons a svg { width: 20px; height: 20px; }
.community-icons a:hover {
  background: var(--ast-red);
  color: #fff;
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 12px 24px rgba(228,38,44,.3);
}
/* leve "respiração" contínua, discreta, pra chamar atenção sem cansar */
@keyframes icon-breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.community-icons a { animation: icon-breathe 3.2s ease-in-out infinite; }
.community-icons a:nth-child(2) { animation-delay: .3s; }
.community-icons a:nth-child(3) { animation-delay: .6s; }
.community-icons a:nth-child(4) { animation-delay: .9s; }
.community-icons a:nth-child(5) { animation-delay: 1.2s; }
.community-icons a:nth-child(6) { animation-delay: 1.5s; }
@media (prefers-reduced-motion: reduce) {
  .community-icons a { animation: none; }
}


/* =====================================================================
   19. VITRINE "EMPRESAS DO GRUPO" — prévia interativa (estilo tabs)
   3 empresas de cada lado, um cartão de destaque no centro que troca
   de conteúdo ao clicar em qualquer uma das 6 — sem sair da página
   inicial. Ver o link completo em /empresas/index.html continua igual.
   ===================================================================== */
.showcase {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 460px) 1fr;
  gap: 28px;
  align-items: center;
}
.showcase__side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.showcase__tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--ast-line);
  background: var(--ast-bg-alt);
  cursor: pointer;
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
  text-align: left;
}
.showcase__tab:hover { transform: translateX(4px); }
.showcase__side:last-child .showcase__tab:hover { transform: translateX(-4px); }
.showcase__tab.is-active {
  border-color: var(--ast-red);
  background: rgba(228,38,44,.06);
}
.showcase__tab img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.showcase__tab span { font-size: 14px; font-weight: 600; }

.showcase__center {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  background: var(--ast-deep-950);
}
.showcase__center img.showcase__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .55; transition: opacity .4s var(--ease);
}
.showcase__center::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,13,.15) 0%, rgba(8,8,13,.92) 100%);
}
.showcase__center-content {
  position: relative; z-index: 2;
  padding: 32px;
  color: #fff;
}
.showcase__center-content span.tag {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--ast-red); background: rgba(228,38,44,.18);
  padding: 4px 10px; border-radius: 999px;
}
.showcase__center-content h3 { font-size: 24px; margin: 12px 0 8px; }
.showcase__center-content p { font-size: 14px; color: rgba(255,255,255,.82); margin-bottom: 18px; }

@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase__side { flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .showcase__tab { flex-shrink: 0; }
}


/* =====================================================================
   20. UTILITÁRIOS DE LAYOUT "DE PONTA A PONTA" E CONTINUIDADE VISUAL
   ===================================================================== */
.bleed { max-width: none; padding: 0; }
/* Linha de conexão sutil entre seções — dá a sensação de continuidade
   pedida (em vez de blocos isolados, um "flui" visualmente pro outro) */
.section-connector {
  height: 90px;
  background: linear-gradient(180deg, transparent 0%, rgba(228,38,44,.5) 50%, transparent 100%);
  width: 1px;
  margin: 0 auto;
  opacity: .4;
}

/* =====================================================================
   21. VITRINE RADIAL "EMPRESAS DO GRUPO"
   Usa as artes reais desenhadas pelo design (recorte orgânico + logo
   de cada empresa já aplicada, em assets/images/vitrine/) exatamente
   como foram entregues — sem recolorir. O clique em qualquer pétala
   leva direto para a página daquela empresa; o hover aplica um filtro
   cinza sutil, só para indicar interatividade.
   ===================================================================== */
.wheel {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 900 / 620;
}
.wheel__petal {
  position: absolute;
  display: block;
  cursor: pointer;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.3));
  transition: transform .3s var(--ease), filter .3s var(--ease);
  z-index: 1;
}
.wheel__petal:hover,
.wheel__petal.is-active {
  transform: scale(1.055);
  filter: drop-shadow(0 14px 24px rgba(0,0,0,.4));
  z-index: 2;
}
.wheel__petal-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: filter .3s var(--ease);
}
.wheel__petal:hover .wheel__petal-img,
.wheel__petal.is-active .wheel__petal-img {
  filter: grayscale(65%) brightness(.94);
}

/* Posições de cada pétala — percentuais sobre o container .wheel
   (900x620 de referência), ajustadas para as peças se encaixarem
   como no exemplo do design (bordas se tocando/sobrepondo). Ajuste
   fino aqui se precisar reposicionar alguma peça depois de ver no
   site publicado. */
.wheel__petal--grupoast   { width: 21%; top: 0%;    left: 39.5%; aspect-ratio: 651 / 485; z-index: 3; }
.wheel__petal--automattize{ width: 21%; top: 6%;    left: 22%;   aspect-ratio: 567 / 537; }
.wheel__petal--wow        { width: 21%; top: 6%;    left: 57%;   aspect-ratio: 567 / 537; }
.wheel__petal--alphatec   { width: 18%; top: 25%;   left: 4%;    aspect-ratio: 411 / 602; }
.wheel__petal--visse      { width: 18%; top: 25%;   left: 78%;   aspect-ratio: 411 / 602; }
.wheel__petal--arena      { width: 21%; top: 52%;   left: 10%;   aspect-ratio: 537 / 567; }
.wheel__petal--techcenter { width: 21%; top: 52%;   left: 69%;   aspect-ratio: 537 / 567; }

.wheel__hub {
  position: absolute;
  left: 50%;
  top: 60%;
  transform: translate(-50%, -50%);
  width: 30%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ast-bg-alt);
  border: 1px solid var(--ast-line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6%;
  text-decoration: none;
  color: inherit;
}
.wheel__hub-inner { transition: opacity .2s ease; width: 100%; }
.wheel__hub-image {
  max-width: 82%;
  max-height: 74px;
  margin: 0 auto 10px;
  display: block;
  object-fit: contain;
}
.wheel__hub-tag {
  display: block;
  color: var(--ast-red);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.wheel__hub-desc {
  color: var(--ast-ink-soft);
  font-size: 12.5px;
  line-height: 1.5;
}

/* Telas menores: a roda vira uma lista simples de cards (mais fácil de
   usar com o dedo do que tentar acertar pétalas pequenas). */
@media (max-width: 760px) {
  .wheel { display: none; }
  .wheel-fallback { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (min-width: 761px) {
  .wheel-fallback { display: none; }
}
