:root {
    --am-primary: #0c5be0;
    --am-primary-ink: #093188;
    --am-muted: #5f6f86;
    --am-surface: #f5f8ff;
    --am-title: #0a1a42;
}

/* cg-hero.jpg has the castle/table centered a bit above middle — home.css's
   shared .hero-bg img rule crops toward 60% down, which pushes it too low. */
.hero-full .hero-bg img {
    object-position: 50% 45%;
}

/* Same twinkling sparkles as the login/agências hero (security-login.css
   .auth-sparkles / agencias.css) — reused here for visual consistency. */
.hero-full .auth-sparkles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.hero-full .auth-sparkles span {
    position: absolute;
    color: rgba(245, 158, 11, .7);
    animation: auth-sparkle 3.5s ease-in-out infinite;
}

@keyframes auth-sparkle {
    0%, 100% { opacity: .3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.hero-contact {
    margin-top: .8rem;
    color: rgba(255, 255, 255, .9);
    font-size: .99rem;
}

.hero-contact a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.section-title {
    font-size: clamp(1.52rem, 1.2rem + 1.08vw, 2.08rem);
    font-weight: 840;
    letter-spacing: -.025em;
    line-height: 1.08;
    color: var(--am-title);
    position: relative;
    display: inline-block;
    padding-bottom: .52rem;
    margin-bottom: .3rem;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 72px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0c5be0 0%, #8ec0ff 100%);
    box-shadow: 0 8px 20px rgba(12, 91, 224, .26);
}

.container.py-4.py-md-5 {
    max-width: 1160px;
    padding-top: 5rem !important;
}

.container.py-4.py-md-5 > section.mb-5 {
    margin-bottom: clamp(2.4rem, 2.1rem + 1.1vw, 3.2rem) !important;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

.value-item {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    background: #fff;
    box-shadow: var(--shadow-tile);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    border-color: rgba(21, 101, 232, .35);
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
}

.value-item strong {
    display: block;
    color: var(--ink-900);
    line-height: 1.24;
    font-weight: 800;
    margin-bottom: .35rem;
}

.value-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    color: #fff;
    background: var(--gradient-blue);
    box-shadow: 0 8px 16px rgba(13, 92, 228, .24);
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.final-band {
    border-radius: 1.2rem;
    color: #fff;
    padding: 2rem;
    box-shadow: 0 16px 34px rgba(18, 40, 88, .18);
    background:
        linear-gradient(133deg, rgba(9, 50, 132, .96) 0%, rgba(14, 80, 201, .95) 58%, rgba(54, 138, 255, .92) 100%),
        url("../images/logo_transparent_white-V0SQbv6.png") no-repeat right -86px bottom -88px/260px;
}

.final-band h3 {
    font-weight: 780;
    letter-spacing: -.01em;
    text-wrap: balance;
}

.cta-actions .btn {
    border-radius: 999px;
    min-height: 50px;
    font-weight: 700;
}

.cta-actions .btn {
    transition: transform .18s ease, box-shadow .18s ease;
}

.cta-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(8, 41, 107, .16);
}

.text-muted {
    color: var(--am-muted) !important;
}

@media (max-width: 991.98px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .container.py-4.py-md-5 {
        padding-top: 1.4rem !important;
    }
}

@media (max-width: 576px) {
    .cta-actions {
        display: grid !important;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
        min-height: 48px;
    }

    .section-title {
        font-size: 1.32rem;
    }

    .section-title::after {
        width: 58px;
        height: 2.5px;
    }

    .final-band {
        padding: 1.2rem;
        background-size: auto, 170px;
        background-position: 0 0, right -60px bottom -70px;
    }

    .final-band p {
        font-size: .95rem;
    }

    .hero-contact {
        font-size: .94rem;
        line-height: 1.3;
    }
}

/* ── Steps 3-card grid ── */
.how-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.how-step-card {
    background: var(--cream, #fdf8f0);
    border: 1px solid var(--line, #e8e0d0);
    border-radius: 1.2rem;
    padding: 1.75rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-tile, 0 2px 12px rgba(0,0,0,.06));
    transition: transform .2s ease, box-shadow .2s ease;
}

.how-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
}

.how-step-num {
    display: block;
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    color: var(--gold-500, #f59e0b);
    letter-spacing: -.04em;
    margin-bottom: .75rem;
    opacity: .85;
}

.how-step-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--ink-900, #0a1128);
    margin-bottom: .5rem;
}

.how-step-desc {
    font-size: .92rem;
    color: var(--muted, #6b7280);
    margin: 0;
    line-height: 1.55;
}

/* ── FAQ accordion ──
   Matches pricing.css's accordion (white card on the page background,
   shadowed, hover lift) instead of the old cream-on-white version, which
   had almost no contrast against the page and no shadow — it read as a
   flat, disconnected afterthought next to the upgraded cards above it. */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    max-width: 720px;
    margin: 0 auto;
}

.faq-accordion-item {
    border: 1px solid var(--line, #e8e0d0);
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: var(--shadow-tile);
    overflow: hidden;
    transition: box-shadow .2s ease, border-color .2s ease;
}

.faq-accordion-item:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
}

.faq-accordion-item:has(.faq-accordion-btn[aria-expanded="true"]) {
    border-color: rgba(21, 101, 232, .35);
}

.faq-accordion-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    background: none;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    color: var(--ink-900, #0a1128);
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    color: var(--gold-500, #f59e0b);
    font-size: .95rem;
    flex-shrink: 0;
    transition: transform .25s ease;
}

.faq-accordion-btn[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-accordion-body {
    padding: 0 1.35rem 1.2rem;
    font-size: .95rem;
    color: var(--muted, #6b7280);
    line-height: 1.6;
}

.faq-accordion-body p {
    margin: 0;
}

@media (max-width: 767.98px) {
    .how-steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .how-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
