/* ---- Reset local ---- */
.fp-root *,
.fp-root *::before,
.fp-root *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.fp-root {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    color: #111827;
}

/* ---- Tokens ---- */
:root {
    --fp-navy: #0f2044;
    --fp-blue: #2563eb;
    --fp-sky: #3b9df8;
    --fp-light: #e8f1fd;
    --fp-white: #ffffff;
    --fp-gray: #6b7280;
    --fp-line: #e5e7eb;
}

/* ======================================================
1. HERO
====================================================== */
.fp-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0f26448c;
}

/* Imagem de fundo — substitua o src pelo caminho real */
.fp-hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('../assets/img/backgrounds/consulting.png');
    background-size: cover;
    background-position: center;
    opacity: 0.18;
}

/* Overlay azul sobre a imagem */
.fp-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 32, 68, 0.753) 45%, rgba(37, 99, 235, 0.55) 100%);
}

.fp-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 100px 32px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* Eyebrow */
.fp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fp-sky);
    background: rgba(59, 157, 248, 0.12);
    border: 1px solid rgba(59, 157, 248, 0.3);
    border-radius: 100px;
    padding: 6px 14px;
    margin-bottom: 24px;
}

.fp-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--fp-sky);
    flex-shrink: 0;
}

.fp-hero__title {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--fp-white);
    margin-bottom: 20px;
}

.fp-hero__title span {
    color: var(--fp-sky);
}

.fp-hero__sub {
    font-size: 1.1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 36px;
    max-width: 500px;
}

.fp-btn-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.fp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
    border: none;
}

.fp-btn:hover {
    transform: translateY(-2px);
}

.fp-btn--primary {
    background: var(--fp-blue);
    color: var(--fp-white);
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.45);
}

.fp-btn--primary:hover {
    box-shadow: 0 8px 26px rgba(37, 99, 235, 0.55);
}

.fp-btn--ghost {
    background: transparent;
    color: var(--fp-white);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.fp-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Stats strip */
.fp-hero__stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.fp-stat__num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--fp-white);
}

.fp-stat__label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

/* Right — floating card mockup */
.fp-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.fp-card-stack {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.fp-card-stack__back {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.25);
    border-radius: 16px;
    border: 1px solid rgba(59, 157, 248, 0.2);
}

.fp-card-main {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 28px;
    backdrop-filter: blur(10px);
}

.fp-card-main__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.fp-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.fp-icon-box--blue {
    background: rgba(37, 99, 235, 0.35);
}

.fp-card-main__title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--fp-white);
}

.fp-card-main__sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.fp-progress-row {
    margin-bottom: 14px;
}

.fp-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
}

.fp-progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    overflow: hidden;
}

.fp-progress-fill {
    height: 100%;
    border-radius: 100px;
    background: var(--fp-blue);
}

.fp-progress-fill--sky {
    background: var(--fp-sky);
}

.fp-progress-fill--green {
    background: #10b981;
}

.fp-pill-row {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.fp-pill {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    border: 1px solid rgba(59, 157, 248, 0.35);
    color: var(--fp-sky);
    background: rgba(59, 157, 248, 0.08);
}

/* ======================================================
2. SOLUÇÕES EM DESTAQUE (3 colunas)
====================================================== */
.fp-section {
    padding: 88px 32px;
}

.fp-section--light {
    background: #f9fafb;
}

.fp-section--white {
    background: var(--fp-white);
}

.fp-container {
    max-width: 1180px;
    margin: 0 auto;
}

.fp-section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fp-blue);
    margin-bottom: 12px;
}

.fp-section-title {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--fp-navy);
    margin-bottom: 16px;
    line-height: 1.2;
}

.fp-section-desc {
    font-size: 1rem;
    color: var(--fp-gray);
    max-width: 560px;
    line-height: 1.75;
    margin-bottom: 56px;
}

.fp-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.fp-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.fp-service-card {
    background: var(--fp-white);
    border: 1px solid var(--fp-line);
    border-radius: 14px;
    padding: 32px 28px;
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: default;
}

.fp-service-card:hover {
    box-shadow: 0 10px 32px rgba(15, 32, 68, 0.1);
    transform: translateY(-4px);
}

.fp-service-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.fp-ic--blue {
    background: #dbeafe;
}

.fp-ic--indigo {
    background: #e0e7ff;
}

.fp-ic--teal {
    background: #d1fae5;
}

.fp-ic--amber {
    background: #fef3c7;
}

.fp-ic--rose {
    background: #ffe4e6;
}

.fp-ic--purple {
    background: #ede9fe;
}

.fp-service-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--fp-navy);
    margin-bottom: 10px;
}

.fp-service-card__text {
    font-size: 0.88rem;
    color: var(--fp-gray);
    line-height: 1.7;
}

.fp-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 9px;
    border-radius: 100px;
    margin-top: 14px;
    background: #dbeafe;
    color: #1d4ed8;
}

.fp-tag--green {
    background: #d1fae5;
    color: #065f46;
}

/* ======================================================
3. MICROCREDITO / MICROBANCO — secção de destaque
====================================================== */
.fp-fintech {
    background: var(--fp-navy);
    padding: 88px 32px;
    position: relative;
    overflow: hidden;
}

.fp-fintech::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.18);
    pointer-events: none;
}

.fp-fintech::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(59, 157, 248, 0.1);
    pointer-events: none;
}

.fp-fintech__inner {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.fp-fintech__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fp-sky);
    margin-bottom: 14px;
}

.fp-fintech__title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--fp-white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.fp-fintech__title span {
    color: var(--fp-sky);
}

.fp-fintech__desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.75;
    margin-bottom: 36px;
}

.fp-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fp-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.55;
}

.fp-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(59, 157, 248, 0.2);
    border: 1px solid rgba(59, 157, 248, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fp-sky);
    font-size: 11px;
    margin-top: 1px;
}

/* Fintech visual — cards */
.fp-fintech__cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fp-fcard {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: background 0.2s;
}

.fp-fcard:hover {
    background: rgba(255, 255, 255, 0.1);
}

.fp-fcard__icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    background: rgba(37, 99, 235, 0.35);
}

.fp-fcard__title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--fp-white);
    margin-bottom: 4px;
}

.fp-fcard__text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

/* ======================================================
4. POR QUE ESCOLHER — razões de confiança
====================================================== */
.fp-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
    border: 1px solid var(--fp-line);
    border-radius: 16px;
    overflow: hidden;
}

.fp-trust-item {
    padding: 36px 28px;
    border-right: 1px solid var(--fp-line);
    border-bottom: 1px solid var(--fp-line);
    text-align: center;
}

.fp-trust-item:nth-child(4n) {
    border-right: none;
}

@media (max-width: 900px) {
    .fp-trust-item {
        border-right: none;
    }
}

.fp-trust-item__num {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--fp-blue);
    line-height: 1;
}

.fp-trust-item__unit {
    font-size: 1rem;
    color: var(--fp-sky);
}

.fp-trust-item__label {
    font-size: 0.82rem;
    color: var(--fp-gray);
    margin-top: 8px;
    line-height: 1.5;
}

/* ======================================================
5. PROCESSO (como trabalhamos)
====================================================== */
.fp-process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
    position: relative;
}

.fp-step {
    padding: 0 24px 0 0;
    position: relative;
}

.fp-step__num {
    font-size: 3rem;
    font-weight: 900;
    color: var(--fp-light);
    line-height: 1;
    margin-bottom: 12px;
}

.fp-step__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--fp-navy);
    margin-bottom: 8px;
}

.fp-step__text {
    font-size: 0.85rem;
    color: var(--fp-gray);
    line-height: 1.65;
}

.fp-step__line {
    position: absolute;
    top: 26px;
    right: 0;
    width: 1px;
    height: 40px;
    background: var(--fp-line);
}

.fp-step:last-child .fp-step__line {
    display: none;
}

/* ======================================================
6. CTA FINAL
====================================================== */
.fp-cta-band {
    background: linear-gradient(135deg, var(--fp-blue) 0%, #1a3fa6 100%);
    padding: 72px 32px;
    text-align: center;
}

.fp-cta-band__title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--fp-white);
    margin-bottom: 16px;
}

.fp-cta-band__sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.fp-btn--white {
    background: var(--fp-white);
    color: var(--fp-blue);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.fp-btn--white:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.fp-btn--outline-white {
    background: transparent;
    color: var(--fp-white);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
}

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

/* ======================================================
RESPONSIVO
====================================================== */
@media (max-width: 900px) {
    .fp-hero__inner {
        grid-template-columns: 1fr;
        gap: 48px;
        padding-top: 80px;
    }

    .fp-hero__visual {
        display: none;
    }

    .fp-fintech__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .fp-hero__stats {
        gap: 20px;
    }

    .fp-step__line {
        display: none;
    }

    .fp-process-steps {
        gap: 32px;
    }

    .fp-step {
        padding: 0;
    }
}

@media (max-width: 600px) {
    .fp-section {
        padding: 64px 20px;
    }

    .fp-fintech {
        padding: 64px 20px;
    }

    .fp-cta-band {
        padding: 64px 20px;
    }

    .fp-hero__inner {
        padding: 80px 20px 60px;
    }

    .fp-btn-group {
        flex-direction: column;
    }

    .fp-btn {
        justify-content: center;
    }

    .fp-trust-grid {
        grid-template-columns: 1fr 1fr;
    }
}