/* ═══════════════════════════════════════════════
   PIMENTA PINHEIRO ADVOCACIA — CSS COMPARTILHADO
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Manrope:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --azul:       #071A2B;
  --azul-noite: #0D1B2A;
  --dourado:    #C9A46A;
  --ouro:       #E2BD73;
  --branco:     #F7F4EC;
  --grafite:    #1E2430;
  --cinza:      #B8BCC4;
  --cinza-m:    #8B8F97;
  --fh: 'Montserrat', sans-serif;
  --fb: 'Manrope', sans-serif;
  --mw: 1260px;
  --pv: clamp(72px, 9vw, 130px);
  --ph: clamp(20px, 5vw, 96px);
  --ease: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }
body { font-family: var(--fb); background: var(--azul); color: var(--branco); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── REVEAL ── */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.75s ease, transform 0.75s ease; }
.rv.on { opacity: 1; transform: translateY(0); }
.rv.d1 { transition-delay: 0.1s; } .rv.d2 { transition-delay: 0.2s; }
.rv.d3 { transition-delay: 0.3s; } .rv.d4 { transition-delay: 0.4s; }

/* ── HEADER ── */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: 82px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 64px);
  background: rgba(7,26,43,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,164,106,0.12);
  transition: box-shadow var(--ease);
}
#header.scrolled {
  box-shadow: 0 1px 0 rgba(201,164,106,0.2);
}
.h-logo img { height: 52px; width: auto; }
.h-nav { display: flex; align-items: center; gap: 26px; }
.h-nav a { font-family: var(--fh); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--branco); transition: color var(--ease); }
.h-nav a:hover, .h-nav a.active { color: var(--dourado); }
.h-nav .drop { position: relative; }
.h-nav .drop > a::after { content: ' ▾'; font-size: 9px; }
.dd {
  position: absolute; top: calc(100% + 16px); left: 0;
  transform: translateX(0) translateY(-6px);
  background: #0e1e2e; border: 1px solid rgba(201,164,106,0.18);
  min-width: 240px; padding: 6px 0;
  opacity: 0; pointer-events: none;
  transition: opacity var(--ease), transform var(--ease);
}
.h-nav .drop:hover .dd { opacity: 1; pointer-events: all; transform: translateX(0) translateY(0); }
.dd a { display: block; padding: 10px 20px; font-size: 10.5px; letter-spacing: 0.1em; border-left: 2px solid transparent; transition: color var(--ease), border-color var(--ease); }
.dd a:hover { color: var(--dourado); border-left-color: var(--dourado); }
.btn-hdr {
  font-family: var(--fh); font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--azul) !important; background: var(--dourado);
  padding: 13px 22px; transition: background var(--ease), transform var(--ease); white-space: nowrap;
}
.btn-hdr:hover { background: var(--ouro); transform: translateY(-1px); }
.menu-tog { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.menu-tog span { display: block; width: 22px; height: 1.5px; background: var(--branco); transition: var(--ease); }

/* ── MOBILE NAV ── */
#mob-nav { display: none; position: fixed; inset: 0; z-index: 999; background: var(--azul); flex-direction: column; justify-content: center; align-items: center; gap: 26px; }
#mob-nav.open { display: flex; }
#mob-nav a { font-family: var(--fh); font-size: 21px; font-weight: 700; color: var(--branco); transition: color var(--ease); }
#mob-nav a:hover { color: var(--dourado); }
.mob-close { position: absolute; top: 22px; right: 24px; font-size: 30px; color: var(--cinza); background: none; border: none; cursor: pointer; }

/* ── BOTÕES ── */
.btn-p { display: inline-flex; align-items: center; gap: 10px; font-family: var(--fh); font-size: 11px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--azul); background: var(--dourado); padding: 16px 28px; transition: background var(--ease), transform var(--ease); }
.btn-p:hover { background: var(--ouro); transform: translateY(-2px); }
.btn-s { display: inline-flex; align-items: center; gap: 10px; font-family: var(--fh); font-size: 11px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--dourado); background: transparent; border: 1px solid rgba(201,164,106,0.36); padding: 16px 28px; transition: border-color var(--ease), color var(--ease), transform var(--ease); }
.btn-s:hover { border-color: var(--dourado); color: var(--ouro); transform: translateY(-2px); }
.ico-arr { width: 15px; height: 15px; flex-shrink: 0; }

/* ── EYEBROW ── */
.ey { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.ey-l { width: 28px; height: 1px; background: var(--dourado); flex-shrink: 0; }
.ey span { font-family: var(--fh); font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dourado); }

/* ── TIPOGRAFIA ── */
.t-xl { font-family: var(--fh); font-size: clamp(28px, 4vw, 54px); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
.t-lg { font-family: var(--fh); font-size: clamp(24px, 3vw, 42px); font-weight: 700; line-height: 1.15; }
.t-md { font-family: var(--fh); font-size: clamp(20px, 2.2vw, 32px); font-weight: 700; line-height: 1.2; }
.t-sm { font-family: var(--fh); font-size: clamp(18px, 1.8vw, 24px); font-weight: 700; }
.sub { font-size: clamp(14px, 1.4vw, 17px); line-height: 1.78; margin-top: 14px; }
.sub.lite { color: var(--cinza); }
.sub.dark { color: #5A6175; }
.on-dark { color: var(--branco); }
.on-light { color: var(--grafite); }
.gold { color: var(--dourado); font-style: normal; }

/* ── CONTAINER ── */
.wrap { max-width: var(--mw); margin: 0 auto; }
.sec { padding: var(--pv) var(--ph); }

/* ══════════════════════════════
   HERO INTERNO (páginas internas)
══════════════════════════════ */
.hero-int {
  background: var(--azul-noite);
  padding: 160px var(--ph) 80px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid rgba(201,164,106,0.1);
}
.hero-int::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 15% 60%, rgba(201,164,106,0.06) 0%, transparent 55%);
}
.hero-int::after {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 48px, rgba(201,164,106,0.012) 48px, rgba(201,164,106,0.012) 49px);
}
.hero-int-inner { max-width: var(--mw); margin: 0 auto; position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.breadcrumb a, .breadcrumb span { font-family: var(--fh); font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cinza-m); transition: color var(--ease); }
.breadcrumb a:hover { color: var(--dourado); }
.breadcrumb .sep { color: rgba(201,164,106,0.4); font-size: 10px; }
.breadcrumb span:last-child { color: var(--dourado); }
.hero-int h1 { max-width: 700px; }
.hero-int .sub { max-width: 560px; }
.hero-int-wm { position: absolute; right: 0; top: 50%; transform: translateY(-50%); opacity: 0.04; pointer-events: none; }
.hero-int-wm img { width: 280px; filter: brightness(20); }

/* ══════════════════════════════
   CARDS DE ÁREAS
══════════════════════════════ */
.ac {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(201,164,106,0.14);
  padding: 36px 26px; position: relative; overflow: hidden;
  transition: border-color var(--ease), transform var(--ease), background var(--ease);
}
.ac::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--dourado); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.ac:hover { border-color: rgba(201,164,106,0.4); transform: translateY(-4px); background: rgba(255,255,255,0.05); }
.ac:hover::after { transform: scaleX(1); }
.ac-ico { width: 42px; height: 42px; color: var(--dourado); margin-bottom: 22px; }
.ac h3 { font-family: var(--fh); font-size: 12.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--branco); margin-bottom: 12px; }
.ac p { font-size: 13.5px; color: var(--cinza); line-height: 1.7; margin-bottom: 20px; }
.ac-lnk { font-family: var(--fh); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dourado); display: flex; align-items: center; gap: 8px; transition: gap var(--ease), color var(--ease); }
.ac-lnk:hover { gap: 14px; color: var(--ouro); }
.ac-lnk svg { width: 14px; height: 14px; }

/* ══════════════════════════════
   SEÇÃO CTA FINAL
══════════════════════════════ */
.cta-sec { background: var(--grafite); padding: var(--pv) var(--ph); position: relative; overflow: hidden; }
.cta-sec::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(201,164,106,0.07) 0%, transparent 68%); }
.cta-wm { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); opacity: 0.04; pointer-events: none; }
.cta-wm img { width: 260px; filter: brightness(20); }
.cta-inner { max-width: var(--mw); margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.cta-inner h2 { font-family: var(--fh); font-size: clamp(22px, 3vw, 40px); font-weight: 700; color: var(--branco); line-height: 1.2; max-width: 620px; margin: 16px auto 16px; }
.cta-inner p { font-size: clamp(14px, 1.3vw, 16px); color: var(--cinza); max-width: 420px; margin: 0 auto 40px; line-height: 1.75; }

/* ══════════════════════════════
   FAQ
══════════════════════════════ */
.faq-sec { background: var(--azul); padding: var(--pv) var(--ph); }
.faq-inner { max-width: var(--mw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; align-items: start; }
.faq-list { border-top: 1px solid rgba(201,164,106,0.15); }
.faq-item { border-bottom: 1px solid rgba(201,164,106,0.12); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; gap: 16px; font-family: var(--fh); font-size: 13.5px; font-weight: 600; color: var(--branco); list-style: none; user-select: none; }
.faq-q:hover { color: var(--dourado); }
.faq-q::after { content: '+'; font-size: 20px; font-weight: 300; color: var(--dourado); flex-shrink: 0; }
details[open] .faq-q::after { content: '−'; }
.faq-a { font-size: 14px; color: var(--cinza); line-height: 1.75; padding-bottom: 18px; }

/* ══════════════════════════════
   DIFERENCIAIS (lista de items)
══════════════════════════════ */
.dem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
.dem-item { background: rgba(255,255,255,0.03); border: 1px solid rgba(201,164,106,0.12); padding: 20px 22px; display: flex; align-items: center; gap: 14px; transition: border-color var(--ease), background var(--ease); }
.dem-item:hover { border-color: rgba(201,164,106,0.3); background: rgba(255,255,255,0.05); }
.dem-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--dourado); flex-shrink: 0; }
.dem-item span { font-family: var(--fh); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--branco); }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer { background: #111820; border-top: 1px solid rgba(201,164,106,0.14); padding: 72px var(--ph) 36px; }
.ft-top { max-width: var(--mw); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 52px; padding-bottom: 52px; border-bottom: 1px solid rgba(201,164,106,0.1); margin-bottom: 32px; }
.ft-logo img { height: 52px; margin-bottom: 16px; }
.ft-brand p { font-size: 13px; color: var(--cinza-m); line-height: 1.7; max-width: 270px; margin-bottom: 20px; }
.ft-soc { display: flex; gap: 10px; }
.ft-soc a { width: 34px; height: 34px; border: 1px solid rgba(201,164,106,0.22); display: flex; align-items: center; justify-content: center; color: var(--cinza-m); transition: border-color var(--ease), color var(--ease); }
.ft-soc a:hover { border-color: var(--dourado); color: var(--dourado); }
.ft-soc svg { width: 15px; height: 15px; }
.ft-col h5 { font-family: var(--fh); font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dourado); margin-bottom: 16px; }
.ft-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.ft-col ul a { font-size: 13px; color: var(--cinza-m); transition: color var(--ease); }
.ft-col ul a:hover { color: var(--dourado); }
.ft-ci { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--cinza-m); margin-bottom: 10px; }
.ft-ci svg { width: 13px; height: 13px; color: var(--dourado); flex-shrink: 0; margin-top: 2px; }
.ft-btm { max-width: var(--mw); margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.ft-copy { font-size: 12px; color: var(--cinza-m); }
.ft-aviso { font-size: 11px; color: rgba(139,143,151,0.5); max-width: 480px; line-height: 1.6; }
.ft-aviso a { color: inherit; text-decoration: underline; }

/* ── WHATSAPP FAB ── */
.wa-fab { position: fixed; bottom: 28px; right: 28px; z-index: 800; width: 52px; height: 52px; border-radius: 50%; background: var(--dourado); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 22px rgba(201,164,106,0.45); transition: transform var(--ease), box-shadow var(--ease); }
.wa-fab:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(201,164,106,0.55); }
.wa-fab svg { width: 26px; height: 26px; color: var(--azul); }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1100px) {
  .ft-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .faq-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .h-nav { display: none; } .menu-tog { display: flex; }
  .ft-top { grid-template-columns: 1fr; }
  .ft-btm { flex-direction: column; }
  .dem-grid { grid-template-columns: 1fr; }
  .hero-int { padding: 130px var(--ph) 60px; }
}
@media (max-width: 480px) {
  .btn-p, .btn-s { width: 100%; justify-content: center; }
}

/* ── JS SHARED ── */
