@import url(reset.css);

/* =========================================================
   RODAPÉ MOBILE / TABLET
========================================================= */

.rodape {
    position: relative;
    width: 100%;
    padding: 38px 24px 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
    align-items: start;
    background-color: #dee1e5;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 1;
}

/* =========================================================
   LOGO (CENTRALIZADO)
========================================================= */

.rodape .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 28px;
}

.rodape .logo > img {
    width: 175px;
    max-width: 80%;
    height: auto;
    display: block;
}

.rodape .logo > ul {
    display: none;
}

.rodape .logo .redes-sociais {
    display: none;
}

/* =========================================================
   COLUNAS / SEÇÕES
========================================================= */

.rodape .explora {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0;
}

.rodape .explora:nth-of-type(n + 4) {
    grid-column: 1 / -1;
}

.rodape .logo {
    grid-column: 1 / -1;
}

@media (max-width: 340px) {
    .rodape {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .rodape .logo,
    .rodape .explora:nth-of-type(n + 4),
    .rodape .redes-sociais-mobile,
    .rodape .footer {
        grid-column: auto;
    }
}

/* =========================================================
   TÍTULOS COM LINHA FINA CONTÍNUA
========================================================= */

.rodape .explora h2 {
    width: 100%;
    margin: 0 0 12px 0;
    padding: 0 0 8px 0;
    color: var(--corPrincipal, #112240);
    font-size: 0.98rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(17, 34, 64, 0.12);
    position: relative;
    box-sizing: border-box;
}

.rodape .explora h2::before,
.rodape .explora h2::after {
    content: none !important;
}

/* =========================================================
   LISTAS DE LINKS
========================================================= */

.rodape .explora ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
    width: 100%;
}

.rodape .explora ul li {
    margin: 0;
    padding: 0;
    width: 100%;
}

.rodape .explora ul li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--corPrincipal, #112240);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.4;
    transition: var(--transition, 0.3s ease);
}

.rodape .explora ul li a:hover {
    transform: translateX(3px);
}

.rodape .explora ul li a span {
    color: var(--corPrincipal, #112240);
    font-size: 0.94rem;
    font-weight: 500;
}

/* =========================================================
   SETAS — NAVEGAÇÃO / ATENDIMENTO / LEGAL
========================================================= */

.rodape .explora ul li a > img {
    width: 10px;
    height: 9px;
    display: inline-block;
    flex-shrink: 0;
    filter: none;
}

/* =========================================================
   ÍCONES CIRCULARES — CONTACTOS
========================================================= */

.icone-contacto {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    border-radius: 50%;
    background-color: var(--corPrincipal, #112240);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 2px;
}

.icone-contacto img {
    width: 13px;
    height: 13px;
    max-width: 13px;
    max-height: 13px;
    display: block;
    filter: brightness(0) invert(1) !important;
}

/* =========================================================
   REDES SOCIAIS (MOBILE CENTRALIZADO)
========================================================= */

.rodape .redes-sociais-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 8px 0 28px;
    grid-column: 1 / -1;
}

.rodape .redes-sociais-mobile a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--corPrincipal, #112240);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition, 0.3s ease);
}

.rodape .redes-sociais-mobile a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.rodape .redes-sociais-mobile a img {
    width: 15px;
    height: 15px;
    display: block;
    filter: brightness(0) invert(1);
}

/* =========================================================
   BARRA INFERIOR / COPYRIGHT
========================================================= */

.rodape .footer {
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-right: -24px;
    background-color: #cad0d6;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2px;
    box-sizing: border-box;
    grid-column: 1 / -1;
}

.rodape .reserva {
    color: var(--corPrincipal, #112240);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25px;
    line-height: 1.45;
    text-align: center;
    display: inline;
}

.rodape .reserva::after {
    content: " |";
    font-weight: 700;
}

.rodape .politica {
    display: inline;
    margin: 0;
    padding: 0;
}

.rodape .politica ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline;
}

.rodape .politica ul li {
    display: inline;
    margin: 0;
    padding: 0;
}

.rodape .politica ul li a {
    color: var(--corPrincipal, #112240);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.25px;
    line-height: 1.45;
    text-align: center;
    transition: opacity 0.2s ease;
}

.rodape .politica ul li a:hover {
    opacity: 0.75;
}

.rodape .politica ul li a::before {
    content: none !important;
}

/* =========================================================
   TABLET (768px a 1200px)
========================================================= */

@media (min-width: 768px) and (max-width: 1200px) {
    .rodape {
        padding: 44px 36px 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 36px;
    }

    .rodape .logo {
        grid-column: 1 / -1;
        margin-bottom: 12px;
    }

    .rodape .explora {
        margin-bottom: 0;
    }

    .rodape .explora:nth-of-type(n + 4) {
        grid-column: auto;
    }

    .rodape .redes-sociais-mobile {
        grid-column: 1 / -1;
        margin: 14px 0 24px;
    }

    .rodape .footer {
        grid-column: 1 / -1;
        width: calc(100% + 72px);
        margin-left: -36px;
        margin-right: -36px;
    }
}
