/* ========================================
   Victor Tavares Advocacia – Landing Page
   Visual Impactante & Elegante
   ======================================== */

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

:root {
  --white: #ffffff;
  --dark: #121413;
  --gray: #cecece;
  --gray-light: #f7f7f6;
  --gray-mid: #e8e8e7;
  --gold: #c9a96e;
  --gold-light: #d4b87a;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* --- Container --- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* --- Typography --- */
h1, h2, h3 {
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
  font-size: 1.125rem;
}

p {
  font-weight: 300;
}

/* --- Section Helpers --- */
.section-tag {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-tag::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.section-header {
  margin-bottom: 56px;
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-tag {
  justify-content: center;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Lexend', sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--dark);
  color: var(--white);
  padding: 16px 36px;
}

.btn--primary:hover {
  background: #2a2b29;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(18, 20, 19, 0.25);
}

.btn--accent {
  background: var(--white);
  color: var(--dark);
  padding: 16px 36px;
  font-weight: 600;
}

.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  padding: 16px 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn--outline {
  background: transparent;
  color: var(--dark);
  padding: 16px 36px;
  border: 1.5px solid var(--gray);
}

.btn--outline:hover {
  border-color: var(--dark);
  background: var(--gray-light);
}

.btn--large {
  padding: 20px 48px;
  font-size: 1.0625rem;
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  transition: all var(--transition);
  padding: 15px 0 15px 0;
}

.header--scrolled {
  box-shadow: 0 1px 0 var(--gray-mid);
}

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

.header__logo img {
  height: 80px;
  width: auto;
}

.header__nav {
  display: flex;
  gap: 36px;
}

.header__nav a {
  font-size: 0.875rem;
  font-weight: 400;
  color: #666;
  transition: color var(--transition);
  position: relative;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}

.header__nav a:hover {
  color: var(--dark);
}

.header__nav a:hover::after {
  width: 100%;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 8px;
  background: #25D366;
  border: none;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.header__phone:hover {
  background: #20bd5a;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.header__phone svg {
  color: var(--white);
  flex-shrink: 0;
}

.header__phone-number {
  letter-spacing: 0.02em;
}

.header__menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__menu span {
  width: 24px;
  height: 1.5px;
  background: var(--dark);
  transition: all var(--transition);
}

/* ========================================
   Hero – Full-Screen Dark & Impactante
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.6;
}

.hero__inner {
  position: relative;
  z-index: 3;
  padding: 160px 0 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__image {
  position: relative;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero__image img {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 20px;
  margin-left: auto;
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.4);
}

.hero__image::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: calc(50% - 14px);
  width: 100px;
  height: 100px;
  border: 2px solid var(--gold);
  border-radius: 20px;
  opacity: 0.2;
  z-index: -1;
}

.hero__tag {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: fadeInUp 0.8s ease both;
}

.hero__tag-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.hero__title {
  color: var(--white);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.15s both;
}

.hero__title span {
  color: var(--gold);
  position: relative;
  font-style: italic;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero__badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.45s both;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
}

.badge svg {
  color: var(--gold);
  flex-shrink: 0;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero__lawyer {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
  animation: fadeInUp 0.8s ease 0.75s both;
}

.hero__lawyer strong {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.hero__scroll {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  color: rgba(255, 255, 255, 0.3);
  animation: bounceDown 2s ease infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   Problema
   ======================================== */
.problema {
  padding: 100px 0;
  background: var(--white);
}

.problema__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.problema__card {
  background: var(--white);
  border-radius: 14px;
  padding: 32px 20px;
  text-align: center;
  border: 1px solid var(--gray-mid);
  transition: all var(--transition);
  position: relative;
}

.problema__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
  border-radius: 0 0 2px 2px;
}

.problema__card:hover {
  border-color: var(--gray);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.problema__card:hover::before {
  width: 40px;
}

.problema__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--dark);
  transition: all var(--transition);
}

.problema__card:hover .problema__icon {
  background: var(--dark);
  color: var(--white);
}

.problema__card p {
  font-size: 0.875rem;
  font-weight: 400;
  color: #555;
  line-height: 1.5;
}

.problema__warning {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
  padding: 28px 0;
  border-top: 1px solid var(--gray-mid);
  letter-spacing: -0.01em;
}

/* ========================================
   Solução
   ======================================== */
.solucao {
  padding: 100px 0;
  background: var(--gray-light);
}

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

.solucao__image {
  position: relative;
}

.solucao__image img {
  border-radius: 20px;
  object-fit: cover;
  width: 100%;
  aspect-ratio: 3 / 4;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

.solucao__image::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: -16px;
  width: 120px;
  height: 120px;
  border: 2px solid var(--gold);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.4;
}

.solucao__content h2 {
  margin-bottom: 16px;
}

.solucao__content h2 span {
  color: var(--gold);
  position: relative;
}

.solucao__desc {
  color: #666;
  margin-bottom: 28px;
  font-size: 1.0625rem;
}

.solucao__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.solucao__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.9375rem;
  font-weight: 400;
  color: #444;
  padding: 12px 16px;
  border-radius: 10px;
  transition: background var(--transition);
}

.solucao__list li:hover {
  background: var(--white);
}

.solucao__list li svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.solucao__highlight {
  font-weight: 500;
  color: var(--dark);
  padding: 20px 24px;
  background: var(--white);
  border-radius: 12px;
  border-left: 3px solid var(--gold);
  font-size: 0.9375rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* ========================================
   Diferenciais
   ======================================== */
.diferenciais {
  padding: 100px 0;
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.diferenciais::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
}

.diferenciais .section-tag::before {
  background: var(--gold);
}

.diferenciais .section-header--center h2 {
  color: var(--white);
}

.diferenciais__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.diferencial-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}

.diferencial-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(201, 169, 110, 0.2);
  transform: translateY(-4px);
}

.diferencial-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(201, 169, 110, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--gold);
  transition: all var(--transition);
}

.diferencial-card:hover .diferencial-card__icon {
  background: var(--gold);
  color: var(--dark);
}

.diferencial-card h3 {
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--white);
}

.diferencial-card p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

/* ========================================
   Benefícios
   ======================================== */
.beneficios {
  padding: 100px 0;
}

.beneficios__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.beneficios__content h2 {
  margin-bottom: 0;
}

.beneficios__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.beneficio-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: var(--gray-light);
  border-radius: 12px;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.beneficio-item:hover {
  background: var(--white);
  border-color: var(--gray-mid);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.beneficio-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

.beneficio-item span {
  font-size: 0.9375rem;
  font-weight: 400;
}

/* ========================================
   Sobre
   ======================================== */
.sobre {
  padding: 100px 0;
  background: var(--gray-light);
}

.sobre__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sobre__oab {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.sobre__content p {
  color: #555;
  margin-bottom: 12px;
  font-size: 1.0625rem;
}

.sobre__areas {
  margin-top: 32px;
}

.sobre__areas h3 {
  margin-bottom: 16px;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
}

.sobre__area-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.area-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 400;
  color: #555;
  transition: all var(--transition);
}

.area-tag:hover {
  border-color: var(--gold);
  color: var(--dark);
}

.sobre__image {
  position: relative;
}

.sobre__image img {
  border-radius: 20px;
  object-fit: cover;
  width: 100%;
  aspect-ratio: 3 / 4;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.1);
}

.sobre__image::before {
  content: '';
  position: absolute;
  top: -16px;
  right: -16px;
  width: 120px;
  height: 120px;
  border: 2px solid var(--gold);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.3;
}

/* ========================================
   Confiança
   ======================================== */
.confianca {
  padding: 80px 0;
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.confianca::before {
  content: '';
  position: absolute;
  left: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.08) 0%, transparent 70%);
}

.confianca__inner {
  display: flex;
  align-items: center;
  gap: 36px;
  position: relative;
  z-index: 1;
}

.confianca__icon {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: rgba(201, 169, 110, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.confianca__content h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 500;
  margin-bottom: 8px;
}

.confianca__content p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9375rem;
}

/* ========================================
   CTA
   ======================================== */
.cta {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
}

.cta__inner {
  position: relative;
  z-index: 1;
}

.cta__inner h2 {
  margin-bottom: 16px;
}

.cta__inner h2 span {
  color: var(--gold);
}

.cta__inner > p {
  color: #666;
  max-width: 520px;
  margin: 0 auto 40px;
  font-size: 1.0625rem;
}

.cta__badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.cta__badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 400;
  color: #888;
}

.cta__badges span svg {
  color: var(--gold);
}

.cta__urgency {
  margin-top: 28px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--dark);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 56px 0 36px;
  background: var(--dark);
  color: var(--white);
}

.footer__inner {
  text-align: center;
}

.footer__brand {
  margin-bottom: 20px;
}

.footer__brand img {
  height: 80px;
  margin: 0 auto 10px;
}

.footer__brand p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__info {
  margin-bottom: 24px;
}

.footer__info p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
}

.footer__bottom p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ========================================
   WhatsApp Float
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: all var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  animation: whatsappPulse 2s ease-in-out infinite;
  z-index: -1;
}

@keyframes whatsappPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.4); opacity: 0; }
}

/* ========================================
   Animations – Scroll Reveal
   ======================================== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children for grids */
.problema__card.fade-up,
.diferencial-card.fade-up,
.beneficio-item.fade-up {
  transition-delay: calc(var(--i, 0) * 0.08s);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .problema__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .diferenciais__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  /* Header mobile: esconde menu, mostra whatsapp com número */
  .header__nav {
    display: none !important;
  }

  .header__menu {
    display: none !important;
  }

  .header__phone {
    padding: 8px 14px;
    font-size: 0.8125rem;
  }

  .header__phone-number {
    display: inline;
  }

  /* Hero mobile */
  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 50px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    padding-top: 0;
    padding-bottom: 0;
    gap: 40px;
  }

  .hero__image {
    text-align: center;
  }

  .hero__image img {
    max-width: 280px;
    margin: 0 auto;
    border-radius: 16px;
  }

  .hero__image::after {
    display: none;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    justify-content: center;
  }

  .hero__scroll {
    display: none;
  }

  .problema__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solucao__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .solucao__image {
    max-width: 420px;
    margin: 0 auto;
  }

  .diferenciais__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .beneficios__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .sobre__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .sobre__image {
    max-width: 420px;
    margin: 0 auto;
  }

  .confianca__inner {
    flex-direction: column;
    text-align: center;
  }

  .cta__badges {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .header__logo img {
    height: 52px;
  }

  .problema__grid {
    grid-template-columns: 1fr;
  }

  .diferenciais__grid {
    grid-template-columns: 1fr;
  }

  .sobre__area-list {
    flex-direction: column;
  }
}
