/* =========================================================
   NOBRE & SILVA ADVOGADOS ASSOCIADOS
   Stylesheet — Elegante, Sóbrio, Atemporal
   ========================================================= */

/* --- CSS VARIABLES --- */
:root {
  --navy:       #080808;
  --navy-mid:   #111111;
  --navy-light: #1A1A1A;
  --gold:       #9B9B9B;
  --gold-light: #BBBBBB;
  --gold-dim:   #707070;
  --cream:      #0E0E0E;
  --white:      #FFFFFF;
  --gray-100:   #0A0A0A;
  --gray-200:   #2A2A2A;
  --gray-400:   #8A8A8A;
  --gray-600:   #5C5C5C;
  --gray-800:   #2E2E2E;
  --text:       #E8E8E8;
  --text-mid:   #A8A8A8;
  --text-light: #707070;

  --font-serif:  'Playfair Display', 'Georgia', serif;
  --font-body:   'Jost', 'Helvetica Neue', sans-serif;
  --font-light:  'Cormorant Garamond', 'Georgia', serif;

  --radius:      2px;
  --radius-lg:   4px;
  --shadow-sm:   0 2px 16px rgba(0,0,0,0.18);
  --shadow-md:   0 8px 40px rgba(0,0,0,0.28);
  --shadow-lg:   0 24px 64px rgba(0,0,0,0.4);
  --trans:       all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: #080808;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3 { font-family: var(--font-serif); line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--font-body); }
p { font-size: 1rem; color: #A0A0A0; line-height: 1.75; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9B9B9B;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
}
.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.4rem;
  height: 1px;
  background: #9B9B9B;
}
.section-label.light { color: #BBBBBB; }
.section-label.light::before { background: #BBBBBB; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 5rem;
}
.section-header h2 { margin-bottom: 1.2rem; }
.section-header p { color: #666666; font-size: 1.05rem; }

/* --- BUTTONS --- */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--trans);
}
/* light sweep on hover */
.btn:not(.btn-text)::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn:not(.btn-text):hover::after { left: 130%; }
.btn-gold:hover::after {
  background: linear-gradient(100deg, transparent, rgba(0,0,0,0.18), transparent);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  background: #080808;
  color: var(--white);
  border-color: #EEEEEE;
}
.btn-primary:hover {
  background: #1A1A1A;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}
.btn-gold {
  background: #9B9B9B;
  color: #080808;
  border-color: #9B9B9B;
}
.btn-gold:hover {
  background: #BBBBBB;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(155,155,155,0.25);
}
.btn-text {
  background: none;
  border: none;
  padding: 0;
  color: #EEEEEE;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  text-transform: none;
  transition: var(--trans);
}
.btn-text:hover { color: #BBBBBB; gap: 0.75rem; }
.btn-full { width: 100%; justify-content: center; }

/* =========================================================
   HEADER
   ========================================================= */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.45rem 0;
  transition: all 0.4s ease;
}
#header.scrolled {
  background: rgba(2, 2, 2, 0.99);
  padding: 0.95rem 0;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1.05rem;
}
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 61px;
  height: 61px;
}
.logo-mark svg { width: 100%; height: 100%; }
.logo-mark.small { width: 46px; height: 46px; }
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.logo-sub {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #BBBBBB;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  position: relative;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  transition: var(--trans);
}
.nav-link:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.25rem;
  height: 1px;
  background: #9B9B9B;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link:not(.nav-cta):hover::after,
.nav-link.active:not(.nav-cta)::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-link:hover { color: var(--white); }
.nav-link.active { color: #9B9B9B; }
.nav-cta {
  background: #9B9B9B;
  color: #080808 !important;
  font-weight: 700;
  margin-left: 0.5rem;
}
.nav-cta:hover {
  background: #BBBBBB;
  color: #080808 !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #FFFFFF;
  transition: var(--trans);
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #080808;
}
.hero-logo-deco {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
  animation: heroDecoFloat 14s ease-in-out infinite;
  will-change: transform;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(8,8,8,0.98) 40%, rgba(18,18,18,0.95) 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80"><rect fill="none" stroke="rgba(155,155,155,0.04)" stroke-width="0.5" x="0" y="0" width="80" height="80"/></svg>') repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(187,187,187,0.05) 0%, transparent 55%);
}
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 0deg at 70% 40%, transparent 0deg, rgba(187,187,187,0.06) 90deg, transparent 200deg, rgba(155,155,155,0.05) 300deg, transparent 360deg);
  animation: heroAurora 26s linear infinite;
  will-change: transform;
}
.hero-texture {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4"><rect fill="rgba(255,255,255,0.015)" width="1" height="1"/></svg>') repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem 24px 6rem;
  max-width: 780px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #BBBBBB;
  border: 1px solid rgba(155,155,155,0.3);
  padding: 0.4rem 1.2rem;
  border-radius: 2px;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease both;
}
.hero-title {
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s 0.15s ease both;
}
.hero-title em {
  font-style: italic;
  color: #9B9B9B;
  background: linear-gradient(100deg, #7C7C7C 0%, #D8D8D8 45%, #7C7C7C 60%, #9B9B9B 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleShimmer 7s ease-in-out infinite;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  animation: fadeInUp 0.8s 0.3s ease both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.8s 0.45s ease both;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  animation: fadeIn 1.2s 1s ease both;
}
.hero-scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  writing-mode: horizontal-lr;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(155,155,155,0.5), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* =========================================================
   DIFERENCIAIS
   ========================================================= */
.diferenciais {
  background: #0E0E0E;
  padding: 6rem 0;
  border-top: 3px solid #9B9B9B;
}
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.diferencial-item {
  padding: 3rem 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: var(--trans);
}
.diferencial-item:last-child { border-right: none; }
.diferencial-item { border-right: 1px solid rgba(255,255,255,0.07) !important; }
.diferencial-item:hover { background: #111111; }
.diferencial-icon {
  width: 44px;
  height: 44px;
  color: #9B9B9B;
  margin-bottom: 1.5rem;
}
.diferencial-icon svg { width: 100%; height: 100%; }
.diferencial-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: #EEEEEE;
}
.diferencial-item p { font-size: 0.9rem; color: #666666; line-height: 1.7; }

/* =========================================================
   SOBRE RESUMO
   ========================================================= */
.sobre-resumo {
  padding: 8rem 0;
  background: #0D0D0D;
}
.sobre-resumo-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: center;
}
.sobre-card-number {
  font-family: var(--font-serif);
  font-size: 6rem;
  font-weight: 700;
  color: rgba(220,220,220,0.9);
  -webkit-text-stroke: 0 transparent;
  line-height: 1.45;
  padding-top: 0.35em;
  margin-top: -0.35em;
  margin-bottom: 1.2rem;
}
.sobre-card-line {
  width: 3rem;
  height: 2px;
  background: #9B9B9B;
  margin-bottom: 1.5rem;
}
.sobre-quote {
  font-family: var(--font-light);
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  border-left: 2px solid #9B9B9B;
  padding-left: 1.5rem;
  color: rgba(255,255,255,0.5);
}
.sobre-resumo-text h2 { margin-bottom: 1.5rem; color: #EEEEEE; }
.sobre-resumo-text p { margin-bottom: 1.2rem; }
.sobre-resumo-text .btn-text { margin-top: 1rem; }

/* =========================================================
   ÁREAS DE ATUAÇÃO
   ========================================================= */
.areas {
  padding: 8rem 0;
  background: #080808;
}
.areas .section-label { color: #BBBBBB; }
.areas .section-label::before { background: #BBBBBB; }
.areas .section-header h2 { color: var(--white); }
.areas .section-header p { color: rgba(255,255,255,0.5); }

.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.04);
}
.area-card {
  background: #080808;
  padding: 3.5rem;
  position: relative;
  transition: var(--trans);
  overflow: hidden;
}
.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #9B9B9B;
  transform: scaleX(0);
  transition: var(--trans);
  transform-origin: left;
}
.area-card:hover { background: #111111; }
.area-card:hover::before { transform: scaleX(1); }

.area-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(187,187,187,0.45);
  -webkit-text-stroke: 0 transparent;
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: var(--trans);
}
.area-card:hover .area-number {
  color: rgba(255,255,255,0.72);
}
.area-content h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}
.area-content p {
  color: rgba(255,255,255,0.55);
  font-size: 0.93rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.area-content ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.area-content li {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
  padding-left: 1rem;
  position: relative;
}
.area-content li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #707070;
  font-size: 0.7rem;
}

/* =========================================================
   SOBRE COMPLETO
   ========================================================= */
.sobre {
  padding: 8rem 0;
  background: #0A0A0A;
}
.sobre .sobre-resumo-grid {
  margin-top: 1rem;
  padding-bottom: 4.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.sobre-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem;
  align-items: start;
  margin-top: 4.5rem;
}
.sobre-lead {
  font-family: var(--font-light);
  font-size: 1.25rem;
  color: #EEEEEE;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.sobre-historia p { margin-bottom: 1.2rem; }

.sobre-mvv {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mvv-item {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mvv-item:last-child { border-bottom: none; }
.mvv-item h4 {
  color: #CCCCCC;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  margin-bottom: 0.75rem;
}
.mvv-item p { font-size: 0.93rem; line-height: 1.7; }

/* =========================================================
   EQUIPE
   ========================================================= */
.equipe {
  padding: 8rem 0;
  background: #0E0E0E;
}
.equipe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.equipe-card {
  background: #0E0E0E;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--trans);
}
.equipe-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  transform: translateY(-4px);
}
.equipe-foto {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 2px solid #9B9B9B;
}
.equipe-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.placeholder-foto {
  background: #1E1E1E;
  display: flex;
  align-items: center;
  justify-content: center;
}
.foto-initials {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: #BBBBBB;
  letter-spacing: 0.04em;
}
.equipe-info h3 { font-size: 1.1rem; margin-bottom: 0.3rem; color: #EEEEEE; }
.equipe-oab {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #707070;
  margin-bottom: 1rem;
}
.equipe-info p { font-size: 0.88rem; line-height: 1.65; }

.equipe-nota {
  text-align: center;
  font-size: 0.92rem;
  color: #666666;
  margin-top: 3rem;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   CTA SECTION
   ========================================================= */
.cta-section {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
  background: #080808;
  text-align: center;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 75% 65% at 50% 50%, rgba(255,255,255,0.045) 0%, transparent 72%);
}
.cta-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
}
.cta-content h2 {
  color: var(--white);
  margin-bottom: 1.2rem;
}
.cta-content p {
  color: rgba(255,255,255,0.55);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   CONTATO
   ========================================================= */
.contato {
  padding: 8rem 0;
  background: #0A0A0A;
}
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.info-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.info-item:first-child { padding-top: 0; }
.info-item:last-child { border-bottom: none; }
.info-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: #9B9B9B;
  margin-top: 2px;
}
.info-icon svg { width: 100%; height: 100%; }
.info-item h4 {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: #666666;
  margin-bottom: 0.4rem;
}
.info-item p { font-size: 0.93rem; color: #A0A0A0; line-height: 1.6; }
.link-whatsapp {
  font-size: 0.82rem;
  font-weight: 600;
  color: #707070;
  letter-spacing: 0.04em;
  transition: var(--trans);
}
.link-whatsapp:hover { color: #9B9B9B; }

/* FORM */
.contato-form-wrap { position: relative; }
.contato-form {
  background: #141414;
  padding: 3rem;
  box-shadow: none;
  border: 1px solid rgba(255,255,255,0.07);
}
.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #707070;
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: #E8E8E8;
  background: #0E0E0E;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  outline: none;
  transition: var(--trans);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #9B9B9B;
  background: #111111;
  box-shadow: 0 0 0 3px rgba(155,155,155,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-notice {
  font-size: 0.78rem;
  color: #555555;
  text-align: center;
  margin-top: 1rem;
}

.form-success {
  display: none;
  background: #111111;
  padding: 3rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.08);
}
.form-success.visible { display: block; }
.success-icon {
  width: 56px;
  height: 56px;
  background: #9B9B9B;
  color: #080808;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.form-success h3 { color: #EEEEEE; margin-bottom: 0.75rem; }

.mapa-wrap {
  margin-top: 4rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  filter: grayscale(0.3) contrast(1.05);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #050505;
  color: rgba(255,255,255,0.55);
  padding-top: 5.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(280px, 1.55fr) minmax(180px, 0.8fr) minmax(260px, 1.2fr);
  gap: 4rem;
  padding-bottom: 4.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand { max-width: 360px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.footer-logo .logo-name {
  font-size: 0.92rem;
  letter-spacing: 0.2em;
}
.footer-logo .logo-mark svg g { fill: #8A8A8A; }
.footer-logo .logo-sub { color: rgba(255,255,255,0.48); }
.footer-tagline {
  max-width: 300px;
  font-family: var(--font-light);
  font-size: 1.05rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.8;
}

.footer-areas h4,
.footer-contato h4 {
  color: #BBBBBB;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  margin-bottom: 1.2rem;
}
.footer-areas ul {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}
.footer-areas a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.48);
  transition: var(--trans);
}
.footer-areas a:hover { color: #BBBBBB; }

.footer-contato address {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.9;
}
.footer-contato a {
  color: rgba(255,255,255,0.72);
  transition: var(--trans);
}
.footer-contato a:hover { color: #BBBBBB; }

.footer-bottom {
  padding: 1.5rem 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}
.footer-oab { color: rgba(155,155,155,0.35) !important; }

/* =========================================================
   WHATSAPP FLUTUANTE
   ========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: var(--trans);
}
.whatsapp-float svg { width: 26px; height: 26px; color: white; }
.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
}
.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: #080808;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: var(--trans);
}
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

[data-animate] {
  opacity: 1;
  transform: none;
}
.js-animate [data-animate] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.js-animate [data-animate].visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .diferenciais-grid { grid-template-columns: 1fr 1fr; }
  .diferencial-item:nth-child(2) { border-right: none; }
  .diferencial-item:nth-child(1),
  .diferencial-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.07); }
  .sobre-resumo-grid { grid-template-columns: 1fr; gap: 4rem; }
  .sobre-content { grid-template-columns: 1fr; gap: 3rem; }
  .contato-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 1024px) {
  .equipe-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  #nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: rgba(8,8,8,0.98);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }
  #nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .nav-link { font-size: 0.88rem; padding: 0.75rem 0; color: rgba(255,255,255,0.7); }
  .nav-cta { margin-left: 0; margin-top: 0.75rem; }
  .logo { gap: 0.85rem; }
  .logo-mark { width: 54px; height: 54px; }
  .logo-name { font-size: 0.78rem; letter-spacing: 0.15em; }
  .logo-sub { font-size: 0.58rem; }
  .menu-toggle { display: flex; position: relative; z-index: 1001; }

  .diferenciais-grid { grid-template-columns: 1fr; }
  .diferencial-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .diferencial-item:last-child { border-bottom: none; }

  .areas-grid { grid-template-columns: 1fr; }
  .equipe-grid { grid-template-columns: 1fr 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 540px) {
  .hero-content { padding: 7rem 0 5rem; }
  #header { padding: 1.1rem 0; }
  #header.scrolled { padding: 0.85rem 0; }
  .logo-mark { width: 48px; height: 48px; }
  .logo-name { font-size: 0.68rem; letter-spacing: 0.12em; }
  .logo-sub { font-size: 0.52rem; letter-spacing: 0.08em; }
  .hero-actions { flex-direction: column; }
  .btn { text-align: center; }
  .area-card { padding: 2.25rem 1.5rem; }
  .equipe-grid { grid-template-columns: 1fr; }
  .sobre-card-number { font-size: 4rem; }
  .contato-form { padding: 2rem 1.5rem; }
  .cta-actions { flex-direction: column; align-items: center; }
}

@supports (min-height: 100dvh) {
  .hero { min-height: 100dvh; }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  #header.scrolled,
  #nav {
    background: rgba(5,5,5,0.99);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js-animate [data-animate] {
    opacity: 1;
    transform: none;
  }
}

/* SOCIAL */
.footer-social { margin-top: 1.2rem; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
  transition: var(--trans);
}
.social-link:hover { color: rgba(255,255,255,0.75); }
.social-link svg { flex-shrink: 0; opacity: 0.6; transition: var(--trans); }
.social-link:hover svg { opacity: 1; transform: translateX(2px); }

/* =========================================================
   MOTION & RESPONSIVE ENHANCEMENTS
   (loaded last — intentionally overrides earlier rules)
   ========================================================= */

/* --- Scroll progress bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, #707070, #BBBBBB);
  z-index: 1200;
  pointer-events: none;
  transition: transform 0.1s linear;
}

/* --- New keyframes --- */
@keyframes heroDecoFloat {
  0%, 100% { transform: translateY(-50%) translateX(0) rotate(0deg); }
  50%      { transform: translateY(-54%) translateX(-14px) rotate(-3deg); }
}
@keyframes heroAurora {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes titleShimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.45); }
  70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* --- Richer scroll-reveal (base + directional variants) --- */
.js-animate [data-animate] {
  opacity: 0;
  transform: translate3d(0, 30px, 0) scale(0.986);
  filter: blur(4px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.6s ease;
  will-change: opacity, transform;
}
.js-animate [data-animate="left"]  { transform: translate3d(-46px, 0, 0) scale(0.99); }
.js-animate [data-animate="right"] { transform: translate3d(46px, 0, 0) scale(0.99); }
.js-animate [data-animate="scale"] { transform: translate3d(0, 24px, 0) scale(0.9); }
.js-animate [data-animate].visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
  will-change: auto;
}

/* --- Section label: draw the little line in on reveal --- */
.section-label::before { transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s; }
.js-animate [data-animate] .section-label::before,
.js-animate .section-label[data-animate]::before { width: 0; }
.js-animate [data-animate].visible .section-label::before,
.js-animate .section-label[data-animate].visible::before { width: 1.4rem; }

/* --- Sobre: grow the little divider line + stagger the M/V/V list --- */
.sobre-card-line { transform-origin: left; }
.js-animate [data-animate] .sobre-card-line {
  transform: scaleX(0);
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.28s;
}
.js-animate [data-animate].visible .sobre-card-line { transform: scaleX(1); }

.js-animate .sobre-mvv[data-animate] { transform: translate3d(0, 24px, 0); }
.js-animate .sobre-mvv[data-animate].visible { transform: none; }
.js-animate .sobre-mvv .mvv-item {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-animate .sobre-mvv.visible .mvv-item { opacity: 1; transform: none; }
.js-animate .sobre-mvv.visible .mvv-item:nth-child(1) { transition-delay: 0.08s; }
.js-animate .sobre-mvv.visible .mvv-item:nth-child(2) { transition-delay: 0.18s; }
.js-animate .sobre-mvv.visible .mvv-item:nth-child(3) { transition-delay: 0.28s; }

/* --- Stagger body paragraphs inside the two Sobre text blocks --- */
.js-animate .sobre-historia p,
.js-animate .sobre-resumo-text p {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.6s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-animate .sobre-historia.visible p,
.js-animate .sobre-resumo-text.visible p { opacity: 1; transform: none; }
.js-animate .sobre-historia.visible p:nth-child(2),
.js-animate .sobre-resumo-text.visible p:nth-child(2) { transition-delay: 0.09s; }
.js-animate .sobre-historia.visible p:nth-child(3),
.js-animate .sobre-resumo-text.visible p:nth-child(3) { transition-delay: 0.18s; }

/* --- Card interactions --- */
.diferencial-item,
.area-card,
.equipe-card,
.mvv-item,
.info-item { transition: var(--trans), box-shadow 0.4s ease, border-color 0.4s ease; }

.diferencial-item:hover {
  transform: translateY(-6px);
}
.diferencial-item:hover .diferencial-icon { transform: scale(1.12) rotate(-4deg); }
.diferencial-icon { transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }

.area-card {
  --mx: 50%; --my: 50%;
}
.area-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(187,187,187,0.10), transparent 65%);
  pointer-events: none;
}
.area-card .area-number,
.area-card .area-content { position: relative; z-index: 1; }
.area-card:hover {
  transform: translateY(-6px);
  border-color: rgba(187,187,187,0.25);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.area-card:hover::after { opacity: 1; }

.equipe-card:hover .equipe-foto { transform: scale(1.06); border-color: #D8D8D8; }
.equipe-foto { transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.4s ease; }

.info-icon { transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.info-item:hover .info-icon { transform: scale(1.15) rotate(4deg); }

/* --- Sobre number: clip reveal --- */
.sobre-card-number {
  background: linear-gradient(180deg, rgba(232,232,232,0.98), rgba(190,190,190,0.6));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.js-animate [data-animate] .sobre-card-number {
  clip-path: inset(-0.6em 100% -0.2em 0);
  transition: clip-path 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}
.js-animate [data-animate].visible .sobre-card-number { clip-path: inset(-0.6em 0 -0.2em 0); }

/* --- WhatsApp float: pulsing ring + gentle float --- */
.whatsapp-float {
  animation: waPulse 2.6s ease-out infinite, floatY 3.4s ease-in-out infinite;
}
.whatsapp-float:hover { animation-play-state: paused; }

/* --- Map: subtle zoom on reveal --- */
.js-animate [data-animate] .mapa-wrap,
.js-animate .mapa-wrap[data-animate] { transform: scale(0.97); transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.js-animate [data-animate].visible .mapa-wrap,
.js-animate .mapa-wrap[data-animate].visible { transform: scale(1); }
.mapa-wrap { transition: filter 0.5s ease; }
.mapa-wrap:hover { filter: grayscale(0) contrast(1); }

/* --- Header entrance --- */
#header { animation: fadeInDown 0.7s ease both; }
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   RESPONSIVE — fluid spacing (phone → notebook → desktop)
   ========================================================= */
.container { padding-inline: clamp(18px, 5vw, 24px); }

/* fluid vertical rhythm for every major band */
.diferenciais,
.sobre-resumo,
.sobre,
.areas,
.equipe,
.cta-section,
.contato { padding-block: clamp(3.5rem, 9vw, 8rem); }
.diferenciais { padding-block: clamp(3.5rem, 8vw, 6rem); }

.section-header { margin-bottom: clamp(2.5rem, 6vw, 5rem); }

.sobre-resumo-grid { gap: clamp(2.5rem, 6vw, 6rem); }
.sobre-content     { gap: clamp(2.5rem, 6vw, 6rem); }
.contato-grid      { gap: clamp(2.5rem, 5vw, 5rem); }
.footer-inner      { gap: clamp(2rem, 5vw, 4rem); }

/* robust auto-fitting grids replace the fixed breakpoints */
.diferenciais-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.equipe-grid       { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(1rem, 2.5vw, 1.5rem); }

/* --- Notebook / small laptop --- */
@media (max-width: 1280px) {
  .container { max-width: 1080px; }
  .hero-content { max-width: 680px; }
  .hero-logo-deco svg { width: 300px; height: 300px; }
  .area-card { padding: clamp(2rem, 4vw, 3.5rem); }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .areas-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Tablet --- */
@media (max-width: 768px) {
  .hero { min-height: 92vh; min-height: 92svh; }
  .hero-logo-deco { opacity: 0.5; }
  .hero-logo-deco svg { width: 220px; height: 220px; }
  .areas-grid { grid-template-columns: 1fr; }
  .sobre-quote { font-size: 1.05rem; }

  /* keep reveals on mobile — just quicker and without blur */
  .js-animate [data-animate] {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    filter: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .js-animate [data-animate="left"],
  .js-animate [data-animate="right"],
  .js-animate [data-animate="scale"] { transform: translate3d(0, 22px, 0); }
  .js-animate [data-animate].visible {
    opacity: 1;
    transform: none;
  }
}

/* --- Phone --- */
@media (max-width: 540px) {
  html { font-size: 15px; }
  .hero-content { padding: 7.5rem clamp(18px, 5vw, 24px) 5rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .diferencial-item { padding: 2.25rem 1.75rem; }
  .contato-form { padding: 1.75rem 1.25rem; }
  .whatsapp-float { bottom: 1.25rem; right: 1.25rem; }
  .scroll-progress { height: 2px; }
}

@media (max-width: 380px) {
  .logo-sub { display: none; }
  .hero-logo-deco { display: none; }
}

/* --- Respect reduced motion for every new effect --- */
@media (prefers-reduced-motion: reduce) {
  .hero-logo-deco,
  .hero-overlay::after,
  .hero-title em,
  .whatsapp-float { animation: none !important; }
  .hero-title em { -webkit-text-fill-color: #9B9B9B; }
  #header { animation: none !important; }
  .js-animate [data-animate],
  .js-animate [data-animate].visible {
    filter: none !important;
    clip-path: none !important;
  }
  .scroll-progress { display: none; }
}
