:root {
    --primary-color: #027d6c;
    --secondary-color: #10b981;
    --light-color: #ecfdf5;
    --dark-color: #064e3b;
    --danger-color: #dc2626;
    --warning-color: #f59e0b;
    --success-color: #10b981;
}

/* Estratégia 1: Box-Sizing Universal */
*, *::before, *::after {
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f0f4f8;
    color: var(--primary-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 16px;
}

.main-wrapper {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.brand-name {
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    z-index: 99;
    padding: 1rem;
}

.nav-menu.active {
    transform: translateY(0);
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    text-align: center;
}

.nav-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 0.5rem;
    display: block;
}

.main-content {
    padding: 1rem;
    width: 100%;
}

.container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 0.8rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Alert Section */
.alert-section {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(239, 68, 68, 0.05));
    border: 2px solid var(--danger-color);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 2rem;
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.alert-icon {
    font-size: 2.5rem;
    color: var(--danger-color);
    flex-shrink: 0;
    animation: pulse-alert 2s infinite;
}

@keyframes pulse-alert {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.alert-text {
    flex: 1;
}

.alert-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--danger-color);
    margin: 0 0 0.3rem 0;
}

.alert-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Explanation Section */
.explanation-section {
    margin-bottom: 2rem;
}

.explanation-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.explanation-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1rem;
}

.risks-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.risk-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: white;
    border-left: 4px solid var(--danger-color);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.risk-item i {
    color: var(--danger-color);
    font-size: 1.2rem;
    flex-shrink: 0;
    min-width: 20px;
    text-align: center;
}

.risk-content {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #333;
    margin: 0;
}

/* Tax Section */
.tax-section {
    margin-bottom: 2rem;
}

.tax-card {
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
}

.tax-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tax-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.tax-subtitle {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.tax-details {
    margin-bottom: 2rem;
}

.tax-info-box {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tax-name h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.3rem 0;
}

.tax-abbrev {
    font-size: 0.85rem;
    color: #999;
    margin: 0;
    font-style: italic;
}

.tax-description {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.tax-description p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.tax-breakdown {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    font-size: 0.95rem;
    border-bottom: 1px solid #e5e7eb;
}

.breakdown-item.total {
    border-bottom: none;
    border-top: 2px solid var(--secondary-color);
    padding-top: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.breakdown-label {
    color: #666;
}

.breakdown-value {
    font-weight: 600;
    color: var(--primary-color);
}

.breakdown-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 0.5rem 0;
}

.urgency-box {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(239, 68, 68, 0.05));
    border-left: 4px solid var(--danger-color);
    border-radius: 8px;
    padding: 1.2rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 1rem;
}

.urgency-box i {
    color: var(--danger-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.urgency-box p {
    margin: 0;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Payment Section */
.payment-section {
    margin-top: 2rem;
    text-align: center;
}

.payment-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.payment-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin: 0 0 1.5rem 0;
}

.btn-payment {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: white !important;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 15px rgba(2, 125, 108, 0.3);
    text-decoration: none !important;
}

.btn-payment:hover {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color)) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 125, 108, 0.4);
    text-decoration: none !important;
    color: white !important;
}

.btn-payment:active {
    transform: translateY(0);
}

.btn-payment:focus {
    outline: none;
}

.btn-payment:visited {
    color: white !important;
    text-decoration: none !important;
}

.btn-payment i {
    margin-right: 0.5rem;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #666;
}

.security-badge i {
    color: var(--success-color);
}

/* Benefits Section */
.benefits-section {
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.benefit-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.15);
    transform: translateY(-2px);
}

.benefit-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.benefit-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 2rem;
}

.faq-item {
    margin-bottom: 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 1.2rem;
    background: #f9fafb;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: #f3f4f6;
}

.faq-question i {
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 1.2rem;
    background: white;
    display: none;
    border-top: 1px solid #e5e7eb;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-answer p {
    margin: 0;
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: white;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.cta-content p {
    font-size: 1rem;
    margin: 0 0 1.5rem 0;
    opacity: 0.95;
}

.final-cta .btn-payment {
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--primary-color) !important;
    max-width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.final-cta .btn-payment:hover {
    background: white !important;
    color: var(--primary-color) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
}

/* Sticky CTA para Mobile */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 0.8rem 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.sticky-cta .btn-payment {
    margin: 0;
    width: 100%;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    padding: 2rem 1rem;
    text-align: center;
    width: 100%;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-column {
    margin-bottom: 1.5rem;
}

.footer-column h3 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #d1fae5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
}

.copyright {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: #a7f3d0;
}

.mt-2 {
    margin-top: 0.5rem;
}

.text-xs {
    font-size: 0.75rem;
}

.opacity-75 {
    opacity: 0.75;
}

/* Responsive Design */
@media (min-width: 768px) {
    .main-wrapper {
        padding: 0 1rem;
    }

    .header {
        padding: 0.8rem 2rem;
        border-radius: 0 0 12px 12px;
    }

    .mobile-menu-btn {
        display: none;
    }

    .nav-menu {
        position: static;
        background: none;
        transform: none;
        flex-direction: row;
        padding: 0;
        width: auto;
    }

    .nav-menu ul {
        flex-direction: row;
        gap: 2rem;
    }

    .nav-menu ul li a {
        font-size: 1rem;
        padding: 0;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sticky-cta {
        display: none !important;
    }

    .container {
        padding: 2.5rem;
    }

    .alert-section {
        padding: 2.5rem;
    }

    .tax-card {
        padding: 2.5rem;
    }

    .final-cta {
        padding: 3rem;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .section-title {
        font-size: 1.8rem;
    }

    .alert-title {
        font-size: 2rem;
    }
}
