/* Animation de fondu vers le haut */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@font-face {
  font-family: "Mulish";
  src: url("../assets/Mulish-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  /* c'est une variable font */
  font-style: normal;
}

@font-face {
  font-family: "Parisienne";
  src: url("../assets/Parisienne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

.topheader {
  position: fixed;
  z-index: 1000;
  box-sizing: border-box;
  width: 100%;
  background-color: #1d2b85;
  padding: 15px;
}

.topcontainer {
  width: 100%;
  margin: 10 0;
}

.topcontainer svg {
  width: 16px;
  height: 16px;
  margin: 10px;
}

.toptext {
  color: #dbdbdb;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-primary {
  font-family: "Mulish", sans-serif;
  font-weight: 580;
  border-radius: 50px;
  padding: 20px 30px;
  background-color: #2b3990;
  color: white;
  user-select: none;
  cursor: pointer;
  transition: 0.3s;
}

.btn-all-width {
  width: 100%;
  max-width: 500px;
}

.btn-primary:hover,
.btn-primary:hover {
  background-color: #1d2b85;
  box-shadow: inset 0 0 10px hsla(0, 0%, 0%, 0.411);
}

/* Classe initiale pour masquer les sections */
.section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

body {
  margin: 0;
  text-decoration: none;
  font-family: "Mulish", sans-serif;
  background-color: #f6f7fa;
}

a {
  text-decoration: none;
}

/* --- HEADER --- */
header {
  position: relative;
  flex-direction: column;
  justify-content: flex-start;
  padding: 10px;
  height: fit-content;
}

.topline {
  margin-top: 70px;
  justify-content: space-between;
  margin-inline: 10px;
  width: calc(100% - 20px);
  max-width: 1200px;

  height: fit-content;
}

/* --- NOTIFICATION BAR --- */
.notifBar {
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 50px;
  background-color: rgb(201, 214, 245);
  cursor: pointer;
}

.pastille {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgb(48, 240, 131);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

.textNotif {
  font-size: 12px;
  font-weight: 650;
  user-select: none;
}

/* --- MENU BURGER --- */
.hbMenuZone {
  z-index: 900;
}

.HbMenu-container {
  cursor: pointer;
  padding: 10px;
  background-color: #f6f7fa;
  border-radius: 50px;
  transition: transform 0.3s ease;
}

.HbMenu {
  flex-direction: column;
  gap: 5px;
}

.line {
  width: 30px;
  height: 4px;
  background-color: #2b3990;
  border-radius: 50px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.HbMenu.active .line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.HbMenu.active .line:nth-child(2) {
  opacity: 0;
}

.HbMenu.active .line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* --- LOGO --- */
.midline {
  width: calc(100% - 20px);
  max-width: 1200px;
  box-sizing: border-box;
  transform: translateY(-10px);
}

.logoZone img {
  width: 120px;
}

/* --- MENU OUVERT --- */
.openMenu {
  position: fixed;
  top: 0;
  right: -100vw;
  width: 100vw;
  height: 100vh;
  background-color: rgb(33, 32, 32);
  transition: right 0.5s ease;
  z-index: 800;
}

.openMenu.active {
  right: 0;
}

.menuList {
  flex-direction: column;
  gap: 20px;
}

.lst {
  text-decoration: none;
  color: rgb(180, 180, 180);
  font-size: 24px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.lst:hover {
  color: #ffffff;
}

.bassline {
  justify-content: center;
  margin-inline: 10px;
  width: calc(100% - 20px);
  max-width: 1200px;
  height: fit-content;
  transform: translateY(-5px);
}

/* Section avec l'image en arrière-plan */
.hero {
  height: 55vh;
  /* Pleine hauteur de l'écran */
  margin-inline: 20px;
}

@keyframes zoomBackground {
  0% {
    background-size: 150%;
  }

  100% {
    background-size: 110%;
  }
}

.hero-content {
  flex-direction: column;
  background: url("../media/imgg_acc.webp") no-repeat center center/cover;
  height: 100%;
  width: 100%;
  max-width: 1200px;
  color: white;
  user-select: none;
  animation: zoomBackground 15s ease-in-out infinite alternate;
}

.hero-content a:hover {
  background-color: #1d2b85;
  box-shadow: inset 0 0 10px hsla(0, 0%, 0%, 0.411);
}

.before-h1h {
  font-family: "mulish", sans-serif;
  font-weight: 900;
  font-style: normal;
  font-size: 30px;
  margin: 0;
  transform: translateY(5px);
}

/* Bouton héro — arrondi + outline dashed blanc offset */
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  padding: 14px 22px;
  border-radius: 9999px;
  /* bien arrondi (pill) */
  border: 0;
  /* pas de border, on utilise outline */
  background: #1c2c7a;
  /* bleu nuit de ta charte */
  color: #fff;
  text-decoration: none;

  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  font-weight: 800;
  font-size: 16px;

  /* outline dashed blanc avec offset 4px */
  outline: 3px dashed #fff;
  outline-offset: 4px;

  /* bouton décalé de 10px vers le bas */
  transform: translateY(30px);

  /* petite transition pour l'offset au hover (pas d'autres effets) */
  transition: transform 0.15s ease;
}

/* Au hover : offset réduit à 2px (effet discret et net) */
.hero-btn:hover {
  transform: translateY(28px);
}

.h1h {
  position: relative;
  z-index: 10;
  font-family: "Parisienne";
  font-weight: 200;
  font-style: normal;
  font-size: 90px;
  text-align: center;
  line-height: 0.9;
  margin: 0;
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

.voir-la-carte {
  margin-top: 10px;
  gap: 10px;
  width: 100%;
}

.btn-line {
  padding: 5px;
  width: fit-content;
  height: fit-content;
  border: solid #2b3990;
  border-radius: 50px;
  transition: padding 0.3s ease;
  user-select: none;
  cursor: pointer;
}

.btn-line:hover {
  padding: 8px;
}

.horaires {
  margin-top: 40px;
  flex-direction: column;
  width: 100%;
}

.horaires-container {
  flex-direction: column;
  max-width: 1200px;
  width: calc(100% - 40px);
}

h2 {
  font-family: "Parisienne", serif;
  font-weight: 200;
  font-style: normal;
  font-size: 48px;
  text-align: center;
  margin-bottom: 20px;
}

.separator {
  width: 90%;
  height: 1px;
  background-color: #000000;
  border-radius: 50px;
  max-width: 600px;
}

.separator-wht {
  width: 90%;
  height: 1px;
  background-color: #dbdbdb;
  border-radius: 50px;
  max-width: 600px;
}

.h-grid {
  margin-top: 20px;
  justify-content: space-between;
  width: 100%;
  max-width: 600px;
}

.jours {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: "mulish", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: 16px;
  gap: 10px;
}

.heures {
  display: flex;
  flex-direction: column;
  align-items: left;
  font-family: "mulish", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 16px;
  gap: 10px;
}

.horaires-alerte {
  margin-top: 80px;
  flex-direction: column;
  padding: 20px;
  align-items: left;
  border-radius: 20px;
  background-color: #2b39900f;
}

.horaires-alerte svg {
  position: absolute;
  transform: translateY(-75px);
  width: 80px;
}

.p-alerte {
  margin-top: 40px;
  font-family: "mulish", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 16px;
}

.a-contact {
  color: #2b3990;
  font-weight: 700;
}

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

.notre-lieu {
  flex-direction: column;
}

.article-notrelieu {
  flex-direction: column;
  width: calc(100% - 40px);
  max-width: 600px;
}

.article-p {
  text-align: center;
  margin-top: 40px;
  font-family: "mulish", sans-serif;
  font-weight: 500;
  font-size: 16px;
}

.img-cont {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  /* 6 colonnes égales */
  grid-template-rows: 250px 250px;
  /* 2 lignes de 200px */
  gap: 10px;
  /* Espacement entre les images */
  max-width: 1200px;
  margin-inline: 20px;
  width: calc(100% - 40px);
  /* Ajuste selon ton design */
}

.img-cont img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  /* Caché au départ */
  transform: translateY(50px);
  /* Décalé vers le bas */
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.img-cont img:nth-child(1) {
  transition-delay: 0.1s;
}

.img-cont img:nth-child(2) {
  transition-delay: 0.2s;
}

.img-cont img:nth-child(3) {
  transition-delay: 0.3s;
}

.img-cont img:nth-child(4) {
  transition-delay: 0.4s;
}

/* Classe qui sera ajoutée avec JavaScript pour déclencher l'animation */
.img-cont img.show {
  opacity: 1;
  transform: translateY(0);
}

.img-cont img:nth-child(1) {
  grid-column: span 4;
  /* Image 1 prend 4 colonnes */
}

.img-cont img:nth-child(2) {
  grid-column: span 2;
  /* Image 2 prend 2 colonnes */
}

.img-cont img:nth-child(3) {
  grid-column: span 2;
  /* Image 3 prend 2 colonnes */
}

.img-cont img:nth-child(4) {
  grid-column: span 4;
  /* Image 4 prend 4 colonnes */
}

.cta-container {
  padding-inline: 20px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 20px;
}

.notre-adresse {
  flex-direction: column;
}

.adresse-cont {
  flex-direction: column;
  width: calc(100% - 40px);
  max-width: 1200px;
}

.h2-notre-adresse {
  margin-bottom: 0;
}

.adresse-p {
  margin-top: 0;
  margin-bottom: 40px;
}

.adresse-infos {
  border-radius: 20px;
  padding: 20px;
  font-family: "Mulish", sans-serif;
  font-optical-sizing: auto;
  font-weight: 580;
  font-style: normal;
  line-height: 1.5;
  background-color: #2b39900f;
}

.googleMap {
  margin-top: 20px;
  width: 100%;
  height: 40vh;
  border-radius: 20px;
  overflow: hidden;
}

.googleMap img {
  width: 100%;
}

.mp-cont {
  margin-top: 10px;
  justify-content: space-between;
  margin-inline: 20px;
  max-width: 600px;
  width: calc(100% - 40px);
  gap: 10px;
}

.footer {
  margin-top: 40px;
  text-align: center;
  padding: 20px;
  background-color: #2b3990;
  color: white;
  width: calc(100% - 40px);
}

.footer a {
  color: rgb(255, 255, 255);
  font-weight: bold;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-cont {
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.contact {
  flex-direction: column;
}

.contact-cont {
  flex-direction: column;
  width: calc(100% - 40px);
  max-width: 1200px;
}

.contc {
  margin-top: 0;
  font-family: "Mulish", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size: 18px;
}

.btn-contact-cont {
  width: 100%;
}

.cookiesbanner-cont {
  position: fixed;
  top: 0;
  z-index: 10000;
  height: 100vh;
  width: 100%;
  background-color: hsla(0, 0%, 55%, 0.5);
  backdrop-filter: blur(5px);
}

.cookies_card {
  position: relative;
  flex-direction: column;
  margin-inline: 10px;
  width: calc(100% - 20px);
  max-width: 400px;
  height: fit-content;
  padding: 20px;
  gap: 10px;
  background-color: #f6f7fa;
  border-radius: 20px;
  overflow: hidden;
}

.cookies_card img {
  width: 30%;
  height: fit-content;
  position: absolute;
  top: 0;
  right: 0;
  transform: rotate(180deg) translateX(-30%) translateY(30%);
}

.titre {
  margin-top: 20px;
  width: 100%;
  text-align: left;
  font-family: "Mulish", sans-serif;
  font-weight: 580;
  font-size: 24px;
}

.description {
  font-size: calc(24 / 1.618);
  font-weight: 400;
  text-align: left;
}

.cookies_card a {
  width: 100%;
  text-align: left;
  text-decoration: none;
  color: #1d2b85;
}

.rjt {
  padding: 10px 20px;
  width: 100%;
  border: none;
  background-color: #f6f7fa;
  font-family: "Mulish", sans-serif;
  font-weight: 580;
}

.acpt {
  padding: 18px 20px;
  width: 100%;
  border: none;
  border-radius: 10px;
  background-color: #1d2b85;
  color: #f6f7fa;
  font-family: "Mulish", sans-serif;
  font-weight: 580;
  font-size: 14px;
}