/* ============================================
   FOOTER.CSS - Rodapé do Portal
   Central de Notícias Brasil
   Desenvolvido por: Joceilton Gomes
   ============================================ */

/* ====== FOOTER PROFISSIONAL ====== */
.main-footer {
    background: #0a2463;
    color: white;
}

/* Newsletter */
.footer-newsletter {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    padding: 40px 0;
}

.newsletter-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.newsletter-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.newsletter-content p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.newsletter-form input {
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    width: 300px;
    background: white;
    color: #1a1a1a;
}

.newsletter-form input::placeholder {
    color: #9ca3af;
}

.newsletter-form button {
    padding: 14px 28px;
    background: #f97316;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #ea580c;
}

/* Footer Principal */
.footer-main {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
}

/* Coluna Sobre */
.footer-col.about {
    padding-right: 20px;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-col.about p {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #f97316;
    transform: translateY(-3px);
}

/* Colunas de Links */
.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: #f97316;
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #f97316;
    padding-left: 5px;
}

/* Coluna Contato */
.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.contact-list li svg {
    flex-shrink: 0;
    opacity: 0.7;
}

/* Footer Bottom */
.footer-bottom {
    padding: 24px 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.7;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f97316;
}

.dev-link {
    color: #f97316;
    font-weight: 600;
    transition: color 0.3s ease;
}

.dev-link:hover {
    color: #fbbf24;
}

/* ====== RESPONSIVO ====== */
@media (max-width: 1200px) {
    .newsletter-container {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        width: 100%;
        max-width: 500px;
    }

    .newsletter-form input {
        flex: 1;
        width: auto;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-col.about {
        grid-column: span 2;
        text-align: center;
        padding-right: 0;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col.contact {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-newsletter {
        padding: 30px 0;
    }

    .newsletter-content h3 {
        font-size: 1.1rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

    .footer-main {
        padding: 40px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-col.about {
        grid-column: span 1;
    }

    .footer-col.contact {
        grid-column: span 1;
    }

    .contact-list li {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}

