/* secoes — sobrescritas das seções (home + páginas internas). Carregado depois de style.css. */

/* ---------- 1. sem "eyebrows" de início de seção (rede de segurança) ---------- */
.section-head > .eyebrow,
.areas__head > .eyebrow,
.about__text > .eyebrow,
.phero .eyebrow,
.b2b > div > .eyebrow,
.edu > div > .eyebrow { display: none !important; }

/* rótulo dentro de card (substitui o eyebrow com bolinha) */
.card-tag { display: inline-block; font-family: var(--f-display); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.dark .card-tag, .countdown .card-tag { color: var(--gold-light); }

/* ---------- 2. ritmo e hierarquia dos títulos ---------- */
.section-head { gap: 20px; }
.section-head .lead { font-size: clamp(1.06rem, 1.5vw, 1.22rem); }
.h-lg { letter-spacing: -.028em; line-height: 1.04; text-wrap: balance; }
.h-md { letter-spacing: -.022em; line-height: 1.08; text-wrap: balance; }
.h-lg .serif, .h-md .serif { padding-right: .04em; }
.lead { text-wrap: pretty; }
/* fio dourado curto sob títulos de seção (substitui o eyebrow como "assinatura") */
.sx-head > h2::after { content: ""; display: block; width: 56px; height: 2px; margin-top: 22px; border-radius: 2px; background: var(--metal); }
.section-head--center.sx-head > h2::after { margin-inline: auto; }
.sx-head[style*="margin-bottom:0"] > h2::after { margin-top: 18px; }

/* ---------- 3. como funciona (home) ---------- */
.sx-proc .h-lg { font-size: clamp(2.1rem, 4.2vw, 3.6rem); max-width: 18ch; margin-inline: auto; }
.sx-proc .h-lg .serif { display: block; }
.step { position: relative; }
.step__body { padding: 24px 24px 28px; gap: 10px; }
.step h3 { font-size: 19px; letter-spacing: -.01em; }
.step p { font-size: 15px; }
.step::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 2px; background: var(--metal); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.step:hover::after { transform: scaleX(1); }
.sx-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 48px; }
.sx-cta__note { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-soft); }
.sx-cta__note svg { width: 16px; height: 16px; color: var(--gold-deep); }

/* ---------- 4. números ---------- */
.stats { border-top: 0; border-bottom: 0; gap: 14px; }
.stat { position: relative; padding: 34px 28px 30px; border: 1px solid rgba(255,255,255,.09) !important; border-radius: 22px; background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); overflow: hidden; transition: border-color .4s, transform .5s var(--ease-out); }
.stat::before { content: ""; position: absolute; left: 28px; top: 0; width: 46px; height: 2px; background: var(--metal); }
.stat:hover { border-color: rgba(208,176,42,.4) !important; transform: translateY(-4px); }
.stat b { background: linear-gradient(180deg, #fff 30%, rgba(234,240,243,.7)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat b em { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat b small { -webkit-text-fill-color: var(--on-dark-soft); }
.stat span { font-size: 14.5px; line-height: 1.5; color: var(--on-dark-soft); }

/* ---------- 5. quem a gente defende ---------- */
.sx-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(44px, 6vw, 68px); }
.sx-split .h-lg { max-width: 16ch; }
.sx-split .lead { padding-bottom: 6px; border-left: 2px solid var(--gold); padding-left: 22px; }
.who__card { display: flex; flex-direction: column; padding: 32px 28px 28px; border-radius: 22px; }
.who__card p { margin-bottom: 20px; }
.who__card .link-arrow { margin-top: auto; align-self: flex-start; font-size: 14.5px; }
.who__card .num { color: var(--gold); opacity: .55; }

/* ---------- 6. áreas ---------- */
.areas__head h2 { font-size: clamp(2.8rem, 5vw, 4.6rem); }

/* ---------- 7. para advogados ---------- */
h2.b2b__quote { font-family: var(--f-serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; margin-top: 0; }
.b2b .lead { max-width: 52ch; }

/* ---------- 8. sobre ---------- */
.about__text { gap: 20px; }
.about__text .sx-big { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.6; color: var(--text); }
.about__text .sx-big strong { font-weight: 600; color: var(--text); background: linear-gradient(transparent 62%, rgba(208,176,42,.28) 62%); }
.sx-motto { font-family: var(--f-serif); font-style: italic; font-size: 22px; color: var(--text) !important; padding-left: 18px; border-left: 2px solid var(--gold); }
.about__text .btn-row { align-items: center; gap: 22px; }

/* ---------- 9. FAQ ---------- */
.sx-mini { display: grid; gap: 10px; margin: 2px 0 4px; }
.sx-mini li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--text-soft); }
.sx-mini svg { width: 18px; height: 18px; flex: none; color: var(--gold-deep); padding: 3px; border-radius: 50%; background: rgba(208,176,42,.14); box-sizing: content-box; }
.faq-layout .section-head { position: sticky; top: 110px; }

/* ---------- 10. CTA final ---------- */
.final h2 { max-width: 21ch; margin-inline: auto; text-wrap: balance; }
.final p { margin-bottom: 30px; }
.final__who { display: inline-flex; align-items: center; gap: 14px; margin: 0 auto 28px; padding: 8px 20px 8px 8px; border-radius: 99px; background: rgba(255,255,255,.05); border: 1px solid rgba(208,176,42,.3); text-align: left; }
.final__who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center 18%; border: 2px solid var(--gold); }
.final__who span { display: grid; font-size: 13px; color: var(--on-dark-mute); line-height: 1.35; }
.final__who b { font-family: var(--f-display); font-weight: 500; font-size: 15.5px; color: #fff; }
.final .wrap > .btn, .final .wrap > a { display: inline-flex; }
.final__assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 28px; }
.final__assure li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--on-dark-mute); }
.final__assure svg { width: 16px; height: 16px; color: var(--gold); }
.final .wrap { display: flex; flex-direction: column; align-items: center; }

/* ---------- 11. faixa "trust" ---------- */
.trust { padding: clamp(56px, 7vw, 84px) 0; background: radial-gradient(70% 120% at 50% 0%, rgba(21,93,126,.28), transparent 70%), linear-gradient(180deg, #03111A, #071F2C); }
.trust__grid { gap: 16px; }
.trust__grid > div { position: relative; padding: 28px 26px; border-radius: 22px; background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.012)); border: 1px solid rgba(255,255,255,.09); gap: 8px 18px; transition: border-color .4s, transform .5s var(--ease-out); }
.trust__grid > div:hover { border-color: rgba(208,176,42,.35); transform: translateY(-3px); }
.trust__grid > div:last-child { border-color: rgba(208,176,42,.45); background: linear-gradient(160deg, rgba(208,176,42,.13), rgba(208,176,42,.03)); }
.trust__grid > div:last-child::before { content: ""; position: absolute; left: 26px; top: -1px; width: 56px; height: 2px; background: var(--metal); }
.trust__grid h3 { font-size: 19px; }
.trust__grid p { font-size: 14.5px; line-height: 1.55; }

/* ---------- 12. páginas internas ---------- */
.phero h1 { margin-top: 0; text-wrap: balance; }
.phero .crumbs { margin-bottom: 30px; }
.phero .lead { max-width: 54ch; }
.sx-sub { font-family: var(--f-display); font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 500; margin: 80px 0 24px; letter-spacing: -.015em; }
.sx-sub::after { content: ""; display: block; width: 46px; height: 2px; margin-top: 14px; background: var(--metal); }
.expert h3 { font-family: var(--f-display); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; }
.expert h3 .serif { display: block; font-size: 1.5em; margin-top: 4px; }
.expert .btn-row { align-items: center; gap: 22px; flex-wrap: wrap; }
.docs-list li { transition: border-color .3s, transform .4s var(--ease-out); }
.docs-list li:hover { border-color: rgba(208,176,42,.5); transform: translateY(-2px); }
.prose > h2::after { content: ""; display: block; width: 56px; height: 2px; margin-top: 20px; background: var(--metal); }

/* ---------- responsivo ---------- */
@media (max-width: 960px) {
  .sx-split { grid-template-columns: 1fr; align-items: start; }
  .faq-layout .section-head { position: static; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .sx-proc .h-lg { font-size: 2.1rem; }
  .sx-split .lead { padding-left: 16px; }
  .stats { gap: 10px; }
  .stat { padding: 26px 18px 22px; }
  .stat::before { left: 18px; }
  .final__who { padding-right: 14px; }
  .final__who img { width: 44px; height: 44px; }
  .final__assure { flex-direction: column; align-items: center; gap: 8px; }
  .trust__grid > div { padding: 22px 20px; }
  .sx-sub { margin-top: 56px; }
  .about__text .btn-row .btn { width: 100%; }
}

/* trust → como funciona: menos vazio entre as duas faixas escuras */
.trust + .section.dark { padding-top: clamp(30px, 4vw, 56px); }

/* ---------- Sobre: banner total com a foto da Débora ---------- */
.phero.sobre-hero { padding: 0; min-height: clamp(620px, calc(100svh - 110px), 860px); display: flex; align-items: flex-end; background: #071F2C; }
.sobre-hero__photo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.sobre-hero__photo img { position: absolute; top: 0; left: 0; width: 114%; max-width: none; height: 100%; object-fit: cover; object-position: 0% 14%; filter: saturate(.95) contrast(1.03); }
.sobre-hero__photo::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, #071F2C 0%, rgba(7,31,44,.94) 30%, rgba(7,31,44,.6) 46%, rgba(7,31,44,0) 62%),
    linear-gradient(0deg, #071F2C 0%, rgba(7,31,44,.6) 14%, rgba(7,31,44,0) 38%),
    linear-gradient(180deg, rgba(4,20,29,.55) 0%, rgba(4,20,29,0) 18%); }
.sobre-hero__photo::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(208,176,42,.7) 30%, rgba(208,176,42,.7) 70%, transparent); }
.sobre-hero__in { width: 100%; padding-top: clamp(80px, 9vw, 120px); padding-bottom: clamp(70px, 8vw, 110px); }
.sobre-hero__txt { max-width: 600px; }
.sobre-hero__txt h1 { text-shadow: 0 2px 30px rgba(4,20,29,.45); }
.sobre-hero__seal { position: absolute; z-index: 3; right: clamp(24px, 6vw, 96px); bottom: clamp(40px, 6vw, 80px); }
@media (max-width: 960px) {
  .phero.sobre-hero { display: block; min-height: 0; }
  .sobre-hero__photo { position: relative; inset: auto; z-index: 0; height: clamp(420px, 112vw, 620px); }
  .sobre-hero__photo img { width: 100%; object-position: 57% 12%; }
  .sobre-hero__photo::before { background:
    linear-gradient(0deg, #071F2C 0%, rgba(7,31,44,.7) 16%, rgba(7,31,44,0) 42%),
    linear-gradient(180deg, rgba(4,20,29,.45) 0%, rgba(4,20,29,0) 16%); }
  .sobre-hero__photo::after { display: none; }
  .sobre-hero__in { position: relative; z-index: 2; margin-top: -70px; padding-top: 0; padding-bottom: 80px; }
  .sobre-hero__seal { right: 18px; bottom: auto; top: calc(clamp(420px, 112vw, 620px) - 150px); }
  .sobre-hero__seal .seal { width: 104px; height: 104px; }
  .sobre-hero__seal .seal__sym { width: 38px; }
}
