/* Menu e rodapé do site. Arquivo próprio porque as páginas de ActiveCampaign e de Bitrix24 usam os mesmos sem carregar o design.css.
   Carregar depois do design.css: nos empates, estas regras valem. */
.topo { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--linha, rgba(13, 10, 26, .1)); color: var(--tinta, #0d0a1a); font: 400 17px/1.65 'Open Sans', system-ui, sans-serif; }
.topo, .topo * { box-sizing: border-box; }
.topo a { color: inherit; }
.topo img { display: block; max-width: 100%; }
.topo .w { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; max-width: 1280px; margin: 0 auto; padding-inline: max(24px, env(safe-area-inset-left, 0px)); }
.logo img { width: 112px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; text-decoration: none; transition: color .2s; }
.nav a:not(.btn):hover, .nav a:not(.btn)[aria-current] { color: var(--roxo, #511cc4); }
.nav .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border-radius: 8px; background: var(--roxo, #511cc4); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; box-shadow: none; transition: background .2s; }
.nav .btn:hover { background: var(--roxo-escuro, #3b1490); }
.menu { display: none; }
@media (max-width: 1240px) { .topo .w > .nav { gap: 18px; } }

@media (max-width: 1080px) { /* menu com 6 páginas desde 16/11/2026 (ActiveCampaign e Bitrix24 ficaram só no rodapé) */
    .topo > .w > .nav { display: none; }
    .menu { display: block; position: relative; }
    .menu summary { display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; list-style: none; }
    .menu summary::-webkit-details-marker { display: none; }
    .menu summary span, .menu summary span::before, .menu summary span::after { content: ''; display: block; width: 22px; height: 2px; background: var(--tinta, #0d0a1a); }
    .menu summary span { position: relative; }
    .menu summary span::before { position: absolute; top: -7px; }
    .menu summary span::after { position: absolute; top: 7px; }
    .menu .nav { display: grid; position: absolute; right: 0; top: 56px; width: min(280px, 80vw); gap: 0; padding: 12px 20px 20px; background: #fff; border: 1px solid var(--linha, rgba(13, 10, 26, .1)); border-radius: 10px; box-shadow: 0 1px 2px rgba(13, 10, 26, .04), 0 12px 32px rgba(81, 28, 196, .07); }
    .menu .nav .btn { margin-top: 8px; }
}

/* Rodapé */
.rodape { font: 400 14px/1.65 'Open Sans', system-ui, sans-serif; }
.rodape, .rodape * { box-sizing: border-box; }
.rodape p { margin: 0; }
.rodape a { color: inherit; }
.rodape img { display: block; max-width: 100%; }
.rodape .w { max-width: 1280px; margin: 0 auto; padding-inline: max(24px, env(safe-area-inset-left, 0px)); }
.rodape { padding-block: 64px 32px; background: #0a0618; font-size: 14px; color: rgba(254, 236, 209, .67); }
.rodape a { text-decoration: none; transition: color .2s; }
.rodape a:hover { color: #feecd1; }
.rodape :focus-visible { outline-color: #feecd1; }
.rodape-topo { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.rodape-marca img { width: 112px; height: auto; }
.rodape-marca p { max-width: 280px; margin-top: 12px; line-height: 1.6; }
.rodape-links { display: flex; flex-wrap: wrap; gap: 32px clamp(40px, 6vw, 88px); }
.rodape-links p { margin-bottom: 12px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(254, 236, 209, .55); }
.rodape-links a, .rodape-links span { display: block; padding-block: 5px; }
.rodape-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid rgba(254, 236, 209, .1); font-size: 12px; }
.rodape-base a { margin-left: 12px; }
@media (max-width: 720px) { .rodape-base a { margin-left: 0; display: inline-block; } }
