/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* PALETA PREMIUM */
:root {
    --primary: #0f5132;       /* Verde escuro premium */
    --primary-light: #198754; /* Verde elegante */
    --text-dark: #222;
    --text-light: #555;
    --bg-light: #f7f7f7;
}

/* HEADER */
header {
    background: var(--primary);
    padding: 20px 40px;
}

.header-container {
    max-width: 1400px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 140px;
    object-fit: contain;
}

/* Botão de login */
.login-btn {
    padding: 10px 25px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    background: transparent;
    border: 2px solid white;
    border-radius: 8px;
    transition: 0.3s ease;
}

.login-btn:hover {
    background: white;
    color: var(--primary);
}

/* HERO */
.hero {
    background: var(--primary);
    color: white;
    padding: 120px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 50px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 22px;
    margin-bottom: 30px;
}

.hero-btn {
    background: white;
    color: var(--primary);
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
}

.hero-btn:hover {
    background: #e6e6e6;
}

/* BENEFITS */
.benefits {
    padding: 70px 20px;
    text-align: center;
}

.benefits h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: auto;
}

.benefit-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0,0,0,0.08);
}

.icon {
    font-size: 45px;
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

/* PRICING */
.pricing {
    padding: 80px 20px;
    text-align: center;
    background: var(--primary);
    color: white;
}

.pricing h2 {
    font-size: 38px;
    margin-bottom: 10px;
}

.pricing-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.pricing-box {
    background: white;
    color: var(--text-dark);
    padding: 50px;
    max-width: 550px;
    margin: 0 auto;
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
    text-align: left;
}

.price-header {
    text-align: center;
    margin-bottom: 30px;
}

.price-header h3 {
    font-size: 26px;
    margin-bottom: 10px;
    color: var(--primary);
}

.price-details,
.price-extra {
    font-size: 16px;
    color: #444;
}

.price-extra {
    font-weight: bold;
    color: var(--primary);
}

.pricing input {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    font-size: 18px;
    border: 2px solid #ccc;
    border-radius: 8px;
}

.price-result {
    margin-top: 25px;
    font-size: 28px;
    font-weight: bold;
    color: var(--primary);
    text-align: center;
}

/* Botão contratar */
.buy-btn {
    display: block;
    margin: 35px auto 0;
    background: var(--primary);
    color: white;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: 0.3s ease;
}

.buy-btn:hover {
    background: var(--primary-light);
}

/* FOOTER */
footer {
    background: white;
    color: black; /* corrigido */
    text-align: center;
    padding: 25px;
    margin-top: 40px;
}

/* LOGIN */
.login-section {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.login-box {
    background: white;
    padding: 50px;
    width: 100%;
    max-width: 550px;
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
    margin: auto;
}

.login-box h2 {
    text-align: center;
    margin-bottom: 35px;
    color: var(--primary);
    font-size: 32px;
    font-weight: bold;
}

.login-box label {
    font-weight: bold;
    margin-top: 18px;
    display: block;
    font-size: 16px;
}

.login-box input {
    width: 100%;
    padding: 14px;
    margin-top: 6px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 17px;
}

.forgot-password {
    margin-top: 12px;
    font-size: 15px;
    color: var(--text-light);
    cursor: pointer;
    text-align: right;
}

.forgot-password span {
    color: var(--primary);
    font-weight: bold;
}

.login-submit {
    width: 100%;
    margin-top: 30px;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.login-submit:hover {
    background: var(--primary-light);
}

.no-account {
    margin-top: 25px;
    text-align: center;
    font-size: 16px;
}

.no-account a {
    color: var(--primary);
    font-weight: bold;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 35px;
    width: 100%;
    max-width: 450px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0,0,0,0.25);
}

.modal-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 26px;
}

.modal-email {
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 16px;
}

.modal-content input {
    width: 100%;
    padding: 14px;
    border: 2px solid #ccc;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 17px;
}

.modal-submit,
.modal-close {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.modal-submit {
    background: var(--primary);
    color: white;
}

.modal-close {
    background: #ccc;
}

/* CHECKOUT */
.checkout-section {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.checkout-box {
    background: white;
    padding: 50px;
    width: 100%;
    max-width: 550px;
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
    margin: auto;
}

.checkout-box h2 {
    text-align: center;
    margin-bottom: 35px;
    color: var(--primary);
    font-size: 32px;
    font-weight: bold;
}

.checkout-box label {
    font-weight: bold;
    margin-top: 18px;
    display: block;
    font-size: 16px;
}

.checkout-box input {
    width: 100%;
    padding: 14px;
    margin-top: 6px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 17px;
}

.checkout-submit {
    width: 100%;
    margin-top: 30px;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.checkout-submit:hover {
    background: var(--primary-light);
}

/* RESPONSIVIDADE */
@media (max-width: 1200px) {
    .benefit-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 20px;
    }

    .logo-img {
        height: 110px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .header-container {
        flex-direction: column;
        gap: 10px;
    }

    .logo-img {
        height: 90px;
    }

    .hero {
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 18px;
    }

    .pricing-box {
        padding: 35px;
    }

    .benefits h2 {
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .logo-img {
        height: 70px;
    }

    .hero {
        padding: 60px 15px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-btn {
        padding: 12px 25px;
        font-size: 18px;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        padding: 25px;
    }

    .pricing-box {
        padding: 30px;
    }

    .price-value {
        font-size: 32px;
    }

    .login-box,
    .checkout-box {
        padding: 35px;
    }

    .login-box h2,
    .checkout-box h2 {
        font-size: 26px;
    }

    .login-box input,
    .checkout-box input {
        padding: 12px;
        font-size: 16px;
    }

    .login-submit,
    .checkout-submit {
        padding: 14px;
        font-size: 18px;
    }

    .modal-content {
        padding: 25px;
        max-width: 90%;
    }

    .modal-content h3 {
        font-size: 22px;
    }
}
