/* Explain: Component styles for the credit intermediary website. */
.site-header {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.94), rgba(10, 10, 10, 0.58));
    backdrop-filter: blur(18px);
}

.free-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-hover), var(--button-color));
    color: var(--text-on-gold);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1;
    padding: 0.7rem 1.15rem;
    text-transform: uppercase;
    box-shadow: var(--shadow-button);
}

.gratis-band {
    border-top: 1px solid var(--gold-band-border);
    border-bottom: 1px solid var(--gold-band-border);
    background: linear-gradient(120deg, var(--button-color), var(--primary-hover));
    color: var(--text-on-gold);
}

.gratis-mark {
    display: inline-flex;
    height: 2.75rem;
    width: 2.75rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--text-on-gold);
    color: var(--primary-hover);
    font-size: 1rem;
    box-shadow: 0 12px 26px rgba(20, 16, 10, 0.28);
}

.gratis-chip {
    border: 1px solid var(--gold-band-border);
    border-radius: 1.35rem;
    background: var(--gold-band-fill);
    padding: 1rem 1.15rem;
}

.gratis-cta {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: var(--text-on-gold);
    color: var(--primary-hover);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.8rem 1.6rem;
    text-align: center;
    box-shadow: 0 14px 30px rgba(20, 16, 10, 0.3);
    transition: transform 300ms ease, filter 300ms ease, box-shadow 300ms ease;
}

.gratis-cta:hover {
    filter: brightness(1.25);
    transform: translateY(-2px);
}

.gratis-cta:focus-visible {
    outline: 2px solid var(--text-on-gold);
    outline-offset: 3px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--accent-color);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-kicker::before {
    display: inline-block;
    width: 2.4rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.18), var(--accent-color));
    content: "";
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(28, 24, 16, 0.9), rgba(12, 12, 11, 0.78));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

/* Solid gold buttons keep near-black text so the label stays legible */
.btn[class*="--button-color"],
a[class*="--button-color"] {
    color: #14100A;
    font-weight: 700;
}

.arch-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.42);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.arch-frame::after {
    position: absolute;
    inset: 1.1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.arch-frame-large {
    width: 100%;
    max-width: 430px;
    aspect-ratio: 10 / 19;
    border-radius: 999px 999px 2.5rem 2.5rem;
}

.arch-frame-medium {
    width: min(100%, 360px);
    aspect-ratio: 9 / 16;
    border-radius: 999px 999px 2.1rem 2.1rem;
}

.arch-frame-medium img {
    border-radius: inherit;
    transform: scale(0.86);
}

.floating-note {
    position: absolute;
    right: -1.5rem;
    bottom: 4rem;
    display: flex;
    max-width: 250px;
    align-items: center;
    gap: 0.85rem;
    border-radius: 999px;
    padding: 1rem 1.2rem;
    color: var(--text-color);
    font-size: 0.82rem;
    font-weight: 600;
}

.quiet-detail,
.step-row,
.contact-note {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, 0.035);
    padding: 1.25rem;
}

.quiet-detail span {
    display: inline-flex;
    margin-bottom: 0.9rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
}

.quiet-detail p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

.service-card {
    min-height: 380px;
    border-radius: 2.2rem;
    padding: 2rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.service-card:hover {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 26px 80px rgba(212, 175, 55, 0.16);
    transform: translateY(-6px);
}

.step-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
}

.step-dot {
    width: 0.8rem;
    height: 0.8rem;
    margin-top: 0.4rem;
    border-radius: 999px;
    background: var(--accent-color);
    box-shadow: 0 0 0 0.45rem var(--terracotta-soft);
}

.step-image-wrap {
    height: 620px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 3rem 999px 999px 3rem;
    box-shadow: var(--shadow-soft);
}

.testimonial-card {
    display: flex;
    min-height: 280px;
    flex-direction: column;
    border-radius: 2rem;
    padding: 2rem;
    transition: border-color 300ms ease, box-shadow 300ms ease;
}

.testimonial-card:hover {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 26px 80px rgba(212, 175, 55, 0.16);
}

.booking-form,
.booking-overlay-panel {
    border-radius: 2.4rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.form-label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--accent-color);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.form-status {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    min-height: 1.25rem;
}

.form-status.success {
    color: var(--primary-hover);
}

.form-status.error {
    color: #F0A38C;
}

.mobile-book-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    border-top: 1px solid var(--glass-border);
    background: rgba(10, 10, 10, 0.9);
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    backdrop-filter: blur(18px);
}

.booking-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.72);
    padding: 1rem;
}

.booking-overlay.is-open {
    display: block;
}

.booking-overlay-panel {
    min-height: calc(100vh - 2rem);
    border: 1px solid var(--glass-border);
    background: var(--background-color);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
}

@media (max-width: 767px) {
    .section-kicker::before {
        width: 1.6rem;
    }

    .step-image-wrap {
        height: 500px;
        min-height: 0;
    }

    .arch-frame-large {
        margin-right: auto;
        margin-left: auto;
        width: min(100%, 380px);
        max-width: 380px;
    }

    .floating-note {
        display: none;
    }

    .step-image-wrap {
        border-radius: 999px 999px 2rem 2rem;
    }
}

.livro-qr {
    display: flex;
    align-items: center;
    justify-content: center;
}

.livro-qr-image {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    background: #FFFFFF;
    padding: 0.7rem;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
}

.arb-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 2.2rem;
    padding: clamp(1.6rem, 4vw, 2.4rem);
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.arb-card:hover {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 26px 80px rgba(212, 175, 55, 0.16);
    transform: translateY(-4px);
}

.arb-number {
    position: absolute;
    top: -0.9rem;
    right: 1rem;
    color: transparent;
    font-family: var(--font-heading);
    font-size: clamp(4.5rem, 10vw, 6.5rem);
    font-weight: 700;
    line-height: 1;
    -webkit-text-stroke: 1px rgba(212, 175, 55, 0.45);
    pointer-events: none;
    user-select: none;
}

.arb-or {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    align-self: center;
    width: 3.6rem;
    height: 3.6rem;
    flex-shrink: 0;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: radial-gradient(circle at 30% 25%, rgba(212, 175, 55, 0.34), rgba(19, 18, 17, 0.96));
    box-shadow: 0 0 0 0.5rem rgba(212, 175, 55, 0.06), var(--shadow-soft);
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}