/* ══════════════════════════════════════════════
   style.css — Ollitta e Rodrigues Advocacia
   ══════════════════════════════════════════════ */

/* ─── VARIÁVEIS ─── */
:root {
  --vinho:       #6B3A1A;
  --vinho-dark:  #1C0B00;
  --vinho-light: #8B5A2A;
  --vinho-glow:  #B07840;
  --preto:       #231808;
  --preto-suave: #352311;
  --cinza-escuro:#1A1208;
  --ouro:        #C9A84C;
  --ouro-light:  #E0C070;
  --branco:      #F5F0EB;
  --branco-off:  #EDE8E3;
  --texto-suave: #B8A898;
}

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

/* ════════════════════════
   HERO PHOTO (direito)
════════════════════════ */
.hero-photo-wrap {
  position: absolute;
  right: 0;
  top: 0;
  width: 52%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(30%) brightness(0.52) saturate(0.65);
  transform: scale(1.04);
  transition: transform 9s ease, filter 1.2s ease;
  display: block;
}
#hero:hover .hero-photo {
  transform: scale(1.09);
  filter: grayscale(10%) brightness(0.62) saturate(0.9);
}

/* Véu que funde a foto com o fundo escuro */
.hero-photo-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  var(--preto) 0%, rgba(10,8,5,0.55) 38%, transparent 100%),
    linear-gradient(to bottom, rgba(10,8,5,0.2) 0%, transparent 40%, rgba(10,8,5,0.55) 100%),
    linear-gradient(135deg, rgba(107,58,26,0.2) 0%, transparent 65%);
}

@media (max-width: 900px) {
  .hero-photo-wrap {
    width: 100%;
    opacity: 0.35;
  }
  .hero-photo-veil {
    background:
      linear-gradient(to right, var(--preto) 0%, rgba(10,8,5,0.8) 60%, rgba(10,8,5,0.6) 100%),
      linear-gradient(to bottom, rgba(10,8,5,0.3) 0%, transparent 40%, rgba(10,8,5,0.7) 100%);
  }
}
html { scroll-behavior: smooth; }

body {
  font-family: 'Cormorant Garamond', serif;
  background: var(--preto);
  color: var(--branco);
  overflow-x: hidden;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--preto); }
::-webkit-scrollbar-thumb { background: var(--vinho); border-radius: 2px; }

/* ─── TIPOGRAFIA GERAL ─── */
h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--branco);
}
h2 em { font-style: italic; color: var(--vinho-glow); }

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ouro);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--ouro);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}
.section-header .section-label { justify-content: center; }
.section-header .section-label::before { display: none; }

/* ─── REVEAL ON SCROLL ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible           { opacity: 1; transform: translateY(0); }
.reveal-delay-1           { transition-delay: 0.12s; }
.reveal-delay-2           { transition-delay: 0.24s; }
.reveal-delay-3           { transition-delay: 0.36s; }

/* ════════════════════════
   NAVBAR
════════════════════════ */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 22px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(10,8,5,0.95), transparent);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(107,58,26,0.2);
  transition: background 0.4s, border-color 0.4s, transform 0.35s ease;
}
nav.scrolled {
  background: rgba(10,8,5,0.97);
  border-bottom-color: rgba(107,58,26,0.5);
}
nav.nav-hidden {
  transform: translateY(-100%);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: var(--ouro);
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--texto-suave);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ouro);
  transition: width 0.3s;
}
.nav-links a:hover           { color: var(--ouro); }
.nav-links a:hover::after    { width: 100%; }

.nav-hamburguer {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburguer span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ouro);
  transition: transform 0.3s, opacity 0.3s;
}

/* ════════════════════════
   HERO
════════════════════════ */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 70% 50%, rgba(107,58,26,0.18) 0%, transparent 60%),
    linear-gradient(135deg, #0A0805 0%, #120D08 50%, #0D0900 100%);
}

.grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
}

.hero-line {
  position: absolute;
  left: 55px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--ouro) 30%, var(--ouro) 70%, transparent);
  opacity: 0.25;
}

.justice-bg {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: 52%;
  opacity: 0.04;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 120px;
  max-width: 720px;
  animation: fadeUp 1.2s ease both;
}

.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ouro);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--ouro);
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.4rem, 6vw, 5.8rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 14px;
  color: var(--branco);
}
h1 em {
  font-style: italic;
  color: var(--vinho-glow);
  display: block;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--texto-suave);
  letter-spacing: 0.05em;
  margin-bottom: 44px;
  font-style: italic;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--vinho);
  color: var(--branco-off);
  text-decoration: none;
  padding: 16px 38px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border: 1px solid var(--vinho-light);
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}
.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ouro);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 0;
}
.hero-cta:hover::before { transform: scaleX(1); }
.hero-cta:hover          { color: var(--preto); border-color: var(--ouro); }
.hero-cta span           { position: relative; z-index: 1; }
.hero-cta svg            { position: relative; z-index: 1; transition: transform 0.3s; }
.hero-cta:hover svg      { transform: translateX(6px); }

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--texto-suave);
  opacity: 0.45;
  animation: pulse 2.5s ease-in-out infinite;
  z-index: 3;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--ouro), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}

/* ════════════════════════
   SOBRE
════════════════════════ */
#sobre {
  padding: 130px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  background: var(--preto-suave);
  border-top: 1px solid rgba(107,58,26,0.25);
  border-bottom: 1px solid rgba(107,58,26,0.25);
}

.sobre-img-wrapper { position: relative; }

.sobre-img-frame {
  position: relative;
  width: 100%;
  padding-bottom: 125%;
  overflow: hidden;
}
.sobre-img-frame::before {
  content: '';
  position: absolute;
  inset: -8px -8px auto auto;
  width: 60%;
  height: 60%;
  border-top: 2px solid var(--ouro);
  border-right: 2px solid var(--ouro);
  z-index: 2;
  opacity: 0.5;
}
.sobre-img-frame::after {
  content: '';
  position: absolute;
  inset: auto auto -8px -8px;
  width: 60%;
  height: 60%;
  border-bottom: 2px solid var(--vinho);
  border-left: 2px solid var(--vinho);
  z-index: 2;
}
.sobre-img-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.05);
  transition: filter 0.5s;
}
.sobre-img-frame:hover img { filter: grayscale(0%) contrast(1.05); }

.sobre-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: var(--vinho);
  border: 1px solid var(--vinho-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
  gap: 2px;
}
.sobre-badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--ouro);
  line-height: 1;
}
.sobre-badge-txt {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--branco-off);
  text-align: center;
}

.sobre-texto {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--texto-suave);
  margin-bottom: 18px;
  font-weight: 300;
}

.sobre-assinatura {
  margin-top: 36px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--ouro);
  opacity: 0.65;
}

.sobre-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.sobre-specs span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ouro);
  border: 1px solid rgba(201,168,76,0.35);
  padding: 6px 16px;
}

.sobre-quote {
  border-left: 2px solid var(--ouro);
  margin: 28px 0;
  padding: 14px 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 300;
  color: var(--branco-off);
  line-height: 1.7;
  opacity: 0.85;
  background: rgba(201,168,76,0.04);
}

/* ════════════════════════
   ÁREAS DE ATUAÇÃO
════════════════════════ */
#atuacao {
  padding: 120px 80px;
  background: var(--vinho-dark);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  background: rgba(201,168,76,0.08);
}

/* Cada card tem imagem de fundo via CSS variable --card-img */
.area-card {
  position: relative;
  min-height: 520px;
  display: flex;
  overflow: hidden;
  cursor: default;
}

/* Camada da imagem */
.area-card-bg {
  position: absolute;
  inset: 0;
  background-image: var(--card-img);
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 0.7s ease, filter 0.7s ease;
  filter: brightness(0.22) saturate(0.6);
}
.area-card:hover .area-card-bg {
  transform: scale(1.12);
  filter: brightness(0.32) saturate(0.8);
}

/* Overlay gradiente vinho */
.area-card-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(61,26,8,0.92) 0%, rgba(61,26,8,0.4) 50%, transparent 100%);
  transition: opacity 0.5s;
}
.area-card:hover .area-card-overlay {
  background: linear-gradient(to top, rgba(61,26,8,0.97) 0%, rgba(61,26,8,0.55) 60%, transparent 100%);
}

/* Borda esquerda animada */
.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--ouro);
  transition: height 0.6s ease;
  z-index: 3;
}
.area-card:hover::before { height: 100%; }

/* Conteúdo textual */
.area-card-content {
  position: relative;
  z-index: 2;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  transform: translateY(16px);
  transition: transform 0.5s ease;
}
.area-card:hover .area-card-content { transform: translateY(0); }

.area-num {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  font-weight: 900;
  color: var(--vinho);
  line-height: 1;
  opacity: 0.35;
  position: absolute;
  top: 20px;
  right: 24px;
  transition: opacity 0.4s, color 0.4s;
}
.area-card:hover .area-num { opacity: 0.6; color: var(--ouro); }

.area-icon {
  width: 48px;
  height: 48px;
  color: var(--ouro);
  margin-bottom: 20px;
  opacity: 0.85;
  flex-shrink: 0;
}

.area-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--branco);
  margin-bottom: 14px;
}

.area-desc {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--texto-suave);
  font-weight: 300;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease;
}
.area-desc strong {
  display: block;
  margin-top: 14px;
}
.area-desc strong:first-child {
  margin-top: 0;
}
.area-card:hover .area-desc {
  max-height: 1200px;
  opacity: 1;
}

/* ════════════════════════
   DIFERENCIAIS
════════════════════════ */
#diferenciais {
  background: var(--preto-suave);
  padding: 100px 80px;
  position: relative;
  overflow: hidden;
}

/* linha decorativa superior */
#diferenciais::before {
  content: '';
  position: absolute;
  top: 0; left: 80px; right: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ouro), transparent);
  opacity: 0.3;
}

/* linha decorativa inferior */
#diferenciais::after {
  content: '';
  position: absolute;
  bottom: 0; left: 80px; right: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ouro), transparent);
  opacity: 0.15;
}

.dif-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  max-width: 1400px;
  margin: 0 auto;
}

.dif-card {
  padding: 52px 36px 48px;
  border: 1px solid rgba(201,168,76,0.12);
  background: rgba(10,8,5,0.4);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  transition: background 0.4s, border-color 0.4s;
  overflow: hidden;
}

/* Brilho de canto no hover */
.dif-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--vinho), var(--ouro));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}
.dif-card:hover::before { transform: scaleX(1); }
.dif-card:hover {
  background: rgba(28,11,0,0.75);
  border-color: rgba(201,168,76,0.3);
}

.dif-icon-wrap {
  width: 52px;
  height: 52px;
  color: var(--ouro);
  margin-bottom: 28px;
  opacity: 0.8;
  transition: opacity 0.3s, transform 0.4s;
}
.dif-icon-wrap svg { width: 100%; height: 100%; }
.dif-card:hover .dif-icon-wrap {
  opacity: 1;
  transform: translateY(-4px);
}

.dif-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--branco);
  margin-bottom: 16px;
  line-height: 1.3;
}
.dif-title em {
  font-style: italic;
  color: var(--vinho-glow);
}

.dif-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--texto-suave);
  font-weight: 300;
}

/* Número de fundo decorativo */
.dif-card:nth-child(1)::after { content: '01'; }
.dif-card:nth-child(2)::after { content: '02'; }
.dif-card:nth-child(3)::after { content: '03'; }
.dif-card:nth-child(4)::after { content: '04'; }
.dif-card::after {
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--vinho);
  opacity: 0.1;
  line-height: 1;
  transition: opacity 0.4s, color 0.4s;
  pointer-events: none;
}
.dif-card:hover::after {
  opacity: 0.18;
  color: var(--ouro);
}

/* Responsivo */
@media (max-width: 1024px) {
  #diferenciais { padding: 90px 50px; }
  .dif-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  #diferenciais { padding: 72px 32px; }
  #diferenciais::before,
  #diferenciais::after { left: 32px; right: 32px; }
  .dif-inner { grid-template-columns: 1fr 1fr; gap: 1px; }
  .dif-card { padding: 36px 24px 32px; }
}

@media (max-width: 560px) {
  .dif-inner { grid-template-columns: 1fr; }
}

/* ════════════════════════
   CONTATO
════════════════════════ */
#contato {
  padding: 120px 80px;
  background: var(--vinho-dark);
  position: relative;
  overflow: hidden;
}

.contato-bg-text {
  display: none;
}

.contato-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.contato-desc {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--texto-suave);
  margin-bottom: 48px;
  font-weight: 300;
}

.contact-links { display: flex; flex-direction: column; gap: 14px; }

.contact-link {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  padding: 18px 22px;
  border: 1px solid rgba(201,168,76,0.15);
  background: rgba(28,11,0,0.55);
  transition: all 0.35s;
}
.contact-link:hover {
  border-color: var(--ouro);
  background: rgba(201,168,76,0.06);
  transform: translateX(8px);
}

.contact-link-icon {
  width: 44px;
  height: 44px;
  background: var(--vinho);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ouro);
  transition: background 0.3s, color 0.3s;
}
.contact-link:hover .contact-link-icon { background: var(--ouro); color: var(--preto); }

.contact-link-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--texto-suave);
  display: block;
  margin-bottom: 3px;
}
.contact-link-value {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--branco);
  font-weight: 300;
}

.contato-cards { display: flex; flex-direction: column; gap: 24px; }

.oab-card {
  background: rgba(28,11,0,0.7);
  border: 1px solid rgba(201,168,76,0.15);
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.oab-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--vinho), var(--ouro), var(--vinho));
}
.oab-icon { margin-bottom: 22px; color: var(--ouro); opacity: 0.7; }
.oab-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--branco);
  margin-bottom: 12px;
  font-weight: 700;
}
.oab-card p {
  font-size: 1rem;
  color: var(--texto-suave);
  line-height: 1.8;
  margin-bottom: 24px;
  font-weight: 300;
}
.oab-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ouro);
  padding: 10px 20px;
  border: 1px solid rgba(201,168,76,0.3);
  display: inline-block;
}

.horario-card {
  padding: 32px;
  border: 1px solid rgba(201,168,76,0.15);
  background: rgba(28,11,0,0.55);
}
.horario-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(201,168,76,0.08);
}
.horario-row:last-child { border-bottom: none; }
.horario-dia {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--texto-suave);
}
.horario-hora {
  font-size: 1rem;
  color: var(--branco);
}

/* ════════════════════════
   FOOTER
════════════════════════ */
footer {
  background: var(--vinho-dark);
  padding: 40px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(201,168,76,0.15);
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--ouro);
}
.footer-copy {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: rgba(245,240,235,0.3);
}
.footer-oab {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(245,240,235,0.4);
}

/* ════════════════════════
   ANIMATIONS
════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.45; }
  50%       { opacity: 0.9; }
}
@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ════════════════════════
   RESPONSIVO
════════════════════════ */
@media (max-width: 1024px) {
  #sobre       { gap: 60px; padding: 100px 50px; }
  #atuacao     { padding: 100px 50px; }
  #contato     { padding: 100px 50px; }
  footer       { padding: 36px 50px; }
}

@media (max-width: 900px) {
  nav {
    padding: 18px 28px;
  }

  .nav-hamburguer { display: flex; }

  /* Links escondidos por padrão no mobile */
  .nav-links { display: none; }

  /* Quando menu aberto: a NAV inteira vira o fullscreen */
  nav.menu-open {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    height: 100vh;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    background: rgba(10,8,5,0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 100;
    padding: 22px 28px;
  }

  /* Links aparecem centralizados dentro da nav fullscreen */
  nav.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 44px;
    flex: 1;
    list-style: none;
  }
  nav.menu-open .nav-links a {
    font-size: 1.4rem;
    letter-spacing: 0.3em;
    color: var(--branco-off);
  }
  nav.menu-open .nav-links a:hover {
    color: var(--ouro);
  }

  #hero .hero-content { padding: 0 36px; }
  .hero-line { display: none; }
  .justice-bg { width: 90%; opacity: 0.025; right: -20%; }

  #sobre {
    grid-template-columns: 1fr;
    padding: 90px 32px;
    gap: 70px;
  }
  .sobre-img-frame { padding-bottom: 105%; }

  #atuacao { padding: 90px 32px; }
  .areas-grid { grid-template-columns: 1fr; }
  .area-card { min-height: 380px; }

  /* Accordion mobile: cancela :hover (touch mantém hover ativo) e usa só .card-open */
  .area-card:hover .area-desc { max-height: 0; opacity: 0; }
  .area-card .area-desc { max-height: 0; opacity: 0; }
  .area-card.card-open .area-desc { max-height: 1500px; opacity: 1; }
  .area-card.card-open .area-card-content { transform: translateY(0); }
  .area-card.card-open .area-card-bg { transform: scale(1.12); filter: brightness(0.32) saturate(0.8); }
  .area-card.card-open::before { height: 100%; }

  /* Indicador de toque */
  .area-card-content::after {
    content: '↓ toque para expandir';
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ouro);
    opacity: 0.6;
    display: block;
    margin-top: 14px;
    transition: opacity 0.3s;
  }
  .area-card.card-open .area-card-content::after { opacity: 0; height: 0; margin: 0; overflow: hidden; }

  #contato { padding: 90px 32px; }
  .contato-inner { grid-template-columns: 1fr; gap: 60px; }

  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 32px;
  }
}
