/* ===== Abella Advocacia — Landing Pages — estilo compartilhado ===== */
/* Paleta e tipografia extraídas de https://abellaadv.com.br/ */

:root {
  --base: #171717;        /* --base-color do site (hsl(0,0%,9%)) */
  --base-soft: #232323;
  --gold: #aa8a46;        /* --primary-color do site (hsl(41,42%,47%)) */
  --gold-bright: #c7a45e;
  --taupe: #b4ad9c;       /* --tertiary-color do site */
  --gray-light: #e8e8e8;  /* --secondary-color do site */
  --white: #f5f5f5;       /* --white-color do site */
  --paper: #ffffff;
  --ink: #171717;
  --ink-soft: #5a564d;
  --green-wpp: #25d366;
  --shadow: 0 12px 30px rgba(23, 23, 23, 0.10);
  --radius: 10px;
  --radius-sm: 6px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Spartan", "Segoe UI", Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: "Spartan", sans-serif; font-weight: 600; }

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--base);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark-icon {
  height: 30px;
  width: auto;
  flex: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.brand-sub {
  font-weight: 500;
  font-size: 9.5px;
  color: rgba(245,245,245,0.65);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 2px;
}
.topbar-cta {
  background: var(--green-wpp);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.topbar-cta:hover { filter: brightness(1.05); }

/* ---------- Link discreto de ajuda (WhatsApp como suporte, não CTA principal) ---------- */
.help-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245,245,245,0.2);
  color: rgba(245,245,245,0.75);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color .15s ease, color .15s ease;
}
.help-link:hover { color: var(--white); border-color: rgba(245,245,245,0.4); }
.help-link svg { color: var(--green-wpp); flex: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(15,15,15,0.72) 0%, rgba(15,15,15,0.88) 60%, rgba(15,15,15,0.96) 100%),
              url("img/escritorio.webp");
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 64px 0 48px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,245,245,0.06);
  border: 1px solid rgba(170,138,70,0.5);
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 30px;
  margin-bottom: 18px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  flex: none;
}
.hero h1 {
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.14;
  color: var(--white);
  margin: 0 0 16px;
  font-weight: 600;
}
.hero h1 span { color: var(--gold-bright); }
.hero p.lead {
  font-size: 17px;
  color: rgba(245,245,245,0.82);
  max-width: 560px;
  margin: 0 0 26px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, background .15s ease;
}
.btn-primary {
  background: var(--gold);
  color: var(--base);
  border-color: var(--gold);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-ghost {
  background: transparent;
  color: var(--gold-bright);
  border: 1.5px solid rgba(170,138,70,0.6);
}
.btn-ghost:hover { background: rgba(170,138,70,0.1); }
.btn-wpp {
  background: var(--green-wpp);
  color: #fff;
  border-color: var(--green-wpp);
}
.btn-wpp:hover { transform: translateY(-2px); filter: brightness(1.03); }
.btn-block { width: 100%; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: rgba(245,245,245,0.75);
  font-size: 13.5px;
}
.trust-row .item { display: flex; align-items: center; gap: 8px; }
.trust-row svg { flex: none; color: var(--gold-bright); }

.hero-card {
  background: rgba(245,245,245,0.06);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  border: 1px solid rgba(245,245,245,0.16);
  overflow: hidden;
}
.hero-card .hc-body { padding: 26px 26px 28px; }
.hero-card .hc-tag {
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-card h3 { color: var(--white); margin: 6px 0 8px; font-size: 20px; }
.hero-card p { color: rgba(245,245,245,0.75); font-size: 14px; margin: 0; }

.hero-stat-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.hero-stat-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(245,245,245,0.12);
}
.hero-stat-row:last-child { border-bottom: none; padding-bottom: 2px; }
.hero-stat-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(245,245,245,0.72);
  font-size: 14px;
  line-height: 1.45;
  flex: 1 1 42%;
}
.hero-stat-label::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
.hero-stat-value {
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.45;
  text-align: right;
  flex: 1 1 52%;
}

/* ---------- Section shell ---------- */
section { padding: 64px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 42px; }
.section-head .tag {
  color: var(--gold);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.section-head h2 {
  color: var(--ink);
  font-size: clamp(24px, 3.2vw, 34px);
  margin: 10px 0 12px;
}
.section-head p { color: var(--ink-soft); font-size: 15.5px; }
.bar { width: 56px; height: 3px; background: var(--gold); margin: 0 auto 18px; border-radius: 3px; }

/* ---------- Ganhos / value cards ---------- */
.gains-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.gain-card {
  background: var(--paper);
  border: 1px solid rgba(23,23,23,0.08);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.gain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(170,138,70,0.4); }
.gain-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(170,138,70,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  margin-bottom: 16px;
}
.gain-card h3 { color: var(--ink); font-size: 17px; margin: 0 0 8px; }
.gain-card p { color: var(--ink-soft); font-size: 14px; margin: 0 0 10px; }
.gain-value {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 700;
  color: var(--base);
  font-size: 14px;
  line-height: 1.4;
}
.gain-value::before {
  content: "✓";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(170,138,70,0.15);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.disclaimer-box {
  margin-top: 26px;
  background: var(--gray-light);
  border: 1px dashed var(--taupe);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- Checklist / documents ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.check-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 28px 26px;
  border: 1px solid rgba(23,23,23,0.08);
}
.check-card h3 {
  color: var(--ink);
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}
.check-card h3 .ic {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(170,138,70,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex: none;
}
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(23,23,23,0.06);
  color: var(--ink-soft);
  font-size: 14.5px;
}
.check-list li:last-child { border-bottom: none; }
.check-list li svg { color: var(--gold); flex: none; margin-top: 2px; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  background: var(--paper);
  border: 1px solid rgba(23,23,23,0.08);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}
.step .num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--base);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.step h4 { color: var(--ink); font-size: 15.5px; margin: 0 0 8px; }
.step p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--paper);
  border: 1px solid rgba(23,23,23,0.08);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
}
.faq-q .chev { transition: transform .2s ease; color: var(--gold); flex: none; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 20px;
  color: var(--ink-soft);
  font-size: 14px;
}
.faq-item.open .faq-a { padding-bottom: 18px; }

/* ---------- Lead form ---------- */
.form-section {
  background: var(--gray-light);
}
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--paper);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(170,138,70,0.25);
}
.form-side {
  background: var(--base);
  color: var(--white);
  padding: 42px 38px;
}
.form-side .tag {
  color: var(--gold-bright);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.6px;
}
.form-side h2 { font-size: 26px; margin: 10px 0 16px; font-weight: 600; }
.form-side p { color: rgba(245,245,245,0.8); font-size: 14.5px; margin-bottom: 22px; }
.form-side ul { list-style: none; padding: 0; margin: 0; }
.form-side ul li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; margin-bottom: 12px; color: rgba(245,245,245,0.88);
}
.form-side ul li svg { color: var(--gold-bright); flex: none; margin-top: 2px; }

.form-body { padding: 42px 38px; }
.form-body h3 { color: var(--ink); margin: 0 0 6px; font-size: 20px; }
.form-body .sub { color: var(--ink-soft); font-size: 13.5px; margin-bottom: 22px; }

/* ---------- Quiz multi-etapas ---------- */
.quiz-progress { margin-bottom: 24px; }
.quiz-progress-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.quiz-progress-bar {
  height: 5px;
  background: var(--gray-light);
  border-radius: 4px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gold);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.quiz-question {
  color: var(--ink);
  font-size: 19px;
  margin: 0 0 14px;
  font-weight: 600;
}
.quiz-hint {
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--gray-light);
  border-left: 3px solid var(--gold);
  padding: 10px 14px;
  border-radius: 4px;
  margin: -4px 0 16px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}
.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border: 1.5px solid #e2ddd0;
  border-radius: var(--radius-sm);
  background: #fdfcfa;
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.quiz-option:hover { border-color: var(--gold); }
.quiz-option .opt-indicator {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #cfc8b8;
  flex: none;
  position: relative;
}
.quiz-options[data-type="multi"] .opt-indicator { border-radius: 4px; }
.quiz-option.selected { border-color: var(--gold); background: rgba(170, 138, 70, 0.08); }
.quiz-option.selected .opt-indicator { border-color: var(--gold); background: var(--gold); }
.quiz-option.selected .opt-indicator::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--base);
}
.quiz-options[data-type="multi"] .opt-indicator::after { border-radius: 2px; }

.quiz-step.invalid .quiz-options {
  outline: 1px solid #b3453b;
  outline-offset: 6px;
  border-radius: var(--radius-sm);
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
}
.quiz-nav .btn { flex: 1; }
.btn-ghost-dark {
  background: transparent;
  border: 1.5px solid #d8d2c2;
  color: var(--ink);
}
.btn-ghost-dark:hover { background: #f5f2ea; }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #dcd6c8;
  background: #fdfcfa;
  font-size: 14.5px;
  color: var(--ink);
  outline: none;
  font-family: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(170,138,70,0.15);
}
.field textarea { resize: vertical; min-height: 80px; }
.field-error {
  color: #b3453b;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: #b3453b; }
.field.invalid .field-error { display: block; }

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin: 14px 0 20px;
}
.consent input { margin-top: 3px; }
.consent.invalid { color: #b3453b; }

.form-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.form-success.show { display: block; }
.form-success .check-circle {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(170,138,70,0.12);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.form-success h3 { color: var(--ink); margin: 0 0 8px; }
.form-success p { color: var(--ink-soft); font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--base);
  color: rgba(245,245,245,0.8);
  padding: 40px 0 26px;
  font-size: 13px;
}
.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid rgba(245,245,245,0.14);
  padding-bottom: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-legal { color: rgba(245,245,245,0.55); line-height: 1.6; }
.footer-legal strong, .footer-legal em { color: rgba(245,245,245,0.8); font-style: normal; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--base);
  border-top: 1px solid rgba(245,245,245,0.12);
  padding: 10px 16px;
  display: none;
  z-index: 60;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .form-wrap { grid-template-columns: 1fr; }
  .form-side, .form-body { padding: 30px 24px; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .topbar-cta span.full { display: none; }
  section { padding: 46px 0; }
  .sticky-cta { display: block; }
  body { padding-bottom: 66px; }
}
