/* ==========================================================================
   ESCRITÓRIO DE ADVOCACIA DR. EDUARDO PACHELLI - BAURU / SP
   Sistema de Design & Folha de Estilos Responsiva (Padrão DDT BAURU - Paleta Navy & Gold)
   ========================================================================== */

/* --- Variáveis CSS & Tokens de Design --- */
:root {
  --primary-dark: #0b1a2d;
  --primary: #122844;
  --primary-light: #1e3d68;
  --primary-glow: rgba(197, 160, 89, 0.15);
  --primary-accent: #c5a059;
  --primary-accent-light: #dfbe7a;
  --gold-bg-light: #fbf8f2;
  --gold-card-bg: #fdfbf7;

  --neutral-900: #0a1420;
  --neutral-800: #142233;
  --neutral-700: #25364b;
  --neutral-600: #475a72;
  --neutral-500: #64748b;
  --neutral-300: #cbd5e1;
  --neutral-200: #e2e8f0;
  --neutral-100: #f8fafc;
  --white: #ffffff;

  --whatsapp: #25d366;
  --whatsapp-hover: #1eb956;

  --font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --shadow-sm: 0 2px 8px rgba(11, 26, 45, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 26, 45, 0.1);
  --shadow-lg: 0 20px 40px rgba(11, 26, 45, 0.14);
  --shadow-glow: 0 10px 30px rgba(197, 160, 89, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-main);
  color: var(--neutral-800);
  background-color: #f7f9fb;
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

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

/* --- Barra Superior de Informativo --- */
.top-bar {
  background: var(--primary-dark);
  color: #e2e8f0;
  font-size: 0.875rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-info span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-info i {
  color: var(--primary-accent);
}

.top-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f8fafc;
  font-weight: 500;
}

.top-contact a:hover {
  color: var(--primary-accent);
}

.top-whatsapp {
  background: rgba(37, 211, 102, 0.18);
  padding: 3px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #dcfce7 !important;
}

.top-whatsapp i {
  color: #22c55e;
}

/* --- Seção de Cabeçalho (Header) --- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--neutral-200);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

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

/* --- Estilização da Logo --- */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-emblem {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border: 2px solid var(--primary-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-accent);
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(11, 26, 45, 0.2);
}

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

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.brand-title span {
  color: var(--primary-accent);
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--neutral-600);
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

/* --- Links de Navegação & Dropdown --- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--neutral-700);
  border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-dark);
  background-color: var(--primary-glow);
}

.dropdown-arrow {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

.has-dropdown:hover .dropdown-arrow,
.has-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

/* --- Mega Dropdown para Áreas de Atuação --- */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: -200px;
  width: 900px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--neutral-200);
  padding: 22px 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1100;
  max-height: 80vh;
  overflow-y: auto;
}

.has-dropdown:hover .mega-dropdown,
.mega-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--neutral-200);
}

.dropdown-title {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-title i {
  color: var(--primary-accent);
}

.dropdown-tag {
  background: var(--gold-bg-light);
  color: var(--primary-accent);
  border: 1px solid rgba(197, 160, 89, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.pests-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pest-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: var(--neutral-100);
  border: 1px solid transparent;
  transition: var(--transition);
}

.pest-card:hover {
  background: var(--gold-bg-light);
  border-color: rgba(197, 160, 89, 0.35);
  transform: translateY(-2px);
}

.pest-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--white);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.pest-card:hover .pest-icon {
  background: var(--primary-dark);
  color: var(--primary-accent);
}

.pest-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--neutral-800);
  line-height: 1.3;
}

.dropdown-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--neutral-200);
  font-size: 0.875rem;
  color: var(--neutral-600);
}

.dropdown-btn-link {
  color: var(--primary-dark);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dropdown-btn-link:hover {
  color: var(--primary-accent);
  text-decoration: underline;
}

/* --- Botões de Ação --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  border: 1px solid rgba(197, 160, 89, 0.4);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp-header {
  background: #25d366;
  color: var(--white);
  padding: 11px 22px;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp-header:hover {
  background: #1eb956;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.38);
}

.btn-whatsapp-large {
  background: #25d366;
  color: var(--white);
  padding: 16px 32px;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-large:hover {
  background: #1eb956;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-dark);
  border: 1px solid var(--neutral-300);
  padding: 16px 28px;
  border-radius: var(--radius-md);
}

.btn-secondary:hover {
  background: var(--neutral-100);
  border-color: var(--primary);
  color: var(--primary);
}

/* --- Banner Principal (Hero Section) --- */
.hero-section {
  position: relative;
  padding: 70px 0 85px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  overflow: hidden;
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(90px);
  opacity: 0.35;
  z-index: 0;
}

.shape-1 {
  width: 450px;
  height: 450px;
  background: rgba(197, 160, 89, 0.25);
  top: -120px;
  right: -60px;
}

.shape-2 {
  width: 380px;
  height: 380px;
  background: rgba(18, 40, 68, 0.2);
  bottom: -60px;
  left: -80px;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.badge-city {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-bg-light);
  color: var(--primary-dark);
  border: 1px solid rgba(197, 160, 89, 0.35);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 22px;
}

.badge-city i {
  color: var(--primary-accent);
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--neutral-900);
  line-height: 1.22;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title span {
  color: var(--primary-accent);
}

.hero-subtitle-cta {
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--neutral-600);
  margin-bottom: 30px;
  max-width: 620px;
  line-height: 1.65;
}

.hero-subtitle-cta strong {
  color: var(--primary-dark);
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 34px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--neutral-800);
  font-size: 0.95rem;
}

.feature-item i {
  color: var(--primary-accent);
  font-size: 1.1rem;
}

/* Action Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* Trust Badges */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--neutral-200);
}

.stars {
  color: #f59e0b;
  display: flex;
  gap: 3px;
  font-size: 1.05rem;
}

.trust-rating span {
  font-size: 0.95rem;
  color: var(--neutral-600);
}

/* --- Imagem do Banner & Selos Flutuantes --- */
.hero-image-wrapper {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--white);
  background: var(--white);
}

.hero-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}

.hero-image-card:hover .hero-img {
  transform: scale(1.02);
}

/* Selos Flutuantes */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.badge-protection {
  bottom: 24px;
  left: -20px;
}

.badge-protection .badge-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-dark);
  color: var(--primary-accent);
  border: 1px solid var(--primary-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.badge-protection .badge-text {
  display: flex;
  flex-direction: column;
}

.badge-protection .badge-text strong {
  color: var(--neutral-900);
  font-size: 0.95rem;
}

.badge-protection .badge-text span {
  color: var(--neutral-600);
  font-size: 0.8rem;
}

.badge-city-stamp {
  top: 24px;
  right: 24px;
  background: var(--primary-dark);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(197, 160, 89, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.badge-city-stamp .stamp-icon {
  color: var(--primary-accent);
}

/* --- Traço / Divisor da Seção --- */
.divider-container {
  padding: 40px 24px 20px;
}

.navy-divider {
  border: none;
  height: 4px;
  background: linear-gradient(90deg, rgba(197, 160, 89, 0.1) 0%, var(--primary-accent) 50%, rgba(197, 160, 89, 0.1) 100%);
  border-radius: var(--radius-full);
  margin: 0 auto;
  max-width: 100%;
}

/* --- Seção de Cards em Carrossel / Fileira Única --- */
.services-section {
  padding: 40px 0 95px;
  background: #f7f9fb;
}

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

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--neutral-600);
  line-height: 1.6;
}

/* --- Carrossel de Fileira Única --- */
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.carousel-track-container {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  padding: 14px 4px 24px;
}

.carousel-track-container::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 24px;
  flex-wrap: nowrap;
}

.carousel-track .service-card {
  flex: 0 0 350px;
  width: 350px;
  max-width: 350px;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.carousel-track .service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 160, 89, 0.45);
}

.carousel-btn {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-full);
  background: var(--primary-dark);
  color: var(--white);
  border: 2px solid rgba(197, 160, 89, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
  z-index: 10;
  flex-shrink: 0;
  transition: var(--transition);
}

.carousel-btn:hover {
  background: var(--primary);
  color: var(--primary-accent);
  border-color: var(--primary-accent);
  transform: scale(1.08);
  box-shadow: var(--shadow-glow);
}

.carousel-btn:active {
  transform: scale(0.95);
}

.carousel-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none !important;
}

.card-media.real-photo-media {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: var(--primary-dark);
}

.pest-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card:hover .pest-real-img {
  transform: scale(1.08);
}

.navy-vignette-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(11, 26, 45, 0.15) 0%, rgba(11, 26, 45, 0.82) 100%);
  pointer-events: none;
  transition: background 0.3s ease;
}

.service-card:hover .navy-vignette-overlay {
  background: linear-gradient(180deg, rgba(11, 26, 45, 0.05) 0%, rgba(11, 26, 45, 0.9) 100%);
}

.card-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(11, 26, 45, 0.88);
  backdrop-filter: blur(8px);
  color: var(--primary-accent-light);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(197, 160, 89, 0.45);
  z-index: 2;
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-title a:hover {
  color: var(--primary-accent);
}

.card-intro {
  font-size: 0.94rem;
  color: var(--neutral-600);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.inline-pest-link {
  color: var(--primary-dark);
  font-weight: 600;
  border-bottom: 1px dotted var(--primary-accent);
}

.inline-pest-link:hover {
  color: var(--primary-accent);
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-accent);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 0;
  transition: var(--transition);
}

.btn-read-more i {
  font-size: 0.85rem;
  color: var(--primary-accent);
  transition: transform 0.25s ease;
}

.btn-read-more:hover {
  color: var(--primary-dark);
}

.btn-read-more:hover i {
  transform: translateX(5px);
}

/* --- Botão do Menu Mobile Hambúrguer --- */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--neutral-800);
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle .icon-close {
  display: none;
}

.mobile-toggle.active .icon-open {
  display: none;
}

.mobile-toggle.active .icon-close {
  display: block;
}

/* --- Seção Nossos Diferenciais (Padrão DDT BAURU - Dark Navy & Gold) --- */
.why-choose-us-section {
  position: relative;
  background: linear-gradient(135deg, #071526 0%, #0b1a2d 50%, #0f233d 100%);
  padding: 85px 0 95px;
  overflow: hidden;
}

.why-choose-us-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.why-choose-us-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 61, 104, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

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

.why-choose-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 50px auto;
}

.why-choose-title {
  font-size: 2.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.why-choose-title span {
  color: var(--primary-accent);
}

.why-choose-subtitle {
  font-size: 1.125rem;
  color: #cbd5e1;
  line-height: 1.65;
  font-weight: 400;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: var(--radius-lg);
  padding: 38px 28px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(197, 160, 89, 0.2);
}

.why-icon-box {
  width: 76px;
  height: 76px;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.18) 0%, rgba(197, 160, 89, 0.05) 100%);
  color: var(--primary-accent);
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.why-card:hover .why-icon-box {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, var(--primary-accent) 0%, var(--primary-accent-light) 100%);
  color: var(--primary-dark);
  border-color: var(--primary-accent-light);
  box-shadow: 0 10px 30px rgba(197, 160, 89, 0.45);
}

.why-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.35;
}

.why-card-text {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.65;
}

.why-choose-cta {
  text-align: center;
  margin-top: 50px;
}

/* ==========================================================================
   DESIGN RESPONSIVO (Media Queries)
   ========================================================================== */
@media (max-width: 1200px) {
  .mega-dropdown {
    width: 760px;
    left: -140px;
  }
}

@media (max-width: 1024px) {
  .mega-dropdown {
    width: 660px;
    left: -180px;
  }

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

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

@media (max-width: 900px) {
  .top-bar-content {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .header-container {
    height: 72px;
  }

  .mobile-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: var(--shadow-lg);
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 12px;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 12px 14px;
  }

  .mega-dropdown {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    border: 1px solid var(--neutral-200);
    padding: 14px;
    margin-top: 8px;
    max-height: none;
  }

  .mega-dropdown.show-mobile {
    display: block;
  }

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

  .header-cta {
    width: 100%;
    margin-top: 10px;
  }

  .header-cta .btn {
    width: 100%;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    text-align: left;
  }

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

  .hero-image-wrapper {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .badge-protection {
    left: 10px;
    bottom: 10px;
  }

  .badge-city-stamp {
    right: 10px;
    top: 10px;
  }

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

@media (max-width: 600px) {
  .why-choose-us-section {
    padding: 60px 0 70px;
  }

  .why-choose-title {
    font-size: 1.85rem;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .why-card {
    padding: 26px 18px;
  }

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

  .hero-features {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero-img {
    height: 380px;
  }

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

  .carousel-track .service-card {
    flex: 0 0 290px;
    width: 290px;
    max-width: 290px;
  }

  .carousel-btn {
    display: none;
  }

  .carousel-wrapper {
    gap: 0;
  }

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

/* ==========================================================================
   BOTÕES FLUTUANTES NO CANTO DIREITO (WhatsApp Pulsante, Telefone e E-mail)
   Conforme Exemplo Anexo
   ========================================================================== */
.floating-contact-group {
  position: fixed;
  right: 26px;
  bottom: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 9999;
}

.floating-contact-btn {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.45rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.floating-contact-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

/* 1. Botão WhatsApp Pulsante */
.floating-contact-btn.btn-wa {
  background: #25d366;
}

.floating-contact-btn.btn-wa:hover {
  background: #1eb956;
}

/* Anéis de Pulso Concêntricos (Conforme exemplo anexo) */
.floating-contact-btn.btn-wa .pulse-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.floating-contact-btn.btn-wa .pulse-ring-inner {
  inset: -12px;
  background: rgba(37, 211, 102, 0.45);
  animation: waPulseConcentric 2.2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.floating-contact-btn.btn-wa .pulse-ring-outer {
  inset: -24px;
  background: rgba(37, 211, 102, 0.22);
  animation: waPulseConcentric 2.2s cubic-bezier(0.16, 1, 0.3, 1) infinite 0.4s;
}

@keyframes waPulseConcentric {
  0% {
    transform: scale(0.65);
    opacity: 0.95;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* 2. Botão Telefone (Cinza Ardósia Escuro) */
.floating-contact-btn.btn-phone {
  background: #505c68;
}

.floating-contact-btn.btn-phone:hover {
  background: #3e4852;
}

/* 3. Botão E-mail (Vermelho) */
.floating-contact-btn.btn-email {
  background: #ea4335;
}

.floating-contact-btn.btn-email:hover {
  background: #d32f2f;
}

/* Tooltip elegante à esquerda de cada botão no hover */
.floating-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  background: #0b1a2d;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: all 0.25s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.floating-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent #0b1a2d;
}

.floating-contact-btn:hover .floating-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Responsividade Mobile */
@media (max-width: 600px) {
  .floating-contact-group {
    right: 16px;
    bottom: 22px;
    gap: 10px;
  }

  .floating-contact-btn {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }

  .floating-tooltip {
    display: none;
  }
}

