/* ==========================================
   BRUNA ZARTH — ADVOCACIA
   Paleta: Branco #FFFFFF | Dourado #C4A355 | Escuro #1A1A1A
   ========================================== */

:root {
  --gold:        #C4A355;
  --gold-light:  #D4B870;
  --gold-dark:   #A8882A;
  --gold-bg:     #F9F5EC;
  --dark:        #1A1A1A;
  --dark-2:      #2D2D2D;
  --white:       #FFFFFF;
  --off-white:   #FAFAF8;
  --gray:        #888888;
  --gray-light:  #F0EDEA;

  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Lato', system-ui, sans-serif;

  --container:   1200px;
  --radius:      4px;
  --transition:  0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* CONTAINER */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================
   TIPOGRAFIA COMPARTILHADA
   ========================================== */

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--dark);
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}
.section-sub {
  font-size: 1rem;
  color: var(--gray);
  margin-top: 12px;
  font-weight: 300;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.tag--light {
  color: rgba(196,163,85,0.9);
  border-color: rgba(196,163,85,0.4);
}

/* BOTÕES */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn--gold {
  background: var(--gold);
  color: var(--white);
}
.btn--gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,163,85,0.3);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
}
.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* LOGO */
.logo-bz {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.05em;
  line-height: 1;
}
.logo-bz--sm { font-size: 1.3rem; }
.logo-name {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--dark);
  letter-spacing: 0.05em;
}

/* ==========================================
   HEADER / NAV
   ========================================== */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(196,163,85,0.15);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,0.07);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__logo:hover .logo-bz { color: var(--gold-dark); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__link {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-2);
  position: relative;
  transition: var(--transition);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav__link:hover { color: var(--gold); }
.nav__link:hover::after { width: 100%; }

.nav__cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  letter-spacing: 0.1em;
}
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--gold-dark) !important; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================
   HERO
   ========================================== */

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 72px;
}

.hero__photo {
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.hero__photo img {
  width: 100%;
  height: auto;
  object-fit: initial;
  object-position: initial;
}
.hero__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(26,26,26,0.15));
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 72px;
  background: var(--dark);
}
.hero__content .tag { align-self: flex-start; }

.hero__content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 12px;
}
.hero__content h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  display: block;
}

.hero__role {
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  font-weight: 400;
}

.hero__desc {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  font-weight: 300;
  max-width: 420px;
  margin-bottom: 44px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================
   SOBRE
   ========================================== */

.sobre {
  padding: 120px 0;
  background: var(--off-white);
}

.sobre__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 96px;
  align-items: center;
}

.sobre__visual {
  position: relative;
}
.sobre__img-wrap {
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/5;
  border: 2px solid var(--gold);
  box-shadow: 24px 24px 0 var(--gold-bg), 24px 24px 0 1px var(--gold);
}
.sobre__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}
.sobre__img-wrap:hover img { transform: scale(1.03); }

.sobre__badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--white);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 24px rgba(196,163,85,0.4);
}
.sobre__badge span {
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
}
.sobre__badge strong {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
}

.sobre__content p {
  color: #555;
  margin-bottom: 20px;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.9;
}

.sobre__formacao {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid rgba(196,163,85,0.2);
}
.sobre__formacao h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.sobre__formacao ul { display: flex; flex-direction: column; gap: 8px; }
.sobre__formacao li {
  font-size: 0.9rem;
  color: #666;
  padding-left: 20px;
  position: relative;
  font-weight: 300;
}
.sobre__formacao li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 1px;
  background: var(--gold);
}

/* ==========================================
   ÁREAS DE ATUAÇÃO
   ========================================== */

.atuacao {
  padding: 120px 0;
  background: var(--white);
}

.atuacao__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.card {
  padding: 52px 40px;
  background: var(--off-white);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--gold);
  transition: width 0.4s ease;
}
.card:hover::before { width: 100%; }
.card:hover { background: var(--white); box-shadow: 0 8px 48px rgba(0,0,0,0.07); }

.card--featured {
  background: var(--dark);
  color: var(--white);
}
.card--featured::before { background: var(--gold); }
.card--featured:hover { background: var(--dark-2); }

.card__icon {
  width: 48px; height: 48px;
  color: var(--gold);
  margin-bottom: 28px;
}
.card__icon svg { width: 100%; height: 100%; }

.card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: inherit;
}

.card p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  color: #666;
  margin-bottom: 24px;
}
.card--featured p { color: rgba(255,255,255,0.6); }

.card ul { display: flex; flex-direction: column; gap: 8px; }
.card li {
  font-size: 0.85rem;
  font-weight: 300;
  color: #555;
  padding-left: 18px;
  position: relative;
}
.card--featured li { color: rgba(255,255,255,0.7); }
.card li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 1px;
  background: var(--gold);
}

/* ==========================================
   CONTATO
   ========================================== */

.contato {
  padding: 120px 0;
  background: var(--dark);
}

.contato__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 96px;
  align-items: center;
}

.contato__content .section-title { color: var(--white); }
.contato__content .section-title em { color: var(--gold); }

.contato__content > p {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 48px;
  line-height: 1.8;
}

.contato__whatsapp-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #25D366;
  color: #fff;
  padding: 18px 32px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(37,211,102,0.25);
  align-self: flex-start;
}
.contato__whatsapp-cta:hover {
  background: #1ebe5b;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37,211,102,0.35);
}
.contato__whatsapp-cta svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.contato__whatsapp-cta span {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.contato__whatsapp-cta .cta-label {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  opacity: 0.85;
  text-transform: uppercase;
}
.contato__whatsapp-cta .cta-action {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.contato__links { display: flex; flex-direction: column; gap: 4px; }

.contato__item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid rgba(196,163,85,0.1);
}
.contato__item:hover {
  background: rgba(196,163,85,0.08);
  border-color: rgba(196,163,85,0.3);
  transform: translateX(4px);
}

.contato__icon {
  width: 44px; height: 44px;
  background: rgba(196,163,85,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contato__icon svg { width: 20px; height: 20px; }

.contato__label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 2px;
}
.contato__value {
  display: block;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
}

.contato__visual {
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 3/4;
  border: 2px solid var(--gold);
  box-shadow: -24px 24px 0 #F9F5EC, -24px 24px 0 1px var(--gold);
}
.contato__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(20%);
  transition: var(--transition);
}
.contato__visual:hover img { filter: grayscale(0%); }

/* ==========================================
   FOOTER
   ========================================== */

.footer {
  background: #111;
  padding: 40px 0;
  border-top: 1px solid rgba(196,163,85,0.15);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer__name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}
.footer__oab {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.footer__copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}
.footer__dev {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.25);
}
.footer__dev a {
  color: rgba(196,163,85,0.5);
  transition: color 0.3s ease;
}
.footer__dev a:hover {
  color: var(--gold);
}

/* ==========================================
   RESPONSIVO
   ========================================== */

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero__content { padding: 64px 40px; }
  .hero__content h1 { font-size: 2.8rem; }

  .sobre__grid { grid-template-columns: 1fr; gap: 64px; }
  .sobre__visual { max-width: 480px; margin: 0 auto; }

  .atuacao__grid { grid-template-columns: 1fr; gap: 2px; }

  .contato__visual { display: none; }
  .contato__grid { grid-template-columns: 1fr; gap: 64px; }
}

@media (max-width: 900px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid var(--gray-light);
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    z-index: 99;
  }
  .nav__menu.open {
    transform: translateY(0);
    visibility: visible;
  }
  .nav__menu li { width: 100%; border-bottom: 1px solid var(--gray-light); }
  .nav__link { display: block; padding: 16px 0; font-size: 0.9rem; }
  .nav__cta { margin-top: 16px; display: inline-block; padding: 10px 22px; }
}

@media (max-width: 768px) {

  .hero__content { padding: 48px 24px; }
  .hero__content h1 { font-size: 2.2rem; }
  .hero__desc { max-width: 100%; }
  .footer__bottom { align-items: center; }

  .sobre { padding: 80px 0; }
  .sobre__badge { bottom: -10px; right: 10px; }

  .atuacao { padding: 80px 0; }
  .card { padding: 40px 28px; }

  .contato { padding: 80px 0; }

  .footer__inner { flex-direction: column; text-align: center; }
  .footer__brand { justify-content: center; }
}

@media (max-width: 480px) {
  .hero__content h1 { font-size: 1.9rem; }
  .hero__actions { flex-direction: column; }
  .btn { text-align: center; justify-content: center; }
  .section-title { font-size: 1.8rem; }
}
