/*
 * Cabeçalho exclusivo de cada modelo. Usa as variáveis do modelo (cores, raio e fontes) e só muda
 * o desenho: barra de utilidades, disposição do logo, do menu e dos botões, e o menu do celular.
 * O cabeçalho do carrinho (site-header-checkout) herda as cores, sem mudar a disposição.
 */

/* Horizonte: barra clássica de operadora, com filete laranja e sublinhado no menu */
.tema-horizonte .site-header { border-top: 3px solid var(--brand-orange); }
@media (min-width: 961px) {
  .tema-horizonte .main-nav a { position: relative; border-radius: 0; }
  .tema-horizonte .main-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--brand-orange); transform: scaleX(0); transition: transform .2s; }
  .tema-horizonte .main-nav a:hover { background: none; }
  .tema-horizonte .main-nav a:hover::after { transform: scaleX(1); }
}

/* Pulsar: menu dentro de uma cápsula escura e botão com brilho verde */
.tema-pulsar .utility-bar { background: #070c16; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.tema-pulsar .utility-inner p::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--brand-orange); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-orange) 25%, transparent); vertical-align: 1px; }
.tema-pulsar .site-header { background: color-mix(in srgb, var(--brand-navy) 94%, #000); }
.tema-pulsar .header-cta { box-shadow: 0 0 0 0 transparent, 0 8px 26px -6px color-mix(in srgb, var(--brand-orange) 70%, transparent); }
.tema-pulsar .header-phone-icon { color: var(--brand-orange); background: transparent; box-shadow: inset 0 0 0 2px var(--brand-orange); }
.tema-pulsar .header-phone:hover .header-phone-icon { color: var(--on-cta); background: var(--brand-orange); }
@media (min-width: 961px) {
  .tema-pulsar .main-nav { margin-inline: auto; padding: 5px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 999px; background: rgba(255, 255, 255, .04); }
  .tema-pulsar .main-nav a { border-radius: 999px; }
  .tema-pulsar .main-nav a:hover { color: var(--on-cta); background: var(--brand-orange); }
  .tema-pulsar .main-nav a:hover .nav-icon { color: inherit; }
}

/* Litoral: logo ao centro, telefone e botão nas pontas e menu numa segunda linha */
.tema-litoral .utility-bar { color: var(--ink); background: color-mix(in srgb, var(--brand-blue) 10%, #fff); }
.tema-litoral .utility-inner a { color: var(--brand-navy); }
.tema-litoral .utility-inner a:hover { color: var(--brand-orange); }
.tema-litoral .utility-sep { color: var(--muted); }
@media (min-width: 961px) {
  .tema-litoral .site-header:not(.site-header-checkout):not(.is-recolhido) .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "fone marca acao" "menu menu menu"; row-gap: 0; column-gap: 24px; min-height: 0; padding-top: 14px; }
  .tema-litoral .site-header:not(.site-header-checkout):not(.is-recolhido) .header-actions { display: contents; }
  .tema-litoral .site-header:not(.site-header-checkout):not(.is-recolhido) .brand { grid-area: marca; justify-self: center; }
  .tema-litoral .site-header:not(.site-header-checkout):not(.is-recolhido) .header-phone { grid-area: fone; justify-self: start; }
  .tema-litoral .site-header:not(.site-header-checkout):not(.is-recolhido) .header-cta { grid-area: acao; justify-self: end; }
  .tema-litoral .site-header:not(.site-header-checkout):not(.is-recolhido) .main-nav { grid-area: menu; justify-content: center; margin: 12px 0 0; padding-top: 4px; border-top: 1px solid var(--line); }
  .tema-litoral .main-nav a { position: relative; padding-block: 13px; border-radius: 0; }
  .tema-litoral .main-nav a::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--brand-orange); opacity: 0; transition: opacity .2s; }
  .tema-litoral .main-nav a:hover { background: none; }
  .tema-litoral .main-nav a:hover::after { opacity: 1; }
}
@media (min-width: 961px) and (max-width: 1180px) {
  .tema-litoral .site-header:not(.site-header-checkout):not(.is-recolhido) .header-phone { display: flex; }
  .tema-litoral .site-header:not(.site-header-checkout):not(.is-recolhido) .header-phone-copy span { display: none; }
}

/* Prisma: faixa em degradê, menu centralizado e botão branco */
.tema-prisma .utility-bar { background: var(--brand-deepest, var(--brand-navy-deep)); }
.tema-prisma .site-header { background: linear-gradient(100deg, var(--brand-navy) 0%, color-mix(in srgb, var(--brand-blue) 70%, var(--brand-navy)) 55%, color-mix(in srgb, var(--brand-orange) 75%, var(--brand-navy)) 100%); border-bottom: 0; }
.tema-prisma .header-cta { color: var(--brand-navy); background: #fff; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); }
.tema-prisma .header-cta:hover { color: var(--brand-navy); background: color-mix(in srgb, #fff 88%, var(--brand-orange)); }
.tema-prisma .header-phone-icon { color: #fff; background: rgba(255, 255, 255, .16); }
.tema-prisma .main-nav .nav-icon { color: #fff; opacity: .85; }
@media (min-width: 961px) {
  .tema-prisma .main-nav { margin-inline: auto; }
  .tema-prisma .main-nav a { color: rgba(255, 255, 255, .88); border-radius: 999px; }
  .tema-prisma .main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .16); }
}
@media (max-width: 960px) {
  .tema-prisma .main-nav { background: var(--brand-navy); }
}
body.tema-prisma .site-header.is-recolhido .main-nav { background: var(--brand-navy); }

/* Campo: fundo creme, menu em caixa-alta com divisórias e faixa dupla verde e dourada */
.tema-campo .utility-bar { color: rgba(255, 255, 255, .8); background: var(--brand-navy); }
.tema-campo .utility-inner a { color: var(--brand-orange); }
.tema-campo .site-header { background: var(--page); border-bottom: 0; box-shadow: inset 0 -4px 0 var(--brand-blue), inset 0 -7px 0 var(--brand-orange); }
.tema-campo .site-header.is-scrolled { box-shadow: inset 0 -4px 0 var(--brand-blue), inset 0 -7px 0 var(--brand-orange), 0 10px 26px rgba(22, 54, 31, .12); }
.tema-campo .header-inner { padding-bottom: 7px; }
.tema-campo .header-cta { border-radius: 4px; color: var(--brand-navy); }
.tema-campo .header-phone-icon { border-radius: 6px; }
@media (min-width: 961px) {
  .tema-campo .main-nav { gap: 0; }
  .tema-campo .header-inner { gap: 20px; }
  .tema-campo .header-actions { gap: 14px; }
  .tema-campo .main-nav a, .tema-campo.menu-com-icones .main-nav a { gap: 6px; padding-inline: 9px; border-radius: 0; font-size: 12.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
  .tema-campo .main-nav .nav-icon { width: 16px; height: 16px; }
  .tema-campo .main-nav a + a { box-shadow: inset 1px 0 0 color-mix(in srgb, var(--brand-navy) 18%, transparent); }
  .tema-campo .main-nav a:hover { color: var(--brand-blue); background: color-mix(in srgb, var(--brand-orange) 14%, transparent); }
}
@media (max-width: 960px) {
  .tema-campo .main-nav { background: var(--page); }
}
body.tema-campo .site-header.is-recolhido .main-nav { background: var(--page); }

/* Aurora: barra de vidro flutuante, solta das bordas e com cantos bem arredondados */
.tema-aurora .utility-bar { color: rgba(255, 255, 255, .7); background: var(--brand-navy-deep); }
.tema-aurora .site-header { background: transparent; border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.tema-aurora .site-header.is-scrolled { background: transparent; box-shadow: none; }
.tema-aurora .site-header .header-inner { min-height: 62px; margin-block: 10px 5px; padding-inline: 14px 10px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; background: color-mix(in srgb, var(--brand-navy-deep) 62%, transparent); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 14px 40px -18px rgba(0, 0, 0, .55); transition: background-color .2s; }
.tema-aurora .site-header.is-scrolled .header-inner { background: color-mix(in srgb, var(--brand-navy-deep) 92%, transparent); }
.tema-aurora .brand img { height: 48px; }
.tema-aurora .header-cta { border-radius: 14px; }
.tema-aurora .header-phone-icon { color: var(--brand-orange); background: rgba(255, 255, 255, .08); }
@media (min-width: 961px) {
  .tema-aurora .main-nav a { border-radius: 12px; }
  .tema-aurora .main-nav a:hover { background: rgba(255, 255, 255, .1); }
}
@media (max-width: 960px) {
  .tema-aurora .main-nav { top: calc(100% + 6px); left: 12px; right: 12px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; }
}
body.tema-aurora .site-header.is-recolhido .main-nav { top: calc(100% + 6px); left: auto; right: max(12px, calc((100% - var(--container)) / 2)); width: 340px; padding: 8px 16px 14px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; background: var(--brand-navy-deep); }

/* Essencial: tudo em linhas finas, telefone só em texto e botão de contorno */
.tema-essencial .utility-bar { color: var(--muted); background: #fff; border-bottom: 1px solid var(--line); }
.tema-essencial .utility-inner a { color: var(--ink); }
.tema-essencial .utility-inner a:hover { color: var(--brand-blue); }
.tema-essencial .utility-sep { color: var(--line); }
.tema-essencial .site-header { box-shadow: none; }
.tema-essencial .site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.tema-essencial .header-inner { min-height: 70px; }
.tema-essencial .brand img { height: 46px; }
.tema-essencial .header-phone-icon { display: none; }
.tema-essencial .header-phone-copy strong { font-size: 15px; }
.tema-essencial .header-cta { color: var(--brand-blue); background: transparent; box-shadow: inset 0 0 0 1.5px var(--brand-blue); }
.tema-essencial .header-cta:hover { color: #fff; background: var(--brand-blue); }
@media (min-width: 961px) {
  .tema-essencial .main-nav a { padding-inline: 12px; color: var(--muted); font-weight: 500; }
  .tema-essencial .main-nav a:hover { color: var(--ink); background: none; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
  .tema-essencial .main-nav .nav-icon { display: none; }
  .tema-essencial .header-actions { padding-left: 22px; border-left: 1px solid var(--line); }
}

/* Nacional: ícones sobre os nomes do menu e filete em degradê azul */
.tema-nacional .site-header { border-bottom: 0; box-shadow: inset 0 -3px 0 transparent; }
.tema-nacional .site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--brand-blue), var(--brand-orange)); }
.tema-nacional .header-cta { background: linear-gradient(90deg, var(--brand-blue), color-mix(in srgb, var(--brand-orange) 70%, var(--brand-blue))); color: #fff; }
.tema-nacional .header-phone-icon { color: #fff; background: var(--brand-blue); }
@media (min-width: 961px) {
  .tema-nacional .header-inner { min-height: 84px; }
  .tema-nacional.menu-com-icones .main-nav a { flex-direction: column; gap: 4px; padding: 8px 12px; font-size: 13px; }
  .tema-nacional.menu-com-icones .main-nav .nav-icon { width: 22px; height: 22px; }
  .tema-nacional .main-nav a { border-radius: 12px; }
  .tema-nacional .main-nav a:hover { color: var(--brand-blue); background: color-mix(in srgb, var(--brand-blue) 8%, #fff); }
}

/* Brasa: cabeçalho na cor da marca, botão amarelo e faixa fina embaixo */
.tema-brasa .site-header { border-bottom: 0; box-shadow: inset 0 -3px 0 var(--brand-orange); }
.tema-brasa .header-inner { padding-bottom: 3px; }
.tema-brasa .header-cta { font-weight: 700; box-shadow: none; }
@media (min-width: 961px) {
  .tema-brasa .main-nav a { color: #fff; font-weight: 700; }
  .tema-brasa .main-nav a:hover { color: var(--brand-orange); background: rgba(0, 0, 0, .14); }
  .tema-brasa .main-nav .nav-icon { color: var(--brand-orange); }
}

/* Celeste: menu num trilho arredondado azul-claro, telefone em etiqueta */
.tema-celeste .utility-bar { color: var(--brand-navy); background: color-mix(in srgb, var(--brand-blue) 12%, #fff); }
.tema-celeste .utility-inner a { color: var(--brand-blue); }
.tema-celeste .utility-sep { color: color-mix(in srgb, var(--brand-blue) 40%, #fff); }
.tema-celeste .site-header { border-bottom-color: color-mix(in srgb, var(--brand-blue) 14%, #fff); }
.tema-celeste .header-phone { padding: 5px 14px 5px 5px; border-radius: 999px; background: color-mix(in srgb, var(--brand-blue) 9%, #fff); }
.tema-celeste .header-phone-icon { width: 34px; height: 34px; flex-basis: 34px; color: #fff; background: var(--brand-blue); }
@media (min-width: 961px) {
  .tema-celeste .main-nav { margin-inline: auto; padding: 4px; border-radius: 16px; background: color-mix(in srgb, var(--brand-blue) 8%, #fff); }
  .tema-celeste .main-nav a { border-radius: 12px; color: var(--brand-navy); }
  .tema-celeste .main-nav a:hover { color: var(--brand-blue); background: #fff; box-shadow: 0 4px 14px -6px color-mix(in srgb, var(--brand-blue) 50%, transparent); }
}

/* Urbano: preto e branco, menu em caixa-alta com bloco limão e borda grossa */
.tema-urbano .utility-bar { color: rgba(255, 255, 255, .7); background: #000; }
.tema-urbano .utility-inner a { color: var(--brand-orange); }
.tema-urbano .site-header { border-bottom: 3px solid var(--ink); }
.tema-urbano .brand img { height: 52px; }
.tema-urbano .header-cta { color: #000; background: var(--brand-orange); box-shadow: 4px 4px 0 #000; }
.tema-urbano .header-cta:hover { box-shadow: 2px 2px 0 #000; transform: translate(2px, 2px); }
.tema-urbano .header-phone-icon { border-radius: 0; color: var(--brand-orange); background: #000; }
@media (min-width: 961px) {
  .tema-urbano .main-nav a { border-radius: 0; color: var(--ink); font-size: 13.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
  .tema-urbano .main-nav a:hover { color: #000; background: var(--brand-orange); }
  .tema-urbano .main-nav .nav-icon { color: currentColor; }
}

/* Eclipse: grafite fino, ponto ciano sob o item do menu e telefone em contorno */
.tema-eclipse .utility-bar { background: #07080b; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.tema-eclipse .utility-inner a { color: var(--brand-orange); }
.tema-eclipse .site-header { background: color-mix(in srgb, #0c0e12 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.tema-eclipse .header-inner { min-height: 66px; }
.tema-eclipse .brand img { height: 50px; }
.tema-eclipse .header-phone { padding: 6px 14px 6px 6px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; }
.tema-eclipse .header-phone-icon { width: 32px; height: 32px; flex-basis: 32px; border-radius: 8px; color: var(--brand-orange); background: color-mix(in srgb, var(--brand-orange) 14%, transparent); }
.tema-eclipse .header-phone-copy span { display: none; }
.tema-eclipse .header-phone-copy strong { font-size: 15px; }
@media (min-width: 961px) {
  .tema-eclipse .main-nav a { position: relative; color: rgba(255, 255, 255, .72); font-weight: 500; }
  .tema-eclipse .main-nav a::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--brand-orange); box-shadow: 0 0 8px var(--brand-orange); opacity: 0; transition: opacity .2s; }
  .tema-eclipse .main-nav a:hover { color: #fff; background: none; }
  .tema-eclipse .main-nav a:hover::after { opacity: 1; }
}
@media (max-width: 960px) {
  .tema-eclipse .main-nav { background: #0c0e12; }
}
body.tema-eclipse .site-header.is-recolhido .main-nav { background: #0c0e12; }
