/* ===========================================================================
   ESTILO GLOBAL: FONTES, CONTAINER, CABEÇALHO, MENU DO CELULAR, RODAPÉ E AVISOS.
   CADA PÁGINA TEM O SEU CSS (MESMO NOME DO .php), CARREGADO DEPOIS DESTE.
   =========================================================================== */

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/roboto-variavel-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Encode Sans Condensed';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/encode-sans-condensed-400-latin.woff2') format('woff2');
}

:root {
    --laranja: #e9891f;
    --preto: #000;
    --cinza-barra: #5b5b5b;
    --rodape: #2d2d2d;
    --azul-gaveta: #014687;
    --texto-gaveta: #959595;
    --texto-submenu: #2e3e49;
    --cor-destaque: var(--laranja);

    --fonte: 'Roboto', sans-serif;
    --fonte-titulo: 'Encode Sans Condensed', sans-serif;
}

/* ---- BASE ----------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 10px;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    background-color: #fff;
    color: #000;
    font-family: var(--fonte);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.42857143;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all .5s ease-out;
}

img {
    border: 0;
    vertical-align: middle;
}

ul {
    list-style: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

/* GLIFO EM SVG: ALTURA DE 1em E A MESMA DESCIDA DA FONTE DE ÍCONE (256/1792). */
.icone {
    display: inline-block;
    width: auto;
    height: 1em;
    vertical-align: -.142857em;
}

.pular-para-conteudo {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    padding: 10px 15px;
    background: var(--laranja);
    color: #fff;
}

.pular-para-conteudo:focus {
    left: 0;
}

/* ---- CONTAINER E GRADE ------------------------------------------------------
   LARGURA FIXA POR FAIXA: 1170 / 970 / 750, E A TELA TODA ABAIXO DE 768px. */

.container {
    width: 1170px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}

.container::after,
.linha::after {
    content: '';
    display: table;
    clear: both;
}

.linha {
    margin-right: -15px;
    margin-left: -15px;
}

@media (max-width: 1199px) {
    .container { width: 970px; }
}

@media (max-width: 991px) {
    .container { width: 750px; }
}

@media (max-width: 767px) {
    body { font-size: 12px; }
    .container { width: 100%; }
}

/* ---- CABEÇALHO (DESKTOP, A PARTIR DE 992px) ---------------------------------
   FUNDO PRETO, LOGO À ESQUERDA (ATÉ 160px DE ALTURA) E MENU NO ALTO À DIREITA.
   A CÓPIA GRUDADA (.cabecalho--grudado) DESCE AO ROLAR (site.js). */

.cabecalho {
    position: relative;
    background: var(--preto);
}

.cabecalho--grudado {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 2px 2px rgba(0, 0, 0, .2);
}

.cabecalho__logo {
    float: left;
    margin: 15px 0;
    line-height: 0;
}

/* A ARTE OCUPA 140px DE ALTURA DENTRO DE UMA CAIXA DE 160px: O RESPIRO EM VOLTA
   (11 / 23 / 9 / 18px) É O QUE A ARTE DE REFERÊNCIA TRAZ DE MARGEM TRANSPARENTE. */
.cabecalho__logo img {
    box-sizing: content-box;
    width: auto;
    max-width: 100%;
    max-height: 140px;
    height: auto;
    padding: 11px 23px 9px 18px;
}

.menu {
    float: right;
    margin-left: 5%;
}

.menu__lista {
    font-size: 0;
}

.menu__item {
    display: inline-block;
    position: relative;
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
    text-align: center;
    text-transform: capitalize;
}

.menu__link {
    display: inline-block;
    padding: 0 15px;
    border-right: 1px solid transparent;
    border-left: 1px solid transparent;
    color: #fff;
    line-height: 90px;
}

/* SETINHA DO ITEM COM SUBMENU, FLUTUANDO À DIREITA DO RÓTULO. */
.menu__seta {
    float: right;
    margin: 0 0 0 10px;
}

/* SUBMENU: FAIXA LARANJA NA LARGURA TODA, FIXA A 90px DO TOPO. */
.submenu {
    display: none;
    position: fixed;
    top: 90px;
    left: 0;
    z-index: 10;
    width: 100%;
    padding: 10px 0;
    background: var(--laranja);
    box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
    font-size: 0;
    text-align: center;
}

.menu__item--sub:hover > .submenu,
.menu__item--sub.aberto > .submenu {
    display: block;
}

.menu__item--sub:hover > .menu__link,
.menu__item--sub.aberto > .menu__link {
    color: var(--cinza-barra);
}

.submenu__item {
    display: inline-block;
    position: relative;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
}

.submenu__link {
    display: block;
    padding: 13px 15px;
    color: #fff;
}

.submenu__link img {
    max-width: 100%;
    max-height: 32px;
    height: auto;
}

/* "HOME" SÓ EXISTE NO MENU DO CELULAR. */
.menu__item--so-celular {
    display: none;
}

@media (max-width: 1199px) {
    .menu__link { padding: 0 9px; }
}

@media (max-width: 991px) {
    .cabecalho { display: none; }
}

/* ---- BARRA DO CELULAR (ATÉ 991px) -------------------------------------------
   HAMBÚRGUER À ESQUERDA, LOGO NO CENTRO E "CLIENTE ONLINE" À DIREITA. */

.barra-celular {
    display: none;
    background: var(--preto);
}

@media (max-width: 991px) {
    .barra-celular { display: block; }
}

.barra-celular .container {
    display: flex;
    position: relative;
    align-items: center;
    min-height: 70px;
}

.barra-celular__gatilho,
.barra-celular__cliente {
    flex: 1 1 0;
}

.barra-celular__hamburguer {
    display: block;
    padding: 10px 10px 10px 0;
    color: #fff;
    font-size: 22px;
    line-height: 1;
}

.barra-celular__hamburguer .icone {
    vertical-align: top;
}

.barra-celular__logo {
    line-height: 0;
}

.barra-celular__logo img {
    width: auto;
    max-height: 54px;
    height: auto;
}

.barra-celular__cliente {
    text-align: right;
}

.barra-celular__cliente .menu__link {
    padding: 0 0 0 10px;
    font-size: 13px;
    line-height: 70px;
}

.barra-celular__cliente .menu__item--sub:hover > .menu__link,
.barra-celular__cliente .menu__item--sub.aberto > .menu__link {
    color: var(--laranja);
}

/* "CLIENTE ONLINE": CAIXA BRANCA SOB A BARRA, ALINHADA À DIREITA. */
.barra-celular__cliente .submenu {
    display: block;
    position: absolute;
    top: 80px;
    right: 15px;
    left: auto;
    z-index: 999;
    width: 250px;
    padding: 0;
    background-color: rgba(255, 255, 255, .95);
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: all .2s ease-out 0s;
}

.barra-celular__cliente .menu__item--sub.aberto > .submenu {
    top: 70px;
    opacity: 1;
    visibility: visible;
}

.barra-celular__cliente .menu__item {
    position: static;
}

.barra-celular__cliente .submenu__item {
    display: block;
    padding: 0;
    border-bottom: 1px solid #e6e6e6;
    text-align: left;
}

.barra-celular__cliente .submenu__item:last-child {
    border-bottom: 0;
}

.barra-celular__cliente .submenu__link {
    color: var(--texto-submenu);
}

.barra-celular__cliente .submenu__link img {
    margin-right: 10px;
}

.barra-celular__cliente .submenu__link br {
    display: none;
}

/* ---- GAVETA DO HAMBÚRGUER ----------------------------------------------------
   É O MENU DO DESKTOP (MONTADO NO HTML), CAIXA BRANCA SOB A BARRA. */

.gaveta {
    position: absolute;
    top: 90px;
    left: 0;
    z-index: 999;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all .2s ease-out 0s;
}

.gaveta.aberta {
    top: 70px;
    opacity: 1;
    visibility: visible;
}

.gaveta__lista {
    position: relative;
    background-color: rgba(255, 255, 255, .95);
    box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
}

/* SETINHA APONTANDO PARA O HAMBÚRGUER. */
.gaveta__lista::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 18px;
    z-index: 2;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-bottom-color: #fff;
}

.gaveta__item {
    position: relative;
    width: 100%;
    border-top: 1px solid #f5f5f5;
    font-size: 12px;
    font-weight: 500;
    line-height: 12px;
}

.gaveta__item:first-child {
    border: 0;
}

.gaveta__item:hover {
    background-color: var(--azul-gaveta);
}

.gaveta__link {
    display: inline-block;
    width: 100%;
    padding: 14px 18px;
    color: var(--texto-gaveta);
}

.gaveta__item:hover > .gaveta__link,
.gaveta__item.aberto > .gaveta__link {
    color: #fff;
}

.gaveta__item.aberto > .gaveta__link {
    background-color: var(--azul-gaveta);
}

/* A LINHA INTEIRA DO ITEM COM SUBMENU É O BOTÃO DE ABRIR (A SETINHA FICA À DIREITA). */
.gaveta__abrir {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    padding-right: 18px;
    color: var(--texto-gaveta);
    font-size: 14px;
    line-height: 40px;
    text-align: right;
}

.gaveta__item:hover > .gaveta__abrir,
.gaveta__item.aberto > .gaveta__abrir {
    color: #fff;
}

.gaveta__sub {
    display: none;
    position: relative;
}

.gaveta__sub .gaveta__link {
    background-color: var(--azul-gaveta);
    color: #fff;
}

.gaveta__sub img {
    max-width: 100%;
    max-height: 32px;
    height: auto;
}

/* ---- RODAPÉ ----------------------------------------------------------------- */

.rodape__principal {
    padding: 50px 0 20px;
    background-color: var(--rodape);
}

.rodape__coluna {
    position: relative;
    float: left;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.rodape__coluna--mapa { width: 25%; }
.rodape__coluna--sobre { width: 41.66666667%; }
.rodape__coluna--contato { width: 33.33333333%; }

.rodape__bloco {
    margin-bottom: 30px;
}

.rodape__topo {
    margin-bottom: 17px;
}

.rodape__titulo {
    margin: 0 0 20px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
}

.rodape__corpo {
    font-size: 14px;
}

.rodape__texto {
    margin-top: 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
}

.rodape__texto a {
    color: #fff;
}

.rodape__seta {
    position: relative;
    top: 1px;
    margin-right: 10px;
    font-size: 14px;
    line-height: 1;
}

.rodape__contatos {
    margin-bottom: 10px;
}

.rodape__contatos li {
    margin-bottom: 6px;
    padding-left: 25px;
    color: #fff;
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
}

.rodape__contatos a {
    color: #fff;
}

.rodape__contatos .icone {
    margin-right: 10px;
    margin-left: -25px;
    font-size: 14px;
}

.rodape__redes {
    margin-bottom: 10px;
    font-size: 0;
}

.rodape__redes li {
    display: inline-block;
    margin: 0 7px 0 0;
    padding-left: 25px;
    color: #fff;
    font-size: 18px;
    font-weight: 300;
    line-height: 20px;
}

.rodape__redes a {
    color: #fff;
}

.rodape__redes .rodape__rede--facebook:hover { color: #506dab; }
.rodape__redes .rodape__rede--instagram:hover { color: #bb0000; }

.rodape__creditos {
    width: 100%;
    padding: 15px 0;
    border-top: 1px solid var(--cinza-barra);
    background: var(--rodape);
}

.rodape__creditos p {
    color: #fff;
    font-size: 12px;
    font-weight: 300;
    line-height: 24px;
    text-align: center;
}

.rodape__creditos a {
    color: #fff;
}

@media (max-width: 991px) {
    .rodape__creditos p { line-height: 20px; }
}

@media (max-width: 767px) {
    .rodape__principal { padding: 45px 0 15px; }
    .rodape__coluna { float: none; width: auto; }
}

/* ---- VOLTAR AO TOPO ----------------------------------------------------------
   APARECE DEPOIS DE 100px DE ROLAGEM (site.js). */

.voltar-topo {
    display: none;
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 299;
    height: 40px;
    padding: 0 15px;
    border-radius: 4px;
    background-color: var(--laranja);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.42857;
    text-align: center;
}

.voltar-topo.visivel {
    display: block;
}

@media (max-width: 767px) {
    .voltar-topo { right: 15px; bottom: 15px; }
}

/* A BOLHA DO CHAT DO PAINEL OCUPA O MESMO CANTO: O BOTÃO SOBE. */
body.tem-chat .voltar-topo {
    bottom: 100px;
}

/* ---- AVISOS NO PÉ DA JANELA (COOKIES E INSTALAR O APP) ------------------------ */

.cookies-aviso {
    display: none;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 998;
    padding: 12px 15px;
    background: var(--rodape);
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}

.cookies-aviso.aberto {
    display: block;
}

.cookies-aviso b {
    font-weight: 400;
}

.cookies-aviso a {
    color: var(--laranja);
    text-decoration: underline;
}

.cookies-aviso__botao {
    margin-left: 10px;
    padding: 6px 15px;
    border-radius: 4px;
    background: var(--laranja);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.instalar-app {
    padding-right: 45px;
}

.instalar-app__icone {
    margin-right: 10px;
    border-radius: 6px;
}

.instalar-app__fechar {
    position: absolute;
    top: 50%;
    right: 12px;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    transform: translateY(-50%);
}

/* ---- BOTÃO BRANCO (SOBRE AS FAIXAS LARANJAS) ------------------------------------ */

.botao-branco {
    display: inline-block;
    padding: 11px 15px;
    border-radius: 4px;
    background-color: #fff;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.42857;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    touch-action: manipulation;
}

@media (max-width: 991px) {
    .botao-branco { padding-top: 15px; padding-bottom: 15px; }
}

/* ---- BOTÃO LARANJA ------------------------------------------------------------ */

.botao-laranja {
    display: inline-block;
    padding: 11px 25px;
    border: 1px solid var(--laranja);
    border-radius: 4px;
    background-color: var(--laranja);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.42857;
    text-align: center;
}

.botao-laranja:hover {
    background-color: #c9701a;
    border-color: #c9701a;
}


/* ---- FORMULÁRIOS: ISCA E AVISO ------------------------------------------------
   A ISCA (HONEYPOT) FICA FORA DA TELA, SEM display:none (ROBÔ IGNORA CAMPO OCULTO).
   O AVISO É O RESULTADO DO ENVIO SEM JAVASCRIPT (aviso-envio.php). */

.isca {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.aviso {
    margin-top: 15px;
    padding: 15px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 14px;
}

.aviso--ok {
    border-color: #d6e9c6;
    background-color: #dff0d8;
    color: #3c763d;
}

.aviso--erro {
    border-color: #ebccd1;
    background-color: #f2dede;
    color: #a94442;
}

/* ---- POPUP DO PAINEL ---------------------------------------------------------- */

.popup-painel {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup-painel[hidden] {
    display: none;
}

.popup-painel__fundo {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .6);
}

.popup-painel__caixa {
    position: relative;
    max-width: 400px;
    max-height: 90vh;
}

.popup-painel__caixa img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    height: auto;
}

.popup-painel__fechar {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--laranja);
    color: #fff;
    font-size: 16px;
    line-height: 32px;
}
