/* =========================================================
   Reis & Barros — Advogados Associados
   Folha de estilo principal
   Paleta sóbria: navy + dourado · serif + sans
   ========================================================= */

:root {
  --bg: #ffffff;
  --soft: #f5f6f8;
  --soft-2: #eef1f4;
  --ink: #16202e;
  --navy: #0e2236;
  --navy-700: #14304a;
  --navy-800: #0b1b2c;
  --gold: #b08d4f;
  --gold-600: #97783e;
  --muted: #5c6675;
  --line: #e4e7ec;
  --white: #ffffff;
  --maxw: 1140px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(14, 34, 54, 0.08);
  --shadow-sm: 0 4px 14px rgba(14, 34, 54, 0.06);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ----- Reset ----- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; color: var(--ink); }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ----- Layout helpers ----- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy); color: #dfe6ee; }
.section--navy h2, .section--navy h3 { color: #fff; }
.center { text-align: center; }
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.section-head { max-width: 720px; margin: 0 auto 52px; }
.section-head.center { text-align: center; }
.divider { width: 56px; height: 3px; background: var(--gold); border: 0; margin: 18px 0 0; }
.section-head.center .divider { margin: 18px auto 0; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: 13px 26px; border-radius: 8px; cursor: pointer;
  transition: all .2s ease; border: 1.5px solid transparent;
}
.btn--primary { background: var(--gold); color: #1c1407; }
.btn--primary:hover { background: var(--gold-600); color: #fff; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-700); color: #fff; }
.btn--outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }

/* ----- Header ----- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { color: inherit; }
.brand .monogram { flex: 0 0 auto; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand .brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; color: var(--navy); letter-spacing: .01em; }
.brand .brand-sub { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-600); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  font-family: var(--sans); font-weight: 500; font-size: .96rem; color: var(--ink);
  position: relative; padding: 4px 0;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: var(--gold);
}
.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); transition: .25s; }

/* ----- Hero ----- */
.hero {
  position: relative;
  background:
    linear-gradient(rgba(9,22,36,.86), rgba(9,22,36,.92)),
    radial-gradient(circle at 80% 10%, rgba(176,141,79,.22), transparent 45%),
    var(--navy-800);
  color: #eaf0f6;
  padding: 120px 0 110px;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .5; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; max-width: 820px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero p { color: #c5d2de; font-size: 1.18rem; max-width: 640px; margin-bottom: 30px; }
.hero .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .eyebrow { color: var(--gold); }

/* ----- Stat / trust strip ----- */
.strip { background: var(--navy); color: #d7e0ea; }
.strip .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.strip .stat { text-align: center; }
.strip .stat .num { font-family: var(--serif); font-size: 2.2rem; color: var(--gold); display: block; }
.strip .stat .lbl { font-size: .92rem; letter-spacing: .04em; color: #aebccb; }

/* ----- Feature / value cards ----- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico {
  width: 46px; height: 46px; color: var(--gold); margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .98rem; margin-bottom: 0; }

/* area card link */
.area-card { display: block; color: inherit; }
.area-card:hover { color: inherit; }
.area-card .more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: .9rem; color: var(--gold-600); }

/* ----- Two-column intro ----- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .media {
  background: linear-gradient(135deg, var(--navy), var(--navy-700));
  border-radius: var(--radius); min-height: 340px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.split .media .mono-lg { opacity: .9; }
.split .media .ph-note {
  position: absolute; bottom: 14px; left: 0; right: 0; text-align: center;
  font-size: .72rem; color: rgba(255,255,255,.45); letter-spacing: .05em;
}
.checklist { list-style: none; margin: 18px 0 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px;
  background: var(--gold); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/14px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/14px no-repeat;
}

/* ----- Team ----- */
.member { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.member .photo {
  aspect-ratio: 4/5; background: linear-gradient(160deg, var(--navy), var(--navy-700));
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85);
}
.member .photo .initials { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); }
.member .info { padding: 22px 24px; }
.member .info h3 { margin-bottom: 2px; }
.member .info .role { color: var(--gold-600); font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.member .info .oab { color: var(--muted); font-size: .86rem; }
.member .info p { color: var(--muted); font-size: .94rem; margin-top: 10px; margin-bottom: 0; }

/* ----- Contact ----- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-list .ico { color: var(--gold); flex: 0 0 auto; margin-top: 2px; }
.contact-list .k { font-weight: 600; color: var(--navy); display: block; }
.contact-list .v { color: var(--muted); }

form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 6px; }
form input, form textarea, form select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-family: var(--sans); font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .2s;
}
form input:focus, form textarea:focus, form select:focus { outline: none; border-color: var(--gold); }
form textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 10px; }

.map-embed { border: 0; width: 100%; height: 320px; border-radius: var(--radius); margin-top: 26px; }

/* ----- Page hero (interior pages) ----- */
.page-hero {
  background: linear-gradient(rgba(9,22,36,.9), rgba(9,22,36,.94)), var(--navy-800);
  color: #fff; padding: 76px 0 64px; text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #bccad7; max-width: 620px; margin: 12px auto 0; }
.breadcrumb { font-size: .82rem; color: #93a6b6; margin-bottom: 14px; letter-spacing: .04em; }
.breadcrumb a { color: #93a6b6; }
.breadcrumb a:hover { color: var(--gold); }

/* ----- CTA band ----- */
.cta-band { background: var(--gold); color: #1c1407; text-align: center; }
.cta-band h2 { color: #1c1407; }
.cta-band p { color: #3a2c10; max-width: 600px; margin: 10px auto 24px; }

/* ----- Footer ----- */
.site-footer { background: var(--navy-800); color: #aab8c6; font-size: .92rem; }
.footer-top { padding: 60px 0 40px; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #aab8c6; }
.site-footer a:hover { color: var(--gold); }
.footer-brand .brand-name { font-family: var(--serif); font-size: 1.4rem; color: #fff; margin-bottom: 10px; display: block; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: #7e8fa0; }
.compliance { background: var(--navy-800); color: #6f8093; font-size: .78rem; text-align: center; padding: 0 0 26px; }
.compliance .container { max-width: 820px; }

/* ----- WhatsApp float ----- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ----- Responsive ----- */
@media (max-width: 920px) {
  .nav-links {
    position: fixed; inset: 78px 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 0;
    transform: translateY(-130%); transition: transform .3s ease; box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-links a.active::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn { display: none; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .strip .container { grid-template-columns: 1fr; gap: 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding: 88px 0 76px; }
  .brand .brand-sub { display: none; }
}

/* ----- FAQ (accordion nativo) ----- */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 22px; box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 1.08rem; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-size: 1.6rem; font-weight: 400; line-height: 1; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-a { padding: 0 0 18px; }
.faq-a p { margin: 0; color: var(--muted); }
.faq-a a { color: var(--gold-600); font-weight: 600; }

/* ----- Logo real e imagens ----- */
.brand-mark { height: 46px; width: auto; display: block; }
.media--photo { background: none; padding: 0; display: block; overflow: hidden; }
.media--photo img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; border-radius: var(--radius); display: block; }
.media--logo { background: #fff; border: 1px solid var(--line); }
.media--logo img { width: auto; max-width: 82%; max-height: 250px; border-radius: 0; }
.hero {
  background:
    linear-gradient(rgba(9,22,36,.84), rgba(11,27,44,.92)),
    url("escritorio.jpg") center / cover no-repeat,
    var(--navy-800);
}

/* Correção: parágrafos do rodapé estavam herdando a cor escura (--ink) */
.site-footer p { color: #c2cdda; }
.footer-brand p { color: #c2cdda; }

/* ----- Artigos / blog ----- */
.tag { display: inline-block; background: var(--soft-2); color: var(--gold-600); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 4px 11px; border-radius: 999px; }
.article-card { display: flex; flex-direction: column; align-items: flex-start; color: inherit; }
.article-card:hover { color: inherit; }
.article-card .tag { margin-bottom: 14px; }
.article-card h3 { margin-bottom: 8px; }
.article-card p { color: var(--muted); }
.article-card .article-meta { margin-top: auto; }
.article-card .more { display: inline-block; margin-top: 10px; font-weight: 600; font-size: .9rem; color: var(--gold-600); }
.article-meta { color: var(--muted); font-size: .88rem; }
.article { max-width: 760px; margin: 0 auto; }
.article .lead { font-size: 1.2rem; color: var(--ink); margin-bottom: 24px; }
.article h2 { font-size: 1.5rem; margin: 34px 0 12px; }
.article h3 { font-size: 1.2rem; margin: 24px 0 8px; }
.article p { line-height: 1.78; margin-bottom: 16px; }
.article ul { margin: 0 0 18px 22px; }
.article li { margin-bottom: 10px; }
.article-note { background: var(--soft); border-left: 3px solid var(--gold); padding: 16px 18px; border-radius: 8px; color: var(--muted); font-size: .92rem; margin-top: 28px; }

/* ----- Citação em artigos ----- */
.article blockquote { margin: 22px 0; padding: 16px 22px; border-left: 4px solid var(--gold); background: var(--soft); border-radius: 8px; font-style: italic; color: var(--navy); }
.article blockquote p { margin: 0; }

/* Foto real do membro da equipe */
.member .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
