:root {
    --primary: #0ea5e9;
    --primary-hover: #0284c7;
    --secondary: #0f4a7b;
    --dark-bg: #0b375b;
    --darker-bg: #072540;
    --footer-bg: #041628;
    --light-bg: #f5f9ff;
    --text-dark: #1e293b;
    --text-light: #f8fafc;
    --text-muted: #64748b;
    --white: #ffffff;
    --border: #e2e8f0;
    --success: #10b981;
    --card-radius: 20px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background: var(--white);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 0 0 30px 30px;
    max-width: 1100px;
    margin: 0 auto;
    margin-top: 20px;
}

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

.logo img {
    height: 36px;
    display: block;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.badge-no-fee {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    background: #ecfdf5;
    padding: 6px 12px;
    border-radius: 100px;
}

.badge-no-fee .dot {
    width: 6px;
    height: 6px;
    background-color: var(--success);
    border-radius: 50%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn-white {
    background-color: var(--white);
    color: var(--secondary);
}

.btn-white:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.btn-large {
    padding: 14px 32px;
    font-size: 15px;
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 40px 0 80px;
}

.hero-content {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    z-index: 2;
    text-align: center;
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 0 40px 40px 40px;
}

.hero-overlay h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-overlay p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Modalities */
.modalities {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--light-bg) 60%, var(--secondary) 60%);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-featured {
    border: 2px solid var(--primary);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
}

.badge-featured {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #d1fae5;
    color: #059669;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.05em;
}

.card .icon {
    width: 48px;
    height: 48px;
    background: var(--light-bg);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px auto 20px;
}

.card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.badge-term {
    display: inline-block;
    background: var(--light-bg);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.limits {
    margin-bottom: 24px;
}

.limits span {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.limits strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
}

/* How It Works */
.how-it-works {
    background-color: var(--secondary);
    color: var(--white);
    padding: 80px 0;
}

.how-it-works-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.how-left h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 32px;
}

.how-card-blue {
    background: linear-gradient(135deg, #10b981 0%, var(--primary) 100%);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.how-card-blue h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.how-card-blue p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.stats-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.stat {
    background: rgba(255, 255, 255, 0.15);
    padding: 16px;
    border-radius: 16px;
    flex: 1;
    backdrop-filter: blur(10px);
}

.stat strong {
    display: block;
    font-size: 20px;
    margin-bottom: 4px;
}

.stat span {
    font-size: 12px;
    opacity: 0.8;
}

.shield-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.how-right .section-intro {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step-card {
    background: var(--white);
    color: var(--text-dark);
    padding: 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 24px;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateX(8px);
}

.step-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    background: var(--light-bg);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.step-content p {
    font-size: 14px;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    background-color: var(--secondary);
    padding: 0 0 80px;
}

.cta-card {
    background: var(--dark-bg);
    border-radius: 24px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.cta-content {
    max-width: 600px;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 16px;
    opacity: 0.8;
}

/* Other Options */
.other-options {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 40px 0 80px;
}

.row-header {
    display: flex;
    align-items: center;
    text-align: left;
    justify-content: space-between;
    gap: 40px;
}

.row-header p {
    margin: 0;
    text-align: right;
    color: rgba(255, 255, 255, 0.8);
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.option-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    color: var(--text-dark);
    transition: var(--transition);
}

.option-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.img-placeholder {
    height: 200px;
    background-color: #e2e8f0;
    background-size: cover;
}

.option-content {
    padding: 24px;
}

.tag {
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    display: block;
}

.option-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.option-content p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: rgba(255, 255, 255, 0.6);
    padding: 40px 0;
    text-align: center;
    font-size: 13px;
}

.footer p {
    margin-bottom: 8px;
}

.footer p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 992px) {

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

    .how-it-works-wrapper {
        grid-template-columns: 1fr;
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header {
        margin-top: 10px;
        border-radius: 0 0 20px 20px;
    }

    .header-container {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .nav-links {
        display: none;
    }

    .badge-no-fee {
        display: none; /* Oculta a badge no mobile para ficar igual ao print */
    }

    .header-actions {
        width: auto;
    }

    .logo img {
        height: 28px;
    }

    /* Hero */
    .hero {
        padding: 24px 0 40px;
    }

    .hero-content {
        min-height: auto;
        border-radius: 24px;
        background-color: var(--secondary); /* Fundo escuro para a base */
        display: flex;
        flex-direction: column;
    }

    .hero-image {
        position: relative;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .hero-overlay {
        position: relative;
        padding: 16px 24px 32px 24px;
    }

    .hero-overlay h1 {
        display: none; /* O texto já está na imagem */
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 15px;
    }

    /* Sections */
    .section-header {
        margin-bottom: 32px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .cards-grid,
    .options-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .how-it-works {
        padding: 40px 0;
    }

    .how-card-blue {
        padding: 24px;
    }

    .how-card-blue h3 {
        font-size: 24px;
    }

    .stats-row {
        flex-direction: column;
        gap: 12px;
    }

    .step-card {
        padding: 16px;
        gap: 16px;
    }

    .step-number {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .cta-section {
        padding: 0 0 40px;
    }

    .cta-card {
        padding: 32px 24px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .other-options {
        padding: 40px 0;
    }

    .row-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 16px;
    }

    .row-header p {
        text-align: left;
    }

    .footer {
        padding: 32px 16px;
    }
}