html {
    color-scheme: light;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* PLANOS COM ASSINATURAS */

.conteudo-planos {
    padding: 20px;
    margin-top: 10px;
    text-align: center;
    width: 98%;
    margin-right: auto;
    margin-left: auto;
}

.title-planos {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    margin-top: 60px;
    color: #0004ff;
}

.title-planos h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.title-planos h1.fibra {
    font-size: 1.8rem;
    font-weight: 500;
    color: #050F28;
    letter-spacing: 0.5px;
}

.title-planos-conteiner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 42px;
}

/* Wi-fi animation */


.wifi-icon-cards {
    margin-right: 30px;
    margin-top: 5px;
    padding-bottom: 30px;
    transform: rotate(12deg);
}

.wifi-icon {
    transform: rotate(12deg);
}

.wifi {
    stroke: #0004ff;
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    opacity: 0;
    animation: wifiUp 3s infinite ease-in-out;
}

.arc3 {
    animation-delay: 0.2s;
}

.arc2 {
    animation-delay: 0.5s;
}

.arc1 {
    animation-delay: 0.8s;
}

.dot {
    fill: #0004ff;
    opacity: 0;
    animation: dotUp 3s infinite ease-in-out;
}

@keyframes wifiUp {
    0% {
        stroke-dashoffset: 100;
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    60% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    85% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    100% {
        stroke-dashoffset: 100;
        opacity: 0;
    }
}

@keyframes dotUp {
    0% {
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    85% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}


/*Vai começar com o backgound verde, pois ele já é ativo, só ficará inativo quando ouver o clique*/

.alternancia-de-planos {
    position: relative;
    width: 320px;
    margin: 30px auto;
    display: flex;
    background: linear-gradient(135deg, #1e3cff, #0b57ff);
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-alternancia-premium,
.btn-alternancia-internet {
    flex: 1;
    padding: 10px 0;
    border: none;
    background: transparent;
    color: white;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border-radius: 50px;
    z-index: 2;
    transition: color 0.3s ease;
}

.btn-alternancia-premium {
    background-color: #7CFF00;
    color: #000000;
}


.btn-alternancia-internet.ativo {
    background-color: #7CFF00;
    color: #000000;
}

.btn-alternancia-premium.inativo {
    background: transparent;
    color: white;
}

.btn-alternancia-internet.inativo {
    background: transparent;
    color: white;
}


/* -------------------------------------------------------------------------------------------------- */
.planos-premium-wrapper.ativo {
    display: flex;
}

.planos-premium-wrapper.inativo {
    display: none;
}

.planos-premium-wrapper {

    flex-direction: column;
    justify-content: center;
    align-items: center;

}


.planos-premium {
    display: flex;
    justify-content: center;
    gap: 42px;
    flex-wrap: wrap;
    padding-top: 50px;
}

.planos-premium.inativo {
    display: none;
}



.planos-premium-wrapper {
    display: flex;
    flex-direction: column;
}


.card-complete {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    width: 330px;
    min-height: 650px;
    height: auto;
    border-radius: 16px;
    border: 1px solid #343534;
    overflow: hidden;
}

#planos-premium .card-complete {
    display: flex;
    opacity: 0.35;
    transform: scale(0.96);
    transition: all 0.4s ease;
}

#planos-premium .card-complete.foco-premium {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    border: 2px solid rgba(26, 79, 224, 0.85);
}

.card-banner {
    width: 100%;
}

.card-banner .promo {
    position: static;
    transform: none;
    width: 100%;
    display: block;
    border-radius: 16px 16px 0 0;
}

.card-faixa {
    width: 100%;
    margin-top: 0;
    margin-bottom: 25px;
    text-align: center;
}

.card-faixa h2 {
    font-size: 1.6rem;
    color: #050F28;
    font-weight: 600;
}

.card-planos {
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 10px;
    overflow: hidden;
}


.nome-plano {
    margin-top: 15px;
    font-size: 1.4rem;
}

.informacoes-planos {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    margin-left: 15%;
    padding: 5px;
    width: 100%;
}

.informacoes-planos img {
    flex-shrink: 0;
}

.informacoes-planos span {
    text-align: left;
    color: #333333;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    font-family: 'Poppins', sans-serif;
}

.card-assinatura {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.card-assinatura span {
    font-size: 3rem;
    color: #050F28;
    font-weight: 600;
    font-family: 'Courier New', Courier, monospace;
}

.card-assinatura-imagem {
    background-color: #000879;
    border-radius: 12px;
}

.preco {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    color: #0033cc;
    margin-top: 10px;
}

.so {
    font-size: 14px;
    margin-top: 6px;
}

.rs {
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
}

.valor {
    display: flex;
    align-items: flex-start;
}

.inteiro {
    font-size: 90px;
    font-weight: 800;
    line-height: 1;
}

.centavos {
    display: flex;
    flex-direction: column;
    margin-top: 12px;
    margin-left: 4px;
}

.cents {
    font-size: 22px;
    font-weight: 600;
}

.mes {
    font-size: 14px;
}

.btn {
    padding: 14px 28px;
    width: 70%;
    background: linear-gradient(180deg, #003BFF, #001F99);
    color: #FFFFFF;
    border: 2px solid rgba(2, 18, 102, 0.85);
    border-radius: 29px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(11, 70, 217, 0.22);
}

.open-modal {
    padding: 10px;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    border: none;
    outline: none;
}

.navegacao-premium {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.dots-premium {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.dott-premium {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cfcfcf;
    cursor: pointer;
    transition: .3s;
}

.dott-premium.ativo {
    background: #003BFF;
}

.progress-bar-premium {
    width: 250px;
    height: 3px;
    background: #e0e0e0;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 10px;
}

#progressFillPremium {
    width: 0%;
    height: 100%;
    background: #003BFF;
    transition: width .1s linear;
}

.seta {
    border: none;
    background: none;
    font-size: 28px;
    cursor: pointer;
}

/* RESPONSIVIDADE DOS CARROSSEL DOS CARDS DO PREMIUM */
@media (max-width: 1024px) {

    .planos-premium {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 0;
        padding-top: 40px;
    }

    #planos-premium .card-complete {
        display: none;
        opacity: 1;
        transform: none;
        box-shadow: none;
    }

    #planos-premium .card-complete.foco-premium {
        display: flex;
        opacity: 1;
        transform: none;
        box-shadow: none;
    }



    .navegacao-premium {
        margin-top: 20px;
    }
}

/* EXPLICAÇÃO DE PLANOS MODELS*/
.modal-overlay {
    display: none;
    position: fixed;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(10, 25, 50, 0.65);
    font-family: 'Poppins', sans-serif;
    z-index: 99999;
}

.modal-overlay.ativo {
    display: flex;
}

.modal {
    background: #ffffff;
    color: #000000;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 500px;
    overflow-y: auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    font-family: 'Poppins', sans-serif;
    animation: fadeIn 0.3s ease-in-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 200;
}

.modal-header h1 {
    color: #050F28;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.modal-header button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.modal-content {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    text-align: left;
    line-height: 1.8;
    color: #444444;
}

.modal-content p {
    margin-bottom: 16px;
    font-weight: 400;
}

.modal-content strong {
    color: #050F28;
    font-weight: 600;
}


/* Modal ativo */

.modal-overlay.ativo {
    visibility: visible;
    opacity: 1;
}


/* Animação */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*PLANOS DE INTERNET BÁSICA*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Poppins:wght@300;400;600&display=swap');


/* ── Wrapper externo para centralizar tudo ── */
.planos-internet-wrapper.ativo {
    display: flex;
}

.planos-internet-wrapper.inativo {
    display: none;
}

.planos-internet-wrapper {

    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 970px;
    height: 700px;
    margin: auto;
    overflow: hidden;
}


.planos-internet {
    display: flex;
    flex-wrap: nowrap;
    transition: transform .4s ease;
    gap: 20px;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 970px;
    margin: auto;
}

.planos-internet-header {
    text-align: center;
    margin-bottom: 30px;
}

.card-internet {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    flex: 1;
    flex-shrink: 0;
    min-width: 0;
    border: 2px solid transparent;
    transition: transform 0.45s ease, opacity 0.45s ease, flex 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
    opacity: 0.55;
    transform: scale(0.93);
    cursor: pointer;
    box-sizing: border-box;
}

/* ── Card ativo (destacado pelo carrossel) ── */
.card-internet.ativo {
    opacity: 1;
    transform: scale(0.93);
    flex: 1.28;
    box-shadow: 0 12px 40px rgba(26, 79, 224, 0.2);
    border-color: #1a4fe0;
    z-index: 2;
    position: relative;
    overflow: hidden;
}

.card-conteiner-header {
    position: relative;
    height: 90px;
    background: linear-gradient(180deg, #2b19ff, #2301ff);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 38px;
}

.card-conteiner-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 1px;
}

.card-conteiner-conteudo {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: 20px;
}

.so-internet {
    margin-left: 30px;
    font-size: 14px;
    margin-top: 6px;
}

.btn-internet {
    padding: 14px 34px;
    width: 85%;
    background: linear-gradient(180deg, #0b57ff, #0033cc);
    color: #FFFFFF;
    border: 2px solid rgba(2, 18, 102, 0.85);
    border-radius: 40px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 12px;
    margin-bottom: 6px;
    margin-left: 25px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 8px 18px rgba(11, 70, 217, 0.18), inset 0 -6px 18px rgba(255, 255, 255, 0.05);
}

.btn-internet:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(11, 70, 217, 0.22);
}

.open-modal {
    padding: 10px;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
    border: none;
    outline: none;
}

/* ── Barra de progresso e dots ── */
.carousel-controls-internet {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.carousel-controls-internet.inativo {
    display: none;
}

.controle-internet {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.progress-bar-wrap {
    width: 200px;
    height: 3px;
    background: #ddd;
    border-radius: 99px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: #1a4fe0;
    border-radius: 99px;
    width: 0%;
    transition: width 0.1s linear;
}

.dots {
    display: flex;
    gap: 12px;
}

.dott {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #c9c9c9;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.dott.ativo {
    background: #1a4fe0;
    transform: scale(1.1);
}

.seta-internet {
    background: transparent;
    border: none;
    color: #000;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
}


/* Responsividade simples */

@media (max-width: 1023px) {

    /* CARDS: make planos layout responsive */
    .planos {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .card-complete {
        flex: 1 1 320px;
        max-width: 380px;
        min-width: 260px;
    }

    .card-header-titulo img.promo,
    .card-header-titulo img {
        width: 100%;
        height: auto;
        max-width: 100%;
        display: block;
    }



    .planos-internet-wrapper {
        overflow: hidden;
        width: 300px;
        margin: 0 auto;
    }

    .planos-internet-wrapper {
        overflow: hidden;
        width: 300px;
        margin: 0 auto;
    }

    .planos-internet {
        display: flex;
        flex-wrap: nowrap;
        gap: 0;
        transition: transform .4s ease;
        justify-content: flex-start;
        width: max-content;
        margin: 0;
    }

    .card-internet {
        box-sizing: border-box;
        flex: 0 0 300px;
        width: 300px;
        min-width: 300px;
        max-width: 300px;
        opacity: 1;
        transform: none;
    }

    .card-internet.ativo {
        flex: 0 0 300px;
        width: 300px;
        min-width: 300px;
        max-width: 300px;
        opacity: 1;
        transform: none;
    }

    .carousel-controls-internet {
        gap: 20px;
    }

    .progress-bar-wrap {
        display: none;
    }

    .seta-internet {
        width: 56px;
        height: 56px;
        border-radius: 50%;
       
        color: #000000;
        font-size: 28px;
    }
}

@media (max-width: 700px) {
    .planos {
        flex-direction: column;
        align-items: center;
    }

    .card-complete {
        flex: 1 1 100%;
        max-width: 720px;
        min-width: 0;
        width: 100%;
    }

    .card-header-titulo img.promo,
    .card-header-titulo img {
        max-width: 100%;
        width: 100%;
        height: auto;
    }
}

@media (max-width: 420px) {
    .card-internet-total {
        width: 92%;
        padding: 0 12px 18px 12px
    }

    .card-conteiner-header {
        width: calc(100% + 24px);
        margin-left: -12px;
        height: 80px
    }

    .price-large {
        font-size: 54px
    }
}