/* ====== Styles responsives pour L'Aventure Karstique ====== */

/* Par sécurité : toutes les images s'adaptent au conteneur */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mise en page pour tablettes & mobiles (largeur <= 768px) */
@media (max-width: 768px) {

  /* Header plus souple */
  .site-header-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.9rem;
  }

  /* Hero en colonne */
  .hero {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero-side {
    width: 100%;
  }

  /* Boutons faciles à cliquer (pleine largeur) */
  .hero-cta-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-cta-row a {
    width: 100%;
    text-align: center;
  }

  /* Liste des canyons en colonne */
  .canyon-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .canyon-card {
    display: flex;
    flex-direction: column;
  }

  .canyon-card-img,
  .canyon-card-img img {
    width: 100%;
  }
}

/* Petits écrans (<= 480px : iPhone SE, petits Android) */
@media (max-width: 480px) {

  h1 {
    font-size: 1.8rem;
  }

  .brand-sub {
    font-size: 0.8rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }
}
