:root {
  --navy: #0f2c4d;
  --navy-deep: #0a1f38;
  --gold: #c7a15a;
  --gold-dark: #a8843f;
  --ink: #1c2430;
  --body: #46505f;
  --line: #e2e6ec;
  --bg: #ffffff;
  --bg-alt: #f5f2ec;
  --bg-navy-soft: #f2f5f9;
  --radius: 12px;
  --shadow: 0 18px 40px -20px rgba(15, 44, 77, 0.35);
  --wrap: 1120px;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; }

a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin: 0 0 0.75rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: #1a1200; border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand:hover { text-decoration: none; }
.brand-mark {
  height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .brand-mark { height: 40px; }
  .brand-text small { display: none; }
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { color: var(--ink); font-size: 1.05rem; font-family: var(--font-serif); white-space: nowrap; }
.brand-text small { color: var(--body); letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.62rem; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a { color: var(--ink); font-size: 0.92rem; font-weight: 500; }
.nav-list a:hover { color: var(--navy); text-decoration: none; }
.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--navy-deep); }

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

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #dfe6ef;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--gold); }
.hero-lede { font-size: 1.08rem; color: #c7d1de; max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.8rem 0 1.4rem; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: #aebccd;
}
.hero-badges li { position: relative; padding-left: 1.1rem; }
.hero-badges li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.hero-card {
  background: #fff;
  color: var(--body);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.hero-card h2 { font-size: 1.4rem; }
.hero-card p { font-size: 0.92rem; }
.hero-card-line {
  display: flex;
  flex-direction: column;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  color: var(--body);
}
.hero-card-line:hover { text-decoration: none; }
.hero-card-line span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; }
.hero-card-line strong { color: var(--ink); font-size: 1.05rem; }
.hero-card .btn { margin-top: 1rem; }

/* ---------- Section heads ---------- */
.section-head { max-width: 620px; margin: 0 auto 2.6rem; text-align: center; }
.section-sub { color: var(--body); }

.areas { padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: var(--bg); }

.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}
.area-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  background: #fff;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.area-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.area-icon {
  font-size: 1.7rem;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--bg-navy-soft);
  border-radius: 10px;
  margin-bottom: 1rem;
}
.area-card h3 { color: var(--navy); }
.area-card p { font-size: 0.93rem; margin: 0; }

/* ---------- Sobre ---------- */
.sobre { padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: var(--bg-alt); }
.sobre-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: center;
}
.sobre-photo-placeholder {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
  display: grid;
  place-items: center;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.sobre-photo-placeholder img { width: 100%; max-width: 300px; height: auto; }
.sobre-oab { color: var(--gold-dark); font-weight: 600; margin-top: -0.4rem; }
.sobre-list { padding-left: 0; list-style: none; margin: 1.2rem 0 0; }
.sobre-list li { position: relative; padding-left: 1.7rem; margin-bottom: 0.6rem; font-size: 0.95rem; }
.sobre-list li::before {
  content: "\2713";
  position: absolute; left: 0; top: 0;
  color: var(--gold-dark);
  font-weight: 700;
}

/* ---------- Passos ---------- */
.passos { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.passo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: none;
}
.passo-card {
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.7rem;
  background: #fff;
}
.passo-num {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.passo-card h3 { color: var(--navy); }
.passo-card p { font-size: 0.9rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: var(--bg-navy-soft); }
.faq-inner { max-width: 780px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 1.3rem;
  margin-bottom: 0.8rem;
}
.faq summary {
  cursor: pointer;
  padding: 1.1rem 0;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--gold-dark);
  line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 0 1.1rem; margin: 0; font-size: 0.93rem; }

/* ---------- Contato ---------- */
.contato { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.contato-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.contato-list { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.contato-list li { margin-bottom: 1.1rem; }
.contato-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.contato-list address { font-style: normal; }

.contato-form {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--ink); margin-bottom: 0.35rem; }
.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}
.consent {
  display: flex;
  gap: 0.6rem;
  font-size: 0.82rem;
  margin: 0.4rem 0 1.2rem;
  align-items: flex-start;
}
.consent input { margin-top: 0.2rem; }
.form-note { font-size: 0.78rem; color: var(--body); margin: 0.9rem 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #aebccd; padding: 3rem 0 1.5rem; }
.footer-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand { display: flex; flex-direction: column; gap: 0.6rem; align-items: flex-start; }
.footer-logo { width: 190px; max-width: 60vw; height: auto; }
.footer-oab { margin: 0; font-size: 0.8rem; letter-spacing: 0.08em; color: var(--gold); }
.footer-brand strong { color: #fff; font-family: var(--font-serif); font-size: 1.1rem; display: block; }
.footer-brand p { margin: 0; font-size: 0.85rem; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer-cols h3 { color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; font-family: var(--font-sans); margin-bottom: 0.7rem; }
.footer-cols p { margin: 0 0 0.4rem; font-size: 0.88rem; }
.footer-cols a, .footer-brand a { color: #c7d1de; }
.footer-legal { padding-top: 1.5rem; }
.footer-legal p { font-size: 0.76rem; margin: 0 0 0.5rem; color: #8a99ac; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px; height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  z-index: 60;
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner,
  .sobre-inner,
  .contato-inner { grid-template-columns: 1fr; }
  .hero-lede { max-width: none; }
  .sobre-photo { max-width: 320px; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 24px 1.2rem;
    display: none;
  }
  .nav-list.open { display: flex; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list li:last-child { border-bottom: 0; }
  .nav-list a { display: block; padding: 0.9rem 0; }
  .nav-cta { text-align: center; margin-top: 0.6rem; }
  .field-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}
