@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

.plans-section {
    padding: 10px;
    background-color: #171717;
    width: 1566px;
    margin: 0 auto;
    color: white;
}

.plans-table-container {
    overflow-x: auto;
    border-radius: 15px;
    display: block !important;
    opacity: 1 !important;
}

.plans-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-family: 'Mulish', sans-serif;
   
}

.plans-table thead {
    background-color: #fff;
}

.plan-benefit {
    font-family: 'Anton', sans-serif;
    font-size: 64px;
    font-weight: normal;
    text-align: left;
    padding: 20px 0 20px 40px;
    vertical-align: middle;
}

.plans-table th, 
.plans-table td {
    background-color: #fff;
    border: 1px solid #444;
    vertical-align: middle;
    color: #171717;
}

.plan-header {
    color: white;
    background-color: #fff;
    padding: 20px 10px;
    text-align: center;
    vertical-align: middle;
}

.plan-header .plan-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.2rem;
}

.plan-header img {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease-in-out;
}

.plans-table td:first-child {
    text-align: left;
    padding: 20px 50px;
    background-color: #fff;
    color: #171717;
}

.benefit-tbody {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: normal;
}

.benefit-tbody td:first-child {
    font-weight: bold;
    text-align: left;
    padding-left: 15px;
    padding-right: 5px;
    white-space: normal;
}

.benefit-tbody td {
    font-weight: bold;
    padding: 3px 2px;
    font-size: 20px;
    line-height: 1.2;
}

.regulation-container {
    text-align: center;
    padding: 5px 0;
    margin-top: 10px;
}

.regulation-link {
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
    font-weight: 500;
}

.regulation-link:hover {
    text-decoration: underline;
}

.plan-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.plan-price .price {
    font-family: 'Anton', sans-serif;
    font-size: 64px;
    font-weight: normal;
    line-height: 1;
    color: #171717;
    margin-top: 30px;
}

.plan-price .price-subtext {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: normal;
    margin-top: 0;
    line-height: 1.2;
    color: #171717;
    margin-left: 110px;
}

.plan-button {
    display: inline-block;
    width: 100%;
    max-width: 350px;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease-in-out, opacity 0.2s ease-in-out;
    text-decoration: none;
}

.plan-button.gold {
    background-color: #EF5400;
    color: #fff;
}

.plan-button.silver {
    background-color: #171717;
    color: #fff;
}

.plan-button:hover {
    opacity: 0.8;
}

.plans-table tfoot td {
    background-color: #fff;
}

.plans-table tfoot small {
    display: block;
    margin-bottom: 5px;
    color: #171717;
    font-size: 0.8rem;
}

.value-foot {
    font-family: 'Anton', sans-serif;
    font-size: 64px;
    font-weight: normal;
    text-align: left;
    padding: 40px 0 20px 60px;
}

.price {
    font-family: 'Anton', sans-serif;
    font-size: 64px;
    font-weight: normal;
    text-align: left;
}

.plan-price-p {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: normal;
    color: #171717;
}

.highlight-badge {
    display: inline-block;
    background-color: #E4362A;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 4px 6px;
    border-radius: 4px;
    position: absolute; 
    transform: translateX(-50%);
    z-index: 2;
    margin: 6px 0 0 210px;
}

.plans-toggle-container {
    text-align: center;
    margin-bottom: 20px;
    display: none;
}

.plans-toggle-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(to bottom, #ffcc00, #d4a000);
    color: #171717;
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    padding: 15px 30px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.plans-toggle-btn:hover {
    background: linear-gradient(to bottom, #d4a000, #ffcc00);
}

.plans-toggle-btn .icon {
    margin-left: 10px;
    font-size: 18px;
}

.mobile-benefits-title {
    display: none;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
}

@media (max-width: 1600px) {
    .plans-section {
        width: 95%;
    }
    .plan-header img {
        width: 90%;
    }
}
@media (max-width: 1300px) {
    .plans-table-container {
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }
    .plans-table-container.show {
        display: block;
        opacity: 1;
    }
    .plans-toggle-container {
        display: block;
    }
    .plan-header img {
        max-width: 180px;
    }
    header {
        height: 70px;
    }

    .plan-benefit, .value-foot {
        font-size: 44px;
        padding: 10px 0 5px 15px;
        margin-bottom: 5px;
        font-weight: bold;
    }
    .plan-price .price {
        font-size: 44px;
    }
    .plan-price .price-subtext {
        font-size: 17px;
        margin-left: 30px;
    }

    .benefit-tbody td:first-child {
        padding-left: 10px;
    }

    .plan-button {
        font-size: 0.9rem;
        padding: 10px 18px;
    }

    .highlight-badge {
        font-size: 11px;
        padding: 3px 5px;
        margin: 6px 0 0 150px;
    }
}

@media (max-width: 1000px) {
    .plan-benefit, .value-foot {
        font-size: 36px;
        padding: 8px 0 4px 10px;
        margin-bottom: 4px;
    }
    .plan-price .price {
        font-size: 36px;
    }
    .plan-price .price-subtext {
        font-size: 15px;
        margin-left: 20px;
    }

    /* Ajuste para os atributos */
    .benefit-tbody td {
        padding: 2px 1px;
        font-size: 14px;
        line-height: 1.1;
    }

    .benefit-tbody td:first-child {
        padding-left: 8px;
    }

    .plan-header img {
        max-width: 160px;
    }

    .plan-button {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    .highlight-badge {
        font-size: 10px;
        padding: 3px 5px;
        margin: 4px 0 0 120px;
    }
}

@media (max-width: 768px) {
    .plan-benefit, .value-foot {
        font-size: 30px;
        padding: 6px 0 3px 8px;
        margin-bottom: 3px;
    }
    .plan-price .price {
        font-size: 28px;
    }
    .plan-price .price-subtext {
        font-size: 14px;
        margin-left: 15px;
    }

    /* Atributos com fonte menor */
    .benefit-tbody td {
        padding: 2px 1px;
        font-size: 12px;
        line-height: 1;
    }

    .benefit-tbody td:first-child {
        padding-left: 6px;
    }

    .plan-header img {
        max-width: 140px;
    }

    .plan-button {
        font-size: 0.8rem;
        padding: 7px 14px;
    }

    .highlight-badge {
        font-size: 9px;
        padding: 2px 4px;
        margin: 6px 0 0 100px;
    }
}

@media (max-width: 600px) {
    .plans-table-container {
        display: none;
    }
    .plans-toggle-container {
        display: block;
    }

    .plan-benefit, .value-foot {
        font-size: 26px;
        padding: 5px 0 2px 5px;
        margin-bottom: 2px;
    }
    .plan-price .price {
        font-size: 24px;
    }
    .plan-price .price-subtext {
        font-size: 12px;
        margin-left: 10px;
    }

    .benefit-tbody td {
        padding: 1px 0px;
        font-size: 11px;
        line-height: 1;
    }

    .benefit-tbody td:first-child {
        padding-left: 5px;
    }

    .plan-header img {
        max-width: 120px;
    }

    .plan-button {
        font-size: 0.60rem;
        padding: 6px 12px;
    }

    .highlight-badge {
        font-size: 8px;
        padding: 2px 4px;
        margin: 10px 0 0 80px;
    }
}

@media (max-width: 480px) {
    .plan-button {
        font-size: 0.6rem;
        padding: 5px 10px;
    }

    .highlight-badge {
        font-size: 7px;
        padding: 1px 3px;
        margin: 3px 0 0 70px;
    }
    .mobile-benefits-title {
        display: block;
    }
    p {
        margin-bottom: 5px;
    }
    .plan-price .price {
        margin-top: 15px;
        font-size: 20px;
    }
}

@media (max-width: 400px) {
    .plan-benefit, .value-foot {
        font-size: 24px;
        padding: 4px 0 2px 4px;
        margin-bottom: 2px;
    }

    .plan-price .price {
        font-size: 18px;
    }

    .plan-price .price-subtext {
        font-size: 10px;
        margin-left: 8px;
    }

    .benefit-tbody td {
        padding: 1px 0px;
        font-size: 10px;
        line-height: 1;
    }

    .benefit-tbody td:first-child {
        padding-left: 4px;
    }

    .plan-header img {
        max-width: 110px;
    }

    .plan-button {
        font-size: 0.5rem;
        padding: 5px 10px;
    }

    .highlight-badge {
        font-size: 6px;
        margin: 4px 0 0 60px;
        font-weight: normal;
    }
    .mobile-benefits-title {
        display: block;
    }
}