/* ==========================================================================
   1. TRANSITION D'APPARITION DU SITE
   ========================================================================== */
main {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.8s ease-in-out, visibility 1.8s ease-in-out;
  position: relative;
  z-index: 1;
}

main.loaded {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   ARRIÈRE-PLAN TRIPLE BANDE (1920x1080 -> 220px | 1480px | 220px)
   ========================================================================== */

#site-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

/* 1. ZONE CENTRALE (1480px fixe) */
.bg-center {
  width: 1480px;
  min-width: 1480px; /* Empêche Chromium de l'écraser */
  height: 100%;
  background: url('../img/fond-central.jpg') center top no-repeat;
  background-size: cover;
  flex-shrink: 0;
}

/* 2. BANDE GAUCHE */
.bg-left {
  flex: 1;
  height: 100%;
  background: url('../img/anim-gauche.jpg') right top repeat-y;
  background-size: cover;
}

/* 3. BANDE DROITE */
.bg-right {
  flex: 1;
  height: 100%;
  background: url('../img/anim-droite.jpg') left top repeat-y;
  background-size: cover;
}

/* ==========================================================================
   RESPONSIVE (Si l'écran est plus petit que 1480px)
   ========================================================================== */
@media (max-width: 1480px) {
  .bg-side {
    display: none !important;
  }
  .bg-center {
    width: 100vw;
    min-width: 100vw;
  }
}

/* ==========================================================================
   RESPONSIVE / ORIENTATION
   ========================================================================== */

/* Écrans de taille standard ou petits (inférieurs à 1480px) */
@media (max-width: 1480px) {
  .bg-side {
    display: none; /* Masque les côtés si l'écran est plus petit que l'image centrale */
  }
  .bg-center {
    max-width: 100vw;
  }
}
/* ==========================================================================
   3. TRANSPARENCE DE LA BOUTIQUE (SAUF LE FOOTER)
   ========================================================================== */
body, #wrapper, .header-banner {
  background-color: transparent !important;
}

/* On retire explicitement #main pour éviter qu'il force la transparence sur le footer */
#main {
  background: transparent;
}

/* ==========================================================================
   4. FOOTER : CADRE BLANC UNIQUE SANS DOUBLE CONTOUR
   ========================================================================== */

/* 1. Réinitialisation complète des blocs parents (supprime ombres, bordures et fonds) */
.site-footer-wrapper,
#footer,
.footer-container {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  position: relative !important;
  z-index: 100 !important;
}

/* 2. On masque le bloc du haut s'il est vide */
.site-footer-wrapper > .container:empty {
  display: none !important;
}

/* 3. LE SEUL ET UNIQUE CADRE BLANC (Bloc central) */
.site-footer-wrapper .footer-container > .container {
background-color: rgba(255, 255, 255, 0.85) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-top: 35px !important;
  padding-bottom: 25px !important;
  padding-left: 25px !important;
  padding-right: 25px !important;
  border-radius: 15px;
}

/* 4. Maintien du fond blanc sur tous les sous-éléments internes */
.site-footer-wrapper .footer-container .container *,
.site-footer-wrapper .links,
.site-footer-wrapper .collapse {
background-color: rgba(255, 255, 255, 0.85) !important;
  border: none !important; /* Supprime d'éventuelles bordures grises internes */
}

/* 5. Alignement des titres des colonnes */
.site-footer-wrapper .block-footer,
.site-footer-wrapper .links {
  margin-top: 10px;
}

/* 6. Couleurs des textes */
.site-footer-wrapper .footer-container,
.site-footer-wrapper .footer-container a,
.site-footer-wrapper .footer-container p,
.site-footer-wrapper .footer-container span,
.site-footer-wrapper .footer-container h3,
.site-footer-wrapper .footer-container .h3,
.site-footer-wrapper .footer-container .title {
  color: #232323 !important;
}
/* ==========================================================================
   5. DÉTECTION DU FORMAT (RESPONSIVE / ORIENTATION)
   ========================================================================== */
@media (orientation: portrait) {
  .bg-side {
    display: none;
  }
  .bg-center {
    max-width: 100vw;
  }
}

@media (orientation: landscape) and (min-width: 1600px) {
  .bg-center {
    max-width: 1440px;
  }
}




/* 1. Applique un arrondi par défaut à tous les éléments de la page */
*:not(html):not(body):not(header):not(header *) {
  border-radius: 15px; /* Ajuste la valeur selon tes besoins */

}

/* Alternative ciblée si tu utilises des conteneurs/cartes */
.card, .btn, .container, img {
  border-radius: 15px;
}



/* 2. S'assure explicitement que le header et ses enfants restent carrés */
header, 
header * {
  border-radius: 0 !important;
}


/* Ciblage spécifique du fil d'Ariane (PrestaShop) */
.breadcrumb, 
#wrapper .breadcrumb,
nav.breadcrumb {
background-color: rgba(255, 255, 255, 0.85) !important;
  border-radius: 8px !important;
  padding: 10px 15px; /* Ajoute de l'air autour du texte */
  margin-bottom: 15px;
}

