/* ======================================================
   ACONCHI - ESTILO ACOLHEDOR, ORGANIZADO E PROFISSIONAL
   ====================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', system-ui, sans-serif; }

:root {
  --bg-main: #fdfaf7; /* Areia bem claro e quente */
  --navy: #2c3e50;    /* Azul Slate Escuro (Confiança) */
  --accent: #e07a5f;  /* Terracota quente (Ação/Acolhimento) */
  --green: #81b29a;   /* Verde Sage (Sucesso) */
  --text-dark: #334155;
  --text-light: #64748b;
  --border: #e2e8f0;
}

html, body { min-height: 100vh; background-color: var(--bg-main); color: var(--text-dark); line-height: 1.6; }
.text-center { text-align: center; }
.bg-white { background-color: #ffffff !important; }

/* LOGO ACONCHI */
.logo { font-size: 28px; font-weight: 800; color: var(--navy); letter-spacing: -1px; }
.logo span { color: var(--accent); }

/* HOME (VITRINE) */
.home-container { width: 100%; max-width: 1050px; margin: 0 auto; padding: 0 20px; }
.home-nav { background: #fff; padding: 16px 0; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.home-nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1050px; margin: 0 auto; padding: 0 20px; }
.btn-nav-cta { background: var(--accent); color: #fff; border: none; padding: 10px 20px; border-radius: 20px; font-weight: bold; font-size: 14px; cursor: pointer; transition: 0.2s; }
.btn-nav-cta:hover { background: #cf664b; transform: translateY(-1px); }

.home-hero { padding: 80px 0; background: linear-gradient(180deg, #fff 0%, var(--bg-main) 100%); }
.badge-tag { background: rgba(224, 122, 95, 0.1); color: var(--accent); padding: 6px 16px; border-radius: 20px; font-size: 12px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; display: inline-block; margin-bottom: 20px; }
.hero-titulo { font-size: 42px; font-weight: 800; color: var(--navy); line-height: 1.15; max-width: 750px; margin: 0 auto 20px; letter-spacing: -1px; }
.hero-subtitulo { color: var(--text-light); font-size: 18px; max-width: 650px; margin: 0 auto 35px; }
.btn-hero-cta { background: var(--accent); color: #fff; border: none; padding: 18px 36px; border-radius: 10px; font-size: 17px; font-weight: bold; cursor: pointer; transition: 0.2s; box-shadow: 0 6px 15px rgba(224,122,95,0.25); }
.btn-hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(224,122,95,0.35); }
.hero-microtext { color: #94a3b8; font-size: 13px; margin-top: 15px; font-weight: 600; }

.home-section { padding: 70px 0; border-top: 1px solid var(--border); }
.section-titulo { font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 40px; text-align: center; }

/* Grid Comparativo (De Boca vs Aconchi) */
.grid-comparativo { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; max-width: 800px; margin: 0 auto; }
.card-comparativo { padding: 30px; border-radius: 12px; text-align: left; }
.card-comparativo ul { list-style: none; padding: 0; }
.card-comparativo ul li { margin-bottom: 15px; font-size: 14.5px; position: relative; padding-left: 20px; }
.card-comparativo ul li::before { content: "•"; position: absolute; left: 0; font-size: 18px; line-height: 1; }
.comp-header { font-size: 18px; font-weight: 800; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid; }
.ruim { background: #fff5f5; border: 1px solid #fed7d7; color: #7f1d1d; }
.ruim .comp-header { border-color: #fca5a5; }
.bom { background: #f0fdf4; border: 1px solid #bbf7d0; color: #14532d; }
.bom .comp-header { border-color: #86efac; }

/* Grids Gerais */
.grid-passos, .grid-futuro { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.card-passo { background: var(--bg-main); padding: 30px; border-radius: 12px; border: 1px solid var(--border); text-align: left; }
.passo-badge { background: var(--navy); color: #fff; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; margin-bottom: 15px; }
.card-passo h4 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.card-passo p { color: var(--text-light); font-size: 14.5px; }

.card-futuro { background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); text-align: center; border-bottom: 3px solid var(--accent); }
.futuro-icon { font-size: 32px; margin-bottom: 15px; }
.card-futuro h4 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.card-futuro p { font-size: 14px; color: var(--text-light); }

/* FAQ Section - AGORA CLICÁVEL (ACCORDION) */
.faq-item { background: #f8fafc; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 12px; overflow: hidden; transition: 0.2s; }
.faq-item[open] { background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.04); }
.faq-item summary { font-size: 16px; color: var(--navy); font-weight: 700; padding: 20px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--accent); }
.faq-item p { font-size: 14px; color: var(--text-light); line-height: 1.6; padding: 0 20px 20px; margin: 0; }
.faq-icon { flex-shrink: 0; width: 20px; height: 20px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; }
.faq-icon::before { top: 9px; left: 2px; width: 16px; height: 2px; }
.faq-icon::after { top: 2px; left: 9px; width: 2px; height: 16px; transition: transform 0.2s; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); }

/* Feito pra quem se vira por conta (chips de público) */
.chips-publico { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 720px; margin: 0 auto; }
.chip-pub { background: rgba(224, 122, 95, 0.08); color: var(--navy); border: 1px solid rgba(224,122,95,0.25); font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 22px; }

/* Footer e Cookies */
.home-footer { background: var(--navy); color: #94a3b8; padding: 40px 0; font-size: 12px; text-align: center; }
.footer-cookies { background: rgba(255,255,255,0.1); padding: 15px; border-radius: 8px; max-width: 800px; margin: 0 auto 25px; color: #e2e8f0; font-size: 12px; text-align: left; }
.footer-disclaimer { margin-bottom: 15px; max-width: 800px; margin-left: auto; margin-right: auto; }
.footer-copyright a { color: var(--accent); text-decoration: none; }

/* MOTOR DO CONTRATO */
.layout-principal { display: flex; flex-direction: column; min-height: 100vh; }
@media (min-width: 800px) {
  .layout-principal { flex-direction: row; }
  .area-formulario { flex: 1; max-width: 500px; height: 100vh; overflow-y: auto; background: #fff; border-right: 1px solid var(--border); }
  .area-contrato { flex: 1; height: 100vh; overflow-y: auto; background: var(--bg-main); padding: 30px; }
}

.area-formulario { padding: 30px 20px; }
.form-interno { max-width: 440px; margin: 0 auto; }
.cabecalho-form { text-align: center; margin-bottom: 25px; }
.subtitulo { color: var(--text-light); font-size: 14px; }

.barra-progresso { width: 100%; background: #f1f5f9; height: 8px; border-radius: 4px; margin-bottom: 8px; overflow: hidden; }
.progresso-cor { background: var(--green); height: 100%; transition: width 0.3s; }
.etapa-texto { color: var(--green); font-weight: bold; font-size: 11px; letter-spacing: 1px; text-transform: uppercase;}

h2 { margin-top: 15px; margin-bottom: 20px; font-size: 22px; color: var(--navy); }
.campo { margin-bottom: 18px; }
label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 13.5px; color: var(--text-dark); }
input[type="text"], input[type="number"], input[type="tel"], select {
  width: 100%; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 15px; background: #f8fafc; outline: none; transition: 0.2s; font-family: inherit;
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(224,122,95,0.15); }
.grupo-prazo { display: flex; gap: 12px; }
.grupo-prazo > div, .grupo-prazo > input, .grupo-prazo > select { flex: 1; }

.botao-avancar { width: 100%; background: var(--navy); color: #fff; border: none; padding: 15px; border-radius: 8px; font-size: 15px; font-weight: bold; cursor: pointer; transition: 0.2s; margin-top: 10px; }
.botao-avancar:hover { background: #1e293b; transform: translateY(-1px); }
.botao-voltar { width: 100%; background: #e2e8f0; color: var(--text-dark); border: none; padding: 12px; border-radius: 8px; font-size: 14px; font-weight: bold; cursor: pointer; margin-bottom: 10px; }

/* PROTEÇÕES EXTRAS (PAGAS) */
.caixa-vip { background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 10px; padding: 18px; margin-top: 15px; margin-bottom: 25px; }
.check-vip { display: flex; align-items: flex-start; gap: 10px; padding: 12px; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; margin-bottom: 8px; cursor: pointer; transition: 0.2s; }
.check-vip.disabled { opacity: 0.7; cursor: not-allowed; background: #f1f5f9; }
.check-vip input { margin-top: 4px; }
.check-vip span b { font-size: 13.5px; color: var(--navy); }
.check-vip span small { display: block; font-size: 12px; color: var(--text-light); line-height: 1.3; }
.btn-comprar { width: 100%; background: var(--accent); color: #fff; border: none; padding: 12px; border-radius: 6px; font-weight: bold; cursor: pointer; font-size: 14px; margin-bottom: 8px; }
.btn-comprar:hover { background: #cf664b; }
.btn-senha { width: 100%; background: transparent; color: var(--text-light); border: 1px solid #cbd5e1; padding: 10px; border-radius: 6px; font-weight: 600; cursor: pointer; font-size: 13px; }

/* PREVIEW (Papel) */
.folha-papel { background: white; padding: 40px; border-radius: 4px; box-shadow: 0 10px 25px rgba(0,0,0,0.05); max-width: 600px; margin: 0 auto; border-top: 6px solid var(--navy); }
.titulo-doc { text-align: center; color: #64748b; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.data-doc { text-align: right; color: #94a3b8; font-size: 12px; margin-bottom: 30px; }
.texto-juridico { font-family: 'Times New Roman', serif; font-size: 15px; line-height: 1.6; color: #000; }
.texto-juridico strong { font-family: Arial, sans-serif; font-size: 13px; }
.destaque { color: var(--navy); font-weight: bold; background: #f1f5f9; padding: 0 4px; border-bottom: 1px dashed var(--accent); }
.fonte-assinatura { font-family: 'Dancing Script', cursive; font-size: 26px; color: #1e3a8a; line-height: 1; }

/* TELAS EXTRAS (Assinatura) */
.tela-extra-wrap { min-height: 100vh; padding: 30px 15px; display: flex; justify-content: center; background: var(--bg-main); }
.tela-card { width: 100%; max-width: 520px; background: #fff; border-radius: 12px; padding: 25px; box-shadow: 0 8px 30px rgba(0,0,0,0.06); }
.passo-bloco { display: flex; gap: 14px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 18px; margin-bottom: 15px; text-align: left; }
.passo-num { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; font-weight: bold; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.escondido { display: none !important; }

@media print {
  body { background: white; }
  #tela-home, .area-formulario { display: none !important; }
  .layout-principal { display: block; }
  .area-contrato { padding: 0 !important; overflow: visible !important; height: auto !important; }
  .folha-papel { box-shadow: none; border: 2px solid var(--navy); max-width: 100%; }
}