/* =========================================================
   Lucas Souza da Matta dos Reis — Advogado Trabalhista
   Folha de estilo principal
   ========================================================= */

:root {
  --navy: #0F2A43;
  --navy-light: #1B3A5B;
  --gold: #C9A227;
  --gold-soft: #E6CE7B;
  --offwhite: #F7F5F1;
  --graphite: #2B2F36;
  --gray: #5A6470;
  --line: #E2DDD3;
  --white: #FFFFFF;
  --wa: #25D366;
  --shadow: 0 10px 30px rgba(15, 42, 67, .10);
  --shadow-sm: 0 4px 14px rgba(15, 42, 67, .08);
  --radius: 14px;
  --maxw: 1140px;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--graphite);
  background: var(--offwhite);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--navy); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.3rem; }
p { margin-bottom: 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

section { padding: 72px 0; }
.section-tight { padding: 48px 0; }

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: .6rem;
  display: inline-block;
}

.lead { font-size: 1.15rem; color: var(--gray); }
.text-center { text-align: center; }
.mw-720 { max-width: 720px; }
.mw-820 { max-width: 820px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-sans); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: all .22s; text-align: center;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-soft); color: var(--navy); transform: translateY(-2px); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1ebe5b; color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,245,241,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand .brand-name { font-family: var(--font-serif); font-weight: 700; color: var(--navy); font-size: 1.18rem; }
.brand .brand-sub { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

.nav-menu { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-menu a { font-weight: 500; font-size: .97rem; color: var(--graphite); }
.nav-menu a:hover, .nav-menu a.active { color: var(--gold); }

/* dropdown */
.has-drop { position: relative; }
.has-drop > a::after { content: '▾'; margin-left: 5px; font-size: .8em; color: var(--gold); }
.drop {
  position: absolute; top: 130%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 10px; min-width: 290px; list-style: none;
  opacity: 0; visibility: hidden; transition: all .2s;
}
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.drop li a { display: block; padding: 9px 14px; border-radius: 8px; font-size: .92rem; }
.drop li a:hover { background: var(--offwhite); color: var(--navy); }

.nav-cta { display: inline-flex; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white); position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(201,162,39,.18), transparent 70%); border-radius: 50%;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; padding: 80px 0; }
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero p { color: rgba(255,255,255,.88); font-size: 1.15rem; margin-bottom: 1.8rem; }
.hero .btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 9px; font-size: .9rem; color: rgba(255,255,255,.82); }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero-photo {
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,.35);
  border: 4px solid rgba(255,255,255,.12); aspect-ratio: 1/1; background: var(--navy-light);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* page hero (inner pages) */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); color: #fff; padding: 64px 0; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 720px; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.65); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Cards de área ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s;
}
a.card:hover, .card.hoverable:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card .icon {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(15,42,67,.06); margin-bottom: 16px; font-size: 1.4rem;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--gray); font-size: .96rem; margin-bottom: 0; }
.card .more { display: inline-block; margin-top: 14px; color: var(--gold); font-weight: 600; font-size: .92rem; }

/* ---------- Passos ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.step { text-align: center; }
.step .num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--gold);
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700;
  display: grid; place-items: center; margin: 0 auto 16px;
}

/* ---------- Conteúdo de artigo ---------- */
.prose { max-width: 760px; }
.prose h2 { margin: 2rem 0 .8rem; }
.prose h3 { margin: 1.6rem 0 .6rem; color: var(--navy-light); }
.prose ul, .prose ol { margin: 0 0 1.1rem 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose .callout {
  background: #fff; border-left: 4px solid var(--gold); border-radius: 8px;
  padding: 18px 22px; margin: 1.5rem 0; box-shadow: var(--shadow-sm);
}
.signs { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; }
.signs li { list-style: none; padding-left: 30px; position: relative; margin-bottom: .7rem; }
.signs li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ---------- Faixa CTA ---------- */
.cta-band { background: var(--navy); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }

/* ---------- FAQ accordion ---------- */
.accordion { max-width: 820px; margin: 0 auto; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
.acc-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 24px; font-family: var(--font-sans); font-size: 1.05rem; font-weight: 600;
  color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.acc-q .plus { color: var(--gold); font-size: 1.4rem; transition: transform .25s; flex-shrink: 0; }
.acc-item.open .acc-q .plus { transform: rotate(45deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-a .acc-a-inner { padding: 0 24px 20px; color: var(--gray); }

/* ---------- Sobre ---------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 46px; align-items: start; }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.fact-list { list-style: none; margin-top: 1.4rem; }
.fact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; }
.fact-list li strong { color: var(--navy); min-width: 110px; }

/* ---------- Formulário ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--font-sans); font-size: 1rem; background: var(--offwhite); transition: border .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--gray); margin-top: 10px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-info-item .ci-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(15,42,67,.06); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }

/* ---------- Blog ---------- */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card .post-body { padding: 24px; }
.post-card .tag { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); font-weight: 700; }
.post-card h3 { margin: 8px 0; font-size: 1.2rem; }
.post-card p { color: var(--gray); font-size: .95rem; }
.post-meta { font-size: .85rem; color: var(--gray); margin-bottom: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.78); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; font-family: var(--font-sans); font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,.78); font-size: .94rem; }
.site-footer a:hover { color: var(--gold); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-brand .brand-name { font-family: var(--font-serif); font-size: 1.3rem; color: #fff; display: block; margin-bottom: 4px; }
.footer-brand .brand-sub { color: var(--gold); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding: 22px 0; font-size: .82rem; color: rgba(255,255,255,.55); text-align: center; line-height: 1.6; }

/* ---------- Botão flutuante WhatsApp ---------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa);
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* ---------- Animações ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Acessibilidade ---------- */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy); padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 0; }

/* ---------- Responsivo ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo { max-width: 360px; margin: 0 auto; }
  .about-grid, .form-grid { grid-template-columns: 1fr; gap: 30px; }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-menu {
    position: fixed; top: 74px; right: 0; width: min(82%, 320px); height: calc(100vh - 74px);
    background: #fff; flex-direction: column; align-items: flex-start; gap: 0;
    padding: 18px; box-shadow: var(--shadow); transform: translateX(110%); transition: transform .3s;
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu > li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-menu > li > a { display: block; padding: 14px 6px; }
  .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; min-width: 0; padding: 0 0 8px 12px; }
  .has-drop > a::after { content: ''; }
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
}

/* ---------- Mega-menu agrupado ---------- */
.drop.mega {
  min-width: 660px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 26px;
  padding: 20px 24px;
}
.drop.mega .mega-head {
  grid-column: 1 / -1;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
  padding-bottom: 8px;
}
.drop.mega .mega-head a {
  display: inline-block;
  font-weight: 700;
  color: var(--gold);
  padding: 4px 0;
}
.drop.mega .mega-col { display: flex; flex-direction: column; }
.drop.mega .mega-title {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  color: var(--navy);
  opacity: .5;
  margin: 8px 0 4px;
}
.drop.mega .mega-col a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: .92rem;
  color: var(--graphite);
}
.drop.mega .mega-col a:hover { background: var(--offwhite); color: var(--navy); }

@media (max-width: 760px) {
  .drop.mega {
    min-width: 0;
    grid-template-columns: 1fr;
    padding: 0 0 8px 12px;
    gap: 0;
  }
  .drop.mega .mega-head { border: none; margin: 0; padding: 6px 0; }
  .drop.mega .mega-col a, .drop.mega .mega-title { padding-left: 0; }
}