/* ===== MOBILE COMPLETE FIX V10 FINALE ===== */
/* Hamburger visible, menu fin, org transparent, tabs fermés */

/* ===== 1. RESET ET BASE ===== */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

/* ===== 2. FOND NOIR PARTOUT (MOBILE) ===== */

@media (max-width: 768px) {
  html, body {
    background-color: #000000 !important;
    background-image: none !important;
    background: #000000 !important;
  }
}

/* DESKTOP - Fond vert */
@media (min-width: 769px) {
  html, body {
    background-color: #67c88b !important;
  }
}

/* ===== 3. HEADER - FIXE EN HAUT ===== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.98);
  border-bottom: 2px solid #4ecdc4;
}

.header .container {
  width: 100%;
  padding: 0;
  margin: 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
  width: 100%;
}




.logo-section {
  display: flex;
  align-items: center;
  justify-content: center; /* ✅ centre horizontal */
  gap: 10px;
  flex: 0 0 auto;
}

.main-logo {
  max-width: 50px;
  height: auto;
  display: block;
}

.expo-info {
  display: none;
}

.expo-info h1 {
  margin: 0;
  font-size: 14px;
  color: #4ecdc4;
}

.expo-info p {
  margin: 0;
  font-size: 11px;
  color: #fff;
}




/* ===== 4. AJOUTER PADDING AU BODY POUR HEADER FIXE ===== */

@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }
}















/* ===== 5. HAMBURGER MENU - VISIBLE, GRAND, TURQUOISE ===== */

.hamburger-btn {
  display: none;
  flex-direction: column;
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: 0.3s;
  margin-left: auto;
  flex-shrink: 0;
}

.hamburger-btn:hover {
  background-color: rgba(78, 205, 196, 0.1);
}

.hamburger-btn span {
  width: 28px;
  height: 3px;
  background-color: #4ecdc4;
  transition: 0.3s;
  display: block;
  border-radius: 2px;
}

/* AFFICHER HAMBURGER SUR MOBILE */
@media (max-width: 768px) {
  .hamburger-btn {
    display: flex;
  }
}

/* Animation hamburger actif */
.hamburger-btn.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-8px, 8px);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: rotate(45deg) translate(-8px, -8px);
}

/* ===== 6. MENU PRINCIPAL - DÉROULANT À GAUCHE ===== */

.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex: 1;
  margin-left: 20px;
}

/* MENU DÉROULANT SUR MOBILE */
@media (max-width: 768px) {
  .main-nav {
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    width: 55% !important;
    max-width: 200px !important;
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: unset !important;
    gap: 0 !important;
    background-color: rgba(10, 22, 40, 0.98) !important;
    padding: 70px 0 0 0 !important;
    margin-left: 0 !important;
    transition: left 0.3s ease !important;
    z-index: 1001 !important;
    align-items: stretch !important;
    overflow-y: auto !important;
    border-right: 2px solid #4ecdc4 !important;
  }
  
  .main-nav.active {
    left: 0 !important;
  }
  
  /* Boutons du menu déroulant */
  .main-nav .nav-btn {
    padding: 11px 16px !important;
    border: none !important;
    border-bottom: 1px solid rgba(78, 205, 196, 0.1) !important;
    background: none !important;
    color: rgba(255,255,255,0.85) !important;
    cursor: pointer !important;
    text-align: left !important;
    font-size: 12px !important;
    transition: 0.2s !important;
    font-weight: 500 !important;
    width: 100% !important;
    text-decoration: none !important;
    display: block !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    grid-column: unset !important;
    flex: none !important;
    max-width: 100% !important;
    border-radius: 0 !important;
  }
  .main-nav .nav-btn.active {
    color: #4ecdc4 !important;
    background: rgba(78,205,196,0.08) !important;
    border-left: 3px solid #4ecdc4 !important;
    padding-left: 17px !important;
  }
  .main-nav .nav-btn:hover {
    background: rgba(78,205,196,0.06) !important;
    color: #4ecdc4 !important;
  }
    border: none !important;
    border-bottom: 1px solid rgba(78, 205, 196, 0.15) !important;
    background: none !important;
    color: #ffffff !important;
    cursor: pointer !important;
    text-align: left !important;
    font-size: 16px !important;
    transition: 0.2s !important;
    font-weight: 600 !important;
    width: 100% !important;
    text-decoration: none !important;
    display: block !important;
    letter-spacing: 0.5px !important;
    grid-column: unset !important;
    flex: none !important;
    max-width: 100% !important;
    border-radius: 0 !important;
  }
  
  .main-nav .nav-btn:hover {
    background-color: rgba(78, 205, 196, 0.1);
    color: #fff;
  }
}

/* MENU VISIBLE SUR DESKTOP */
@media (min-width: 769px) {
  .main-nav {
    display: flex !important;
    position: static !important;
    width: auto !important;
    height: 100vh !important;
    background: none !important;
    padding: 0 !important;
    border: none !important;
  }
  
  .hamburger-btn {
    display: none !important;
  }
  
  /* Boutons du menu desktop - Normal */
  .main-nav .nav-btn {
    padding: 10px 15px;
    border: 2px solid #4ecdc4;
    background-color: transparent;
    color: #4ecdc4;
    cursor: pointer;
    font-size: 12px;
    border-radius: 4px;
    transition: 0.2s;
    font-weight: 500;
    white-space: normal;
  }
  
  .main-nav .nav-btn:hover {
    background-color: rgba(78, 205, 196, 0.1);
    color: #fff;
  }
}

/* ===== 7. TABS - STANDS LATÉRAUX ET ZONE CENTRALE ===== */

.tabs-header {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-button {
  background-color: transparent;
  border: 2px solid #4ecdc4;
  color: #4ecdc4;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  transition: 0.3s;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: center;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tab-button:hover {
  background-color: rgba(78, 205, 196, 0.1);
  color: #fff;
}

.tab-button.active {
  background-color: #4ecdc4;
  color: #000;
}

/* ===== 8. TAB CONTENT - CACHÉ PAR DÉFAUT ===== */

.tab-content {
  display: none;
  margin-top: 20px;
  width: 100%;
}

.tab-content.active {
  display: block;
}

/* Spec details */
.spec-detail {
  background-color: transparent;
  border: 2px solid #4ecdc4;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
}

.spec-icon {
  flex: 0 0 auto;
  font-size: 24px;
  color: #4ecdc4;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spec-title {
  margin: 0;
  color: #4ecdc4;
  font-size: 12px;
  font-weight: 500;
}

.spec-value {
  margin: 5px 0 0 0;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}













/* ===== 9. CARTES ORGANISATEURS - TRANSPARENT ===== */


.organizer-card {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 2px solid #4ecdc4 !important;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.organizer-card::before,
.organizer-card::after,
.organizers-section::before,
.organizers-section::after {
  content: none !important;
  display: none !important;
}


.organizer-badge {
  background-color: #4ecdc4 !important;
  color: #000 !important;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: bold;
  margin: 0 auto 10px auto;
  display: inline-block;
  text-align: center;
}

.organizer-logo {
  max-width: 80px;
  width: 100%;
  height: auto;
  margin: 10px auto;
  display: block;
  object-fit: contain;
}

.organizer-card h3 {
  margin: 10px 0;
  color: #4ecdc4;
  font-size: 14px;
  text-align: center;
  width: 100%;
}

.organizer-address {
  color: #4ecdc4;
  font-size: 12px;
  margin: 10px 0;
  text-align: center;
  width: 100%;
}

.organizer-contact {
  text-align: center;
  margin-top: 15px;
  width: 100%;
}

.organizer-contact p {
  margin: 5px 0;
  color: #fff;
  font-size: 12px;
  text-align: center;
}

.organizer-contact a {
  color: #4ecdc4;
  text-decoration: none;
}

.organizer-contact a:hover {
  text-decoration: underline;
}

.organizers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
}

@media (min-width: 769px) {
  .organizers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== 10. SECTIONS ===== */

.organizers-section {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.organizers-section h2 {
  text-align: center;
  color: #fff;
  margin: 20px 0;
}

.organizers-section span {
  color: #4ecdc4;
}

/* ===== 11. RESPONSIVE - PORTRAIT MOBILE ===== */

@media (max-width: 480px) and (orientation: portrait) {
  .header-content {
    padding: 8px 10px;
  }

  .main-logo {
    max-width: 45px;
  }

  .hamburger-btn {
    width: 40px;
    height: 40px;
    padding: 6px;
    border-width: 2px;
  }

  .hamburger-btn span {
    width: 26px;
    height: 2.5px;
  }

  .main-nav {
    width: 70% !important;
    max-width: 240px !important;
  }

  .main-nav .nav-btn {
    padding: 10px 12px;
    font-size: 12px;
  }

  .tab-button {
    padding: 8px 12px;
    font-size: 11px;
    min-height: 32px;
  }

  .spec-detail {
    padding: 12px;
    margin-bottom: 12px;
  }

  .spec-icon {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }

  .organizer-logo {
    max-width: 70px;
  }
}
































/* ===== 12. RESPONSIVE - PORTRAIT TABLETTE ===== */

@media (min-width: 481px) and (max-width: 768px) and (orientation: portrait) {
  .main-nav {
    width: 60% !important;
    max-width: 280px !important;
  }

  .main-nav .nav-btn {
    padding: 10px 12px;
    font-size: 12px;
  }

  .tab-button {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* ===== 13. RESPONSIVE - PAYSAGE MOBILE ===== */

@media (max-width: 768px) and (orientation: landscape) {
  .header-content {
    padding: 6px 10px;
  }

  .main-logo {
    max-width: 40px;
  }

  .hamburger-btn {
    width: 40px;
    height: 40px;
    padding: 6px;
  }

  .hamburger-btn span {
    width: 24px;
    height: 2.5px;
  }

  .main-nav {
    width: 50% !important;
    max-width: 280px !important;
    top: 50px !important;
  }

  .main-nav .nav-btn {
    padding: 10px 12px;
    font-size: 11px;
  }

  .tab-button {
    padding: 6px 10px;
    font-size: 11px;
    min-height: 30px;
  }
}

/* ===== 14. CORRECTION SAFARI ===== */

input, textarea, select, button {
  -webkit-appearance: none;
  appearance: none;
}

/* ===== 15. TEXTE ET TYPOGRAPHIE ===== */

p, h1, h2, h3, h4, h5, h6 {
  color: #fff;
  margin: 0;
  padding: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

a {
  color: #4ecdc4;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ===== 16. TOUS LES BOUTONS ===== */

button {
  font-family: inherit;
  font-size: inherit;
}

/* ===== 17. IMAGES ===== */

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== 18. Z-INDEX ===== */

.header {
  z-index: 1000;
}

.hamburger-btn {
  z-index: 1001;
}

.main-nav {
  z-index: 999;
}

/* ===== 19. MASQUER FOND VERT COMPLÈTEMENT ===== */

body.menu-open {
  background-color: #000000 !important;
  overflow: hidden;
}

@media (max-width: 768px) {
  body, html {
    background-color: #000000 !important;
    background-image: none !important;
    overflow-x: hidden;
  }
}

/* ===== 20. EMPÊCHER DÉBORDEMENT ===== */

@media (max-width: 768px) {
  * {
    max-width: 100%;
  }

  .main-nav, .header, .header-content {
    max-width: 100vw;
    width: 100%;
  }
}









