/* ===== TOKENS ===== */
:root {
  --bg:        #07090f;
  --bg2:       #0d1120;
  --bg3:       #111827;
  --navy:      #1a2744;
  --gold:      #b8975a;
  --gold-lt:   #cdb07d;
  --gold-dim:  rgba(184,151,90,0.15);
  --white:     #ffffff;
  --off-white: #f4f1ec;
  --gray:      #6b7280;
  --gray-lt:   #9ca3af;
  --text-muted:rgba(255,255,255,0.55);
  --border:    rgba(184,151,90,0.18);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;
  --radius: 4px;
  --shadow: 0 8px 40px rgba(0,0,0,0.4);
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--sans); background: var(--bg); color: var(--white); line-height: 1.7; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; }
h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; font-family: var(--sans); }
em { font-style: italic; color: var(--gold); }
p { color: var(--gray-lt); font-size: 0.95rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.gold-eyebrow { color: var(--gold); }
.light-eyebrow { color: rgba(255,255,255,0.5); }

.sec-line {
  width: 48px; height: 2px;
  background: var(--gold);
  margin: 20px 0 32px;
}
.centered-line { margin: 20px auto 40px; }

.sec-header { margin-bottom: 56px; }
.sec-header.centered { text-align: center; }
.sec-header h2 { margin-bottom: 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.25s ease;
}
.btn-gold {
  background: var(--gold);
  color: #0d1120;
}
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(184,151,90,0.3); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-full { width: 100%; justify-content: center; }
.mt-btn { margin-top: 32px; }

/* ===== NAVBAR ===== */
#header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0;
  background: rgba(7,9,15,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}
#header.solid {
  background: rgba(7,9,15,0.97);
  box-shadow: 0 1px 0 var(--border);
  backdrop-filter: blur(10px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  color: var(--gold) !important;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all 0.25s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
}
.hero-left {
  display: flex;
  align-items: center;
  padding: 140px 0 80px 80px;
  position: relative;
}
.hero-left::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border) 30%, var(--border) 70%, transparent);
}
.hero-left-inner { max-width: 520px; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero-desc {
  color: var(--gray-lt);
  max-width: 440px;
  margin-bottom: 36px;
  font-size: 0.97rem;
  line-height: 1.75;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 40px 0;
}
.hero-stats { display: flex; gap: 40px; }
.hstat { display: flex; flex-direction: column; }
.hstat-n {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hstat-l {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero Right */
.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--bg2);
}
.hero-bg-text {
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-family: var(--serif);
  font-size: 10rem;
  font-weight: 700;
  color: rgba(184,151,90,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.hero-img-frame {
  position: absolute;
  inset: 76px 0 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-img-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--bg2);
}
.placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.6;
}
.placeholder-inner strong { color: var(--gold); }
.hero-img-badge {
  position: absolute;
  bottom: 40px;
  left: -24px;
  background: var(--gold);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 10;
}
.badge-icon { font-size: 1.6rem; }
.hero-img-badge strong { display: block; font-size: 0.82rem; font-weight: 700; }
.hero-img-badge span { font-size: 0.72rem; opacity: 0.75; }

/* ===== SOBRE ===== */
.about-section {
  background: var(--off-white);
  padding: 120px 0;
}
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 100px;
  align-items: center;
}
.about-media { position: relative; }
.about-pattern {
  position: absolute;
  top: -24px;
  left: -24px;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(circle, var(--gold) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.18;
  z-index: 0;
}
.about-img-box {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  overflow: visible;
}
.about-img-box img {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  display: block;
  box-shadow: var(--shadow);
}
.about-img-box.no-img {
  min-height: 480px;
  background: linear-gradient(135deg, #1a2744, #0d1120);
  border: 2px dashed rgba(184,151,90,0.3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 0.85rem;
}
.about-exp-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.exp-num {
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.exp-txt {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-lt);
  margin-top: 4px;
}

.about-body { color: var(--bg); }
.about-body .eyebrow { color: var(--gold); }
.about-body h2 { color: var(--navy); margin-bottom: 0; }
.about-body .sec-line { background: var(--gold); }
.about-body p { color: #4b5563; margin-bottom: 14px; }
.about-body strong { color: var(--navy); }
.cred-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.cred-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.88rem; color: #374151; }
.cred-icon { color: var(--gold); font-size: 0.7rem; margin-top: 5px; flex-shrink: 0; }

/* ===== SERVIÇOS ===== */
.services-section {
  position: relative;
  background: var(--bg2);
  padding: 120px 0;
  overflow: hidden;
}
.services-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184,151,90,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,151,90,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
}
.srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.srv-card {
  background: var(--bg2);
  padding: 40px 32px 36px;
  position: relative;
  transition: background 0.3s;
  cursor: default;
}
.srv-card:hover { background: var(--bg3); }
.srv-num {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(184,151,90,0.08);
  line-height: 1;
  position: absolute;
  top: 20px;
  right: 24px;
  transition: color 0.3s;
}
.srv-card:hover .srv-num { color: rgba(184,151,90,0.15); }
.srv-ico { margin-bottom: 20px; }
.srv-card h3 { color: var(--white); margin-bottom: 12px; font-size: 1.1rem; }
.srv-card p { font-size: 0.87rem; line-height: 1.75; color: var(--text-muted); }
.srv-arrow {
  margin-top: 20px;
  color: var(--gold);
  font-size: 1.2rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.25s;
}
.srv-card:hover .srv-arrow { opacity: 1; transform: none; }

/* ===== ATUAÇÃO ===== */
.cases-section {
  background: var(--off-white);
  padding: 120px 0;
}
.cases-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 60px;
}
.cases-header h2 { color: var(--navy); }
.cases-header .eyebrow { color: var(--gold); }
.cases-header .sec-line { background: var(--gold); }
.cases-intro { color: #4b5563; font-size: 1rem; max-width: 400px; margin-top: 8px; align-self: center; }
.cases-list { display: flex; flex-direction: column; gap: 0; border: 1px solid #e5e7eb; border-radius: var(--radius); overflow: hidden; }
.case-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 28px 32px;
  background: var(--white);
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.25s;
}
.case-row:last-child { border-bottom: none; }
.case-row:hover { background: var(--navy); }
.case-row:hover .case-n { color: var(--gold); }
.case-row:hover h4 { color: var(--white); }
.case-row:hover p { color: rgba(255,255,255,0.6); }
.case-row:hover .case-tag { border-color: rgba(184,151,90,0.4); color: var(--gold); }
.case-n {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: #e5e7eb;
  line-height: 1;
  transition: color 0.25s;
}
.case-body h4 { color: #111827; transition: color 0.25s; margin-bottom: 4px; }
.case-body p { font-size: 0.85rem; transition: color 0.25s; }
.case-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  border: 1px solid #e5e7eb;
  padding: 4px 12px;
  border-radius: 2px;
  white-space: nowrap;
  transition: all 0.25s;
}

/* ===== CONTATO ===== */
.contact-section {
  background: var(--bg);
  padding: 120px 0;
  border-top: 1px solid var(--border);
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-left h2 { color: var(--white); }
.contact-left p { margin-bottom: 40px; }
.cinfo-list { display: flex; flex-direction: column; gap: 24px; }
.cinfo-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: opacity 0.2s;
}
.cinfo-item:hover { opacity: 0.8; }
.cinfo-ico {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cinfo-item strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}
.cinfo-item span { font-size: 0.9rem; color: rgba(255,255,255,0.75); }

/* Form */
.cform {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
}
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cform-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.req { color: var(--gold); }
input, select, textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.9rem;
  padding: 12px 16px;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  width: 100%;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.2); }
input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  background: rgba(184,151,90,0.05);
}
select option { background: var(--bg2); }
textarea { resize: vertical; min-height: 120px; }
.form-privacy { font-size: 0.75rem; color: rgba(255,255,255,0.3); text-align: center; margin-top: 12px; }
.form-ok {
  display: none;
  background: rgba(184,151,90,0.12);
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: var(--radius);
  padding: 14px 20px;
  text-align: center;
  margin-top: 16px;
  font-size: 0.88rem;
}
.form-ok.show { display: block; }

/* ===== FOOTER ===== */
.site-footer {
  background: #040508;
  border-top: 1px solid rgba(184,151,90,0.12);
  padding: 48px 0 32px;
}
.footer-wrap { display: flex; flex-direction: column; gap: 32px; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.3); margin-top: 10px; }
.footer-links { display: flex; gap: 32px; align-items: center; }
.footer-links a { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-bottom span { font-size: 0.78rem; color: rgba(255,255,255,0.25); }

/* ===== ANIMAÇÕES ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-left.visible { opacity: 1; transform: none; }

/* ===== RESPONSIVO ===== */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 120px 32px 60px; }
  .hero-left::after { display: none; }
  .hero-right { display: none; }
  .hero-img-badge { left: 16px; bottom: 24px; }
  .about-wrap { grid-template-columns: 1fr; gap: 56px; }
  .about-img-box img { max-height: 420px; }
  .srv-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-header { grid-template-columns: 1fr; gap: 16px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 48px; }
  .cform { padding: 32px 24px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; background: rgba(7,9,15,0.98); flex-direction: column; padding: 24px 20px; gap: 20px; border-top: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero-left { padding: 100px 20px 48px; }
  .srv-grid { grid-template-columns: 1fr; }
  .case-row { grid-template-columns: 40px 1fr; gap: 16px; padding: 20px; }
  .case-tag { display: none; }
  .hero-btns { flex-direction: column; }
  .cform-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 20px; }
  .about-wrap { gap: 72px; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }
  .hero-stats { flex-direction: column; gap: 20px; }
}
