:root {
  --customBlack: #070604;
  --black: #020202;
  --black-2: #090806;
  --black-3: #14110d;

  --gold: #CAA868;
  --gold-light: #F1D77D;
  --gold-dark: #9d7a35;

  --white: #ffffff;
  --muted: #d8cfbd;

  --line: rgba(202, 168, 104, 0.34);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.72);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 50% 0%, rgba(202, 168, 104, 0.06), transparent 34%),
    linear-gradient(180deg, #020202 0%, #070604 45%, #020202 100%);
  color: var(--white);
  overflow-x: hidden;
}

.bg-customBlack {
  background-color: var(--customBlack) !important;
}

/* HEADER */
header {
  background:
    linear-gradient(180deg, rgba(7, 6, 4, 0.98), rgba(2, 2, 2, 0.96)) !important;
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.55);
}

header img {
  filter: drop-shadow(0 0 20px rgba(202, 168, 104, 0.25));
}

header nav a {
  position: relative;
  font-weight: 500;
}

header nav a:not(.bg-gold-500)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.3s ease;
}

header nav a:not(.bg-gold-500):hover::after {
  width: 100%;
}

/* HERO */
section.relative.min-h-screen {
  min-height: calc(100vh - 96px);
}

section.relative.min-h-screen h1 {
  letter-spacing: -0.04em;
  text-shadow: 0 26px 80px rgba(0, 0, 0, 0.85);
}

section.relative.min-h-screen h1 span {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

section.relative.min-h-screen p {
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.75);
}

/* BOTÕES */
.bg-gold-500 {
  background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
}

.hover\:bg-gold-600:hover {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold)) !important;
}

.text-gold-500,
.text-gold-400 {
  color: var(--gold) !important;
}

.border-gold-500,
.border-gold-500\/30,
.border-gold-500\/20,
.border-gold-500\/70,
.border-gold-500\/50 {
  border-color: rgba(202, 168, 104, 0.6) !important;
}

/* BARRA DE PESQUISA */
.law-search {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 999px;
  border: 1px solid rgba(202, 168, 104, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    rgba(9, 8, 6, 0.92);
  box-shadow:
    0 28px 85px rgba(0, 0, 0, 0.82),
    0 0 42px rgba(202, 168, 104, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(18px);
  transition: 0.3s ease;
}

.law-search:focus-within {
  border-color: rgba(241, 215, 125, 0.96);
  transform: translateY(-2px);
  box-shadow:
    0 32px 95px rgba(0, 0, 0, 0.88),
    0 0 0 4px rgba(202, 168, 104, 0.13),
    0 0 52px rgba(202, 168, 104, 0.24);
}

.search-icon {
  flex: 0 0 auto;
  padding-left: 14px;
  font-size: 2rem;
  color: var(--gold-light);
  line-height: 1;
}

.law-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.law-search input::placeholder {
  color: rgba(232, 217, 183, 0.76);
}

.law-search button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 15px 26px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #080705;
  font-weight: 900;
  transition: 0.3s ease;
}

.law-search button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(202, 168, 104, 0.38);
}

.suggestions {
  display: none;
  position: absolute;
  left: 24px;
  right: 24px;
  top: calc(100% + 12px);
  padding: 10px;
  border-radius: 22px;
  background: rgba(9, 8, 6, 0.98);
  border: 1px solid rgba(202, 168, 104, 0.38);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  text-align: left;
  z-index: 999;
}

.suggestions a {
  display: block;
  padding: 13px 16px;
  border-radius: 14px;
  color: #efe4ca;
  font-weight: 600;
  transition: 0.25s ease;
}

.suggestions a:hover {
  background: rgba(202, 168, 104, 0.14);
  color: #fff;
}

/* SEÇÃO ÁREAS DE ATUAÇÃO */
#areas {
  background:
    radial-gradient(circle at 50% 0%, rgba(202, 168, 104, 0.12), transparent 38%),
    linear-gradient(180deg, #020202 0%, #060504 45%, #020202 100%) !important;
  position: relative;
}

#areas::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(202, 168, 104, 0.08), transparent 28%),
    radial-gradient(circle at 85% 55%, rgba(202, 168, 104, 0.07), transparent 30%);
  pointer-events: none;
}

#areas > .relative,
#areas > .container {
  position: relative;
  z-index: 2;
}

/* CARDS DAS ÁREAS - ESTILO DO PRINT */
#areas a.group {
  height: 210px !important;
  border-radius: 24px !important;
  overflow: hidden;
  border: 1px solid rgba(202, 168, 104, 0.42) !important;
  background: #050505 !important;
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(255, 255, 255, 0.025),
    inset 0 0 26px rgba(202, 168, 104, 0.035);
  transition: 0.35s ease !important;
}

#areas a.group:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(241, 215, 125, 0.95) !important;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.86),
    0 0 38px rgba(202, 168, 104, 0.26);
}

#areas a.group .absolute.bg-cover {
  filter: saturate(1.25) contrast(1.12) brightness(0.92);
  transition: transform 0.65s ease, filter 0.45s ease !important;
}

#areas a.group:hover .absolute.bg-cover {
  filter: saturate(1.4) contrast(1.18) brightness(1);
  transform: scale(1.08) !important;
}

#areas a.group > div:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.62)) !important;
}

#areas a.group span {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 19px;
  min-height: 54px;
  padding: 11px 20px !important;
  border-radius: 999px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.95rem !important;
  line-height: 1.25;
  font-weight: 900 !important;
  letter-spacing: -0.01em;
  color: #ffffff !important;
  background:
    linear-gradient(180deg, rgba(18, 31, 62, 0.92), rgba(7, 15, 34, 0.96)) !important;
  border: 1px solid rgba(241, 215, 125, 0.65) !important;
  box-shadow:
    0 13px 32px rgba(0, 0, 0, 0.62),
    inset 0 0 18px rgba(241, 215, 125, 0.08);
  backdrop-filter: blur(14px);
  transition: 0.35s ease !important;
}

#areas a.group:first-of-type span {
  color: #070604 !important;
  background:
    linear-gradient(135deg, #D6AF38, #F6DF7E) !important;
  border-color: rgba(255, 230, 140, 0.9) !important;
}

#areas a.group:hover span {
  color: #070604 !important;
  background:
    linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
  border-color: rgba(255, 230, 140, 0.95) !important;
  box-shadow:
    0 15px 34px rgba(0, 0, 0, 0.65),
    0 0 28px rgba(202, 168, 104, 0.42);
}

/* SOBRE */
#sobre {
  background:
    radial-gradient(circle at 15% 20%, rgba(202, 168, 104, 0.08), transparent 34%),
    linear-gradient(180deg, #050505, #090806) !important;
}

#sobre img {
  min-height: 420px;
  object-fit: cover;
}

#sobre .rounded-xl {
  border-radius: 28px;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.72),
    0 0 38px rgba(202, 168, 104, 0.15);
}

#sobre h2 span {
  border-color: var(--gold) !important;
}

/* CARDS PREMIUM */
.bg-gray-900,
.bg-gray-900\/60 {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.068), rgba(255, 255, 255, 0.025)),
    #080705 !important;
}

.border-gray-800 {
  border-color: rgba(202, 168, 104, 0.18) !important;
}

section.py-24 {
  background:
    radial-gradient(circle at 50% 0%, rgba(202, 168, 104, 0.10), transparent 38%),
    linear-gradient(180deg, #020202, #070604) !important;
}

/* ATUAÇÃO NACIONAL */
#atuacao-nacional {
  background:
    radial-gradient(circle at 75% 30%, rgba(202, 168, 104, 0.09), transparent 36%),
    linear-gradient(180deg, #020202, #090806) !important;
}

#atuacao-nacional .bg-contain {
  min-height: 360px;
  border-radius: 28px;
  background-size: contain;
  filter: drop-shadow(0 20px 45px rgba(202, 168, 104, 0.12));
}

/* EQUIPE */
#equipe {
  background:
    radial-gradient(circle at 20% 0%, rgba(202, 168, 104, 0.09), transparent 35%),
    linear-gradient(180deg, #070604, #020202) !important;
}

#equipe .rounded-2xl {
  box-shadow: var(--shadow);
}

#equipe img {
  object-fit: cover;
}

/* CONTATO */
#contato {
  background:
    radial-gradient(circle at 80% 10%, rgba(202, 168, 104, 0.09), transparent 36%),
    linear-gradient(180deg, #020202, #090806) !important;
}

#contato input,
#contato textarea {
  background: rgba(0, 0, 0, 0.44) !important;
  border-color: rgba(255, 255, 255, 0.13) !important;
}

#contato input:focus,
#contato textarea:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 4px rgba(202, 168, 104, 0.14) !important;
}

#contato iframe {
  width: 100%;
  display: block;
}

/* FOOTER */
footer {
  background:
    linear-gradient(180deg, #070604, #020202) !important;
  border-top: 1px solid rgba(202, 168, 104, 0.3) !important;
}

footer img {
  filter: drop-shadow(0 0 18px rgba(202, 168, 104, 0.2));
}

footer a {
  transition: 0.25s ease;
}

/* WHATSAPP FIXO */
.fixed.right-6.bottom-6 {
  box-shadow:
    0 18px 45px rgba(202, 168, 104, 0.38),
    0 0 0 8px rgba(202, 168, 104, 0.08);
}

/* TEXTOS */
.text-gray-300 {
  color: #ddd5c7 !important;
}

.text-gray-400 {
  color: #c6bcaa !important;
}

.text-gray-500 {
  color: #928a7b !important;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  header img {
    height: 72px !important;
  }

  section.relative.min-h-screen {
    min-height: 820px;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  section.relative.min-h-screen h1 {
    font-size: 3rem !important;
  }

  section.relative.min-h-screen p {
    font-size: 1.05rem !important;
  }

  .law-search {
    border-radius: 28px;
    flex-wrap: wrap;
    padding: 14px;
  }

  .search-icon {
    padding-left: 8px;
  }

  .law-search input {
    flex-basis: calc(100% - 55px);
    padding: 12px 0;
  }

  .law-search button {
    width: 100%;
  }

  .suggestions {
    left: 12px;
    right: 12px;
  }

  #areas a.group {
    height: 195px !important;
  }

  #areas a.group span {
    left: 20px;
    right: 20px;
    bottom: 16px;
    font-size: 0.9rem !important;
  }

  #sobre img {
    min-height: 320px;
  }
}

@media (max-width: 480px) {
  section.relative.min-h-screen h1 {
    font-size: 2.55rem !important;
  }

  .law-search input::placeholder {
    font-size: 0.9rem;
  }

  #areas a.group {
    height: 185px !important;
  }
}

/* CTA FINAL PREMIUM */

.cta-final {
  position: relative;
  padding: 120px 20px;
  background: url("imagens/direitoadmpricipal.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(0,0,0,0.85), rgba(0,0,0,0.92)),
    radial-gradient(circle at center, rgba(202,168,104,0.15), transparent 40%);
  backdrop-filter: blur(3px);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

/* Kicker (texto pequeno em cima) */
.cta-kicker {
  display: inline-block;
  color: var(--gold-light);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Título */
.cta-title {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 25px;
  color: #fff;
  text-shadow: 0 15px 40px rgba(0,0,0,0.8);
}

/* Subtexto */
.cta-subtitle {
  font-size: 18px;
  color: #d8cfbd;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Botão */
.cta-button {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;

  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #070604;

  transition: 0.3s ease;
  box-shadow: 0 20px 40px rgba(202,168,104,0.25);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 60px rgba(202,168,104,0.4);
}