/* RESET & VARIÁVEIS */
:root {
    --white: #FFFFFF;
    --off-white: #FAF8F4;
    --gold: #B3925A;
    --brown: #5A4634;
    --graphite: #1F1F1F;
    --gray-light: #EBEBEB;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); color: var(--graphite); background-color: var(--white); line-height: 1.6; padding-bottom: 70px; }
.container { width: 90%; max-width: 800px; margin: 0 auto; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--graphite); }
p { font-size: 1rem; margin-bottom: 15px; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; font-family: var(--font-body); font-weight: 600; transition: background 0.3s; }

/* UTILITÁRIOS */
.bg-offwhite { background-color: var(--off-white); }
.bg-dark { background-color: var(--graphite); color: var(--white); }
.bg-dark h2, .bg-dark h3 { color: var(--white); }
.mt-20 { margin-top: 20px; }

/* BOTÕES */
.btn-primary, .btn-secondary, .btn-fixo {
    display: block; width: 100%; max-width: 400px; margin: 20px auto; padding: 18px 20px;
    font-size: 1rem; text-transform: uppercase; border-radius: 8px; text-align: center;
}
.btn-primary { background-color: var(--gold); color: var(--white); box-shadow: 0 4px 15px rgba(179, 146, 90, 0.3); }
.btn-primary:hover { background-color: #9a7d4a; }
.btn-secondary { background-color: var(--brown); color: var(--white); }
.btn-secondary:hover { background-color: #463628; }

/* HERO */
.hero { background-color: var(--white); padding: 60px 0 40px; text-align: center; }
.hero .tag { display: inline-block; font-size: 0.75rem; letter-spacing: 1px; color: var(--brown); text-transform: uppercase; margin-bottom: 15px; font-weight: 600; }
.hero h1 { font-size: 2rem; margin-bottom: 20px; }
.hero .subheadline { font-size: 1.1rem; color: #444; margin-bottom: 20px; }
.hero-instruction { font-weight: 600; margin-bottom: 10px; color: var(--brown); }
.trust-badges { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; font-size: 0.9rem; color: #555; }
.alert-hero { margin-top: 20px; font-size: 0.85rem; color: #d32f2f; font-weight: 500; background: #fff0f0; padding: 10px; border-radius: 6px; }

/* SEÇÕES GERAIS */
section { padding: 50px 0; }
section h2 { text-align: center; font-size: 1.7rem; margin-bottom: 30px; }
.subheadline-sec { text-align: center; font-size: 1.05rem; margin-bottom: 30px; color: #555; }

/* CARDS: O QUE FAZEMOS */
.cards-grid { display: flex; flex-direction: column; gap: 15px; margin-bottom: 30px; }
.card-step { background: var(--white); padding: 20px; border-left: 4px solid var(--gold); border-radius: 0 8px 8px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
.num-step { display: block; font-family: var(--font-heading); font-size: 1.2rem; color: var(--gold); font-weight: 700; margin-bottom: 5px; }
.card-step strong { display: block; font-size: 0.95rem; margin-bottom: 8px; color: var(--graphite); }
.card-step p { font-size: 0.9rem; color: #666; margin-bottom: 0; }

/* CARDS: DIFERENCIAIS PARTICULARES */
.text-intro-dark { text-align: center; color: #ccc; margin-bottom: 30px; font-size: 0.95rem; }
.cards-grid-diferenciais { display: grid; grid-template-columns: 1fr; gap: 15px; }
.card-diferencial { background: rgba(255,255,255,0.05); padding: 20px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); }
.card-diferencial strong { display: block; font-size: 0.95rem; margin-bottom: 8px; color: var(--gold); }
.card-diferencial p { font-size: 0.9rem; color: #e0e0e0; margin-bottom: 0; }
.microcopy-center { text-align: center; font-size: 0.85rem; }

/* TRANSPARÊNCIA */
.transparencia { padding: 30px 0; text-align: center; border-bottom: 1px solid var(--gray-light); }
.transparencia h3 { font-size: 1.2rem; margin-bottom: 15px; }
.transparencia p { font-size: 0.9rem; color: #666; max-width: 600px; margin: 0 auto; }

/* COMO FUNCIONA O ATENDIMENTO */
.passos-lista { display: flex; flex-direction: column; gap: 20px; margin-bottom: 20px; }
.passo { display: flex; align-items: flex-start; gap: 15px; }
.passo-num { font-family: var(--font-heading); font-size: 1.5rem; color: var(--gold); font-weight: 700; line-height: 1; }

/* ADVOGADO */
.flex-sobre { display: flex; flex-direction: column; gap: 30px; align-items: center; }
.adv-foto img { border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); width: 100%; max-width: 350px; }
.eyebrow { font-size: 0.8rem; color: var(--gold); font-weight: 600; text-transform: uppercase; margin-bottom: 5px; display: block; }
.oab-tags { display: flex; gap: 10px; margin-bottom: 20px; font-size: 0.85rem; color: #666; }
.oab-tags span { background: var(--off-white); padding: 4px 10px; border-radius: 4px; }
.adv-bullets { list-style: none; margin-top: 20px; }
.adv-bullets li { margin-bottom: 8px; font-weight: 500; color: var(--brown); }

/* FAQ */
.accordion-item { border-bottom: 1px solid var(--gray-light); }
.accordion-header { width: 100%; text-align: left; background: none; padding: 15px 0; font-size: 1rem; color: var(--graphite); display: flex; justify-content: space-between; align-items: center; }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.accordion-content p { padding-bottom: 15px; color: #555; font-size: 0.95rem; }
.accordion-header.active + .accordion-content { max-height: 250px; }

/* FOOTER */
footer { background: var(--off-white); padding: 40px 0 30px; text-align: center; font-size: 0.85rem; color: #666; }
.disclaimer { font-size: 0.75rem; margin: 15px 0; color: #888; }
.links-uteis a { color: var(--brown); text-decoration: none; margin: 0 10px; }

/* BARRA FIXA */
.barra-fixa-mobile { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--white); padding: 10px 20px; box-shadow: 0 -2px 10px rgba(0,0,0,0.05); z-index: 99; }
.btn-fixo { margin: 0; background-color: #25D366; color: white; border-radius: 8px; }

/* MODAL WIZARD */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); display: none; justify-content: center; align-items: flex-end; z-index: 1000; opacity: 0; transition: opacity 0.3s; }
.modal-overlay.active { display: flex; opacity: 1; }
.modal-content { background: var(--white); width: 100%; max-width: 500px; border-radius: 20px 20px 0 0; padding: 30px 20px 40px; position: relative; transform: translateY(100%); transition: transform 0.3s; max-height: 90vh; overflow-y: auto; }
.modal-overlay.active .modal-content { transform: translateY(0); }
.fechar-modal { position: absolute; top: 15px; right: 20px; font-size: 1.8rem; background: none; color: #999; border: none; padding: 0; }
.modal-header { margin-bottom: 25px; }
.step-indicator { font-size: 0.75rem; font-weight: 600; color: var(--gold); display: block; margin-bottom: 8px; }
.progress-bar { width: 100%; height: 6px; background: var(--gray-light); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--gold); width: 25%; transition: width 0.3s ease; }
.modal-h2 { font-size: 1.25rem; margin-bottom: 20px; text-align: left; }
.option-btn { display: block; width: 100%; text-align: left; background: var(--off-white); border: 1px solid var(--gray-light); padding: 16px; border-radius: 8px; margin-bottom: 10px; font-size: 0.95rem; font-weight: 500; color: var(--graphite); transition: all 0.2s; }
.option-btn.selected { background: var(--gold); color: var(--white); border-color: var(--gold); }
.alert-box { background: #ffebee; border-left: 4px solid #d32f2f; padding: 15px; margin-top: 15px; border-radius: 4px; display: none; }
.alert-box p { color: #d32f2f; font-size: 0.9rem; margin-bottom: 15px; }

/* TELA FINAL MODAL RESUMO */
.success-icon { font-size: 2.5rem; color: var(--gold); display: block; margin-bottom: 10px; }
.resumo-box { background: var(--off-white); padding: 15px; border-radius: 8px; margin-bottom: 20px; font-size: 0.85rem; color: #444; text-align: left; border: 1px solid var(--gray-light); }
.resumo-box p { margin-bottom: 10px; }
.resumo-box p:last-child { margin-bottom: 0; }
.resumo-box strong { color: var(--graphite); }

/* MEDIA QUERIES DESKTOP */
@media(min-width: 768px) {
    .trust-badges { flex-direction: row; justify-content: center; gap: 30px; }
    .cards-grid-diferenciais { grid-template-columns: 1fr 1fr; }
    .flex-sobre { flex-direction: row; align-items: flex-start; }
    .adv-conteudo { flex: 1; }
    .adv-foto { flex: 0 0 40%; }
    .modal-overlay { align-items: center; }
    .modal-content { border-radius: 12px; }
    body { padding-bottom: 0; }
    .barra-fixa-mobile { display: none; }
}