/* Demanda 205 Lote C — footer moderno (ex-footer.php) */
/* Estilos para o Novo Footer Moderno */
.modern-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

/* Sobrescrever estilos globais do footer */
.modern-footer * {
    color: inherit !important;
}

.modern-footer a {
    color: #e8f0fe !important;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image: 
        radial-gradient(circle at 25% 25%, #00d4ff 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, #ff6b6b 2px, transparent 2px);
    background-size: 50px 50px;
}

.footer-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 20px 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 0.85fr 1.2fr;
    gap: 36px;
    margin-bottom: 40px;
}

/* Zurcad: 4 colunas equilibradas (marca · atendimento · empresa · contato) */
body .modern-footer.modern-footer--zurcad .footer-container {
    padding-top: 28px !important;
    padding-bottom: 36px !important;
}
.modern-footer--zurcad .footer-link {
    font-weight: 400 !important;
    color: #c5d0e6 !important;
}
.modern-footer--zurcad .footer-link:hover {
    font-weight: 400 !important;
    color: #00d4ff !important;
}
.modern-footer--zurcad .contact-info,
.modern-footer--zurcad .contact-info a,
.modern-footer--zurcad .contact-info span {
    font-weight: 400 !important;
    color: #c5d0e6 !important;
}
.modern-footer--zurcad .contact-info a:hover {
    color: #00d4ff !important;
}
.modern-footer--zurcad .footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
    gap: 32px 40px;
    align-items: start;
    margin-bottom: 20px;
}
.modern-footer--zurcad .footer-contato-fretes {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(240px, 1.15fr) minmax(220px, 1fr);
    gap: 28px 40px;
    align-items: start;
}
.modern-footer--zurcad .footer-contato-fretes .footer-section {
    margin: 0;
}
.modern-footer--zurcad .footer-centrais-block .zurcad-centrais-links__title {
    /* h3: mesmo tracinho (::after) das outras seções do footer */
    margin-bottom: 12px;
}
.modern-footer--zurcad .footer-centrais-block .zurcad-centrais-links__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    gap: 6px 16px;
}
@media (max-width: 520px) {
    .modern-footer--zurcad .footer-centrais-block .zurcad-centrais-links__list {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
        grid-auto-flow: row;
    }
}
.modern-footer--zurcad .footer-centrais-block .zurcad-centrais-links__list a {
    color: #c5d0e6;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 400;
}
.modern-footer--zurcad .footer-centrais-block .zurcad-centrais-links__list a:hover {
    color: #00d4ff;
    text-decoration: underline;
}
.modern-footer--zurcad .footer-centrais-block .zurcad-centrais-links__more {
    margin: 12px 0 0;
}
.modern-footer--zurcad .footer-centrais-block .zurcad-centrais-links__more a {
    color: #00d4ff;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 400;
}
.modern-footer--zurcad .footer-centrais-block .zurcad-centrais-links__more a:hover {
    text-decoration: underline;
}
@media (max-width: 768px) {
    .modern-footer--zurcad .footer-contato-fretes {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}
.modern-footer--zurcad .footer-brand {
    max-width: none;
}
.modern-footer--zurcad .footer-section {
    opacity: 1;
    animation: none;
}
.modern-footer--zurcad .footer-section:hover {
    transform: none;
}
.modern-footer--zurcad .footer-section h3,
.modern-footer--zurcad .footer-section h4 {
    margin-top: 0;
    margin-bottom: 16px;
    min-height: 1.4em;
    /* Alívio tipográfico: mantém semi-negrito, abre um pouco o tracking */
    font-weight: 500 !important;
    letter-spacing: 0.02em;
}
.modern-footer--zurcad .footer-description {
    margin-bottom: 20px;
    color: #94a3b8 !important;
}
.modern-footer--zurcad .footer-social {
    margin-bottom: 0;
}
.modern-footer--zurcad .footer-stats {
    display: none;
}
.modern-footer--zurcad .footer-certificate--partner {
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    text-decoration: none;
}
.modern-footer--zurcad .footer-certificate--partner:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.35);
}
.modern-footer--zurcad .footer-certificate--partner img {
    display: block;
    height: 22px;
    width: auto;
}
.modern-footer--zurcad .footer-partners-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    padding: 14px 0 8px;
    margin-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.modern-footer--zurcad .footer-partners-strip__label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #94a3b8 !important;
    margin: 0;
    margin-right: 4px;
}
.modern-footer--zurcad .footer-partners-strip .partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
    min-width: 0;
}
.modern-footer--zurcad .footer-partners-strip .partner-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e8f0fe !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}
.modern-footer--zurcad .footer-partners-strip .partner-link:hover {
    border-color: rgba(0, 212, 255, 0.35);
    color: #00d4ff !important;
}
.modern-footer--zurcad .footer-bottom {
    align-items: center;
    gap: 24px;
}
.modern-footer--zurcad .footer-certificates {
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.modern-footer--zurcad .footer-certificate {
    min-height: 44px;
    padding: 8px 12px;
    box-sizing: border-box;
}
.modern-footer--zurcad .footer-certificate--ra {
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    overflow: hidden;
    max-height: 44px;
}
.modern-footer--zurcad .footer-certificate--ra iframe,
.modern-footer--zurcad .footer-certificate--ra img,
.modern-footer--zurcad .footer-certificate--ra > * {
    max-height: 36px !important;
    width: auto !important;
    vertical-align: middle;
}
@media (max-width: 1024px) {
    .modern-footer--zurcad .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 28px;
    }
    .modern-footer--zurcad .footer-brand {
        grid-column: 1 / -1;
    }
}
@media (max-width: 768px) {
    .modern-footer--zurcad .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .modern-footer--zurcad .footer-partners-strip {
        flex-direction: column;
        align-items: flex-start;
    }
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo img {
    max-width: 180px;
    height: auto;
}

.footer-logo.footer-logo--invert img {
    filter: brightness(0) invert(1);
}

.footer-description {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    color: #e8f0fe !important;
    margin-bottom: 30px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    margin-left: 0;
    padding-left: 0;
    justify-content: flex-start;
}

.footer-brand .footer-logo,
.footer-brand .footer-description,
.footer-brand .footer-social {
    margin-left: 0;
    padding-left: 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.social-link img {
    width: 20px;
    height: 20px;
    filter: brightness(1.2);
}

.footer-section h3,
.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    position: relative;
    padding-bottom: 8px;
}

.footer-section h3::after,
.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #00d4ff;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
    opacity: 0;
    animation: slideInUp 0.6s ease forwards;
}

.footer-links li:nth-child(1) { animation-delay: 0.1s; }
.footer-links li:nth-child(2) { animation-delay: 0.2s; }
.footer-links li:nth-child(3) { animation-delay: 0.3s; }
.footer-links li:nth-child(4) { animation-delay: 0.4s; }
.footer-links li:nth-child(5) { animation-delay: 0.5s; }
.footer-links li:nth-child(6) { animation-delay: 0.6s; }
.footer-links li:nth-child(7) { animation-delay: 0.7s; }
.footer-links li:nth-child(8) { animation-delay: 0.8s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-link {
    color: #e8f0fe !important;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-link::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #00d4ff;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    color: #00d4ff;
    transform: translateX(5px);
}

.footer-link:hover::before {
    opacity: 1;
}

.contact-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: #e8f0fe !important;
    font-size: 14px;
}

.contact-icon {
    width: 20px;
    height: 20px;
    background: rgba(0, 212, 255, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-icon img {
    width: 12px;
    height: 12px;
    filter: brightness(1.2);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.partner-link {
    display: block;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #e8f0fe !important;
    text-decoration: none;
    font-size: 13px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.partner-link:hover {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #d1e7ff !important;
    font-size: 14px;
}

.footer-legal-stamp {
    margin: 0 0 10px;
    font-size: 11px;
    line-height: 1.45;
    color: rgba(209, 231, 255, 0.72) !important;
    font-weight: 400;
    letter-spacing: 0.02em;
    max-width: 36rem;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.4;
}

.footer-legal-links a {
    color: rgba(209, 231, 255, 0.85) !important;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #00d4ff !important;
}

.footer-legal-links__sep {
    color: rgba(209, 231, 255, 0.45);
    user-select: none;
}

.copyright a {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #ff6b6b;
}

/* Responsividade */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-container {
        padding: 0px 20px 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .footer-social {
        justify-content: flex-start;
    }
    
    .footer-description {
        text-align: left;
    }
}

/* Animações de entrada */
.footer-section {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efeito de hover nos cards */
.footer-section {
    transition: transform 0.3s ease;
}

.footer-section:hover {
    transform: translateY(-5px);
}

/* Estatísticas Rápidas */
.footer-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.footer-stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.footer-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.28);
}

.footer-stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #00d4ff !important;
    margin-bottom: 8px;
    line-height: 1;
}

.footer-stat-label {
    font-size: 13px;
    color: #e8f0fe !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Selos de Confiança */
.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-certificates {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-certificate {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    text-decoration: none;
    color: #e8f0fe !important;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer-certificate:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
    color: #00d4ff !important;
}

.cert-icon {
    font-size: 18px;
    line-height: 1;
}

.cert-text {
    font-size: 13px;
}

/* Responsividade para novas seções */
@media (max-width: 1024px) {
    .footer-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .footer-stat-card {
        padding: 20px 15px;
    }
    
    .footer-stat-number {
        font-size: 28px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-certificates {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-certificates {
        flex-direction: column;
        width: 100%;
    }
    
    .footer-certificate {
        width: 100%;
        justify-content: center;
    }
}
