/* Style général */
    body {
      margin: 0;
      font-family: Arial, sans-serif;
      padding-top: 4vw;
      color: #fff;
      background: url('./img/ok.jpeg') no-repeat center center fixed;
      background-size: cover;
    }

    header img {
      height: 50px;
    }
    header button {
      padding: 10px 20px;
      background-color: #3498db;
      border: none;
      border-radius: 5px;
      color: white;
      cursor: pointer;
      font-size: 16px;
    }
    header button:hover {
      background-color: #2980b9;
    }

    /* Contenu central */
    main {
      width: 60%;
      margin-left: 15%;
      margin-top: 2vw;
      margin-bottom: 2vw;
      padding-top: 30px;
      padding-left: 80px;
      padding-right: 80px;
      padding-block-end: 30px;
      background: rgba(255, 255, 255, 0.9);
      border-radius: 10px; /* arrondir les coins */
      color: #000
    }

    /* Bas de page */
    footer {
      padding: 20px;
      background: #926239;
      color: #fff;
      font-size: 14px;
    }

    /* Animation d'entrée */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* En-tête */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;

  /* Animation appliquée */
  animation: slideDown 0.8s ease-out;
}

/* Menu horizontal */ 
nav ul { 
    list-style: none; 
    display: flex; 
    gap: 30px; /* espace entre les liens */ 
    margin: 0; 
    padding: 0; 
} 
nav ul li a { 
    text-decoration: none; 
    color: #fff; 
    font-weight: bold; 
    transition: color 0.3s; 
} 
nav ul li a:hover { 
    color: #3498db; /* couleur au survol */ 
} 


/* Reset utile */
.nav-list {
  list-style: none;
  margin: 0;
  padding-right: 40px;
}

.nav-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

/* Layout desktop: horizontal */
@media (min-width: 868px) {
  .nav {
    display: block;
  }
  .igg {width: 65%;height: 45%;}
  .igg1 {width: 100%;height: 80%;}
  .igg2 {width: 65%;height: 45%;}
  .igg3 {width: 20px;height: 40px;}

  .nav-list {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    flex-wrap: wrap;
  }
}

/* Mobile: menu vertical en colonne */
@media (max-width: 867px) {
  main {width: 100%;}
  .menu { display: none; /* hidden on phone by default */ border-left: 0; padding-left: 0; }
  .nav-list {
    display: grid;
    grid-template-columns: 1fr; /* une colonne */
    gap: 0.6rem;

    button { 
      width: 100%; /* bouton prend toute la largeur */ 
      font-size: 25px; /* texte encore plus lisible */ 
      padding: 35px; /* plus d’espace pour le doigt */ 
    } 
    body { 
        font-size: 16px; /* augmente la taille du texte global */ 
        line-height: 1.5; /* espace entre les lignes pour lisibilité */ 
    }
    
    .nav-btn { justify-content: center; display: inline-flex; align-items: center; }
    
  }
.igg {width: 100%; height: 27%;}
.igg1 {width: 100%; height: 27%;}
.igg2 {width: 100%; height: 27%;}

/* En-tête */
header {
  position: relative;
  top: auto;
  left: 0;
  width: 100vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
}
.logo, .cta-btn { 
  display: none
}
  /* Boutons */
.nav-btn {
  display: inline-block;
  text-decoration: none;
  width: 100vw;
  text-align: center;
  font-weight: 600;
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(0,0,0,0.1);
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.5));
  backdrop-filter: saturate(120%) blur(8px);
  color: #0f172a; /* slate-900 */
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
main {
  width: 100vw;
  margin-left: 0px;
}

  /* Option: rendre le menu sticky en haut pour un accès rapide */
  .site-header {
    top: 0;
    position: sticky;
    z-index: 1000;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }

  /* Espacement sous le header pour éviter que le main soit collé */
  #main-content {
    padding-top: 0.8rem;
  }
}
.nav-btn .icon { margin-right: 0.5rem; }

@media (max-width: 767px) {
  
}

.images-container { 
    display: flex; /* aligne horizontalement */ 
    justify-content: center; /* centre les images */ 
    gap: 20px; /* espace entre les images */ 
    margin-top: 20px; 
  } 
  .images-container img { 
    width: 200px; /* taille fixe pour uniformiser */ 
    height: auto; 
    border-radius: 8px; /* coins arrondis optionnels */ 
    } 
    .description { 
      margin-top: 15px; 
      text-align: center; 
      font-size: 16px; 
      color: #333; 
      } 

/* Variables pour personnaliser rapidement */
:root {
  --badge-bg: rgba(20, 20, 25, 0.75);
  --badge-text: #ffffff;
  --badge-border: rgba(255, 255, 255, 0.25);
  --badge-blur: 8px;
  --badge-radius: 10px;
  --badge-padding: 8px 12px;
  --badge-font: 14px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --badge-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  --badge-z: 9999; /* au-dessus du contenu, sous les modales si besoin */
  --badge-offset-x: 12px;
  --badge-offset-y: 72px;
}

/* Badge flottant */
.page-badge {
  position: fixed;
  top: 64px;
  left: 0;
  margin-left: 12px;
  z-index: var(--badge-z);
  color: var(--badge-text);
  background: var(--badge-bg);
  backdrop-filter: blur(var(--badge-blur));
  -webkit-backdrop-filter: blur(var(--badge-blur));
  border: 1px solid var(--badge-border);
  border-radius: var(--badge-radius);
  padding: var(--badge-padding);
  box-shadow: var(--badge-shadow);
  font: var(--badge-font);
  pointer-events: none; /* ne gêne pas la navigation */
  max-width: min(40ch, 80vw);
}

/* Texte : ellipsis si trop long */
.page-badge__text {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mode contraste élevé (accessibilité) */
@media (prefers-contrast: more) {
  .page-badge {
    background: #000;
    border-color: #fff;
  }
}

/* Ajustement mobile */
@media (max-width: 480px) {
  :root { --badge-font: 13px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
  .page-badge { --badge-offset-x: 8px; --badge-offset-y: 8px; }
}

