/* ============================================================
   MODELO 2 — tema inspirado em sites de advocacia "premium dark"
   (preto + azul-marinho + dourado âmbar, Playfair Display, pílulas, cartões flutuantes).
   Carrega por último: sobrescreve style.css e paginas.css.
   ============================================================ */

/* ---------- tipografia: Garamond nos títulos, Cinzel (letra de inscrição de tribunal) nos rótulos ---------- */
.kicker, .eyebrow, .h2-welcome, .pessoa-cargo, .post-tag, .area-cta, .card-num, .area-idx, .missao figcaption,
.contato-dados dt, .foot-cols span, .hen-creds li span, .campo label, .esc-photo figcaption, .dep-card cite, .scroll-hint, .h2-call small {
  font-family: var(--font-caps); font-weight: 600; text-transform: uppercase;
}
#header nav a { font-family: var(--font-caps); font-weight: 600; text-transform: uppercase; font-size: 12.5px; letter-spacing: .14em; }
.h2-welcome { letter-spacing: .16em; font-size: 12px; }
.h2-call small { letter-spacing: .14em; font-size: 11px; }
h1, h2, h3, .ph-content h1 { font-family: var(--font-display); letter-spacing: -.01em; }
h2, .section-head h2 { font-weight: 600; line-height: 1.08; letter-spacing: -.005em; }
h1 em, h2 em, .ph-content h1 em, .missao blockquote em, .hero-content h1 em {
  font-style: normal; color: var(--accent-hi); font-weight: inherit;
}
.cards-3 h3, .area-card h3, .passo h3, .post-card h3, .pessoa h3, .art-box h3, .faq-item summary, .esc-end strong { font-weight: 600; }
.kicker, .eyebrow { color: var(--accent-hi); letter-spacing: .3em; }
.kicker::before, .eyebrow::before { display: none; }
.kicker { display: inline-flex; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 10.5px; background: rgba(201, 149, 94, .06); }

/* ---------- botões em pílula com seta no círculo ---------- */
.btn { border-radius: 999px; letter-spacing: .04em; text-transform: none; font-size: 14.5px; font-weight: 600; }
.btn-solid { background: linear-gradient(135deg, #B87D4B 0%, #9A6236 100%); color: #fff; }
.btn-solid:hover { background: linear-gradient(135deg, #C9955E 0%, #A86E40 100%); box-shadow: 0 14px 40px rgba(201, 149, 94, .32); }
.btn-ghost { border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); }
.btn-pill { padding: 8px 8px 8px 26px; gap: 16px; }
.ico { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; flex: none; transition: transform .5s var(--ease); }
.ico svg { width: 18px; height: 18px; fill: none; stroke: #9A6236; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-pill:hover .ico { transform: rotate(45deg); }
.btn-header { border-radius: 999px; }

/* ---------- header ---------- */
#header.scrolled { background: rgba(9, 9, 11, .82); }
#header nav a { color: #D9DBE0; }

/* ============================================================
   PRIMEIRA DOBRA COM O DR. HENRIQUE
   ============================================================ */
#hero2 { position: relative; height: 100vh; min-height: 620px; overflow: hidden; display: flex; align-items: stretch; padding: 0; }
.h2-photo { position: absolute; inset: 0; overflow: hidden; }
.h2-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 30%; filter: saturate(1.02) contrast(1.04) brightness(1.04); will-change: transform; }
.h2-tint { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(90deg, rgba(154, 98, 54, .5) 0%, rgba(201, 149, 94, .2) 55%, rgba(201, 149, 94, .06) 100%); }
.h2-shade { position: absolute; inset: 0; background:
  radial-gradient(ellipse 30% 55% at 70% 38%, rgba(232, 192, 140, .10), transparent 70%),
  linear-gradient(90deg, rgba(9, 9, 11, .96) 0%, rgba(9, 9, 11, .82) 30%, rgba(9, 9, 11, .3) 50%, rgba(9, 9, 11, 0) 62%, rgba(9, 9, 11, .15) 100%),
  linear-gradient(180deg, rgba(9, 9, 11, .55) 0%, transparent 22%, transparent 74%, rgba(9, 9, 11, .8) 92%, var(--bg) 100%); }
.h2-grid {
  position: relative; z-index: 3; width: 100%; display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(20px, 3vw, 60px); padding: 96px var(--pad) 0; align-items: stretch;
}
.h2-text { align-self: center; padding-bottom: 3vh; max-width: 680px; }
.h2-welcome { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: #fff; margin-bottom: min(22px, 2.4vh); }
.h2-welcome svg { width: 20px; height: 20px; fill: none; stroke: var(--accent-hi); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.h2-text h1 { font-size: clamp(42px, min(5.8vw, 9.2vh), 92px); font-weight: 600; line-height: 1.0; margin-bottom: min(24px, 2.6vh); }
.h2-sub { color: #C9CCD3; font-size: clamp(15px, min(1.25vw, 2.2vh), 17.5px); max-width: 540px; margin-bottom: min(34px, 3.6vh); }
.h2-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; margin-bottom: min(44px, 4.4vh); }
.h2-call { display: flex; align-items: center; gap: 14px; }
.h2-call-ico { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #9A6236; transition: transform .4s var(--ease), background .3s; }
.h2-call-ico svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
.h2-call small { display: block; font-size: 13px; color: #fff; font-weight: 500; }
.h2-call strong { display: block; font-family: var(--font-display); font-size: 21px; color: var(--accent-hi); font-weight: 600; }
.h2-call:hover .h2-call-ico { transform: rotate(-12deg) scale(1.06); background: #B87D4B; }
.h2-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 230px)); gap: 14px; }
.h2-stat {
  display: block; padding: 18px 20px; border-radius: var(--radius); background: rgba(15, 26, 44, .78);
  border: 1px solid rgba(255, 255, 255, .06); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .5s var(--ease), border-color .4s;
}
a.h2-stat:hover { transform: translateY(-4px); border-color: var(--line-2); }
.h2-stat strong { display: flex; align-items: baseline; gap: 10px; font-family: var(--font-display); font-size: 30px; font-weight: 700; color: #fff; }
.h2-stat strong i { font-style: normal; font-family: var(--font-body); font-size: 12px; letter-spacing: 2px; color: var(--accent-hi); }
.h2-stat > span { font-size: 13px; color: var(--muted); }

/* o visual da direita */
.h2-visual { position: relative; height: 100%; min-height: 480px; }
.h2-name {
  position: absolute; left: 8%; bottom: 14%; z-index: 4; padding: 14px 18px; border-radius: 14px;
  background: rgba(9, 9, 11, .62); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.h2-name strong { display: block; font-family: var(--font-display); font-size: 19px; color: #fff; }
.h2-name span { font-size: 12px; color: var(--accent-hi); letter-spacing: .04em; }
.h2-team {
  position: absolute; right: 0; bottom: 14%; z-index: 4; width: 210px; padding: 12px 12px 16px; border-radius: var(--radius);
  background: rgba(15, 26, 44, .9); border: 1px solid rgba(255, 255, 255, .08); text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45); transition: transform .5s var(--ease);
}
.h2-team img { width: 100%; height: auto; border-radius: 10px; margin-bottom: 12px; }
.h2-team span { display: block; font-family: var(--font-display); font-size: 18px; color: #fff; margin-bottom: 10px; }
.h2-team .ico { width: 34px; height: 34px; margin: 0 auto; background: #9A6236; }
.h2-team .ico svg { stroke: #fff; }
.h2-team:hover .ico { transform: rotate(45deg); }
.h2-badge {
  position: absolute; right: 4%; top: 10%; z-index: 4; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(9, 9, 11, .5); border: 1px solid var(--line-2); backdrop-filter: blur(8px);
}
.h2-badge svg { width: 30px; height: 30px; fill: none; stroke: var(--accent-hi); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
#hero2 .scroll-hint { z-index: 5; }

/* ---------- faixa de áreas em dourado ---------- */
.m2 .marquee { background: linear-gradient(90deg, #9A6236, #C9955E 50%, #9A6236); border: 0; padding: 16px 0; }
.m2 .marquee-track span { color: #120C04; font-family: var(--font-display); font-weight: 600; font-style: normal !important; }
.m2 .marquee-track i { background: #120C04; }

/* ---------- cartões arredondados em azul-marinho ---------- */
.prova-grid { border: 0; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.prova-item, .prova-item:first-child { border: 1px solid rgba(255, 255, 255, .06); border-radius: var(--radius); background: var(--surface); padding: 30px 26px; }
.prova-item:nth-child(n) { border-left: 1px solid rgba(255, 255, 255, .06); border-top: 1px solid rgba(255, 255, 255, .06); padding-left: 26px; }
.prova-item strong { font-weight: 700; color: var(--accent-hi); }
.glass { border-radius: var(--radius); background: linear-gradient(160deg, rgba(21, 35, 58, .85), rgba(15, 26, 44, .6)); border-color: rgba(255, 255, 255, .07); }
.card-num { font-family: var(--font-body); font-weight: 600; font-size: 12px; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(201, 149, 94, .14); color: var(--accent-hi); letter-spacing: 0; }
#atuacao::before { display: none; }
.areas-grid { background: none; border: 0; gap: 16px; }
.area-card { border-radius: var(--radius); background: var(--surface); border: 1px solid rgba(255, 255, 255, .06); overflow: hidden; }
.area-card::before { height: 100%; background: linear-gradient(160deg, rgba(201, 149, 94, .18), transparent 60%); transform: none; opacity: 0; transition: opacity .5s; }
.area-card:hover { background: var(--surface-2); transform: translateY(-6px); }
.area-card:hover::before { opacity: 1; }
.area-card { transition: transform .5s var(--ease), background .5s; }
.area-idx { font-weight: 600; color: var(--accent-hi); }
.esc-photo, .esc-photo::after { border-radius: var(--radius); }
.hen-frame { border-radius: 260px 260px var(--radius) var(--radius); }
.hen-arch { border-color: var(--accent); border-radius: 260px 260px 0 0; }
.hen-creds li span { color: var(--accent-hi); }
.dep-card { border-radius: var(--radius); background: rgba(15, 26, 44, .78); border-color: rgba(255, 255, 255, .07); }
.dep-card p { font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: #E4E6EA; }
.passo-num { -webkit-text-stroke: 0; color: var(--accent-hi); font-weight: 700; font-size: 58px; }
.passos-line::after { background: linear-gradient(90deg, #9A6236, var(--accent-hi)); }
.faq-item { border-radius: 14px; border: 1px solid rgba(255, 255, 255, .07) !important; background: var(--surface); padding: 0 22px; margin-bottom: 12px; }
.faq-item summary { font-family: var(--font-display); }
.contato-grid { border: 0; border-radius: calc(var(--radius) + 6px); overflow: hidden; }
.contato-box { background: var(--surface); }
.mapa iframe { filter: grayscale(1) invert(.9) contrast(.85) brightness(.85) sepia(.2) hue-rotate(180deg); }
footer { background: #060608; }

/* ---------- páginas internas no visual novo ---------- */
.ph-content h1 { font-weight: 600; }
.ph-shade { background:
  radial-gradient(ellipse 50% 60% at 80% 60%, rgba(201, 149, 94, .12), transparent 70%),
  linear-gradient(90deg, rgba(9, 9, 11, .94) 0%, rgba(9, 9, 11, .62) 45%, rgba(9, 9, 11, .25) 100%),
  linear-gradient(180deg, rgba(9, 9, 11, .55) 0%, transparent 35%, rgba(9, 9, 11, .85) 85%, var(--bg) 100%); }
.page-hero.destaque .ph-tint { background: linear-gradient(90deg, rgba(154, 98, 54, .5) 0%, rgba(201, 149, 94, .2) 55%, rgba(201, 149, 94, .06) 100%); }
.cta-band { background:
  radial-gradient(ellipse 60% 120% at 50% 120%, rgba(201, 149, 94, .28), transparent 70%), var(--bg-2); }
.qs-numeros { border: 0; gap: 14px; background: none; }
.qs-numeros > div { border-radius: var(--radius); background: var(--surface); }
.qs-numeros strong { font-weight: 700; color: var(--accent-hi); }
.missao { border-radius: calc(var(--radius) + 8px); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(21, 35, 58, .6), rgba(9, 9, 11, .2)); }
.missao-aspas { background: transparent; top: -.2em; }
.missao blockquote { font-weight: 600; }
.pessoa-foto { border-radius: var(--radius); }
.pessoa-cargo { color: var(--accent-hi); }
.area-img, .area-img::after { border-radius: var(--radius); }
.area-benef a { border-radius: 999px; }
.post-card { border-radius: var(--radius); background: var(--surface); border-color: rgba(255, 255, 255, .06); overflow: hidden; }
.post-tag { color: var(--accent-hi); }
.art-box { border-radius: var(--radius); }
.art-corpo h3 { color: var(--accent-hi); font-weight: 600; }
.campo input, .campo select, .campo textarea { border-radius: 12px; background: rgba(9, 9, 11, .55); border-color: rgba(255, 255, 255, .14); }
.menu-btn { border-radius: 50%; }
.menu-mobile a:not(.btn) { font-weight: 600; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1100px) {
  .h2-grid { grid-template-columns: 1fr 1fr; }
  .h2-team { width: 170px; }
}
@media (max-width: 960px) {
  .prova-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  /* no celular o Dr. Henrique vem primeiro, ainda na primeira tela */
  #hero2 { height: auto; min-height: 0; }
  .h2-grid { grid-template-columns: 1fr; padding: 74px 0 0; gap: 0; }
  .h2-photo { inset: 0 0 auto 0; height: 62svh; min-height: 400px; max-height: 600px; }
  .h2-photo img { object-position: 74% 25%; }
  .h2-tint { bottom: auto; height: 62svh; min-height: 400px; max-height: 600px; }
  .h2-shade { background: linear-gradient(180deg, rgba(9, 9, 11, .5) 0%, transparent 18%, transparent 40%, rgba(9, 9, 11, .9) 56%, var(--bg) 66%); }
  .h2-visual { order: -1; height: 50svh; min-height: 330px; max-height: 500px; margin: 0 var(--pad); }
  .h2-name { left: auto; right: 0; bottom: 26%; padding: 10px 14px; }
  .h2-name strong { font-size: 16px; }
  .h2-team { display: none; }
  .h2-badge { width: 48px; height: 48px; left: auto; right: 0; top: 18%; }
  .h2-badge svg { width: 24px; height: 24px; }
  .h2-text { padding: 26px var(--pad) 60px; position: relative; z-index: 4; background: linear-gradient(180deg, rgba(9, 9, 11, 0), var(--bg) 30%); margin-top: -40px; }
  .h2-text h1 { font-size: clamp(36px, 10vw, 48px); }
  .h2-welcome { font-size: 12.5px; }
  .h2-ctas { gap: 18px; }
  .h2-ctas .btn-pill { width: 100%; justify-content: space-between; }
  .h2-stats { grid-template-columns: 1fr 1fr; }
  .h2-stat { padding: 14px 14px; }
  .h2-stat strong { font-size: 24px; flex-wrap: wrap; gap: 4px 8px; }
  #hero2 .scroll-hint { display: none; }
  .prova-grid { gap: 10px; }
  .prova-grid > * { min-width: 0; }
  .prova-grid .prova-item { padding: 22px 16px 20px; }
  .prova-item strong { font-size: 28px; white-space: normal; }
  .prova-item > span { font-size: 12.5px; }
}
