/* GM Advocacia — folha de estilo */
:root {
  --ink: #14110D;
  --ink-2: #1E1A14;
  --ivory: #FAF7F0;
  --ivory-2: #F2ECDF;
  --line: #E3DACA;
  --text: #2A251E;
  --muted: #6B6255;
  --gold: #A9822F;
  --gold-2: #C9A45A;
  --gold-soft: #E8D6AC;
  --red: #9E3A2E;
  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--ivory); line-height: 1.65; font-size: 17.5px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--gold); }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 10px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.eyebrow { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: var(--gold); margin-bottom: 1em; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--gold { color: var(--gold-2); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.note { margin-top: 36px; font-size: .95rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: var(--ivory); text-decoration: none; padding: 14px 28px; border: 1px solid var(--ink); font-family: var(--font-body); font-weight: 600; font-size: .95rem; letter-spacing: .04em; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--gold); border-color: var(--gold); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { color: #fff; }
.btn--small { padding: 9px 18px; font-size: .88rem; }
.btn--full { width: 100%; }
.section--dark .btn, .form .btn { background: var(--gold); border-color: var(--gold); color: #fff; }
.section--dark .btn:hover, .form .btn:hover { background: #8E6C24; border-color: #8E6C24; }

/* Topo */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 240, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-size: 1.55rem; font-weight: 700; letter-spacing: .02em; }
.brand em { font-style: normal; font-weight: 500; color: var(--gold); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--gold); }
.navtoggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.navtoggle span { display: block; width: 24px; height: 1.5px; background: var(--ink); margin: 6px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { padding: 80px 0 72px; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 85% 40%, #F3E9D3 0%, var(--ivory) 60%); }
.hero__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__logo img { width: min(360px, 100%); height: auto; margin-inline: auto; }

/* Seções */
.section { padding: 96px 0; }
.section--dark { background: var(--ink); color: #CFC6B6; }
.section--dark h2, .section--dark h3 { color: #F6F0E2; }
.section--ivory { background: var(--ivory-2); }
.section__head { max-width: 740px; margin-bottom: 52px; }
.section__head p:last-child:not(.eyebrow) { color: var(--muted); }

.method { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.method article { border-top: 1px solid var(--gold); padding-top: 22px; }
.method__n { font-family: var(--font-head); font-size: 2rem; color: var(--gold); display: block; margin-bottom: 6px; }
.method p { color: var(--muted); font-size: .97rem; margin: 0; }

.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #3A3226; border: 1px solid #3A3226; }
.areas article { background: var(--ink); padding: 30px 26px; transition: background .2s; }
.areas article:hover { background: var(--ink-2); }
.areas h3 { font-size: 1.35rem; }
.areas h3::after { content: ""; display: block; width: 24px; height: 1px; background: var(--gold-2); margin-top: 14px; }
.areas p { font-size: .95rem; margin: 0 0 12px; color: #E8DFCB; }
.areas ul { list-style: none; padding: 0; margin: 0; }
.areas li { font-size: .9rem; padding: 5px 0 5px 16px; position: relative; color: #BDB3A0; }
.areas li::before { content: ""; position: absolute; left: 0; top: 14px; width: 6px; height: 1px; background: var(--gold-2); }

.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.team--one { grid-template-columns: minmax(0, 760px); }
.person { display: flex; gap: 24px; align-items: flex-start; background: #fff; border: 1px solid var(--line); padding: 32px; }
.person__mono { flex: none; width: 76px; height: 76px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; font-family: var(--font-head); font-size: 1.6rem; color: var(--gold); background: var(--ivory); }
.person h3 { margin-bottom: .1em; }
.person__oab { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: .8em; }
.person p:last-child { color: var(--muted); margin: 0; }

.articles { display: grid; gap: 16px; max-width: 860px; }
.article { background: #fff; border: 1px solid var(--line); }
.article summary { list-style: none; cursor: pointer; padding: 26px 64px 22px 28px; position: relative; }
.article summary::-webkit-details-marker { display: none; }
.article summary::after { content: "+"; position: absolute; right: 28px; top: 50%; transform: translateY(-50%); font-family: var(--font-head); font-size: 2rem; color: var(--gold); transition: transform .2s; }
.article[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.article h3 { margin: 0; }
.article__tag { display: inline-block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.article__body { padding: 0 28px 24px; color: var(--muted); border-top: 1px solid var(--ivory-2); padding-top: 18px; }
.article__body ul { padding-left: 1.2em; }
.article__body strong { color: var(--text); }

/* Contato */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact__list li { padding: 16px 0; border-bottom: 1px solid #3A3226; display: grid; grid-template-columns: 120px 1fr; gap: 16px; }
.contact__list span { color: var(--gold-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; padding-top: 3px; }
.contact__list a { color: #F6F0E2; }
.form { background: var(--ivory); color: var(--text); padding: 32px; border-top: 3px solid var(--gold); }
.form__row { margin-bottom: 16px; }
.form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.form label small { font-weight: 400; color: var(--muted); }
.form input, .form select { width: 100%; font: inherit; font-size: .98rem; padding: 12px 14px; border: 1px solid var(--line); background: #fff; color: var(--text); border-radius: 0; }
.form input:focus, .form select:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(169, 130, 47, .18); }
.form__lgpd { font-size: .8rem; color: var(--muted); }
.form__err { color: var(--red); font-weight: 600; font-size: .9rem; }

/* Rodapé */
.footer { background: #0C0A07; color: #A39A89; padding: 40px 0; font-size: .88rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer p { margin: 0; }
.footer a { color: #D9CFBC; }
.brand--foot { color: #F6F0E2; font-size: 1.3rem; }
.footer__legal { width: 100%; font-size: .78rem; color: #7A7262; border-top: 1px solid #2A241B; padding-top: 18px; }

.wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .2s; }
.wa:hover { transform: scale(1.07); }

.page { padding: 64px 0 88px; }
.page .wrap { max-width: 820px; }
.page h2 { font-size: 1.6rem; margin-top: 1.6em; }

/* Responsivo */
@media (max-width: 1000px) {
  .hero__grid, .contact { grid-template-columns: 1fr; gap: 40px; }
  .hero__logo { order: -1; }
  .hero__logo img { width: 200px; margin: 0; }
  .method, .areas { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .navtoggle { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; background: var(--ivory); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; }
  .navtoggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .navtoggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .navtoggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .hero { padding: 48px 0; }
  .hero__logo { display: none; }
  .section { padding: 68px 0; }
  .method, .areas, .team { grid-template-columns: 1fr; }
  .person { flex-direction: column; padding: 26px; }
  .contact__list li { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
