/* ==========================================================================
   Perla Nogueira Advocacia - Design System & Styles
   Baseado na estética e animações do template Consultra (Framer)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@1,500;1,600;1,700&family=Inter:wght@400;500;600&family=Manrope:wght@500;600;700;800&family=Playfair+Display:ital,wght@1,500;1,600;1,700&display=swap');

:root {
  /* Cores - Modo Escuro Nobre (Hero, Processo, FAQ, Footer) */
  --bg-dark: #08080a;
  --bg-dark-surface: #101115;
  --bg-dark-card: #14161c;
  --bg-dark-card-hover: #1a1d26;
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-dark-hover: rgba(219, 157, 46, 0.4);

  /* Cores - Modo Claro Warm (Especialidades & Diferenciais) */
  --bg-light: #f7f4ee;
  --bg-light-surface: #ffffff;
  --bg-light-card: #ffffff;
  --border-light: rgba(0, 0, 0, 0.07);
  --border-light-hover: rgba(219, 157, 46, 0.4);

  /* Acentos de Marca (Dourado Oficial #DB9D2E) */
  --gold-primary: #DB9D2E;
  --gold-glow: #EDB13D;
  --accent-amber: #DB9D2E;
  --accent-gradient: linear-gradient(135deg, #DB9D2E 0%, #F5BC53 50%, #C48821 100%);
  --gold-btn-gradient: linear-gradient(135deg, #DB9D2E 0%, #EDB13D 100%);

  /* Textos */
  --text-dark-primary: #ffffff;
  --text-dark-secondary: #9da3af;
  --text-dark-muted: #6b7280;

  --text-light-primary: #171612;
  --text-light-secondary: #57534e;
  --text-light-muted: #78716c;

  /* Contato & WhatsApp */
  --whatsapp-green: #12803f;
  --whatsapp-hover: #0e6833;

  /* Tipografia */
  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;

  /* Layout */
  --container-max: 1220px;
  --container-pad: clamp(16px, 4vw, 32px);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Efeitos */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 10px 30px rgba(219, 157, 46, 0.25);

  /* Transições fluidas */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-base: 0.35s var(--ease-smooth);
  --transition-slow: 0.6s var(--ease-smooth);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-dark-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* Container Central */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* Badges e Pílulas */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-dark-primary);
  backdrop-filter: blur(8px);
}

.badge-pill.light {
  background-color: #171612;
  border: 1px solid #171612;
  color: #ffffff;
}

.badge-pill .icon {
  color: var(--accent-amber);
}

/* Botões Estilo Framer Consultra */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
}

.btn-pill .btn-circle-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.btn-pill .btn-circle-arrow svg {
  width: 14px;
  height: 14px;
  display: block;
}

.btn-pill:hover {
  transform: translateY(-2px);
}

.btn-pill:hover .btn-circle-arrow {
  transform: rotate(45deg);
}

/* Botão Primário (Branco com Círculo Escuro) */
.btn-primary-consultra {
  background-color: #ffffff;
  color: #101115;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-primary-consultra .btn-circle-arrow {
  background-color: #101115;
  color: #ffffff;
}

.btn-primary-consultra:hover {
  background-color: #f0f0f0;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

/* Botão Secundário (Escuro Translúcido) */
.btn-secondary-consultra {
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 6px 6px 20px;
}

.btn-secondary-consultra .btn-circle-arrow {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.btn-secondary-consultra:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn-secondary-consultra:hover .btn-circle-arrow {
  background-color: rgba(255, 255, 255, 0.22);
}

/* Botão Ouro / Destaque */
.btn-gold {
  background: var(--gold-btn-gradient);
  color: #0b0c0e;
  box-shadow: 0 6px 20px rgba(219, 157, 46, 0.25);
}

.btn-gold .btn-circle-arrow {
  background-color: #0b0c0e;
  color: #ffffff;
}

.btn-gold:hover {
  box-shadow: 0 8px 28px rgba(219, 157, 46, 0.4);
}

/* Botão para Seção Clara */
.btn-dark-pill {
  background-color: #171612;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.btn-dark-pill .btn-circle-arrow {
  background-color: #ffffff;
  color: #171612;
}

.btn-dark-pill:hover {
  background-color: #272520;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

/* ==========================================================================
   Header / Navbar (Sticky Glassmorphic)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: padding var(--transition-base), background-color var(--transition-base), backdrop-filter var(--transition-base), border-color var(--transition-base);
}

.site-header.scrolled {
  padding: 10px 0;
  background-color: rgba(8, 8, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-monogram {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(219, 157, 46, 0.3));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: #ffffff;
  line-height: 1.15;
}

.brand-sub {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-glow);
  line-height: 1.15;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #c9cdd4;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: #ffffff;
}

.mobile-only-nav-item {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* ==========================================================================
   Hero Section (Estilo Widescreen Consultra)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 94vh;
  padding-top: 150px;
  padding-bottom: 70px;
  display: flex;
  align-items: center;
  background-color: #08080a;
  background-image: 
    linear-gradient(90deg, rgba(8, 8, 10, 0.98) 0%, rgba(8, 8, 10, 0.92) 36%, rgba(8, 8, 10, 0.5) 58%, rgba(8, 8, 10, 0.1) 75%, rgba(8, 8, 10, 0.4) 100%),
    url('../assets/hero-consultra-perla.jpg');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 30%, rgba(219, 157, 46, 0.1) 0%, rgba(0, 0, 0, 0) 65%);
  pointer-events: none;
}

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

.hero-content {
  max-width: 630px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-stars-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-stars {
  display: flex;
  gap: 4px;
  color: var(--accent-amber);
  font-size: 1rem;
}

.hero-stars-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #c9cdd4;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 22px;
}

.hero-title .highlight,
.hero-title .highlight-serif,
.highlight-serif,
.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--gold-primary);
  background: none;
  -webkit-text-fill-color: initial;
  display: inline-block;
  padding: 0 4px;
  letter-spacing: -0.01em;
}

.hero-description {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--text-dark-secondary);
  line-height: 1.65;
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-buttons-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-tags-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.hero-tag-item {
  font-size: 0.84rem;
  font-weight: 500;
  color: #9da3af;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-tag-divider {
  width: 1px;
  height: 16px;
  background-color: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Faixa de Métricas e Autoridade
   ========================================================================== */
.metrics-section {
  padding: 40px 0;
  background-color: #0b0c0f;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-item {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 0.875rem;
  color: #9da3af;
  line-height: 1.35;
}

/* ==========================================================================
   SEÇÃO CLARA: Especialidades / Serviços (Estilo Consultra)
   ========================================================================== */
.section-light {
  background-color: var(--bg-light);
  color: var(--text-light-primary);
  padding: 110px 0;
  position: relative;
}

.section-header-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px auto;
}

.section-header-center .badge-pill {
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-light-primary);
  line-height: 1.18;
  margin-bottom: 16px;
}

.section-title .accent-word,
.section-title .highlight-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--gold-primary);
  display: inline-block;
  padding: 0 4px;
}

.section-description {
  font-size: 1.0625rem;
  color: var(--text-light-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Grid de Cards de Serviços (Estilo Consultra - Imagens 3 e 4)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.service-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 32px;
  text-decoration: none;
  background-color: #0c0d10;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-card.full-width {
  grid-column: span 2;
  height: 400px;
}

.service-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.38) 70%, rgba(0, 0, 0, 0.9) 100%);
  transition: background 0.4s var(--ease-smooth);
}

.service-card-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.service-card-info {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.service-card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.service-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
  transition: color var(--transition-fast);
}

.service-card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.service-card-arrow svg {
  width: 20px;
  height: 20px;
}

/* No Desktop (Imagem 3): Descrição recolhida por padrão; revela suavemente no hover */
.service-card-desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  max-width: 520px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, margin-top 0.35s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

.service-card:hover .service-card-bg {
  transform: scale(1.05);
}

.service-card:hover .service-card-gradient {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.5) 65%, rgba(0, 0, 0, 0.95) 100%);
}

.service-card:hover .service-card-arrow {
  transform: rotate(45deg);
  color: var(--gold-primary);
}

.service-card:hover .service-card-desc {
  max-height: 80px;
  opacity: 1;
  margin-top: 10px;
}

/* ==========================================================================
   SEÇÃO: Nossos Diferenciais / Por que nos escolher
   ========================================================================== */
.strengths-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: stretch;
  margin-top: 50px;
}

.strengths-portrait-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 520px;
  background-color: #111215;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.strengths-portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Card Frosted Glass Flutuante (Estilo Consultra - Imagem 2) */
.strengths-glass-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  padding: 24px 22px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.strengths-stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.strengths-stat-label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #171612;
  line-height: 1.35;
  margin-bottom: 16px;
}

/* Botão Pílula Branco com Seta Preta (Imagem 2) */
.btn-white-pill {
  background-color: #ffffff;
  color: #171612;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 8px 8px 8px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-white-pill .btn-circle-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #171612;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.btn-white-pill .btn-circle-arrow svg {
  width: 15px;
  height: 15px;
}

.btn-white-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.btn-white-pill:hover .btn-circle-arrow {
  transform: rotate(45deg);
}

/* Grid de Cards da Direita (Imagem 2) */
.strengths-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-box {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-fast);
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
  border-color: rgba(219, 157, 46, 0.3);
}

/* Ícone Ilustrado sem Caixa/Fundo (Livre como na Imagem 2) */
.feature-icon-wrapper {
  margin-bottom: 22px;
  display: flex;
  align-items: center;
}

.feature-icon-wrapper svg {
  width: 42px;
  height: 42px;
  stroke: var(--gold-primary);
  filter: drop-shadow(0 2px 8px rgba(219, 157, 46, 0.15));
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #171612;
  letter-spacing: -0.015em;
  line-height: 1.28;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.9375rem;
  color: #57534e;
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   Marquee / Ticker Infinito
   ========================================================================== */
.marquee-container {
  overflow: hidden;
  user-select: none;
  padding: 32px 0;
  background-color: #faf7f2;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.marquee-track.reverse {
  animation: marquee-reverse 35s linear infinite;
  margin-top: 14px;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-pill {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-light-primary);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.marquee-pill.accent {
  background-color: rgba(219, 157, 46, 0.12);
  border-color: rgba(219, 157, 46, 0.3);
  color: var(--gold-primary);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-reverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ==========================================================================
   Modelos de Atendimento (Adaptado do Layout 2-Cards do Consultra)
   ========================================================================== */
.plans-section {
  padding: 110px 0;
  background-color: var(--bg-light);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1040px;
  margin: 0 auto;
}

.plan-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.plan-card.highlight-card {
  border: 2px solid var(--accent-amber);
  box-shadow: 0 16px 40px rgba(219, 157, 46, 0.15);
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.plan-header {
  margin-bottom: 24px;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-amber);
  margin-bottom: 12px;
}

.plan-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-light-primary);
  line-height: 1.2;
  margin-bottom: 12px;
}

.plan-desc {
  font-size: 0.95rem;
  color: var(--text-light-secondary);
  line-height: 1.55;
}

.plan-divider {
  height: 1px;
  background-color: var(--border-light);
  margin: 28px 0;
}

.plan-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  flex-grow: 1;
}

.plan-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-light-primary);
  line-height: 1.45;
}

.plan-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(219, 157, 46, 0.15);
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-check-icon svg {
  width: 12px;
  height: 12px;
}

/* ==========================================================================
   SEÇÃO ESCURA: Como Funciona o Processo (Our Process)
   ========================================================================== */
.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-dark-primary);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.section-dark .section-title {
  color: #ffffff;
}

.section-dark .section-description {
  color: var(--text-dark-secondary);
}

/* ==========================================================================
   Como Funciona o Atendimento - Consultra Sticky Showcase
   ========================================================================== */
.section-process {
  position: relative;
  overflow: visible;
  padding: 120px 0 140px;
}

.process-showcase-wrapper {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: flex-start;
  margin-top: 70px;
  position: relative;
}

/* Coluna da Esquerda: Passos Sequenciais */
.process-steps-list {
  display: flex;
  flex-direction: column;
}

.process-step-item {
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
  opacity: 0.28;
  transition: opacity 0.45s ease, transform 0.45s ease;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.process-step-item:last-child {
  border-bottom: none;
  min-height: 48vh;
}

.process-step-item.is-active {
  opacity: 1;
}

.process-step-number {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 7.5vw, 6.75rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.22);
  line-height: 0.95;
  margin-bottom: 28px;
  transition: color 0.4s ease, transform 0.4s ease;
}

.process-step-item.is-active .process-step-number {
  color: rgba(255, 255, 255, 0.6);
}

.process-step-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.4vw, 2.25rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.process-step-desc {
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  color: var(--text-dark-secondary);
  line-height: 1.65;
  max-width: 440px;
}

/* Imagens no mobile (ocultas no desktop) */
.process-mobile-image {
  display: none;
}

/* Coluna da Direita: Showcase Fixo Sticky (Desktop) */
.process-visual-sticky {
  position: sticky;
  top: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.process-visual-card {
  position: relative;
  width: 100%;
  max-width: 530px;
  aspect-ratio: 3 / 3.75;
  border-radius: 28px;
  overflow: hidden;
  background-color: var(--bg-dark-card);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.process-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.process-visual-img.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.process-visual-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  pointer-events: none;
}

/* ==========================================================================
   Depoimentos e Prova Social
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.testimonial-card {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-base), border-color var(--transition-fast);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-dark-hover);
}

.testimonial-stars {
  color: var(--accent-amber);
  margin-bottom: 18px;
  font-size: 1.1rem;
}

.testimonial-quote {
  font-size: 1rem;
  color: #e2e5eb;
  line-height: 1.6;
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #DB9D2E, #111);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-author-name {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
}

.testimonial-author-role {
  font-size: 0.8125rem;
  color: var(--text-dark-muted);
}

/* ==========================================================================
   FAQ Section (Accordion Estilo Consultra)
   ========================================================================== */
.faq-container {
  max-width: 820px;
  margin: 50px auto 0 auto;
}

.faq-item {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-dark-hover);
  background-color: var(--bg-dark-card-hover);
}

.faq-trigger {
  width: 100%;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-base), background-color var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background-color: var(--accent-amber);
  color: #ffffff;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
  padding: 0 28px;
}

.faq-item.active .faq-body {
  max-height: 300px;
  padding: 0 28px 24px 28px;
}

.faq-content {
  font-size: 0.95rem;
  color: var(--text-dark-secondary);
  line-height: 1.65;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
}

/* ==========================================================================
   Banner CTA Final
   ========================================================================== */
.final-cta-section {
  padding: 80px 0 120px 0;
  background-color: var(--bg-dark);
}

.final-cta-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(48px, 6vw, 84px) clamp(24px, 5vw, 64px);
  background: radial-gradient(circle at 80% 20%, rgba(219, 157, 46, 0.15) 0%, rgba(20, 22, 28, 1) 70%);
  border: 1px solid rgba(219, 157, 46, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.final-cta-card .section-title {
  color: #ffffff;
  margin-bottom: 20px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-card .section-description {
  color: #c9cdd4;
  max-width: 620px;
  margin: 0 auto 36px auto;
  font-size: 1.125rem;
}

/* ==========================================================================
   Rodapé (Footer)
   ========================================================================== */
.site-footer {
  background-color: #060608;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 70px 0 40px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 50px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-oab {
  font-size: 0.84rem;
  color: var(--gold-glow);
  font-weight: 600;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-dark-muted);
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.9rem;
  color: #8b92a0;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: #ffffff;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #8b92a0;
  margin-bottom: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.8125rem;
  color: var(--text-dark-muted);
}

.footer-ethical-note {
  font-size: 0.75rem;
  color: #636b79;
  line-height: 1.5;
  margin-top: 12px;
  text-align: justify;
}

/* ==========================================================================
   Botão Flutuante do WhatsApp
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--whatsapp-green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(18, 128, 63, 0.45);
  transition: transform var(--transition-base), background-color var(--transition-fast), box-shadow var(--transition-base);
}

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

.whatsapp-float-btn:hover {
  transform: scale(1.08) translateY(-2px);
  background-color: var(--whatsapp-hover);
  box-shadow: 0 12px 30px rgba(18, 128, 63, 0.6);
}

/* ==========================================================================
   Animações de Scroll (Framer Scroll Reveal)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Acima da dobra: Animação CSS imediata sem depender do JS */
.hero-content .hero-stars-row {
  animation: heroFadeIn 0.8s var(--ease-smooth) 0.1s both;
}

.hero-content .hero-title {
  animation: heroSlideUp 0.9s var(--ease-smooth) 0.2s both;
}

.hero-content .hero-description {
  animation: heroSlideUp 0.9s var(--ease-smooth) 0.35s both;
}

.hero-content .hero-buttons-group {
  animation: heroSlideUp 0.9s var(--ease-smooth) 0.5s both;
}

.hero-content .hero-tags-strip {
  animation: heroFadeIn 1s var(--ease-smooth) 0.65s both;
}

.hero-media-wrapper {
  animation: heroMediaIn 1.1s var(--ease-smooth) 0.3s both;
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes heroMediaIn {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ==========================================================================
   Responsividade
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-section {
    background-position: 85% center;
  }

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

  .process-showcase-wrapper {
    gap: clamp(32px, 4vw, 50px);
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 820px) {
  .header-actions .btn-pill {
    display: none;
  }

  .mobile-only-nav-item {
    display: block;
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-only-nav-item .btn-pill {
    width: 100%;
    justify-content: space-between;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background-color: rgba(10, 11, 14, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-120%);
    transition: transform var(--transition-base);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .menu-toggle {
    display: flex;
  }

  .hero-section {
    min-height: auto;
    padding-top: 130px;
    padding-bottom: 60px;
    background-image: 
      linear-gradient(180deg, rgba(8, 8, 10, 0.88) 0%, rgba(8, 8, 10, 0.94) 55%, rgba(8, 8, 10, 0.98) 100%),
      url('../assets/hero-consultra-perla.jpg');
    background-position: 70% 30%;
  }

  .hero-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card,
  .service-card.full-width {
    grid-column: span 1;
    height: 420px;
    padding: 24px;
    border-radius: 20px;
  }

  .service-card-desc {
    max-height: none;
    opacity: 1;
    margin-top: 8px;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
  }

  .service-card-title {
    font-size: 1.35rem;
  }

  .service-card-arrow {
    display: none;
  }

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

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

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

@media (max-width: 580px) {
  .hero-section {
    padding-top: 105px;
    padding-bottom: 45px;
    background-image: 
      linear-gradient(180deg, rgba(8, 8, 10, 0.92) 0%, rgba(8, 8, 10, 0.9) 30%, rgba(8, 8, 10, 0.97) 70%, rgba(8, 8, 10, 1) 100%),
      url('../assets/hero-consultra-perla.jpg');
    background-position: 75% 20%;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.18;
    margin-bottom: 18px;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 26px;
  }

  .hero-buttons-group {
    flex-direction: column;
    width: 100%;
    margin-bottom: 32px;
  }

  .hero-buttons-group .btn-pill {
    width: 100%;
    justify-content: space-between;
  }

  .hero-tags-strip {
    gap: 12px;
    padding-top: 18px;
  }

  .hero-tag-divider {
    display: none;
  }

  .strengths-portrait-card {
    min-height: 460px;
    height: 460px;
    border-radius: 20px;
  }

  .strengths-glass-card {
    bottom: 16px;
    left: 16px;
    right: 16px;
    padding: 20px 18px;
    border-radius: 16px;
  }

  .strengths-stat-number {
    font-size: 2.1rem;
  }

  .strengths-stat-label {
    font-size: 0.9375rem;
    margin-bottom: 14px;
  }

  .strengths-features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-box {
    padding: 26px 22px;
    border-radius: 18px;
  }

  .section-process {
    padding: 70px 0 90px;
  }

  .process-showcase-wrapper {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 36px;
  }

  .process-visual-sticky {
    display: none;
  }

  .process-step-item {
    min-height: auto;
    padding: 36px 0 32px;
    opacity: 1;
    cursor: default;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

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

  .process-step-number {
    font-size: 3.75rem;
    color: rgba(255, 255, 255, 0.38);
    margin-bottom: 16px;
  }

  .process-step-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .process-step-desc {
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .process-mobile-image {
    display: block;
    margin-top: 24px;
    width: 100%;
    aspect-ratio: 4 / 3.4;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
  }

  .process-mobile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

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

  .service-card,
  .service-card.full-width {
    height: 390px;
    padding: 22px 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

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


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

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .marquee-track {
    animation: none !important;
  }
}
