/* ===================================
   Reset & Base
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #0b1c2d;
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body>section:not(.footer-section),
body>footer {
    flex-shrink: 0;
}

.main-section {
    flex: 1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Section 1: Badge (Enhanced)
   =================================== */
.badge-section {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    padding: 18px 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}

.badge-content {
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    align-items: center;
    gap: 15px;
}

.badge-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.badge-text {
    grid-column: 2;
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    animation: pulse 2s ease-in-out infinite;
    text-align: center;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.9;
    }
}

/* ===================================
   Section 2: Main Content
   =================================== */
.main-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: 60px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Left Column */
.left-column {
    color: #ffffff;
}

.main-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    text-transform: none;
}

.benefits-list {
    list-style: none;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 20px;
    font-weight: 600;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.check-icon {
    width: 32px;
    height: 32px;
    fill: #22c55e;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(34, 197, 94, 0.3));
}

.form-intro {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

/* Right Column */
.right-column {
    display: flex;
    justify-content: center;
}

.form-box {
    background: #f5f9ff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 550px;
}

.form-title {
    font-size: 22px;
    font-weight: 700;
    color: #0b1c2d;
    margin-bottom: 25px;
    line-height: 1.4;
    text-align: center;
}

/* Form Styles */
.simulacao-form {
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field.full-width {
    grid-column: 1 / -1;
}

.form-field label {
    font-size: 14px;
    font-weight: 600;
    color: #0b1c2d;
    margin-bottom: 6px;
}

.required {
    color: #ef4444;
}

.form-field input,
.form-field select {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid #cfd8e3;
    background: #ffffff;
    font-size: 15px;
    color: #0b1c2d;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-field input::placeholder {
    color: #8a96a3;
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.btn-submit {
    width: 100%;
    height: 54px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(90deg, #22c55e, #4ade80);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-transform: uppercase;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(34, 197, 94, 0.35);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===================================
   Section 3: Footer
   =================================== */
.footer-section {
    background-color: #1f2937;
    padding: 30px 0;
    color: #ffffff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left .copyright {
    font-size: 14px;
    margin: 0;
}

.footer-right {
    display: flex;
    gap: 30px;
}

.footer-link {
    font-size: 14px;
    margin: 0;
    cursor: pointer;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-link:hover {
    color: #22c55e;
}

.footer-right {
    display: flex;
    gap: 30px;
    align-items: center;
}

/* ===================================
   Modal
   =================================== */
.modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: background 0.25s ease, opacity 0.25s ease;
    opacity: 0;
}

.modal.active {
    background: rgba(0, 0, 0, 0.7);
    pointer-events: auto;
    opacity: 1;
}

.modal-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transform: translateY(15px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    will-change: transform, opacity;
}

.modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #ffffff;
    margin: 0 auto 20px;
    font-weight: 700;
}

.modal-content h3 {
    font-size: 24px;
    font-weight: 800;
    color: #0b1c2d;
    margin-bottom: 15px;
}

.modal-content p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-close {
    width: 100%;
    height: 50px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(90deg, #22c55e, #4ade80);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}

/* ===================================
   Policy Modals
   =================================== */
.modal-policy {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 20px;
    pointer-events: none;
    transition: background 0.25s ease, opacity 0.25s ease;
    opacity: 0;
}

.modal-policy.active {
    background: rgba(0, 0, 0, 0.7);
    pointer-events: auto;
    opacity: 1;
}

.modal-policy-content {
    background: #ffffff;
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transform: translateY(15px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin: auto;
    opacity: 0;
    will-change: transform, opacity;
}

.modal-policy.active .modal-policy-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-policy-header {
    padding: 30px;
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-policy-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0b1c2d;
    margin: 0;
}

.modal-close-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    font-size: 28px;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.modal-close-btn:hover {
    background: #ef4444;
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-policy-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.modal-policy-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0b1c2d;
    margin-top: 25px;
    margin-bottom: 12px;
}

.modal-policy-body h3:first-child {
    margin-top: 0;
}

.modal-policy-body p {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 15px;
}

.modal-policy-body ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.modal-policy-body li {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 8px;
}


/* ===================================
   Animations
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .main-title {
        font-size: 36px;
    }

    .form-box {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .main-section {
        padding: 40px 0;
    }

    .main-title {
        font-size: 30px;
        margin-bottom: 25px;
    }

    .benefit-item {
        font-size: 16px;
    }

    .check-icon {
        width: 24px;
        height: 24px;
    }

    .form-intro {
        font-size: 24px;
    }

    .form-box {
        padding: 25px;
    }

    .form-title {
        font-size: 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-right {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .badge-text {
        font-size: 12px;
    }

    .main-title {
        font-size: 26px;
    }

    .benefit-item {
        font-size: 15px;
        gap: 12px;
    }

    .form-intro {
        font-size: 20px;
    }

    .form-box {
        padding: 20px;
    }

    .form-title {
        font-size: 18px;
    }
}