/* VARIABLES GLOBALES */
:root {--neon-color: #D4AF37;--neon-glow1: #D4AF37;--neon-glow2: rgba(212, 175, 55, 0.7);}

/* Texte : paragraphe et titres */
p, h1, h2, h3, li {text-align: left;line-height: 1.5;margin: 0.5em 0;}
/* GLOBAL */
html, body {margin: 0;padding: 0;min-height: 100vh;overflow-x: hidden;}
/*Corp du site*/
body {display: flex;flex-direction: column; /* header + contenu + footer en colonne */}
/* HEADER & FOOTER DE BASE */
header, footer {color: var(--header-text-color);text-align: center;padding-bottom: 0;margin-bottom: 0;}
/* HEADER */
header {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  z-index: 2000;
  position: relative;
  box-sizing: border-box;
  padding-bottom: 0;
  margin-bottom: 0 !important; /* ← ÉTAIT -5.6rem */
}

/* Sections du header */
.header-left,
.header-center,
.header-right {flex: 1;display: flex;align-items: center;box-sizing: border-box; margin: 0;}
.header-left {justify-content: flex-start;margin-left:15px;}
.header-center {justify-content: center;}
.header-right {justify-content: flex-end;padding-right: 20px; /* Ajustez la valeur en fonction de l'espacement souhaité */}
/*digital*/
.header-center{ align-items: center;padding-top:10px; padding-bottom: 25px;}
 .header-left .dig-dr {
  display: block;
  margin-inline: 15px;
  width: auto;
  height: 100px;
  pointer-events: none;
  max-height: min(30vh, 150px);
  
}

/* Images : responsive partout */
img, picture, svg, canvas {max-width: 100%;height: auto;display: block;image-rendering: auto;}
header, 
.header-center{ align-items: center;padding-top:10px; padding-bottom: 25px;}
/*Plaque centré et adapté */
.header-center .brand-logo {
  display: block;
  margin-inline: auto;
  width: clamp(220px, 40vw, 560px);
  height: auto;
  object-fit: contain;
  pointer-events: none;
  max-height: min(30vh, 200px);
}


/* Zone de l’horloge */
.clock-container {position: relative;}
.clock-container:hover {transform: scale(1.05);filter: drop-shadow(0 0 6px #D4AF37);}
.clock-container:active {transform: scale(1.12);filter: drop-shadow(0 0 10px #D4AF37);}
.clock-wrapper {/* Ajoutez ici vos styles spécifiques pour le wrapper de l’horloge */}
/* wrapper = le footer reste en bas*/
.wrapper {flex: 1 0 auto; /*occupe tout l’espace disponible */}
/* Pour que le contenu principal ne soit pas masqué par le footer fixe */
.main-content {flex: 1 0 auto;display: flex;align-items: flex-end;   /* tuiles en bas de la zone */justify-content: center; margin-top: 0px; }
footer {
  flex-shrink: 0;
  background: #111;
  color: #fff;
  box-sizing: border-box;
  z-index: 1000;
  margin: 0;
  padding: 0;
  width: 100%;
}


/* Conteneur interne du footer */
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Partie gauche */
.footer-left {display: flex;flex-direction: column;align-items: center;justify-content: center;flex: 0 0 auto;}
/* Partie centrale : Google Search + Copyright */
.footer-center {
  flex: 1 1 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.search-form {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.search-input {
  padding: 5px 12px;
  border: 1px solid #D4AF37;
  border-radius: 5px;
  font-size: 14px;
  color: #111;
  background-color: #fff;
  height: 28px;
  width: 200px;
  box-sizing: border-box;
}
.search-btn {
  margin-left: 10px;
  background-color: #D4AF37;
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
}
.search-btn:hover {
  background-color: #b8972f;
  box-shadow: 0 0 8px #D4AF37;
  transform: scale(1.03);
}
/* Texte copyright */
.footer-center p {
  font-size: 12px;
  color: #ccc;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

/* Partie droite */
.footer-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
}
/* Icône Info */
.contact-icon {
  font-size: 20px;
  color: #D4AF37;
  background-color: #222;
  border-radius: 50%;
  padding: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px #D4AF37;
}
/* ===== PAR DÉFAUT (PC) ===== */
/* On cache la barre sur les écrans larges */
.neon-info {display: none !important;   /* totalement absente en PC */}
/* Responsives*/
/*Grand écrans*/


/*SmartPhone*/
@media (max-width: 768px) {
  html, body {
    min-height: 100dvh !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
  display: flex !important;flex-direction: column !important;}
  .wrapper {
    min-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
  }
.main-content {
  flex: 1 0 auto !important;
  padding-bottom: 0 !important; /* ← zéro espace */
}

  header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: relative !important;
    margin: 0 !important;
  }

  .brand-logo { display: none !important; }
  .clock-container { display: none !important; }


footer {
  flex-shrink: 0;
  background: #111;
  color: #fff;
  box-sizing: border-box;
  z-index: 1000;
  margin: 0;
  padding: 0;
  width: 100%;
}

  .footer-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    padding: 0 8px !important;
  }
  .footer-brochure, .open-popup-icon { order: 1; flex: 0 0 auto; margin-right: 4px; }
  .footer-center {
    order: 2;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 4px;
  }
  .search-form { width: 100%; max-width: 140px; margin-bottom: 4px; }
  .search-input { width: 100%; font-size: 12px; box-sizing: border-box; }
  .footer-center p { font-size: 10px; margin: 0; white-space: normal; text-align: center; line-height: 1.2; }
  .footer-right { order: 3; flex: 0 0 auto; display: flex; align-items: center; margin-left: 4px; }
  .contact-icon {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 2px !important;
    margin: 0 2px;
    font-size: 18px;
    outline: none !important;
    box-shadow: none !important;
  }

  #neonInfoText .line1 {
    font-size: clamp(0.9rem, 4vw, 1.2rem) !important;
    line-height: 1.2 !important;
    max-width: 100% !important;
  }
  #neonInfoText .line2 {
    font-size: clamp(0.8rem, 3.5vw, 1rem) !important;
    line-height: 1.2 !important;
    max-width: 100% !important;
  }
}



@media screen and (min-width: 769px) and (max-width: 1366px) {
  html, body {
    min-height: 100dvh !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .wrapper {
    min-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
  }
.main-content {
  flex: 1 0 auto !important;
  padding-bottom: 0 !important; /* ← zéro espace */
}

  header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: relative !important;
    margin: 0 !important;
  }

  .brand-logo { display: none !important; }
  .clock-container { display: none !important; }
footer {
  flex-shrink: 0;
  background: #111;
  color: #fff;
  box-sizing: border-box;
  z-index: 1000;
  margin: 0;
  padding: 0;
  width: 100%;
}


  .footer-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    padding: 0 8px !important;
  }
  .footer-brochure, .open-popup-icon { order: 1; flex: 0 0 auto; margin-right: 4px; }
  .footer-center {
    order: 2;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 4px;
  }
  .search-form { width: 100%; max-width: 140px; margin-bottom: 4px; }
  .search-input { width: 100%; font-size: 12px; box-sizing: border-box; }
  .footer-center p { font-size: 10px; margin: 0; white-space: normal; text-align: center; line-height: 1.2; }
  .footer-right { order: 3; flex: 0 0 auto; display: flex; align-items: center; margin-left: 4px; }
  .contact-icon {background: transparent !important;border-radius: 0 !important;padding: 2px !important;margin: 0 2px;font-size: 18px;outline: none !important;box-shadow: none !important;}
  }

@media screen and (min-width: 769px) and (max-width: 1600px) and (orientation: portrait) {
  .brand-logo {display: block !important;width: clamp(180px, 40vw, 400px) !important;height: auto !important;margin: 20px auto !important;order: 1;}
  .clock-container {display: block !important;margin: -125px/*haut*/ -10px/*droite*/ -40px/*bas*/ auto !important;transform: scale(0.9);order: 2;}  
  .header-center {display: flex !important;flex-direction: row !important;align-items: center !important;justify-content: space-between !important;width: 100% !important;padding: 0 20px !important;} 
  header {margin-bottom: 0 !important;padding-bottom: 0 !important;}
  .tuile-container {margin-top: 10px !important;padding-top: 0 !important;}}
	.main-content {
  flex: 1 0 auto !important;
  padding-bottom: 0 !important; /* ← zéro espace */
}

/* FORCE les tuiles en bas sur PC uniquement */
@media screen and (min-width: 769px) {
  .main-content {
    display: flex !important;
    align-items: flex-end !important;
    padding-bottom: 0 !important;
  }
  
  .tuile-container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    align-self: flex-end !important; /* ← ÇA FORCE le conteneur scroll en bas */
  }
}

/* FORCE les lampadaires à ne pas remonter */
.lampe-container,
.lampes,
.lampe {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}