/* Reset des styles de base */
* {

  padding: 0;
  box-sizing: border-box;
}

/* General Styling */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}




/* S/************************************************************ MENUS DESKTOP  *******************************************************/

/* ================================================================ Menu principal ==================================================================== */

.menu-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-weight: bold;
  font-size: 20px;
}

.menu {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: flex-end;
}

.menu a, .dropdown-toggle {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
  padding: 0px 0px;
  transition: all 0.3s ease;
}

.menu a:hover,
.dropdown-toggle:hover {
  text-decoration: none;
  background-color: #f0f0f0;
  border-radius: 5px;
}



/* ====================== Dropdown du menu ====================== */

.dropdown {
  position: relative;

}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  background-color: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  min-width: 150px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}




.dropdown-menu a {
  padding: 10px 20px;
  display: block;
  text-decoration: none;
  color: #333;
  transition: background-color 0.3s;
}

.dropdown-menu a:hover {
  background-color: #f9f9f9;
}

/* ====================== CTA (Desktop) ====================== */

.cta {
  display: flex;
  gap: 20px;
  align-items: center;
}

.schedule-call-btn,
.book-shoot-btn {
  text-decoration: none;
  align-items: center;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s;
  border: 2px solid #000;
  color: #000;
}

.schedule-call-btn:hover,
.book-shoot-btn:hover {
  text-decoration: none;
  background-color: #000;
  color: #fff;
}

/* ====================== Hamburger (affiché sur mobile/tablette) ====================== */

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  z-index: 1100;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: black;
  margin: 4px 0;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/************************************************************
 * SIDEBAR MENU / MEGA DROPDOWN
 ************************************************************/

/* ====================== Menu déroulant imbriqué ====================== */

/* Masquer les menus dropdown par défaut */
.mega-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; /* Juste en dessous de l'élément parent */
  left: 0;
  width: 245px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  margin-top: 0px;
  border-radius: 0 0 15px 15px;

}

/* Afficher le dropdown quand le parent a la classe active */
.mega-dropdown.active .dropdown-menu {
  display: block;
}

/* Styles des items du dropdown */
.mega-dropdown .dropdown-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}



.mega-dropdown .dropdown-menu ul li:hover {
  background-color: #f5f5f5;
  cursor: pointer;
}


/* ====================== Sidebar menu ====================== */

.sidebar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  background: white;
  border-radius: 4px;
  overflow: hidden;
}

.menu-item {
  border-bottom: 1px solid #eee;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  font-size: 16px;
  text-align: left;
}

.menu-button:hover {
  background-color: #f8f9fa;
}

.arrow svg {
  width: 6px;
  height: 6px;
  border-right: 2px solid #666;
  border-bottom: 2px solid #666;
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
  margin-left: 10px;
}

.menu-item.active .arrow {
  transform: rotate(180deg);
}




/* Masquer les sous-menus par défaut */
.submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease; /* Animation pour ouverture/fermeture */
}

/* Les sous-menus actifs s'affichent */
.mega-dropdown .submenu {
  padding-left: 20px; /* Optionnel : pour une hiérarchie visuelle */
}






.menu-item.active .submenu {
  max-height: 500px;
}

.submenu a {
  display: block;
  padding: 8px 20px;
  color: #666;
  text-decoration: none;
  font-size: 14px;
}

.submenu a:hover {
  background-color: #f8f9fa;
  color: #333;
}

/************************************************************
 * MENUS SUR MOBILE
 ************************************************************/

/* ====================== Ajustements pour mobile ====================== */

.mobile-menu .sidebar-menu {
  margin: 10px 0;
  box-shadow: none;
}

.mobile-menu .menu-button {
  padding: 15px 20px;
  font-size: 16px;
}

.mobile-menu .submenu a {
  padding: 12px 20px;
  font-size: 14px;
}

/* ====================== Mobile Menu (Overlay) ====================== */

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: white;
  padding: 60px 0 0 0;
  overflow-y: auto;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
  display: block;
  transform: translateX(0);
}

.mobile-menu-item {
  display: block;
  padding: 15px 30px;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  position: relative;
  background-color: white;
  transition: background-color 0.3s ease;
  position: relative;
}

.mobile-menu-item:hover {
  background-color: #f9f9f9;
}

/* ====================== Mobile Dropdown ====================== */




.dropdown-toggle.active::after {
  content: '';

  top: 23px;
  transform: rotate(223deg);
}



.mobile-menu .dropdown-toggle {
  position: relative;
  cursor: pointer;
}

.arrow-icon {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #666;
  transition: transform 0.3s ease;
}

.dropdown-toggle.active .arrow-icon {
  transform: translateY(-50%) rotate(90deg);
}

/* ====================== Mobile Sous-menus ====================== */

.mobile-submenu {
  display: none;
  background-color: #f9f9f9;
  margin-top: 15px;
  padding: 0;
}

.mobile-submenu.active {
  display: block;
}

.mobile-submenu .mobile-menu-item {
  padding-left: 45px;
  font-size: 15px;
  background-color: #f9f9f9;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-submenu .mobile-submenu .mobile-menu-item {
 
  background-color: #f5f5f5;
}

.mobile-submenu .mobile-menu-item.has-children::after {
  content: '›';
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #666;
}

/* ====================== Mobile Close Button ====================== */

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  z-index: 1002;
  color: #333;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
}



/************************************************************
 * MEDIA QUERIES
 ************************************************************/



/* ====================== Pour les tablettes et moins ====================== */
@media screen and (max-width: 1234px) {
  .menu {
    display: none; /* Cache le menu normal */
  }

  .hamburger {
    display: flex !important; /* Force l'affichage du burger */
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 100px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    width: 100%;
    height: 100vh;
    background-color: white;
  }

  .mobile-menu.active {
    transform: translateX(0);
  }

  .menu-container {
    position: relative;
    z-index: 1001;
    background-color: white;
    justify-content: space-between;
    padding: 15px 50px;
  }

  .cta {
    display: none;
  }
}

/* ====================== Ajustements spécifiques pour mobile ====================== */
@media screen and (max-width: 768px) {
  .menu-container {
    padding: 15px 20px; /* Padding plus petit sur mobile */
  }

  .mobile-menu {
    padding-top: 60px;
  }

  .mobile-menu-item:first-child {
    border-top: 1px solid #f0f0f0;
  }

  .logo-text {
    font-size: 16px;
  }
}







/* ====================== Pour les mobiles ====================== */
@media screen and (max-width: 768px) {
  .menu {
    display: none;
  }

  .hamburger {
    display: flex;
    position: relative;
    z-index: 1001;
  }

  .mobile-menu {
  
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 100px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    width: 100%;
    height: min-content;
    background-color: white;
  }

  .mobile-menu.active {
    transform: translateX(0);
  }

  .mobile-menu-item {
    font-size: 16px;
    font-weight: 400;
  }

  .menu-container {
    position: relative;
    z-index: 1001;
    background-color: white;
    justify-content: space-between;
    padding: 15px 20px;
  }


}

@media (max-width: 768px) {
  .mobile-menu {
    padding-top: 60px;
  }

  .mobile-menu-item:first-child {
    border-top: 1px solid #f0f0f0;
  }
}












/* =================================================================================== Bouton appel sur mobile ========================================================================== */

@media screen and (min-width: 769px) {
  .mobile-only {
      display: none;
  }
}

@media screen and (max-width: 768px) {
  .desktop-only {
      display: none;
  }



  .menu-container {
      justify-content: space-between;
  }

  .logo-text {
      font-size: 15px; /* Ajustez selon vos besoins */
  }

  /* Autres styles mobiles comme précédemment définis */
}







/* ========================================================================== scroll vers le top ========================================================================================== */


.scroll-to-top {
  position: fixed;
  bottom: 100px;
  right: 0px;
  background-color: rgba(0, 0, 0, 0.3); /* Fond noir avec 30% d'opacité */
  border-radius: 10px; /* Arrondir les coins */
  width: 40px; /* Taille du carré */
  height: 40px; /* Taille du carré */
  display: none; /* Caché au départ */
  cursor: pointer;
  z-index: 1000; /* Pour rester au-dessus des autres éléments */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Ajoute une légère ombre pour l'effet */
}

.scroll-to-top:hover {
  background-color: rgba(0, 0, 0, 0.7); /* Fond un peu plus foncé au survol */
}

.arrow-up {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 12px solid white; /* La flèche vers le haut en blanc */
}





















/* ============================================================================= Hero Banner ================================================================================================= */
#hero-banner {
    height: 15%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    color: white;
}

.hero-content h1 {
    font-size: 2rem;
    color: #333;
}

.hero-content p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

.hero-content .highlight {
    color: #0077b6;
}

.btn {
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

.btn-phone {
    background-color: #28a745; /* Green for phone button */
}

.btn-phone:hover {
    background-color: #1e7e34;
}

.btn-appointment {
    background-color: #0f77ba; /* Blue for appointment button */
}

.btn-appointment:hover {
    background-color: #055f8a;
}




@media only screen and (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }
}







/* =============================================================================== Section slide ============================================================================== */
#photo-slider {
  padding: 20px 0;
  background-color: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.slider-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.photo-container {
  display: flex;
  width: 800%; /* 8 groupes de 5 photos (4 originaux + 4 répétés) */
  animation: slide 60s linear infinite;
}

.photo-item {
  width: 2.5%;
  height: 400px; /* Hauteur fixe pour PC */
  width: 400px; /* Largeur fixe pour PC */
  object-fit: cover;
  margin-right: 10px;
  border-radius: 30px;
}

@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* Déplace de 4 groupes (la moitié du conteneur) */
}


/* Pour les tablettes */
@media screen and (min-width: 769px) and (max-width: 1234px) {
  .photo-container {
    width: 1000%; /* Ajusté pour les tablettes */
  }
  
}

/* Pour les mobiles */
@media screen and (max-width: 768px) {
  .photo-container {
    width: 3000%; /* Ajusté pour les écrans mobiles */
  }
}

/* Pour les tablettes et mobiles */
@media screen and (max-width: 1234px) {
  .photo-item {
    height: 350px; /* Hauteur réduite pour tablette/mobile */
    width: 350px; /* Largeur réduite pour tablette/mobile */
  }
}






/* ================================================================================ Section Tarifs (PC) ============================================================================= */
#tarifs {
  display: block; /* Par défaut, visible */
}

#tarifs .pricing-section {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-start; /* Alignement en haut pour un meilleur affichage */
  flex-wrap: wrap; /* Permet aux cartes de s'adapter si nécessaire */
  margin-block: 20px;
}

#tarifs .pricing-box {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
  padding: 20px;
  width: 200px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#tarifs .pricing-header {
  font-size: 20px;
  color: white;
  padding: 10px 0;
  border-radius: 8px 8px 0 0;
}

#tarifs .pricing-price {
  font-size: 24px;
  margin: 20px 0;
  font-weight: bold;
}

#tarifs .pricing-price span {
  display: block;
  font-size: 14px;
  font-weight: normal;
  color: #555;
}

/* ========== Section CTA Mobile (par défaut masquée) ========== */
#tarifs-mobile {
  display: none; /* Cachée sur les grands écrans */
}

/* ========== Styles du CTA Mobile ========== */
.cta-section {
  background-color: #ffd60a; /* Couleur de fond semblable �� l'image fournie */
  padding: 10px;
  text-align: center;
  border-radius: 15px;
  margin-left: 15px;
  margin-right: 15px;
  margin-bottom: 25px;

}

.cta-section h2 {
  font-size: 1.2em;
  font-weight: bold;
  color: #000; /* Couleur de texte noir */
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;
  padding: 15px 25px;
  background-color: black;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  position: relative;
}




.cta-button:hover {
  background-color: #333;
  transform: scale(1.05);
}

/* ========== Mobile Styles ========== */
@media (max-width: 768px) {
  #tarifs {
      display: none; /* Cache la section tarifs sur les petits écrans */
  }

  #tarifs-mobile {
      display: block; /* Affiche la section CTA sur les petits écrans */
  }
}






/* ========== Style Global pour chaque Block ========== */

.section-container {
  margin-bottom: 40px; /* Espace entre les blocs */
}

/* ========== Paragraphe 1 / Block 1 ========== */


/* ========== Style Global pour chaque Block ========== */

.section-container {
  margin-bottom: 40px; /* Espace entre les blocs */
}




/* ====================================================================== Découvrez également =========================================================================================== */


.découvrez-également {
  display: flex;
  
  align-items: center;
  padding-left: 40px;
  padding-right: 10px;
  background-color: #fefefe;
  gap: 20px; /* Espace entre le texte et les images */
}

.content {
  width: 80%;
  text-align: left;
}

.content h4 {
  font-size: 20px;
  color: #222;
  margin-bottom: 20px;
}

.content ul {
  list-style-type: none;
  padding: 0;
  text-decoration: none;

}

.content ul li {
  font-size: 18px;
  margin-bottom: 10px;
  color: #555;
}

.content ul li:before {
  margin-right: 10px;
  color: #4CAF50;
}









/* ====================================================================== Zone d'interventions =========================================================================================== */

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
  height: auto;
}

.accordion-container {
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  overflow-x: hidden; /* Empêche le défilement horizontal */
}

.accordion {
  position: relative;
  width: 100%;
}

.accordion-label {
  display: block;
  text-align: left;
  cursor: pointer;
  font-size: 20px;
  color: #333333;
  padding: 0px 0px 20px 40px;
}

.accordion-label .arrow {
  margin-left: 5px;
  transition: transform 0.3s ease;
  color: #2478b4;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.zones-interventions {
  padding: 0px 0px 20px 40px;
  line-height: 1.8;
  color: #2478b4;
  text-align: left;
  width: 100%;
}

.zones-interventions p {
  margin: 0 0 10px 0;
  text-align: center;
}

.zones-interventions a {
  color: #555555;
  text-decoration: none;
}

.zones-interventions a:hover {
  text-decoration: underline;
  color: #555555;
}

/* Ajout d'un @media query pour correspondre au comportement responsive de la section 1 */
@media (max-width: 768px) {
  .accordion-container {
      padding: 20px; /* ajustement du padding comme dans la section 1 */
  }
}

@media (max-width: 768px) {
  .accordion-container {
    padding: 10px;
    width: 100%;
   padding-left: 20px
   padding-right: 20px
  }

  .accordion-label {
    text-align: left; /* Aligne le titre à gauche */
    padding-left: 32px; /* Supprime le padding  gauche */
    font-size: 1.2em; /* Optionnel : augmente lègèrement la taille du titre */
  }

  body {
    height: auto; /* Supprime la hauteur fixe */
    padding: 0; /* Supprime le padding */
  }

  .zones-interventions {
    padding: 0px 0px 20px 30px;;
    width: 100%;
  }
}






/*====================================================================== Section block 1 ======================================================================













/* ====================================================================== Découvrez également =========================================================================================== */

a {
  color: #333333; /* Couleur par défaut pour tous les liens */
  text-decoration: none;
}

a:hover {
  color: #000000; /* Couleur au survol */
  text-decoration: underline;
}

/* Pour les liens dans le menu principal */
.menu a {
  color: #333333;
}

/* Pour les liens dans le footer */
footer a {
  color: #444444;
}

/* Pour les liens dans le contenu principal */
.content a {
  color: #555555;
}







/* ====================================================================== Footer Styling =========================================================================================== */
.footer {
  background-color: #222;
  color: white;
  width: 100%;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* Style Desktop */
@media (min-width: 1025px) {
  .footer-content {
      display: flex;
      justify-content: space-between;
      padding: 40px 20px;
  }

  .footer-section {
      flex: 1;
      margin-right: 30px;
  }

  .footer-section:last-child {
      margin-right: 0;
  }

  .footer-header .icon {
      display: none;
  }

  .footer-body {
      display: block !important;
      height: auto !important;
  }

  .footer-header {
    display: flex;
    justify-content: space-between;
    align-items: left;
    padding: 0px 0px 15px 0px;
    cursor: pointer;
  }



}

/* Style Mobile/Tablette */
@media (max-width: 1024px) {
  .footer-section {
      border-bottom: 1px solid #333;
  }

  .footer-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 20px 15px 20px;
      cursor: pointer;
  }

  .footer-header .title {
      font-size: 15px;
      font-weight: 500;
  }

  .footer-header .icon {
      font-size: 20px;
      transition: transform 0.3s ease;
  }

  .footer-section.active .icon {
      transform: rotate(45deg);
  }

  .footer-body {
      display: none;
      padding: 0px 20px 10px 20px; /* Ajout d'un padding-top pour l'espacement */
  }

  .footer-section.active .footer-body {
      display: block;
  }
}

/* Styles communs */
.footer-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-body li {
  margin-bottom: 10px;
}

.footer-body a {
  color: #999;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-body a:hover {
  color: white;
}

.footer-body p {
  color: #999;
  margin: 0 0 10px 0;
  line-height: 1.5;
}

/* Ajout d'un espacement après le titre de l'accordéon */
.footer-section.active .footer-header {
  margin-bottom: 10px; /* Ajoute un espace entre le titre et le contenu */
}

/* ====================================================================== Logo téléphone =========================================================================================== */
#phone-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background-color: #28a745; /* Couleur verte élégante */
  border-radius: 50%;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center; /* Centre verticalement */
  justify-content: center; /* Centre horizontalement */
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 90%;
}

#phone-icon:hover {
  transform: scale(1.1); /* Effet d'agrandissement */
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}

#phone-icon svg {
  display: block;
  width: 50%; /* Taille relative du SVG par rapport au cercle */
  height: 50%; /* Taille relative du SVG par rapport au cercle */
  stroke: #fff; /* Couleur des lignes en blanc */
  vertical-align: middle; /* Correction de l'alignement */
}

#phone-icon a {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}


/* Masquer le bouton sur les PC (écrans de plus de 1024px) */
@media (min-width: 1025px) {
  #phone-icon {
    display: none;
  }
}

/* Afficher le bouton uniquement pour les tablettes et mobiles */
@media (max-width: 1024px) {
  #phone-icon {
    display: flex;
  }
}

/*---------------------------------------------------------------------- Section Block 1 : texte gauche et photo à droite ----------------------------------------------------------------------*/
.section-block-1 {
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.section-block-1 .section-container {
  display: flex;
  justify-content: center;
  padding: 40px;
}

.section-block-1 .section {
  display: flex;
  width: 100%;
  max-width: 1100px;
  align-items: stretch;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.section-block-1 .content {
  width: 50%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-block-1 .content h2 {
  font-size: 24px;
  color: #333;
}

.section-block-1 .content p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.section-block-1 .hidden-text {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.section-block-1 .hidden-text.show {
  max-height: 500px;
}

.section-block-1 .button-group {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
}

.section-block-1 .read-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1.1em;
  color: #2478b4;
  padding: 0px;
  border: none;
  background-color: transparent;
  transition: transform 0.3s ease;
}

.section-block-1 .read-more-btn:hover {
  text-decoration: underline;
}

.section-block-1 .quote-btn {
  display: inline-block;
  text-decoration: none;
  color: #212529;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 10px;
  background-color: #ffd60a;
  border: none;
  cursor: pointer;
  margin-left: auto;
  font-size: 0.95em;
}

.section-block-1 .quote-btn:hover {
  background-color: #212529;
  color: white;
}

.section-block-1 .image {
  width: 600px;  /* Largeur fixe pour PC */
  height: 600px; /* Hauteur fixe pour PC */
  display: flex;
}

.section-block-1 .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Media queries pour les petits écrans */
@media (max-width: 768px) {
  .section-block-1 .section {
  
    flex-direction: column;
    box-shadow: none;
    padding: 25px;
 
  }
  .section-block-1 .section-container {
    box-shadow: none;
    display: flex;
    justify-content: center;
    padding: 20px;
  }


  .section-block-1 .image img {
    border-radius: 10px;
    width: 100%;
    height: 100%;
   object-fit: cover;
  
  }

  .section-block-1 .content,
  .section-block-1 .image {
    width: 100%;
    border-radius: 0px;
  }

  /* Ajout de l'ordre pour réorganiser les éléments */
  .section-block-1 .image {
    order: -1; /* Place l'image en premier */
  }

  .section-block-1 .content {
    order: 2; /* Place le contenu après l'image */
    padding: 20px;
  }

  .section-block-1 .content p {
    margin-bottom: 0px;
  }

  .section-block-1 .button-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-block-1 .read-more-btn {
    order: -1;
    margin-bottom: 5px;
  }

  .section-block-1 .quote-btn {
    margin-left: 0;
    width: 100%;
    font-size: 0.95em;
  }
}

/* Section Block 2 : texte droit et photo à gauche */
.section-block-2 {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.section-block-2 .section-container {
  display: flex;
  justify-content: center;
  padding: 0 20px 0px 20px;
}

.section-block-2 .section {
  display: flex;
  width: 100%;
  max-width: 1100px;
  align-items: stretch;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.section-block-2 .content {
  width: 50%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-block-2 .content h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

.section-block-2 .content p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.section-block-2 .hidden-text {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.section-block-2 .hidden-text.show {
  max-height: 500px;
}

.section-block-2 .button-group {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 0px;
}

.section-block-2 .read-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1.1em;
  color: #2478b4;
  padding: 10px 10px 10px 0px;
  border: none;
  background-color: transparent;
  transition: transform 0.3s ease;
}

.section-block-2 .read-more-btn:hover {
  text-decoration: underline;
}

.section-block-2 .quote-btn {
  display: inline-block;
  text-decoration: none;
  color: #212529;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 10px;
  background-color: #ffd60a;
  border: none;
  cursor: pointer;
  margin-left: auto;
  font-size: 0.95em;
}

.section-block-2 .quote-btn:hover {
  background-color: #212529;
  color: white;
}

.section-block-2 .image {
  width: 50%;
  display: flex;
  height: 550px; /* Hauteur fixe pour PC */
}

.section-block-2 .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Media queries pour les tablettes et mobiles */
@media (max-width: 1024px) {
  .section-block-2 .section {
    box-shadow: none;
    border-radius: 0;
  }

  .section-block-2 .image img {
    border-radius: 10px;
  }
}

/* Media queries pour les petits écrans */
@media (max-width: 768px) {
  .section-block-2 {
    background-color: #f4f4f4;
  }

  .section-block-2 .section {
    flex-direction: column;
    box-shadow: none;
    border-radius: 0;
    background-color: #f4f4f4;
    padding:0px 25px 0px 25px;
  }

  .section-block-2 .content,
  .section-block-2 .image {
    width: 100%;
  }

  .section-block-2 .image {
    order: -1;
  }

  .section-block-2 .image img {
    border-radius: 10px;
  }

  .section-block-2 .content {
    order: 2;
    padding: 20px 20px 0px 20px;
  }

  .section-block-2 .content p {
    margin-bottom: 0px;
  }

  .section-block-2 .button-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-block-2 .read-more-btn {
    order: -1;
    margin-bottom: 5px;
  }

  .section-block-2 .quote-btn {
    margin-left: 0;
    width: 100%;
    font-size: 0.95em;
  }

  .section-block-2 .section-container {
    padding: 0 20px 0px 20px;
  }
}


/* ------------------------------------------------------Texte défilable --------------------------------------------------------------------------------------------*/

.section-block-1 .hidden-text,
.section-block-2 .hidden-text {
  max-height: 0; /* Caché par défaut */
  overflow-y: hidden; /* Empêche le défilement tant qu'il n'est pas ouvert */
  transition: max-height 0.5s ease-out; /* Ajoute une animation fluide */
}

.section-block-1 .hidden-text.show,
.section-block-2 .hidden-text.show {
  max-height: 500px; /* Affiche avec une limite de hauteur */
  overflow-y: auto; /* Ajoute une barre de défilement */
}

.section-block-1, 
.section-block-2 {
  width: 100%; /* S'assure que les sections ne dépassent pas la largeur de l'écran */
  box-sizing: border-box;
}




/* Appliquer les styles uniquement pour les écrans de bureau (> 768px) */
@media (min-width: 769px) {
  /* Pour section-block-1 */
  .section-block-1 .hidden-text.show + .image,
  .section-block-1 .section:has(.hidden-text.show) .image {
    align-items: center;
    height: 100%;
  }

  .section-block-1 .hidden-text.show + .image img,
  .section-block-1 .section:has(.hidden-text.show) .image img {
    border-radius: 10px;
    height: auto;
    max-height: 560px;
  }

  /* Pour section-block-2 */
  .section-block-2 .hidden-text.show + .image,
  .section-block-2 .section:has(.hidden-text.show) .image {
    align-items: center;
    height: 100%;
  }

  .section-block-2 .hidden-text.show + .image img,
  .section-block-2 .section:has(.hidden-text.show) .image img {
    border-radius: 10px;
    height: auto;
    max-height: 560px;
  }
}




@media (max-width: 768px) {
  .section-block-1 .hidden-text,
  .section-block-2 .hidden-text {
    max-height: 0; /* Caché par défaut */
    overflow-y: hidden; /* Empêche le défilement tant qu'il n'est pas ouvert */
    transition: max-height 0.5s ease-out;
  }

  .section-block-1 .hidden-text.show,
  .section-block-2 .hidden-text.show {
    max-height: 300px; /* Limitez la hauteur pour s'adapter aux écrans mobiles */
    overflow-y: auto; /* Ajoutez le défilement */
  }

  .section-block-1, 
.section-block-2 {
  width: 100%; /* S'assure que les sections ne dépassent pas la largeur de l'écran */
  box-sizing: border-box;
}

}


@media (max-width: 768px) {
  .section-block-1 .image,
  .section-block-2 .image {
    display: flex; /* Active le modèle Flexbox */
    justify-content: center; /* Centre horizontalement */
    align-items: center; /* Centre verticalement */
    height: 350px; /* Hauteur fixe */
    flex-shrink: 0; /* Empêche le conteneur de changer de taille */
  }

  .section-block-1 .image img,
  .section-block-2 .image img {
    width-max: 350px; /* Largeur fixe */
    height-max: 350px; /* Hauteur fixe */
    object-fit: cover; /* Maintient les proportions */
  }
}

@media (max-width: 768px) {
  .section-block-1 .content,
  .section-block-2 .content {
    text-align: left; /* Centre le texte en version mobile */
  }

  .section-block-1 .button-group,
  .section-block-2 .button-group {
    flex-direction: column;
    align-items: left; /* Centre les boutons */
  }

  .section-block-1 .quote-btn,
  .section-block-2 .quote-btn {
    margin: 0 auto; /* Centre le bouton quote */
    width: 80%; /* Réduit légèrement la largeur du bouton */
  }

  .section-block-1 .read-more-btn,
  .section-block-2 .read-more-btn {
    margin: 0 auto 5px auto; /* Centre le bouton read-more */
  }
}
@media (max-width: 768px) {
  .section-block-1 .content,
  .section-block-2 .content {
    text-align: left;
    padding: 20px 20px; /* Padding uniforme */
    width: auto; /* Permet au contenu de s'adapter naturellement */
  }

  .section-block-1 .section-container,
  .section-block-2 .section-container {
    padding: 0; /* Supprime le padding externe */
  }

  .section-block-1 .button-group,
  .section-block-2 .button-group {
    flex-direction: column;
    align-items: flex-start;
    margin: 15px 0; /* Ajuste la marge des boutons */
  }

  .section-block-1 .quote-btn,
  .section-block-2 .quote-btn {
    margin: 10px 0 0 0; /* Ajuste la marge du bouton quote */
    width: 100%; /* Largeur complète */
  }

  .section-block-1 .read-more-btn,
  .section-block-2 .read-more-btn {
    margin: 0; /* Réinitialise les marges */
    padding: 5px 0; /* Ajoute un peu d'espace vertical */
  }
}






/* Section: FAQ - Questions Fréquentes */
.faq-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.faq-title {
  text-align: center;
  color: #333;
  margin-bottom: 40px;
  font-size: 24px;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {

  border-radius: 8px;
  overflow: hidden;
  background:#f8f9fa;
  transition: all 0.3s ease;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background: #f8f9fa;
}

.faq-question h3 {
  margin: 0;
  font-size: 16px;
  color: #333;
  padding-right: 40px;
}

.toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.toggle-btn svg {
  width: 100%;
  height: 100%;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 500px;
  background-color: #f8f9fa;
}

.faq-item.active .toggle-btn {
  transform: rotate(180deg);
}

.faq-item:hover {
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

@media screen and (max-width: 768px) {
  .faq-title {
      font-size: 1.5em;
      margin-bottom: 30px;
  }

  .faq-question h3 {
      font-size: 0.85em;
      line-height: 1.4;
      max-width: calc(100% - 50px);
  }

  .toggle-btn {
      width: 32px;
      height: 32px;
  }

  .faq-question {
      padding: 15px;
  }

  .faq-answer {
      font-size: 0.95em;
      line-height: 1.5;
  }
} 



/* Section: Formulaire de Contact */
.contact-section {
  padding: 40px 20px;
  background-color: #f4f4f4;
}

.contact-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
}

.contact-info {
  padding: 20px;
}

.contact-info h2 {
  font-size: 1.7em;
  margin-bottom: 10px;
  color: #333;
}

.contact-info h3 {
  font-size: 1.5em;
  margin-bottom: 20px;
  color: #666;
}

.contact-info .address {
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact-info .contact-details {
  line-height: 1.8;
}

.contact-info a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #000;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 5px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-size: 0.9em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #666;
}

.submit-btn {
  width: 150px;
  padding: 15px;
  background-color: #FFD700;
  border: none;
  border-radius: 10px;
  color: #000;
  font-size: 1em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: #000;
  color: #fff;
}

/* Media Queries */
@media (max-width: 768px) {
  .contact-container {
      grid-template-columns: 1fr;
  }

  .form-row {
      grid-template-columns: 1fr;
      gap: 0;
  }

  .contact-form {
      padding: 20px;
  }

  .contact-info {
      text-align: left;
      padding:0px;
  }
}


.success-message {
  color: #28a745;
  padding: 15px;
  margin-top: 20px;
  text-align: center;
  background: #f8f9fa;
  border-radius: 4px;
}







/* Styles communs pour Block 1 et 2 */
.section-block-1 .container,
.section-block-2 .container {
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Assure un espacement égal */
}

/* Style spécifique pour le bloc 2 qui a l'ordre inversé */
.section-block-2 .container {
  flex-direction: row-reverse; /* Inverse l'ordre pour le bloc 2 */
}

/* Styles communs pour le contenu et les images */
.section-block-1 .content,
.section-block-2 .content,
.section-block-1 .image,
.section-block-2 .image {
  width: 50%;
  height: 100%;
  flex: 0 0 50%; /* Empêche la flexbox de redimensionner les éléments */
}

/* Media Query pour mobile */
@media (max-width: 768px) {
  .section-block-1 .container,
  .section-block-2 .container {
    height: auto;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 20px;
  }

  .section-block-1 .content{
    width: 100%;
    padding: 0;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 20px; /* Espace entre les éléments du contenu */
    margin-bottom: 50px; /* Ajoute de l'espace en bas du contenu */
  }

  .section-block-2 .content {
    width: 100%;
    padding: 0;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 20px; /* Espace entre les éléments du contenu */
    margin-bottom: 30px; /* Ajoute de l'espace en bas du contenu */
  }

  /* Style spécifique pour le bouton */
  .section-block-1 .cta-container,
  .section-block-2 .cta-container {
    width: 100%;
    max-width: 400px;
    padding: 0 20px;
    margin-bottom: 20px; /* Ajoute de l'espace en bas du bouton */
  }

  .section-block-1 .cta-container a,
  .section-block-2 .cta-container a {
    width: 100%;
    white-space: normal;
    word-wrap: break-word;
    display: block;
    padding: 15px 20px; /* Ajuste le padding du bouton */
  }

  .section-block-1 .image,
  .section-block-2 .image {
    width: 100%;
    height: 400px;
    max-width: 400px;
    margin: 0;
  }
}

/* Ajout d'un breakpoint pour tablette */
@media (min-width: 769px) and (max-width: 1024px) {
  .section-block-1 .container,
  .section-block-2 .container {
    padding: 0 30px;
  }

  .section-block-1 .content,
  .section-block-2 .content,
  .section-block-1 .image,
  .section-block-2 .image {
    max-width: 450px;
  }
}

/* Ajustement des espacements dans le contenu */
.section-block-1 .content,
.section-block-2 .content {
  display: flex;
  flex-direction: column;
  gap: 15px; /* Réduit l'espace entre les éléments */
}

.section-block-1 .content h2,
.section-block-2 .content h2 {
  margin: 0; /* Retire la marge par défaut des titres */
}

.section-block-1 .content p,
.section-block-2 .content p {
  margin: 0; /* Retire la marge par défaut des paragraphes */
}

.section-block-1 .content .lire-la-suite,
.section-block-2 .content .lire-la-suite {
  margin-top: 10px; /* Petit espace avant le lien */
}

@media (max-width: 768px) {
  .section-block-1 .content,
  .section-block-2 .content {
    gap: 15px; /* Maintient le même espacement sur mobile */
  }
}

/* Suppression de tous les anciens styles de flèche */
.arrow-icon,
.arrow,
.arrow svg {
  display: none !important;
}

/* Style unique pour la nouvelle flèche */
.dropdown-toggle {
  position: relative;
}

.dropdown-toggle::after {
  content: '';
  position: absolute;
  top: 47%;
  width: 6px;
  height: 6px;
  border-right: 2px solid #666;
  border-bottom: 2px solid #666;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.3s ease;
  margin-left: 8px;
}


/* Positionnement right uniquement pour tablette et mobile */
@media screen and (max-width: 1234px) {
  .dropdown-toggle::after {
    right: 0px;
  }
}

/* Animation et affichage pour le menu PC */
@media screen and (min-width: 1235px) {
  .dropdown:hover .dropdown-toggle::after {
  
  }

  .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
  }
}

/* Suppression de l'image flèche sur mobile */
@media screen and (max-width: 1234px) {
  .dropdown-toggle img {
    display: none !important;
  }
}

/* Style commun pour les boutons de menu (PC et mobile) */
.menu-button,
.menu-link {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding: 10px 20px !important;
    border: none !important;
    background: none !important;
    font-weight: 300 !important;
    cursor: pointer !important;
    text-align: left !important;
}

.menu-button::after,
.menu-link::after {
    content: '' !important;
    width: 16px !important;
    height: 16px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    opacity: 0.6 !important;
    transition: transform 0.3s !important;
}

.menu-button:hover::after,
.menu-link:hover::after {
    opacity: 1 !important;
}

/* Rotation de la flèche quand le sous-menu est ouvert (PC et mobile) */
.menu-item.active .menu-button::after,
.menu-item.active .menu-link::after {
    transform: rotate(180deg) !important;
}

/* Suppression de la rotation sur PC */
@media screen and (min-width: 1024px) {
    .menu-item.active .menu-button::after {
        opacity: 0.6 !important;
        transform: none !important;
    }
}

/* Garde la rotation uniquement sur mobile */
@media screen and (max-width: 1023px) {
    .menu-item.active .menu-link::after {
        transform: rotate(180deg) !important;
    }
}

/* Style de base pour le menu PC */
@media screen and (min-width: 1024px) {
    .menu-button::after {
        transition: none !important;
        transform: none !important;
    }
    
    .menu-item.active .menu-button::after {
        transform: none !important;
    }
}

/* Version mobile uniquement */
@media screen and (max-width: 1023px) {
    .menu-link::after {
        transition: transform 0.3s !important;
    }
    
    .menu-item.active .menu-link::after {
        transform: rotate(180deg) !important;
    }
}

.footer-bottom {
  text-align: justify;
  padding: 0px 10px 5px 10px;
  margin-top: 0px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8em;
  color: #888;
  background: #222;
}


/* compatibilité chromium */

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ajout de préfixes vendeurs pour les transformations et transitions */
.transform-prefix {
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
}

.transition-prefix {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

/* Menu principal avec compatibilité améliorée */
.menu-container {
  display: -webkit-flex;
  display: -moz-flex;
  display: flex;
  -webkit-justify-content: space-between;
  -moz-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: center;
  -moz-align-items: center;
  align-items: center;
  padding: 15px 50px;
  background-color: #fff;
  -webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  -moz-box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
}



/* Adapter la taille de police pour mobile */
@media (max-width: 768px) {
  body {
      font-size: 16px;
      line-height: 1.5;
  }
 
  .touch-target {
    margin: 8px 0;
  }
  
  
  a, button, input[type="button"], input[type="submit"] {
    min-height: 30px;
    min-width: 44px;
    padding: 8px;
    margin: 0px;
  }



}