body {
  margin: 0;
  font-family: 'Josefin Sans', Arial, sans-serif;
  background-color: #D36A5D;
  color: #fff;
}

/* --- Pages pleines --- */
.fullPage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.hidden { display: none; }

/* --- Page de chargement --- */
#loadingPage img {
  width: 6.25em;
  height: 6.25em;
}

@media (max-width: 768px) {
  #loadingPage img {
    width: 5em;
    height: 5em;
  }
}

/* --- Page erreur --- */
#errorPage img {
  width: 5em;
  height: 5em;
}

@media (max-width: 768px) {
  #errorPage img {
    width: 4.5em;
    height: 4.5em;
  }
}

.error-title {
  font-weight: 600;
  font-size: 40px;
  margin: 1px;
}
.error-sub {
  font-weight: 300;
  font-size: 30px;
  margin: 1px;
}
@media (max-width: 768px) {
  .error-title { font-size: 30px; }
  .error-title { margin: 1px; }
  .error-sub { font-size: 25px; }
  .error-sub { margin: 1px; }
}

/* --- Bandeau titre --- */
.bandeauTitre {
  height: 11.25em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.75em;
}
.bandeauTitre img {
  width: 20em;
  /*cursor: pointer;*/
}
.bandeauTitre h1 {
  font-size: 40px;
  font-weight: 600;
}
@media (max-width: 768px) {
  .bandeauTitre { flex-direction: column; gap: 0.0em; }
  .bandeauTitre img { width: 14em; }
  .bandeauTitre h1 { font-size: 20px; }
}

/* --- Bandeau vidéo --- */
.bandeauVideo video {
  width: 100%;
  height: 23.75em;
  object-fit: cover;
}
@media (max-width: 768px) {
  .bandeauVideo video {
    height: auto;
    aspect-ratio: 16/9;
  }
}

/* --- Zone pictos --- */
.zonePicto {
  text-align: center;
  margin: 2em;
  margin-bottom: 6.25em;
}
.grandPicto, .petitPicto {
  display: flex;
  justify-content: center;
  gap: 5em;
}
.grandPicto img {
  width: 5em;
  transition: transform 0.3s ease-out;
}
.grandPicto img:hover {
  transform: scale(1.25);
  transition: transform 0.1s ease-out;
}

.petitPicto {
  margin-top: 3.75em;
  gap: 12.5em;
}
.petitPicto a {
  text-decoration: none;
  color: white;
  text-align: center;
}
.petitPicto img {
  width: 3em;
  transition: transform 0.3s ease-out;
  transform-origin: bottom;
}
.petitPicto img:hover {
  transform: scale(1.4);
  transition: transform 0.1s ease-out;
}
.petitPicto span {
  display: block;
  font-size: 20px;
  margin-top: 0.5em;
}

@media (max-width: 768px) {
  .grandPicto img:hover {
    transform: scale(1);
  }
  .petitPicto img:hover {
    transform: scale(1);
}
}

.separator {
  width: 100px;
  height: 5px;
  background: white;
  border-radius: 10px;
  margin: 3.75em auto;
}
@media (max-width: 768px) {
  .grandPicto { gap: 3em; }
  .grandPicto img { width: 4em; }
  .petitPicto { flex-direction: column; gap: 1em; }
  .petitPicto img { width: 2.5em; }
  .petitPicto span { font-size: 15px; }
  .separator { margin: 2em auto; }
  .zonePicto { margin-bottom: 4.5em; }
  .grandPicto a { margin: 0 0.5em; /* équivalent gap: 4em */ }
  .petitPicto { flex-direction: column; align-items: center; }
  .petitPicto a { margin: 0.5em 0; /* espace vertical équivalent */ }
}


/* --- Footer --- */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5em;
  background: #D36A5D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 300;
  color: white;
  z-index: 100;
  text-decoration: none;
}
footer p { margin: 0; text-decoration: none; }
@media (max-width: 768px) {
  footer { height: 4.5em; font-size: 14px; font-weight: 300; }
}

a[href^="tel"] {
  color: white !important;
  text-decoration: none !important;
}

a[href^="mailto"] {
  color: white !important;
  text-decoration: none !important;
}


/* --- Indicateur Scroll --- */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(+10px);
  }
}

/* Wrapper = position + scale */
#callToScrollWrapper {
  position: fixed;
  bottom: 5em;
  left: 0;
  width: 100%;                /* occupe toute la largeur */
  display: flex;
  justify-content: center;    /* centre horizontalement le contenu */

  transform: scale(0);
  transform-origin: bottom;
  transition: transform 0.3s ease-out;
  z-index: 150;
}

/* Visible = scale 1.5 */
#callToScrollWrapper.visible {
  transform: scale(1.5);
}

/* L’image à l’intérieur = bounce uniquement */
#callToScroll {
  animation: bounce 1.5s infinite ease-in-out;
}

#callToScroll img {
  width: 2.5em;
  height: auto;
}
@media (max-width: 768px) {
  #callToScroll {
    bottom: 4.3em; /* ajusté pour le footer phone */
  }
}

/*#callToScroll:hover {
  transform: translateX(-50%) scale(1.5) !important;
}
#callToScroll img:hover {
  transform: none !important;
}*/
