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

:root {
  --black:   #0D0D0D;
  --black2:  #111111;
  --card-bg: #161616;
  --gold:    #D4AF37;
  --gold-lt: #E8C84A;
  --gold-dk: #A8881C;
  --light:   #F5F5F5;
  --muted:   #9A9A9A;
  --border:  rgba(212,175,55,0.2);
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--light);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* ─── CUSTOM CURSOR ──────────────────────────── */
#cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}
#cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 36px; height: 36px;
  border: 1px solid rgba(212,175,55,0.6);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}
a, button, .team-card, .area-card { cursor: none; }

/* ─── SCROLL PROGRESS ────────────────────────── */
#progress-bar {
  position: fixed; top: 0; left: 0; z-index: 9997;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--gold-dk), var(--gold), var(--gold-lt));
  transition: width 0.05s linear;
}

/* ─── NAVBAR ─────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 5vw;
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s;
}
nav.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none;
}
/* ─── BRAND LOGO COMPONENT ───────────────────── */
/* ─── LOGO (310×139px, fundo transparente)
   invert(1) → elementos pretos viram brancos na página escura ── */
.brand-logo {
  display: block;
  filter: invert(1);
  height: auto;
  width: auto;
}
.brand-logo.sz-nav    { height: 40px; }
.brand-logo.sz-hero   { height: 110px; opacity: 0; margin: 0 auto 0.5rem; }
.brand-logo.sz-sobre  { height: 64px; }
.brand-logo.sz-footer { height: 36px; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.78rem; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  position: relative; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.35s ease;
}
.nav-links a:hover { color: var(--light); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  border: 1px solid var(--border);
  padding: 0.55rem 1.4rem;
  transition: background 0.3s, color 0.3s;
}
.nav-cta:hover { background: var(--gold); color: var(--black); }

/* ─── HERO ───────────────────────────────────── */
#hero {
  position: relative; overflow: hidden;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, #1a1500 0%, var(--black) 70%);
}
.hero-noise {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}
.hero-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212,175,55,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 900px; padding: 0 2rem;
}
.hero-eyebrow {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 2rem;
  opacity: 0;
}
.hero-logo-img { display: none; }
.hero-title { display: none; }
.hero-divider {
  width: 60px; height: 1px; background: var(--gold);
  margin: 2rem auto; opacity: 0;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300; color: var(--muted);
  letter-spacing: 0.04em; line-height: 1.8;
  max-width: 560px; margin: 0 auto 2.5rem;
  opacity: 0;
}
.hero-btn {
  display: inline-block;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--black); text-decoration: none;
  background: var(--gold);
  padding: 1rem 2.8rem;
  position: relative; overflow: hidden;
  transition: color 0.3s;
  opacity: 0;
}
.hero-btn::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gold-lt);
  transform: translateX(-101%);
  transition: transform 0.4s ease;
}
.hero-btn:hover::before { transform: translateX(0); }
.hero-btn span { position: relative; z-index: 1; }
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  opacity: 0;
}
.hero-scroll span {
  font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); }
}

/* ─── SECTION COMMONS ────────────────────────── */
section { padding: 7rem 5vw; }
.section-header { text-align: center; margin-bottom: 5rem; }
.section-label {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 1rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300; line-height: 1.15;
  color: var(--light);
}
.section-title em { font-style: italic; color: var(--gold); }
.gold-line {
  width: 50px; height: 1px; background: var(--gold);
  margin: 1.5rem auto 0;
}

/* ─── AREAS ──────────────────────────────────── */
#areas { background: var(--black2); }
.areas-tabs-nav {
  display: flex; max-width: 1200px; margin: 0 auto;
}
.areas-tab-btn {
  flex: 1; padding: 1.6rem 2rem;
  background: transparent; border: 1px solid var(--border);
  color: var(--muted); cursor: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 300;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
  text-align: left;
}
.areas-tab-btn + .areas-tab-btn { border-left: none; }
.areas-tab-btn:hover { color: var(--light); }
.areas-tab-btn.active {
  color: var(--light);
  border-color: var(--gold);
  background: rgba(212,175,55,0.03);
}
.areas-tab-btn svg {
  width: 18px; height: 18px; flex-shrink: 0;
  transition: transform 0.35s ease;
}
.areas-tab-btn.active svg { transform: rotate(180deg); }
.areas-tab-panel {
  display: none; max-width: 1200px; margin: 0 auto; padding-top: 2.5rem;
}
.areas-tab-panel.active { display: block; }
.areas-segment-intro {
  font-size: 0.9rem; line-height: 1.85; color: var(--muted);
  margin-bottom: 2.5rem; max-width: 700px;
}
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5px;
  max-width: 1200px; margin: 0 auto;
}
.area-card {
  background: var(--card-bg);
  padding: 2.8rem 2.2rem;
  position: relative; overflow: hidden;
  transition: background 0.35s;
  transform-style: preserve-3d;
}
.area-card::before {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform 0.4s ease;
}
.area-card:hover::before { transform: scaleX(1); }
.area-card:hover { background: #1c1c1c; }

/* Card que vira link pra LP (ex: Trabalhista → /trabalhista) */
.area-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.area-card-link:hover { border-color: rgba(212,175,55,0.55); }
.area-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.3s, color 0.3s;
}
.area-card-cta svg { width: 16px; height: 16px; }
.area-card-link:hover .area-card-cta {
  gap: 1rem;
  color: var(--gold-lt);
}
.area-icon {
  width: 44px; height: 44px; margin-bottom: 1.6rem;
  color: var(--gold);
}
.area-icon svg { width: 100%; height: 100%; }
.area-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 500;
  color: var(--light); margin-bottom: 0.8rem;
}
.area-desc {
  font-size: 0.87rem; line-height: 1.75;
  color: var(--muted);
}
.area-card .card-number {
  position: absolute; top: 1.5rem; right: 2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem; font-weight: 300;
  color: rgba(212,175,55,0.07);
  line-height: 1; user-select: none;
}

/* ─── SOBRE ──────────────────────────────────── */
#sobre { background: var(--black); }
.sobre-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem;
  align-items: center;
}
.sobre-text .section-header { text-align: left; margin-bottom: 2rem; }
.sobre-text .gold-line { margin: 1.5rem 0 0; }
.sobre-body {
  font-size: 0.95rem; line-height: 1.9; color: var(--muted);
  margin-top: 1.8rem;
}
.sobre-body p + p { margin-top: 1rem; }
.stats {
  display: flex; gap: 3rem; margin-top: 3rem;
  align-items: flex-end;
}
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 300;
  color: var(--gold); line-height: 1;
}
.stat-label {
  font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  margin-top: 0.3rem;
}
.sobre-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.sobre-video-wrap {
  width: 100%; max-width: 420px;
  border: 1px solid var(--border);
  position: relative;
}
.sobre-video-wrap::before {
  content: ''; position: absolute;
  top: 12px; left: 12px; right: -12px; bottom: -12px;
  border: 1px solid rgba(212,175,55,0.1);
  pointer-events: none;
}
.sobre-video {
  width: 100%; display: block;
  background: #000;
}

/* ─── EQUIPE ─────────────────────────────────── */
#equipe { background: var(--black2); }
.team-grid,
.team-bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem; align-items: stretch;
  max-width: 1100px; margin: 0 auto;
}
.team-bottom { margin-top: 2rem; }
.team-grid .team-card,
.team-bottom .team-card { width: auto; max-width: none; height: 100%; }

.team-card {
  background: var(--card-bg);
  padding: 3rem 2rem 2.5rem;
  text-align: center;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.3s;
}
.team-card:hover {
  border-color: rgba(212,175,55,0.5);
  box-shadow: 0 20px 60px rgba(212,175,55,0.08);
  transform: translateY(-6px);
}
.team-avatar {
  width: 110px; height: 110px;
  border-radius: 50%; margin: 0 auto 1.8rem;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 500; color: var(--gold);
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1a1500, #2d2500);
}
.team-avatar img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  border-radius: 50%;
}
/* Ajustes finos por foto (zoom e enquadramento horizontal/vertical) */
.team-avatar img[src*="lutero"],
.team-avatar img[src*="paulo"] {
  position: absolute;
  top: 50%; left: 50%;
}
.team-avatar img[src*="lutero"] {
  width: 118%; height: 118%;
  transform: translate(-54%, -50%);
}
.team-avatar img[src*="paulo"] {
  width: 102%; height: 102%;
  transform: translate(-54%, -50%);
}
.team-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem; font-weight: 500;
  color: var(--light); margin-bottom: 0.3rem;
}
.team-role {
  font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.4rem;
}
.team-specialty {
  font-size: 0.78rem; color: var(--muted);
  margin-bottom: 1.4rem; font-style: italic;
}
.team-bio {
  font-size: 0.86rem; line-height: 1.8;
  color: var(--muted);
}
.team-divider {
  width: 30px; height: 1px; background: var(--border);
  margin: 1.4rem auto;
}

/* ─── CONTATO ────────────────────────────────── */
#contato { background: #0a0a0a; }
.contato-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 6rem;
  align-items: start;
}
.contato-info .section-header { text-align: left; margin-bottom: 2.5rem; }
.contato-info .gold-line { margin: 1.5rem 0 0; }
.contato-item {
  display: flex; gap: 1.2rem; align-items: flex-start;
  margin-bottom: 2rem;
}
.contato-item-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.contato-item-icon svg { width: 18px; height: 18px; }
a.contato-item-icon,
.contato-item-icon.is-interactive {
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease,
              background 0.3s ease, box-shadow 0.3s ease;
}
a.contato-item-icon:hover,
.contato-item-icon.is-interactive:hover {
  transform: scale(1.15);
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.10);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}
.contato-item-icons {
  display: flex; flex-direction: column;
  gap: 0.4rem; flex-shrink: 0;
}
.contato-item-icons .contato-item-icon { width: 32px; height: 32px; }
.contato-item-icons .contato-item-icon svg { width: 14px; height: 14px; }
.contato-item-label {
  font-size: 0.72rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.3rem;
}
.contato-item-value {
  font-size: 0.9rem; color: var(--muted); line-height: 1.7;
}
.contato-item-value a {
  color: var(--muted); text-decoration: none;
  transition: color 0.3s;
}
.contato-item-value a:hover { color: var(--gold); }

.contato-map {
  display: block;
  margin-top: 2.5rem;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.3s;
  position: relative;
}
.contato-map:hover {
  border-color: rgba(212,175,55,0.5);
  box-shadow: 0 0 30px rgba(212,175,55,0.15);
  transform: translateY(-2px);
}
.contato-map iframe {
  display: block; width: 100%; height: 260px; border: 0;
  filter: grayscale(0.3) contrast(1.05);
  pointer-events: none;
}
.contato-map-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.95) 55%, rgba(0,0,0,0) 100%);
  color: var(--gold); font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; text-align: center;
  padding: 2.2rem 1rem 1.1rem;
  pointer-events: none;
}

form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-size: 0.72rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--light);
  padding: 0.9rem 1.1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem; font-weight: 300;
  outline: none;
  transition: border-color 0.3s;
  resize: none;
  -webkit-appearance: none;
}
.form-group select option { background: var(--card-bg); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group input[type="checkbox"] {
  -webkit-appearance: auto;
  -moz-appearance: auto;
  appearance: auto;
  accent-color: var(--gold);
  background: transparent;
  border: none;
  padding: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #555; }
.btn-submit {
  align-self: flex-start;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  border: none; padding: 1rem 2.8rem;
  position: relative; overflow: hidden;
  transition: color 0.3s;
  cursor: none;
}
.btn-submit::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gold-lt);
  transform: translateX(-101%);
  transition: transform 0.4s ease;
}
.btn-submit:hover::before { transform: translateX(0); }
.btn-submit span { position: relative; z-index: 1; }

/* ─── FOOTER ─────────────────────────────────── */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 3.5rem 5vw;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 2rem;
}
.footer-logo { display: flex; }
.footer-copy { font-size: 0.78rem; color: var(--muted); }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a {
  font-size: 0.78rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  text-decoration: none; transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1024px) {
  .team-grid,
  .team-bottom { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  nav { padding: 1rem 4vw; }
  .nav-links, .nav-cta { display: none; }
  .sobre-inner, .contato-inner { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .team-grid,
  .team-bottom { grid-template-columns: repeat(2, 1fr); }
  .areas-tabs-nav { flex-direction: column; }
  .areas-tab-btn + .areas-tab-btn { border-left: 1px solid var(--border); border-top: none; }
}
@media (max-width: 600px) {
  section { padding: 5rem 5vw; }
  .stats { gap: 2rem; }
  #cursor-dot, #cursor-ring { display: none; }
  body { cursor: auto; }
  a, button, .team-card, .area-card { cursor: auto; }
}
