/* ========================================
   Alfa Chaveiro São Luís - Responsive CSS
   Otimizado para todos os dispositivos
======================================== */

/* Tablets */
@media (max-width: 1024px) {
  .hero-content {
    max-width: 700px;
  }

  .seo-content {
    padding: 1.5rem 1.5rem;
  }

  .map-container {
    padding: 1.5rem;
  }
}

/* Mobile Grande */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 120px 1rem 3rem;
  }

  .hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .seo-section {
    margin-bottom: 2rem;
    padding: 2rem 1.5rem;
  }

  .seo-section h2 {
    font-size: 1.8rem;
  }

  .cta-section {
    margin: 1.5rem 0;
    padding: 1.5rem 0;
  }

  .footer-content {
    gap: 1.5rem;
  }
}

/* Mobile Pequeno */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .header-content {
    padding: 0.8rem 1rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  .logo-emoji {
    font-size: 1.8rem;
  }

  .seo-section {
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
  }

  .seo-section h2 {
    font-size: 1.6rem;
  }

  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
  }

  .whatsapp-button {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }

  .whatsapp-icon {
    font-size: 1.3rem;
  }

  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }

  .map-section {
    padding: 0 1rem;
  }

  .map-section h2 {
    font-size: 2rem;
  }

  .footer-content {
    padding: 2rem 1rem;
    gap: 1rem;
  }

  .footer-section h3 {
    font-size: 1.2rem;
  }
}

/* Mobile Extra Pequeno */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .seo-section h2 {
    font-size: 1.4rem;
  }

  .whatsapp-button {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
  }

  .cta-button {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* Orientação Landscape para Mobile */
@media (max-width: 896px) and (orientation: landscape) {
  .hero {
    min-height: 60vh;
    padding: 100px 1rem 2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }
}

/* Print Styles */
@media print {
  .whatsapp-float,
  .cta-section {
    display: none !important;
  }

  header {
    position: static;
    background: white;
    color: var(--text-dark);
    box-shadow: none;
  }

  .logo {
    color: var(--text-dark);
  }

  .hero {
    background: white;
    color: var(--text-dark);
    min-height: auto;
    padding: 2rem 1rem;
  }

  .hero::before {
    display: none;
  }

  .seo-section {
    box-shadow: none;
    border: 1px solid #ddd;
  }

  footer {
    background: white;
    color: var(--text-dark);
    margin-top: 2rem;
  }

  .footer-section h3 {
    color: var(--text-dark);
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #000000;
    --secondary-color: #000000;
    --accent-color: #006600;
    --light-bg: #ffffff;
    --dark-bg: #000000;
    --text-light: #ffffff;
    --text-dark: #000000;
  }
}

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

  .logo-emoji,
  .whatsapp-icon {
    animation: none;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --light-bg: #1a202c;
    --text-dark: #f7fafc;
    --text-light: #2d3748;
    --dark-bg: #f7fafc;
  }

  body {
    background-color: var(--light-bg);
    color: var(--text-dark);
  }

  .seo-section {
    background: var(--dark-bg);
  }

  .map-container {
    background: var(--dark-bg);
  }
}
