/* ========================================
   ESTILOS DOS COMPONENTES MODULARES
   TriD Telecom - 2025
   ======================================== */

/* SEÇÃO DE PRODUTOS */
.section-produtos {
    background: #ffffff !important;
    padding: 45px 0 !important;
}

.section-produtos .title-sections {
    color: #333 !important;
    font-size: 26px !important;
    margin-bottom: 16px !important;
}

.section-produtos .texto_aplicativos {
    font-size: 13px !important;
    margin-bottom: 32px !important;
    color: #666;
}

.produtos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.produto-card {
    background: white;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.produto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(36, 128, 190, 0.15);
    border-color: #2480be;
}

.produto-card.destaque {
    border: 2px solid #2480be;
    transform: scale(1.01);
}

.produto-card.destaque::before {
    content: "PRINCIPAL";
    position: absolute;
    top: 12px;
    right: -24px;
    background: #2480be;
    color: white;
    padding: 4px 32px;
    font-size: 10px;
    font-weight: bold;
    transform: rotate(45deg);
}

.produto-icon {
    font-size: 38px;
    margin-bottom: 16px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.produto-title {
    font-size: 19px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.produto-subtitle {
    font-size: 11px;
    color: #2480be;
    margin-bottom: 16px;
    font-weight: 600;
}

.produto-features {
    text-align: left;
    margin-bottom: 20px;
}

.produto-features li {
    list-style: none;
    padding: 4px 0;
    color: #666;
    font-size: 11px;
    position: relative;
    padding-left: 16px;
}

.produto-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2480be;
    font-weight: bold;
}

.produto-btn {
    background: #2480be;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    width: 100%;
}

.produto-btn:hover {
    background: #1a5f8a;
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

.produto-btn.secundario {
    background: transparent;
    color: #2480be;
    border: 2px solid #2480be;
}

.produto-btn.secundario:hover {
    background: #2480be;
    color: white;
}

/* SEÇÃO DE ÁREAS DE ATUAÇÃO / COBERTURA */
.section-areas-atuacao {
    background: #f8f9fa !important;
    padding: 25px 0 !important;
}

.section-areas-atuacao .title-sections {
    margin-bottom: 10px !important;
    color: #333 !important;
    font-size: 24px !important;
}

.section-areas-atuacao .texto_aplicativos {
    font-size: 14px !important;
    margin-bottom: 15px !important;
}

.areas-container {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.mapa-container {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.svg-map-brasil {
    max-width: 130%;
    margin: 0 auto;
    width: 130%;
    height: 390px;
}

.legenda-container {
    flex: 0 0 auto;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px 0;
}

.legenda-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legenda-cor-atendido {
    width: 25px;
    height: 20px;
    background: #2480be;
    border-radius: 4px;
    border: 2px solid #fff;
}

.legenda-cor-normal {
    width: 25px;
    height: 20px;
    background: #e9ecef;
    border-radius: 4px;
    border: 2px solid #fff;
}

.legenda-texto-atendido {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.legenda-texto-normal {
    font-size: 1rem;
    color: #666;
}

.texto-adicional {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: left;
}

/* Estilos SVG para os estados */
.estado-atendido {
    fill: #2480be;
    stroke: #ffffff;
    stroke-width: 2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.estado-atendido:hover {
    fill: #1a5f8a;
    transform: scale(1.05);
    filter: drop-shadow(0 5px 10px rgba(36, 128, 190, 0.3));
}

.estado-normal {
    fill: #e9ecef;
    stroke: #ffffff;
    stroke-width: 1;
}

.texto-estado {
    fill: #ffffff;
    font: bold 12px Arial, sans-serif;
    text-anchor: middle;
    pointer-events: none;
}

.texto-estado-normal {
    fill: #999999;
    font: 11px Arial, sans-serif;
    text-anchor: middle;
    pointer-events: none;
}

/* RESPONSIVIDADE */
@media (max-width: 992px) {
    .areas-container {
        flex-direction: column;
        align-items: center;
    }
    
    .mapa-container,
    .legenda-container {
        width: 100%;
        min-width: auto;
    }
    
    .legenda-container {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .texto-adicional {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .produtos-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .produto-card.destaque {
        transform: none;
    }
    
    .section-produtos {
        padding: 32px 0 !important;
    }
}


/* ========================================
   FOOTER - Rodapé Melhorado
   ======================================== */

/* Links do rodapé com hover */
footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: #FFA500 !important;
    transform: translateX(3px);
}

/* Ícones sociais com hover */
footer .fa-whatsapp:hover,
footer .fa-envelope:hover {
    transform: scale(1.1);
}

/* Botões sociais circulares */
footer a[href*="facebook"]:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.5);
}

footer a[href*="instagram"]:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(228, 64, 95, 0.5);
}

footer a[href*="whatsapp"]:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5);
}

footer a[href*="mailto"]:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.4);
}

/* Logo Anatel com hover */
footer img[alt*="Anatel"]:hover {
    opacity: 1 !important;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* Link da Anatel (PDF) */
footer a[href*="Ato Autorizacao"] {
    transition: all 0.3s ease;
}

footer a[href*="Ato Autorizacao"]:hover div {
    background: rgba(255,165,0,0.1) !important;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3) !important;
    transform: translateY(-3px);
}

footer a[href*="Ato Autorizacao"]:hover img {
    opacity: 1 !important;
    transform: scale(1.08);
}

/* Box da Anatel com destaque */
footer .list-itens-footer div[style*="rgba(255,255,255,0.05)"] {
    transition: all 0.3s ease;
}

footer .list-itens-footer div[style*="rgba(255,255,255,0.05)"]:hover {
    background: rgba(255,165,0,0.1) !important;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.2);
}

/* Animação suave para setas dos links */
footer .list-itens-footer-ul li span {
    display: inline-block;
    transition: transform 0.3s ease;
}

footer .list-itens-footer-ul li:hover span {
    transform: translateX(5px);
}

/* Títulos do rodapé */
footer h5 {
    position: relative;
    padding-bottom: 10px;
}

footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #FFA500, #FFD700);
    border-radius: 2px;
}

/* Copyright com animação sutil */
footer .row_footer[style*="border-top"] {
    animation: fadeInUp 0.8s ease-in-out;
}

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

/* Responsividade do rodapé */
@media (max-width: 768px) {
    footer .col-lg-3 {
        margin-bottom: 30px;
    }
    
    footer h5::after {
        width: 100%;
    }
    
    footer a {
        font-size: 13px !important;
    }
}

/* ========================================
   BADGE IPv6 - PIONEIROS EM TECNOLOGIA
   ======================================== */
.ipv6-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FFA500, #FFD700);
    color: #000;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 16px;
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
    animation: pulseGlow 2s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-icon {
    font-size: 16px;
    animation: rotate 3s linear infinite;
}

.badge-text {
    white-space: nowrap;
}

/* Animação de pulso luminoso */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 20px rgba(255, 165, 0, 0.5);
        transform: scale(1.02);
    }
}

/* Animação de rotação do ícone */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsividade do badge IPv6 */
@media (max-width: 768px) {
    .ipv6-badge {
        font-size: 12px;
        padding: 6px 12px;
        margin-top: 12px;
    }
    
    .badge-icon {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .ipv6-badge {
        font-size: 11px;
        padding: 5px 10px;
        gap: 6px;
    }
    
    .badge-text {
        font-size: 10px;
    }
}

/* Badge IPv6 para mobile/slider */
.ipv6-badge-mobile {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #FFA500, #FFD700);
    color: #000;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin: 12px auto;
    box-shadow: 0 3px 8px rgba(255, 165, 0, 0.3);
    animation: pulseGlow 2s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    width: fit-content;
    max-width: 200px;
}

.ipv6-badge-mobile .badge-icon {
    font-size: 14px;
    animation: rotate 3s linear infinite;
}

.ipv6-badge-mobile .badge-text {
    white-space: nowrap;
    font-size: 11px;
}

/* Responsividade específica para o badge mobile */
@media (max-width: 375px) {
    .ipv6-badge-mobile {
        font-size: 10px;
        padding: 5px 10px;
        gap: 4px;
    }
    
    .ipv6-badge-mobile .badge-icon {
        font-size: 12px;
    }
    
    .ipv6-badge-mobile .badge-text {
        font-size: 9px;
    }
}

/* Feature IPv6 nos produtos */
.ipv6-feature {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.1), rgba(255, 215, 0, 0.1)) !important;
    border: 1px solid rgba(255, 165, 0, 0.3) !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    margin-top: 8px !important;
    color: #FFA500 !important;
    font-weight: 600 !important;
    text-align: center !important;
    animation: subtlePulse 3s ease-in-out infinite !important;
}

.ipv6-feature strong {
    color: #FFA500 !important;
    font-size: 14px !important;
}

/* Animação sutil para a feature IPv6 */
@keyframes subtlePulse {
    0%, 100% {
        background: linear-gradient(135deg, rgba(255, 165, 0, 0.1), rgba(255, 215, 0, 0.1));
        border-color: rgba(255, 165, 0, 0.3);
    }
    50% {
        background: linear-gradient(135deg, rgba(255, 165, 0, 0.15), rgba(255, 215, 0, 0.15));
        border-color: rgba(255, 165, 0, 0.5);
    }
}

/* ========================================
   BANNER DEDICADO IPv6 - PIONEIROS
   ======================================== */
.ipv6-dedicated-slide {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 611px;
}

.ipv6-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
}

.ipv6-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 165, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 165, 0, 0.05) 0%, transparent 50%);
    animation: ipv6PatternMove 20s ease-in-out infinite;
}

@keyframes ipv6PatternMove {
    0%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
    25% { transform: translateX(10px) translateY(-10px) rotate(1deg); }
    50% { transform: translateX(-5px) translateY(5px) rotate(-1deg); }
    75% { transform: translateX(5px) translateY(10px) rotate(0.5deg); }
}

.slide-content-ipv6 {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    max-width: 380px;
    width: 100%;
}

.ipv6-main-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    animation: ipv6SlideIn 1s ease-out;
}

.ipv6-icon {
    font-size: 60px;
    margin-bottom: 15px;
    animation: ipv6IconRotate 8s linear infinite;
    filter: drop-shadow(0 0 20px rgba(255, 165, 0, 0.5));
}

.ipv6-title {
    font-size: 28px;
    font-weight: 900;
    color: #FFA500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: ipv6TitleGlow 3s ease-in-out infinite;
}

.ipv6-subtitle {
    font-size: 18px;
    font-weight: 700;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@keyframes ipv6IconRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes ipv6TitleGlow {
    0%, 100% { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 165, 0, 0.3); }
    50% { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 165, 0, 0.6); }
}

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

.slide-text-ipv6 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    animation: ipv6SlideIn 1s ease-out 0.3s both;
}

.ipv6-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    animation: ipv6SlideIn 1s ease-out 0.6s both;
}

.ipv6-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 25px;
    border: 1px solid rgba(255, 165, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.ipv6-feature-item:hover {
    background: rgba(255, 165, 0, 0.2);
    border-color: rgba(255, 165, 0, 0.6);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 165, 0, 0.5));
}

.feature-text {
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.ipv6-button {
    background: linear-gradient(135deg, #FFA500, #FFD700) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: #000 !important;
    font-weight: 700 !important;
    text-shadow: none !important;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.4) !important;
    animation: ipv6ButtonPulse 2s ease-in-out infinite !important;
}

.ipv6-button-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 165, 0, 0.6) !important;
    color: #FFA500 !important;
    font-weight: 600 !important;
    backdrop-filter: blur(10px) !important;
}

.ipv6-button-secondary:hover {
    background: rgba(255, 165, 0, 0.2) !important;
    border-color: rgba(255, 165, 0, 0.8) !important;
}

@keyframes ipv6ButtonPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 165, 0, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 20px rgba(255, 165, 0, 0.6);
        transform: scale(1.02);
    }
}

/* Responsividade para o banner IPv6 */
@media (max-width: 375px) {
    .slide-content-ipv6 {
        padding: 30px 15px;
    }
    
    .ipv6-icon {
        font-size: 50px;
    }
    
    .ipv6-title {
        font-size: 24px;
    }
    
    .ipv6-subtitle {
        font-size: 16px;
    }
    
    .slide-text-ipv6 {
        font-size: 14px;
    }
    
    .ipv6-feature-item {
        padding: 10px 15px;
    }
    
    .feature-text {
        font-size: 13px;
    }
}

