/* respFooter.css - Estilos responsivos para o rodapé */

/* Dispositivos médios (tablets, 768px para baixo) */
@media only screen and (max-width: 768px) {
    footer {
        padding: 30px 0 15px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }
    
    .footer-section {
        min-width: 100%;
        margin-bottom: 25px;
        text-align: center;
    }
    
    .footer-section:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 25px;
    }
    
    .footer-section h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .footer-links li {
        margin-bottom: 10px;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 15px;
    }
    
    .payment-methods {
        justify-content: center;
        gap: 8px;
    }
    
    .payment-methods img {
        width: 45px;
        height: 28px;
    }
    
    .contact-info div {
        margin-bottom: 12px;
    }
    
    .footer-bottom {
        padding: 15px;
        margin-top: 20px;
    }
    
    .footer-bottom p {
        margin-bottom: 10px;
    }
}

/* Dispositivos pequenos (telefones, 480px para baixo) */
@media only screen and (max-width: 480px) {
    footer {
        padding: 25px 0 10px;
    }
    
    .footer-container {
        gap: 15px;
        padding: 0 10px;
    }
    
    .footer-section {
        margin-bottom: 20px;
    }
    
    .footer-section:not(:last-child) {
        padding-bottom: 20px;
    }
    
    .footer-section h3 {
        font-size: 15px;
    }
    
    .footer-links a {
        font-size: 14px;
    }
    
    .contact-info div {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .social-links a {
        width: 36px;
        height: 36px;
    }
    
    .payment-methods img {
        width: 40px;
        height: 25px;
    }
    
    
    .footer-bottom {
        padding: 10px;
        font-size: 12px;
    }
    
    .footer-bottom a {
        margin: 0 5px;
    }
}

/* Dispositivos muito pequenos (telefones pequenos, 360px para baixo) */
@media only screen and (max-width: 360px) {
    .footer-section h3 {
        font-size: 14px;
    }
    
    .footer-links a {
        font-size: 13px;
    }
    
    .contact-info div {
        font-size: 13px;
    }
    
    .payment-methods {
        gap: 5px;
    }
    
    .payment-methods img {
        width: 35px;
        height: 22px;
    }
    
    .footer-bottom {
        font-size: 11px;
    }
}

/* Ajustes de orientação paisagem em dispositivos móveis */
@media only screen and (max-height: 480px) and (orientation: landscape) {
    footer {
        padding: 20px 0 10px;
    }
    
    .footer-container {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .footer-section {
        min-width: calc(50% - 15px);
        margin-bottom: 15px;
        text-align: left;
    }
    
    .footer-section:not(:last-child) {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* Ajustes para modo escuro (se aplicável) */
@media (prefers-color-scheme: dark) {
    .payment-methods img {
        background: #2c3e50;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Impressão */
@media print {
    footer {
        background: white !important;
        color: black !important;
        padding: 20px 0;
    }
    
    .footer-container {
        display: block;
    }
    
    .footer-section {
        page-break-inside: avoid;
        margin-bottom: 20px;
    }
    
    .social-links,
    .newsletter form,
    .payment-methods {
        display: none;
    }
    
    .footer-links a,
    .footer-bottom a {
        color: black !important;
    }
    
    .footer-section h3 {
        border-bottom-color: black;
    }
}