/* ==========================================================================
   THAIS TRAVELHO ADVOCACIA - DESIGN SYSTEM & STYLES
   Referência Visual: flagrante.travelho.adv.br (Vinho Profundo & Dourado Âmbar)
   Tipografia: Playfair Display (Títulos & Destaques) / Inter (Corpo & Textos)
   ========================================================================== */

:root {
  /* Paleta Nobre & Luminosa: Marfim Nobre, Vinho Profundo e Dourado Âmbar */
  --escuro: #FAF8F5;           /* Fundo principal marfim nobre luminoso */
  --escuro-hero: #1F0508;      /* Fundo base do hero (atrás da foto) */
  --vinho-form: #FFFFFF;       /* Fundo de caixas e cards brancos */
  --vinho-card: #FFFFFF;       /* Fundo de cards luminoso */
  --vinho-card-hover: #FFFFFF; /* Fundo de card no hover */
  --vinho: #6E121D;            /* Vinho institucional Travelho */
  --vinho-title: #2A060C;      /* Vinho nobre profundo para títulos */
  --vinho-kicker: #8A1725;     /* Vinho vivo para kickers e badges */
  --vinho-texto: #201918;
  
  /* Dourados / Âmbar / Bronze */
  --dourado: #A5680B;          /* Dourado terroso / bronze nobre */
  --dourado-claro: #C8982A;    /* Dourado luminoso (destaques, títulos itálicos, bordas) */
  --dourado-btn: #A5680B;      /* Dourado principal dos botões CTA */
  --dourado-btn-hover: #B87510;
  --borda-d: #E6DCD0;          /* Borda sutil e elegante nos cards */
  --borda-d-hover: #C8982A;    /* Borda dourada no hover */

  /* Variáveis de mapeamento compatíveis com a estrutura existente */
  --color-primary: #A5680B;
  --color-primary-hover: #B87510;
  --color-primary-dark: #8C5507;
  --color-gold: #A5680B;
  --color-gold-muted: rgba(165, 104, 11, 0.28);
  --color-bg-dark: #FAF8F5;
  --color-bg-card: #FFFFFF;
  --color-bg-card-hover: #FFFFFF;
  --color-border: #E6DCD0;
  --color-border-light: #EADBCC;
  --color-text-main: #201918;
  --color-text-muted: #554746;
  --color-text-dim: #7A6C6B;
  --color-whatsapp: #25D366;
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --shadow-sm: 0 4px 12px rgba(45, 10, 15, 0.05);
  --shadow-md: 0 10px 30px rgba(45, 10, 15, 0.08);
  --shadow-lg: 0 20px 50px rgba(45, 10, 15, 0.12);
  --shadow-primary: 0 4px 20px rgba(165, 104, 11, 0.38);
  --shadow-primary-hover: 0 6px 26px rgba(184, 117, 16, 0.55);

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
  font-family: var(--font-sans);
  line-height: 1.65;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28, 4, 9, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 152, 42, 0.25);
  padding: 14px 0;
  transition: var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.15) contrast(1.05);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dourado-claro);
}

.icon-pin {
  width: 15px;
  height: 15px;
  stroke: var(--dourado-claro);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: transparent;
  border: 1px solid var(--dourado-claro);
  color: #F7F4EF;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.btn-nav:hover {
  background: var(--dourado-claro);
  color: #1F0508;
  box-shadow: 0 4px 18px rgba(200, 152, 42, 0.35);
  transform: translateY(-1px);
}

.icon-wa {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.nav-btn-text-desktop {
  display: inline;
}

.nav-btn-text-mobile {
  display: none;
}

/* ==========================================================================
   BUTTONS & BADGES (ESTILO ALTA CONVERSÃO: VERDE WHATSAPP VIBRANTE COM PULSO)
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 34px;
  background: linear-gradient(135deg, #25D366 0%, #20ba5a 50%, #128C7E 100%);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7), 0 8px 25px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  max-width: 100%;
  animation: pulse-green 2.2s infinite ease-in-out;
}

@keyframes pulse-green {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.75), 0 8px 24px rgba(18, 140, 126, 0.4);
  }
  50% {
    transform: scale(1.025);
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 12px 32px rgba(37, 211, 102, 0.75);
  }
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: 0.6s ease;
  border-radius: var(--radius-full);
  pointer-events: none;
}

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

.btn-primary:hover {
  background: linear-gradient(135deg, #2cf074 0%, #22c55e 50%, #159c47 100%);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.85), 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px) scale(1.03);
  color: #ffffff;
}

.btn-icon-wa {
  width: 28px;
  height: 28px;
  fill: #ffffff;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
  transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-icon-wa {
  transform: scale(1.14);
}

.highlight-title,
.hero-title em,
.section-title em,
.final-title em {
  color: var(--dourado-claro);
  font-style: italic;
  font-weight: 500;
  text-shadow: 0 0 16px rgba(200, 152, 42, 0.35);
}

.highlight-text {
  color: #ffffff;
  font-weight: 700;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(91, 16, 32, 0.38);
  border: 1px solid var(--borda-d);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dourado-claro);
  margin-bottom: 22px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--dourado-claro);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--dourado-claro);
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vinho-kicker);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--vinho-title);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.section-title em {
  color: var(--dourado);
  font-style: italic;
  font-weight: 600;
  text-shadow: none;
}

/* Divisor com losango dourado (assinatura visual refinada) */
.sec-div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0.9rem auto 2.2rem auto;
  max-width: 320px;
}

.sec-div::before,
.sec-div::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--dourado);
  opacity: 0.35;
}

.sec-div span {
  width: 6px;
  height: 6px;
  background: var(--dourado);
  transform: rotate(45deg);
  display: block;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ==========================================================================
   HERO SECTION - FULL BANNER (DESKTOP ALINHADO À ESQUERDA / MOBILE 9:16 SOBREPOSTO)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 85px 0 95px 0;
  background-color: var(--escuro-hero);
  color: #F7F4EF;
  overflow: hidden;
}

.hero-bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-media picture,
.hero-bg-img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-bg-img {
  object-fit: cover;
  object-position: center center;
}

/* Overlay Desktop: iluminação límpida e nobre, destacando a Dra. Thais com claridade */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(90deg, 
      rgba(24, 4, 8, 0.90) 0%, 
      rgba(24, 4, 8, 0.80) 42%, 
      rgba(24, 4, 8, 0.40) 62%, 
      rgba(24, 4, 8, 0.08) 80%, 
      transparent 100%
    ),
    linear-gradient(180deg, 
      rgba(24, 4, 8, 0.45) 0%, 
      transparent 22%, 
      transparent 78%, 
      rgba(24, 4, 8, 0.70) 100%
    );
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.hero-content {
  max-width: 680px;
  text-align: left;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 4.2vw, 3.85rem);
  font-weight: 700;
  line-height: 1.14;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 0.95);
}

.hero-plantao {
  display: block;
  color: var(--dourado-claro);
  font-style: italic;
  font-weight: 600;
  font-size: 0.78em;
  margin-top: 6px;
  letter-spacing: -0.01em;
  text-shadow: 0 0 18px rgba(200, 152, 42, 0.35), 0 2px 18px rgba(0, 0, 0, 0.95);
}

.hero-title-break {
  display: none;
}

.hero-title-link {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.hero-title-link:hover {
  opacity: 0.94;
  transform: translateY(-1px);
}

.hero-subtitle {
  font-size: clamp(1.18rem, 1.4vw, 1.32rem);
  line-height: 1.72;
  color: #f7f4ef;
  margin-bottom: 34px;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-subtitle-link {
  color: inherit;
  text-decoration: none;
  display: block;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.hero-subtitle-link:hover {
  opacity: 0.94;
}

.btn-text-mobile {
  display: none;
}

.hero-location-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 10px 18px;
  background: rgba(34, 2, 7, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-left: 3px solid var(--dourado-claro);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem;
  color: var(--color-text-main);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.icon-pin-accent {
  width: 18px;
  height: 18px;
  stroke: var(--dourado-claro);
  flex-shrink: 0;
}

/* Áreas de atuação pills */
.practice-areas-box {
  background: rgba(38, 5, 11, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--borda-d);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  margin-bottom: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.practice-title {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dourado-claro);
  margin-bottom: 14px;
}

.pills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
}

.pill-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-main);
}

.pill-bullet {
  width: 6px;
  height: 6px;
  background: var(--dourado-claro);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-subtext {
  font-size: 0.86rem;
  color: var(--color-text-dim);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Hero Urgency Badge & Live Dot */
.hero-urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(28, 4, 9, 0.88);
  border: 1px solid rgba(200, 152, 42, 0.5);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #E8BC58;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.urgency-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 10px #25D366;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.75; }
}

/* Hero Quick Pills */
.hero-quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(40, 8, 14, 0.85);
  border: 1px solid var(--borda-d);
  color: var(--color-text-main);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.quick-pill:hover {
  background: var(--dourado-btn);
  border-color: var(--dourado-claro);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(165, 104, 11, 0.4);
}

/* Hero Trust Microcopy */
.hero-trust-microcopy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 6px;
  line-height: 1.45;
}

.trust-badge-line {
  color: #f7f4ef;
  font-weight: 500;
  display: block;
}

.trust-human-line {
  color: rgba(247, 244, 239, 0.82);
  font-size: 0.78rem;
  display: block;
}

/* Trust Strip (Barra de Confiança Imediata) */
.trust-strip {
  background: #F0EAE1;
  border-top: 1px solid #DCD0BE;
  border-bottom: 1px solid #DCD0BE;
  padding: 18px 0;
  position: relative;
  z-index: 10;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: center;
}

.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: #4D3E3D;
}

.trust-strip-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.trust-strip-item strong {
  display: block;
  color: var(--vinho-title);
  font-size: 0.92rem;
  line-height: 1.25;
  font-weight: 700;
}

.trust-strip-item span {
  display: block;
  font-size: 0.8rem;
  color: #6B5B5A;
  line-height: 1.3;
}

/* ==========================================================================
   SECTION DIVIDER
   ========================================================================== */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 700px;
  margin: 20px auto 40px auto;
  padding: 0 20px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.divider-diamond {
  color: var(--color-gold);
  font-size: 0.75rem;
  padding: 0 16px;
  opacity: 0.8;
}

/* ==========================================================================
   SITUAÇÕES SECTION (DOBRA 2)
   ========================================================================== */
.section-situations {
  padding: 85px 0;
  background: #FAF8F5;
  position: relative;
  border-top: none;
}

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

.situations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 50px;
}

.situation-card {
  background: #FFFFFF;
  border: 1px solid var(--borda-d);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 18px rgba(45, 10, 15, 0.04);
}

.situation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--dourado-claro), transparent);
  opacity: 0;
  transition: var(--transition-normal);
}

.situation-card:hover {
  transform: translateY(-5px);
  background: #FFFFFF;
  border-color: var(--dourado-claro);
  box-shadow: 0 14px 34px rgba(165, 104, 11, 0.14);
}

.situation-card:hover::before {
  opacity: 1;
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: #FBF4E8;
  border: 1px solid rgba(165, 104, 11, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--dourado);
  transition: var(--transition-fast);
}

.situation-card:hover .card-icon-wrap {
  background: var(--dourado-btn);
  color: #ffffff;
  border-color: var(--dourado-btn);
  box-shadow: 0 4px 14px rgba(165, 104, 11, 0.35);
}

.card-icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--vinho-title);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.card-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  flex-grow: 1;
}

/* Card CTA link inside situation cards */
.card-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(165, 104, 11, 0.25);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dourado);
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.situation-card:hover .card-cta-link {
  color: #128C7E;
  gap: 10px;
}

.section-action {
  margin-top: 20px;
}

/* ==========================================================================
   COMO FUNCIONA O ATENDIMENTO (DOBRA 3)
   ========================================================================== */
.section-steps {
  padding: 85px 0;
  background: #F4EFE7;
  position: relative;
  border-top: 1px solid var(--borda-d);
}

.steps-card-container {
  background: #FFFFFF;
  border: 1px solid var(--borda-d);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  box-shadow: 0 12px 40px rgba(45, 10, 15, 0.05);
  position: relative;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  margin-bottom: 48px;
}

.step-box {
  background: #FAF8F5;
  border: 1px solid var(--borda-d);
  border-radius: var(--radius-sm);
  padding: 28px 22px;
  position: relative;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.step-box:hover {
  border-color: #25D366;
  background: #FFFFFF;
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.16);
}

.step-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dourado);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-num::after {
  content: '';
  width: 28px;
  height: 1px;
  background: rgba(165, 104, 11, 0.35);
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--vinho-title);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

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

.step-card-interactive {
  text-decoration: none;
  cursor: pointer;
}

.step-card-interactive:hover {
  border-color: #25D366 !important;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.2) !important;
}

.step-card-interactive:hover .step-num {
  color: #25D366 !important;
}

.step-link-arrow {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dourado);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.step-card-interactive:hover .step-link-arrow {
  color: #128C7E;
  transform: translateX(4px);
}

.steps-summary-box {
  border-top: 1px solid var(--borda-d);
  padding-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.summary-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--vinho-title);
  max-width: 760px;
  margin-bottom: 20px;
}

.summary-text strong {
  color: var(--vinho-kicker);
}

.summary-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--color-text-dim);
  margin-bottom: 26px;
}

/* ==========================================================================
   DOBRA 4 — CTA FINAL & AUTORIDADE
   ========================================================================== */
.section-final-cta {
  padding: 95px 0;
  background: #FAF8F5;
  border-top: 1px solid var(--borda-d);
  position: relative;
  overflow: hidden;
}

.final-cta-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 60px;
}

.final-photo-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.final-photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--borda-d);
  box-shadow: 0 15px 40px rgba(45, 10, 15, 0.08);
}

.final-quote-card {
  position: absolute;
  bottom: -20px;
  left: 20px;
  right: 20px;
  background: #FFFFFF;
  border: 1px solid var(--borda-d);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: 0 10px 30px rgba(45, 10, 15, 0.08);
  text-align: center;
  text-decoration: none;
  display: block;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.final-quote-card:hover {
  border-color: var(--dourado-claro);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(165, 104, 11, 0.18);
}

.final-quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--vinho);
  line-height: 1.4;
  margin-bottom: 4px;
}

.final-quote-caption {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

.final-cta-right {
  display: flex;
  flex-direction: column;
}

.final-title {
  font-family: var(--font-serif);
  font-size: 2.45rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--vinho-title);
  margin-bottom: 20px;
}

.final-title em {
  color: var(--dourado);
  font-style: italic;
  font-weight: 600;
  text-shadow: none;
}

.final-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #3D2E2D;
  margin-bottom: 20px;
}

.final-subdescription {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.firm-credentials {
  background: #F3ECE2;
  border-left: 3px solid var(--dourado);
  padding: 16px 20px;
  margin-bottom: 32px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: none;
}

.firm-badge-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.firm-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--vinho-title);
  letter-spacing: 0.05em;
}

.firm-sub {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--color-text-dim);
  letter-spacing: 0.05em;
}

.firm-locale {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.final-button-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.final-disclaimer-note {
  font-size: 0.88rem;
  color: var(--color-text-dim);
  line-height: 1.5;
}

/* Dobra 4: Authority Checklist */
.authority-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
  list-style: none;
}

.authority-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.98rem;
  color: var(--color-text-main);
  line-height: 1.5;
}

.auth-check {
  color: var(--dourado);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.check-icon {
  color: var(--dourado);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}

/* Dobra 4: Reviews & FAQs Container */
.faq-reviews-container {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card {
  background: #FFFFFF;
  border: 1px solid var(--borda-d);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 20px rgba(45, 10, 15, 0.04);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.review-card:hover {
  transform: translateY(-3px);
  border-color: var(--dourado-claro);
  box-shadow: 0 10px 28px rgba(165, 104, 11, 0.12);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-author-initials {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--dourado-btn);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.review-author-info {
  display: flex;
  flex-direction: column;
}

.review-author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--vinho);
}

.review-author-tag {
  font-size: 0.75rem;
  color: var(--color-text-dim);
}

.review-stars {
  color: #E58A1F;
  font-size: 1.05rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-body, .review-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #3D2F2E;
  font-style: italic;
  margin-bottom: 16px;
  flex-grow: 1;
}

.review-author {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--vinho);
}

.review-footer {
  border-top: 1px solid var(--borda-d);
  padding-top: 10px;
}

.review-verified {
  font-size: 0.78rem;
  color: #25D366;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* FAQ Box */
.faq-box {
  background: #FFFFFF;
  border: 1px solid var(--borda-d);
  border-radius: var(--radius-lg);
  padding: 42px 34px;
  box-shadow: 0 10px 35px rgba(45, 10, 15, 0.05);
}

.faq-heading {
  text-align: center;
  margin-bottom: 32px;
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--vinho-title);
  font-weight: 700;
}

.faq-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--vinho-kicker);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.faq-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--vinho-title);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.faq-card {
  background: #FAF8F5;
  border: 1px solid #E8DFD3;
  border-radius: var(--radius-sm);
  padding: 24px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-card:hover {
  border-color: var(--dourado-claro);
  box-shadow: 0 6px 20px rgba(165, 104, 11, 0.1);
}

.faq-card h4, .faq-q {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--vinho-title);
  margin-bottom: 10px;
  line-height: 1.35;
}

.faq-card p, .faq-a {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.faq-card p strong, .faq-a strong {
  color: var(--vinho-kicker);
}

/* ==========================================================================
   RODAPÉ (ESTILO NOBRE & PROFISSIONAL)
   ========================================================================== */
.footer {
  background: #1C0306;
  border-top: 1px solid #380B12;
  padding: 60px 0 30px 0;
  color: #FAF8F5;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(200, 152, 42, 0.2);
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(1.1);
}

.footer-slogan {
  font-size: 0.95rem;
  color: rgba(250, 248, 245, 0.75);
  max-width: 420px;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dourado-claro);
  margin-bottom: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.footer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: rgba(250, 248, 245, 0.88);
}

.footer-item a {
  transition: var(--transition-fast);
}

.footer-item a:hover {
  color: var(--dourado-claro);
}

.footer-icon {
  width: 18px;
  height: 18px;
  stroke: var(--dourado-claro);
  flex-shrink: 0;
}

.footer-link:hover {
  color: var(--dourado-claro);
}

.footer-bottom {
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.footer-legal {
  font-size: 0.82rem;
  color: rgba(250, 248, 245, 0.7);
  max-width: 680px;
  line-height: 1.5;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(250, 248, 245, 0.45);
}

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.floating-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  font-weight: 700;
  font-size: 0.92rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.floating-wa.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-wa:hover {
  background: #20ba5a;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.floating-wa-icon {
  width: 24px;
  height: 24px;
}

.floating-wa-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  background: #25D366;
  opacity: 0.4;
  z-index: -1;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.15);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 992px) {
  /* HERO BANNER FULL MOBILE 9:16 - PRIMEIRA DOBRA COM VISIBILIDADE PERFEITA DO CTA */
  .hero-section {
    min-height: calc(100dvh - 48px);
    height: auto;
    max-height: none;
    overflow: visible;
    padding: 16px 0 max(24px, env(safe-area-inset-bottom, 24px)) 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    box-sizing: border-box;
  }

  .hero-bg-img {
    object-position: center top;
  }

  /* Overlay Mobile: máxima nitidez e claridade na Dra. Thais no topo, transição suave para os textos */
  .hero-overlay {
    background: 
      linear-gradient(180deg, 
        rgba(12, 2, 4, 0.0) 0%, 
        rgba(12, 2, 4, 0.0) 28%, 
        rgba(16, 2, 5, 0.22) 44%, 
        rgba(22, 3, 7, 0.68) 64%, 
        rgba(22, 3, 7, 0.90) 82%, 
        rgba(18, 2, 6, 0.96) 100%
      );
  }

  .hero-container {
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    margin: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  /* NO MOBILE: SOMENTE TITULO, SUBTITULO E CTA NA PRIMEIRA DOBRA */
  .hero-section .badge-tag,
  .hero-section .hero-location-line,
  .hero-section .practice-areas-box,
  .hero-section .cta-subtext {
    display: none !important;
  }

  .hero-title {
    font-family: var(--font-serif);
    font-size: 2.0rem;
    font-weight: 700;
    line-height: 1.16;
    text-align: left;
    margin-bottom: 10px;
    color: #ffffff;
    letter-spacing: -0.015em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 1), 0 1px 4px rgba(0, 0, 0, 0.95);
  }

  .hero-title-break {
    display: block;
  }

  .hero-plantao {
    font-size: 0.85em;
    margin-top: 4px;
  }

  .hero-subtitle {
    font-size: clamp(0.92rem, 3.4vw, 1.05rem);
    line-height: 1.48;
    text-align: left;
    margin-bottom: 16px;
    color: #f7f4ef;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 1), 0 1px 4px rgba(0, 0, 0, 0.95);
  }

  .hero-cta-wrapper {
    width: 100%;
    align-items: flex-start;
  }

  .btn-primary {
    width: 100%;
    padding: 15px 18px;
    font-size: clamp(0.86rem, 3.4vw, 0.95rem);
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.25;
    text-align: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366 0%, #20ba5a 50%, #128C7E 100%);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.75), 0 8px 26px rgba(18, 140, 126, 0.55);
    animation: cta-pulse-mobile 2.2s infinite ease-in-out;
    margin-bottom: 6px;
    border: 1px solid rgba(255, 255, 255, 0.35);
  }

  @keyframes cta-pulse-mobile {
    0%, 100% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.75), 0 8px 24px rgba(18, 140, 126, 0.5);
      transform: scale(1);
    }
    50% {
      box-shadow: 0 0 0 12px rgba(37, 211, 102, 0), 0 12px 30px rgba(37, 211, 102, 0.75);
      transform: scale(1.025);
    }
  }

  @media (max-height: 700px) {
    .hero-section {
      padding-bottom: 14px;
    }
    .hero-title {
      font-size: 1.68rem;
      margin-bottom: 8px;
    }
    .hero-subtitle {
      font-size: 0.88rem;
      line-height: 1.38;
      margin-bottom: 12px;
    }
    .btn-primary {
      padding: 12px 14px;
      font-size: 0.84rem;
    }
  }

  .cta-subtext {
    text-align: left;
    margin-top: 6px;
  }

  /* Outras seções no tablet/mobile */
  .situations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .final-cta-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .final-cta-left {
    order: -1;
  }

  .final-photo-wrapper {
    max-width: 320px;
  }

  .final-quote-card {
    position: static;
    margin-top: 16px;
  }

  .firm-credentials {
    border-left: none;
    border-top: 2px solid var(--dourado-claro);
    border-radius: var(--radius-sm);
    text-align: center;
  }

  .firm-badge-line, .firm-locale {
    justify-content: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .footer-logo {
    margin: 0 auto 16px auto;
  }

  .footer-slogan {
    margin: 0 auto;
  }

  .footer-item {
    justify-content: center;
  }

  .trust-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .steps-grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

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

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

@media (max-width: 640px) {
  .navbar {
    padding: 8px 0;
  }

  .nav-container {
    padding: 0 16px;
    gap: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-location {
    display: none;
  }

  .nav-btn-text-desktop {
    display: none !important;
  }

  .nav-btn-text-mobile {
    display: inline !important;
  }

  .logo-img {
    height: 30px;
    max-width: 140px;
    width: auto;
  }

  .btn-nav {
    padding: 7px 12px;
    font-size: 0.78rem;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .hero-section {
    padding: 16px 0 max(22px, env(safe-area-inset-bottom, 22px)) 0;
  }

  .hero-container {
    padding: 0 16px;
  }

  .hero-urgency-badge {
    font-size: 0.65rem;
    padding: 4px 10px;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    align-self: flex-start;
  }

  .hero-quick-pills {
    margin-top: 10px;
    gap: 6px;
    width: 100%;
  }

  .quick-pill {
    font-size: 0.74rem;
    padding: 6px 10px;
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
  }

  .hero-trust-microcopy {
    font-size: 0.74rem;
    margin-top: 6px;
    line-height: 1.35;
    flex-wrap: wrap;
  }

  .trust-strip-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-title {
    font-size: 2.0rem;
    line-height: 1.15;
  }

  .btn-text-desktop {
    display: none;
  }

  .btn-text-mobile {
    display: inline;
  }

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

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

  .steps-grid-3 {
    grid-template-columns: 1fr !important;
  }

  .steps-card-container {
    padding: 36px 18px;
  }

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

  .faq-box {
    padding: 24px 18px;
  }

  .floating-wa-text {
    display: none;
  }

  .floating-wa {
    padding: 13px;
    bottom: 20px;
    right: 20px;
    z-index: 999;
  }

  .floating-wa-icon {
    width: 26px;
    height: 26px;
  }
}

/* ==========================================================================
   HEATMAP PREVIEW / IFRAME OVERRIDES
   Ensures 1:1 real-world coordinate alignment for heatmap dots & no scrollbars
   ========================================================================== */
html.is-heatmap-preview .hero-section {
  min-height: 760px !important;
  height: 760px !important;
  max-height: 760px !important;
}

@media (max-width: 992px) {
  html.is-heatmap-preview .hero-section {
    min-height: 680px !important;
    height: 680px !important;
    max-height: 680px !important;
  }
}

html.is-heatmap-preview,
html.is-heatmap-preview body {
  overflow-y: hidden !important;
  scrollbar-width: none !important;
}

html.is-heatmap-preview body::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
