/* Performance optimizations */
* {
  box-sizing: border-box;
}

/* Optimize font loading */
@font-face {
  font-family: 'Poppins';
  font-display: swap;
}

/* Optimize images */
img {
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Optimize animations for performance */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Accessibility improvements */
:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .hero {
    background: #000;
    color: #fff;
  }
  
  .cta-button {
    background: #fff;
    color: #000;
    border: 2px solid #000;
  }
}

/* Skip to content link for screen readers */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* Footer links styling */
.footer-links {
  margin-top: 1rem;
  text-align: center;
}

.footer-links a {
  color: var(--gray-600);
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-links span {
  color: var(--gray-400);
  margin: 0 0.5rem;
}

/* Critical rendering path optimizations */

.galeria-grid {
  contain: layout;
}

/* Performance optimizations */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-display: swap;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Image optimization - performance improvements */
img {
  max-width: 100%;
  height: auto;
  image-rendering: auto;
  /* Otimizações de performance */
  will-change: auto;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Carregamento de imagens otimizado via HTML attributes */

/* Prevenir piscado durante scroll rápido no mobile */
@media (max-width: 768px) {
  /* Otimizações para scroll rápido */
  .galeria-grid {
    contain: layout style paint;
    content-visibility: auto;
    contain-intrinsic-size: 2000px;
    /* Aceleração de hardware */
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }
  
  /* Estabilizar todas as imagens durante scroll */
  img {
    contain: layout style paint;
    content-visibility: auto;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Aceleração de hardware - SOLUÇÃO PRINCIPAL */
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    /* Forçar GPU */
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
  }
  
  /* Prevenir reflow durante scroll rápido */
  .galeria-item {
    contain: layout style paint;
    content-visibility: auto;
    contain-intrinsic-size: 400px;
    /* Aceleração de hardware */
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }
}

/* Lazy loading removido - imagens carregam imediatamente */

/* Garantir que imagens da galeria sejam sempre visíveis */
.galeria-item {
  opacity: 1 !important;
  transform: translateY(0) !important;
  visibility: visible !important;
  position: relative !important;
  z-index: 1 !important;
}

.galeria-item img {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

/* CSS específico para mobile - forçar visibilidade de TODAS as imagens */
@media (max-width: 768px) {
  /* Desabilitar TODAS as animações em mobile */
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  
  /* SOLUÇÃO DEFINITIVA - FORÇAR CARREGAMENTO IMEDIATO */
  img {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    will-change: transform !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    transition: none !important;
    animation: none !important;
    contain: layout style paint !important;
    content-visibility: auto !important;
    /* OTIMIZAÇÕES ESPECÍFICAS PARA TOUCH */
    -webkit-perspective: 1000px !important;
    -webkit-transform-style: preserve-3d !important;
    transform-style: preserve-3d !important;
  }
  
  /* OTIMIZAR SCROLL TOUCH */
  body {
    -webkit-overflow-scrolling: touch !important;
    overflow-scrolling: touch !important;
  }
  
  /* Prevenir piscado das imagens durante scroll rápido */
  .galeria-item, .galeria-item img {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    /* REMOVER transições problemáticas */
    transition: none !important;
    animation: none !important;
    /* Aceleração de hardware - SOLUÇÃO PRINCIPAL */
    will-change: transform !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    /* Forçar GPU */
    transform: translate3d(0, 0, 0) !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    /* Otimizações específicas para scroll rápido */
    contain: layout style paint !important;
    content-visibility: auto !important;
    contain-intrinsic-size: 400px !important;
    /* Prevenir reflow durante scroll */
    position: relative !important;
    z-index: 1 !important;
  }
  
  /* Forçar visibilidade de TODAS as imagens */
  img, img::before, img::after {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    position: relative !important;
    z-index: 1 !important;
    animation: none !important;
    transition: none !important;
    /* Otimizações de performance para mobile */
    max-width: 100% !important;
    height: auto !important;
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: crisp-edges !important;
    /* Reduzir qualidade para mobile */
    image-rendering: auto !important;
    /* Otimizações para scroll rápido */
    contain: layout style paint !important;
    content-visibility: auto !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    will-change: auto !important;
  }
  
  /* Desabilitar hover effects em mobile */
  .galeria-item:hover,
  .blog-card:hover,
  .servico-card:hover {
    transform: none !important;
  }
  
  .galeria-item:hover img,
  .blog-card:hover img,
  .servico-card:hover img {
    transform: none !important;
  }
  
  /* Galeria específica */
  .galeria-item {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
    display: block !important;
    /* Otimizações para mobile */
    aspect-ratio: 1/1 !important;
  }
  
  .galeria-item img {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    background: transparent !important;
    border: none !important;
    /* Otimizações de performance para mobile */
    image-rendering: auto !important;
    will-change: auto !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
  }
  
  /* Blog específico */
  .blog-image {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    height: 200px !important;
    overflow: hidden !important;
  }
  
  .blog-image img {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    background: transparent !important;
    border: none !important;
  }
  
  /* Hero e outras imagens */
  .hero-image img,
  .sobre-image img,
  .educadora-image img {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transform: none !important;
  }
}

/* Performance optimizations */
img {
  content-visibility: auto;
  contain: layout style paint;
}

/* Critical images - load immediately */
img[loading="eager"] {
  content-visibility: visible;
  contain: none;
}

/* Force all images to be visible - removed global rule that may cause conflicts */

/* Reduce motion for better performance */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Hero image fixes */
.hero-image {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
}

.hero-image img {
  width: 300px !important;
  max-width: 300px !important;
  height: auto !important;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  filter: none;
  background: transparent;
  object-fit: cover;
}

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

/* Responsividade da imagem hero - FORÇAR ORDEM MOBILE */
@media (max-width: 768px) {
  .hero {
    flex-direction: column !important;
    text-align: center;
    padding: 20px;
    min-height: auto;
    gap: 20px;
    background: white;
    color: #1e3a8a;
  }
  
  .hero-content {
    order: 1 !important;
    flex: none;
    display: block !important;
  }
  
  .hero-image {
    order: 2 !important;
    flex: none;
    text-align: center;
    display: block !important;
  }
  
  .hero-image img {
    width: 100% !important;
    max-width: 300px !important;
    height: auto !important;
  }
}

/* FORÇAR ORDEM MOBILE - REGRA ESPECÍFICA */
@media (max-width: 768px) {
  .hero .hero-content {
    order: 1 !important;
    display: block !important;
  }
  
  .hero .hero-image {
    order: 2 !important;
    display: block !important;
  }
  
  /* MOBILE: Mostrar galeria imediatamente */
  .galeria-grid {
    display: grid !important; /* Sempre visível no mobile */
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* DESKTOP: Garantir que galeria está visível */
@media (min-width: 769px) {
  .galeria-grid {
    display: grid !important; /* Sempre visível no desktop */
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .galeria-item {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .galeria-item img {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    height: 100% !important;
  }
}

/* FALLBACK: Garantir que galeria sempre aparece */
.galeria-grid {
  display: grid;
  visibility: visible;
  opacity: 1;
}

.galeria-item {
  display: block;
  visibility: visible;
  opacity: 1;
}

.galeria-item img {
  display: block;
  opacity: 1;
  visibility: visible;
}

@media (max-width: 480px) {
  .hero {
    flex-direction: column !important;
    text-align: center;
    padding: 15px;
    gap: 15px;
  }
  
  .hero-content {
    order: 1 !important;
    flex: none;
    display: block !important;
  }
  
  .hero-image {
    order: 2 !important;
    flex: none;
    display: block !important;
  }
  
  .hero-title {
    font-size: 1.8rem !important;
    margin-bottom: 10px;
  }
  
  .hero-subtitle {
    font-size: 0.9rem !important;
    margin-bottom: 20px;
  }
  
  .hero-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
  
  .cta-button {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
  }
}

/* Fallback para quando a imagem não carrega */
.hero-image .fallback-content {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* Reset básico e variáveis CSS modernas */
:root {
  /* Cores principais - Paleta moderna e profissional */
  --primary-color: #1e3a8a;
  --primary-light: #3b82f6;
  --primary-dark: #1e40af;
  --secondary-color: #fbbf24;
  --secondary-light: #fcd34d;
  --secondary-dark: #f59e0b;
  
  /* Cores neutras */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  
  /* Cores de feedback */
  --success: #10b981;
  --success-light: #34d399;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;
  
  /* Tipografia */
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  /* Espaçamentos */
  --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;
  --space-24: 6rem;
  
  /* Bordas e sombras */
  --border-radius-sm: 0.375rem;
  --border-radius: 0.5rem;
  --border-radius-md: 0.75rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 1.5rem;
  --border-radius-2xl: 2rem;
  --border-radius-full: 9999px;
  
  --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);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Transições */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
  
  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

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

/* Melhorias para mobile - área de toque mínima */
button, 
.nav-link, 
.galeria-item, 
.social-link,
.cta-button,
.submit-btn,
.floating-btn,
.blog-link {
  min-height: 44px;
  min-width: 44px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Melhorias específicas para elementos clicáveis */
.nav-toggle,
.galeria-item {
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body {
  font-family: var(--font-family);
  background: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  /* Safe area para o body - evita que conteúdo fique escondido */
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* Regras gerais para imagens responsivas */
img {
  max-width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

/* Desabilitar animações problemáticas em imagens */
.hero-image img,
.sobre-image img,
.quem-somos-image img {
  animation: none !important;
  transform: none !important;
  transition: none !important;
}

/* Correções específicas para problemas de imagem no mobile */
@media (max-width: 768px) {
  /* Garantir que todas as imagens sejam responsivas */
  img {
    max-width: 100% !important;
    height: auto !important;
    transform: none !important;
    animation: none !important;
  }
  
  /* Corrigir problemas com imagens que podem quebrar o layout */
  .hero-image,
  .sobre-image,
  .quem-somos-image {
    width: 100%;
    max-width: 100%;
  }
  
  /* Garantir que imagens da galeria mantenham proporção */
  .galeria-item {
    width: 100%;
    max-width: 100%;
  }
  
  /* Garantir que o conteúdo principal fique acima dos botões flutuantes */
  .hero,
  .sobre,
  .quem-somos,
  .servicos,
  .contato,
  .feedback {
    position: relative;
    z-index: 2;
  }
}

/* Container principal para melhor espaçamento */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 1;
}

/* Melhorias para textos e parágrafos */
p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.3;
}

.header {
  /* Fallbacks para Edge antigo */
  background: #1e3a8a;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1e40af 100%);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--primary-dark) 100%);
  color: #ffffff;
  color: var(--white);
  padding: 20px 0;
  /* Safe area para o header principal - correção definitiva */
  padding-top: calc(20px + env(safe-area-inset-top));
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 10001;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  transition: all var(--transition-normal);
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  z-index: 10001;
  position: relative;
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 12px;
  border: 2px solid #fff;
  object-fit: cover;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 1px;
}

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

        /* Header mais grosso no mobile */
        @media (max-width: 600px) {
          .header {
            padding: 32px 0 48px 0 !important;
            /* Safe area para mobile - correção definitiva */
            padding-top: calc(32px + env(safe-area-inset-top)) !important;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--primary-dark) 100%) !important;
          }
          
          .nav {
            justify-content: center !important;
          }
          
          .logo-img {
            width: 60px !important;
            height: 60px !important;
          }
          
          .logo-text {
            font-size: 1.8rem !important;
          }
        }

        /* Estilos para emojis */
        .section-title,
        .feedbacks-title {
          font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', 'Android Emoji', 'EmojiSymbols', 'EmojiOne Mozilla', 'Twemoji Mozilla', 'Segoe UI Symbol', sans-serif;
        }

        /* CSS para TODOS os navegadores - Botões flutuantes */
        .floating-buttons {
          display: block !important;
          position: fixed !important;
          bottom: 20px !important;
          right: 20px !important;
          z-index: 9999 !important;
        }
        
        .floating-btn {
          display: block !important;
          margin-bottom: 20px !important;
          width: 60px !important;
          height: 60px !important;
          border-radius: 50% !important;
          border: none !important;
          color: white !important;
          font-size: 24px !important;
          cursor: pointer !important;
          transition: all 0.3s ease !important;
        }
        
        .whatsapp-btn {
          background: #25d366 !important;
        }
        
        .chat-btn {
          background: #1e3a8a !important;
        }
        
        .back-to-top {
          background: #6b7280 !important;
        }
        
        .floating-btn:hover {
          transform: scale(1.1) !important;
        }

        /* CSS específico para Edge antigo */
        @supports not (display: grid) {
          .header {
            background: #1e3a8a !important;
            color: #ffffff !important;
            padding: 1.25rem 0 !important;
          }
          
          .nav {
            display: block !important;
            text-align: center !important;
          }
          
          .nav-menu {
            display: block !important;
            text-align: center !important;
          }
          
          .nav-menu li {
            display: inline-block !important;
            margin: 0 10px !important;
          }
          
          .hero {
            display: block !important;
          }
          
          .hero-content {
            text-align: center !important;
            margin-bottom: 2rem !important;
          }
          
          .hero-image {
            text-align: center !important;
          }
          
          /* Botões flutuantes para Edge */
          .floating-buttons {
            display: block !important;
            position: fixed !important;
            bottom: 20px !important;
            right: 20px !important;
            z-index: 9999 !important;
            width: auto !important;
            height: auto !important;
          }
          
          .floating-btn {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
            position: relative !important;
            margin-bottom: 20px !important;
            width: 60px !important;
            height: 60px !important;
            background: #25d366 !important;
            border: none !important;
            border-radius: 50% !important;
            color: white !important;
            font-size: 24px !important;
            cursor: pointer !important;
          }
          
          .chat-btn {
            background: #1e3a8a !important;
          }
          
          .back-to-top {
            background: #f59e0b !important;
          }
          
          /* Seção de feedback para Edge */
          #feedback {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
          }
          
          /* Botão admin para Edge */
          .admin-button {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
          }
          
          /* Chat modal para Edge */
          .chat-modal {
            display: none !important;
            position: fixed !important;
            z-index: 10000 !important;
          }
          
          .chat-modal.show {
            display: block !important;
            visibility: visible !important;
          }
        }

        /* Menu mobile - Design Ultra Moderno */
        @media (max-width: 600px) {
          .nav-menu {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: linear-gradient(135deg, 
              rgba(15, 23, 42, 0.98) 0%, 
              rgba(30, 41, 59, 0.95) 25%,
              rgba(51, 65, 85, 0.92) 50%,
              rgba(71, 85, 105, 0.95) 75%,
              rgba(15, 23, 42, 0.98) 100%);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 0.1rem;
            z-index: 10000;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-100%) scale(0.9);
            transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            padding: 0.5rem 0.25rem;
            box-sizing: border-box;
            pointer-events: none;
            backdrop-filter: blur(25px) saturate(180%);
            box-shadow: 
              0 25px 50px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(255, 255, 255, 0.05),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.08);
            overflow: hidden;
          }
  
  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  
  .nav-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
  }
  
  .nav-toggle {
    display: flex !important;
  }
  
  /* Overlay de fundo para o menu */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
  }
  
  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  /* Prevenir scroll quando menu está aberto */
  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }
  
          /* Logo no menu mobile - REMOVIDO */
          .nav-menu .nav-logo {
            display: none;
          }

          /* Botão X removido - menu fecha pelo overlay ou hambúrguer */
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 12px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link:hover {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

        /* Menu mobile para tablets (768px - 601px) */
        @media (max-width: 768px) and (min-width: 601px) {
          .nav-menu {
            gap: 0.4rem;
            padding: 1.2rem 0.8rem;
          }
          
          .nav-link {
            font-size: 0.9rem;
            padding: 10px 18px;
            min-width: 180px;
            border-radius: 18px;
          }
          
          .nav-link:hover {
            transform: translateY(-5px) scale(1.04);
          }
        }

  .nav-menu.active .nav-link:nth-child(9) { transition-delay: 0.5s; }
  
          .nav-link:hover {
            background: linear-gradient(135deg, 
              rgba(251, 191, 36, 0.2) 0%, 
              rgba(245, 158, 11, 0.15) 100%);
            transform: translateY(-6px) scale(1.05);
            box-shadow: 
              0 12px 30px rgba(251, 191, 36, 0.3),
              0 4px 15px rgba(0, 0, 0, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
            color: #ffffff;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
            border-color: rgba(251, 191, 36, 0.4);
            backdrop-filter: blur(20px) saturate(150%);
          }
  
          .nav-link:active {
            transform: translateY(-3px) scale(1.05);
            background: rgba(251, 191, 36, 0.3);
            box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
          }


        .nav-toggle {
          display: none;
          flex-direction: column;
          cursor: pointer !important;
          padding: 16px;
          border-radius: 16px;
          background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.15) 0%, 
            rgba(255, 255, 255, 0.08) 100%);
          transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
          z-index: 10002 !important;
          border: 1px solid rgba(255, 255, 255, 0.2);
          outline: none;
          min-width: 56px;
          min-height: 56px;
          justify-content: center;
          align-items: center;
          position: relative;
          overflow: hidden;
          pointer-events: auto !important;
          box-shadow: 
            0 6px 20px rgba(0, 0, 0, 0.15),
            0 2px 8px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
          backdrop-filter: blur(15px) saturate(120%);
        }

        /* Responsividade do botão toggle */
        @media (max-width: 480px) {
          .nav-toggle {
            padding: 12px;
            min-width: 48px;
            min-height: 48px;
            border-radius: 12px;
          }
          
          .bar {
            width: 20px;
            height: 2px;
          }
        }

        @media (max-width: 360px) {
          .nav-toggle {
            padding: 10px;
            min-width: 44px;
            min-height: 44px;
            border-radius: 10px;
          }
          
          .bar {
            width: 18px;
            height: 2px;
          }
        }

        @media (max-width: 320px) {
          .nav-toggle {
            padding: 8px;
            min-width: 40px;
            min-height: 40px;
            border-radius: 8px;
          }
          
          .bar {
            width: 16px;
            height: 1px;
          }
        }

.nav-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-toggle:hover::before {
  opacity: 1;
}

        .nav-toggle:hover {
          background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.25) 0%, 
            rgba(255, 255, 255, 0.15) 100%);
          transform: scale(1.05) translateY(-2px);
          box-shadow: 
            0 8px 25px rgba(0, 0, 0, 0.2),
            0 4px 12px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
          backdrop-filter: blur(20px) saturate(150%);
        }

.nav-toggle:active {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0.95);
}

        .nav-toggle.active {
          background: linear-gradient(135deg, 
            rgba(251, 191, 36, 0.3) 0%, 
            rgba(245, 158, 11, 0.25) 100%);
          border: 1px solid rgba(251, 191, 36, 0.5);
          transform: scale(1.05) translateY(-2px);
          box-shadow: 
            0 10px 30px rgba(251, 191, 36, 0.4),
            0 4px 15px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
          backdrop-filter: blur(20px) saturate(150%);
        }

.bar {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

/* Animação do menu hambúrguer melhorada */
.nav-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background: #fbbf24;
}

.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background: #fbbf24;
}

/* Efeito de pulso quando ativo */
.nav-toggle.active::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(251, 191, 36, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 0.6s ease-out;
}

@keyframes pulse {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    width: 60px;
    height: 60px;
    opacity: 0;
  }
}

.hero {
  background: white;
  color: #1e3a8a;
  padding: 60px 30px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-content {
  max-width: 600px;
}
.hero-title {
  font-size: 2.8rem;
  color: #1e3a8a;
  font-weight: 700;
  margin-bottom: 12px;
  background: none;
  text-shadow: none;
}
.hero-subtitle {
  font-size: 1.3rem;
  color: #4b5563;
  margin-bottom: 24px;
  background: none;
  text-shadow: none;
}
.cta-button {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1e3a8a;
  padding: 16px 32px;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.3);
}
.cta-button:hover {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}
.hero-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(30,64,175,0.10);
  object-fit: cover;
  filter: none;
  background: transparent;
}
.sobre {
  background: #fff;
  padding: 60px 0;
}
.sobre-content {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.sobre-text {
  flex: 1;
}
.sobre-image img {
  width: 320px;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(30,64,175,0.10);
  object-fit: cover;
}
.section-title {
  font-size: 2rem;
  color: #1e3a8a;
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
}
.servicos {
  background: #f1f5f9;
  padding: 60px 0;
}
.servicos-grid {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.servico-card {
  background: var(--white);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-md);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  width: 300px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.servico-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.servico-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-2xl);
  border-color: var(--secondary-color);
}

.servico-card:hover::before {
  transform: scaleX(1);
}
.servico-card i {
  font-size: 2.5rem;
  color: #fbbf24;
  margin-bottom: 16px;
}
.quem-somos {
  background: #fff;
  padding: 60px 0;
}
.quem-somos-content {
  max-width: 1200px;
  margin: 0 auto;
}
.quem-somos-intro {
  text-align: center;
  margin-bottom: 50px;
}
.quem-somos-intro h3 {
  color: #1e3a8a;
  margin-bottom: 15px;
  font-size: 1.5rem;
}
.quem-somos-intro p {
  color: #6b7280;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}
.educadoras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}
.educadora-card {
  background: #f8fafc;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(30,64,175,0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.educadora-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(30,64,175,0.15);
  border-color: #fbbf24;
}
.educadora-image {
  margin-bottom: 20px;
}
.educadora-image img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fbbf24;
  box-shadow: 0 6px 20px rgba(251,191,36,0.3);
  transition: all 0.3s ease;
}
.educadora-card:hover .educadora-image img {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(251,191,36,0.4);
}
.educadora-info h4 {
  color: #1e3a8a;
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 600;
}
.educadora-info p {
  color: #6b7280;
  line-height: 1.6;
  font-size: 1rem;
}
.filosofia-section {
  text-align: center;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 40px;
  border-radius: 20px;
  border: 2px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(30,64,175,0.08);
}
.filosofia-section h3 {
  color: #1e3a8a;
  margin-bottom: 30px;
  font-size: 1.8rem;
  font-weight: 700;
  position: relative;
}
.filosofia-section h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #1e3a8a, #fbbf24);
  border-radius: 2px;
}
.proposta-content {
  max-width: 900px;
  margin: 0 auto;
}
.proposta-intro {
  font-size: 1.2rem;
  color: #1e3a8a;
  font-weight: 600;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.6;
}
.proposta-descricao {
  font-size: 1.1rem;
  color: #4a5568;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.7;
}
.proposta-visao {
  font-size: 1.1rem;
  color: #4a5568;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.7;
  font-style: italic;
}
.proposta-bncc {
  font-size: 1.1rem;
  color: #1e3a8a;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
}
.abordagens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 30px;
  padding: 0 20px;
}
.abordagem-item {
  background: #fff;
  padding: 15px 20px;
  border-radius: 12px;
  color: #374151;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(30,64,175,0.1);
  transition: all 0.3s ease;
  border-left: 4px solid #fbbf24;
  text-align: left;
}
.abordagem-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(30,64,175,0.15);
  border-left-color: #1e3a8a;
}
.proposta-detalhes {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  border: 2px solid #e2e8f0;
  margin-top: 20px;
}
.proposta-detalhes p {
  font-size: 1rem;
  color: #4a5568;
  margin-bottom: 15px;
  line-height: 1.6;
}
.proposta-detalhes p:last-child {
  margin-bottom: 0;
  font-weight: 600;
  color: #1e3a8a;
}
.galeria {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 80px 0;
}
.galeria .section-title {
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}
.galeria .section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #1e3a8a, #fbbf24);
  border-radius: 2px;
}
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 24px 36px;
  max-width: 1200px;
  margin: 0 auto;
}
.galeria-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  background: transparent;
  border: 2px solid transparent;
  cursor: pointer;
  aspect-ratio: 1/1;
  display: block;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  transition: none !important;
}

.galeria-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 1;
}

.galeria-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-2xl);
  border-color: var(--secondary-color);
}

.galeria-item:hover::before {
  opacity: 1;
}
.galeria-item img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 16px;
  filter: brightness(1) contrast(1);
  image-rendering: auto;
  background: transparent;
  border: none;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
  /* Otimizações de performance */
  will-change: auto;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.galeria-item:hover img {
  transform: none !important;
  filter: brightness(1) contrast(1) !important;
}



/* Overlay com informações */
.galeria-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(251, 191, 36, 0.8));
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.galeria-info-hover {
  text-align: center;
  color: white;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.galeria-item:hover .galeria-info-hover {
  transform: translateY(0);
}

.galeria-info-hover h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.galeria-info-hover p {
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.galeria-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(251,191,36,0.08), rgba(30,64,175,0.08));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  border-radius: 18px;
}
.galeria-item:hover::before {
  opacity: 1;
}

/* Blog Section */
.blog {
  background: #f8fafc;
  padding: 80px 0;
}

.blog .section-title {
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}

.blog .section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #1e3a8a, #fbbf24);
  border-radius: 2px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(30,64,175,0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(30,64,175,0.15);
  border-color: #fbbf24;
}

.blog-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.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-content {
  padding: 24px;
}

.blog-content h3 {
  color: #1e3a8a;
  margin-bottom: 12px;
  font-size: 1.3rem;
  font-weight: 600;
}

.blog-content p {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fbbf24;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.blog-link:hover {
  color: #1e3a8a;
  transform: translateX(4px);
}

.blog-link::after {
  content: '→';
  transition: transform 0.3s ease;
}

.blog-link:hover::after {
  transform: translateX(4px);
}

.contato {
  background: #f1f5f9;
  padding: 60px 0;
}
.contato-content {
  display: flex;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  align-items: flex-start;
}
.contato-info {
  flex: 1;
}
.contato-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  color: #1e3a8a;
}
.contato-form {
  flex: 1;
  background: #fff;
  padding: 32px 24px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(30,64,175,0.08);
}

/* Seção de Feedback */
.feedback {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 80px 0;
  position: relative; /* Para posicionamento do botão Admin */
}

.feedback-content {
  max-width: 600px;
  margin: 0 auto;
}

.feedback-form {
  background: #fff;
  padding: 40px 32px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(30,64,175,0.12);
  border: 1px solid rgba(251, 191, 36, 0.1);
}

.feedback-form .form-group {
  margin-bottom: 24px;
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  padding: 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  background: #f8fafc;
  transition: all 0.3s ease;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
  border-color: #fbbf24;
  outline: none;
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.1);
  background: #fff;
  transform: translateY(-2px);
}

.feedback-form .submit-btn {
  width: 100%;
  padding: 16px 32px;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.3);
}

.feedback-form .submit-btn:hover {
  background: linear-gradient(135deg, #3b82f6, #1e3a8a);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

/* Sistema de Avaliação com Estrelas */
.rating-label {
  display: block;
  font-weight: 600;
  color: #1e3a8a;
  margin-bottom: 12px;
  font-size: 1rem;
}

.rating-stars {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.star {
  font-size: 2rem;
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.star:hover,
.star.active {
  color: #fbbf24;
  transform: scale(1.1);
}

.star:hover ~ .star {
  color: #e2e8f0;
  transform: scale(1);
}

.rating-stars:hover .star {
  color: #fbbf24;
}

.rating-stars .star:hover ~ .star {
  color: #e2e8f0;
}

/* Estrelas de exibição nos feedbacks */
.feedback-rating {
  margin-bottom: 16px;
}

.star-display {
  font-size: 1.2rem;
  color: #e2e8f0;
  margin-right: 4px;
}

.star-display.active {
  color: #fbbf24;
}

/* Área de Exibição dos Feedbacks */
.feedbacks-display {
  margin-top: 60px;
}

.feedbacks-title {
  text-align: center;
  color: #1e3a8a;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 40px;
}

.feedbacks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.feedback-card {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(30,64,175,0.08);
  border: 1px solid rgba(251, 191, 36, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Botão de deletar feedback */
.delete-feedback-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  opacity: 0.7;
  z-index: 10;
}

.delete-feedback-btn:hover {
  opacity: 1;
  transform: scale(1.1);
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

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

.feedback-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 3rem;
  color: #fbbf24;
  opacity: 0.3;
  font-family: serif;
}

.feedback-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(30,64,175,0.12);
}

.feedback-content {
  margin-left: 20px;
}

.feedback-message {
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 16px;
  font-style: italic;
}

.feedback-author {
  font-weight: 600;
  color: #1e3a8a;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feedback-date {
  font-size: 0.9rem;
  color: #6b7280;
  font-style: italic;
}

.no-feedbacks {
  text-align: center;
  padding: 40px;
  background: #f8fafc;
  border-radius: 16px;
  border: 2px dashed #cbd5e1;
}

.no-feedbacks p {
  font-size: 1.2rem;
  color: #6b7280;
  margin: 0;
}
.form-group {
  margin-bottom: 18px;
}
input, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #f8fafc;
  transition: border 0.2s;
  cursor: text !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}
input:focus, textarea:focus {
  border: 1.5px solid #1e3a8a;
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
  transform: translateY(-1px);
}

/* Textarea com tamanho fixo e scroll */
textarea {
  resize: none;
  height: 120px;
  overflow-y: auto;
  cursor: text !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

/* Para navegadores Firefox */
textarea {
  scrollbar-width: thin;
  scrollbar-color: #1e3a8a #f8fafc;
}

/* Para navegadores WebKit (Chrome, Safari, Edge) */
textarea::-webkit-scrollbar {
  width: 8px;
}

textarea::-webkit-scrollbar-track {
  background: #f8fafc;
  border-radius: 4px;
}

textarea::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #1e3a8a, #fbbf24);
  border-radius: 4px;
  border: 1px solid #fff;
}

textarea::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #fbbf24, #1e3a8a);
}


/* Melhorias para campos focados no mobile */
input.focused, textarea.focused {
  border-color: #fbbf24;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}
.cta-button, .submit-btn {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: #fff;
  padding: 16px 32px;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.3);
  cursor: pointer;
  outline: none;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
}

.cta-button::before, .submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-slow);
}

.cta-button:hover, .submit-btn:hover {
  background: linear-gradient(135deg, #3b82f6, #1e3a8a);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

.cta-button:hover::before, .submit-btn:hover::before {
  left: 100%;
}

.cta-button:active, .submit-btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-md);
}
.footer {
  background: #1e3a8a;
  color: #fff;
  padding: 32px 0 12px 0;
  margin-top: 40px;
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 30px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
}
.footer-social {
  display: flex;
  gap: 16px;
}
.social-link {
  color: #fff;
  font-size: 1.3rem;
  transition: color 0.2s;
}
.social-link:hover {
  color: #fbbf24;
}
.footer-bottom {
  text-align: center;
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-top: 18px;
}
/* ===== RESPONSIVIDADE PARA DESKTOP E MAC ===== */

/* Monitores grandes (1440px+) */
@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
    padding: 0 40px;
  }
  
  .hero {
    padding: 0 40px;
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .servicos-grid {
    gap: 40px;
  }
  
  .servico-card {
    width: 350px;
    padding: 40px 30px;
  }
  
  .galeria-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
  }
}

/* Monitores médios (1200px - 1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {
  .container {
    max-width: 1200px;
    padding: 0 30px;
  }
  
  .hero {
    padding: 0 30px;
    min-height: 450px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.4rem;
  }
  
  .galeria-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* Laptops e MacBooks (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
  .container {
    max-width: 1000px;
    padding: 0 25px;
  }
  
  .hero {
    padding: 0 25px;
    min-height: 400px;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .galeria-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  
  .servico-card {
    width: 280px;
    padding: 30px 20px;
  }
}

/* Tablets grandes e laptops pequenos (900px - 1023px) */
@media (min-width: 900px) and (max-width: 1023px) {
  .container {
    max-width: 900px;
    padding: 0 20px;
  }
  
  .hero {
    padding: 0 20px;
    min-height: 380px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .galeria-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  
  .servico-card {
    width: 260px;
    padding: 25px 18px;
  }
}

/* Tablets (768px - 899px) */
@media (min-width: 768px) and (max-width: 899px) {
  .hero, .sobre-content, .contato-content, .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  
  .hero-image img, .sobre-image img {
    margin: 0 auto;
  }
  
  .container {
    padding: 0 20px;
  }
  
  .hero {
    padding: 0 20px;
    min-height: 350px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .servico-card {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* Monitores ultrawide (1920px+) */
@media (min-width: 1920px) {
  .container {
    max-width: 1600px;
    padding: 0 60px;
  }
  
  .hero {
    padding: 0 60px;
    min-height: 600px;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-subtitle {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .galeria-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
  }
  
  .servico-card {
    width: 400px;
    padding: 50px 40px;
  }
  
  .servico-card i {
    font-size: 3rem;
  }
  
  .servico-card h3 {
    font-size: 1.8rem;
  }
  
  .servico-card p {
    font-size: 1.2rem;
  }
}

/* Monitores 4K (2560px+) */
@media (min-width: 2560px) {
  .container {
    max-width: 2000px;
    padding: 0 80px;
  }
  
  .hero {
    padding: 0 80px;
    min-height: 700px;
  }
  
  .hero-title {
    font-size: 5rem;
  }
  
  .hero-subtitle {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 3.5rem;
  }
  
  .galeria-grid {
    grid-template-columns: repeat(8, 1fr);
    gap: 35px;
  }
  
  .servico-card {
    width: 450px;
    padding: 60px 50px;
  }
  
  .servico-card i {
    font-size: 3.5rem;
  }
  
  .servico-card h3 {
    font-size: 2rem;
  }
  
  .servico-card p {
    font-size: 1.3rem;
  }
}

/* Otimizações específicas para Mac */
@media (min-width: 1024px) {
  /* Melhor renderização de fontes no Mac */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }
  
  /* Melhor performance de animações no Mac */
  .galeria-item,
  .servico-card,
  .cta-button,
  .submit-btn {
    will-change: transform;
    transform: translateZ(0);
  }
  
  /* Melhor contraste para telas Retina */
  .nav-link,
  .cta-button,
  .submit-btn {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  }
}

/* Otimizações para telas de alta densidade (Retina, 4K) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo-img,
  .galeria-item img,
  .sobre-image img,
  .quem-somos-image img,
  .hero-image img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    max-width: 100%;
    height: auto;
  }
  
  /* Melhor qualidade de texto em telas Retina */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}
@media (max-width: 600px) {
  .nav-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    max-width: 85vw;
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    z-index: 1001;
    box-shadow: 0 6px 20px rgba(30,64,175,0.2);
    border-radius: 0 0 8px 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    list-style: none;
    margin: 0;
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    max-height: 60vh;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    display: flex !important;
    opacity: 1;
    transform: translateY(0);
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  .nav-link {
    font-size: 0.9rem;
    padding: 10px 16px;
    width: 100%;
    text-align: left;
    border-radius: 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    color: #fff;
    line-height: 1.2;
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
  
  .nav-link:hover,
  .nav-link:active {
    background: rgba(251, 191, 36, 0.08);
    color: #fbbf24;
    padding-left: 20px;
  }
  
  .nav-toggle {
    display: flex;
    z-index: 1002;
    position: relative;
  }
  
  .nav {
    position: relative;
  }
  
  /* Seta indicativa do menu */
  .nav-menu::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 15px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #1e3a8a;
  }
}

        /* Menu mobile para telas pequenas (480px) */
        @media (max-width: 480px) {
          .nav-menu {
            gap: 0.2rem;
            padding: 0.8rem 0.4rem;
          }
          
          .nav-link {
            font-size: 0.75rem;
            padding: 6px 10px;
            min-width: 120px;
            max-width: 180px;
            border-radius: 14px;
          }
          
          .nav-link:hover,
          .nav-link:active {
            transform: translateY(-2px) scale(1.02);
          }
        }

/* Menu mobile para telas muito pequenas (360px) */
@media (max-width: 360px) {
  .nav-menu {
    gap: 0.15rem;
    padding: 0.6rem 0.3rem;
  }
  
  .nav-link {
    font-size: 0.7rem;
    padding: 5px 8px;
    min-width: 100px;
    max-width: 160px;
    border-radius: 12px;
  }
  
  .nav-link:hover,
  .nav-link:active {
    transform: translateY(-1px) scale(1.01);
  }
  
  /* Galeria para telas muito pequenas */
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 10px 5px;
    gap: 12px;
  }
  
  .galeria-item {
    aspect-ratio: 1/1;
    min-height: 120px;
  }
  
  .galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
  }
}

/* Menu mobile para telas ultra pequenas (320px) */
@media (max-width: 320px) {
  .nav-menu {
    gap: 0.1rem;
    padding: 0.4rem 0.2rem;
  }
  
  .nav-link {
    font-size: 0.65rem;
    padding: 4px 6px;
    min-width: 90px;
    max-width: 140px;
    border-radius: 10px;
  }
  
  .nav-link:hover,
  .nav-link:active {
    transform: scale(1.005);
  }
}

/* Menu mobile para landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .nav-menu {
    gap: 0.1rem;
    padding: 0.4rem 0.2rem;
    justify-content: center;
  }
  
  .nav-link {
    font-size: 0.7rem;
    padding: 4px 8px;
    min-width: 100px;
    max-width: 150px;
    margin: 1px 0;
  }
}
@media (max-width: 768px) {
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 15px 20px;
    gap: 12px;
  }
  
  .galeria-item {
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(30,64,175,0.12);
  }
  
  .galeria-item img {
    border-radius: 10px;
  }

  .galeria {
    padding: 60px 0;
  }
  
  /* Melhorias para botões no mobile */
  .cta-button, .submit-btn {
    padding: 16px 32px;
    font-size: 1.2rem;
    min-height: 48px;
    border-radius: 25px;
  }
  
  /* Melhorias para campos de formulário */
  input, textarea {
    padding: 16px;
    font-size: 16px; /* Evita zoom no iOS */
    border-radius: 12px;
  }
  
  .form-group {
    margin-bottom: 24px;
  }
  
  /* Melhorias para cards de serviço */
  .servico-card {
    padding: 24px 20px;
    margin: 8px 0;
  }
  
  /* Melhorias para textos no mobile */
  p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
  }
  
  h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.2rem;
    line-height: 1.4;
  }
  
  /* Melhorias de espaçamento para textos */
  .hero-content {
    padding: 0 15px;
  }
  
  .sobre-text {
    padding: 0 15px;
  }
  
  .quem-somos-text {
    padding: 0 15px;
  }
  
  .contato-info {
    padding: 0 15px;
  }
  
  .contato-form {
    padding: 32px 20px;
  }
  
  /* Melhorias para seções */
  .sobre {
    padding: 60px 20px;
  }
  
  .quem-somos {
    padding: 60px 20px;
  }
  
  .contato {
    padding: 60px 20px;
  }
  
  .servicos {
    padding: 60px 20px;
  }
  
  .feedback {
    padding: 60px 20px;
  }
  
  .feedback-form {
    padding: 32px 24px;
  }
  
  .feedbacks-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feedbacks-title {
    font-size: 1.5rem;
  }
  
  .star {
    font-size: 1.8rem;
  }
  
  .star-display {
    font-size: 1.1rem;
  }
  
  .delete-feedback-btn {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
}
@media (max-width: 480px) {
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 15px 10px;
    gap: 15px;
  }
  
  .galeria-item {
    aspect-ratio: 1/1;
    min-height: 150px;
  }
  
  .galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
  }
  
  /* Melhorias específicas para telas muito pequenas */
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  /* Menu mobile para telas pequenas */
  .nav-links {
    padding: 60px 15px 30px;
  }
  
  .nav-link {
    font-size: 1.2rem;
    padding: 18px 25px;
  }
  
  .nav-links li {
    max-width: 280px;
  }
  
  .nav-logo-mobile {
    top: 20px;
    left: 20px;
    font-size: 1.1rem;
  }
  
  .nav-logo-mobile .logo-img {
    width: 35px;
    height: 35px;
  }
  
  .nav-close-btn {
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
  
  .cta-button, .submit-btn {
    padding: 14px 28px;
    font-size: 1.1rem;
  }
  
  /* Melhorias para galeria em telas pequenas */
  .galeria-item {
    border-radius: 12px;
  }
  
  .galeria-item img {
    border-radius: 10px;
  }
  
  /* Melhorias para formulário */
  .contato-form {
    padding: 24px 16px;
  }
  
  input, textarea {
    padding: 14px;
  }
  
  /* Menu mobile para telas muito pequenas */
  .nav-menu {
    width: 250px;
    right: 10px;
  }
  
  .nav-menu::before {
    right: 15px;
  }
  
  /* Espaçamentos específicos para telas muito pequenas */
  .container {
    padding: 0 15px;
  }
  
  .hero {
    padding: 0 15px;
  }
  
  .hero-content {
    padding: 0 10px;
  }
  
  .sobre {
    padding: 40px 15px;
  }
  
  .sobre-content {
    padding: 0 10px;
  }
  
  .sobre-text {
    padding: 0 10px;
  }
  
  .quem-somos {
    padding: 40px 15px;
  }
  
  .quem-somos-content {
    padding: 0 10px;
  }
  
  .quem-somos-text {
    padding: 0 10px;
  }
  
  .contato {
    padding: 40px 15px;
  }
  
  .contato-content {
    padding: 0 10px;
  }
  
  .contato-info {
    padding: 0 10px;
  }
  
  .contato-form {
    padding: 20px 15px;
  }
  
  .servicos {
    padding: 40px 15px;
  }
  
  .galeria {
    padding: 40px 15px;
  }
  
    font-size: 0.8rem;
  }
  
  /* Modal responsivo */
  .gallery-modal-container {
    width: 95vw;
    height: 95vh;
    border-radius: 15px;
  }
  
  .gallery-modal-header {
    padding: 15px 20px;
  }
  
  .gallery-modal-info h3 {
    font-size: 1.1rem;
  }
  
  .gallery-modal-info p {
    font-size: 0.85rem;
  }
  
  .gallery-modal-close {
    width: 35px;
    height: 35px;
  }
  
  .gallery-modal-content {
    padding: 15px;
  }
  
  .gallery-modal-prev,
  .gallery-modal-next {
    width: 40px;
    height: 40px;
  }
  
  .gallery-modal-prev {
    left: 10px;
  }
  
  .gallery-modal-next {
    right: 10px;
  }
  
  
  /* Imagem menor no mobile */
  .gallery-modal-image-container img {
    max-width: 80%;
    max-height: 50%;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .gallery-modal-image-container img {
    max-width: 70%;
    max-height: 55%;
  }
  
  .feedback {
    padding: 40px 15px;
  }
  
  .feedback-form {
    padding: 24px 20px;
  }
  
  .feedbacks-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .feedback-card {
    padding: 20px;
  }
  
  .feedbacks-title {
    font-size: 1.3rem;
  }
  
  .star {
    font-size: 1.6rem;
  }
  
  .star-display {
    font-size: 1rem;
  }
  
  .delete-feedback-btn {
    width: 26px;
    height: 26px;
    font-size: 0.7rem;
  }
  
  .footer-content {
    padding: 0 15px;
  }
}

/* Modal da Galeria - VERSÃO SIMPLIFICADA */
.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  background: transparent;
}

.gallery-modal.show {
  display: flex !important;
}

.gallery-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  backdrop-filter: blur(10px);
}

.gallery-modal-container {
  position: relative;
  width: 400px;
  height: 600px;
  background: white;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10000;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Header do Modal */
.gallery-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: white;
}

.gallery-modal-info h3 {
  margin: 0 0 3px 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.gallery-modal-info p {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.9;
}

.gallery-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.gallery-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* Conteúdo do Modal */
.gallery-modal-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 10px;
  background: transparent;
}

.gallery-modal-image-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: white;
}

.gallery-modal-image-container img {
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.gallery-modal-image-container img:hover {
  transform: scale(1.02);
}

/* Regras simplificadas para o modal */
.gallery-modal:not(.show) {
  display: none !important;
}

.gallery-modal.show {
  display: flex !important;
}

/* Regra específica para imagens criadas dinamicamente */
#galleryModalImage,
.modal-image {
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  display: block;
}

/* Botões de Navegação */
.gallery-modal-prev,
.gallery-modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30, 58, 138, 0.9);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.gallery-modal-prev {
  left: 10px;
}

.gallery-modal-next {
  right: 10px;
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
  background: #1e3a8a;
  transform: translateY(-50%) scale(1.1);
}


.gallery-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: #ff4444;
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 10000;
}

.gallery-modal-close:hover {
  background: #ff6666;
}

.gallery-modal-prev,
.gallery-modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #1e3a8a;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10000;
}

.gallery-modal-prev {
  left: 10px;
}

.gallery-modal-next {
  right: 10px;
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
  background: #fbbf24;
}

/* Responsividade do Modal */
@media (max-width: 768px) {
  .gallery-modal {
    padding: 10px;
  }
  
  .gallery-modal-content {
    max-width: 95vw;
    max-height: 90vh;
    padding: 10px;
  }
  
  .gallery-modal-close {
    width: 25px;
    height: 25px;
    font-size: 16px;
    top: 5px;
    right: 10px;
  }
  
  .gallery-modal-prev,
  .gallery-modal-next {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
  
  .gallery-modal-prev {
    left: 5px;
  }
  
  .gallery-modal-next {
    right: 5px;
  }
}

@media (max-width: 480px) {
  .gallery-modal {
    padding: 5px;
  }
  
  .gallery-modal-content {
    max-width: 98vw;
    max-height: 95vh;
    padding: 8px;
  }
  
  .gallery-modal-close {
    width: 22px;
    height: 22px;
    font-size: 14px;
    top: 3px;
    right: 8px;
  }
  
  .gallery-modal-prev,
  .gallery-modal-next {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
  
  .gallery-modal-prev {
    left: 3px;
  }
  
  .gallery-modal-next {
    right: 3px;
  }
}

@media (min-width: 1200px) {
  .gallery-modal-content {
    max-width: 70vw;
    max-height: 80vh;
  }
}

.modal-image {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(30,64,175,0.10);
}


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

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}


/* ===== ESTILOS DO PAINEL ADMINISTRATIVO ===== */

/* Modal administrativo */
.admin-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(5px);
}

.admin-modal-content {
  background: white;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  animation: adminModalSlideIn 0.3s ease-out;
}

@keyframes adminModalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.admin-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 2px solid #f1f5f9;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: white;
  border-radius: 15px 15px 0 0;
}

.admin-modal-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.admin-modal-close {
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.admin-modal-body {
  padding: 25px;
}

.admin-password-input {
  width: 100%;
  padding: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 16px;
  margin: 15px 0;
  transition: all 0.3s ease;
  background: #f8fafc;
}

.admin-password-input:focus {
  outline: none;
  border-color: #3b82f6;
  background: white;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.admin-modal-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.admin-login-btn, .admin-cancel-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 44px;
}

.admin-login-btn {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.admin-login-btn:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.admin-cancel-btn {
  background: #f1f5f9;
  color: #64748b;
  border: 2px solid #e2e8f0;
}

.admin-cancel-btn:hover {
  background: #e2e8f0;
  color: #475569;
}

/* Painel administrativo */
.admin-panel .admin-modal-body {
  text-align: center;
}

.admin-stats {
  background: #f8fafc;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 2px solid #e2e8f0;
}

.admin-stats p {
  margin: 8px 0;
  font-size: 16px;
}

.admin-actions {
  display: flex;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.admin-action-btn {
  flex: 1;
  min-width: 150px;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  min-height: 44px;
}

.admin-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.admin-action-btn.logout {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.admin-action-btn.logout:hover {
  box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}

.admin-info {
  background: #fef3c7;
  border: 2px solid #fbbf24;
  border-radius: 10px;
  padding: 15px;
  margin-top: 20px;
}

.admin-info p {
  margin: 0;
  color: #92400e;
  font-size: 14px;
}

/* Botão de acesso administrativo - VERSÃO MICRO MOBILE */
.admin-access-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #1e3a8a;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 16px;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
  min-height: 44px;
  min-width: 44px;
  opacity: 0.8;
  /* Melhorias para mobile */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* Melhor contraste para mobile */
  font-weight: 600;
  letter-spacing: 0.5px;
}

.admin-access-btn:hover {
  transform: scale(1.1);
  background: #1e40af;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  opacity: 1;
}

/* Melhorias para dispositivos touch */
.admin-access-btn:active {
  transform: scale(0.95);
  background: #1e40af;
  opacity: 1;
}

/* Melhorias para dispositivos com hover (desktop) */
@media (hover: hover) {
  .admin-access-btn:hover {
    transform: scale(1.1);
    background: #1e40af;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    opacity: 1;
  }
}

/* Botão de deletar feedback (apenas para admins) */
.delete-feedback-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ef4444;
  color: white;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0.8;
  min-height: 44px;
  min-width: 44px;
}

.delete-feedback-btn:hover {
  background: #dc2626;
  opacity: 1;
  transform: scale(1.1);
  box-shadow: 0 3px 10px rgba(239, 68, 68, 0.4);
}

/* Responsividade para o painel administrativo */
@media (max-width: 768px) {
  .admin-modal-content {
    width: 95%;
    margin: 10px;
  }
  
  .admin-modal-header {
    padding: 15px 20px;
  }
  
  .admin-modal-header h3 {
    font-size: 1.1rem;
  }
  
  .admin-modal-body {
    padding: 20px;
  }
  
  .admin-modal-buttons {
    flex-direction: column;
  }
  
  .admin-actions {
    flex-direction: column;
  }
  
  .admin-action-btn {
    min-width: auto;
  }
  
  .admin-access-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    padding: 12px 16px;
    font-size: 13px;
    min-height: 48px;
    min-width: 48px;
    /* Melhorias para tablet */
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  }
}

/* ===== ESTILOS PARA FOTOS DAS EDUCADORAS ===== */

/* Layout das fotos das educadoras */
.educadoras-fotos {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.educadora-foto {
  text-align: center;
  max-width: 200px;
  flex: 1;
  min-width: 150px;
}

.educadora-foto img {
  width: 100%;
  max-width: 180px;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 15px;
}

.educadora-foto img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3);
}


/* Seção Experiências Vivas */
.experiencias-vivas {
  margin-top: 50px;
  text-align: center;
}

.experiencias-title {
  font-size: 1.8rem;
  color: #1e3a8a;
  font-weight: 600;
  margin-bottom: 30px;
  position: relative;
}

.experiencias-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #1e3a8a, #fbbf24);
  border-radius: 2px;
}

.experiencias-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.experiencia-card {
  background: #fff;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(30,64,175,0.1);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  min-height: 120px;
  justify-content: center;
}

.experiencia-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(30,64,175,0.15);
  border-color: #fbbf24;
}

.experiencia-card i {
  color: #fbbf24;
  font-size: 2.2rem;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.experiencia-card:hover i {
  transform: scale(1.1);
  color: #1e3a8a;
}

.experiencia-card p {
  margin: 0;
  color: #374151;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Cartões de experiências com tamanho igual */
.experiencias-cartoes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.experiencias-cartoes > div {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(30,64,175,0.1);
  width: 200px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experiencias-cartoes > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(30,64,175,0.2);
}

.experiencias-cartoes i {
  color: #fbbf24;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.experiencias-cartoes p {
  margin: 0;
  color: #374151;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Responsividade para Experiências Vivas */
@media (max-width: 1024px) {
  .experiencias-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .experiencias-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .experiencias-vivas {
    margin-top: 40px;
  }
  
  .experiencias-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 15px;
  }
  
  .experiencias-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }
  
  .experiencia-card {
    padding: 20px 15px;
    min-height: 100px;
  }
  
  .experiencia-card i {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }
  
  .experiencia-card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .experiencias-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 10px;
  }
  
  .experiencias-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }
  
  .experiencia-card {
    padding: 18px 15px;
    min-height: 90px;
  }
  
  .experiencia-card i {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }
  
  .experiencia-card p {
    font-size: 0.85rem;
  }
}

/* Responsividade para Nossa Proposta */
@media (max-width: 768px) {
  .filosofia-section {
    padding: 30px 20px;
  }
  
  .filosofia-section h3 {
    font-size: 1.6rem;
  }
  
  .proposta-intro {
    font-size: 1.1rem;
  }
  
  .proposta-descricao,
  .proposta-visao {
    font-size: 1rem;
  }
  
  .abordagens-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 10px;
  }
  
  .abordagem-item {
    padding: 12px 15px;
    font-size: 0.9rem;
  }
  
  .proposta-detalhes {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .filosofia-section {
    padding: 25px 15px;
  }
  
  .filosofia-section h3 {
    font-size: 1.4rem;
  }
  
  .proposta-intro {
    font-size: 1rem;
  }
  
  .proposta-descricao,
  .proposta-visao {
    font-size: 0.95rem;
  }
  
  .abordagens-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0;
  }
  
  .abordagem-item {
    padding: 10px 15px;
    font-size: 0.85rem;
  }
  
  .proposta-detalhes {
    padding: 15px;
  }
  
  .proposta-detalhes p {
    font-size: 0.9rem;
  }
}

/* Responsividade para cartões */
@media (max-width: 768px) {
  .experiencias-cartoes {
    gap: 15px;
  }
  
  .experiencias-cartoes > div {
    width: 160px;
    min-height: 100px;
    padding: 15px;
  }
  
  .experiencias-cartoes i {
    font-size: 1.5rem;
  }
  
  .experiencias-cartoes p {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .experiencias-cartoes {
    gap: 10px;
  }
  
  .experiencias-cartoes > div {
    width: 140px;
    min-height: 90px;
    padding: 12px;
  }
  
  .experiencias-cartoes i {
    font-size: 1.3rem;
  }
  
  .experiencias-cartoes p {
    font-size: 0.75rem;
  }
}

.educadora-foto h3 {
  font-size: 1.1rem;
  color: #1e3a8a;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

/* Layout das informações das educadoras */
.educadoras-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 30px 0;
}

.educadora {
  background: #f8fafc;
  padding: 25px;
  border-radius: 15px;
  border: 2px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.educadora:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.1);
}

.educadora h3 {
  color: #1e3a8a;
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.educadora p {
  color: #4a5568;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.educadora ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.educadora li {
  color: #4a5568;
  font-size: 0.9rem;
  margin-bottom: 5px;
  padding-left: 15px;
  position: relative;
}

.educadora li::before {
  content: "✓";
  color: #10b981;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* ===== MELHORIAS DE RESPONSIVIDADE MOBILE ===== */

/* Breakpoint para tablets grandes (1024px) */
@media (max-width: 1024px) {
  .container {
    max-width: 95%;
    padding: 0 20px;
  }
  
  .hero {
    padding: 80px 20px;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .sobre-content,
  .quem-somos-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .sobre-image,
  .quem-somos-image {
    text-align: center;
  }
  
  .sobre-image img {
    width: 100%;
    max-width: 280px;
    height: auto;
  }
  
  /* Fotos das educadoras em tablets */
  .educadoras-fotos {
    gap: 25px;
    margin: 25px 0;
  }
  
  .educadora-foto {
    max-width: 180px;
    min-width: 140px;
  }
  
  .educadora-foto img {
    max-width: 160px;
  }
  
  .educadoras-info {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .servicos-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
  
  .galeria-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0 10px;
  }
  
  .galeria-item {
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(30,64,175,0.10);
  }
  
  .galeria-item img {
    border-radius: 8px;
  }
  
  .contato-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .feedbacks-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }
}

/* Breakpoint para tablets (768px) - Melhorias Mobile */
@media (max-width: 768px) {
  /* Header e navegação melhorados */
  .header {
    padding: 0 15px;
  }
  
  .nav-logo {
    gap: 8px;
  }
  
  .logo-img {
    width: 35px;
    height: 35px;
  }
  
  .logo-text {
    font-size: 1.1rem;
  }
  
  /* Hero section otimizada para mobile */
  .hero {
    padding: 60px 15px;
    min-height: 70vh;
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .hero-content {
    order: 2;
    max-width: 100%;
  }
  
  .hero-image {
    order: 1;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .hero-image img {
    width: 100%;
    max-width: 280px;
    height: auto;
  }
  
  .hero-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.4;
  }
  
  .cta-button {
    padding: 14px 28px;
    font-size: 1.1rem;
    min-height: 48px;
    border-radius: 25px;
  }
  
  /* Seções otimizadas para mobile */
  .sobre,
  .quem-somos,
  .servicos,
  .contato,
  .feedback {
    padding: 50px 15px;
  }
  
  /* Layout das educadoras em mobile - foto e info lado a lado */
  .educadoras-fotos {
    display: none; /* Esconder as fotos separadas */
  }
  
  .educadoras-info {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px 0;
  }
  
  /* Novo layout para cada educadora no mobile - VERTICAL */
  .educadora {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 15px;
    border: 2px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: auto;
    overflow: visible;
  }
  
  .educadora:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.1);
  }
  
  /* Foto da educadora no mobile - NO TOPO */
  .educadora::before {
    content: '';
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
    display: block;
    margin: 0 auto 5px auto;
  }
  
  /* Foto específica para Lorrayne */
  .educadora:first-child::before {
    background-image: url('images/proprietaria1.webp');
  }
  
  /* Força a exibição da foto da Caroline */
  .educadora:nth-child(2)::before {
    background-image: url('images/proprietaria2.webp') !important;
  }
  
  /* Foto específica para Caroline */
  .educadora:last-child::before,
  .educadora:nth-child(2)::before {
    background-image: url('images/proprietaria2.webp');
  }
  
  /* Conteúdo da educadora - CENTRALIZADO */
  .educadora > * {
    width: 100%;
    text-align: center;
  }
  
  .educadora h3 {
    color: #1e3a8a;
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .educadora h3 .first-name {
    display: block;
    margin-bottom: 2px;
  }
  
  .educadora h3 .last-name {
    display: block;
  }
  
  .educadora p {
    color: #4a5568;
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 500;
  }
  
  .educadora ul {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: visible;
    text-align: left;
    max-width: 280px;
    margin: 0 auto;
  }
  
  .educadora li {
    color: #4a5568;
    font-size: 0.85rem;
    margin-bottom: 4px;
    padding-left: 20px;
    position: relative;
    line-height: 1.3;
    word-wrap: break-word;
  }
  
  .educadora li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 0.9rem;
  }
  
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    line-height: 1.3;
  }
  
  /* Serviços melhorados para mobile */
  .servicos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .servico-card {
    padding: 25px 20px;
    text-align: center;
  }
  
  .servico-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }
  
  .servico-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
  
  .servico-card p {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  /* Experiências Vivas responsivas */
  .servicos > .container > div:last-child {
    margin-top: 30px;
  }
  
  .servicos > .container > div:last-child > div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
  }
  
  .servicos > .container > div:last-child > div > div {
    padding: 12px;
    text-align: center;
  }
  
  .servicos > .container > div:last-child > div > div i {
    font-size: 1.3rem;
  }
  
  .servicos > .container > div:last-child > div > div p {
    font-size: 0.9rem;
    margin-top: 8px;
  }
  
  /* Galeria otimizada para mobile - COMPACTA */
  .galeria-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 0 8px;
  }
  
  .galeria-item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1/1;
    box-shadow: 0 2px 8px rgba(30,64,175,0.08);
  }
  
  .galeria-item img {
    border-radius: 6px;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  
  .galeria-item:hover img {
    transform: none !important;
  }
  
  /* Formulários melhorados para mobile */
  .contato-form,
  .feedback-form {
    padding: 30px 20px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  input,
  textarea {
    padding: 15px;
    font-size: 16px; /* Evita zoom no iOS */
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    transition: border-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
  }
  
  input:focus,
  textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  }
  
  .submit-btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 25px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
    min-height: 48px;
  }
  
  /* Sistema de avaliação melhorado para mobile */
  .rating-stars {
    justify-content: center;
    margin: 15px 0;
  }
  
  .star {
    font-size: 2rem;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .star:hover,
  .star.active {
    color: #fbbf24;
    transform: scale(1.1);
  }
  
  /* Feedbacks otimizados para mobile */
  .feedbacks-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feedback-card {
    padding: 20px;
    position: relative;
  }
  
  .feedback-rating {
    margin-bottom: 10px;
  }
  
  .star-display {
    font-size: 1rem;
    margin-right: 3px;
  }
  
  .feedback-message {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 12px;
  }
  
  .feedback-author {
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 5px;
  }
  
  .feedback-date {
    font-size: 0.9rem;
    color: #666;
  }
  
  /* Footer responsivo */
  .footer {
    padding: 30px 15px 20px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-bottom {
    text-align: center;
    font-size: 0.9rem;
  }
  
  /* Botão Admin responsivo para tablets */
  .admin-access-btn {
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    padding: 11px 15px;
    font-size: 13px;
  }
}

/* Breakpoint para smartphones grandes (480px) - Melhorias Mobile */
@media (max-width: 480px) {
  /* Container e espaçamentos */
  .container {
    padding: 0 10px;
  }
  
  /* Header compacto */
  .header {
    padding: 0 10px;
  }
  
  .nav-logo {
    gap: 6px;
  }
  
  .logo-img {
    width: 30px;
    height: 30px;
  }
  
  .logo-text {
    font-size: 1rem;
  }
  
  /* Hero ultra compacto */
  .hero {
    padding: 40px 10px;
    min-height: 60vh;
  }
  
  .hero-title {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.4;
  }
  
  .cta-button {
    padding: 12px 24px;
    font-size: 1rem;
  }
  
  /* Seções compactas */
  .sobre,
  .quem-somos,
  .servicos,
  .contato,
  .feedback {
    padding: 30px 10px;
  }
  
  /* Layout das educadoras em smartphones - foto e info lado a lado */
  .educadoras-fotos {
    display: none; /* Esconder as fotos separadas */
  }
  
  .educadoras-info {
    gap: 15px;
    margin: 15px 0;
  }
  
  /* Layout para cada educadora em smartphones - VERTICAL */
  .educadora {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    min-height: auto;
    overflow: visible;
  }
  
  /* Foto da educadora em smartphones - NO TOPO */
  .educadora::before {
    content: '';
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 3px 10px rgba(30, 64, 175, 0.2);
    display: block;
    margin-bottom: 5px;
  }
  
  /* Foto específica para Lorrayne */
  .educadora:first-child::before {
    background-image: url('images/proprietaria1.webp');
  }
  
  /* Força a exibição da foto da Caroline */
  .educadora:nth-child(2)::before {
    background-image: url('images/proprietaria2.webp') !important;
  }
  
  /* Foto específica para Caroline */
  .educadora:last-child::before,
  .educadora:nth-child(2)::before {
    background-image: url('images/proprietaria2.webp');
  }
  
  /* Conteúdo da educadora em smartphones - CENTRALIZADO */
  .educadora > * {
    width: 100%;
    text-align: center;
  }
  
  .educadora h3 {
    color: #1e3a8a;
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-weight: 700;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .educadora h3 .first-name {
    display: block;
    margin-bottom: 2px;
  }
  
  .educadora h3 .last-name {
    display: block;
  }
  
  .educadora p {
    color: #4a5568;
    margin-bottom: 8px;
    font-size: 0.85rem;
    line-height: 1.4;
    font-weight: 500;
  }
  
  .educadora ul {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: visible;
    text-align: left;
    max-width: 250px;
    margin: 0 auto;
  }
  
  .educadora li {
    color: #4a5568;
    font-size: 0.8rem;
    margin-bottom: 3px;
    padding-left: 18px;
    position: relative;
    line-height: 1.3;
    word-wrap: break-word;
  }
  
  .educadora li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 0.85rem;
  }
  
  
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  /* Serviços em coluna única */
  .servicos-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .servico-card {
    padding: 20px 15px;
  }
  
  .servico-card i {
    font-size: 2rem;
  }
  
  .servico-card h3 {
    font-size: 1.2rem;
  }
  
  .servico-card p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  /* Experiências Vivas em coluna única */
  .servicos > .container > div:last-child > div {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .servicos > .container > div:last-child > div > div {
    padding: 10px;
  }
  
  .servicos > .container > div:last-child > div > div i {
    font-size: 1.2rem;
  }
  
  .servicos > .container > div:last-child > div > div p {
    font-size: 0.85rem;
  }
  
  /* Galeria em coluna única - ULTRA COMPACTA */
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 0 4px;
  }
  
  .galeria-item {
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(30,64,175,0.06);
    aspect-ratio: 1/1;
    overflow: hidden;
  }
  
  .galeria-item img {
    border-radius: 4px;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Botões flutuantes para telas muito pequenas */
  .floating-buttons {
    bottom: 60px;
    right: 10px;
    z-index: 997;
  }
  
  .floating-btn {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
  
  /* Formulários compactos */
  .contato-form,
  .feedback-form {
    padding: 20px 15px;
  }
  
  input,
  textarea {
    padding: 12px;
    font-size: 16px;
  }
  
  .submit-btn {
    padding: 12px 24px;
    font-size: 1rem;
  }
  
  /* Sistema de avaliação compacto */
  .star {
    font-size: 1.8rem;
    margin: 0 3px;
  }
  
  /* Feedbacks compactos */
  .feedback-card {
    padding: 15px;
  }
  
  .feedback-message {
    font-size: 0.95rem;
  }
  
  .feedback-author {
    font-size: 0.9rem;
  }
  
  .feedback-date {
    font-size: 0.8rem;
  }
  
  /* Menu mobile otimizado */
  .nav-menu {
    width: 100%;
    right: 0;
    left: 0;
    border-radius: 0;
  }
  
  .nav-menu::before {
    display: none;
  }
  
  .nav-link {
    font-size: 1.2rem;
    padding: 16px 20px;
  }
  
  /* Footer compacto */
  .footer {
    padding: 20px 10px 15px;
  }
  
  .footer-bottom {
    font-size: 0.8rem;
    line-height: 1.4;
  }
  
  /* Botão Admin responsivo para smartphones - PARTE AZUL MENOR */
  .admin-access-btn {
    position: absolute !important;
    bottom: 20px !important;
    right: 20px !important;
    padding: 4px 8px !important;
    font-size: 8px !important;
    min-height: 20px !important;
    min-width: 45px !important;
    /* Melhorias para smartphone */
    font-weight: 500 !important;
    letter-spacing: 0px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) !important;
    /* Melhor visibilidade em mobile */
    opacity: 0.9 !important;
    /* Botão compacto como na imagem */
    border-radius: 10px !important;
  }
}

/* Breakpoint para iPhone 11 Pro Max e similares (414px) */
@media (max-width: 414px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.4rem;
  }
  
  .servico-card {
    padding: 18px 15px;
  }
  
  .servico-card i {
    font-size: 2rem;
  }
  
  .servico-card h3 {
    font-size: 1.2rem;
  }
  
  .servico-card p {
    font-size: 0.9rem;
  }
  
  .cta-button, .submit-btn {
    padding: 14px 28px;
    font-size: 1.1rem;
  }
  
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 10px 8px;
    gap: 12px;
  }
  
  .galeria-item {
    border-radius: 12px;
  }
  
  .galeria-item img {
    border-radius: 10px;
  }
  
  /* Responsividade para Quem Somos */
  .educadoras-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .educadora-card {
    padding: 25px;
  }
  
  .educadora-image img {
    width: 150px;
    height: 150px;
  }
  
  .filosofia-section {
    padding: 30px 20px;
  }
  
  .filosofia-section li {
    font-size: 1rem;
    padding: 10px 15px;
  }
  
  .contato-form {
    padding: 24px 18px;
  }
  
  input, textarea {
    padding: 14px;
    font-size: 16px; /* Evita zoom no iOS */
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .nav-link {
    font-size: 1.2rem;
    padding: 14px 20px;
  }
  
  .cta-button, .submit-btn {
    padding: 14px 28px;
    font-size: 1.1rem;
  }
  
  /* Sistema de avaliação compacto */
  .star {
    font-size: 1.8rem;
    margin: 0 3px;
  }
  
  /* Feedbacks compactos */
  .feedback-card {
    padding: 15px;
  }
  
  .feedback-message {
    font-size: 0.95rem;
  }
  
  .feedback-author {
    font-size: 0.9rem;
  }
  
  .feedback-date {
    font-size: 0.8rem;
  }
  
  /* Menu mobile otimizado */
  .nav-menu {
    width: 100%;
    right: 0;
    left: 0;
    border-radius: 0;
  }
  
  .nav-menu::before {
    display: none;
  }
  
  .nav-link {
    font-size: 1.2rem;
    padding: 16px 20px;
  }
  
  /* Footer compacto */
  .footer {
    padding: 20px 10px 15px;
  }
  
  .footer-bottom {
    font-size: 0.8rem;
    line-height: 1.4;
  }
  
  /* Botão Admin responsivo para iPhone 11 Pro Max - PARTE AZUL MENOR */
  .admin-access-btn {
    position: absolute !important;
    bottom: 20px !important;
    right: 20px !important;
    padding: 4px 8px !important;
    font-size: 8px !important;
    min-height: 20px !important;
    min-width: 45px !important;
    /* Melhorias para iPhone 11 Pro Max */
    font-weight: 500 !important;
    letter-spacing: 0px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) !important;
    /* Melhor visibilidade em mobile */
    opacity: 0.9 !important;
    /* Botão compacto como na imagem */
    border-radius: 10px !important;
  }
}

/* Breakpoint para smartphones pequenos (360px) */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.6rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
  
  .servico-card {
    padding: 15px 12px;
  }
  
  .servico-card i {
    font-size: 1.8rem;
  }
  
  .servico-card h3 {
    font-size: 1.1rem;
  }
  
  .contato-form,
  .feedback-form {
    padding: 15px 12px;
  }
  
  .feedback-card {
    padding: 12px;
  }
  
  .star {
    font-size: 1.6rem;
  }
  
  /* Layout das educadoras em smartphones pequenos - foto e info lado a lado */
  .educadoras-fotos {
    display: none; /* Esconder as fotos separadas */
  }
  
  /* Layout para cada educadora em smartphones pequenos - VERTICAL */
  .educadora {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    min-height: auto;
    overflow: visible;
  }
  
  /* Foto da educadora em smartphones pequenos - NO TOPO */
  .educadora::before {
    content: '';
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.2);
    display: block;
    margin-bottom: 5px;
  }
  
  /* Foto específica para Lorrayne */
  .educadora:first-child::before {
    background-image: url('images/proprietaria1.webp');
  }
  
  /* Força a exibição da foto da Caroline */
  .educadora:nth-child(2)::before {
    background-image: url('images/proprietaria2.webp') !important;
  }
  
  /* Foto específica para Caroline */
  .educadora:last-child::before,
  .educadora:nth-child(2)::before {
    background-image: url('images/proprietaria2.webp');
  }
  
  /* Conteúdo da educadora em smartphones pequenos - CENTRALIZADO */
  .educadora > * {
    width: 100%;
    text-align: center;
  }
  
  .educadora h3 {
    color: #1e3a8a;
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 700;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .educadora h3 .first-name {
    display: block;
    margin-bottom: 1px;
  }
  
  .educadora h3 .last-name {
    display: block;
  }
  
  .educadora p {
    color: #4a5568;
    margin-bottom: 6px;
    font-size: 0.8rem;
    line-height: 1.4;
    font-weight: 500;
  }
  
  .educadora ul {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: visible;
    text-align: left;
    max-width: 220px;
    margin: 0 auto;
  }
  
  .educadora li {
    color: #4a5568;
    font-size: 0.75rem;
    margin-bottom: 2px;
    padding-left: 15px;
    position: relative;
    line-height: 1.3;
    word-wrap: break-word;
  }
  
  .educadora li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 0.8rem;
  }
  
  
  /* Botão Admin responsivo para smartphones pequenos - PARTE AZUL MENOR */
  .admin-access-btn {
    position: absolute !important;
    bottom: 20px !important;
    right: 20px !important;
    padding: 3px 6px !important;
    font-size: 7px !important;
    min-height: 18px !important;
    min-width: 40px !important;
    /* Melhorias para smartphone pequeno */
    font-weight: 500 !important;
    letter-spacing: 0px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
    /* Melhor visibilidade em telas pequenas */
    opacity: 0.9 !important;
    /* Botão compacto como na imagem */
    border-radius: 9px !important;
  }
}

/* Breakpoint para landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
    padding: 20px 15px;
    flex-direction: row;
    align-items: center;
  }
  
  .hero-content {
    max-width: 60%;
    text-align: left;
  }
  
  .hero-image {
    max-width: 35%;
  }
  
  .nav-menu {
    max-height: 80vh;
    overflow-y: auto;
  }
  
  
  /* Galeria otimizada para landscape mobile */
  .galeria-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 0 10px;
  }
  
  .galeria-item {
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(30,64,175,0.08);
  }
  
  .galeria-item img {
    border-radius: 4px;
  }
  
  /* Botão Admin responsivo para landscape mobile - PARTE AZUL MENOR */
  .admin-access-btn {
    position: absolute !important;
    bottom: 20px !important;
    right: 20px !important;
    padding: 3px 6px !important;
    font-size: 7px !important;
    min-height: 18px !important;
    min-width: 40px !important;
    /* Melhorias para landscape mobile */
    font-weight: 500 !important;
    letter-spacing: 0px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
    /* Melhor visibilidade em landscape */
    opacity: 0.9 !important;
    /* Botão compacto como na imagem */
    border-radius: 9px !important;
  }
}

/* Melhorias para dispositivos com alta densidade de pixels */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo-img,
  .galeria-item img,
  .sobre-image img,
  .quem-somos-image img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Otimizações específicas para iOS Safari */
@supports (-webkit-touch-callout: none) {
  /* Corrige problemas de scroll no iOS */
  body {
    -webkit-overflow-scrolling: touch;
  }
  
  /* Corrige problemas de zoom em inputs no iOS */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    font-size: 16px !important;
    transform: translateZ(0);
  }
  
  /* Melhora performance de animações no iOS */
  .galeria-item,
  .servico-card,
  .cta-button,
  .submit-btn {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  
  /* Corrige problemas de posicionamento fixo no iOS */
  .admin-access-btn {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}

/* Melhorias para dispositivos touch */
@media (hover: none) and (pointer: coarse) {
  .galeria-item:hover img {
    transform: none;
  }
  
  .star:hover {
    transform: none;
  }
  
  .cta-button:hover,
  .submit-btn:hover {
    transform: none;
  }
  
  /* Aumenta área de toque para elementos interativos */
  .nav-link,
  .cta-button,
  .submit-btn,
  .star,
  .galeria-item,
  .social-link {
    min-height: 48px;
    min-width: 48px;
  }
  
  /* Remove hover effects em dispositivos touch */
  .servico-card:hover,
  .experiencia-card:hover,
  .educadora-foto img:hover,
  .educadora:hover {
    transform: none;
  }
  
  /* Botão Admin otimizado para touch - PARTE AZUL MENOR */
  .admin-access-btn {
    /* Melhor feedback tátil */
    -webkit-tap-highlight-color: rgba(30, 58, 138, 0.3) !important;
    /* Melhor área de toque - tamanho menor */
    min-height: 20px !important;
    min-width: 45px !important;
    /* Melhor visibilidade */
    opacity: 0.9 !important;
    /* Sombra mais pronunciada para touch */
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) !important;
  }
  
  .admin-access-btn:active {
    transform: scale(0.92);
    background: #1e40af;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  }
}

/* ===== NOVAS SEÇÕES ===== */


/* Seção de Blog */
.blog {
  padding: 80px 0;
  background: #fff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.blog-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.blog-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

.blog-card:hover .blog-image img {
  transform: none !important;
}

.blog-date {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #1e3a8a;
  color: #fff;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  min-width: 60px;
}

.blog-date .day {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
}

.blog-date .month {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-top: 2px;
}

.blog-content {
  padding: 30px;
}

.blog-content h3 {
  color: #1e3a8a;
  margin-bottom: 15px;
  font-size: 1.3rem;
  line-height: 1.4;
}

.blog-content p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.blog-link {
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.blog-link:hover {
  color: #1e40af;
}

.blog-link i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.blog-link:hover i {
  transform: translateX(5px);
}

/* Botões Flutuantes */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  pointer-events: auto;
  z-index: 1002;
  position: relative;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
  text-align: center;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.whatsapp-btn {
  background: #25d366 !important;
  animation: pulse 2s infinite;
  /* Garantir que o botão seja visível */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
}

.chat-btn {
  background: #1e3a8a;
  cursor: pointer;
  pointer-events: auto;
  z-index: 1003 !important;
  position: relative !important;
}

/* Forçar clicabilidade do botão de chat */
#chatToggle {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 1003 !important;
  position: relative !important;
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.back-to-top {
  background: #6c757d;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #5a6268;
  transform: scale(1.1);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Chat Modal */
.chat-modal {
  position: fixed;
  bottom: 120px;
  right: 30px;
  width: 380px;
  height: 650px;
  max-height: 80vh;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  z-index: 1001;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-modal.show {
  display: flex;
}

.chat-header {
  background: #1e3a8a;
  color: #fff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h4 {
  margin: 0;
  font-size: 1.2rem;
}

.chat-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.chat-close:hover {
  background: rgba(255,255,255,0.2);
}

.chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.chat-messages {
  flex: 1;
  padding: 20px 20px 20px 20px;
  overflow-y: auto;
  background: #f8f9fa;
  scroll-behavior: smooth;
  min-height: 0;
  max-height: calc(100% - 120px);
  padding-bottom: 20px;
  position: relative;
}

.chat-message {
  display: flex;
  margin-bottom: 20px;
  align-items: flex-start;
}

.bot-message {
  justify-content: flex-start;
}

.user-message {
  justify-content: flex-end;
}

.message-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 10px;
  flex-shrink: 0;
}

.user-message .message-avatar {
  margin-right: 0;
  margin-left: 10px;
  order: 2;
}

.message-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-content {
  background: #fff;
  padding: 12px 16px;
  border-radius: 18px;
  max-width: 80%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.user-message .message-content {
  background: #1e3a8a;
  color: #fff;
}

.message-content p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.chat-input {
  padding: 20px;
  background: #fff;
  border-top: 1px solid #e9ecef;
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  min-height: 100px;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
  border-radius: 0 0 20px 20px;
}

.chat-input input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #1e3a8a;
  border-radius: 25px;
  font-size: 0.9rem;
  outline: none;
  background: #fff;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2);
  color: #333;
  transition: all 0.3s ease;
}

.chat-input input:focus {
  border-color: #1e40af;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
  transform: scale(1.02);
}

.chat-input button {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #1e3a8a;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3);
  flex-shrink: 0;
}

.chat-input button:hover {
  background: #1e40af;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.4);
}

/* Animações modernas */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Classes de animação */
.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-slide-in-left {
  animation: slideInLeft 0.6s ease-out forwards;
}

.animate-slide-in-right {
  animation: slideInRight 0.6s ease-out forwards;
}

.animate-scale-in {
  animation: scaleIn 0.5s ease-out forwards;
}

.animate-bounce-in {
  animation: bounceIn 0.8s ease-out forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Delays para animações escalonadas */
.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }
.animate-delay-500 { animation-delay: 0.5s; }

/* Loading Spinner */
.loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid var(--white);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: var(--space-2);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Estados de Loading */
.loading {
  pointer-events: none;
  opacity: 0.8;
}

.loading .loading-spinner {
  display: inline-block;
}

/* Melhorias de 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;
}

/* Focus visible para melhor acessibilidade */
*:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* Melhorias para elementos interativos */
.interactive {
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

.interactive:active {
  transform: translateY(0);
}

/* Glassmorphism effect */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: var(--border-radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
}

.blog-card {
  animation: fadeInUp 0.6s ease forwards;
}

.blog-card:nth-child(2) {
  animation-delay: 0.2s;
}

.blog-card:nth-child(3) {
  animation-delay: 0.4s;
}

/* Responsividade para novas seções */
@media (max-width: 768px) {
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .floating-buttons {
    bottom: 80px;
    right: 15px;
    z-index: 998;
  }
  
  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  
  .chat-modal {
    width: 90%;
    height: 70vh;
    bottom: 80px;
    right: 5%;
    left: 5%;
    max-height: 70vh;
    border-radius: 15px;
  }
  
  .chat-header {
    padding: 15px 20px;
  }
  
  .chat-header h4 {
    font-size: 1.1rem;
  }
  
  .chat-messages {
    padding: 15px;
    max-height: calc(70vh - 140px);
  }
  
  .chat-input {
    padding: 15px;
    min-height: 70px;
  }
  
  .chat-input input {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  
  .chat-input button {
    width: 40px;
    height: 40px;
  }
  
  .message-avatar {
    width: 35px;
    height: 35px;
  }
  
  .message-content {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
  
  .message-content p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}

/* Media query para smartphones pequenos */
@media (max-width: 480px) {
  .chat-modal {
    width: 95%;
    height: 65vh;
    bottom: 70px;
    right: 2.5%;
    left: 2.5%;
    max-height: 65vh;
    border-radius: 12px;
  }
  
  .chat-header {
    padding: 12px 15px;
  }
  
  .chat-header h4 {
    font-size: 1rem;
  }
  
  .chat-close {
    font-size: 1rem;
    padding: 3px;
  }
  
  .chat-messages {
    padding: 12px;
    max-height: calc(65vh - 120px);
  }
  
  .chat-input {
    padding: 12px;
    min-height: 60px;
  }
  
  .chat-input input {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
  
  .chat-input button {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  .message-avatar {
    width: 30px;
    height: 30px;
  }
  
  .message-content {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
  
  .message-content p {
    font-size: 0.8rem;
    line-height: 1.3;
  }
  
  .floating-buttons {
    bottom: 70px;
    right: 10px;
  }
  
  .floating-btn {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
  
}

/* Media query para telas muito pequenas */
@media (max-width: 360px) {
  .chat-modal {
    width: 98%;
    height: 60vh;
    bottom: 60px;
    right: 1%;
    left: 1%;
    max-height: 60vh;
    border-radius: 10px;
  }
  
  .chat-header {
    padding: 10px 12px;
  }
  
  .chat-header h4 {
    font-size: 0.95rem;
  }
  
  .chat-messages {
    padding: 10px;
    max-height: calc(60vh - 100px);
  }
  
  .chat-input {
    padding: 10px;
    min-height: 55px;
  }
  
  .chat-input input {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  
  .chat-input button {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
  
  .message-avatar {
    width: 28px;
    height: 28px;
  }
  
  .message-content {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  
  .message-content p {
    font-size: 0.75rem;
    line-height: 1.2;
  }
  
  .floating-buttons {
    bottom: 60px;
    right: 8px;
  }
  
  .floating-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
}

/* Estilo para o link do desenvolvedor */
.contato-item a {
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.contato-item a:hover {
  color: #fbbf24;
  border-bottom-color: #fbbf24;
  transform: translateY(-1px);
}

/* Estilo para ícone SVG do WhatsApp */
.floating-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  transition: all 0.3s ease;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Correção específica para o posicionamento do ícone do WhatsApp */
.whatsapp-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  position: relative !important;
}

.whatsapp-btn svg {
  width: 24px !important;
  height: 24px !important;
  fill: white !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  /* Garantir centralização perfeita */
  box-sizing: border-box !important;
  border: none !important;
  outline: none !important;
  /* Garantir centralização perfeita */
  vertical-align: middle !important;
  text-align: center !important;
  /* Garantir centralização perfeita */
  line-height: 1 !important;
  font-size: 0 !important;
  /* Garantir centralização perfeita */
  max-width: 24px !important;
  max-height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  /* Garantir centralização perfeita */
  z-index: 1 !important;
  overflow: visible !important;
  /* Garantir centralização perfeita */
  object-fit: contain !important;
  object-position: center !important;
  /* Garantir centralização perfeita */
  align-self: center !important;
  justify-self: center !important;
  /* Garantir centralização perfeita */
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  /* Garantir centralização perfeita */
  visibility: visible !important;
  opacity: 1 !important;
  /* Garantir centralização perfeita */
  text-align: center !important;
  vertical-align: middle !important;
  /* Garantir centralização perfeita */
  align-items: center !important;
  justify-content: center !important;
}

.floating-btn:hover svg {
  transform: translate(-50%, -50%) scale(1.1);
}


/* Regra específica para o SVG do botão back-to-top */
.back-to-top svg {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  fill: currentColor !important;
  transition: all 0.3s ease !important;
}

.back-to-top:hover svg {
  transform: translate(-50%, -50%) scale(1.1) !important;
}

/* Garantir que o path do SVG não seja afetado */
.back-to-top svg path {
  transform-origin: center !important;
}

/* ===== SIDE DRAWER MENU - VERSÃO LIMPA ===== */

/* Botão Hamburger */
.side-drawer-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  transition: all 0.3s ease;
  margin-left: auto;
  flex-shrink: 0;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.side-drawer-toggle:hover .hamburger-line {
  background: #1e3a8a;
}

/* Animação do hamburger quando ativo */
.side-drawer-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.side-drawer-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.side-drawer-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Overlay */
.side-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.side-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Side Drawer */
.side-drawer {
  position: fixed;
  top: 0;
  right: -350px;
  width: 350px;
  height: 100vh;
  height: 100dvh; /* Dynamic viewport height para mobile */
  background: #ffffff;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  /* Safe area para notch e barra de status */
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* Esconder header quando Side Drawer estiver ativo */
.side-drawer.active ~ .header,
body:has(.side-drawer.active) .header,
.side-drawer.active + * .header {
  display: none !important;
}

/* Esconder botão flutuante do WhatsApp quando Side Drawer estiver ativo */
.side-drawer.active ~ .floating-btn,
body:has(.side-drawer.active) .floating-btn,
.side-drawer.active + * .floating-btn {
  display: none !important;
}

/* Regra adicional para garantir que funcione */
.side-drawer.active {
  z-index: 1001;
}

.side-drawer.active ~ .header {
  visibility: hidden !important;
  opacity: 0 !important;
  transform: translateY(-100%) !important;
}

.side-drawer.active ~ .floating-btn {
  visibility: hidden !important;
  opacity: 0 !important;
  transform: scale(0) !important;
}

.side-drawer.active {
  right: 0;
}

/* Header do Side Drawer */
.side-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  padding-top: max(20px, env(safe-area-inset-top));
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
  /* Garantir que o header não seja cortado */
  min-height: 60px;
  flex-shrink: 0;
}

.side-drawer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.side-drawer-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.side-drawer-logo span {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e3a8a;
}

.side-drawer-close {
  width: 35px;
  height: 35px;
  border: none;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #64748b;
}

.side-drawer-close:hover {
  background: #e2e8f0;
  color: #1e3a8a;
  transform: scale(1.1);
}

/* Navegação - VERSÃO SIMPLES */
.side-drawer-nav {
  flex: 1;
  padding: 20px 0;
}

.side-drawer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-drawer-menu li {
  margin: 0;
}

.side-drawer-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 25px;
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  /* Garantir tamanho uniforme para todos os itens */
  min-height: 50px;
  box-sizing: border-box;
}

.side-drawer-link:hover {
  background: #f1f5f9;
  color: #1e3a8a;
  border-left-color: #1e3a8a;
  transform: translateX(5px);
}

.side-drawer-link i {
  width: 20px;
  text-align: center;
  font-size: 1.1rem;
}

.side-drawer-link span {
  font-size: 1rem;
}

/* Footer do Side Drawer */
.side-drawer-footer {
  padding: 20px;
  padding-bottom: max(20px, env(safe-area-inset-bottom));
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  /* Garantir que o footer não seja cortado */
  flex-shrink: 0;
}

.side-drawer-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.side-drawer-social-link {
  width: 40px;
  height: 40px;
  background: #1e3a8a;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.side-drawer-social-link:hover {
  background: #1e40af;
  transform: scale(1.1);
}

.side-drawer-copyright {
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}

/* Responsividade - VERSÃO SIMPLES */
@media (max-width: 768px) {
  .side-drawer-toggle {
    display: flex;
  }
  
  .nav-menu {
    display: none;
  }
  
  .nav {
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
  }
  
  .nav-logo {
    flex-shrink: 0;
  }
  
  .side-drawer {
    width: 100%;
    right: -100%;
    /* Safe area para mobile */
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  
  .side-drawer.active {
    right: 0;
  }
  
  /* Ajustar header para mobile com safe area */
  .side-drawer-header {
    padding-top: max(15px, env(safe-area-inset-top));
    min-height: max(50px, calc(50px + env(safe-area-inset-top)));
  }
  
  /* Ajustar footer para mobile com safe area */
  .side-drawer-footer {
    padding-bottom: max(15px, env(safe-area-inset-bottom));
  }
}

@media (min-width: 769px) {
  .side-drawer-toggle {
    display: none;
  }
}

/* Melhorias de acessibilidade */
.side-drawer-toggle:focus,
.side-drawer-close:focus,
.side-drawer-link:focus {
  outline: 2px solid #1e3a8a;
  outline-offset: 2px;
}

/* CORREÇÃO SIMPLIFICADA: Garantir que o primeiro item seja sempre visível */
.side-drawer-menu li:first-child {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.side-drawer-menu li:first-child .side-drawer-link {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  padding: 15px 25px !important;
  color: #475569 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  min-height: 50px !important;
  box-sizing: border-box !important;
  /* Forçar layout horizontal */
  flex-direction: row !important;
  justify-content: flex-start !important;
}

.side-drawer-menu li:first-child .side-drawer-link i {
  display: block !important;
  width: 20px !important;
  text-align: center !important;
  font-size: 1.1rem !important;
  color: #475569 !important;
  flex-shrink: 0 !important;
}

.side-drawer-menu li:first-child .side-drawer-link span {
  display: block !important;
  font-size: 1rem !important;
  color: #475569 !important;
  flex: 1 !important;
}

/* Esconder item "Experiências" no menu mobile */
@media (max-width: 768px) {
  .side-drawer-menu li:nth-child(4) {
    display: none !important;
  }
}
