/* ============================================
   FIXES.CSS — Global corrections for Fone Zone
   Load AFTER style.css to override
   ============================================ */

/* Anti-bande-noire hero */
.hero {
  min-height: auto !important;
  max-height: none;
}
@media (max-width: 768px) {
  .hero {
    padding-top: 80px !important;
    padding-bottom: 40px !important;
  }
  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.4rem) !important;
  }
  .hero-vis {
    display: none !important;
  }
}

/* Anti-overflow horizontal */
html, body {
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
}

/* CTA buttons always visible */
.nav-btn, [class*="btn-red"], .btn-primary {
  background: #cc0000 !important;
  color: #ffffff !important;
}
.btn-white {
  color: #ffffff;
}

/* Inputs anti-zoom iOS */
input, select, textarea {
  font-size: 16px;
}

/* Touch targets minimum 44px */
button, a.nav-btn, .btn-red, .btn-white, .btn-dark {
  min-height: 44px;
  min-width: 44px;
}

/* Font-display swap for Google Fonts */
@font-face {
  font-display: swap !important;
}

/* Section padding clamp */
.sec, .section, section {
  max-height: none;
}

/* Word wrap safety */
h1, h2, h3, h4, p, li, td {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Focus visible for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid #cc0000;
  outline-offset: 2px;
}

/* Badges grid responsive */
@media (max-width: 768px) {
  .badges-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .badges-grid > * {
    padding: 20px 14px !important;
  }
}

/* Mobile sticky bar spacing */
@media (max-width: 768px) {
  footer {
    padding-bottom: calc(80px + env(safe-area-inset-bottom)) !important;
  }
}
