/* ==========================================================================
   DESIGN TOKENS & VARIABLES
   ========================================================================== */
:root {
  /* Paleta de Cores de Alto Padrão - Preto & Dourado */
  --navy: #0A0A0A;          /* Preto Profundo - Fundo Principal */
  --blue: #121212;          /* Preto Intermediário - Fundo de Cards */
  --gold: #C9A84C;          /* Dourado Nobre */
  --gold-light: #E6C775;    /* Dourado Brilhante */
  --gold-dark: #8A6F27;     /* Dourado Profundo */
  --cream: #F5EDD8;         /* Creme Clássico - Fundo Claro / Textos no Escuro */
  --nude: #EDE0C4;          /* Nude Suave - Fundo de Apoio */
  
  /* Textos */
  --text-dark: #0A0A0A;
  --text-light: #F5EDD8;
  --text-muted: #8A8A8A;

  /* Easing & Transições (Curva de Luxo Apple-like) */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --t-snappy: 0.25s var(--ease-premium);
  --t-smooth: 0.5s var(--ease-premium);
  
  /* Botões e WhatsApp Widget defaults */
  --wa-accent: #25D366;
  --wa-ink: #0A0A0A;
  --wa-ink-2: #3A3A3A;
  --wa-ink-3: #7A7A7A;
  --wa-line: #C9A84C;
  --wa-line-soft: #EDE0C4;
  --wa-chip-border: #C9A84C;
  --wa-bubble-in: #F5EDD8;
  --wa-surface: #FFFFFF;
  --wa-ease: var(--ease-premium);
}

/* ==========================================================================
   RESET & RESET PREVENTIVOS (ANTIFRÁGIL)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--navy);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  caret-color: transparent !important; /* Bloqueio de efeito site editável */
  user-select: none;                   /* Bloqueio global de seleção */
  -webkit-font-smoothing: antialiased;
}

/* Permite seleção APENAS em textos informativos e legíveis */
h1, h2, h3, h4, p, li, span, blockquote, a, button, summary {
  user-select: text;
}

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

button, input {
  font: inherit;
  border: none;
  background: none;
}

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

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.25;
}

.kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: inline-block;
}

/* ==========================================================================
   LAYOUT & CONTAINER
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 6rem 0;
  position: relative;
}

/* Alinhamento perfeito de âncoras */
#inicio, #sobre, #atuacao, #metodologia, #faq, #contato {
  scroll-margin-top: 80px;
}
@media (max-width: 768px) {
  #inicio, #sobre, #atuacao, #metodologia, #faq, #contato {
    scroll-margin-top: 60px;
  }
}

/* ==========================================================================
   NAVBAR INTELIGENTE (SEÇÃO 0)
   ========================================================================== */
@keyframes navEntrance {
  from {
    transform: translateY(-40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes linkEntrance {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: transparent;
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity var(--t-smooth), transform var(--t-smooth), background-color var(--t-smooth), border-color var(--t-smooth), backdrop-filter var(--t-smooth);
}

.navbar.is-visible {
  animation: navEntrance 1.2s var(--ease-premium) forwards;
  pointer-events: auto;
}

/* Estado inicial para queda em cascata */
.navbar .navbar-logo,
.navbar .navbar-link {
  opacity: 0;
}

.navbar.is-visible .navbar-logo {
  animation: linkEntrance 0.8s var(--ease-premium) forwards;
  animation-delay: 0.15s;
}

.navbar.is-visible .navbar-link {
  animation: linkEntrance 0.8s var(--ease-premium) forwards;
}

.navbar.is-visible .navbar-link:nth-child(1) { animation-delay: 0.25s; }
.navbar.is-visible .navbar-link:nth-child(2) { animation-delay: 0.35s; }
.navbar.is-visible .navbar-link:nth-child(3) { animation-delay: 0.45s; }
.navbar.is-visible .navbar-link:nth-child(4) { animation-delay: 0.55s; }
.navbar.is-visible .navbar-link:nth-child(5) { animation-delay: 0.65s; }
.navbar.is-visible .navbar-link:nth-child(6) { animation-delay: 0.75s; }

.navbar.is-scrolled {
  background-color: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.navbar-menu {
  display: flex;
  gap: 2.25rem;
  list-style: none;
}

.navbar-link {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-light);
  position: relative;
  padding: 0.5rem 0;
  transition: letter-spacing var(--t-snappy);
}

/* Linha fina que expande no hover (criadordesite.md) */
.navbar-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-smooth);
}

@media (hover: hover) and (pointer: fine) {
  .navbar-link:hover {
    letter-spacing: 0.04em; /* Micro-interação de texto (criadordesite.md) */
  }
  .navbar-link:hover::after {
    transform: scaleX(1);
  }
}

/* Navbar Hamburguer para Mobile */
.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.navbar-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-light);
  transition: transform var(--t-snappy), opacity var(--t-snappy);
}

@media (max-width: 768px) {
  .navbar-toggle {
    display: flex;
  }
  .navbar-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--navy);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform var(--t-smooth);
    border-top: 1px solid rgba(201, 168, 76, 0.1);
  }
  .navbar-menu.is-active {
    transform: translateX(0);
  }
}

/* ==========================================================================
   SEÇÃO 1: HERO (#inicio)
   ========================================================================== */
.hero {
  position: relative;
  background-color: var(--navy);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
  /* Degradê radial escuro + Noise grain SVG via CSS */
  background-image: 
    radial-gradient(circle at 75% 50%, rgba(201, 168, 76, 0.09) 0%, rgba(10, 10, 10, 0) 60%),
    radial-gradient(circle at 15% 20%, rgba(201, 168, 76, 0.06) 0%, rgba(10, 10, 10, 0) 50%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.012'/%3E%3C/svg%3E");
}

/* Mascaramento escuro do fundo para legibilidade do texto na esquerda */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0A0A0A 0%, #0A0A0A 40%, rgba(10, 10, 10, 0.7) 75%, rgba(10, 10, 10, 0.25) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 720px;
  text-align: left; /* Ancorado à esquerda 100% (criadordesite.md) */
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  color: var(--cream);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero h1 span.gold-text {
  background: linear-gradient(135deg, #F5EDD8 0%, #E6C775 35%, #C9A84C 70%, #8A6F27 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero p.lead {
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--nude);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 580px;
}

.hero-image-bg {
  position: absolute;
  top: 50%;
  right: 0%;
  transform: translateY(-68%) scale(1.08);
  width: 48%;
  max-width: 580px;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: contain;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 1.5s var(--ease-premium), transform 1.5s var(--ease-premium);
  /* Máscara radial para suavizar as bordas quadradas da imagem e integrá-la perfeitamente ao fundo */
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 95%);
  mask-image: radial-gradient(circle, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 95%);
}

@keyframes heroParallax {
  from {
    transform: translateY(-68%) scale(1.08);
  }
  to {
    transform: translateY(-56%) scale(1.02);
  }
}

.hero-image-bg.reveal-hero-active {
  opacity: 0.15 !important;
  animation: heroParallax linear both;
  animation-timeline: scroll(root block);
  animation-range: start 0% exit 100%;
}

@media (max-width: 992px) {
  .hero-image-bg {
    width: 60%;
    right: -5%;
  }
}

@media (max-width: 768px) {
  .hero::before {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.8) 50%, rgba(10, 10, 10, 0.5) 100%);
  }
  .hero-image-bg {
    width: 80%;
    right: 50%;
    top: 60%;
    transform: translate(50%, -50%) scale(1.05);
  }
  .hero-image-bg.reveal-hero-active {
    opacity: 0.03 !important; /* Exatamente 3% no mobile */
    transform: translate(50%, -50%) scale(1) !important;
    animation: none !important; /* Desativa parallax no mobile */
  }
}

/* ==========================================================================================
   BOTÕES E COMPONENTES DE AÇÃO
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
  border-radius: 4px; /* Limite de 4px (criadordesite.md) */
  transition: transform var(--t-snappy), background-color var(--t-snappy), box-shadow var(--t-snappy);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background-color: var(--gold);
  color: var(--navy);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35); /* Sombra difusa e escura */
  }
}

.btn-primary:focus {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

/* ==========================================================================
   SEÇÃO 2: A ADVOGADA / SOBRE (#sobre)
   ========================================================================== */
.sobre {
  background-color: var(--cream);
  color: var(--navy);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4.5rem;
  align-items: center;
}

@media (max-width: 992px) {
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Moldura tracejada fina estilo croqui (criadordesite.md) */
.sobre-photo-wrapper {
  position: relative;
  aspect-ratio: 3/4;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border: 1px dashed var(--gold);
  padding: 12px;
}

.sobre-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(201, 168, 76, 0.2);
  filter: grayscale(15%) contrast(105%);
}

.sobre-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.sobre-content .subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sobre-content p {
  font-size: 0.975rem;
  line-height: 1.7;
  color: rgba(10, 10, 10, 0.85);
  margin-bottom: 1.25rem;
}

.sobre-content p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   SEÇÃO 3: ÁREAS DE ATUAÇÃO (#atuacao)
   ========================================================================== */
.atuacao {
  background-color: var(--navy);
  color: var(--cream);
  content-visibility: auto;
  contain-intrinsic-size: 800px; /* Perf extrema (criadordesite.md) */
}

.atuacao-header {
  max-width: 600px;
  margin-bottom: 4rem;
}

.atuacao h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--cream);
  margin-bottom: 1rem;
}

.atuacao-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  transition: all var(--t-smooth);
}

@media (hover: hover) and (pointer: fine) {
  .atuacao-grid:hover .atuacao-card:not(:hover) {
    opacity: 0.45;
    filter: grayscale(20%) blur(0.5px);
    transform: scale(0.98);
  }
}

.atuacao-card {
  background-color: var(--blue);
  border: 1px solid rgba(201, 168, 76, 0.08); /* Borda 1px dourada baixa opacidade */
  border-radius: 8px; /* Limite de 8px (criadordesite.md) */
  padding: 2.5rem;
  transition: opacity var(--t-smooth), filter var(--t-smooth), border-color var(--t-smooth), transform var(--t-smooth), box-shadow var(--t-smooth);
}

.atuacao-card-main {
  border: 1px solid rgba(201, 168, 76, 0.25);
  position: relative;
  overflow: hidden;
}

.atuacao-card-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.atuacao-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  color: var(--gold);
}

.atuacao-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.25;
  fill: none;
  stroke: currentColor;
  display: block;
}

.atuacao-card h3 {
  font-size: 1.35rem;
  color: var(--cream);
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.atuacao-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.atuacao-list {
  list-style: none;
}

.atuacao-list li {
  font-size: 0.88rem;
  color: var(--nude);
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.65rem;
}

.atuacao-list li::before {
  content: '▪';
  color: var(--gold);
  position: absolute;
  left: 0;
  top: -1px;
  font-size: 0.9rem;
}

@media (hover: hover) and (pointer: fine) {
  .atuacao-card:hover {
    border-color: rgba(201, 168, 76, 0.6) !important;
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
  }
}

/* ==========================================================================
   SEÇÃO 4: METODOLOGIA (#metodologia)
   ========================================================================== */
.metodologia {
  background-color: var(--nude);
  color: var(--navy);
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

.metodologia-header {
  margin-bottom: 4rem;
}

.metodologia h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.metodologia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3.5rem;
}

.metodologia-step {
  position: relative;
  padding-top: 1.5rem;
}

.metodologia-step-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.85s var(--ease-premium),
              box-shadow 0.85s var(--ease-premium),
              border-color 0.85s var(--ease-premium);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 1.5rem;
}

.metodologia-number {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-dark);
  opacity: 0.22; /* Opacidade reduzida (criadordesite.md) */
  margin-bottom: 0.5rem;
}

.metodologia-title {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  transition: transform 0.85s var(--ease-premium),
              color 0.85s var(--ease-premium);
  transform-origin: left top;
}

.metodologia-desc-wrapper {
  flex-grow: 1;
  display: block;
}

.metodologia-desc {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.85s var(--ease-premium),
              transform 0.85s var(--ease-premium);
  will-change: transform, opacity;
  font-size: 0.925rem;
  line-height: 1.65;
  color: rgba(10, 10, 10, 0.8);
}

@media (hover: hover) and (pointer: fine) {
  .metodologia-step-inner:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(10, 10, 10, 0.05);
  }

  .metodologia-step-inner:hover .metodologia-title {
    transform: scale(0.85);
    color: var(--gold-dark);
  }

  .metodologia-step-inner:hover .metodologia-desc {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .metodologia-desc {
    opacity: 1 !important;
    transform: none !important;
  }
  .metodologia-title {
    transform: none !important;
  }
}

/* ==========================================================================================
   SEÇÃO 5: FAQ / DÚVIDAS (#faq)
   ========================================================================== */
.faq {
  background-color: var(--cream);
  color: var(--navy);
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

.faq-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem auto;
}

.faq h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  padding-bottom: 1rem;
}

/* Custom Accordion com HTML nativo, estilizado para controle por JS */
.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--navy);
  transition: letter-spacing var(--t-snappy);
}

.faq-trigger h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  padding-right: 1.5rem;
}

@media (hover: hover) and (pointer: fine) {
  .faq-trigger:hover {
    letter-spacing: 0.01em;
    color: var(--gold-dark);
  }
}

.faq-icon-svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  stroke: var(--gold-dark);
  stroke-width: 2;
  fill: none;
  transition: transform var(--t-smooth);
}

/* Animação com CSS Grid (criadordesite.md) */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-smooth);
}

.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-answer p {
  padding-top: 0.5rem;
  padding-bottom: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(10, 10, 10, 0.8);
}

/* Estados dinâmicos e isolamento de classes */
.faq-item.faq-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.faq-open .faq-icon-svg {
  transform: rotate(45deg);
}

/* ==========================================================================
   SEÇÃO 6: CTA FINAL (#contato)
   ========================================================================== */
.cta {
  background-color: var(--navy);
  padding: 8rem 0; /* Padding Y enorme (criadordesite.md) */
  text-align: center;
}

.cta-container {
  max-width: 720px;
  margin: 0 auto;
}

.cta h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.cta p {
  font-size: 1.1rem;
  color: var(--nude);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* ==========================================================================
   SEÇÃO 7: FOOTER
   ========================================================================== */
.footer {
  background-color: #050505;
  color: var(--cream);
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.footer-logo img {
  height: 48px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-logo p {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.85rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--nude);
  transition: color var(--t-snappy), letter-spacing var(--t-snappy);
}

@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover {
    color: var(--gold);
    letter-spacing: 0.04em;
  }
}

.footer-contact p {
  font-size: 0.88rem;
  color: var(--nude);
  margin-bottom: 0.85rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 168, 76, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-developer {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Link desenvolvedor obrigatório (criadordesite.md) */
.footer-bottom-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--t-snappy);
}

@media (hover: hover) and (pointer: fine) {
  .footer-bottom-link:hover {
    color: var(--gold) !important;
  }
}

/* ==========================================================================
   WHATSAPP WIDGET & FAB (botaozap.md)
   ========================================================================== */
.wa-ico {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M.057 24l1.687-6.163a11.867 11.867 0 0 1-1.587-5.946C.16 5.335 5.495 0 12.05 0a11.817 11.817 0 0 1 8.413 3.488 11.824 11.824 0 0 1 3.48 8.414c-.003 6.557-5.338 11.892-11.893 11.892a11.9 11.9 0 0 1-5.688-1.448L.057 24zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884a9.86 9.86 0 0 0 1.51 5.26l-.999 3.648 3.748-.984zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01a1.1 1.1 0 0 0-.792.372c-.272.297-1.04 1.016-1.04 2.479s1.065 2.876 1.213 3.074c.149.198 2.095 3.2 5.076 4.487.709.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.695.248-1.29.173-1.414z'/%3E%3C/svg%3E");
}
.wa-ico--lg {
  width: 1.7rem;
  height: 1.7rem;
}

#whatsappFab {
  position: fixed;
  right: 20px;
  bottom: 84px;
  z-index: 46;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
  transform: translateY(120%) scale(0.6);
  opacity: 0;
  transition: transform .4s var(--wa-ease), opacity .4s ease, box-shadow .3s ease;
}

#whatsappFab.is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Se o menu mobile estiver aberto, esconde o FAB */
body.menu-open #whatsappFab.is-visible {
  transform: translateY(120%) scale(0.6);
  opacity: 0;
}

@media (min-width: 768px) {
  #whatsappFab {
    right: 36px;
    bottom: 36px;
    width: 68px;
    height: 68px;
  }
  #whatsappFab .wa-ico {
    width: 2rem;
    height: 2rem;
  }
}

@media (min-width: 768px) and (hover: hover) {
  #whatsappFab.is-visible:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    transform: scale(1.06);
  }
}

/* Chat widget (desktop, abre no hover do FAB) */
.wa-widget {
  position: fixed;
  right: 36px;
  bottom: 120px;
  z-index: 59;
  width: 280px;
  transform-origin: bottom right;
  opacity: 0;
  transform: scale(0.9) translateY(4px);
  pointer-events: none;
  transition: opacity .35s var(--wa-ease), transform .4s var(--wa-ease);
}
.wa-widget.is-open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.wa-panel {
  position: relative;
  background: var(--wa-surface);
  border: 1.5px solid var(--wa-line);
  border-radius: 8px; /* Limite de 8px (criadordesite.md) */
  padding: 14px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.wa-panel::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--wa-surface);
  border-right: 1.5px solid var(--wa-line);
  border-bottom: 1.5px solid var(--wa-line);
  border-bottom-right-radius: 3px;
  bottom: -8px;
  right: 30px;
  transform: rotate(45deg);
}

.wa-scroll {
  max-height: min(58vh, 400px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #d2d2d2 transparent;
}
.wa-scroll::-webkit-scrollbar {
  width: 5px;
}
.wa-scroll::-webkit-scrollbar-thumb {
  background: #d2d2d2;
  border-radius: 5px;
}

.wa-thread {
  display: flex;
  flex-direction: column;
}

.wa-bubble {
  max-width: 88%;
  padding: 8px 11px;
  font-size: 0.82rem;
  line-height: 1.45;
  border-radius: 8px; /* Limite de 8px */
  margin-bottom: 12px;
  overflow-wrap: break-word;
  animation: waMsgIn .35s var(--wa-ease) both;
}

.wa-bubble--in {
  background: var(--wa-bubble-in);
  color: var(--wa-ink);
  border-top-left-radius: 2px;
  align-self: flex-start;
}

.wa-bubble--out {
  background: var(--wa-ink);
  color: #FFFFFF;
  border-top-right-radius: 2px;
  align-self: flex-end;
}

.wa-bubble--typing {
  padding: 11px 13px;
}

.wa-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.wa-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a8a8a8;
  animation: waType 1.2s infinite ease-in-out;
}
.wa-dots span:nth-child(2) { animation-delay: .18s; }
.wa-dots span:nth-child(3) { animation-delay: .36s; }

@keyframes waType {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-4px); opacity: 1; }
}
@keyframes waMsgIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

.wa-quick {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 5px;
}

.wa-chip {
  width: 100%;
  text-align: left;
  background: var(--wa-surface);
  border: 1px solid var(--wa-chip-border);
  border-radius: 4px; /* Limite de 4px */
  padding: 8px 11px;
  font: inherit;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--wa-ink-2);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.wa-chip:hover {
  border-color: var(--wa-ink);
  color: var(--wa-ink);
  background: #FAFAFA;
}

.wa-quick-end {
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--wa-ink-3);
  margin: 6px 2px 0;
}

.wa-cta {
  display: block;
  text-align: center;
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid var(--wa-line-soft);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--wa-ink);
  text-decoration: none;
}
.wa-cta:hover {
  text-decoration: underline;
}

.wa-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--wa-line);
  background: var(--wa-surface);
  color: var(--wa-line);
  cursor: pointer;
  padding: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.14);
  transition: background .2s ease, color .2s ease;
}
.wa-close:hover {
  background: var(--wa-line);
  color: #fff;
}

/* Teaser (convite de descanso, desktop) */
.wa-teaser {
  position: fixed;
  right: 36px;
  bottom: 120px;
  z-index: 58;
  opacity: 0;
  transform: translateY(6px) scale(0.96);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity .35s var(--wa-ease), transform .4s var(--wa-ease);
}
.wa-teaser.is-shown {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.wa-teaser-bubble {
  position: relative;
  display: block;
  max-width: 200px;
  background: var(--wa-surface);
  border: 1.5px solid var(--wa-line);
  border-radius: 8px; /* Limite de 8px */
  padding: 10px 13px;
  font: inherit;
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--wa-ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0,0,0,0.16);
  transition: background .2s ease;
}
.wa-teaser-bubble:hover {
  background: #FAFAFA;
}
.wa-teaser-bubble::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--wa-surface);
  border-right: 1.5px solid var(--wa-line);
  border-bottom: 1.5px solid var(--wa-line);
  border-bottom-right-radius: 3px;
  bottom: -7px;
  right: 26px;
  transform: rotate(45deg);
}

.wa-teaser-x {
  position: absolute;
  top: -9px;
  right: -9px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--wa-line);
  background: var(--wa-surface);
  color: var(--wa-line);
  cursor: pointer;
  padding: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.14);
  transition: background .2s ease, color .2s ease;
}
.wa-teaser-x:hover {
  background: var(--wa-line);
  color: #fff;
}

.wa-close::before, .wa-close::after, .wa-teaser-x::before, .wa-teaser-x::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}
.wa-close::before, .wa-teaser-x::before { transform: translate(-50%,-50%) rotate(45deg); }
.wa-close::after, .wa-teaser-x::after { transform: translate(-50%,-50%) rotate(-45deg); }

/* Sem Tailwind: display classes customizados */
.wa-widget, .wa-teaser {
  display: none;
}
@media (min-width: 768px) {
  .wa-widget, .wa-teaser {
    display: block;
  }
}

/* ==========================================================================
   PREFERS REDUCED MOTION & RESPONSIVIDADE
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-delay: 0s !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
  .wa-dots span {
    animation: none !important;
    opacity: 1 !important;
  }
}

/* ==========================================================================
   REVEAL ON SCROLL ANIMATIONS (DE FORA PARA DENTRO)
   ========================================================================== */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1.2s var(--ease-premium), transform 1.2s var(--ease-premium);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 1.2s var(--ease-premium), transform 1.2s var(--ease-premium);
}

.reveal-active {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* Delays para grids, lists ou cards sequenciais */
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* ==========================================================================
   EFEITO LEVE DE STAGGER DE PARÁGRAFOS (SOBRE NÓS)
   ========================================================================== */
.sobre-text p {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.8s var(--ease-premium), transform 0.8s var(--ease-premium);
  will-change: transform, opacity;
}

.sobre-text.reveal-active p {
  opacity: 1;
  transform: translateY(0);
}

.sobre-text.reveal-active p:nth-of-type(1) { transition-delay: 0.15s; }
.sobre-text.reveal-active p:nth-of-type(2) { transition-delay: 0.3s; }
.sobre-text.reveal-active p:nth-of-type(3) { transition-delay: 0.45s; }
.sobre-text.reveal-active p:nth-of-type(4) { transition-delay: 0.6s; }

/* Adicionando will-change para as transições mais pesadas (detalhe.md) */
.reveal-left,
.reveal-right,
.hero-image-bg,
.atuacao-card,
.metodologia-step-inner {
  will-change: transform, opacity;
}


