:root {
  --black: #0a0a0b;
  --black-soft: #121214;
  --card: #17171a;
  --card-border: #2a2620;
  --gold: #c9a227;
  --gold-light: #e6c655;
  --gold-dim: #8a7126;
  --text: #f2ede0;
  --text-muted: #b3ada0;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--gold-light);
  margin: 0 0 16px;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

p { color: var(--text-muted); margin: 0 0 16px; }

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

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 10px;
}
.eyebrow-light { color: var(--gold-light); }
.center { text-align: center; }
.areas h2.center, .areas p.eyebrow.center { max-width: 640px; margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #1a1408;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  border-color: var(--gold-dim);
  color: var(--gold-light);
}
.btn-ghost:hover { border-color: var(--gold-light); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--card-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.crest-shape, .crest-shape-lg {
  fill: var(--black-soft);
  stroke: var(--gold);
  stroke-width: 3;
}
.crest-letters {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 34px;
  fill: var(--gold-light);
}
.crest-letters-lg {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 34px;
  fill: var(--gold-light);
}
.logo-text {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text small {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.main-nav {
  display: flex;
  gap: 28px;
}
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--gold-light); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.whats-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid var(--card-border);
  padding: 8px 14px;
  border-radius: 4px;
  transition: border-color 0.2s ease;
}
.whats-link:hover { border-color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--gold-light);
}

/* Hero */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--card-border);
}
.hero-bg {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  pointer-events: none;
}
.hero-bg svg { width: 560px; max-width: 60vw; opacity: 0.5; }
.hero-content { position: relative; max-width: 700px; }
.hero-sub { font-size: 1.05rem; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

/* Diferenciais */
.diferenciais { padding: 40px 0; border-bottom: 1px solid var(--card-border); }
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.diferencial-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}
.diferencial-item svg { color: var(--gold); flex-shrink: 0; }

/* Alerta */
.alerta {
  background: var(--black-soft);
  border-bottom: 1px solid var(--card-border);
  padding: 16px 0;
}
.alerta-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.alerta-inner svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.alerta-inner p { margin: 0; }
.alerta-inner strong { color: var(--gold-light); }

/* Areas */
.areas { padding: 88px 0; }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.area-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.area-card:hover { border-color: var(--gold-dim); transform: translateY(-3px); }
.area-card svg { color: var(--gold); margin-bottom: 14px; }
.area-card h3 { color: var(--gold-light); }
.area-card p { font-size: 0.92rem; margin: 0; }

/* Correspondente */
.correspondente {
  background: var(--black-soft);
  padding: 88px 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}
.correspondente-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
.correspondente-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}
.correspondente-list li {
  padding-left: 22px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.correspondente-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 1px;
  transform: rotate(45deg);
}
.correspondente-badge {
  display: flex;
  justify-content: center;
  opacity: 0.9;
}
.correspondente-badge .crest-shape-lg { stroke-width: 2.2; }

/* Sobre */
.sobre { padding: 88px 0; }
.sobre-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 48px;
  align-items: center;
}
.sobre-badge {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

/* Contato */
.contato {
  padding: 88px 0;
  background: var(--black-soft);
  border-top: 1px solid var(--card-border);
}
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contato-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 16px;
}
.contato-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.contato-list li svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contato-list a { color: var(--text); }
.contato-list a:hover { color: var(--gold-light); }
.contato-map {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  min-height: 320px;
}
.contato-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: grayscale(0.3) invert(0.92) contrast(0.9);
}

/* Float WhatsApp */
.whats-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  z-index: 60;
  transition: transform 0.2s ease;
}
.whats-float:hover { transform: scale(1.08); }

/* Footer */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--card-border);
}
.footer-inner { text-align: center; display: grid; gap: 10px; justify-items: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.footer-address, .footer-legal, .footer-credit {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}
.footer-legal { max-width: 480px; }
.footer-credit a { color: var(--gold); }

/* Responsive */
@media (max-width: 900px) {
  .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .correspondente-grid { grid-template-columns: 1fr; }
  .correspondente-badge { order: -1; }
  .contato-grid { grid-template-columns: 1fr; }
  .sobre-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black-soft);
    border-bottom: 1px solid var(--card-border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .whats-link span { display: none; }
  .diferenciais-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
  .hero-bg svg { max-width: 90vw; opacity: 0.25; }
}
