/**
 * Estilos do Rodapé iaRe
 * Rodapé personalizado com três colunas
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ========================================
   PRÉ-RODAPÉ - SEO Links
   ======================================== */

.iare-pre-footer {
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 80px 0 50px 0;
    font-family: 'Inter', sans-serif;
    margin-top: 100px;
}

.iare-pre-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}

.iare-pre-footer-coluna {
    display: flex;
    flex-direction: column;
}

.iare-pre-footer-titulo {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 12px 0;
    padding-left: 30px;
    padding-bottom: 0;
    border-bottom: none;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.5;
    position: relative;
}

.iare-pre-footer-titulo::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('imagens/seta-unica.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.iare-pre-footer-lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-left: 30px;
}

.iare-pre-footer-lista li {
    margin: 0;
    padding: 0;
}

.iare-pre-footer-lista a {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-block;
    line-height: 1.5;
    position: relative;
    padding-left: 0;
}

.iare-pre-footer-lista a:visited {
    color: #6b7280;
}

.iare-pre-footer-lista a:active {
    color: #6b7280;
}

.iare-pre-footer-lista a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #FFC729;
    font-weight: 600;
}

.iare-pre-footer-lista a:hover {
    color: #0033A0;
    padding-left: 24px;
    font-weight: 500;
}

.iare-pre-footer-lista a:hover::before {
    left: 0;
    opacity: 1;
}

/* Responsividade - Tablet */
@media (max-width: 992px) {
    .iare-pre-footer {
        padding: 70px 0 45px 0;
    }
    
    .iare-pre-footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Responsividade - Mobile */
@media (max-width: 768px) {
    .iare-pre-footer {
        padding: 60px 0 40px 0;
    }
    
    .iare-pre-footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .iare-pre-footer-lista a:hover {
        padding-left: 0;
    }
    
    .iare-pre-footer-lista a::before {
        display: none;
    }
}

/* Ajuste fino para telas muito pequenas */
@media (max-width: 480px) {
    .iare-pre-footer {
        padding: 50px 0 35px 0;
    }
    
    .iare-pre-footer-container {
        padding: 0 15px;
    }
    
    .iare-pre-footer-lista {
        gap: 12px;
    }
    
    .iare-pre-footer-titulo {
        font-size: 14px;
        padding-left: 26px;
    }
    
    .iare-pre-footer-titulo::before {
        width: 18px;
        height: 18px;
    }
}

/* ========================================
   RODAPÉ PRINCIPAL
   ======================================== */

.iare-footer {
    background-color: #0033A0;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    padding: 60px 0 0 0;
    margin-top: 30px;
}

.iare-footer * {
    font-family: 'Inter', sans-serif;
}

.iare-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
}

/* Coluna Esquerda - Logo e Social */
.iare-footer-coluna-esquerda {
    display: flex;
    flex-direction: column;
    gap: 20px;
    grid-column: 1 / 2;
}

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

.iare-footer-tagline {
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
    font-weight: 400;
}

.iare-footer-social {
    display: flex;
    gap: 15px;
    align-items: center;
}

.iare-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: transparent;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
}

.iare-footer-social a:visited {
    color: #ffffff;
}

.iare-footer-social a:active {
    color: #ffffff;
}

.iare-footer-social a:hover {
    color: #FFC729;
    transform: translateY(-3px);
}

.iare-footer-social i {
    line-height: 1;
}

/* Colunas Central e Direita - Navegação */
.iare-footer-coluna-central {
    display: flex;
    align-items: flex-start;
    padding-top: 10px;
    grid-column: 2 / 3;
}

.iare-footer-coluna-direita {
    display: flex;
    align-items: flex-start;
    padding-top: 10px;
    grid-column: 3 / 4;
}

.iare-footer-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.iare-footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.iare-footer-nav a:visited {
    color: #ffffff;
}

.iare-footer-nav a:active {
    color: #ffffff;
}

.iare-footer-nav a:hover {
    color: #FFC729;
    transform: translateX(5px);
}

.iare-footer-nav a.iare-footer-cta {
    color: #FFC729;
    font-weight: 600;
}

.iare-footer-nav a.iare-footer-cta:hover {
    color: #FFD866;
}

/* Rodapé Inferior */
.iare-footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 20px;
}

.iare-footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.iare-footer-bottom-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.iare-footer-bottom-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: color 0.2s ease;
}

.iare-footer-bottom-links a:visited {
    color: #ffffff;
}

.iare-footer-bottom-links a:active {
    color: #ffffff;
}

.iare-footer-bottom-links a:hover {
    color: #FFC729;
}

.iare-footer-copyright {
    color: #ffffff;
    font-size: 13px;
    font-weight: 400;
}

/* Responsividade - Tablet */
@media (max-width: 992px) {
    .iare-footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .iare-footer-coluna-esquerda {
        grid-column: 1 / -1;
        text-align: center;
        align-items: center;
    }
    
    .iare-footer-logo img {
        margin: 0 auto;
    }
    
    .iare-footer-social {
        justify-content: center;
    }
    
    .iare-footer-coluna-central {
        justify-content: center;
        grid-column: 1 / 2;
    }
    
    .iare-footer-coluna-direita {
        justify-content: center;
        grid-column: 2 / 3;
    }
}

/* Responsividade - Mobile */
@media (max-width: 768px) {
    .iare-footer {
        padding: 40px 0 0 0;
        margin-top: 60px;
    }
    
    .iare-footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-bottom: 30px;
    }
    
    .iare-footer-coluna-esquerda,
    .iare-footer-coluna-central,
    .iare-footer-coluna-direita {
        text-align: center;
        align-items: center;
        grid-column: 1 / -1;
    }
    
    .iare-footer-nav {
        align-items: center;
    }
    
    .iare-footer-nav a:hover {
        transform: none;
    }
    
    .iare-footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .iare-footer-bottom-links {
        justify-content: center;
        gap: 20px;
    }
}

/* Ajuste fino para telas muito pequenas */
@media (max-width: 480px) {
    .iare-footer-container {
        padding: 0 15px;
    }
    
    .iare-footer-logo img {
        max-width: 150px;
    }
    
    .iare-footer-tagline {
        font-size: 13px;
    }
    
    .iare-footer-nav a {
        font-size: 14px;
    }
    
    .iare-footer-social a {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

.iare-footer-nav-link {
    font-weight: 600 !important;
}