/* ===== ESTILOS GERAIS PREMIUM ===== */
:root {
    --primary-dark: #1a202c;
    --primary-darker: #171923;
    --accent-teal: #4fd1c5;
    --accent-blue: #4299e1;
    --accent-purple: #9f7aea;
    --text-light: #f7fafc;
    --text-gray: #cbd5e0;
    --text-dark: #2d3748;
    --border-dark: rgba(255,255,255,0.08);
}

/* ===== TOP STORIES SECTION ===== */
.idp-longdesc-container {
    width: 100%;
    background-color: #f8fafc;
    padding: 40px 3%;
    border-top: 1px solid #e2e8f0;
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.7;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.idp-longdesc-title {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-dark);
    font-size: 20px;
    letter-spacing: 0.5px;
}

.idp-highlight {
    color: var(--accent-blue);
    font-weight: 700;
}

.idp-longdesc-section {
    margin-bottom: 18px;
    color: var(--text-dark);
    font-size: 15px;
}

.idp-longdesc-section[style*="font-weight: 600"] {
    color: var(--primary-dark);
    margin-top: 28px;
    font-size: 16px;
    position: relative;
    padding-left: 15px;
}

.idp-longdesc-section[style*="font-weight: 600"]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    height: 18px;
    width: 4px;
    background: var(--accent-teal);
    border-radius: 2px;
}

.idp-longdesc-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 15px;
    align-items: center;
}

.idp-longdesc-links span {
    position: relative;
    padding-right: 14px;
    font-size: 13px;
    /* Permite quebra de texto */
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
}

.idp-longdesc-links span:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: 0;
    color: #cbd5e0;
}

/* Links dentro das seções de planilhas */
.idp-longdesc-links a {
    display: inline-block;
    max-width: 100%;
    word-break: break-word;
    white-space: normal;
    line-height: 1.4;
}

/* ===== FOOTER ULTRA PREMIUM ===== */
.idp-footer-container {
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
    color: var(--text-light);
    padding: 70px 15% 50px;
    position: relative;
    overflow: hidden;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.idp-footer-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-teal) 0%, var(--accent-blue) 50%, var(--accent-purple) 100%);
    box-shadow: 0 2px 15px rgba(79, 209, 197, 0.4);
    z-index: 1;
}

/* Estrutura principal */
.idp-footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-dark);
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Colunas */
.idp-footer-col {
    display: flex;
    flex-direction: column;
}

.idp-footer-col h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-teal);
    margin-bottom: 25px;
    position: relative;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.idp-footer-col h2::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-teal) 0%, transparent 100%);
    border-radius: 3px;
}

.idp-footer-col a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding-left: 5px;
}

.idp-footer-col a::before {
    content: "→";
    position: absolute;
    left: -15px;
    opacity: 0;
    color: var(--accent-teal);
    transition: all 0.3s ease;
}

.idp-footer-col a:hover {
    color: var(--text-light);
    transform: translateX(10px);
}

.idp-footer-col a:hover::before {
    opacity: 1;
    left: -10px;
}

.idp-footer-col a i {
    font-size: 15px;
    color: var(--accent-teal);
    transition: all 0.3s ease;
    min-width: 20px;
    text-align: center;
}

.idp-footer-col a:hover i {
    color: var(--text-light);
}

/* Seção de contato */
.idp-footer-contact {
    grid-column: span 2;
}

.idp-footer-contact p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-gray);
    font-size: 15px;
    position: relative;
    padding-left: 25px;
}

.idp-footer-contact p i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--accent-teal);
    font-size: 16px;
}

.idp-footer-contact a {
    color: var(--accent-blue);
    font-weight: 500;
    transition: all 0.3s ease;
}

.idp-footer-contact a:hover {
    color: var(--accent-teal);
    text-decoration: underline;
}

/* Rodapé inferior */
.idp-footer-bottom {
    max-width: 1400px;
    margin: 50px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.idp-footer-bottom-copyright {
    color: var(--text-gray);
    font-size: 14px;
    flex: 1;
}

.idp-footer-bottom-links {
    display: flex;
    gap: 30px;
}

.idp-footer-bottom-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.idp-footer-bottom-links a:hover {
    color: var(--accent-teal);
}

.idp-footer-bottom-links a i {
    font-size: 16px;
    color: var(--accent-teal);
}

/* Seção de pagamentos - EXTRAORDINÁRIA */
.idp-footer-payments {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: 100%;
    max-width: 700px;
    background: rgb(255 255 255);
    padding: 20px 25px;
    border-radius: 5px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.idp-payment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.idp-payment-item:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Ícones de pagamento personalizados */
.idp-payment-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.2));
    transition: all 0.4s ease;
}

/* Tamanhos especiais */
.idp-payment-icon-lg {
    width: 100px;
    height: 50px;
}

.idp-payment-icon-sm {
    width: 32px;
    height: 32px;
    cursor: pointer;
}

/* Labels */
.idp-payment-label {
    font-size: 10px;
    color: #000000;
    margin-top: 5px;
    opacity: 0;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    position: absolute;
    bottom: -20px;
    white-space: nowrap;
}

.idp-payment-item:hover .idp-payment-label {
    opacity: 1;
    bottom: -15px;
}

/* Efeitos de fundo decorativos */
.idp-footer-container::after {
    content: "";
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(79,209,197,0.1) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
}

/* Estilos específicos para ícones Font Awesome */
.idp-payment-fa-icon {
    font-size: 30px;
    color: #000000;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.idp-payment-item:hover .idp-payment-fa-icon {
    transform: translateY(-5px) scale(1.1);
}

/* Cores específicas para cada bandeira */
.fa-cc-visa { color: #1a1f71 !important; }
.fa-cc-mastercard { color: #eb001b !important; }
.fa-cc-amex { color: #016fd0 !important; }
.fa-cc-discover { color: #ff6000 !important; } /* Usado para Elo */
.fa-cc-diners-club { color: #0079be !important; }
.fa-cc-jcb { color: #0f4d9c !important; } /* Usado para Hipercard */
.fa-cc-stripe { color: #6772e5 !important; } /* Usado para Hiper */
.fa-cc-apple-pay { color: #000000f !important; } /* Usado para Aura */
.fa-barcode { color: #000000 !important; }

/* Responsivo */
@media (max-width: 1200px) {
    .idp-footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .idp-footer-contact {
        grid-column: span 2;
    }
    
    .idp-longdesc-container,
    .idp-footer-container {
        padding-left: 8%;
        padding-right: 8%;
    }
}

@media (max-width: 768px) {
    .idp-footer-container {
        padding: 50px 5% 30px;
    }
    
    .idp-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }
    
    .idp-footer-payments {
        justify-content: flex-start;
        max-width: 100%;
    }
    
    .idp-longdesc-links {
        gap: 8px 12px;
    }
    
    /* Ajustes específicos para mobile - quebra de texto */
    .idp-longdesc-links span {
        padding-right: 12px;
        font-size: 12px;
        line-height: 1.3;
    }
    
    .idp-longdesc-links a {
        font-size: 12px;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .idp-footer-main {
        grid-template-columns: 1fr;
    }
    
    .idp-footer-contact {
        grid-column: span 1;
    }
    
    .idp-longdesc-container {
        padding: 30px 5%;
    }
    
    .idp-footer-payments {
        gap: 15px;
        padding: 15px;
    }
    
    /* Ajustes adicionais para mobile muito pequeno */
    .idp-longdesc-links {
        gap: 6px 10px;
    }
    
    .idp-longdesc-links span {
        padding-right: 10px;
        font-size: 11px;
    }
    
    .idp-longdesc-links a {
        font-size: 11px;
    }
    
    .idp-longdesc-section[style*="font-weight: 600"] {
        font-size: 14px;
    }
}


.hoverr:hover{
    color: #3a8fffff;
}