/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER --- */
header {
    background: var(--secondary);
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.logo img {
    height: 35px;
    width: auto;
}

.logo span {
    color: var(--primary);
}

/* Botão Header */
.btn-zap-header {
    background: var(--accent);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(rgba(26, 26, 27, 0.85), rgba(26, 26, 27, 0.85)), var(--bg-hero);
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 90px 0 60px 0;
}

.hero-content {
    max-width: 800px;
    width: 100%;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

/* --- CALCULADORA --- */
.calculator-box {
    background: white;
    color: var(--secondary);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
    border-top: 5px solid var(--primary);
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.85rem;
    color: #555;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: 0.3s;
    background: #f9f9f9;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    background: #fff;
}

.btn-calc {
    width: 100%;
    background: var(--secondary);
    color: var(--white);
    border: 1px solid var(--primary);
    padding: 15px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-calc:hover {
    background: var(--primary);
    color: var(--secondary);
    transform: translateY(-2px);
}

/* --- MODAL (Resultado) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: white;
    padding: 25px;
    border-radius: 15px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    position: relative;
    animation: slideUp 0.4s ease;
    border-top: 5px solid var(--primary);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.price-display {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
}

.total-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    font-weight: 700;
}

.total-value {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--secondary);
}

.bonus-list {
    text-align: left;
    margin-bottom: 20px;
    border: 1px dashed #ccc;
    padding: 15px;
    border-radius: 8px;
}

.bonus-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.bonus-item.free {
    color: #27ae60;
    font-weight: 700;
}

.strike {
    text-decoration: line-through;
    color: #e74c3c;
    margin-right: 5px;
    font-weight: 400;
    font-size: 0.8rem;
}

.btn-action {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: var(--accent);
    color: white;
    padding: 15px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

.disclaimer {
    margin-top: 15px;
    font-size: 0.7rem;
    color: #777;
}

/* --- DIFERENCIAIS --- */
.features {
    padding: 50px 0;
    text-align: center;
    background: #fff;
}

.features h2 span {
    color: var(--primary);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-item h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    min-height: 2.5em;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.feature-item p {
    font-size: 0.9rem;
}

/* --- FOOTER --- */
footer {
    background: var(--secondary);
    color: #ccc;
    padding: 20px 0;
    font-size: 0.8rem;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
}

.footer-brand img {
    height: 25px;
    width: auto;
    opacity: 0.8;
}

.footer-brand span {
    color: var(--primary);
}

.footer-text {
    text-align: right;
    opacity: 0.8;
}

/* --- MOBILE AJUSTES --- */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo {
        font-size: 1rem;
    }

    .logo img {
        height: 28px;
    }

    .btn-zap-header {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .btn-zap-header span {
        display: none;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .total-value {
        font-size: 1.8rem;
    }

    .footer-row {
        flex-direction: column;
        text-align: center;
    }

    .footer-text {
        text-align: center;
    }
}
