body {
  font-family: "Roboto Slab", sans-serif;
}

/*--------------------------------------------------------------
# Général
--------------------------------------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box !important;
}

html,
body {
  font-family: "Roboto Slab", serif;
  font-display: swap;
  position: relative;
  height: 100%;
  text-decoration: none;
  list-style: none;
  background-color: #fff;

  max-width: 100%;
  font-size: 1.3rem;
  line-height: 2;
}
.container-fluid {
  padding: 0 15px;
  width: 100% !important;
  max-width: 100vw !important;
  overflow: hidden !important;
  overflow-x: hidden;
  box-sizing: border-box;
  padding-left: 0;
  padding-right: 0;
}

a {
  text-decoration: none;
  list-style: none;
  color: #f5f5e9 !important;
}

#scrollToTopBtn {
  display: block !important; /* Forcer l'affichage pour tester */
  position: fixed;
  bottom: 20px;
  right: 40px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  border: none;
  background-color: #032b35;
  color: #ffffff;
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
}

#scrollToTopBtn:hover {
  background-color: #1b4f5f;
  transform: translateY(-3px);
}

#scrollToTopBtn:active {
  transform: translateY(0);
}

/* Titres */
h1,
h2,
h3,
h4 {
  font-family: "Special Elite", serif;
  line-height: 1.3;
  overflow-y: hidden;
  font-display: swap;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.5rem;
}

/* Styles mobiles */
@media (max-width: 768px) {
  body {
    font-size: 1rem;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1.25rem;
  }
}

/* Styles pour les écrans moyens */
@media (max-width: 1200px) {
  body {
    font-size: 1.05rem;
  }
}

/*--------------------------------------------------------------
#Boutons
--------------------------------------------------------------*/
.btn-custom {
  background-color: #032b35 !important;
  color: #f5f5e9 !important;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.btn-custom:hover {
  background-color: #085669;
  transform: scale(1.05);
}

.btn-custom-outline {
  color: #ffffff;
  border: 2px solid #ffffff;
  background-color: transparent;
  transition: all 0.3s ease-in-out;
}

.btn-custom-outline:hover {
  background-color: #ffffff;
  color: #032b35 !important;
}

/*--------------------------------------------------------------
# Navbar 
--------------------------------------------------------------*/
.custom-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  background-color: transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  transition: background-color 0.3s, box-shadow 0.3s;
  z-index: 800;
  width: 100%;
  color: #000;
  padding: 10px 20px;
  box-sizing: border-box !important;
  font-family: "Special Elite", serif !important;
  overflow-y: hidden !important;
}

/* Effet de loading au survol */
.nav-item:hover {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.2) 25%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.2) 75%
  );
  background-size: 200% 100%;
  animation: liLoading 1.5s linear infinite;
  border-radius: 8px;
  transition: background 0.3s ease;
}
.navbar.scrolled {
  background-color: rgba(3, 43, 53, 0.7);
  box-shadow: 0 4px 8px rgba(3, 43, 53, 0.2);
  color: #000;
}
.navbar-background {
  background-color: #032b35;
  border-radius: 10px;
}
.navbar .navbar-nav .nav-link {
  font-size: 1.5rem;
  padding: 10px 20px;
  letter-spacing: 0.05rem;
  line-height: 2rem;
}
.navbar .navbar-nav .nav-link.active {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
/* Effet de loading au clic */
.nav-item.loading {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.2) 25%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.2) 75%
  );
  background-size: 200% 100%;
  animation: liLoading 1.5s linear infinite;
  border-radius: 8px;
}

/* Personnalisation de l'icône du toggler */
.navbar-toggler-icon {
  background-color: transparent;
  border: none;
  display: block;
  width: 24px;
  height: 24px;
}

/* Animation de défilement */
@keyframes liLoading {
  0% {
    background-position: 0% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Écrans de max 1024px */
@media (max-width: 1024px) {
  .navbar {
    padding: 10px 20px;
    justify-content: space-between;
  }

  .navbar .navbar-nav .nav-link {
    font-size: 1.3rem;
    padding: 8px 10px;
  }

  .hero-section {
    padding: 20px;
  }

  .line h1 {
    font-size: 2rem;
  }

  .button-container {
    gap: 15px;
  }

  #tree-container {
    width: 60%;
  }
}

/* Écrans de max 768px */
@media (max-width: 768px) {
  .navbar .navbar-brand {
    font-size: 1.2rem;
  }

  .navbar .navbar-nav .nav-link {
    font-size: 1.4rem;
    padding: 10px 15px;
  }

  .navbar-nav .nav-item {
    margin-right: 10px;
  }

  .hero-section {
    padding: 15px;
    height: auto;
  }

  .line h1 {
    font-size: 1.5rem;
  }

  .tagline {
    font-size: 1rem;
    margin-top: 10px;
  }

  .button-container {
    flex-direction: column;
    gap: 10px;
  }

  .cta-button,
  .secondary-button {
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  #tree-container {
    width: 70%;
    margin: 20px auto;
  }
}

/* Écrans de max 480px */
@media (max-width: 480px) {
  .navbar {
    padding: 8px 10px;
    background-color: rgba(3, 43, 53, 0.9);
  }

  .navbar .navbar-brand {
    font-size: 1rem;
  }

  .navbar-nav .nav-link {
    font-size: 1rem;
    padding: 8px 10px;
  }

  .hero-section {
    padding: 10px;
  }

  .line h1 {
    font-size: 1rem;
  }

  .tagline {
    font-size: 0.8rem;
  }

  .button-container {
    gap: 8px;
  }

  #tree-container {
    width: 90%;
  }
}

/*--------------------------------------------------------------
# Logo
--------------------------------------------------------------*/
.logo {
  max-width: 300px;
  height: auto;
  margin-left: 0px;
}

@media (max-width: 768px) {
  .logo {
    width: 40%;
    max-width: 150px;
  }
}

@media (max-width: 1200px) {
  .logo {
    width: 60%;
    max-width: 180px;
  }
}

.logo-video {
  width: 250px;
  height: auto;
  display: block;
  background: transparent;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
/* Couleur de fond du footer */
.bg-custom {
  background-color: #032b35;
}
.footer-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  text-align: left;
}

.footer-logo {
  display: flex;
  align-items: center; /* Centre verticalement le logo */
  margin-left: 15%;
}

.logo-footer {
  max-width: 80%; /* Taille maximale du logo */
  height: auto;
}

.footer-contact {
  text-align: right; /* Texte aligné à droite */
  margin-right: 15%;
}

.footer-contact p,
.footer-contact a {
  margin: 5px 0; /* Espacement vertical entre les lignes */
}

@media (max-width: 1200px) {
  .footer-custom {
    flex-direction: row;
  }

  .logo-footer {
    width: 60%;
  }
}

@media (max-width: 992px) {
  .footer-custom {
    flex-direction: column;
    align-items: center;
  }

  .footer-contact {
    text-align: center;
    margin-left: 0;
    margin-top: 20px;
    margin-right: 0 !important;
  }

  .logo-footer {
    width: 65%;
    margin-left: 50px !important;
  }

  .slogan-footer {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .footer-custom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-logo,
  .footer-contact {
    align-items: center;
    text-align: center;
  }

  .logo-footer {
    width: 70%;
    margin-left: 25% !important;
  }

  .footer-contact p,
  .footer-contact a {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .footer-custom {
    flex-direction: column; /* Affiche les éléments en colonne */
    align-items: center; /* Centre horizontalement */
    text-align: center; /* Centre tout le texte */
    gap: 15px; /* Ajoute un espace uniforme entre les éléments */
  }

  .footer-logo {
    margin-bottom: 10px; /* Réduit l'espace sous le logo */
  }

  .logo-footer {
    width: 80%;
    margin-left: -20% !important; /* Ajuste la taille du logo pour mobile */
  }

  .footer-contact {
    margin-top: 10px; /* Réduit l'espace vertical au-dessus des contacts */
    text-align: center; /* Centre les informations */
  }

  .footer-contact p,
  .footer-contact a {
    font-size: 0.85rem; /* Ajuste la taille du texte pour mobile */
    margin: 5px 0; /* Ajoute un espacement vertical uniforme */
  }

  .slogan-footer {
    font-size: 0.75rem; /* Ajuste la taille de la police du slogan */
    text-align: center; /* Centre le texte */
    margin-top: 5px; /* Réduit l'espace vertical au-dessus */
  }
}

.logo-footer-video {
  width: 400px; /* Ajuste selon ton besoin */
  height: auto;
  display: block;
  background: transparent;
}

/*--------------------------------------------------------------
# Page d'accueil (arbre + caméléon + typing
--------------------------------------------------------------*/
.hero-section {
  background: linear-gradient(135deg, #032b35, #1b4f5f, #064663);
  background-size: 200% 200%;
  animation: backgroundAnimation 10s ease infinite;
  color: #f5f5e9;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  text-align: center;
  gap: 30px;
  padding: 20px;
}

#word {
  transition: opacity 0.5s ease-in-out;
}

.effect-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
  text-align: center;
}

.typing-effect {
  position: relative;
  text-align: center;
}

.line h1 {
  font-size: 2rem;
  display: inline;
  line-height: 3.5rem;
  font-family: "Special Elite", serif !important;
}

.line {
  position: relative;
  font-family: "Raleway Dots", sans-serif;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #f5f5e9;
  width: 0;
  line-height: 3.5rem;
  margin-bottom: 20px;
  animation: typing 3s steps(30, end) forwards,
    blink-caret 0.75s step-end infinite;
  line-height: 3.5rem;
}

/* Animation d'écriture pour chaque ligne */
.line:nth-of-type(1) {
  animation-delay: 0s;
}
.line:nth-of-type(2) {
  animation-delay: 3s;
}
.line:nth-of-type(3) {
  animation-delay: 6s;
}
.line:nth-of-type(4) {
  animation-delay: 9s;
}

@keyframes backgroundAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

p.tagline {
  font-size: 1.2rem;
  margin-top: 20px;
  color: #f5f5f5;
  text-align: center;
  font-style: italic;
}

.line {
  font-size: 2.5rem;
  position: relative;
  font-family: "Raleway Dots", sans-serif;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #f5f5e9;
  width: auto;
  line-height: 3.5rem;
  margin-bottom: 20px;
}

#word {
  display: inline;
  opacity: 1;
  transition: opacity 0.5s ease;
  text-decoration: underline;
  font-weight: bold;
}

/* Tree container */
#tree-container {
  width: 50%;
  max-width: 515px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: -15%;
  margin-top: 5%;
  position: relative;
  z-index: 10;
}

#tree-container svg {
  width: 100%;
  height: auto;
}

#tree-container svg path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  stroke: #ffffff;
  stroke-width: 2;
  animation: draw 5s linear infinite;
}

@keyframes draw {
  from {
    stroke-dashoffset: 1000;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* Container pour centrer les boutons */
.button-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

/* Bouton principal */
.cta-button {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2); /* Ajout d’un fond léger */
  border: 4px solid #ffffff;
  border-radius: 25px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2); /* Ajout d’une ombre subtile */
}

/* Effet de loading au survol */
.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 400%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.4s ease;
}

.cta-button:hover::before {
  left: 0;
}

.cta-button:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0px 6px 15px rgba(255, 255, 255, 0.3);
  color: #1b4f5f;
}

/* Bouton secondaire */
.secondary-button {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #ffffff;
  background: #1b4f5f; /* Fond plus visible dès le départ */
  border: 4px solid #ffffff;
  border-radius: 25px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.secondary-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 400%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.4s ease;
}

.secondary-button:hover::before {
  left: 0;
}

.secondary-button:hover {
  transform: translateY(-3px);
  background: #163d4a; /* Légèrement plus foncé au survol */
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

@media (max-width: 1024px) {
  #tree-container {
    margin-left: -30px; /* Décalage plus léger sur tablette */
  }
}

@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
  }

  .effect-container {
    width: 90%;
  }

  .line h1 {
    font-size: 1.5rem;
    line-height: 2rem;
    text-align: center;
  }

  .line h1 span {
    display: block;
    font-size: 1.2rem;
    margin-top: 5px;
  }

  .tagline {
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: center;
  }

  .button-container {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
  }

  #tree-container {
    width: 60%;
    max-width: 500px;
    margin: 0 auto 20px auto;
    margin-top: 35%;
  }
}

/* Écrans de max 480px */
@media (max-width: 480px) {
  .hero-section {
    padding: 10px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .line h1 {
    font-size: 1.2rem;
    line-height: 1.5rem;
    text-align: center;
  }

  .line h1 span {
    display: block;
    font-size: 1rem;
    margin-top: 5px;
  }

  .tagline {
    font-size: 0.75rem;
    margin-top: 5px;
    text-align: center;
  }

  .button-container {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
  }

  #tree-container {
    width: 70%;
    max-width: 250px;
    margin: 0 auto 20px auto;
    margin-top: 70%;
  }
}

/*--------------------------------------------------------------
# Page d'accueil section projects
--------------------------------------------------------------*/
/* Project */

.project-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: #333;
  position: relative;
}

.heading-part1 {
  font-size: 2.4rem;
  font-weight: 600;

  padding-bottom: 0.7rem;
}

.heading-part2 {
  font-size: 1.6rem;
  font-weight: 400;
  font-style: italic;
  margin-top: -1rem;
  text-align: center;
  margin-left: 0;
  line-height: 1.2;
}

.project-description {
  background-color: #f9f9f9;
  border-radius: 8px;
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  text-align: justify;
  padding: 1rem;
  margin: 0 auto;
  width: 100%;
}

.my-photo {
  max-width: 80%; /* Assure que l'image ne dépasse pas son conteneur */
  width: 100%; /* Rend l'image plus grande tout en restant responsive */
  height: auto; /* Garde les proportions correctes */
  object-fit: cover; /* Remplit la zone sans déformation */
}

@media (max-width: 768px) {
  .my-photo {
    max-width: 100%;
    max-height: 200px;
  }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .project-heading {
    font-size: 1.5rem;
  }

  .heading-part1 {
    font-size: 2rem;
  }

  .heading-part2 {
    margin-left: 20px;
  }

  .project-description {
    width: 90%;
  }

  .my-photo {
    max-width: 80%;
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .project-heading {
    font-size: 1.3rem;
  }

  .heading-part1 {
    font-size: 1.8rem;
  }

  .heading-part2 {
    margin-left: 10px;
  }

  .project-description {
    font-size: 1rem;
    line-height: 1.4;
  }

  .my-photo {
    max-width: 100%;
    max-height: 300px;
  }
}

@media (max-width: 480px) {
  .project-heading {
    font-size: 1.1rem;
  }

  .heading-part1 {
    font-size: 1.5rem;
  }

  .heading-part2 {
    font-size: 1.2rem;
    margin-left: 5px;
  }

  .project-description {
    font-size: 0.9rem;
  }

  .my-photo {
    max-width: 100%;
    max-height: 250px;
  }
}

/*--------------------------------------------------------------
# Page d'accueil (services, pop pup)
--------------------------------------------------------------*/
.container-services {
  margin-top: 60px;
  margin-bottom: 20px;
  position: relative;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.title-service {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #333;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.title-service::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background-color: #032b35;
  margin: 0 auto;
  margin-top: 10px;
}

.content-box h4 {
  font-size: 1.8rem;
  margin: 0;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f5f5e9;
}

.content-box p {
  flex-grow: 1;
  font-size: 1rem;
  margin: 10px 0;
  text-align: justify;
  color: #f5f5e9;
}

.listing-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  padding: 20px;
  color: #f5f5e9;
}

.timeline {
  display: flex;
  width: 100%;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.content-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  margin: 10px;
  color: #f5f5e9;
  min-width: 250px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-link:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.content-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 350px;
  padding: 20px;
  background-color: #032b35;
  text-align: center;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  min-height: 850px;
  max-height: 850px;
  position: relative;
  margin-bottom: 20px;
  box-sizing: border-box;
  flex: 1 1 calc(25% - 20px);
}

.service-logos {
  justify-content: center;
  gap: 20px;
  margin-top: 20px;

  align-items: center;
}

.service-logos img {
  margin: 0 10px;
  margin-top: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 5px;
  background-color: #ffffff;
  border-radius: 8px;
}

.logo-qualiopi {
  height: 120px;
  width: auto;
}

.logo-chorus {
  height: 80px;
}

.service-logos img:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.click-hint {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #085669;
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.click-hint .icon {
  font-size: 1.2rem;
}

.content-link:hover .click-hint {
  opacity: 1;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(3, 43, 53, 0.3);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
}

.content-link::after {
  content: attr(data-hint);
  position: absolute;
  top: 0%;
  left: 10%;
  transform: translateX(-50%);
  background-color: #085669;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.content-link:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}
@media (max-width: 991px) {
  .content-link {
    flex: 1 1 100%;
    margin: 5px 0;
  }

  .content-box {
    min-height: auto;
    max-height: none;
  }

  .content-box h4 {
    font-size: 1.5rem;
  }

  .content-box p {
    font-size: 0.9rem;
  }

  .title-service {
    font-size: 1.5rem;
  }
}

@media (max-width: 1500px) {
  .content-box {
    flex: 1 1 calc(50% - 20px) !important;
  }
}

@media (max-width: 966px) {
  .content-box {
    flex: 1 1 100%;
  }
}

.popup {
  display: none;
  position: fixed;
  z-index: 800;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.popup-content {
  position: absolute;
  left: 50%;
  top: 20%;
  transform: translate(-50%, -50%);
  max-height: 90vh;
  overflow-y: auto;
  width: 90%;
  max-width: 600px;
  padding: 20px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease-out;
}

.popup.active {
  display: block;
}

.popup-content h4 {
  margin-bottom: 15px;
  color: #333;
  font-size: 1.5rem;
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
}

.popup-price {
  font-weight: bold;
  color: #032b35;
  margin-top: 15px;
  font-size: 1.2rem;
}

.popup-content a {
  color: #000 !important;
  text-decoration: underline; /* optionnel */
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover {
  color: #ff5722;
}

@media (max-width: 767px) {
  .popup-content {
    max-height: 85vh; /* Réduction pour petits écrans */
    padding: 15px;
  }
}

/* Container pour les boutons dans le pop-up */
.contact-button-popup {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

/* Bouton principal (Contactez-moi) */
.contact-button-popup button {
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: bold;
  color: #ffffff;
  background-color: #032b35;
  border: 2px solid #032b35;
  border-radius: 25px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-button-popup button:hover {
  background-color: #085669;
  color: #f5f5e9 !important;
  transform: translateY(-3px);
}

/* Responsive pour les petits écrans */
@media (max-width: 767px) {
  .contact-button-popup {
    flex-direction: column;

    gap: 10px;
  }

  .contact-button-popup button,
  .contact-button-popup .btn-rdv {
    width: 100%;
    text-align: center;
  }
}

/*--------------------------------------------------------------
# PICTO
--------------------------------------------------------------*/
.avt_container {
  background-color: rgba(0, 0, 0, 0.1);
  display: flex;
  text-align: center;
  justify-content: space-around;
  align-items: center;
  margin: 0;
  width: 100%;
  padding: 1.5rem 0;
}

.avt_title {
  padding: 0 4rem;
  position: relative;
  z-index: 3;
  text-transform: uppercase;
  margin-bottom: 0;
  margin-top: 0.5rem;
}

.avt_subtitle {
  position: relative;
  top: -0.5rem;
}

@media (max-width: 768px) {
  .avt_container {
    flex-direction: column;
    align-items: center;
  }

  .avt_item {
    max-width: 90%;
  }

  .avt_title {
    padding: 0 1rem;
    font-size: 0.9rem;
  }

  .avt_subtitle {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .avt_title {
    font-size: 0.8rem;
  }

  .avt_subtitle {
    font-size: 0.7rem;
  }

  .avt_item {
    max-width: 100%;
  }
}

/*--------------------------------------------------------------
# Section réalisations
--------------------------------------------------------------*/

.card-img-top {
  width: 100%; /* Ajuste la largeur pour s'adapter au conteneur */
  height: auto; /* Garde les proportions naturelles de l'image */
  object-fit: cover; /* Coupe l’image pour éviter l’écrasement */
  max-height: 300px; /* Fixe une hauteur maximale pour éviter les images trop grandes */
  border-radius: 8px; /* Optionnel : Ajoute des bords arrondis */
}

/*--------------------------------------------------------------
# Contact rapide
--------------------------------------------------------------*/
.service-contact-section {
  background-color: #f5f5f5;
  padding: 2rem 0;
  text-align: center;
}

.service-contact-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.service-contact-section p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.service-contact-section .btn-primary {
  background-color: #032b35;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.25rem;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.service-contact-section .btn-primary:hover {
  background-color: #085669;
  transform: translateY(-2px);
}

/*Contact Form*/
.show {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

@media (max-width: 768px) {
  .contact-content .row {
    flex-direction: column;
  }

  .service-contact-section h2 {
    font-size: 1.5rem;
  }

  .service-contact-section p {
    font-size: 0.9rem;
  }

  .service-contact-section .btn-primary {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact-page {
  padding: 40px 15px;
}

.contact-header {
  margin-bottom: 40px;
}

.contact-header h2 {
  font-size: 2rem;
  color: #032b35;
  transition: color 0.3s;
}

.contact-header h2:hover {
  color: #025c6b;
}

.contact-header p {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* Flex pour les sections de contact */
.contact-content .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contact-form-wrapper {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  flex: 1;
  min-width: 300px;
}

.contact-form-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.contact-form h3 {
  color: #032b35;
  margin-bottom: 20px;
}

.contact-form .form-control {
  border-radius: 5px;
}

.contact-info-wrapper {
  background: #f1f1f1;
  padding: 20px;
  margin-left: -20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  flex: 1;
  min-width: 300px;
}

.contact-form {
  margin-right: 50px;
}

.contact-info-wrapper h3,
.contact-info-wrapper h4 {
  color: #032b35;
  margin-bottom: 10px;
}

.contact-info-wrapper p {
  color: #555;
  font-size: 1rem;
}

.contact-section {
  margin-top: 40px;
}

.contact-info-wrapper iframe {
  border-radius: 5px;
  margin-top: 20px;
}

.contact-final-message {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#contact-button {
  background-color: #032b35;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 1rem;
  position: relative; /* Nécessaire pour l'animation */
  overflow: hidden; /* Empêche l'animation de dépasser les limites */
  transition: background-color 0.3s, transform 0.3s;
}

/* Animation de loading */
#contact-button.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%; /* Commence hors de l'élément */
  width: 300%; /* Couverture complète de l'élément */
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.288),
    transparent
  );
  animation: loadingEffect 1.5s linear infinite; /* Animation continue */
}

/* Effet d'animation */
@keyframes loadingEffect {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Hover et transformation pour améliorer l'interaction */
#contact-button:hover {
  transform: scale(1.05); /* Légère augmentation de la taille */
}

/* Media Queries pour améliorer la réactivité */
@media (max-width: 768px) {
  .contact-form,
  .contact-info-wrapper {
    margin-right: 0; /* Supprimer la marge droite pour les petits écrans */
    margin-left: 0; /* Supprimer la marge gauche pour les petits écrans */
  }

  #contact-button {
    width: 100%; /* Bouton plein largeur */
  }
}

/*--------------------------------------------------------------
# Blog
--------------------------------------------------------------*/
.article-header {
  margin-bottom: 20px;
}

.entry-title {
  font-size: 2.5rem; /* Ajuster la taille du titre */
  font-weight: bold;
}

.entry-meta {
  font-size: 1rem; /* Ajuster la taille des métadonnées */
}

.article-content {
  font-size: 1.1rem; /* Ajuster la taille du texte de l'article */
  line-height: 1.6; /* Améliorer l'interligne pour une meilleure lisibilité */
}

.card {
  transition: transform 0.3s ease-in-out;
  &:hover {
    transform: scale(1.03);
  }
}

.card:hover {
  transform: translateY(-5px); /* Lève la carte vers le haut */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Ajoute une ombre portée */
}

.blog-content-display {
  margin-left: 100px; /* Marge en haut de la section */
}

.card-body a {
  text-decoration: none; /* Supprime le soulignement */
}

.link-article a {
  color: #032b35 !important; /* Couleur du lien */
  font-weight: bold; /* Gras pour le lien */
}

.btn-custom-blog {
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
  padding: 10px 20px;
  font-size: 1rem;
}

/*--------------------------------------------------------------
# PDF
--------------------------------------------------------------*/
.pdf-download-container {
  margin-top: 40px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.pdf-download-container h4 {
  font-size: 1.5rem;
  color: #032b35;
  margin-bottom: 20px;
}

.btn-pdf {
  display: inline-block;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: bold;
  color: #ffffff;
  background-color: #032b35;
  border: 2px solid #032b35;
  border-radius: 25px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.btn-pdf:hover {
  background-color: #085669;
  transform: translateY(-3px);
}

/*--------------------------------------------------------------
# Login
--------------------------------------------------------------*/
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(135deg, #74ebd5, #acb6e5);
}

.login-box {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
  text-align: center;
  transition: all 0.3s ease;
}

.login-logo {
  width: 80px;
  margin-bottom: 1rem;
}

.login-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.login-subtitle {
  font-size: 1rem;
  color: #888;
  margin-bottom: 2rem;
}

.form-control {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.btn-primary {
  background-color: #032b35;
  color: #fff;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #085669;
}

.form-check label {
  font-size: 0.9rem;
  color: #333;
}

.login-video {
  width: 100%;
  max-width: 150px; /* Ajuste selon ton besoin */
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 15px; /* Facultatif pour un look plus doux */
  object-fit: cover;
}

/*--------------------------------------------------------------
# MENTIONS LÉGALES
--------------------------------------------------------------*/
/* Container général */
.legalies-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.legalies-container a {
  color: #000 !important;
  text-decoration: none;
}

.legal-page a {
  color: black !important;
  text-decoration: none;
}

/* Sommaire */
.sommaire-list {
  list-style-type: none;
  padding: 15px;
  border: 2px solid #2c3e50;
  border-radius: 8px;
  background-color: #f4f4f4;
}

.sommaire-list li {
  margin-bottom: 1rem;
}

.sommaire-list a {
  text-decoration: none;
  color: #032b35f4;
  font-weight: bold;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 10px;
}

.sommaire-list a:hover {
  text-decoration: underline;
  color: #085669;
}

/* Sections de la politique */
.policy-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
}

.policy-section h2 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 1rem;
  font-weight: bold;
}

.policy-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1.5rem;
}

/* Style pour les liens dans les sections */
.policy-section a {
  color: #007bff;
  text-decoration: none;
}

.policy-section a:hover {
  text-decoration: underline;
}

/* Card design pour chaque section */
.policy-section ul {
  list-style-type: none;
  padding-left: 1.5rem;
}

.policy-section ul li {
  margin-bottom: 0.8rem;
}

.policy-section .card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.policy-section .card h3 {
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1rem;
}

.policy-section .card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Pagination ou autres sections */
.pagination {
  display: flex;
  justify-content: center;
  list-style: none;
  margin-top: 3rem;
}

.pagination a {
  text-decoration: none;
  padding: 0.5rem 1rem;
  margin: 0 5px;
  border: 1px solid #032b35;
  border-radius: 5px;
  color: #007bff;
  font-weight: bold;
}

.pagination a:hover {
  background-color: #085669;
  color: white;
}

/* Liens dans les sections */
.policy-section a {
  color: #032b35f4;
  text-decoration: none;
}

.policy-section a:hover {
  text-decoration: underline;
  color: #085669;
}

/* Pour les liens dans les cartes */
.policy-section .card a {
  color: #032b35f4;
}

.policy-section .card a:hover {
  color: #085669;
}

/*--------------------------------------------------------------
  # Fade-in
  --------------------------------------------------------------*/
[class*="reveal"] {
  opacity: 0;
  transform: translateY(-30px);
  transition: 0.5s;
}
.reveal-visible {
  opacity: 1;
  transform: translateY(0);
  transition: 1s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-2 {
  transition-delay: 0.1s;
}
.reveal-3 {
  transition-delay: 0.2s;
}

/*--------------------------------------------------------------
/* Bannière Cookie Consent */
--------------------------------------------------------------*/
  #tarteaucitronAlertBig {
  transform: scale(0.9);
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
