/*
Theme Name: Guarapari Guide
Theme URI: https://guarapari.es.gov.br
Description: Tema minimalista e elegante otimizado para o Guia Comercial de Guarapari
Version: 1.1.0
Author: Prefeitura de Guarapari
Text Domain: guarapari-guide
*/

@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/Poppins-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/Poppins-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* CORREÇÃO URGENTE - IMAGENS INVISÍVEIS */
img, .wp-post-image, .attachment-full {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
}

/* Remover lazy loading problemático */
img[loading="lazy"] {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Forçar exibição de todas as imagens do site */
.site img, .content img, .entry-content img {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Corrigir imagens destacadas */
.post-thumbnail img, .featured-image img, .wp-post-image {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
  /* Enhanced Core Color Palette - Psicologia das Cores */
  --primary: #0066CC;
  --primary-dark: #004799;
  --primary-light: #3385D6;
  --primary-ultralight: #E6F0FA;
  
  --secondary: #007A7A;
  --secondary-dark: #005C5C;
  --secondary-light: #33B9B9;
  
  --accent: #D94E1A;
  --accent-dark: #B33D12;
  --accent-light: #FF8C5C;
  
  --tertiary: #2E8B57;
  --tertiary-dark: #247345;
  --tertiary-light: #3AA76B;

  /* Semantic Colors */
  --success: var(--tertiary);
  --warning: #F59E0B;
  --error: #DC2626;
  --info: var(--primary-light);
  
  /* Extended Neutrals for Depth */
  --dark: #0A2D4D;
  --light: #F7F9FC;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  
  /* Gradients - Emoção & Profundidade */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(0, 75, 135, 0.9) 0%, rgba(0, 150, 200, 0.7) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent) 0%, #FF8C00 100%);
  
  /* Shadows - Profundidade Visual */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-full: 9999px;
  
  /* Typography - Escala Modular */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font-display: 'Poppins', var(--font-sans);
  
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  
  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  
  /* Transitions */
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset Otimizado para Performance */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Para anchor links com header fixo */
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--gray-700);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
}

/* Otimização de Imagens */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Loading Lazy para Imagens */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* ==========================================================================
   Tipografia & Hierarquia Visual
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.3;
  color: var(--gray-900);
  margin-bottom: var(--space-4);
  letter-spacing: -0.025em;
}

h1 {
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1.1;
}

h2 {
  font-size: var(--text-4xl);
  font-weight: 600;
}

h3 {
  font-size: var(--text-2xl);
  font-weight: 600;
}

h4 {
  font-size: var(--text-xl);
  font-weight: 600;
}

p {
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: var(--transition);
  position: relative;
}

a:hover {
  color: var(--primary-dark);
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.nav-menu a,
.guia-btn,
.guia-menu-btn,
.guia-rede-social,
.guia-whatsapp-link,
.guia-whatsapp-btn {
  text-decoration: none;
}

/* ==========================================================================
   Layout Principal
   ========================================================================== */
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-sm {
  max-width: 800px;
}

.container-lg {
  max-width: 1400px;
}

/* ==========================================================================
   Header & Navigation - Sticky com Blur
   ========================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition-slow);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--gray-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.site-branding img.custom-logo {
  width: 180px;
  height: auto;
  max-width: 100%;
}

@media (min-width: 768px) {
  .site-branding img.custom-logo {
    width: 315px;
  }
}

.logo {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--gray-900);
  text-decoration: none;
}

.logo-accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation com Microinterações */
.main-navigation {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-8);
  align-items: center;
}

.nav-menu a {
  color: var(--gray-700);
  font-weight: 500;
  padding: var(--space-2) 0;
  position: relative;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
  border-radius: var(--radius-full);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after {
  width: 100%;
}

.nav-menu .current-menu-item a {
  color: var(--primary);
  font-weight: 600;
}

/* Hero Section - Neurodesign Otimizado */
.guia-hero-section {
    background: 
        linear-gradient(135deg, rgba(30, 60, 114, 0.7) 0%, rgba(42, 82, 152, 0.7) 100%),
        url('https://guiadeguarapari.com.br/wp-content/uploads/hero-praia.jpg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.guia-hero-section::before {
    display: none !important;
}

.guia-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

/* Hierarquia de Títulos no Hero */
.guia-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: var(--space-6);
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
}

.guia-hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  margin-bottom: var(--space-12);
  opacity: 0.95;
  font-weight: 300;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  line-height: 1.6;
  color: #E2E8F0;
}

/* Search no Hero */
.guia-hero-search {
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

.search-container {
  background: rgba(255, 255, 255, 0.95);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.search-hint {
  font-size: var(--text-sm);
  color: var(--gray-600);
  margin-top: var(--space-3);
  text-align: center;
  font-style: italic;
}

/* CTAs com Psicologia de Cores */
.guia-hero-ctas {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-8);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 25px;
  position: relative;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
}

/* ==========================================================================
   Animações & Microinterações
   ========================================================================== */
@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: var(--shadow-lg);
  }
  50% {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Classes de Animação */
.animate-fade-in { 
  animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) both; 
}

.animate-fade-in-delay { 
  animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both; 
}

.animate-fade-in-delay-2 { 
  animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both; 
}

.animate-fade-in-delay-3 { 
  animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both; 
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.cta-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* ==========================================================================
   Componentes de UI
   ========================================================================== */

/* Botões - Design System Completo */
.guia-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  min-height: 44px;
  min-width: 44px;
  border: none;
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-bounce);
  line-height: 1;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.guia-whatsapp-btn,
.guia-rede-social,
.mobile-menu-toggle {
  min-height: 44px;
  min-width: 44px;
}

.guia-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.guia-btn:hover::before {
  left: 100%;
}

.guia-btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.guia-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.guia-btn-secondary {
  background: var(--secondary);
  color: white;
  box-shadow: var(--shadow-md);
}

.guia-btn-secondary:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.guia-btn-accent {
  background: var(--gradient-accent);
  color: white;
  box-shadow: var(--shadow-md);
}

.guia-btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.guia-btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.guia-btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.guia-btn-outline-light {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.guia-btn-outline-light:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-2px);
}

.guia-btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

.guia-btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.guia-btn-icon {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.guia-btn-icon .icon {
  transition: transform 0.3s ease;
}

.guia-btn-icon:hover .icon {
  transform: translateX(4px);
}

/* Cards - Design Moderno */
.guia-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition-slow);
  border: 1px solid var(--gray-200);
  position: relative;
}

.guia-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.guia-card:hover::before {
  transform: scaleX(1);
}

.guia-card-hover:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.guia-card-header {
  padding: var(--space-6);
  border-bottom: 1px solid var(--gray-200);
}

.guia-card-body {
  padding: var(--space-6);
}

.guia-card-footer {
  padding: var(--space-6);
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}

/* Feature Cards */
.guia-feature-card {
  padding: var(--space-8) var(--space-4);
  text-align: center;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transition: var(--transition-slow);
  border: 1px solid var(--gray-200);
}

.guia-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Grid e cards para Empresas em Destaque na Home */
.guia-empresas-destaque-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 30px 0;
}

.empresa-card-home {
  display: block;
  text-decoration: none;
  color: inherit;
}

@media (max-width: 1024px) {
  .guia-empresas-destaque-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .guia-empresas-destaque-grid {
    grid-template-columns: 1fr;
  }
}
.guia-feature-icon {
  font-size: 3rem;
  margin-bottom: var(--space-4);
  display: block;
}

.guia-feature-badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--primary-ultralight);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  margin-top: var(--space-3);
}

/* Navigation Cards */
.nav-card {
  position: relative;
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: var(--transition-slow);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.nav-card-inner {
  position: relative;
  z-index: 2;
}

.nav-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-card:hover::before {
  opacity: 0.05;
}

.nav-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.nav-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
}

.nav-content h3 {
  margin-bottom: var(--space-2);
  font-size: var(--text-lg);
}

.nav-stats {
  display: block;
  font-size: var(--text-xs);
  color: var(--gray-600);
  margin-top: var(--space-2);
  font-weight: 500;
}

.nav-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
}

/* Beach Cards */
.beaches-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: var(--space-4) 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.beaches-carousel::-webkit-scrollbar {
  display: none;
}

.beach-card {
  scroll-snap-align: start;
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition-slow);
  border: 1px solid var(--gray-200);
}

.beach-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.beach-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: var(--gradient-primary);
}

.beach-badge {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  padding: var(--space-1) var(--space-3);
  background: var(--accent);
  color: white;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
}

.badge-therapeutic {
  background: var(--tertiary);
}

.beach-content {
  padding: var(--space-6);
}

.beach-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-4) 0;
}

.feature-tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
}

/* Blog Cards */
.blog-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition-slow);
  border: 1px solid var(--gray-200);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-category {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-1) var(--space-3);
  background: var(--primary);
  color: white;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
}

.blog-content {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  justify-content: between;
  align-items: center;
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  color: var(--gray-600);
}

.read-time {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.blog-title {
  font-size: var(--text-lg);
  line-height: 1.4;
  margin-bottom: var(--space-3);
}

.blog-title a {
  color: var(--gray-900);
}

.blog-title a:hover {
  color: var(--primary);
}

.blog-excerpt {
  flex: 1;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.blog-link {
  color: var(--primary);
  font-weight: 600;
  font-size: var(--text-sm);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.blog-link:hover {
  color: var(--primary-dark);
}

/* ==========================================================================
   Sections & Layout
   ========================================================================== */
.section {
  padding: var(--space-16) 0;
}

.section-sm {
  padding: var(--space-8) 0;
}

.section-lg {
  padding: var(--space-20) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.section-subtitle {
  font-size: var(--text-xl);
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grid Systems */
.grid {
  display: grid;
  gap: var(--space-8);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Benefits Section */
.benefits-section {
  background: var(--gray-50);
}

/* Quick Navigation */
.quick-nav-section {
  background: white;
}

/* Beaches Section */
.beaches-section {
  background: var(--light);
}

/* Businesses Section */
.businesses-section {
  background: var(--gray-50);
}

/* Blog Section */
.blog-section {
  background: white;
}

/* Empty States */
.empty-state {
  text-align: center;
  padding: var(--space-12);
  color: var(--gray-500);
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: var(--space-4);
  opacity: 0.5;
}

/* ==========================================================================
   Formulários
   ========================================================================== */
.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: 600;
  color: var(--gray-700);
  font-size: var(--text-sm);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: var(--text-base);
  transition: var(--transition);
  background: white;
  color: var(--gray-900);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Search Form */
.search-form {
  display: flex;
  gap: var(--space-3);
}

.search-field {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  transition: var(--transition);
}

.search-field:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.search-submit {
  padding: var(--space-3) var(--space-6);
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.search-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--dark);
  color: var(--gray-300);
  padding: var(--space-12) 0 var(--space-8);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer-section h4 {
  color: white;
  margin-bottom: var(--space-4);
  font-size: var(--text-lg);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--space-2);
}

.footer-section a {
  color: var(--gray-400);
  transition: var(--transition);
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: var(--space-8);
  text-align: center;
  color: var(--gray-100);
  font-size: var(--text-sm);
}

/* ==========================================================================
   Utilidades
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.p-0 { padding: 0; }
.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-5 { padding: var(--space-5); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }

.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Responsive Design - Mobile First
   ========================================================================== */

/* Tablets */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--space-4);
  }
  
  .hero-title {
    font-size: var(--text-4xl);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --space-6: 1.25rem;
    --space-8: 1.5rem;
    --space-16: 3rem;
    --space-20: 4rem;
  }
  
  .container {
    padding: 0 var(--space-3);
  }
  
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  h3 { font-size: var(--text-xl); }
  
  .section { 
    padding: var(--space-12) 0; 
  }
  .section-lg { 
    padding: var(--space-16) 0; 
  }
  
  .hero { 
    padding: var(--space-16) 0;
    min-height: 70vh;
    background-attachment: scroll;
  }
  
  .hero-title { 
    font-size: var(--text-3xl); 
  }
  
  .hero-subtitle { 
    font-size: var(--text-lg); 
    margin-bottom: var(--space-8);
  }
  
  /* Mobile Menu */
  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-700);
    cursor: pointer;
    padding: var(--space-2);
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: var(--space-6);
    box-shadow: var(--shadow-xl);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-slow);
    gap: var(--space-4);
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  /* Grid Mobile */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .grid-mobile-1 {
    grid-template-columns: 1fr;
  }
  
  .grid-mobile-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Hero CTAs Mobile */
  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
  }
  
  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
  }
  
  /* Search Mobile */
  .search-form {
    flex-direction: column;
  }
  
  .search-submit {
    width: 100%;
  }
  
  .search-container {
    padding: var(--space-4);
  }
  
  /* Footer Mobile */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-6);
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero { 
    padding: var(--space-12) 0;
    min-height: 60vh;
  }
  
  .hero-title { 
    font-size: var(--text-2xl); 
  }
  
  .hero-subtitle { 
    font-size: var(--text-base); 
  }
  
  .section-title {
    font-size: var(--text-2xl);
  }
  
  .section-subtitle {
    font-size: var(--text-base);
  }
  
  .btn-lg {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
  }
  
  .grid-mobile-2 {
    grid-template-columns: 1fr;
  }
  
  .beaches-carousel {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* ==========================================================================
   Acessibilidade & Performance
   ========================================================================== */

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary: #0000FF;
    --secondary: #008000;
    --accent: #FF0000;
  }
  
  .card {
    border: 2px solid var(--gray-900);
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  /* Base para futuro suporte a dark mode */
}

/* Focus Styles para Acessibilidade */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .site-header,
  .site-footer,
  .hero-ctas,
  .scroll-indicator {
    display: none;
  }
  
  .hero {
    background: none !important;
    color: black;
    padding: 2rem 0;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--gray-300);
  border-top: 2px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Acessibilidade - Screen Readers */
.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;
}

.sr-only:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    width: auto;
    height: auto;
    padding: 12px 16px;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: #111827;
    color: #ffffff;
    border-radius: 8px;
    z-index: 9999;
}

/* Tamanhos mínimos para toque */
.btn, 
.card-hover, 
.feature-card {
    min-height: 44px;
    min-width: 44px;
}

/* Foco visível */
.btn:focus,
.card-hover:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Ícones com tamanhos consistentes */
.feature-icon,
.card-icon {
    font-size: 2rem;
    line-height: 1.2;
    display: inline-block;
}

/* Loading lazy para imagens */
img[loading="lazy"] {
    transition: opacity 0.3s;
}

img[loading="lazy"][data-src] {
    opacity: 0;
}

.guia-onde-tem {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  overflow-x: hidden;
}

.guia-onde-tem-header {
  text-align: center;
  margin-bottom: 30px;
}

.guia-onde-tem-header h1 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: #1f2937;
}

.guia-onde-tem-header p {
  color: #4b5563;
  font-size: 0.98rem;
}

.guia-onde-tem-texto {
  width: 100%;
  max-width: 100%;
  margin: 30px 0 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #374151;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.guia-onde-tem-texto h1,
.guia-onde-tem-texto h2,
.guia-onde-tem-texto h3 {
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
  color: #1f2937;
}

.guia-onde-tem-texto p {
  margin: 1rem 0;
}

.guia-onde-tem-texto ul {
  padding-left: 1.2rem;
  margin: 0.4rem 0 0.8rem;
}

.guia-onde-tem-texto li {
  margin-bottom: 0.2rem;
}

.guia-onde-tem-texto a {
  color: #004799;
  text-decoration: underline;
}

.guia-onde-tem-search {
  margin-top: 15px;
}

.guia-onde-tem-search-form {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.guia-onde-tem-search-form input {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  width: 100%;
  max-width: 320px;
}

.guia-onde-tem-search-form button {
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  background: #004799;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}

.guia-onde-tem-search-form button:hover {
  background: #003a80;
}

@media (max-width: 480px) {
  .guia-onde-tem-search-form {
    flex-direction: column;
    align-items: stretch;
  }
  .guia-onde-tem-search-form button {
    width: 100%;
  }
}

.guia-onde-tem-texto img {
  max-width: 100%;
  height: auto;
  display: block;
}

.guia-onde-tem-grupo {
  margin-top: 30px;
}

.guia-onde-tem-grupo h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #1f2937;
}

.guia-onde-tem-paragrafo {
  margin: 6px 0;
  color: #374151;
  font-size: 0.95rem;
}

.guia-onde-tem-item-link {
  color: #004799;
  text-decoration: none;
}

.guia-onde-tem-item-link:hover {
  text-decoration: underline;
}

.guia-onde-tem-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.guia-onde-tem-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 14px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  color: #111827;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.guia-onde-tem-card:hover {
  box-shadow: 0 4px 6px rgba(0,0,0,0.08);
}

.guia-onde-tem-thumb {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.guia-onde-tem-thumb-placeholder {
  background: #eff6ff;
  color: #1d4ed8;
}

.guia-onde-tem-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.guia-onde-tem-title {
  font-size: 0.98rem;
  font-weight: 600;
}

.guia-onde-tem-count {
  font-size: 0.85rem;
  color: #6b7280;
}

.active-filters {
  margin: 15px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-tag {
  background: #e2e8f0;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.remove-filter {
  color: #718096;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
}

.remove-filter:hover {
  color: #e53e3e;
}

.search-quick-links {
  margin: 15px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-quick-link {
  font-size: 0.9rem;
  color: #004799;
  background: #edf2f7;
  padding: 6px 12px;
  border-radius: 20px;
  text-decoration: none;
}

.search-quick-link.destaque {
  background: #004799;
  color: #ffffff;
}

.search-quick-link:hover {
  background: #e2e8f0;
}

.search-quick-link.destaque:hover {
  background: #003a80;
}

.search .content-area {
  margin-top: 24px;
  margin-bottom: 40px;
}

.search-results.posts-grid {
  gap: 1.5rem;
}

.search-results .search-result {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
}

.search-results .search-result .card-header img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.search-results .search-result .card-body {
  padding: 16px;
}

.search-results .search-result .post-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #1f2937;
  background: #f1f5f9;
  border-radius: 16px;
  padding: 4px 10px;
  margin-bottom: 6px;
}

.search-results .search-result .plano-badge {
  margin-left: 8px;
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 12px;
}

.search-results .search-result .plano-badge.ouro {
  background: #ffd700;
  color: #111827;
}

.search-results .search-result .plano-badge.prata {
  background: #e5e7eb;
  color: #111827;
}

.search-results .search-result .plano-badge.bronze {
  background: #cd7f32;
  color: #ffffff;
}

.search-results .search-result .post-title {
  margin: 4px 0 4px 0;
  font-size: 1.1rem;
  line-height: 1.35;
}

.search-results .search-result .post-meta {
  margin-bottom: 6px;
}

.search-results .search-result .post-title a {
  color: #1f2937;
  text-decoration: none;
}

.search-results .search-result .post-title a:hover {
  text-decoration: underline;
}

.search-results .search-result .empresa-info {
  margin-top: 8px;
}

.search-results .search-result .empresa-info > div {
  display: flex;
  gap: 6px;
  align-items: baseline;
  margin-bottom: 3px;
}

.search-results .search-result .empresa-info strong {
  color: #374151;
  font-weight: 600;
}

.search-results .search-result .card-footer {
  padding: 12px 16px 16px;
  display: flex;
  gap: 10px;
}

.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.btn-sm {
  padding: 8px 12px;
  font-size: 0.85rem;
}

.btn-outline {
  border: 1px solid #e2e8f0;
  color: #004799;
  background: #ffffff;
}

.btn-outline:hover {
  background: #f1f5f9;
}

.btn-whatsapp {
  background: #065f46;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background: #064e3b;
}
.search-suggestions {
  margin-top: 20px;
}

.search-suggestions h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #2d3748;
}

.search-suggestions ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.search-suggestions li {
  font-size: 0.95rem;
  color: #4a5568;
  margin-bottom: 4px;
}

.search-no-results .no-results-content {
  max-width: 640px;
  margin: 0 auto;
}

.search-no-results .no-results-description {
  margin-top: 10px;
}

.search-no-results .no-results-actions {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}

.search-no-results .search-again h4 {
  margin-bottom: 8px;
}

.search-no-results .alternative-links {
  text-align: center;
}

.empresa-info {
  margin: 10px 0;
  font-size: 0.9rem;
}

.empresa-info > div {
  margin-bottom: 5px;
}

.plano-badge {
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
}

.plano-badge.ouro {
  background: #ffd700;
  color: black;
}

.plano-badge.prata {
  background: #c0c0c0;
  color: black;
}

.plano-badge.bronze {
  background: #cd7f32;
  color: white;
}

.btn-whatsapp {
  background: #25D366 !important;
  color: white !important;
  border-color: #25D366 !important;
}

.btn-whatsapp:hover {
  background: #128C7E !important;
  border-color: #128C7E !important;
}

.search-highlight {
  background: yellow;
  padding: 1px 3px;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .active-filters {
    flex-direction: column;
    align-items: flex-start;
  }
}

.archive-meta {
  margin-top: 1rem;
}

.archive-count {
  color: var(--gray-600);
  font-size: 0.875rem;
}

.post-thumbnail-link {
  display: block;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.post-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-thumbnail-link:hover .post-thumbnail {
  transform: scale(1.05);
}

.post-categories {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.post-category {
  background: var(--primary);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.post-title {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.post-title a {
  color: var(--gray-900);
  text-decoration: none;
}

.post-title a:hover {
  color: var(--primary);
}

.post-excerpt {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.post-read-more {
  margin-top: auto;
}

.post-footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.pagination-wrapper {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.navigation.pagination {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  color: var(--gray-700);
  text-decoration: none;
  font-size: 0.875rem;
  min-width: 40px;
  transition: all 0.2s ease;
}

.page-numbers.current {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.page-numbers:hover:not(.current) {
  background: var(--gray-100);
  border-color: var(--gray-400);
}

.page-numbers.dots {
  border: none;
  background: none;
}

.page-numbers.prev,
.page-numbers.next {
  font-weight: 500;
}

.no-results {
  padding: 3rem 1rem;
}

.no-results-actions {
  margin-bottom: 2rem;
}

@media (max-width: 1024px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .post-footer-meta {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .no-results-actions {
    flex-direction: column;
    align-items: center;
  }

  .no-results-actions .btn {
    width: 100%;
    max-width: 250px;
  }

  .categories-grid {
    flex-direction: column;
    align-items: center;
  }

  .categories-grid .btn {
    width: 100%;
    max-width: 200px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.posts-grid.loading {
  opacity: 0.6;
  pointer-events: none;
}

.post.sticky {
  border-left: 4px solid var(--accent);
}

.post.sticky .post-title::before {
  content: '📌 ';
  font-size: 0.875em;
}

/* ==========================================================================
   Ajustes Essenciais de Layout (Home, Seções e Cards)
   ==========================================================================
   Objetivo: estabilizar posicionamento dos blocos que dependem de classes
   usadas pelos shortcodes e páginas internas do Guia.
   ========================================================================== */

/* Contêiner básico das seções do Guia */
.guia-content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Seções e cabeçalho de seção */
.guia-section { padding: 60px 0; }
.guia-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}
.guia-ver-todos {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
}

/* Hero da Home do Guia */
.guia-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}
.guia-hero-title { font-size: 3rem; margin-bottom: 1rem; }
.guia-hero-subtitle { font-size: 1.125rem; opacity: .9; margin-bottom: 1.25rem; }

/* Destaques da Home */
.guia-destaques-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px 0;
}
.guia-destaque-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.guia-destaque-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
  color: inherit;
}
.guia-destaque-icone { font-size: 3rem; margin-bottom: 14px; }

/* Estrutura de cards com imagem no topo (usada pelos shortcodes) */
.guia-card-header { position: relative; }
.guia-card-thumbnail {
  height: 200px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid #e5e7eb;
}
.guia-card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.guia-card-sem-imagem {
  height: 200px;
  background: #f7fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}
.guia-card-placeholder {
  font-size: 3rem;
  opacity: .5;
}
.guia-card-content { padding: 20px; }
.guia-card-title {
  margin: 0 0 10px 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: #2d3748;
}

.gd-top-card {
  border-radius: 16px;
  overflow: hidden;
}
.gd-top-card .guia-card-header {
  padding: 0;
  border-bottom: 0;
}
.gd-top-card .guia-card-thumbnail {
  height: 180px;
  border: 0;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}
.gd-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.gd-top-card:hover .gd-card-image {
  transform: scale(1.05);
}
.gd-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: #fff;
  color: var(--gray-600);
  border-radius: 999px;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  font-size: 18px;
  line-height: 1;
  pointer-events: none; /* decorativo */
}
.gd-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: #fff;
  color: var(--gray-600);
  border: none;
  border-radius: 999px;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.gd-wishlist-btn.active {
  background: #ef4444;
  color: #fff;
}

.menu-fav-badge {
  display: inline-block;
  min-width: 18px;
  padding: 2px 6px;
  font-size: 12px;
  line-height: 1;
  color: #fff;
  background: #ef4444;
  border-radius: 999px;
  margin-left: 6px;
}

/* Dropdown do menu principal (usuários logados) */
.site-header nav .menu > li.menu-item-has-children,
.primary-navigation .menu > li.menu-item-has-children {
  position: relative;
}
.site-header nav .menu > li.menu-item-has-children > .sub-menu,
.primary-navigation .menu > li.menu-item-has-children > .sub-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  display: none;
  min-width: 240px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  padding: 8px 0;
  z-index: 1000;
}
.site-header nav .menu > li.menu-item-has-children:hover > .sub-menu,
.primary-navigation .menu > li.menu-item-has-children:hover > .sub-menu {
  display: block;
}
.site-header nav .menu > li.menu-item-has-children > .sub-menu > li > a,
.primary-navigation .menu > li.menu-item-has-children > .sub-menu > li > a {
  display: block;
  padding: 10px 14px;
  color: #1f2937;
  text-decoration: none;
  white-space: nowrap;
}
.site-header nav .menu > li.menu-item-has-children > .sub-menu > li > a:hover,
.primary-navigation .menu > li.menu-item-has-children > .sub-menu > li > a:hover {
  background: #f9fafb;
}

@media (max-width: 768px) {
  .site-header nav .menu > li.menu-item-has-children > .sub-menu,
  .primary-navigation .menu > li.menu-item-has-children > .sub-menu {
    position: static;
    display: block;
    box-shadow: none;
    border: 0;
    padding: 0;
    margin-left: 12px;
  }
}
.gd-rating-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255,255,255,.95);
  color: var(--gray-800);
  border-radius: 999px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}
.gd-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.gd-card-title-row .gd-card-title,
.gd-top-card .gd-card-title,
.gd-top-card h3 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1f2937;
}
.gd-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #111827;
  font-weight: 600;
  font-size: 0.95rem;
}
.gd-rating .gd-star,
.gd-rating-badge .gd-star {
  color: #f59e0b;
  font-size: 1rem;
}
.gd-rating .gd-count {
  color: var(--gray-500);
  font-weight: 500;
}

/* Regras de compatibilidade para remover duplicidades e extras nos cards da home */
.gd-top-card .gd-rating-badge { 
  display: none !important; /* manter rating apenas ao lado do título */
}
.gd-top-card .guia-card-body p,
.gd-top-card .guia-card-body .text-sm,
.gd-top-card .guia-card-body .guia-btn {
  display: none !important; /* esconder descrição, endereço e botão */
}
.gd-top-card .gd-card-title {
  color: #1f2937;
  text-decoration: none;
}
.gd-top-card:hover .gd-card-title {
  color: var(--primary);
  text-decoration: underline;
}

.gd-ghost-card {
  visibility: hidden;
  pointer-events: none;
}

/* === GeoDirectory-like Event Cards === */
.guia-eventos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 1024px) {
  .guia-eventos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .guia-eventos-grid {
    grid-template-columns: 1fr;
  }
}
.gd-event-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.gd-event-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
  border-bottom: 1px solid #e5e7eb;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}
.gd-event-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
  display: block;
}
.gd-event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(17,24,39,0.12);
}
.gd-event-card:hover .gd-event-image {
  transform: scale(1.05);
}
.gd-event-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: rgba(17,24,39,.8);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}
.gd-event-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #4b5563;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.gd-event-body {
  padding: 16px;
}
.gd-event-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #374151;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.gd-event-date .icon { color: #111827; }
.gd-event-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 8px 0;
}
.gd-event-card:hover .gd-event-title {
  color: var(--primary);
  text-decoration: underline;
}
.gd-event-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.02);
}
.gd-event-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #374151;
  font-weight: 600;
}
.gd-event-row .icon { opacity: .9; }
.gd-event-row.phone .text { color: #e11d48; } /* destaque rosado/pink como GD */

/* === Single Evento – estilo inspirado no GD === */
.guia-single-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 40px;
}
.guia-single-header {
  display: grid;
  grid-template-columns: 2fr 1.4fr;
  gap: 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(17,24,39,0.06);
  margin-bottom: 24px;
}
.guia-single-thumbnail {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.guia-single-thumbnail img.guia-featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.guia-single-thumbnail:hover img.guia-featured-image {
  transform: scale(1.03);
}
.guia-image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
  padding: 12px;
}
.guia-badge-evento,
.guia-badge-foto {
  background: rgba(17,24,39,.85);
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.guia-single-header-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.guia-single-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
  color: #111827;
}
.guia-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: #374151;
  font-weight: 600;
}
.guia-data-badge,
.guia-hora-badge,
.guia-local-badge,
.guia-categoria-badge {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 6px 10px;
}
.guia-status-evento .guia-status-indicador {
  margin-top: 4px;
  background: #ecfeff;
  border: 1px solid #cffafe;
  color: #0e7490;
  border-radius: 12px;
  padding: 8px 10px;
  font-weight: 700;
}
.guia-header-cta .guia-btn-cta {
  border-radius: 999px;
}
@media (max-width: 900px) {
  .guia-single-header {
    grid-template-columns: 1fr;
  }
}

/* === Single Empresa – layout inspirado no GD === */
.guia-empresa-single {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 40px;
}
.guia-empresa-header {
  display: grid;
  grid-template-columns: 2fr 1.4fr;
  gap: 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(17,24,39,0.06);
  margin-bottom: 24px;
}
.guia-empresa-thumbnail {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.gd-empresa-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.gd-chip {
  background: rgba(17,24,39,.85);
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.gd-hero-icons {
  display: flex;
  gap: 8px;
}
.gd-fav, .gd-share {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #fff;
  display: grid;
  place-items: center;
  color: #4b5563;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.guia-empresa-imagem {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.guia-empresa-thumbnail:hover .guia-empresa-imagem {
  transform: scale(1.03);
}
.gd-empresa-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.gd-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  text-decoration: none;
  color: #111827;
  background: #fff;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.gd-action-btn:hover { background: #f9fafb; }
.gd-action-wa {
  color: #0ea5e9;
  border-color: #bae6fd;
  background: #f0f9ff;
}
.gd-action-site {
  color: #0f766e;
  border-color: #99f6e4;
  background: #ecfeff;
}
.guia-empresa-thumb-grid {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  grid-template-columns: repeat(2, 52px);
  grid-auto-rows: 52px;
  gap: 6px;
  pointer-events: none;
}
.guia-empresa-thumb-item {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
}
.guia-empresa-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.guia-empresa-info h1.guia-empresa-titulo {
  margin: 0 0 8px 0;
  font-size: 1.7rem;
  font-weight: 800;
  color: #111827;
}
.guia-empresa-atualizado {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 10px;
}
.guia-empresa-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: #374151;
  font-weight: 600;
}
.guia-empresa-categoria,
.guia-empresa-bairro,
.guia-badge-plano,
.guia-status-abertura {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 6px 10px;
}
.guia-empresa-content .guia-empresa-section {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(17,24,39,0.04);
  margin-bottom: 20px;
}
.guia-quick-actions .guia-quick-actions-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.guia-quick-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  text-decoration: none;
  color: #111827;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.guia-quick-action:hover {
  background: #f9fafb;
}
.guia-quick-action.whatsapp {
  color: #0ea5e9;
  border-color: #bae6fd;
  background: #f0f9ff;
}
.guia-empresa-galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
.guia-galeria-item {
  border-radius: 12px;
  overflow: hidden;
}
.guia-galeria-item img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
}
@media (max-width: 900px) {
  .guia-empresa-header {
    grid-template-columns: 1fr;
  }
}
