/* ========================================
   RODAPÉ PADRÃO - DESENTUPIDORA ITAPIPOCA
   ESTILO LIMPO, TRADICIONAL E CONFIÁVEL
   ======================================== */

/* ESTILOS PRINCIPAIS (DESKTOP) */
.rodape-padrao {
    background: var(--azul, #38508F);
    color: var(--branco, #FFFFFF);
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--dourado, #C6A35A);
}

/* Textura sutil de fundo */
.rodape-padrao::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
    pointer-events: none;
}

/* Container principal */
.rodape-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Layout em 3 colunas */
.rodape-principal {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

/* ========== COLUNAS ========== */
.rodape-coluna {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ========== COLUNA 1: LOGO + DESCRIÇÃO ========== */
.rodape-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rodape-logo-img {
    max-height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.rodape-logo-img:hover {
    transform: scale(1.05);
}

.rodape-logo-fallback h2 {
    color: var(--branco, #FFFFFF);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.rodape-description {
    color: var(--branco, #FFFFFF);
    opacity: 0.85;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
    max-width: 90%;
}

/* Selos de confiança */
.rodape-selos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-top: 0.5rem;
}

.rodape-selo {
    color: var(--branco, #FFFFFF);
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.rodape-selo::before {
    content: '✔';
    color: var(--dourado, #C6A35A);
    font-weight: 700;
}

/* ========== COLUNA 2: LINKS ========== */
.rodape-links-group h4 {
    color: var(--dourado, #C6A35A);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.rodape-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rodape-links li {
    margin-bottom: 0.5rem;
}

.rodape-links a {
    color: var(--branco, #FFFFFF);
    opacity: 0.75;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.9rem;
}

.rodape-links a:hover {
    color: var(--dourado, #C6A35A);
    opacity: 1;
    transform: translateX(5px);
}

/* ========== COLUNA 3: CONTATO ========== */
.rodape-contact-info h4 {
    color: var(--dourado, #C6A35A);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.rodape-contact-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rodape-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--branco, #FFFFFF);
    opacity: 0.85;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rodape-contact-item:last-child {
    border-bottom: none;
}

.rodape-contact-item i {
    color: var(--dourado, #C6A35A);
    font-size: 1rem;
    width: 20px;
    text-align: center;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.rodape-contact-item div {
    flex: 1;
}

.rodape-contact-item div span:first-child {
    display: block;
    font-weight: 600;
    margin-bottom: 0.1rem;
    color: var(--branco, #FFFFFF);
    opacity: 0.7;
    font-size: 0.8rem;
}

.rodape-contact-item a {
    color: var(--branco, #FFFFFF);
    opacity: 0.85;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.rodape-contact-item a:hover {
    color: var(--dourado, #C6A35A);
    opacity: 1;
}

/* ========== COPYRIGHT ========== */
.rodape-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    color: var(--branco, #FFFFFF);
    opacity: 0.7;
    font-size: 0.85rem;
}

.rodape-copyright-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.rodape-copyright-left p,
.rodape-copyright-right p {
    margin: 0;
}

.rodape-copyright-right a {
    color: var(--dourado, #C6A35A);
    text-decoration: none;
    transition: color 0.3s ease;
}

.rodape-copyright-right a:hover {
    color: var(--branco, #FFFFFF);
    text-decoration: underline;
}

.rodape-copyright .fa-heart {
    color: #e74c3c;
    animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ========================================
   RESPONSIVIDADE - TABLET (1024px)
   ======================================== */
@media (max-width: 1024px) {
    .rodape-principal {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .coluna-1 {
        grid-column: span 2;
    }
}

/* ========================================
   RESPONSIVIDADE - MOBILE (768px)
   ======================================== */
@media (max-width: 768px) {
    .rodape-padrao {
        padding: 2rem 0 1rem;
    }
    
    .rodape-container {
        padding: 0 1.5rem;
    }
    
    .rodape-principal {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .coluna-1 {
        grid-column: span 1;
    }
    
    .rodape-brand {
        text-align: center;
        align-items: center;
    }
    
    .rodape-description {
        max-width: 100%;
        text-align: center;
    }
    
    .rodape-selos {
        justify-content: center;
    }
    
    .rodape-links-group h4 {
        text-align: center;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    }
    
    .rodape-links {
        text-align: center;
    }
    
    .rodape-links a:hover {
        transform: none;
        padding-left: 0;
    }
    
    .rodape-contact-info h4 {
        text-align: center;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    }
    
    .rodape-contact-items {
        align-items: center;
    }
    
    .rodape-contact-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        padding: 0.75rem 0;
        width: 100%;
        max-width: 300px;
    }
    
    .rodape-contact-item i {
        margin-bottom: 0.25rem;
    }
    
    .rodape-contact-item div {
        text-align: center;
    }
    
    .rodape-copyright-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   RESPONSIVIDADE - MOBILE PEQUENO (480px)
   ======================================== */
@media (max-width: 480px) {
    .rodape-padrao {
        padding: 1.5rem 0 0.75rem;
    }
    
    .rodape-container {
        padding: 0 1rem;
    }
    
    .rodape-logo-img {
        max-height: 40px;
    }
    
    .rodape-description {
        font-size: 0.85rem;
    }
    
    .rodape-selos {
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }
    
    .rodape-selo {
        font-size: 0.8rem;
    }
    
    .rodape-contact-item {
        font-size: 0.85rem;
        max-width: 100%;
    }
}