/* ══════════════════════════════════════════════════════
   ALEF SANTANA ADVOGADOS — TEMA CLARO / FUNDO BRANCO
══════════════════════════════════════════════════════ */

:root {
  --bg-white:       #FFFFFF;
  --bg-light:       #F8FAFC;
  --bg-alt:         #F1F5F9;
  --text-dark:      #0F172A;
  --text-body:      #334155;
  --text-muted:     #64748B;
  --border-color:   #E2E8F0;
  
  --gold:           #7E8183;
  --gold-dark:      #4A4D4F;
  --gold-grad:      linear-gradient(135deg, #7E8183 0%, #A0A2A3 50%, #686B6D 100%);
  
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --transition:     all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-head:      'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body:      'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  font-size: 16px;
  background: var(--bg-white);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 3px; }

/* ── CONTAINER ── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ── UTILITY ── */
.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--text-muted);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

.section-text {
  font-size: 1.0625rem;
  color: var(--text-body);
  line-height: 1.75;
  max-width: 680px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2.25rem;
  background: var(--gold-grad);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.btn-primary svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2.25rem;
  background: transparent;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}
.btn-secondary:hover {
  background: var(--text-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* ── ANIMATIONS ── */
[data-animate] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 0.72s ease var(--reveal-delay, 0ms),
    transform 0.82s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* ════════════════════════════════════════════
   HEADER
════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  height: 76px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand-logo-img {
  height: 46px;
  max-height: 46px;
  width: auto;
  object-fit: contain;
  filter: invert(1) brightness(0.2);
}

.logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 1.75rem; }
.nav-link {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-body);
  position: relative;
  transition: color 0.3s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--text-dark);
  transition: width 0.3s ease;
}
.nav-link:hover { color: var(--text-dark); }
.nav-link:hover::after { width: 100%; }

.btn-whatsapp-header {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: var(--text-dark);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-whatsapp-header:hover {
  background: #1E293B;
  transform: translateY(-2px);
}
.wapp-icon { width: 14px; height: 14px; }

/* Hamburger Menu Button */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  z-index: 1001;
}
.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ════════════════════════════════════════════
   HERO (PRIMEIRA PARTE)
════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--bg-white);
  padding-top: 76px;
}

.hero-content {
  max-width: 1240px;
  margin: 0 auto;
  padding: 4rem clamp(1.25rem, 4vw, 3rem);
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--bg-light);
  margin-bottom: 1.75rem;
}
.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--text-dark);
  border-radius: 50%;
  display: block;
}

.hero-tagline {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  max-width: 850px;
}

.hero-text {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 620px;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ════════════════════════════════════════════
   QUEM SOMOS (SEGUNDA PARTE)
════════════════════════════════════════════ */
.about {
  padding: clamp(4rem, 7vw, 7rem) 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.about-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: center;
}

.about-photo-frame {
  width: 300px;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.lawyer-real-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.about-text {
  font-size: 1.0625rem;
  color: var(--text-body);
  line-height: 1.8;
}
.about-text strong { color: var(--text-dark); font-weight: 600; }

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.value-tag {
  display: inline-flex;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-dark);
  background: #FFFFFF;
  letter-spacing: 0.04em;
}

/* ════════════════════════════════════════════
   TERCEIRA PARTE — SÓCIO-FUNDADOR
════════════════════════════════════════════ */
.socio-section {
  padding: clamp(4rem, 7vw, 7rem) 0;
  background: var(--bg-white);
}
.socio-card-wrap {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
}

.about-photo-badge {
  position: absolute;
  bottom: -0.75rem;
  right: -0.75rem;
  background: var(--text-dark);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 0.6rem 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.badge-year { font-family: var(--font-body); font-size: 0.9rem; font-weight: 800; }
.badge-label { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; opacity: 0.8; }

/* ════════════════════════════════════════════
   ÁREAS DE ATUAÇÃO
════════════════════════════════════════════ */
.services {
  padding: clamp(4rem, 7vw, 7rem) 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.services-header { margin-bottom: clamp(2.5rem, 4vw, 4rem); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: clamp(2rem, 3vw, 2.5rem);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  border-color: #CBD5E1;
}

.card-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
}
.card-icon svg { width: 100%; height: 100%; }

.card-title {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card-text {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ════════════════════════════════════════════
   PRODUÇÃO INTELECTUAL (ALINHADO E SEM QUADRO)
════════════════════════════════════════════ */
.highlight {
  padding: clamp(4rem, 7vw, 7rem) 0;
  background: var(--bg-white);
}

.highlight-content-clean {
  max-width: 800px;
  margin: 0;
  text-align: left;
}

.highlight-text {
  font-size: 1.0625rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.highlight-list {
  margin-bottom: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.highlight-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}
.list-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dark);
  flex-shrink: 0;
}

/* ════════════════════════════════════════════
   QUARTA PARTE (CONTATO EM BRANCO)
════════════════════════════════════════════ */
.contact-white-section {
  background: var(--bg-light);
  color: var(--text-dark);
  padding: clamp(5rem, 8vw, 8rem) 0 clamp(4rem, 6vw, 6rem);
  border-top: 1px solid var(--border-color);
}

.contact-white-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(3rem, 5vw, 4.5rem);
}

.contact-white-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.contact-white-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.contact-white-subtitle {
  font-size: 1.0625rem;
  color: var(--text-body);
  line-height: 1.7;
}

.contact-white-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.contact-white-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
}
.contact-white-card:hover {
  transform: translateY(-4px);
  border-color: #CBD5E1;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.contact-white-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}
.contact-white-icon svg { width: 22px; height: 22px; }

.contact-white-card-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.contact-white-card-value {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.6;
  font-weight: 500;
}

.contact-white-card-link {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 600;
  word-break: break-all;
}

.contact-white-cta-box { text-align: center; margin-top: 1rem; }

.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2.5rem;
  background: var(--text-dark);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2);
}
.btn-primary-dark:hover {
  background: #1E293B;
  transform: translateY(-2px);
}

/* FOOTER LIGHT */
.footer-light {
  background: var(--bg-white);
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 0;
  color: var(--text-muted);
}

.footer-light-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-light-brand { display: flex; flex-direction: column; }
.footer-light-name { font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; color: var(--text-dark); }
.footer-light-tagline { font-size: 0.8125rem; color: var(--text-muted); }
.footer-light-copy { font-size: 0.8125rem; color: var(--text-muted); }

.footer-light-legal { display: flex; align-items: center; gap: 0.75rem; font-size: 0.8125rem; }
.footer-light-legal a { color: var(--text-muted); }
.footer-light-legal a:hover { color: var(--text-dark); }

/* FLOATING WHATSAPP */
.float-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}
.float-whatsapp:hover { transform: translateY(-4px) scale(1.05); }
.float-whatsapp svg { width: 20px; height: 20px; flex-shrink: 0; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; }
  .contact-white-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-photo-wrap { display: flex; justify-content: center; margin: 0 auto; }
  .socio-card-wrap .about-grid { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    padding: 2rem;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s;
    pointer-events: none;
    z-index: 999;
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 0; }
  .nav-link { display: block; padding: 1rem 0; font-size: 1.15rem; border-bottom: 1px solid var(--border-color); width: 100%; }

  .btn-whatsapp-header { display: none; }
  .hamburger { display: flex; }

  .hero-tagline { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .hero-buttons { flex-direction: column; }
  .btn-primary, .btn-secondary { justify-content: center; width: 100%; }

  .footer-light-inner { flex-direction: column; text-align: center; }
  .float-whatsapp .float-label { display: none; }
  .float-whatsapp { padding: 0.875rem; border-radius: 50%; }
}