/* ============================================================
   VARIAVEIS
   ============================================================ */
:root {
  --gold:         #7A9BB5;
  --gold-light:   #C8D8E8;
  --gold-dark:    #4A6E8A;
  --black:        #0E1520;
  --dark:         #121D2B;
  --dark-2:       #19273A;
  --dark-3:       #1F3048;
  --white:        #EDF2F7;
  --white-dim:    rgba(200,216,232,0.65);
  --white-faint:  rgba(200,216,232,0.07);
  --accent:       #A8C4D8;
}

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

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; cursor: none; }
ul { list-style: none; }

/* ============================================================
   CURSOR CUSTOMIZADO
   ============================================================ */
.cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .3s, height .3s;
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  transition: width .3s, height .3s, opacity .3s;
}

/* ============================================================
   NOISE OVERLAY
   ============================================================ */
body::before {
  content: '';
  position: fixed; 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='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.4;
}

/* ============================================================
   NAVBAR
   ============================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 28px 60px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .5s, padding .5s, border-bottom .5s;
}
nav.scrolled {
  background: rgba(14,21,32,0.97);
  padding: 18px 60px;
  border-bottom: 1px solid rgba(122,155,181,0.2);
  backdrop-filter: blur(12px);
}

.nav-logo { display: flex; flex-direction: column; gap: 2px; }
.nav-logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-light);
}
.nav-logo-sub {
  font-size: .55rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--white-dim);
}

.nav-links { display: flex; gap: 44px; }
.nav-links a {
  color: var(--white-dim);
  font-size: .65rem; letter-spacing: .22em; text-transform: uppercase;
  transition: color .3s;
}
.nav-links a:hover { color: var(--gold-light); }

.nav-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 11px 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: .6rem; letter-spacing: .22em; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.nav-cta:hover { background: var(--gold); color: var(--black); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(122,155,181,.08) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(100,140,170,.05) 0%, transparent 60%),
    linear-gradient(160deg, #0E1520 0%, #121D2B 50%, #0C1622 100%);
}
.hero-lines { position: absolute; inset: 0; overflow: hidden; }
.hero-lines::before {
  content: '';
  position: absolute; top: -10%; right: 5%; width: 1px; height: 130%;
  background: linear-gradient(to bottom, transparent, rgba(122,155,181,.35), rgba(122,155,181,.1), transparent);
  transform: rotate(-8deg);
}
.hero-lines::after {
  content: '';
  position: absolute; top: -10%; right: 18%; width: 1px; height: 130%;
  background: linear-gradient(to bottom, transparent, rgba(122,155,181,.08), transparent);
  transform: rotate(-8deg);
}

.hero-content {
  position: relative; z-index: 2;
  padding: 0 60px; max-width: 900px;
  opacity: 0; transform: translateY(40px);
  animation: fadeUp 1.2s cubic-bezier(.16,1,.3,1) .3s forwards;
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 36px;
}
.hero-eyebrow-line { width: 48px; height: 1px; background: var(--gold); }
.hero-eyebrow span {
  font-size: .6rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 300; line-height: 1.05;
  color: var(--white); margin-bottom: 12px;
}
.hero-title em {
  font-style: italic; color: var(--gold-light); display: block;
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300; font-style: italic;
  color: var(--white-dim); margin-bottom: 52px; line-height: 1.4;
}

.hero-also {
  font-size: .78rem;
  letter-spacing: .12em;
  color: rgba(200,216,232,0.45);
  margin-bottom: 36px;
  margin-top: -32px;
}
.hero-also::before {
  content: '—  ';
}

.hero-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold); color: var(--black);
  padding: 16px 44px;
  font-family: 'Montserrat', sans-serif;
  font-size: .62rem; letter-spacing: .25em; text-transform: uppercase;
  font-weight: 500;
  display: inline-block;
  transition: background .3s, transform .2s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-ghost {
  color: var(--white-dim);
  font-size: .62rem; letter-spacing: .25em; text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
  transition: color .3s;
}
.btn-ghost:hover { color: var(--gold-light); }
.btn-ghost::before {
  content: ''; width: 30px; height: 1px;
  background: currentColor; display: inline-block;
}

.hero-stats {
  position: absolute; bottom: 60px; right: 60px; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-end; gap: 28px;
  opacity: 0; animation: fadeIn 1s ease 1.2s forwards;
}
.hero-stat { text-align: right; }
.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem; font-weight: 300; line-height: 1;
  color: var(--gold-light); display: block;
}
.hero-stat-label {
  font-size: .55rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--white-dim);
}
.hero-stat-sep {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(122,155,181,.45), transparent);
  margin-left: auto;
}

.scroll-indicator {
  position: absolute; bottom: 60px; left: 60px; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  opacity: 0; animation: fadeIn 1s ease 1.5s forwards;
}
.scroll-indicator span {
  font-size: .55rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--white-dim);
  writing-mode: vertical-lr;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollDown 1.8s ease-in-out infinite;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-wrapper {
  border-top: 1px solid rgba(122,155,181,.18);
  border-bottom: 1px solid rgba(122,155,181,.18);
  background: var(--dark-2); overflow: hidden;
  padding: 16px 0;
}
.marquee-track {
  display: flex; gap: 0;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  display: flex; align-items: center; gap: 40px;
  padding-right: 40px;
  font-size: .6rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--white-dim); flex-shrink: 0;
}
.marquee-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}

/* ============================================================
   SECOES — BASE COMUM
   ============================================================ */
section { padding: 120px 60px; }

.section-label {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 24px;
}
.section-label::before {
  content: ''; width: 36px; height: 1px;
  background: var(--gold); flex-shrink: 0;
}
.section-label span {
  font-size: .58rem; letter-spacing: .32em;
  text-transform: uppercase; color: var(--gold);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 300; line-height: 1.1; color: var(--white);
}
.section-title em { font-style: italic; color: var(--gold-light); }

/* ============================================================
   SOBRE
   ============================================================ */
.about {
  background: var(--dark);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: center;
}
.about-card {
  background: var(--dark-2);
  border: 1px solid rgba(122,155,181,.15);
  padding: 52px 44px; position: relative;
}
.about-card::before {
  content: '';
  position: absolute; top: -1px; left: 44px; right: 44px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.about-card-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-style: italic; font-weight: 300;
  line-height: 1.6; color: var(--white-dim); margin-bottom: 32px;
}
.about-card-attr {
  font-size: .58rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold);
}
.about-accent-box {
  position: absolute; bottom: -28px; right: -28px;
  width: 120px; height: 120px;
  border: 1px solid rgba(122,155,181,.22);
  background: var(--dark-3);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
}
.about-accent-box .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem; font-weight: 300; color: var(--gold-light);
}
.about-accent-box .lbl {
  font-size: .5rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--white-dim); text-align: center;
}
.about-text { display: flex; flex-direction: column; gap: 28px; }
.about-text p { font-size: .88rem; line-height: 1.9; color: var(--white-dim); }
.about-list { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.about-list-item {
  display: flex; align-items: center; gap: 16px;
  font-size: .75rem; letter-spacing: .06em; color: var(--white-dim);
}
.about-list-item::before {
  content: ''; width: 20px; height: 1px;
  background: var(--gold); flex-shrink: 0;
}

/* ============================================================
   BENEFICIOS / PRACTICE AREAS
   ============================================================ */
.practice { background: var(--black); }
.practice-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: end; margin-bottom: 72px;
}
.practice-intro {
  font-size: .85rem; line-height: 1.9;
  color: var(--white-dim); max-width: 400px;
}
.practice-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(122,155,181,.10);
}
.practice-card {
  background: var(--dark);
  padding: 48px 40px;
  transition: background .4s;
  position: relative; overflow: hidden;
}
.practice-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.practice-card:hover { background: var(--dark-2); }
.practice-card:hover::after { transform: scaleX(1); }
.practice-icon {
  width: 44px; height: 44px; margin-bottom: 32px;
  color: var(--gold);
}
.practice-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 400;
  color: var(--white); margin-bottom: 16px;
}
.practice-card p {
  font-size: .78rem; line-height: 1.85; color: var(--white-dim);
}

/* ============================================================
   EQUIPE
   ============================================================ */
.team { background: var(--black); }
.team-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: end; margin-bottom: 72px;
}
.team-intro {
  font-size: .85rem; line-height: 1.9;
  color: var(--white-dim); max-width: 400px;
}
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.team-card {
  position: relative; overflow: hidden;
  background: var(--dark-2);
  border: 1px solid rgba(122,155,181,.1);
  transition: border-color .4s, transform .4s;
}
.team-card:hover {
  border-color: rgba(122,155,181,.35);
  transform: translateY(-6px);
}
.team-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--gold);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.team-card:hover::before { transform: scaleY(1); }

.team-photo {
  width: 100%; aspect-ratio: 3/4;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.team-photo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, var(--dark-3) 0%, var(--dark-2) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
}
.team-photo-initials {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem; font-weight: 300;
  color: var(--gold); opacity: 0.45;
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(.16,1,.3,1);
}
.team-card:hover .team-photo img { transform: scale(1.05); }

.team-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,21,32,.85) 0%, transparent 50%);
  opacity: 0; transition: opacity .4s;
}
.team-card:hover .team-photo-overlay { opacity: 1; }

.team-info { padding: 24px 22px 28px; }
.team-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 400;
  color: var(--white); margin-bottom: 6px;
}
.team-role {
  font-size: .58rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 8px; display: block;
}
.team-specialty {
  font-size: .72rem; line-height: 1.75; color: var(--white-dim);
}
.team-oab {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid rgba(122,155,181,.1);
  font-size: .55rem; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(122,155,181,.45);
}

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.testimonials {
  background: var(--dark);
  position: relative; overflow: hidden;
}
.testimonials::before {
  content: '"';
  position: absolute; top: 40px; right: 60px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28rem; font-weight: 300;
  color: rgba(122,155,181,.04); line-height: 1;
  pointer-events: none;
}
.testimonials-header { margin-bottom: 72px; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.testimonial-card {
  background: var(--dark-2);
  border: 1px solid rgba(122,155,181,.12);
  padding: 44px 36px; position: relative;
  transition: border-color .3s, transform .3s;
}
.testimonial-card:hover {
  border-color: rgba(122,155,181,.38);
  transform: translateY(-4px);
}
.testimonial-stars {
  display: flex; gap: 4px; margin-bottom: 24px;
  color: var(--gold);
}
.star { font-size: .8rem; }
.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-style: italic;
  line-height: 1.7; color: var(--white); margin-bottom: 28px;
}
.testimonial-author {
  font-size: .58rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold);
}

/* ============================================================
   CTA / CONTATO
   ============================================================ */
.cta {
  background: var(--dark);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(122,155,181,.09) 0%, transparent 70%);
  pointer-events: none;
}
.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 300; line-height: 1.1;
  color: var(--white); margin-bottom: 24px;
}
.cta-title em { font-style: italic; color: var(--gold-light); }
.cta-subtitle {
  font-size: .85rem; line-height: 1.9;
  color: var(--white-dim); max-width: 500px;
  margin: 0 auto 52px;
}
.cta-actions {
  display: flex; justify-content: center; gap: 20px;
  flex-wrap: wrap; margin-bottom: 72px;
}
.btn-whatsapp {
  background: #25D366; color: #000;
  padding: 16px 44px;
  font-family: 'Montserrat', sans-serif;
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 500;
  display: flex; align-items: center; gap: 12px;
  transition: opacity .3s, transform .2s;
}
.btn-whatsapp:hover { opacity: .9; transform: translateY(-2px); }

.contact-details {
  display: flex; justify-content: center; gap: 60px; flex-wrap: wrap;
}
.contact-item {
  display: flex; flex-direction: column; gap: 6px; align-items: center;
}
.contact-item-label {
  font-size: .55rem; letter-spacing: .25em;
  text-transform: uppercase; color: var(--gold);
}
.contact-item-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; color: var(--white);
}

/* ============================================================
   RODAPE
   ============================================================ */
footer {
  background: var(--black);
  border-top: 1px solid rgba(122,155,181,.12);
  padding: 52px 60px;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 24px;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 500; letter-spacing: .1em;
  color: var(--gold-light);
}
.footer-copy {
  font-size: .58rem; letter-spacing: .12em; color: var(--white-dim);
}
.footer-oab {
  font-size: .58rem; letter-spacing: .12em;
  color: var(--white-dim); text-align: right;
}

/* ============================================================
   DIVISOR
   ============================================================ */
.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 60px; opacity: .3;
}

/* ============================================================
   ANIMACOES
   ============================================================ */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@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; }
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ============================================================
   RESPONSIVIDADE — TABLET (≤900px)
   ============================================================ */
@media (max-width: 900px) {
  nav { padding: 20px 24px; }
  nav.scrolled { padding: 14px 24px; }
  .nav-links { display: none; }
  .nav-cta { padding: 10px 20px; font-size: .55rem; }

  section { padding: 80px 24px; }
  .gold-divider { margin: 0 24px; }

  .hero-content { padding: 120px 24px 220px; }
  .hero-title { font-size: clamp(2.6rem, 8vw, 4rem); }
  .hero-subtitle { font-size: 1.1rem; margin-bottom: 36px; }
  .hero-stats { right: 24px; bottom: 32px; flex-direction: row; gap: 20px; align-items: flex-end; }
  .hero-stat-num { font-size: 1.8rem; }
  .hero-stat-sep { display: none; }
  .scroll-indicator { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 14px; }

  .about { grid-template-columns: 1fr; gap: 40px; }
  .about-accent-box { display: none; }
  .about-card { padding: 36px 28px; }

  .practice-header { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-card { padding: 36px 28px; }

  .team-header { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .team-grid { grid-template-columns: 1fr; gap: 20px; }
  .team-photo { aspect-ratio: 4/3; }

  .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
  .testimonials::before { font-size: 16rem; top: 20px; right: 20px; }

  .contact-details { gap: 32px; }

  footer { padding: 36px 24px; flex-direction: column; text-align: center; }
  .footer-oab { text-align: center; }
}

/* ============================================================
   RESPONSIVIDADE — MOBILE (≤640px)
   ============================================================ */
@media (max-width: 640px) {
  .cta-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-whatsapp { width: 100%; justify-content: center; text-align: center; }
}
