/* ============================================================
   Aster Telecom — shell (topo e rodapé)
   Compartilhado pela home (com home.css) e pelas páginas de
   solução (com style.css). Classes com prefixo próprio para não
   colidir com o style.css antigo.
   ============================================================ */

:root {
  --ax-laranja: #F26A21;
  --ax-laranja-texto: #B4460B;   /* laranja escuro para texto sobre branco (5,3:1) */
  --ax-laranja-tint: #FEF0E7;
  --ax-grafite: #3B3A3C;
  --ax-tinta: #252427;
  --ax-cinza: #5F5E62;
  --ax-claro: #F7F7F8;
  --ax-borda: #E5E5E7;
  --ax-wrap: 1200px;
}

.ax-wrap { max-width: var(--ax-wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- topo ---------- */
.ax-top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--ax-borda); font-family: Inter, system-ui, sans-serif; }
.ax-top .ax-wrap { display: flex; align-items: center; gap: 32px; height: 88px; }
.ax-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ax-grafite); }
.ax-logo img { display: block; width: auto; height: 72px; }
.ax-foot .ax-logo img { height: 88px; }
.ax-menu { display: flex; align-items: center; gap: 28px; margin-left: auto; font-weight: 500; font-size: 16px; }
.ax-menu a { display: inline-block; padding: 8px 0; text-decoration: none; color: var(--ax-tinta); }
.ax-menu a:hover { color: var(--ax-laranja-texto); }
.ax-drop { position: relative; }
.ax-drop > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); margin: 0 0 4px 8px; }
.ax-drop ul { list-style: none; margin: 0; position: absolute; top: 100%; left: -16px; min-width: 300px; background: #fff; border: 1px solid var(--ax-borda); border-radius: 12px; padding: 10px; box-shadow: 0 20px 40px rgba(37,36,39,.12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.ax-drop:hover ul, .ax-drop:focus-within ul { opacity: 1; visibility: visible; transform: none; }
.ax-drop li a { display: block; padding: 9px 12px; border-radius: 8px; }
.ax-drop li a:hover { background: var(--ax-laranja-tint); }
/* item em destaque no menu (lançamento) */
.ax-menu a.ax-novo, .ax-mmenu a.ax-novo { font-weight: 600; }
.ax-novo span { display: inline-block; margin-left: 6px; font: 700 11px/1 Inter, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: #128C4A; padding: 4px 7px; border-radius: 9999px; vertical-align: 2px; }
.ax-cta { display: inline-flex; align-items: center; font: 600 15px/1 Inter, system-ui, sans-serif; padding: 12px 20px; border-radius: 9999px; background: var(--ax-laranja); color: var(--ax-tinta); text-decoration: none; transition: background .15s, transform .15s; white-space: nowrap; }
.ax-cta:hover { background: #FF7A33; transform: translateY(-1px); }
.ax-mmenu { display: none; }

/* ícone do WhatsApp (home e páginas de solução) */
.ax-wa { width: 20px; height: 20px; fill: currentColor; stroke: none; flex-shrink: 0; }
.wa-float .ax-wa { width: 28px; height: 28px; }

/* ---------- rodapé ---------- */
.ax-foot { background: #1B1A1D; color: #D6D5D9; padding: 64px 0 32px; font: 400 16px/1.6 Inter, system-ui, sans-serif; }
.ax-foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.ax-foot h2 { font: 700 13px/1 Montserrat, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.ax-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ax-foot a { color: #D6D5D9; text-decoration: none; }
.ax-foot a:hover { color: var(--ax-laranja); }
.ax-foot .ax-logo { color: #fff; }
.ax-foot-sobre { margin-top: 16px; max-width: 300px; }
.ax-copy { margin-top: 48px; padding-top: 24px; border-top: 1px solid #38373B; font-size: 14px; color: #B3B2B7; }

@media (max-width: 1080px) {
  .ax-menu { gap: 18px; font-size: 15px; }
  .ax-foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .ax-menu { display: none; }
  .ax-mmenu { display: block; margin-left: auto; position: relative; }
  .ax-mmenu summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 15px; padding: 10px 16px; border: 1.5px solid var(--ax-tinta); border-radius: 9999px; }
  .ax-mmenu summary::-webkit-details-marker { display: none; }
  .ax-mmenu ul { list-style: none; margin: 0; position: absolute; right: 0; top: calc(100% + 8px); width: 280px; background: #fff; border: 1px solid var(--ax-borda); border-radius: 12px; padding: 10px; box-shadow: 0 20px 40px rgba(37,36,39,.14); }
  .ax-mmenu a { display: block; padding: 10px 12px; text-decoration: none; color: var(--ax-tinta); }
  .ax-mmenu li.ax-sub a { padding-left: 24px; font-size: 15px; color: var(--ax-cinza); }
}
@media (max-width: 600px) {
  .ax-wrap { padding: 0 16px; }
  .ax-top .ax-wrap { height: 64px; gap: 10px; }
  .ax-logo img { height: 56px; }
  .ax-top .ax-cta { display: none; }
  .ax-foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ax-cta, .ax-drop ul { transition: none; }
}
