/* ═══════════════════════════════════════════════════════════════
   ELIZANGELA ALVES GOMES — ADVOGADA
   Premium One-Page Website · Stylesheet
   ═══════════════════════════════════════════════════════════════ */

/* ── 01 · DESIGN TOKENS ──────────────────────────────────────── */
:root {
  --gold: #C8922A;
  --gold-light: #E5B558;
  --gold-dark: #8E6118;
  --gold-pale: #F5EDD8;
  --cream: #F8F4EE;
  --cream-dark: #EDE7DC;
  --black: #111010;
  --ink: #1C1C1C;
  --text: #3A3228;
  --muted: #7A6E63;
  --white: #FFFFFF;
  --border: rgba(200, 146, 42, 0.25);

  --font-display: 'Bookman', 'Bookman Old Style', 'URW Bookman L', 'Cormorant Garamond', serif;
  --font-sc: 'Bookman', 'Bookman Old Style', serif;
  --font-body: 'Lato', 'Segoe UI', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  --container-width: 1216px;
  --nav-height: 90px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

html,
body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

/* Blindagem de Seções contra Scroll Lateral */
section {
  overflow-x: hidden;
  position: relative;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

/* ── CUSTOM SCROLLBAR ────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 10px;
  border: 2px solid var(--black);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dark) var(--black);
}

/* ── 03 · TYPOGRAPHY ─────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2.8rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.8;
}

/* ── 04 · PRELOADER ──────────────────────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
}

.preloader-logo {
  width: 180px;
  opacity: 0;
}

.preloader-bar {
  width: 200px;
  height: 1px;
  background: rgba(200, 146, 42, 0.2);
  position: relative;
  overflow: hidden;
}

.preloader-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: var(--gold);
  animation: preload-fill 1.5s ease-out forwards;
}

@keyframes preload-fill {
  to {
    width: 100%;
  }
}

/* ── 05 · NAVIGATION ─────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: var(--container-width);
  max-width: calc(100% - 60px);
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(17, 16, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(17, 16, 16, 0.98);
  top: 15px;
  height: 80px;
  border-color: rgba(255, 255, 255, 0.1);
}

.nav-logo img {
  height: 68px;
  width: auto;
  transition: all var(--transition);
}

.navbar.scrolled .nav-logo img {
  height: 54px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  font-family: var(--font-body) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--black) !important;
  padding: 0.7rem 2rem;
  border-radius: 50px;
  transition: background var(--transition), transform 0.2s !important;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--white) !important;
  transform: translateY(-2px);
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ── 06 · HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
  padding: 0;
  /* Garantindo que a seção não tenha padding */
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  right: -5%;
  bottom: 0;
  width: 55%;
  height: 100%;
  z-index: 2;
  opacity: 0;
  /* Começa invisível */
  transform: translateX(80px);
  /* Começa já deslocada para evitar o "salto" */
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.45) 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.45) 0%, transparent 85%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(-45deg,
      transparent,
      transparent 60px,
      rgba(200, 146, 42, 0.025) 60px,
      rgba(200, 146, 42, 0.025) 62px);
  z-index: 3;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 10;
  height: 100%;
  width: 100%;
  /* Ocupa os 1216px do container pai */
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-content {
  width: 100%;
  max-width: 800px;
  /* Aumentado para dar mais fôlego ao texto */
  padding-top: 40px;
  padding-left: 0;
  text-align: left;
}

.hero-eyebrow {
  opacity: 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  opacity: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 3.8rem;
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
  font-weight: 600;
  color: var(--gold-light);
}

.hero-description {
  opacity: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 2.5rem;
  border-left: 2px solid var(--gold);
  padding-left: 1.2rem;
}

.hero-action-area {
  display: flex;
  align-items: flex-end;
  /* Alinhamento inferior com os botões */
  gap: 4rem;
  margin-top: 1rem;
}

.hero-buttons {
  opacity: 0;
  display: flex !important;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 5px;
  /* Ajuste fino de alinhamento visual */
}

.hero-lawyers-display {
  display: flex;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
}

.hero-lawyer-card {
  position: relative;
  width: 150px;
  height: 190px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(200, 146, 42, 0.3);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease;
}

.hero-lawyer-card:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
}

.hero-lawyer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
}

.hero-lawyer-card span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(17, 16, 16, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--gold-light);
  font-family: var(--font-sc);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 4px;
  text-align: center;
  border-top: 1px solid rgba(200, 146, 42, 0.2);
}

@media (max-width: 900px) {
  .hero-action-area {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
  }

  .hero-lawyers-display {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-lawyers-display {
    display: none;
    /* Oculta no mobile muito pequeno para não poluir */
  }
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Shimmer/Brilho Padrão */
.btn-primary::before,
.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  transition: 0.5s;
}

.btn-primary:hover::before,
.btn-outline:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  border: none;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(200, 146, 42, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-primary svg,
.btn-outline svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s;
}

.btn-primary:hover svg,
.btn-outline:hover svg {
  transform: translateX(4px);
}


.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-sc);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(200, 146, 42, 0.3);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scroll-indicator 2s ease-in-out infinite;
}

@keyframes scroll-indicator {
  0% {
    top: -100%;
  }

  50% {
    top: 100%;
  }

  100% {
    top: 100%;
  }
}

.about {
  padding: var(--space-xl) 0;
  background: var(--cream);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0;
  /* Removendo padding para encostar na guia */
}

.about-visual {
  position: relative;
}

.about-quote-card {
  background: var(--ink);
  padding: 2.5rem;
  position: relative;
}

.about-quote-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), transparent);
}

.about-quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.about-quote-author {
  font-family: var(--font-sc);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
  padding: 1.2rem 0.5rem;
  border: 1px solid var(--border);
  background: var(--white);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-family: var(--font-sc);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  line-height: 1.3;
}

.about-text .section-title {
  color: var(--ink);
}

.about-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

/* ── 08 · AREAS DE ATUAÇÃO ───────────────────────────────────── */
.areas {
  padding: var(--space-xl) 0;
  background: var(--cream);
  position: relative;
}

.areas .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

.areas .section-title {
  color: var(--ink);
}

.areas .section-subtitle {
  color: var(--muted);
  margin: 0 auto;
}

.areas-header {
  text-align: center;
  margin-bottom: 4rem;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.area-card {
  background: var(--ink);
  border: 1px solid rgba(200, 146, 42, 0.15);
  padding: 2.2rem 1.8rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.area-card:hover::before {
  transform: scaleX(1);
}

.area-card:hover {
  background: #252525;
  /* Grafite suave para contraste no hover */
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.area-card:hover .area-icon {
  background: var(--gold);
  color: var(--black);
}

.area-card:hover .area-icon svg {
  stroke: var(--black);
}

.area-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--gold);
  border: 1px solid rgba(200, 146, 42, 0.25);
  background: rgba(200, 146, 42, 0.07);
}

.area-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.area-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.8rem;
  letter-spacing: 0.02em;
}

.area-card p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* Specialties Grid */
.specialties-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 2rem;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.specialty-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.specialty-item:hover {
  border-color: var(--gold);
  background: var(--cream-dark);
}

.specialty-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  flex-shrink: 0;
}

.specialty-item span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--ink);
}

/* ── 09 · EQUIPE ─────────────────────────────────────────────── */
.team {
  padding: var(--space-xl) 0;
  background: var(--cream);
}

.team .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

.team-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
  align-items: end;
}

.team-header .section-subtitle {
  text-align: right;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
  justify-content: center;
}

.team-card {
  position: relative;
  overflow: hidden;
  background: var(--black);
  aspect-ratio: 4/5;
  border-radius: 4px;
}

.team-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--black), var(--ink));
  position: relative;
  overflow: hidden;
}

.team-image-placeholder::after {
  content: 'Foto Oficial';
  font-family: var(--font-sc);
  color: var(--gold);
  opacity: 0.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s;
  display: block;
}

.team-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 1.5rem 1.5rem;
  background: linear-gradient(transparent, rgba(17, 16, 16, 0.98) 40%);
  transition: transform 0.4s ease;
  z-index: 3;
}

.team-card-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.team-card-role {
  font-family: var(--font-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0;
  transition: margin 0.4s ease;
}

.team-card-bio {
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0;
  opacity: 0;
  max-height: 0;
  overflow-y: auto;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding-right: 8px;
}

/* Custom Scrollbar */
.team-card-bio::-webkit-scrollbar {
  width: 4px;
}

.team-card-bio::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}

.team-card:hover .team-card-bio {
  opacity: 1;
  max-height: 380px;
  margin-top: 1rem;
}

.team-card:hover .team-card-role {
  margin-bottom: 0.5rem;
}

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

  .team-card {
    height: auto;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    background: var(--ink);
    border-radius: 8px;
    overflow: visible;
  }

  .team-card img {
    height: 450px;
    object-position: top;
    border-radius: 8px 8px 0 0;
  }

  .team-card-info {
    position: relative;
    padding: 2rem 1.5rem;
    background: var(--ink);
    transform: none !important;
    border-radius: 0 0 8px 8px;
  }

  .team-card-bio {
    opacity: 1;
    max-height: none;
    margin-top: 1rem;
    overflow: visible;
    color: rgba(255, 255, 255, 0.7);
  }

  .team-header {
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
  }
}



/* ── 10 · DEPOIMENTOS ────────────────────────────────────────── */
.testimonials {
  padding: var(--space-xl) 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonials .section-title {
  color: var(--ink);
  margin-bottom: 1rem;
}

.google-rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.rating-score {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 1.2rem;
}

.rating-count {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.testimonials-carousel-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.testimonials-grid {
  display: flex !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 2rem;
  padding: 1rem 0 3rem;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

.testimonials-grid::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.testimonial-card {
  flex: 0 0 calc(50% - 1rem);
  /* Mostra 2 cards por vez */
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2.5rem;
  position: relative;
  transition: all var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

@media (max-width: 900px) {
  .testimonial-card {
    flex: 0 0 100%;
    /* 1 card no mobile */
  }
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: -1rem;
  margin-bottom: 3rem;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.carousel-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(200, 146, 42, 0.1),
      transparent);
  transition: 0.5s;
}

.carousel-btn:hover::before {
  left: 100%;
}

.carousel-btn:hover {
  background: var(--white);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
  color: var(--gold);
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
}

.testimonial-text {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 2rem;
}

.testimonial-author {
  position: relative;
  padding-left: 1.5rem;
}

.testimonial-author::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 20px;
  background: var(--gold);
}

.testimonial-author strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
}

.testimonial-author span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.testimonials-footer {
  text-align: center;
  margin-top: 2rem;
}

.testimonials-footer .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

/* Fallback de visibilidade para o reveal */
.testimonials .reveal {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ── 11 · CONTATO ────────────────────────────────────────────── */
.contact {
  padding: var(--space-xl) 0;
  background: var(--black);
}

.contact .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact .section-title {
  color: var(--white);
}

.contact-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(200, 146, 42, 0.1);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon-box {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(200, 146, 42, 0.08);
  border: 1px solid rgba(200, 146, 42, 0.2);
  color: var(--gold);
}

.contact-icon-box svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.contact-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.15rem;
}

.contact-value {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.contact-value a {
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition);
}

.contact-value a:hover {
  color: var(--gold-light);
}

.contact-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(200, 146, 42, 0.2);
  color: var(--gold);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

/* Contact Map */
.contact-map-wrapper {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(200, 146, 42, 0.12);
  padding: 2rem;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
  min-height: 450px;
}

.map-tabs {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid rgba(200, 146, 42, 0.15);
  padding-bottom: 0.8rem;
}

.map-tab-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}

.map-tab-btn::after {
  content: '';
  position: absolute;
  bottom: -0.9rem;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.map-tab-btn.active {
  color: var(--gold-light);
}

.map-tab-btn.active::after {
  transform: scaleX(1);
}

.map-tab-btn:hover {
  color: var(--white);
}

.map-container {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 1px solid rgba(200, 146, 42, 0.2);
  position: relative;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  transition: opacity 0.3s ease;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 146, 42, 0.2);
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
  font-style: italic;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  background: rgba(200, 146, 42, 0.04);
}

.form-select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C8922A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.form-select option {
  background: var(--ink);
  color: var(--white);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--black);
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
}

.form-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  transition: 0.5s;
}

.form-submit:hover::before {
  left: 100%;
}

.form-submit:hover {
  background: var(--gold-light);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(200, 146, 42, 0.3);
}

.form-submit svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s;
}

.form-submit:hover svg {
  transform: translateX(4px);
}


/* ── 11 · FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(200, 146, 42, 0.12);
  padding: 3.5rem 0 1.5rem;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(200, 146, 42, 0.08);
}

.footer-brand img {
  height: 70px;
  width: auto;
  margin-bottom: 1.2rem;
}

.footer-brand p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer-col a {
  display: block;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  padding: 0.3rem 0;
  transition: color var(--transition), padding-left 0.3s;
}

.footer-col a:hover {
  color: var(--gold-light);
  padding-left: 0.3rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.03em;
}

.footer-oab {
  font-family: var(--font-sc);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
}

/* ── 12 · WHATSAPP FLOAT ─────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-decoration: none;
}

.whatsapp-label {
  background: white;
  color: #075E54;
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
  white-space: nowrap;
  margin-right: 15px;
}

.whatsapp-float:hover .whatsapp-label {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-icon-container {
  position: relative;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  /* Centralização perfeita */
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  z-index: 2;
}

.whatsapp-icon-container svg {
  width: 32px;
  height: 32px;
  fill: white;
  display: block;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover .whatsapp-icon-container {
  transform: scale(1.1);
}

.whatsapp-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: #25D366;
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .whatsapp-label {
    display: none;
  }

  .whatsapp-icon-container {
    width: 56px;
    height: 56px;
  }

  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

/* ── 13 · REVEAL ANIMATIONS ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
}

/* ── 14 · GOLD DIVIDER ───────────────────────────────────────── */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0;
}

.section-divider::before,
.section-divider::after {
  content: '';
  height: 1px;
  flex: 1;
  max-width: 200px;
}

.section-divider.light::before,
.section-divider.light::after {
  background: linear-gradient(90deg, transparent, var(--border));
}

.section-divider.light::after {
  background: linear-gradient(90deg, var(--border), transparent);
}

.section-divider .ornament {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.15em;
}

/* ── 15 · RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

  .contact .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .team-header {
    grid-template-columns: 1fr;
  }

  .team-header .section-subtitle {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 1.5rem;
    transform: none;
    left: 20px;
    right: 20px;
    width: auto;
    max-width: none;
    top: 20px;
    background: rgba(17, 16, 16, 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(17, 16, 16, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--border);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    padding: 0 1.5rem;
    padding-top: calc(var(--nav-height) + 2rem);
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .hero-bg {
    width: 100%;
    right: 0;
    opacity: 0.15;
  }

  .hero-bg img {
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 70%);
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 70%);
  }

  .section-title {
    font-size: 2.2rem;
  }

  .about .container,
  .areas .container,
  .team .container,
  .testimonials .container,
  .contact .container,
  .footer .container {
    padding: 0 1.5rem;
  }

  .about,
  .areas,
  .team,
  .testimonials,
  .contact {
    padding: 4rem 0;
  }

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

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

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }
}