/* =========================================================
   VITOR LISBOA ADVOGADOS ASSOCIADOS
   Site institucional — estilos
   Paleta: Preto, Azul (gradiente teal→azul), Prata/off-white
   ========================================================= */

:root {
  --black: #0A0A0A;
  --black-2: #121418;
  --black-3: #1A1D22;
  --blue-dark: #163E50;
  --blue: #2A7A96;
  --blue-light: #3DA5C9;
  --silver: #C5C5C5;
  --silver-light: #E6E6E6;
  --off-white: #F5F3EE;
  --white: #FFFFFF;
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
  --border: rgba(255,255,255,0.08);
  --border-dark: rgba(0,0,0,0.08);

  --ff-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --ff-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1200px;
  --radius: 4px;
  --transition: all .35s cubic-bezier(.2,.8,.2,1);
}

/* Reset */
*,*::before,*::after { box-sizing: border-box; margin:0; padding:0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.65;
  color: #2b2e34;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display:block; max-width:100%; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
a:hover { color: var(--blue-light); }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

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

/* Typography */
h1, h2, h3, h4 { font-family: var(--ff-serif); font-weight: 500; line-height: 1.15; letter-spacing: .5px; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; letter-spacing: 1.5px; text-transform: uppercase; font-family: var(--ff-sans); font-weight: 600; }
.eyebrow {
  font-family: var(--ff-sans);
  font-size: .78rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue-light);
  margin-bottom: 12px;
}
.accent { color: var(--blue-light); font-style: italic; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 500;
  letter-spacing: .5px;
  font-size: .95rem;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
}
.btn--primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: var(--white);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(61,165,201,.3); color: var(--white); }
.btn--ghost {
  background: transparent; color: #2b3139;
  border: 1px solid rgba(22,62,80,.35);
}
.btn--ghost:hover { background: rgba(22,62,80,.05); border-color: var(--blue); color: var(--blue); }
.btn--whatsapp {
  background: var(--whatsapp); color: var(--white);
}
.btn--whatsapp:hover { background: var(--whatsapp-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,211,102,.3); }
.btn--block { display: flex; justify-content: center; width: 100%; margin-top: 10px; }

/* ========================= HEADER ========================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.header.is-scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 18px rgba(22,62,80,.08);
  border-bottom-color: rgba(0,0,0,.08);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  min-height: 80px;
}
.header__logo img { height: 50px; width: auto; }

.nav__list {
  display: flex; gap: 30px; align-items: center;
}
.nav__list a {
  color: #2b3139;
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: 1px;
  position: relative;
  padding: 8px 0;
}
.nav__list a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%); transition: var(--transition);
}
.nav__list a:hover { color: var(--blue); }
.nav__list a:hover::after { width: 100%; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: #2b3139; transition: var(--transition); }

.header__cta { padding: 10px 18px; font-size: .88rem; }

/* ========================= HERO ========================= */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  color: #2b3139;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(61,165,201,.12), transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(42,122,150,.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f4f6f8 100%);
  overflow: hidden;
  padding: 140px 0 100px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(22,62,80,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,62,80,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  pointer-events: none;
}
.hero__content { position: relative; text-align: center; max-width: 900px; }
.hero__logo {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto 30px;
  display: block;
  filter: drop-shadow(0 6px 20px rgba(22,62,80,.15));
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hero__subtitle {
  font-size: clamp(1.05rem, 1.65vw, 1.3rem);
  color: #4a515c;
  margin-bottom: 44px;
  max-width: 720px;
  margin-left: auto; margin-right: auto;
  font-weight: 300;
  line-height: 1.6;
}
.hero__ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid rgba(22,62,80,.25);
  border-radius: 14px;
  display: flex; justify-content: center; padding-top: 8px;
}
.hero__scroll span {
  width: 3px; height: 8px; background: var(--blue); border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot { 0%,100%{transform: translateY(0); opacity:1;} 50%{transform: translateY(14px); opacity:.2;} }

/* ========================= SECTIONS ========================= */
.section { padding: 110px 0; }
.section--dark {
  background: linear-gradient(180deg, var(--black) 0%, var(--black-2) 100%);
  color: var(--silver-light);
}
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: var(--silver); }
.section__head { margin-bottom: 60px; max-width: 720px; }
.section__head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section__lead { font-size: 1.1rem; color: #555b66; margin-top: 14px; font-weight: 300; }
.section--dark .section__lead { color: var(--silver); }

/* ========================= O ESCRITÓRIO ========================= */
.escritorio__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: start;
}
.escritorio__text p { margin-bottom: 18px; font-size: 1.02rem; }
.escritorio__text strong { color: var(--white); font-weight: 500; }

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.pillars li {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 22px;
  transition: var(--transition);
}
.pillars li:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  background: rgba(61,165,201,.05);
}
.pillars__icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  border-radius: 6px;
  color: var(--white);
  margin-bottom: 16px;
}
.pillars__icon svg { width: 24px; height: 24px; }
.pillars h3 { font-size: 1.1rem; margin-bottom: 8px; font-family: var(--ff-sans); font-weight: 600; letter-spacing: .3px; }
.pillars p { font-size: .93rem; line-height: 1.55; }

/* ========================= EQUIPE ========================= */
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.team__card {
  background: var(--white);
  border: 1px solid #e9eaed;
  border-radius: 6px;
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
}
.team__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(22,62,80,.12);
  border-color: var(--blue-light);
}
.team__photo {
  width: 130px; height: 130px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-light) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-family: var(--ff-serif);
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: 2px;
  position: relative;
  box-shadow: 0 10px 30px rgba(22,62,80,.2);
}
.team__photo::before {
  content: attr(data-initials);
}
.team__card h3 {
  font-size: 1.25rem;
  color: var(--black);
  margin-bottom: 6px;
}
.team__role {
  color: var(--blue);
  font-size: .82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}
.team__area {
  font-size: .88rem;
  color: #555b66;
  font-style: italic;
  margin-bottom: 12px;
}
.team__bio {
  font-size: .9rem;
  color: #555b66;
  line-height: 1.55;
}
.team__note {
  text-align: center;
  color: #888;
  font-size: .88rem;
  margin-top: 40px;
  font-style: italic;
}

/* ========================= ÁREAS ========================= */
.areas__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.area__card {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.area__card::before {
  content: '';
  position: absolute; top:0; left:0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.area__card:hover {
  background: rgba(61,165,201,.06);
  border-color: var(--blue);
  transform: translateY(-4px);
}
.area__card:hover::before { transform: scaleX(1); }
.area__icon {
  width: 52px; height: 52px;
  background: rgba(61,165,201,.12);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-light);
  margin-bottom: 20px;
}
.area__icon svg { width: 26px; height: 26px; }
.area__card h3 {
  font-size: 1.08rem;
  font-family: var(--ff-sans);
  font-weight: 600;
  letter-spacing: .3px;
  margin-bottom: 10px;
  color: var(--white);
}
.area__card p { font-size: .92rem; line-height: 1.55; }

/* ========================= COMO ATUAMOS ========================= */
.atuacao__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  counter-reset: step;
}
.atuacao__item {
  padding: 30px 24px;
  border-left: 3px solid var(--blue-light);
  background: #fafafa;
  border-radius: 0 6px 6px 0;
  transition: var(--transition);
}
.atuacao__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(22,62,80,.08);
}
.atuacao__num {
  display: block;
  font-family: var(--ff-serif);
  font-size: 2.5rem;
  font-weight: 500;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
  line-height: 1;
}
.atuacao__item h3 {
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--black);
  margin-bottom: 10px;
}
.atuacao__item p { font-size: .92rem; color: #555b66; }

/* ========================= CONTATO ========================= */
.contato__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: start;
}
.contato__item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contato__item:last-of-type { border-bottom: 0; }
.contato__icon {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  background: rgba(61,165,201,.12);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-light);
}
.contato__icon svg { width: 22px; height: 22px; }
.contato__item h3 {
  font-family: var(--ff-sans);
  font-size: .82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue-light);
  margin-bottom: 6px;
}
.contato__item p { font-size: .98rem; color: var(--silver-light); line-height: 1.55; }
.contato__item a { color: var(--silver-light); }
.contato__item a:hover { color: var(--blue-light); }

.contato__map {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
  border: 1px solid var(--border);
  min-height: 520px;
  height: 100%;
}
.contato__map iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  filter: grayscale(.2) contrast(1.05);
}

/* ========================= FOOTER ========================= */
.footer {
  background: #050607;
  color: var(--silver);
  padding-top: 70px;
  font-size: .92rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1.4fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer__brand img { height: 68px; margin-bottom: 16px; }
.footer__brand p { color: var(--silver); max-width: 280px; }
.footer__col h4 { color: var(--white); margin-bottom: 18px; font-size: .82rem; letter-spacing: 2px; }
.footer__col ul li { margin-bottom: 8px; }
.footer__col a { color: var(--silver); }
.footer__col a:hover { color: var(--blue-light); }
.footer__legal {
  color: #7d8390;
  font-size: .82rem;
  line-height: 1.55;
}
.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  text-align: center;
  color: #6c717b;
  font-size: .82rem;
}

/* ========================= WHATSAPP FLUTUANTE ========================= */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 62px; height: 62px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  z-index: 99;
  transition: var(--transition);
  animation: pulse 2.2s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.08); background: var(--whatsapp-dark); }
@keyframes pulse {
  0% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* ========================= ANIMAÇÕES DE ENTRADA ========================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================= RESPONSIVO ========================= */
@media (max-width: 1024px) {
  .team__grid, .areas__grid, .atuacao__grid { grid-template-columns: repeat(2, 1fr); }
  .escritorio__grid { grid-template-columns: 1fr; gap: 40px; }
  .contato__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .header__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__list {
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: rgba(10,10,10,.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    transform: translateY(-110%);
    transition: transform .4s cubic-bezier(.2,.8,.2,1);
  }
  .nav__list.is-open { transform: translateY(0); }
  .nav__list li { width: 100%; border-bottom: 1px solid var(--border); }
  .nav__list a { display: block; padding: 14px 0; }
  .header__logo img { height: 42px; }

  .hero { padding: 140px 0 100px; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { justify-content: center; }

  .pillars { grid-template-columns: 1fr; }
  .team__grid, .areas__grid, .atuacao__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .whatsapp-float { width: 56px; height: 56px; right: 18px; bottom: 18px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .section__head { margin-bottom: 40px; }
}
