/**
 * DG Medeiros Advogados - Folha de Estilos Oficial de Produção (style.css)
 * 
 * Design System: Preto Profundo, Grafite e Dourado Sóbrio Acetinado
 * Tipografia: Space Grotesk (Títulos e Destaques) e Inter (Textos e Elementos de Interface)
 * Arquitetura: Mobile-First, 100% Responsivo, Alto Contraste, Sem Dependências Externas
 */

/* ==========================================================================
   1. VARIÁVEIS E RESET GLOBAL
   ========================================================================== */
:root {
    --bg-body: #090a0f;
    --bg-card: #12141c;
    --bg-card-subtle: #171a25;
    --bg-surface: #0e1017;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(197, 160, 89, 0.35);
    --border-gold-hover: rgba(223, 190, 125, 0.7);

    /* Dourado Oficial */
    --gold-primary: #c5a059;
    --gold-light: #dfbe7d;
    --gold-dark: #987834;
    --gold-gradient: linear-gradient(135deg, #dfbe7d 0%, #c5a059 50%, #987834 100%);
    --gold-gradient-soft: linear-gradient(180deg, rgba(197, 160, 89, 0.12) 0%, rgba(197, 160, 89, 0.02) 100%);

    /* Textos e Contraste */
    --text-heading: #ffffff;
    --text-body: #cbd2e0;
    --text-muted: #8b94a7;

    /* Status e Validação */
    --status-error: #ef4444;
    --status-success: #10b981;

    /* Tipografia */
    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container-max: 1200px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background-color: var(--bg-body);
    color: var(--text-body);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.modal-open {
    overflow: hidden;
}

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

/* Acessibilidade para leitores de tela */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* ==========================================================================
   2. BOTÕES E COMPONENTES PRINCIPAIS
   ========================================================================== */
.btn-cta-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gold-gradient);
    color: #090a0d;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.85rem 1.6rem;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid var(--gold-light);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(197, 160, 89, 0.25);
    transition: all 0.2s ease;
    text-align: center;
    min-height: 48px;
}

.btn-cta-main:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(197, 160, 89, 0.4);
    filter: brightness(1.05);
}

.btn-full-width {
    width: 100%;
}

/* ==========================================================================
   3. CABEÇALHO OFICIAL
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(9, 10, 15, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.85rem 0;
    width: 100%;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo-img {
    height: 40px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .brand-logo-img {
        height: 48px;
        max-width: 230px;
    }
}

.nav-anchors {
    display: none;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
}

@media (min-width: 992px) {
    .nav-anchors {
        display: flex;
    }
}

.nav-link {
    color: var(--text-body);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
    padding: 0.25rem 0;
}

.nav-link:hover {
    color: var(--gold-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-cta-desktop {
    display: none;
}

@media (min-width: 768px) {
    .header-cta-desktop {
        display: inline-flex;
    }
}

.btn-hamburger {
    display: flex;
    background: #141722;
    border: 1px solid var(--border-subtle);
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (min-width: 992px) {
    .btn-hamburger {
        display: none;
    }
}

/* Painel Mobile Dropdown */
.mobile-nav-panel {
    display: none;
    background: #0d0f17;
    border-bottom: 1px solid var(--border-gold);
    padding: 1.25rem 1.25rem 1.5rem;
    width: 100%;
}

.mobile-nav-panel.open {
    display: block;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.mobile-nav-item {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ==========================================================================
   4. SEÇÃO 1: HERO (PRIMEIRA SEÇÃO)
   ========================================================================== */
.section-hero {
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(197, 160, 89, 0.08) 0%, transparent 60%),
                linear-gradient(180deg, #090a0f 0%, #0d1017 100%);
    border-bottom: 1px solid var(--border-subtle);
    padding: 2.25rem 0 3.25rem;
    width: 100%;
}

@media (min-width: 992px) {
    .section-hero {
        padding: 4.5rem 0 5.5rem;
    }
}

.hero-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

@media (min-width: 992px) {
    .hero-layout {
        display: grid;
        grid-template-columns: 1.2fr 0.9fr;
        gap: 4rem;
        align-items: center;
    }
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.hero-kicker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-primary);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 1.85rem;
    line-height: 1.22;
    color: var(--text-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    word-wrap: break-word;
}

@media (min-width: 576px) {
    .hero-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 2.85rem;
        line-height: 1.18;
        margin-bottom: 1.5rem;
    }
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
    .hero-subtitle {
        font-size: 1.15rem;
        margin-bottom: 2rem;
    }
}

.hero-actions-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

@media (min-width: 576px) {
    .hero-actions-block {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }
}

.hero-actions-block .btn-cta-main {
    width: 100%;
}

@media (min-width: 576px) {
    .hero-actions-block .btn-cta-main {
        width: auto;
    }
}

.hero-secondary-anchor {
    color: var(--text-body);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 0;
}

.hero-secondary-anchor:hover {
    color: var(--gold-light);
}

.hero-badges-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1.25rem;
    width: 100%;
}

@media (min-width: 576px) {
    .hero-badges-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.25rem;
    }
}

.hero-badge-pill {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    color: #d2d8e4;
}

.hero-badge-pill svg {
    color: var(--gold-primary);
    flex-shrink: 0;
}

/* Card de Fotografia do Hero */
.hero-photo-card {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background: #11141c;
    border: 1px solid var(--border-gold);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

@media (min-width: 992px) {
    .hero-photo-card {
        max-width: 440px;
    }
}

.hero-photo-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: top center;
    max-height: 420px;
}

.hero-photo-caption {
    background: #0d0f17;
    padding: 1rem 1.25rem;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
}

.hero-photo-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.hero-photo-oab {
    color: var(--gold-light);
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: 0.15rem;
}

.hero-photo-scope {
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-top: 0.2rem;
}

/* ==========================================================================
   5. SEÇÃO 2: SITUAÇÕES ATENDIDAS
   ========================================================================== */
.section-situations {
    padding: 3.5rem 0;
    background: var(--bg-body);
    width: 100%;
}

@media (min-width: 768px) {
    .section-situations {
        padding: 5rem 0;
    }
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.section-kicker {
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.65rem;
    color: var(--text-heading);
    margin-bottom: 0.75rem;
    line-height: 1.25;
    font-weight: 700;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }
}

.section-subtitle {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.6;
}

.situations-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

@media (min-width: 992px) {
    .situations-cards-stack {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.situation-card-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    text-align: left;
    cursor: pointer;
    width: 100%;
    outline: none;
}

@media (min-width: 768px) {
    .situation-card-item {
        padding: 2rem 1.6rem;
    }
}

.situation-card-item:hover {
    transform: translateY(-2px);
    border-color: var(--border-gold);
    background: var(--bg-card-subtle);
}

.situation-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
}

.situation-item-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 0.65rem;
    font-weight: 600;
}

.situation-item-desc {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.situation-item-cta {
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ==========================================================================
   6. SEÇÃO 3: IMPORTÂNCIA DA ATUAÇÃO ESPECIALIZADA
   ========================================================================== */
.section-importance {
    padding: 3.5rem 0;
    background: linear-gradient(180deg, #090a0f 0%, #0e1118 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    width: 100%;
}

@media (min-width: 768px) {
    .section-importance {
        padding: 5rem 0;
    }
}

.pillars-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

@media (min-width: 768px) {
    .pillars-cards-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 992px) {
    .pillars-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.pillar-card {
    background: rgba(18, 20, 28, 0.75);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 1.5rem 1.25rem;
    width: 100%;
}

.pillar-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    color: var(--gold-light);
}

.pillar-card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    font-weight: 600;
}

.pillar-card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ==========================================================================
   7. SEÇÃO 4: COMO FUNCIONA A CONTRATAÇÃO
   ========================================================================== */
.section-process {
    padding: 3.5rem 0;
    background: var(--bg-body);
    width: 100%;
}

@media (min-width: 768px) {
    .section-process {
        padding: 5rem 0;
    }
}

.steps-cards-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
}

@media (min-width: 992px) {
    .steps-cards-list {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;
    }
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 1.4rem 1.15rem;
    text-align: center;
    width: 100%;
}

.step-badge-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: #090a0d;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.85rem;
}

.step-card-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.step-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   8. SEÇÃO 5: AUTORIDADE PROFISSIONAL (DAVI MEDEIROS)
   ========================================================================== */
.section-authority {
    padding: 3.5rem 0;
    background: linear-gradient(180deg, #0e1118 0%, #090a0f 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    width: 100%;
}

@media (min-width: 768px) {
    .section-authority {
        padding: 5rem 0;
    }
}

.authority-block {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

@media (min-width: 992px) {
    .authority-block {
        display: grid;
        grid-template-columns: 0.85fr 1.25fr;
        gap: 3.5rem;
        align-items: center;
    }
}

.authority-photo-wrap {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    background: #11141c;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .authority-photo-wrap {
        max-width: 400px;
    }
}

.authority-photo-img {
    width: 100%;
    height: auto;
    max-height: 480px;
    display: block;
    object-fit: cover;
}

.authority-name {
    font-family: var(--font-display);
    font-size: 1.85rem;
    color: #fff;
    margin-bottom: 0.35rem;
    line-height: 1.2;
    font-weight: 700;
}

@media (min-width: 768px) {
    .authority-name {
        font-size: 2.4rem;
    }
}

.authority-oab-line {
    color: var(--gold-primary);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    display: block;
}

.authority-bio-text {
    font-size: 0.96rem;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.authority-features-row {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 1.5rem 0 1.75rem;
    width: 100%;
}

@media (min-width: 576px) {
    .authority-features-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

.authority-feat-card {
    background: rgba(20, 24, 34, 0.6);
    border: 1px solid var(--border-subtle);
    padding: 1rem;
    border-radius: 8px;
}

.authority-feat-title {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.authority-feat-desc {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.authority-block .btn-cta-main {
    width: 100%;
}

@media (min-width: 576px) {
    .authority-block .btn-cta-main {
        width: auto;
    }
}

/* ==========================================================================
   9. SEÇÃO 6: PERGUNTAS FREQUENTES (FAQ)
   ========================================================================== */
.section-faq {
    padding: 3.5rem 0;
    background: var(--bg-body);
    width: 100%;
}

@media (min-width: 768px) {
    .section-faq {
        padding: 5rem 0;
    }
}

.faq-items-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.faq-item-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
}

.faq-trigger-btn {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.15rem 1.25rem;
    text-align: left;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.98rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    min-height: 48px;
}

.faq-cross-icon {
    color: var(--gold-light);
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq-item-card.active .faq-cross-icon {
    transform: rotate(45deg);
}

.faq-body-content {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-body);
    font-size: 0.92rem;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 0.85rem;
}

/* ==========================================================================
   10. SEÇÃO 7: CHAMADA FINAL (CTA)
   ========================================================================== */
.section-final-cta {
    padding: 3.5rem 0;
    background: radial-gradient(circle at 50% 50%, rgba(197, 160, 89, 0.12) 0%, transparent 70%), #090a0f;
    border-top: 1px solid var(--border-gold);
    text-align: center;
    width: 100%;
}

@media (min-width: 768px) {
    .section-final-cta {
        padding: 5rem 0;
    }
}

.final-cta-wrapper {
    max-width: 720px;
    margin: 0 auto;
}

.final-cta-title {
    font-family: var(--font-display);
    font-size: 1.65rem;
    color: #fff;
    margin-bottom: 0.85rem;
    line-height: 1.25;
    font-weight: 700;
}

@media (min-width: 768px) {
    .final-cta-title {
        font-size: 2.25rem;
    }
}

.final-cta-subtitle {
    font-size: 0.98rem;
    color: var(--text-body);
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

.final-cta-wrapper .btn-cta-main {
    width: 100%;
}

@media (min-width: 576px) {
    .final-cta-wrapper .btn-cta-main {
        width: auto;
    }
}

/* ==========================================================================
   11. RODAPÉ INSTITUCIONAL
   ========================================================================== */
.site-footer {
    background: #050608;
    border-top: 1px solid var(--border-subtle);
    padding: 2.5rem 0 2rem;
    color: var(--text-muted);
    width: 100%;
}

.footer-inner-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .footer-inner-block {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-logo-img {
    height: 38px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
}

.footer-priv-link {
    color: var(--gold-light);
    text-decoration: none;
    font-size: 0.88rem;
    min-height: 40px;
    line-height: 40px;
    display: inline-block;
}

.footer-priv-link:hover {
    text-decoration: underline;
}

.footer-copyright-note {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.25rem;
    text-align: center;
    font-size: 0.76rem;
    color: #727a8c;
    line-height: 1.5;
}

/* ==========================================================================
   12. MODAL POP-UP DO FORMULÁRIO (ACESSIBILIDADE E RESPONSIVIDADE)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: #11141c;
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    width: 100%;
    max-width: 560px;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
    margin: auto;
}

.modal-header {
    padding: 1.25rem 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background: #0d0f17;
    gap: 1rem;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.modal-subtitle {
    font-size: 0.8rem;
    color: var(--gold-light);
}

.btn-modal-close {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
}

.btn-modal-close:hover {
    color: #fff;
    border-color: #fff;
}

/* Indicador de Progresso em 4 Etapas */
.modal-progress-bar-wrapper {
    background: #090b10;
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.85rem 1.25rem;
}

.progress-steps-row {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}

.progress-step-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #1c202b;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
}

.progress-step.current {
    color: #fff;
}

.progress-step.current .progress-step-circle {
    background: var(--gold-gradient);
    color: #090a0d;
    border-color: var(--gold-light);
}

.progress-step.completed {
    color: var(--gold-light);
}

.progress-step.completed .progress-step-circle {
    background: rgba(197, 160, 89, 0.2);
    border-color: var(--gold-primary);
    color: var(--gold-light);
}

.modal-body {
    padding: 1.25rem;
}

.form-step-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.form-step-desc {
    font-size: 0.88rem;
    color: var(--text-body);
    margin-bottom: 1.25rem;
}

/* Campos e Formulário */
.form-field-group {
    margin-bottom: 1.25rem;
}

.field-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.4rem;
}

.required-asterisk {
    color: var(--gold-light);
}

.field-help-text {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.input-text-modal,
.input-select-modal,
.input-textarea-modal {
    width: 100%;
    background: #161923;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.input-text-modal:focus,
.input-select-modal:focus,
.input-textarea-modal:focus {
    border-color: var(--gold-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.2);
}

.modal-radio-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.modal-radio-card {
    background: #161923;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 0.9rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-radio-card:hover {
    border-color: var(--border-gold);
    background: #1c202d;
}

.modal-radio-card input[type="radio"] {
    accent-color: var(--gold-primary);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.modal-radio-label {
    font-size: 0.92rem;
    color: #fff;
    font-weight: 500;
}

/* Caixa de Consentimento LGPD */
.consent-box {
    background: rgba(18, 21, 28, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.84rem;
    color: var(--text-body);
    line-height: 1.5;
}

.consent-checkbox {
    accent-color: var(--gold-primary);
    width: 18px;
    height: 18px;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.consent-link {
    color: var(--gold-light);
    text-decoration: underline;
}

/* Mensagens de Erro */
.field-error-message {
    color: var(--status-error);
    font-size: 0.8rem;
    margin-top: 0.35rem;
    font-weight: 500;
}

.hidden-error {
    display: none !important;
}

.hidden-step {
    display: none !important;
}

.hidden-conditional {
    display: none !important;
}

.hidden-faq {
    display: none !important;
}

/* Ações do Modal */
.modal-actions {
    display: flex;
    flex-direction: column-reverse;
    gap: 0.65rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--border-subtle);
}

@media (min-width: 576px) {
    .modal-actions {
        flex-direction: row;
        justify-content: flex-end;
    }
}

.btn-modal-cancel {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-body);
    padding: 0.75rem 1.15rem;
    border-radius: 6px;
    font-size: 0.88rem;
    cursor: pointer;
    min-height: 44px;
    text-align: center;
}

.btn-modal-cancel:hover {
    color: #fff;
    border-color: #fff;
}

.modal-actions .btn-cta-main {
    width: 100%;
}

@media (min-width: 576px) {
    .modal-actions .btn-cta-main {
        width: auto;
    }
}
