/* ==========================================================================
   DESIGN SYSTEM — DRA. MARIA EDUARDA REZENDE (DENTISTA 24H)
   ========================================================================== */

:root {
  /* Cores Base do Projeto */
  --color-primary-dark: #0d2226;    /* Teal muito escuro (fundo principal escuro) */
  --color-brand: #184148;           /* Teal oficial da marca (cor da logo Canva) */
  --color-brand-light: #205660;     /* Teal mais claro para contrastes */
  --color-accent-gold: #c9a96e;     /* Dourado Champanhe (Luxo e sofisticação) */
  --color-accent-gold-hover: #bda062;
  --color-white: #ffffff;
  --color-bg-light: #f4f7f7;        /* Off-white azulado/esverdeado muito claro */
  --color-bg-card-dark: #123136;    /* Fundo de cards em seções escuras */
  --color-text-dark: #132b2f;       /* Texto escuro de alta legibilidade */
  --color-text-muted: #8fa6a8;      /* Texto de apoio nas seções escuras */
  --color-text-light: #ffffff;
  
  /* Cores de Ação */
  --color-whatsapp: #25d366;        /* Verde WhatsApp clássico */
  --color-whatsapp-hover: #20ba5a;
  --color-emergency: #e53935;       /* Vermelho para emergências/plantão */
  --color-emergency-hover: #c62828;
  
  /* Fontes */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Transições e Efeitos */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-premium: 0 10px 30px rgba(13, 34, 38, 0.15);
  --shadow-glow: 0 0 20px rgba(201, 169, 110, 0.2);
  --radius-lg: 16px;
  --radius-md: 8px;
}

/* ==========================================================================
   RESET E BASE
   ========================================================================== */

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-white);
  color: var(--color-text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

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

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

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

/* Visually Hidden para Leitores de Tela (Acessibilidade) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   ESTILOS GERAIS & COMPONENTES REUTILIZÁVEIS
   ========================================================================== */

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

/* Botões Customizados */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 9999px; /* Botões completamente arredondados (estilo capsule) */
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.btn-primary:hover {
  background-color: var(--color-accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: var(--color-white);
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-emergency {
  background-color: var(--color-emergency);
  color: var(--color-white);
}

.btn-emergency:hover {
  background-color: var(--color-emergency-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.3);
}

.btn-outline {
  border: 2px solid var(--color-accent-gold);
  color: var(--color-accent-gold);
}

.btn-outline:hover {
  background-color: var(--color-accent-gold);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* Títulos de Seção */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title p {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-text-dark);
}

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

/* ==========================================================================
   HEADER & NAVEGAÇÃO (GLASSMORPHISM INTERATIVO)
   ========================================================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 16px 0;
}

header.scrolled {
  background-color: rgba(13, 34, 38, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

/* Logo visível no topo para reforçar a identidade visual */
header .logo {
  opacity: 1;
  transform: translateX(0);
  transition: var(--transition-smooth);
  pointer-events: auto;
}

header.scrolled .logo {
  opacity: 1;
  transform: translateX(0);
}

header .logo img {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
}

header nav {
  display: none;
}

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

/* Mobile Menu Button */
.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  z-index: 1010;
}

.menu-btn span {
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.menu-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--color-primary-dark);
  z-index: 1005;
  transition: var(--transition-smooth);
  padding: 100px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-white);
}

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

/* Botão WhatsApp dentro do menu mobile */
.mobile-nav .btn-whatsapp {
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  margin-top: 8px;
}

.mobile-nav .btn-whatsapp i {
  width: 16px;
  height: 16px;
}

/* Backdrop */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1002;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 1024px) {
  header nav {
    display: flex;
    align-items: center;
    gap: 32px;
  }
  
  header nav a {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
  }
  
  header nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-gold);
    transition: var(--transition-smooth);
  }
  
  header nav a:hover {
    color: var(--color-white);
  }
  
  header nav a:hover::after {
    width: 100%;
  }
  
  .menu-btn {
    display: none;
  }
}

/* ==========================================================================
   HERO SECTION (IMPACTO & MARCA)
   ========================================================================== */

.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #184148;
  color: var(--color-white);
  overflow: hidden;
}

/* Imagem de fundo centralizada com leve clareamento */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: transparent;
  background-image: url('../images/topo-site-fhd.webp?v=1');
  background-image: image-set(
    url('../images/topo-site-2x.webp?v=1') 2x,
    url('../images/topo-site-fhd.webp?v=1') 1x
  );
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: brightness(1.12) contrast(1.05);
  z-index: 0;
}

/* Overlay suave para legibilidade do texto sem esconder a Dra. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(13, 34, 38, 0.88) 0%,
    rgba(13, 34, 38, 0.65) 42%,
    rgba(13, 34, 38, 0.25) 100%
  );
  z-index: 1;
}

/* Esconde a tag img — usamos background-image no .hero */
.hero-bg { display: none; }
.hero-overlay { display: none; }

.hero .container {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  padding: 80px 24px 30px;
}

.hero-logo {
  max-width: 360px;
  height: auto;
  margin-top: 0;
  margin-bottom: 60px;
  filter: brightness(0) invert(1) !important;
  transition: var(--transition-smooth);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(229, 57, 53, 0.15);
  border: 1px solid rgba(229, 57, 53, 0.35);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #ff5252;
}

.hero-badge .dot-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--color-emergency);
  border-radius: 50%;
  animation: dotPulse 1.8s infinite;
}

.hero h1 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--color-white);
}

.hero p.hero-subtitle {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-accent-gold);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-audience {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-white);
}

.audience-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  backdrop-filter: blur(4px);
}

.audience-item i {
  color: var(--color-accent-gold);
}

.audience-separator {
  color: var(--color-accent-gold);
  font-weight: 700;
}

.hero p.hero-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 300px;
  margin: 0 auto 16px auto;
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.hero-ctas .btn {
  padding: 12px 22px;
  font-size: 13px;
  white-space: nowrap;
}

@media (max-width: 374px) {
  .hero-ctas .btn {
    padding: 12px 16px;
    font-size: 12px;
  }
}

@media (min-width: 640px) {
  .hero .container { padding-top: 110px; }
  .hero-logo { max-width: 420px; margin-top: 0; margin-bottom: 60px; }
  .hero h1 { font-size: 42px; margin-bottom: 10px; }
  .hero p.hero-subtitle { font-size: 21px; margin-bottom: 14px; }
  .hero-audience { font-size: 13px; margin-bottom: 16px; }
  .hero p.hero-desc { font-size: 14px; margin-bottom: 22px; }
  .hero-ctas {
    flex-direction: row;
    max-width: none;
    justify-content: center;
    gap: 12px;
  }
}

@media (min-width: 1024px) {
  .hero .container { padding-top: 130px; }
  .hero-logo { max-width: 500px; margin-top: 0; margin-bottom: 70px; }
  .hero h1 { font-size: 52px; margin-bottom: 12px; }
  .hero p.hero-subtitle { font-size: 26px; margin-bottom: 18px; }
  .hero-audience { font-size: 14px; margin-bottom: 18px; }
  .hero p.hero-desc { 
    max-width: 600px;
    font-size: 15px;
  }
  .hero-ctas { 
    flex-direction: row; 
    max-width: none; 
    justify-content: center;
    gap: 16px; 
  }
}

@media (max-height: 700px) {
  .hero .container { padding-top: 100px; }
  .hero p.hero-desc { display: none; }
  .hero-logo { max-width: 220px; margin-top: 10px; margin-bottom: 10px; }
  .hero h1 { font-size: 28px; }
  .hero p.hero-subtitle { font-size: 17px; margin-bottom: 8px; }
  .hero-audience { font-size: 11px; margin-bottom: 10px; }
}

/* Hero mobile: imagem vertical otimizada para smartphones */
@media (max-width: 767px) {
  .hero::after {
    background-image: url('../images/topo-site-mobile.webp?v=1');
    background-position: center center;
  }

  .hero::before {
    background: linear-gradient(
      to bottom,
      rgba(13, 34, 38, 0.82) 0%,
      rgba(13, 34, 38, 0.50) 45%,
      rgba(13, 34, 38, 0.25) 100%
    );
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounceDown 2s infinite;
  opacity: 0.5;
}

@media (max-width: 767px) {
  header .container {
    position: relative;
  }
  header .header-actions .btn-whatsapp {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
  }
}

/* ==========================================================================
   SEÇÃO SINTOMAS / EMERGÊNCIAS (DORES DO CLIENTE)
   ========================================================================== */


.symptoms {
  padding: 40px 0;
  background-color: var(--color-bg-light);
}

.symptoms .section-title p {
  color: var(--color-brand);
}

.symptoms-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 20px;
}

.symptom-card {
  background-color: var(--color-white);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(24, 65, 72, 0.04);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.symptom-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--color-accent-gold);
  transition: var(--transition-smooth);
}

/* Efeito Hover na Cor da Identidade Visual (#184148) */
.symptom-card:hover {
  background-color: var(--color-brand);
  color: var(--color-white);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(24, 65, 72, 0.25);
}

.symptom-card:hover::before {
  height: 100%;
}

.symptom-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: rgba(24, 65, 72, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.symptom-card:hover .symptom-icon {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-accent-gold);
}

.symptom-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text-dark);
  transition: var(--transition-smooth);
}

.symptom-card:hover h3 {
  color: var(--color-white);
}

.symptom-card p {
  font-size: 14px;
  color: #556c6e;
  line-height: 1.5;
  transition: var(--transition-smooth);
}

.symptom-card:hover p {
  color: rgba(255, 255, 255, 0.85);
}

@media (min-width: 640px) {
  .symptoms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .symptoms-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.symptoms-action-wrapper {
  margin-top: 48px;
  text-align: center;
}

/* ==========================================================================
   SEÇÃO RELÓGIO DE PLANTÃO AO VIVO (URGÊNCIA PSICOLÓGICA)
   ========================================================================== */

.live-clock-section {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding: 40px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.live-clock-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(24, 65, 72, 0.4) 0%, transparent 70%);
  z-index: 1;
}

.live-clock-section .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.live-clock-container {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--color-bg-card-dark);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: var(--radius-lg);
  padding: 30px 40px;
  margin-bottom: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.live-clock-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: var(--color-whatsapp);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.live-clock-badge .live-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-whatsapp);
  border-radius: 50%;
  animation: dotPulse 1.5s infinite;
}

.live-time {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--color-accent-gold);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  line-height: 1;
}

@media (min-width: 640px) {
  .live-time {
    font-size: 64px;
  }
}

.live-timezone {
  font-size: 11px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.live-clock-section h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.live-clock-section p.live-desc {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   SEÇÃO GALERIA DO CONSULTÓRIO (E-E-A-T VISUAL)
   ========================================================================== */

.gallery {
  padding: 40px 0;
  background-color: var(--color-white);
}

.gallery-desc {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px auto;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-dark);
  opacity: 0.85;
}

.gallery-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  aspect-ratio: 4/3;
  background-color: var(--color-bg-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 34, 38, 0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   SEÇÃO SOBRE A PROFISSIONAL (AUTORIDADE / E-E-A-T)
   ========================================================================== */

.about {
  padding: 50px 0;
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 48px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: var(--radius-lg);
  margin: 12px;
  pointer-events: none;
}

.about-image img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.about-content .badge-sobre {
  color: var(--color-accent-gold);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.about-content h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 24px;
}

.about-content h2 span {
  color: var(--color-accent-gold);
}

.about-content p {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.about-credentials {
  margin-top: 32px;
  margin-bottom: 32px;
  list-style: none;
}

.about-credentials li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.about-credentials li svg {
  color: var(--color-accent-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.about-cro {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent-gold);
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
  }
}

/* ==========================================================================
   SEÇÃO DIFERENCIAIS (TECNOLOGIA & SEGURANÇA)
   ========================================================================== */

.differentials {
  padding: 40px 0;
  background-color: var(--color-bg-light);
}

.differentials .section-title p {
  color: var(--color-brand);
}

.diff-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 24px;
}

.diff-card {
  background-color: var(--color-white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(24, 65, 72, 0.04);
  transition: var(--transition-smooth);
}

.diff-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(24, 65, 72, 0.08);
}

.diff-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: rgba(201, 169, 110, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-gold);
  margin-bottom: 20px;
}

.diff-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text-dark);
}

.diff-card p {
  font-size: 14px;
  color: #556c6e;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .diff-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   SEÇÃO TESTEMUNHOS (PROVA SOCIAL REAL - SLIDER)
   ========================================================================== */

.testimonials {
  padding: 40px 0;
  background-color: var(--color-white);
}

.testimonials .section-title p {
  color: var(--color-brand);
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
  padding: 0 40px 20px;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 24px;
}

.testimonial-card {
  flex: 0 0 100%;
  background-color: var(--color-bg-light);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(24, 65, 72, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  cursor: default;
}

.testimonial-card:hover {
  background-color: var(--color-brand);
  color: var(--color-white);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(24, 65, 72, 0.25);
  border-color: var(--color-brand);
}

.testimonial-card:hover .testimonial-quote {
  color: rgba(255, 255, 255, 0.95);
}

.testimonial-card:hover .testimonial-info h4 {
  color: var(--color-white);
}

.testimonial-card:hover .testimonial-info span {
  color: var(--color-accent-gold);
}

.testimonial-card:hover .testimonial-avatar {
  background-color: var(--color-accent-gold);
  color: var(--color-primary-dark);
}

@media (min-width: 768px) {
  .testimonial-card {
    flex: 0 0 calc((100% - 48px) / 3);
  }
}

.testimonial-quote {
  font-size: 14px;
  color: var(--color-text-dark);
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  line-height: 1.6;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: var(--color-accent-gold);
  margin-bottom: 12px;
}

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

.testimonial-avatar {
  width: 40px;
  height: 40px;
  background-color: var(--color-brand-light);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
}

.testimonial-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-dark);
}

.testimonial-info span {
  font-size: 11px;
  color: #728a8c;
  display: block;
}

/* Setas de Navegação */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background-color: var(--color-white);
  border: 1px solid rgba(24, 65, 72, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.slider-arrow:hover {
  background-color: var(--color-brand);
  color: var(--color-white);
  border-color: var(--color-brand);
  transform: translateY(-50%) scale(1.05);
}

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

.slider-prev {
  left: 0;
}

.slider-next {
  right: 0;
}

/* Dots de Navegação */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(24, 65, 72, 0.2);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-dot:hover {
  background-color: var(--color-brand-light);
}

.slider-dot.active {
  background-color: var(--color-brand);
  transform: scale(1.2);
}

@media (max-width: 767px) {
  .testimonials-slider {
    padding: 0 40px;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
  }

  .slider-arrow svg {
    width: 16px;
    height: 16px;
  }
}

.testimonials .section-title p {
  color: var(--color-brand);
}

/* Bloco Nota Google e Botões */
.google-rating {
  margin-top: 48px;
  text-align: center;
}

.google-rating-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.google-rating-stars {
  display: flex;
  gap: 4px;
  color: var(--color-accent-gold);
}

.google-rating-info p {
  font-size: 15px;
  color: var(--color-text-dark);
}

.google-rating-info p strong {
  font-weight: 700;
}

.google-rating-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   SEÇÃO CITAÇÃO (QUOTE SECTION)
   ========================================================================== */

.quote-section {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-section .quote-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.quote-section .quote-img-desktop { display: none; }
.quote-section .quote-img-mobile { display: block; }

@media (min-width: 768px) {
  .quote-section .quote-img-desktop { display: block; }
  .quote-section .quote-img-mobile { display: none; }
}

.quote-section .container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.quote-section blockquote {
  max-width: 500px;
  margin: 0 auto;
  padding: 24px;
  text-align: left;
}

@media (min-width: 768px) {
  .quote-section blockquote {
    max-width: 500px;
    margin: 0;
    margin-left: 5%;
  }
}

.quote-section blockquote p {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.95);
}

@media (min-width: 640px) {
  .quote-section blockquote p {
    font-size: 24px;
  }
}

.quote-section blockquote cite {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent-gold);
  font-style: normal;
  font-weight: 700;
}

/* ==========================================================================
   RODAPÉ (FOOTER E LOCALIZAÇÃO COM MAPA)
   ========================================================================== */

footer {
  background-color: #081518;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h3 {
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-about img {
  height: 60px;
  width: auto;
  margin-bottom: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-about p {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--color-accent-gold);
  padding-left: 4px;
}

.footer-contact p {
  font-size: 13px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact p svg {
  color: var(--color-accent-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Iframe do Google Maps Real e Estilizado no Rodapé */
.footer-map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 200px;
  width: 100%;
}

.footer-map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Link discreto de fallback caso o mapa não carregue */
.map-fallback {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: var(--transition-smooth);
}

.map-fallback:hover {
  color: var(--color-accent-gold);
}

/* Logo R3Mark ("Feito por R3Mark") */
.r3mark-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 12px;
}

.r3mark-brand img {
  height: 16px;
  width: auto;
  vertical-align: baseline;
}

/* Linha de Copyright */
.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
  }
}

/* ==========================================================================
   WIDGETS FLUTUANTES (WHATSAPP & SCROLL TOP)
   ========================================================================== */

.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition-smooth);
}

.whatsapp-fab::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--color-whatsapp);
  animation: fabPulse 2s infinite;
  pointer-events: none;
}

.whatsapp-fab:hover {
  transform: scale(1.08);
  background-color: var(--color-whatsapp-hover);
}

.scroll-top-btn {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 44px;
  height: 44px;
  background-color: rgba(13, 34, 38, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background-color: var(--color-accent-gold);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* ==========================================================================
   ANIMAÇÕES E TRANSIÇÕES DE SCROLL (REVEAL)
   ========================================================================== */

@keyframes dotPulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes pulseOpacity {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@keyframes fabPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Quebra de linha condicional para mobile */
.mobile-br {
  display: none;
}

@media (max-width: 767px) {
  .mobile-br {
    display: block;
    content: "";
  }
}

/* Prefers Reduced Motion para Acessibilidade */
@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;
  }
}
