/* ===========================================================
   Cristiano Rodrigues — Advogado Tributarista e Empresarial
   Sistema visual: grafite/petróleo + dourado capital + areia
   =========================================================== */

:root {
  --graphite: #0F1115;
  --petroleo: #123642;
  --gold: #C9A24A;
  --gold-soft: #d9bd7a;
  --sand: #ECE6DA;
  --mist: #8B919B;
  --white: #ffffff;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 4px;
  --container: 1180px;
  --shadow: 0 20px 60px rgba(15, 17, 21, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1.2em; }

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

.gold { color: var(--gold); }

.section {
  padding: 88px 0;
}

.section--dark {
  background: var(--graphite);
  color: var(--sand);
}

.section--petroleo {
  background: var(--petroleo);
  color: var(--sand);
}

.section--sand {
  background: var(--sand);
}

.section--white {
  background: var(--white);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.section-head p {
  color: var(--mist);
  font-size: 18px;
}

.section--dark .section-head p,
.section--petroleo .section-head p {
  color: var(--sand);
  opacity: 0.75;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn--gold {
  background: var(--gold);
  color: var(--graphite);
}

.btn--gold:hover {
  background: var(--gold-soft);
}

.btn--outline {
  border-color: currentColor;
  color: var(--sand);
}

.btn--outline:hover {
  background: rgba(236, 230, 218, 0.1);
}

.btn--outline-dark {
  border-color: var(--graphite);
  color: var(--graphite);
}

.btn--outline-dark:hover {
  background: rgba(15, 17, 21, 0.06);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--graphite);
  border-bottom: 1px solid rgba(236, 230, 218, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  font-family: var(--font-display);
  color: var(--sand);
  font-size: 20px;
  font-weight: 600;
}

.brand span {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  color: var(--sand);
  font-size: 15px;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  opacity: 1;
  color: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--graphite) !important;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  opacity: 1 !important;
}

.nav-cta:hover { background: var(--gold-soft); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--sand);
}

/* ---------- Hero ---------- */

.hero {
  background: var(--graphite);
  color: var(--sand);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(18, 54, 66, 0.9), transparent 60%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  padding-top: 96px;
  padding-bottom: 96px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  margin-bottom: 20px;
}

.hero .lede {
  font-size: 19px;
  color: var(--sand);
  opacity: 0.8;
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-credentials {
  display: flex;
  gap: 28px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.hero-credentials div {
  border-left: 2px solid var(--gold);
  padding-left: 14px;
}

.hero-credentials strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--gold);
}

.hero-credentials span {
  font-size: 13px;
  color: var(--mist);
}

.hero-portrait {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(155deg, var(--petroleo), var(--graphite));
  display: flex;
  align-items: flex-end;
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-portrait .tag {
  position: relative;
  background: rgba(15, 17, 21, 0.75);
  backdrop-filter: blur(4px);
  color: var(--sand);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  border: 1px solid rgba(201, 162, 74, 0.4);
}

/* ---------- Breadcrumb / page hero (inner pages) ---------- */

.page-hero {
  background: var(--graphite);
  color: var(--sand);
  padding: 64px 0 56px;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  max-width: 820px;
}

.page-hero p {
  color: var(--mist);
  max-width: 620px;
  font-size: 18px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--mist);
  margin-bottom: 18px;
}

.breadcrumb a { color: var(--gold); }

/* ---------- Cards / grids ---------- */

.grid {
  display: grid;
  gap: 28px;
}

.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(15, 17, 21, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 17, 21, 0.1);
}

.card .num {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
  display: block;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.card p {
  color: var(--mist);
  font-size: 15px;
  margin-bottom: 16px;
}

.card a.more {
  font-size: 14px;
  font-weight: 600;
  color: var(--petroleo);
}

.section--dark .card,
.section--petroleo .card {
  background: rgba(236, 230, 218, 0.04);
  border-color: rgba(236, 230, 218, 0.12);
}

.section--dark .card h3,
.section--petroleo .card h3 {
  color: var(--sand);
}

.section--dark .card p,
.section--petroleo .card p {
  color: var(--mist);
}

/* ---------- Manifesto quote block ---------- */

.manifesto {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.manifesto blockquote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.35;
  margin: 0;
  color: var(--sand);
}

.manifesto blockquote strong {
  color: var(--gold);
  font-weight: 600;
}

.manifesto cite {
  display: block;
  margin-top: 24px;
  font-style: normal;
  font-size: 14px;
  color: var(--mist);
}

/* ---------- Testimonials ---------- */

.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid rgba(15,17,21,0.08);
}

.stars { color: var(--gold); font-size: 15px; margin-bottom: 12px; letter-spacing: 2px; }

.testimonial p.quote {
  font-size: 16px;
  color: var(--graphite);
}

.testimonial .who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.testimonial .who strong { font-size: 14px; display:block; }
.testimonial .who span { font-size: 13px; color: var(--mist); }

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--petroleo);
  color: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
}

/* ---------- FAQ ---------- */

.faq-item {
  border-bottom: 1px solid rgba(15, 17, 21, 0.1);
}

.faq-item summary {
  padding: 22px 0;
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--gold);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  padding-bottom: 22px;
  color: var(--mist);
  margin: 0;
  max-width: 70ch;
}

/* ---------- Form ---------- */

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid rgba(15,17,21,0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--petroleo);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(15,17,21,0.15);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--sand);
}

.field textarea { resize: vertical; min-height: 110px; }

.form-note {
  font-size: 13px;
  color: var(--mist);
  margin-top: 8px;
}

/* ---------- Contact / map block ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
}

.contact-info-item .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(201, 162, 74, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}

.contact-info-item h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.contact-info-item p {
  margin: 0;
  color: var(--mist);
  font-size: 15px;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(15,17,21,0.1);
  aspect-ratio: 4/3;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--graphite);
  color: var(--mist);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(236,230,218,0.1);
}

.footer-grid h4 {
  color: var(--sand);
  font-size: 15px;
  margin-bottom: 18px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li { margin-bottom: 10px; }

.footer-grid a {
  color: var(--mist);
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-grid a:hover { color: var(--gold); }

.footer-brand p {
  font-size: 14px;
  max-width: 32ch;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(236,230,218,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.social-links a:hover { border-color: var(--gold); color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a { color: var(--mist); }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Floating WhatsApp ---------- */

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  background: #25D366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover { transform: scale(1.08); }

.whatsapp-float svg { width: 30px; height: 30px; }

/* ---------- Blog ---------- */

.post-meta {
  font-size: 13px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.article-body h2 {
  font-size: 26px;
  margin-top: 1.4em;
}

.article-body h3 {
  font-size: 20px;
  margin-top: 1.2em;
}

.article-body p, .article-body li {
  font-size: 17px;
  color: #2b2d33;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
}

.article-cta {
  background: var(--petroleo);
  color: var(--sand);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  margin-top: 48px;
}

.article-cta h3 { color: var(--sand); }

/* ---------- Utility ---------- */

.center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; }
  .hero-portrait { order: -1; max-width: 340px; margin: 0 auto; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}

@media (max-width: 720px) {
  .main-nav { position: fixed; top: 84px; left: 0; right: 0; bottom: 0; background: var(--graphite); flex-direction: column; padding: 32px 24px; gap: 24px; transform: translateX(100%); transition: transform 0.3s ease; overflow-y: auto; }
  .main-nav.is-open { transform: translateX(0); }
  .menu-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
