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

body {
    font-family: 'Inter', sans-serif;
    background: #f5f7fb;
    color: #0c1f5c;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.hero {
    padding: 24px 0 36px;
    background:
        radial-gradient(circle at top left, #ffffff 0%, #eef3ff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.25fr;
    gap: 0px;
    align-items: center;
    position: relative;
}

.hero-left {
    position: relative;
    z-index: 2;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}

.logo {
    width: 78px;
}

.logo-title {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.logo-title span {
    color: #2453ff;
}

.headline {
    font-size: 3.8rem;
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 28px;
    letter-spacing: -2px;
}

.headline span {
    color: #2453ff;
    display: block;
    font-size: 1.15em;
    margin-top: 4px;
}

.hero-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #34406c;
    max-width: 650px;
    margin-bottom: 28px;
}

/* CORREÇÃO: hover removido do CSS — agora controlado exclusivamente pelo script.js */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 26px 54px;
    border-radius: 20px;
    background: #ffc400;
    color: #091d5d;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.2rem;
    /* CORREÇÃO: transition específica para transform apenas */
    transition: transform 0.3s ease;
    box-shadow: 0 12px 30px rgba(255,196,0,0.35);
}

.hero-image {
    width: 115%;
    max-width: 115%;
    display: block;
    margin-left: -75px;
    position: relative;
    z-index: 1;
}

.section-mini-title {
    text-align: center;
    color: #2453ff;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.section-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 50px;
}

.problems,
.benefits,
.authority {
    padding: 56px 0;
}

.cards-grid {
    display: grid;
    gap: 24px;
}

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

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

.card {
    background: white;
    border-radius: 24px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(15,40,120,0.05);
    /* CORREÇÃO: transition específica */
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.card p {
    color: #4f5b86;
    line-height: 1.7;
}

.small-card {
    padding: 30px 20px;
}

.steps {
    padding: 64px 0;
    background: linear-gradient(135deg, #021c68 0%, #0034c2 100%);
    color: white;
}

.steps-title {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 44px;
}

.steps-title span {
    color: #ffc400;
}

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

.step-item {
    text-align: center;
}

.step-number {
    font-size: 5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.18);
    margin-bottom: 30px;
}

.step-item h3 {
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.step-item p {
    line-height: 1.9;
    color: rgba(255,255,255,0.85);
}

.authority-title {
    margin-bottom: 60px;
}

.authority-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 70px;
}

.authority-item {
    text-align: center;
}

.authority-item h3 {
    margin-bottom: 16px;
    font-size: 1.15rem;
}

.authority-item p {
    line-height: 1.8;
    color: #46527d;
}

.final-cta {
    background: linear-gradient(135deg, #04227b 0%, #0a49ff 100%);
    border-radius: 28px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1.2fr 1fr auto;
    gap: 30px;
    align-items: center;
}

.final-left h2 {
    color: white;
    font-size: 2.1rem;
    line-height: 1.3;
    text-align: center;
}

.final-left span {
    color: #ffc400;
}

.final-center {
    color: rgba(255,255,255,0.92);
    line-height: 1.8;
    font-size: 1.05rem;
    text-align: center;
}

.secondary {
    white-space: nowrap;
}

@media (max-width: 1200px) {

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

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

@media (max-width: 992px) {

    .hero-grid,
    .steps-grid,
    .final-cta,
    .cards-grid.four {
        grid-template-columns: 1fr;
    }

    .headline {
        font-size: 3.4rem;
        /* CORREÇÃO: letter-spacing suavizado em telas menores */
        letter-spacing: -1px;
    }

    .hero-right {
        order: -1;
        text-align: center;
    }

    .hero-image {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        z-index: 0;
    }

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

@media (max-width: 768px) {

    .container {
        padding: 0 20px;
    }

    .logo-title {
        font-size: 1.15rem;
    }

    .headline {
        font-size: 2.8rem;
        /* CORREÇÃO: letter-spacing ainda mais suave em mobile */
        letter-spacing: -0.5px;
    }

    .section-title,
    .steps-title {
        font-size: 2rem;
    }

    .cards-grid.six,
    .authority-grid {
        grid-template-columns: 1fr;
    }

    .final-cta {
        padding: 36px 24px;
    }

    .cta-button {
        display: flex;
        width: 100%;
        padding: 22px 28px;
        font-size: 1.05rem;
        text-align: center;
    }

    .secondary {
        white-space: normal;
    }

    .problems,
    .benefits,
    .authority {
        padding: 40px 0;
    }

    .section-title {
        margin-bottom: 32px;
    }

    .cards-grid {
        gap: 16px;
    }

    .steps {
        padding: 48px 0;
    }

    .steps-title {
        margin-bottom: 40px;
    }

    .steps-grid {
        gap: 36px;
    }

    .step-number {
        margin-bottom: 14px;
    }

    .authority-title {
        margin-bottom: 32px;
    }

    .authority-grid {
        gap: 28px;
        margin-bottom: 40px;
    }
}

@media (max-width: 420px) {

    .container {
        padding: 0 16px;
    }

    .headline {
        font-size: 2.3rem;
    }

    .logo-title {
        font-size: 0.9rem;
    }

    .logo {
        width: 48px;
    }

    .logo-wrapper {
        gap: 12px;
    }
}
