/* =====================================================
   FOOTER - ESTILOS
   ===================================================== */

/* ===== BASE ===== */
.footer {
    position: relative;
    padding: 4rem 0 2rem;
    overflow: hidden;
}

/* Imagem de fundo */
.footer__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.footer__background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Overlay escuro para melhor legibilidade */
.footer__background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 10, 46, 0.85);
}

/* ===== CONTAINER ===== */
.footer__container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ===== CONTEÚDO PRINCIPAL ===== */
.footer__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer__content {
        grid-template-columns: 1fr 2fr 1fr;
        gap: 2rem;
    }
}

/* ===== LOGO (ESQUERDA) ===== */
.footer__logo-wrapper {
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer__logo-wrapper {
        justify-content: flex-start;
    }
}

.footer__logo {
    max-width: 180px;
    height: auto;
    transition: transform 0.3s ease;
}

.footer__logo:hover {
    transform: scale(1.05);
}

/* ===== NAVEGAÇÃO (CENTRO) ===== */
.footer__nav {
    display: flex;
    justify-content: center;
}

.footer__nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (min-width: 768px) {
    .footer__nav-list {
        gap: 1.5rem 2.5rem;
    }
}

.footer__nav-link {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.25rem 0;
}

.footer__nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: width 0.3s ease;
}

.footer__nav-link:hover {
    color: var(--color-secondary);
}

.footer__nav-link:hover::after {
    width: 100%;
}

/* ===== HORARIO DE FUNCIONAMENTO (DIREITA) ===== */
.footer__hours-card {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.5rem 1.75rem;
    border-radius: 20px;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.footer__hours-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(123, 45, 142, 0.35), transparent 55%);
    opacity: 0.8;
    pointer-events: none;
}

.footer__hours-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.footer__hours-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(123, 45, 142, 0.25);
    color: var(--color-secondary);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.footer__hours-icon svg {
    width: 20px;
    height: 20px;
}

@media (min-width: 768px) {
    .footer__hours-card {
        align-self: center;
    }
}

.footer__hours-title {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-secondary);
    margin: 0;
    position: relative;
    z-index: 1;
}

.footer__hours-line {
    margin: 0;
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.88);
    position: relative;
    z-index: 1;
}

/* ===== DIVISOR ===== */
.footer__divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin-bottom: 1.5rem;
}

/* ===== RODAPÉ INFERIOR ===== */
.footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer__copyright {
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
}

.footer__copyright a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__copyright a:hover {
    color: var(--color-white);
}

.footer__legal {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.75rem;
    font-size: var(--font-size-sm);
}

.footer__legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__legal a:hover {
    color: var(--color-secondary);
}

.footer__legal-sep {
    color: rgba(255, 255, 255, 0.4);
}

/* Redes Sociais */
.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--color-white);
    transition: all 0.3s ease;
}

.footer__social-link:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: translateY(-3px);
}

.footer__social-link svg {
    width: 18px;
    height: 18px;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 767px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer__content {
        gap: 2rem;
    }
    
    .footer__logo {
        max-width: 150px;
    }
    
    .footer__hours-card {
        width: 100%;
        max-width: 320px;
    }
    
    .footer__nav-list {
        gap: 0.75rem 1.5rem;
    }
    
    .footer__nav-link {
        font-size: var(--font-size-sm);
    }
}

