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

:root {
    --green-primary: #22A653;
    --green-dark: #1B8F45;
    --green-light: #E8F5E9;
    --green-bg: #f0f9f0;
    --black: #1a1a1a;
    --text-body: #555;
    --text-light: #888;
    --gray-border: #e5e5e5;
    --gray-bg: #f5f5f5;
    --white: #fff;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== HEADER ===== */
.header {
    background: var(--white);
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-border);
}

.header__container {
    max-width: 1200px;
    margin: 0 auto;
}

.header__logo {
    height: 28px;
    width: auto;
}

/* ===== HERO BANNER ===== */
.hero {
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.hero__content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.hero__image {
    width: 100%;
    line-height: 0;
}

.hero__image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero__text {
    display: none;
}

/* ===== VANTAGENS ===== */
.vantagens {
    padding: 32px 20px 28px;
    background: var(--white);
}

.vantagens__title {
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 24px;
    color: var(--black);
}

.vantagens__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.vantagens__card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-left: 4px solid var(--green-primary);
    border-radius: 12px;
}

.vantagens__icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vantagens__icon svg {
    width: 22px;
    height: 22px;
}

.vantagens__info h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 2px;
}

.vantagens__info p {
    font-size: 13px;
    color: var(--text-body);
    font-weight: 400;
}

.vantagens__btn {
    display: block;
    width: 100%;
    padding: 18px 24px;
    background: var(--green-primary);
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    margin-bottom: 14px;
}

.vantagens__btn:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
}

.vantagens__btn:active {
    transform: translateY(0);
}

.vantagens__security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--text-body);
}

.vantagens__security svg {
    flex-shrink: 0;
}

.vantagens__security strong {
    font-weight: 600;
}

/* ===== COMO APLICAR (STEPS) ===== */
.steps {
    padding: 36px 20px 28px;
    background: linear-gradient(180deg, var(--white) 0%, var(--green-bg) 100%);
}

.steps__title {
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 24px;
    color: var(--black);
}

/* Step indicators */
.steps__indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 28px;
    padding: 0 20px;
}

.steps__dot {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gray-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-light);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.steps__dot.active {
    background: var(--green-primary);
    border-color: var(--green-primary);
    color: var(--white);
}

.steps__dot.completed {
    background: var(--green-primary);
    border-color: var(--green-primary);
    color: var(--white);
}

.steps__line {
    flex: 1;
    height: 3px;
    background: var(--gray-border);
    position: relative;
    z-index: 0;
}

.steps__line-fill {
    height: 100%;
    width: 0%;
    background: var(--green-primary);
    transition: width 0.4s ease;
}

.steps__line-fill.active {
    width: 100%;
}

/* Carousel */
.steps__carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.steps__arrow {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--black);
    transition: background 0.2s, transform 0.2s;
    z-index: 2;
}

.steps__arrow:hover {
    background: var(--gray-bg);
    transform: scale(1.05);
}

.steps__slides-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 16px;
}

.steps__slides {
    display: flex;
    transition: transform 0.4s ease;
}

.steps__slide {
    min-width: 100%;
    padding: 0 4px;
}

.steps__phone {
    background: var(--gray-bg);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.steps__phone img {
    max-height: 260px;
    width: auto;
    border-radius: 10px;
}

.steps__description {
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
    color: var(--black);
    padding: 0 8px;
}

.steps__description strong {
    font-weight: 800;
}

/* Carousel dots */
.steps__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.steps__carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-border);
    transition: background 0.3s ease;
    cursor: pointer;
}

.steps__carousel-dot.active {
    background: var(--green-primary);
}

/* ===== STATS ===== */
.stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 28px 16px;
    background: var(--green-bg);
}

.stats__item {
    flex: 1;
    text-align: center;
    position: relative;
}

.stats__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 36px;
    width: 1px;
    background: var(--gray-border);
}

.stats__number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--green-primary);
    line-height: 1.1;
}

.stats__unit {
    font-size: 18px;
    font-weight: 700;
}

.stats__label {
    display: block;
    font-size: 13px;
    color: var(--text-body);
    font-weight: 500;
    margin-top: 2px;
}

/* ===== SIMULAR ===== */
.simular {
    padding: 20px 20px 8px;
    background: var(--green-bg);
}

.simular__card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 14px;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.simular__card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

.simular__icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--green-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.simular__info {
    flex: 1;
}

.simular__info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 2px;
}

.simular__info p {
    font-size: 13px;
    color: var(--text-body);
}

.simular__arrow {
    flex-shrink: 0;
}

/* ===== REVIEWS ===== */
.reviews {
    padding: 28px 20px 40px;
    background: var(--green-bg);
}

.reviews__title {
    font-size: 18px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reviews__quotes {
    font-size: 22px;
    color: var(--green-primary);
    line-height: 1;
}

.reviews__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reviews__card {
    background: var(--white);
    border-left: 4px solid var(--green-primary);
    border-radius: 12px;
    padding: 18px 20px;
}

.reviews__text {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-body);
    font-style: italic;
    margin-bottom: 12px;
}

.reviews__author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.reviews__name {
    font-size: 13px;
    font-weight: 600;
    color: var(--black);
}

.reviews__stars {
    font-size: 14px;
    color: var(--green-primary);
    letter-spacing: 1px;
}

/* ===== DESKTOP ===== */
@media (min-width: 768px) {
    .header {
        padding: 16px 24px;
    }

    .header__logo {
        height: 34px;
    }

    .hero__content {
        display: flex;
        align-items: center;
    }

    .hero__image img {
        max-height: 420px;
        width: auto;
        margin: 0 auto;
    }

    .vantagens {
        padding: 48px 32px 36px;
        max-width: 800px;
        margin: 0 auto;
    }

    .vantagens__title {
        font-size: 26px;
    }

    .vantagens__list {
        gap: 14px;
    }

    .vantagens__btn {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 16px;
        font-size: 17px;
        padding: 20px 32px;
    }

    .steps {
        padding: 48px 32px 36px;
        max-width: 800px;
        margin: 0 auto;
    }

    .steps__title {
        font-size: 26px;
    }

    .steps__phone img {
        max-height: 320px;
    }

    .stats {
        padding: 36px 32px;
        max-width: 700px;
        margin: 0 auto;
        background: var(--green-bg);
    }

    .stats__number {
        font-size: 34px;
    }

    .stats__label {
        font-size: 14px;
    }

    .simular {
        max-width: 700px;
        margin: 0 auto;
        padding: 24px 32px 12px;
        background: var(--green-bg);
    }

    .reviews {
        max-width: 700px;
        margin: 0 auto;
        padding: 32px 32px 48px;
    }

    .reviews__title {
        font-size: 20px;
    }
}

@media (min-width: 1024px) {
    .hero__image img {
        max-height: 500px;
    }

    .vantagens {
        max-width: 900px;
        padding: 56px 40px 40px;
    }

    .vantagens__list {
        flex-direction: row;
        gap: 16px;
    }

    .vantagens__card {
        flex: 1;
        flex-direction: column;
        text-align: center;
        padding: 24px 16px;
        gap: 12px;
    }

    .vantagens__title {
        font-size: 28px;
    }

    .steps {
        max-width: 900px;
        padding: 56px 40px 40px;
    }

    .steps__carousel {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 16px;
    }

    .steps__phone img {
        max-height: 360px;
    }

    .stats {
        max-width: 800px;
    }

    .stats__number {
        font-size: 38px;
    }

    .simular {
        max-width: 800px;
    }

    .reviews {
        max-width: 800px;
    }

    .reviews__list {
        flex-direction: row;
        gap: 16px;
    }

    .reviews__card {
        flex: 1;
    }
}

/* ===== FULL-WIDTH BACKGROUNDS ON DESKTOP ===== */
@media (min-width: 768px) {
    .stats,
    .simular,
    .reviews {
        max-width: none;
    }

    .stats {
        padding-left: calc(50% - 350px);
        padding-right: calc(50% - 350px);
    }

    .simular {
        padding-left: calc(50% - 350px);
        padding-right: calc(50% - 350px);
    }

    .reviews {
        padding-left: calc(50% - 350px);
        padding-right: calc(50% - 350px);
    }
}

@media (min-width: 1024px) {
    .stats {
        padding-left: calc(50% - 400px);
        padding-right: calc(50% - 400px);
    }

    .simular {
        padding-left: calc(50% - 400px);
        padding-right: calc(50% - 400px);
    }

    .reviews {
        padding-left: calc(50% - 400px);
        padding-right: calc(50% - 400px);
    }
}
