/* TEST MEDIA QUERIES — À RETIRER APRÈS */
@media (max-width: 1400px) {
  html, body { outline: 8px solid lime !important; }
}
@media (max-width: 900px) {
  html, body { outline: 8px solid fuchsia !important; }
}
@media (max-width: 600px) {
  html, body { outline: 8px solid red !important; }
}

/* ===================================================
   AREDIUS ART PRODUCTION – responsive.css
   =================================================== */

/* --- Structure globale --- */
html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background: url("/images/fondbronze.png") no-repeat center center fixed;
  background-size: cover;
  background-color: #1a120b;
  font-family: 'Segoe UI', sans-serif;
  color: #fdf5e6;
}

/* --- Images, vidéos --- */
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Conteneurs principaux --- */
.container, section, main {
  box-sizing: border-box;
  padding: 10px 20px;
  width: 100%;
}

/* --- Navigation principale (desktop géré dans style.css) --- */
/* Intention : garder le contrôle du header dans style.css,
   responsive.css ne gèrera que les adaptations mobiles plus bas. */


/* --- Menu burger : base --- */
.nav-toggle {
  display: none;  /* checkbox invisible */
}

.menu-toggle {
  display: none;  /* visible seulement en mobile */
}

/* --- Footer --- */
footer {
  text-align: center;
  padding: 15px;
  background: rgba(26, 18, 11, 0.85);
  font-size: 0.9em;
}

/* ===================================================
   📱 ADAPTATION TABLETTES & MOBILES
   =================================================== */

/* Tablettes (≤ 1024px) */
@media (max-width: 1024px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  .container, section, main {
    padding: 10px;
  }
}

/* Mobiles (≤ 768px) → menu burger sans JS */
@media (max-width: 768px) {

  nav.main-nav {
    flex-direction: column;
    position: relative;
  }

  /* Icône ☰ */
  .menu-toggle {
    display: block;
    cursor: pointer;
    color: #fdf5e6;
    font-size: 1.7em;
    position: absolute;
    right: 20px;
    top: 10px;
    user-select: none;
  }

  /* Menu principal fermé par défaut */
  nav.main-nav > ul {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
    background: rgba(26, 18, 11, 0.95);
    margin: 0;
    padding: 10px 0;
  }

  nav.main-nav > ul li {
    padding: 10px 0;
  }

  /* Ouverture via la checkbox */
  .nav-toggle:checked ~ ul {
    display: flex;
  }

  /* Sous-menus en mobile : empilés, lisibles */
  nav.main-nav .submenu {
    position: static;
    display: block;
    padding-left: 1rem;
    margin-top: 0.25rem;
  }
}

/* Petits écrans (≤ 480px) */
@media (max-width: 480px) {
  body {
    font-size: 15px;
    background-size: cover;
    background-position: center;
  }
  footer {
    font-size: 0.8em;
  }
}

/* =======================================================
   📱 AREDIUS ART PRODUCTION – RÉGLAGES RESPONSIVE GLOBAUX
   ======================================================= */

/* --- TABLETTES --- */
@media (max-width: 1024px) {
  .page-title, main, .advantages, .flyer-container, .photo-container {
    max-width: 95%;
    width: 95%;
    margin: 20px auto;
  }
  .page-title {
    flex-direction: column;
    gap: 20px;
  }
  .page-title h1 {
    text-align: center;
  }
  .logo-title {
    height: 90px;
  }
}

/* --- MOBILES --- */
@media (max-width: 768px) {
  body {
    font-size: 16px;
    background-size: cover;
    background-position: center;
  }

  /* On ne touche plus au display ici pour ne pas casser le burger */
  nav.main-nav > ul {
    gap: 10px;
  }

  .page-title {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }

  main {
    padding: 20px;
    font-size: 0.95em;
  }

  .advantages {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .adv-item {
    min-height: auto;
    text-align: center;
  }

  .flyer-container, .card-container, .photo-container {
    flex-direction: column;
    align-items: center;
  }

  .flyer-item, .card-item, .photo-item {
    width: 90%;
  }

  footer, .footer-band {
    font-size: 0.85em;
  }
}

/* --- PETITS ÉCRANS --- */
@media (max-width: 480px) {
  .page-title h1 {
    font-size: 1.3em;
  }
  .page-title .subtitle {
    font-size: 1em;
  }
  .adv-item h3 {
    font-size: 1.1em;
  }
}
