/* VG Advocacia — layout: header fino, hero dividido (texto | retrato em arco), faixas alternadas marinho/marfim, barra de WhatsApp fixa no celular */
:root {
  --navy-950: #060c1d;
  --navy-900: #0b1631;
  --navy-800: #13244c;
  --navy-700: #1d3266;
  --copper: #c98a62;
  --copper-deep: #a8623d;
  --copper-light: #f2cdb3;
  --ivory: #f8f2ec;
  --ivory-line: #e8d9cc;
  --ink: #0b1631;
  --ink-soft: #46506b;
  --mist: #aeb8d0;
  --white: #ffffff;
  --wa: #1f9d55;
  --gold-grad: linear-gradient(100deg, #b06a42 0%, #dca180 32%, #f6dccb 52%, #d39470 72%, #a8623d 100%);

  --f-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --f-caps: "Marcellus SC", "Marcellus", "Trajan Pro", Georgia, serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.5rem; line-height: 1.15; }
h1 em, h2 em { font-style: italic; font-weight: 500; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
p { margin: 0; }
.eyebrow { font-family: var(--f-caps); font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; color: var(--copper-light); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold-grad); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--mist); max-width: 34em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 999px; font-family: var(--f-body); font-weight: 600; font-size: .95rem; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; border: 0; cursor: pointer; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-wa { background: var(--wa); color: var(--white); box-shadow: 0 10px 30px -10px rgba(31, 157, 85, .7); }
.btn-wa:hover { transform: translateY(-2px); background: #1b8c4b; }
.btn-ghost { background: transparent; color: var(--copper-light); border: 1px solid rgba(242, 205, 179, .45); }
.btn-ghost:hover { border-color: var(--copper-light); }
.btn-sm { min-height: 38px; padding: 0 15px; font-size: .88rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(6, 12, 29, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(201, 138, 98, .18); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
/* marca: logo + nome do escritório */
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 64px; width: auto; }
.brand-name { display: grid; line-height: 1.05; border-left: 1px solid rgba(201, 138, 98, .45); padding-left: 14px; }
.brand-name b { font-family: var(--f-caps); font-weight: 400; font-size: 1.32rem; letter-spacing: .2em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-name small { font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--mist); margin-top: 4px; }
@media (max-width: 520px) { .brand img { height: 50px; } .brand-name b { font-size: 1.02rem; letter-spacing: .14em; } .brand-name small { display: none; } }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { font-size: .92rem; text-decoration: none; color: var(--mist); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--copper-light); }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, var(--navy-700) 0%, var(--navy-900) 48%, var(--navy-950) 100%); }
.hero::before { /* retícula de pontos, como na pasta */
  content: ""; position: absolute; inset: 0 0 auto auto; width: 46%; height: 70%;
  background-image: radial-gradient(rgba(120, 150, 230, .28) 1.4px, transparent 1.6px); background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(circle at 100% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(circle at 100% 0%, #000 0%, transparent 70%);
  pointer-events: none;
}
.hero::after { /* traço da assinatura */
  content: ""; position: absolute; left: -10%; right: -10%; top: 62%; height: 1.5px; background: var(--gold-grad); opacity: .55; transform: rotate(-11deg); pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: clamp(28px, 4vw, 56px); }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
/* assinatura do escritório no topo do hero */
.hero-brand { display: flex; align-items: center; gap: 18px; }
.hero-brand img { height: clamp(64px, 8vw, 96px); width: auto; filter: drop-shadow(0 6px 18px rgba(0,0,0,.35)); }
.hero-brand div { display: grid; line-height: 1; border-left: 1px solid rgba(201, 138, 98, .5); padding-left: 18px; }
.hero-brand b { font-family: var(--f-caps); font-weight: 400; font-size: clamp(1.7rem, 3.2vw, 2.6rem); letter-spacing: .16em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-brand small { font-size: .74rem; letter-spacing: .32em; text-transform: uppercase; color: var(--mist); margin-top: 8px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 6px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: var(--mist); }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--copper); }
.badge-24 { display: inline-flex; align-items: center; gap: 10px; align-self: start; justify-self: start; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(31, 157, 85, .14); border: 1px solid rgba(31, 157, 85, .45); color: #bff0d3; font-size: .86rem; font-weight: 600; }
.badge-24 i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }

/* retrato limitado pela altura da tela: o hero cabe na primeira dobra e o texto não fica "afundado" */
.portrait { position: relative; justify-self: center; width: min(100%, 400px, calc((100svh - 200px) * .8)); min-width: 240px; }
.portrait::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid rgba(242, 205, 179, .55); border-radius: 999px 999px var(--radius) var(--radius); }
.portrait picture { display: block; }
.portrait picture, .portrait img { position: relative; height: auto; border-radius: 999px 999px var(--radius) var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; }
.portrait figcaption { position: absolute; left: -10px; bottom: 26px; background: var(--navy-950); border: 1px solid rgba(201, 138, 98, .45); padding: 12px 16px; border-radius: var(--radius); display: grid; gap: 2px; box-shadow: 0 18px 40px -18px #000; }
.portrait figcaption strong { font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; }
.portrait figcaption span { font-size: .78rem; letter-spacing: .08em; color: var(--copper-light); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .wrap { padding-block: 36px 64px; }
  .portrait { width: min(74%, 300px); margin-top: 14px; }
  .portrait figcaption { left: 50%; transform: translateX(-50%); bottom: -18px; white-space: nowrap; text-align: center; }
}

/* ---------- alert strip (criminal) ---------- */
.alert-strip { background: var(--gold-grad); color: var(--navy-950); }
.alert-strip .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; justify-content: space-between; padding-block: 20px; }
.alert-strip p { font-weight: 600; max-width: 52em; }
.alert-strip small { display: block; font-weight: 500; opacity: .8; font-size: .82rem; }
.alert-strip .btn { background: var(--navy-950); color: var(--white); }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-head { display: grid; gap: 16px; max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section-light { background: var(--ivory); color: var(--ink); }
.section-light .eyebrow { color: var(--copper-deep); }
.section-light .lede { color: var(--ink-soft); }
.section-light h2 em { background: linear-gradient(100deg, #8e4f2f, #c27d55 50%, #8e4f2f); -webkit-background-clip: text; background-clip: text; }
.section-dark { background: var(--navy-900); }
.section-deep { background: var(--navy-950); }

/* serviços */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ivory-line); border-left: 1px solid var(--ivory-line); }
.service { padding: 28px 26px 30px; border-right: 1px solid var(--ivory-line); border-bottom: 1px solid var(--ivory-line); display: grid; gap: 10px; align-content: start; min-width: 0; }
.service h3 { color: var(--ink); }
.service p { color: var(--ink-soft); font-size: .98rem; }
.service .tag { font-family: var(--f-caps); font-size: .72rem; letter-spacing: .18em; color: var(--copper-deep); }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }
.services-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.services-cta p { color: var(--ink-soft); }

/* direito em destaque (citação legal) */
.law-note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 28px; align-items: start; max-width: 60rem; }
.law-note .mark { font-family: var(--f-display); font-size: 5rem; line-height: .8; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.law-note blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.3; font-style: italic; }
.law-note cite { display: block; margin-top: 14px; font-style: normal; font-family: var(--f-caps); font-size: .8rem; letter-spacing: .18em; color: var(--copper-light); }

/* etapas */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: step; display: grid; gap: 10px; padding-top: 22px; border-top: 1px solid rgba(201, 138, 98, .4); min-width: 0; }
.steps li::before { content: counter(step); font-family: var(--f-display); font-size: 2.6rem; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps p { color: var(--mist); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* sobre */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; width: 100%; max-width: 420px; }
.about-copy { display: grid; gap: 18px; min-width: 0; }
.about-copy p { color: var(--ink-soft); }
.creds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.creds span { font-family: var(--f-caps); font-size: .78rem; letter-spacing: .14em; padding: 8px 14px; border: 1px solid var(--ivory-line); border-radius: 999px; color: var(--ink); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about img { max-width: 320px; } }

/* áreas em destaque (página geral) */
.focus-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.focus-card { position: relative; display: grid; gap: 14px; padding: clamp(28px, 4vw, 44px); border: 1px solid rgba(201, 138, 98, .35); border-radius: var(--radius); text-decoration: none; background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); transition: border-color .2s ease, transform .2s ease; min-width: 0; }
.focus-card:hover { border-color: var(--copper-light); transform: translateY(-3px); }
.focus-card p { color: var(--mist); }
.focus-card .more { font-weight: 600; color: var(--copper-light); display: inline-flex; gap: 8px; align-items: center; }
.focus-card .flag { justify-self: start; font-size: .78rem; font-weight: 600; color: #bff0d3; background: rgba(31, 157, 85, .16); border: 1px solid rgba(31, 157, 85, .4); padding: 4px 10px; border-radius: 999px; }
@media (max-width: 760px) { .focus-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; max-width: 52rem; border-top: 1px solid rgba(174, 184, 208, .2); }
.faq details { border-bottom: 1px solid rgba(174, 184, 208, .2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--f-body); font-weight: 300; font-size: 1.8rem; color: var(--copper-light); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--mist); max-width: 44em; }

/* contato final */
.final { position: relative; overflow: hidden; background: radial-gradient(90% 120% at 10% 100%, var(--navy-700), var(--navy-950) 60%); }
.final .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.final-copy { display: grid; gap: 22px; min-width: 0; }
.contact-list { display: grid; gap: 18px; margin: 0; padding: 26px; border: 1px solid rgba(201, 138, 98, .35); border-radius: var(--radius); background: rgba(6, 12, 29, .5); min-width: 0; }
.contact-list div { display: grid; gap: 2px; }
.contact-list dt { font-family: var(--f-caps); font-size: .74rem; letter-spacing: .18em; color: var(--copper-light); }
.contact-list dd { margin: 0; overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--copper-light); }
@media (max-width: 860px) { .final .wrap { grid-template-columns: 1fr; } }

/* rodapé */
.site-footer { background: var(--navy-950); border-top: 1px solid rgba(201, 138, 98, .2); color: var(--mist); font-size: .88rem; }
.site-footer .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 48px; align-items: start; padding-block: 44px 110px; }
.site-footer img { height: 72px; width: auto; }
.site-footer nav { display: grid; gap: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--copper-light); }
.social { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.social a { display: inline-flex; align-items: center; gap: 8px; color: var(--copper-light); }
.social svg { width: 22px; height: 22px; }
.social a:hover { color: var(--white); }
.legal { grid-column: 1 / -1; border-top: 1px solid rgba(174, 184, 208, .14); padding-top: 20px; font-size: .8rem; line-height: 1.55; }
@media (min-width: 861px) { .site-footer .wrap { padding-block: 52px 44px; } }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* WhatsApp fixo */
.wa-float { position: fixed; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 50; width: 54px; height: 54px; border-radius: 50%; background: var(--wa); color: var(--white); display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6); transition: transform .2s ease; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }
.wa-bar { display: none; }
@media (max-width: 860px) {
  .wa-float { display: none; }
  .wa-bar { display: flex; justify-content: center; position: fixed; inset: auto 0 0 0; z-index: 50; padding: 8px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(6, 12, 29, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid rgba(201, 138, 98, .3); }
  .wa-bar .btn { width: 100%; max-width: 360px; min-height: 42px; }
}
