/* Estilos adicionais para garantir responsividade */

/* Ajustes para telas muito pequenas */
@media (max-width: 575.98px) {
  .hero-section {
    padding: 30px 0;
  }
  
  .hero-section h1 {
    font-size: 1.8rem;
  }
  
  .hero-section .lead {
    font-size: 1.1rem;
  }
  
  .hero-image {
    height: 250px;
    margin-top: 20px;
  }
  
  .btn-lg {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }
  
  .diferenciais .card {
    margin-bottom: 15px;
  }
  
  .day-title {
    font-size: 1.3rem;
  }
  
  .pricing-card-title {
    font-size: 2rem;
  }
  
  .countdown-container {
    flex-wrap: wrap;
  }
  
  .countdown-item {
    min-width: 65px;
    margin-bottom: 10px;
  }
  
  .gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
    bottom: 20px;
    right: 20px;
  }
}

/* Ajustes para dispositivos de toque */
@media (hover: none) {
  .zoom-in:hover {
    transform: none;
  }
  
  .nav-link:hover {
    color: inherit;
  }
  
  .social-media a:hover {
    background-color: rgba(232, 62, 140, 0.1);
    color: var(--primary);
  }
}

/* Ajustes para telas de alta resolução */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero-section {
    padding: 120px 0;
  }
  
  .hero-image {
    height: 500px;
  }
  
  section {
    padding: 100px 0;
  }
}

/* Ajustes para impressão */
@media print {
  header, footer, .cta, .inscricao, .whatsapp-float {
    display: none !important;
  }
  
  body {
    padding-top: 0;
    font-size: 12pt;
  }
  
  .container {
    max-width: 100%;
    width: 100%;
  }
  
  section {
    padding: 20px 0;
    page-break-inside: avoid;
  }
  
  h1 {
    font-size: 24pt;
  }
  
  h2 {
    font-size: 20pt;
  }
  
  .card {
    border: 1px solid #ddd !important;
    box-shadow: none !important;
  }
  
  .text-primary {
    color: #000 !important;
  }
  
  .bg-primary, .btn-primary {
    background-color: #fff !important;
    color: #000 !important;
    border: 1px solid #000 !important;
  }
}

/* Correções de acessibilidade */
.btn, .nav-link, a {
  transition: all 0.2s;
}

.btn:focus, .nav-link:focus, a:focus, input:focus, textarea:focus, select:focus {
  outline: 3px solid rgba(232, 62, 140, 0.5);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Melhorias de desempenho */
img, .image-placeholder {
  will-change: transform;
}

.fade-in {
  will-change: opacity, transform;
}

/* Ajustes para navegadores antigos */
.ie-only {
  display: none;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .ie-only {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
  }
  
  body {
    padding-top: 120px;
  }
}
