/* Drumond Alves Advocacia — Gláucia Drumond
   Premium navy / gold. Mobile-first. file:// safe. */

:root {
  --navy: #0b1f3a;
  --navy-deep: #071525;
  --navy-mid: #122a4a;
  --navy-soft: #1a3a5c;
  --gold: #c4a35a;
  --gold-bright: #d4b76a;
  --gold-dim: #8f7538;
  --ivory: #f6f1e7;
  --cream: #ebe3d2;
  --paper: #fbfaf7;
  --ink: #121820;
  --muted: #5c6570;
  --line: rgba(196, 163, 90, 0.32);
  --hair: rgba(255, 255, 255, 0.1);
  --shadow: 0 22px 50px rgba(7, 21, 37, 0.18);
  --radius: 2px;
  --header: 4.6rem;
  --wrap: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: "Cormorant Garamond", "Times New Roman", Georgia, serif; font-weight: 500; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.7rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.wrap {
  width: min(calc(100% - 2rem), var(--wrap));
  margin-inline: auto;
}

.kicker {
  display: inline-block;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.lead { font-size: 1.12rem; color: var(--muted); max-width: 40rem; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }

/* —— Header —— */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 31, 58, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(196, 163, 90, 0.18);
}

.header-bar {
  background: var(--navy-deep);
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.header-bar-inner {
  display: flex; flex-wrap: wrap; gap: 0.55rem 1rem;
  justify-content: center; padding: 0.4rem 0;
}
.header-bar .dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--gold); align-self: center; opacity: 0.7;
}

.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 4.15rem; gap: 1rem;
}

.brand { display: flex; align-items: center; gap: 0.75rem; color: var(--ivory); }
.logo-mark {
  width: 46px; height: 46px; border-radius: 50%;
  object-fit: cover; background: var(--ivory);
  box-shadow: 0 0 0 1px var(--gold);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem; font-weight: 600; letter-spacing: 0.04em;
}
.brand-text em {
  font-style: normal; font-size: 0.62rem;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold);
}

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: transparent; border: 1px solid var(--line); color: var(--ivory); cursor: pointer;
}
.nav-toggle span:not(.sr-only) {
  display: block; height: 1.5px; background: var(--ivory); transition: 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.site-nav {
  display: none; position: absolute; left: 0; right: 0;
  top: 100%;
  background: var(--navy); padding: 0.6rem 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  flex-direction: column; gap: 0.15rem;
}
.site-nav.is-open { display: flex; }
.site-nav a {
  color: var(--ivory); padding: 0.75rem 0.4rem;
  font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase;
  border-bottom: 1px solid var(--hair);
}
.site-nav a[aria-current="page"],
.site-nav a:hover { color: var(--gold); }
.site-nav .nav-cta {
  margin-top: 0.4rem; text-align: center;
  border: 1px solid var(--gold); border-bottom-color: var(--gold);
  color: var(--gold);
}

/* —— Buttons —— */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0.75rem 1.4rem;
  border: 1px solid var(--gold); cursor: pointer;
  letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.74rem; font-weight: 500;
  transition: 0.25s var(--ease);
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-bright); }
.btn-ghost { background: transparent; color: var(--ivory); }
.btn-ghost:hover { background: rgba(196, 163, 90, 0.12); }
.btn-navy { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-mid); }
.btn-line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-line:hover { background: var(--navy); color: var(--ivory); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }

/* —— Hero —— */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(196, 163, 90, 0.12), transparent 42%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--ivory);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: auto 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-grid {
  display: grid; gap: 2.4rem;
  padding: 2.6rem 0 3rem;
}
.hero h1 {
  font-size: clamp(2.3rem, 8vw, 4.4rem);
  color: #fbf6ea;
  max-width: 16ch;
}
.hero h1 em {
  font-style: italic; font-weight: 400; color: var(--gold-bright);
}
.hero .lead { color: #c9d0d8; }
.hero-photo {
  position: relative;
  max-width: 22rem; margin-inline: auto;
}
.hero-photo img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 18%;
  border: 1px solid var(--gold);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.hero-photo figcaption {
  position: absolute; left: 0.8rem; bottom: 0.8rem; right: 0.8rem;
  padding: 0.55rem 0.7rem;
  background: rgba(7, 21, 37, 0.78);
  border: 1px solid var(--line);
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold);
}

.trust {
  background: var(--navy-mid);
  color: var(--cream);
  border-top: 1px solid var(--line);
}
.trust-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1rem;
  padding: 1.4rem 0;
}
.trust-item strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem; font-weight: 500; color: var(--ivory);
}
.trust-item span { font-size: 0.78rem; color: #b7c0c8; }

/* —— Sections —— */
.section { padding: 4rem 0; }
.section-tight { padding: 3rem 0; }
.section h2 { font-size: clamp(1.9rem, 5vw, 2.9rem); }
.section-head { max-width: 40rem; margin-bottom: 2.2rem; }

.bg-ivory { background: var(--ivory); }
.bg-navy { background: var(--navy); color: var(--ivory); }
.bg-navy .lead, .bg-navy .muted { color: #c3ccd4; }
.bg-navy h2, .bg-navy h3 { color: #fbf6ea; }

.split {
  display: grid; gap: 2rem;
  align-items: center;
}
.frame {
  border: 1px solid var(--gold);
  padding: 0.45rem;
  background: var(--navy);
}
.frame img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 18%; }

/* —— Cards —— */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.1rem; }
.card {
  background: #fff;
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-top: 2px solid var(--gold);
  padding: 1.45rem 1.3rem 1.5rem;
  box-shadow: 0 10px 30px rgba(11, 31, 58, 0.04);
  height: 100%;
}
.card h3 { font-size: 1.55rem; }
.card p:last-child { margin-bottom: 0; }
.card a.more {
  display: inline-block; margin-top: 0.8rem;
  color: var(--navy); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
}
.card-dark {
  background: var(--navy-mid); color: var(--ivory);
  border-color: var(--line); border-top-color: var(--gold);
}
.card-dark p { color: #c9d0d8; }

.list-plain { list-style: none; }
.list-plain li {
  position: relative; padding: 0.55rem 0 0.55rem 1.2rem;
  border-bottom: 1px solid rgba(11, 31, 58, 0.06);
}
.list-plain li::before {
  content: "";
  position: absolute; left: 0; top: 1rem;
  width: 0.45rem; height: 1px; background: var(--gold);
}

.steps { counter-reset: step; }
.step { counter-increment: step; padding-top: 0.2rem; }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--gold); font-size: 1.35rem; letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.quote {
  border-left: 2px solid var(--gold);
  padding: 0.2rem 0 0.2rem 1.3rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 3.4vw, 2rem);
  line-height: 1.3; font-style: italic;
}

.cta-band { text-align: center; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band .lead { margin-inline: auto; }
.fine {
  margin-top: 1.1rem; font-size: 0.78rem; color: #9aa3ad; max-width: 36rem; margin-inline: auto;
}

/* —— Inner pages —— */
.page-hero {
  background:
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--ivory);
  padding: 3rem 0 2.6rem;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); max-width: 18ch; }
.page-hero .lead { color: #c9d0d8; }

.prose { max-width: 42rem; }
.prose h2 { margin-top: 2rem; }
.prose h3 { font-size: 1.45rem; margin-top: 1.4rem; }

/* —— Form —— */
.form-grid { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field label {
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-soft);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 0.85rem;
  border: 1px solid rgba(11, 31, 58, 0.16);
  background: #fff; border-radius: var(--radius);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 1px solid var(--gold); border-color: var(--gold);
}
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 0.82rem; color: var(--muted); }
.contact-aside .card { margin-bottom: 1rem; }
.contact-line { font-size: 1.05rem; }
.contact-line a { border-bottom: 1px solid var(--gold); }

/* —— Footer —— */
.site-footer {
  background: var(--navy-deep); color: #c3ccd4;
  padding: 2.6rem 0 1.6rem;
  font-size: 0.92rem;
}
.footer-grid { display: grid; gap: 1.6rem; margin-bottom: 1.8rem; }
.site-footer h2 {
  font-size: 1.15rem; color: var(--ivory); letter-spacing: 0.04em;
}
.site-footer a:hover { color: var(--gold); }
.footer-brand { display: flex; gap: 0.75rem; align-items: center; color: var(--ivory); }
.legal {
  border-top: 1px solid rgba(196, 163, 90, 0.16);
  padding-top: 1.1rem;
  font-size: 0.75rem; line-height: 1.55; color: #8b95a0;
}

.toast {
  display: none; margin-top: 1rem; padding: 0.85rem 1rem;
  border: 1px solid var(--gold); background: var(--ivory); color: var(--navy);
}

@media (min-width: 720px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex; position: static; flex-direction: row; align-items: center;
    background: transparent; padding: 0; border: 0; gap: 0.15rem;
  }
  .site-nav a {
    padding: 0.45rem 0.7rem; border: 0; font-size: 0.78rem;
  }
  .site-nav .nav-cta { margin: 0 0 0 0.4rem; padding: 0.5rem 0.9rem; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; padding: 3.4rem 0 3.6rem; }
  .hero-photo { max-width: none; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 0.9fr 1.1fr; gap: 3rem; }
  .split-reverse { grid-template-columns: 1.1fr 0.9fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .contact-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2rem; align-items: start; }
}

@media (min-width: 980px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .header-bar-inner { justify-content: flex-end; }
}
