#preloader {
  position: fixed;
  inset: 0;
  background-color: #272727;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

#preloader.slide-up {
  transform: translateY(-100%);
}


.preloader-container {
  text-align: center;
  transform: translateY(30vh);
  animation: riseUp 2.5s ease-out forwards;
}

@keyframes riseUp {
  from {
    transform: translateY(30vh);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.preloader-logo {
  width: 200px;
  margin-bottom: 0px;
  animation: bounce 1.8s infinite ease-in-out;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.preloader-text {
  font-size: 20px;
  color: #925E78;
  font-weight: bold;
  margin-top: 10px;
}

/*fin preloader*/

body {
  margin: 0;
  font-family: Calibri, sans-serif;
  background-color: #F2EDEB;
  position: relative;
  z-index: 1;
}


.bord-gauche,
.bord-droite {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 200px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  pointer-events: none;
  z-index: 1;
}


@media (max-width: 900px) {
  .bord-gauche, .bord-droite {
    display: none;
  }
}

.bord-gauche {
  left: 0;
  background-image: url('img/gauche.png');
}

.bord-droite {
  right: 0;
  background-image: url('img/droite.png'); 
}
/* HEADER GLOBAL */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #F2EDEB;
  padding: 16px 200px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
}

.logo img {
  height: 75px;
}

/* Liens de navigation */
.nav-links {
  display: flex;
  gap: 75px;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  font-size: 20px;
  transition: all 0.2s ease-in-out;
}

.nav-links a.active {
  color: #FABC2A;
  font-size: 24px;
  margin-top: -3px;
  text-decoration: underline;
}

.nav-links a:hover {
  color: #FABC2A;
  transform: scale(1.2);
}

/* Réseaux sociaux */
.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a {
  color: #000;
  font-size: 22px;
  transition: transform 0.2s ease-in-out;
}

.social-icons a:hover {
  color: #F05365;
  transform: scale(1.2);
}

/* Bouton burger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #F05365;
  cursor: pointer;
  z-index: 101;
  position: absolute;
  top: 1.5rem;
  right: 2.5rem;
}

/* BREAKPOINTS RESPONSIVE */

@media (max-width: 1600px) {
  .header {
    padding: 16px 180px;
  }

  .nav-links {
    gap: 40px;
  }

  .nav-links a {
    font-size: 16px;
  }
  
    .nav-links a.active {
    color: #FABC2A;
    font-size: 18px;
    margin-top: -3px;
    }
}

@media (max-width: 1300px) {
  .header {
    padding: 16px 135px;
  }

  .logo img {
    height: 50px;
  }

  .nav-links {
    gap: 25px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .social-icons a {
    font-size: 16px;
  }
  .nav-links a.active {
    color: #FABC2A;
    font-size: 18px;
    margin-top: -3px;
    }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-links,
  .social-icons {
    display: none;
  }

.nav-links.active {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  font-size: 20px;
  color: #fff;
  animation: slideDown 0.4s ease;
}

  .nav-links.active a {
    color: #fff;
    font-size: 2.2rem;
    text-decoration: none;
  }

  .nav-links.active a:hover,
  .nav-links.active a.active {
    color: #FABC2A;
  }
  .header {
  padding: 16px 40px;

    }

}
body.menu-open .section-principale,
body.menu-open .conteneur-marquee,
body.menu-open .anim-logo.visible {
  opacity: 0 !important;
  transition: opacity 0.4s ease;
}

body .section-principale,
body .conteneur-marquee,
body .anim-logo.visible {
  opacity: 1;
  transition: opacity 0.4s ease;
}

/* Animation pour l'ouverture */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

/*fin header*/

/*footer*/

.pied-de-page {
  background-color: #F2EDEB;
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid #ccc;
  color: #000;
}

.contenu-footer {
  max-width: 1000px;
  margin: 0 auto;
}

.pied-de-page p {
  font-size: 18px;
  margin-bottom: 16px;
  color: #000;
}

.lien-contact {
  color: #F05365;
  font-weight: bold;
  transition: transform 0.2s ease-in-out;
  display: inline-block;
  text-decoration: none;
}

.lien-contact:hover {
  transform: scale(1.05);
}

.liens-footer {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.liens-footer a {
  color: #000;
  text-decoration: none;
  transition: transform color 0.2s ease-in-out;
}

.liens-footer a:hover {
  color: #F05365;
  transform: scale(1.1);
}

.reseaux-footer {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.reseaux-footer a {
  color: #000;
  font-size: 20px;
  transition: transform 0.2s ease-in-out, color 0.2s;
}

.reseaux-footer a:hover {
  color: #F05365;
  transform: scale(1.2);
}

/* Responsive Footer */

@media (max-width: 1500px) {
  .contenu-footer {
    max-width: 900px;
  }

  .liens-footer {
    gap: 20px;
  }
}

@media (max-width: 1200px) {
  .contenu-footer {
    max-width: 800px;
  }

  .pied-de-page p {
    font-size: 16px;
  }

  .liens-footer {
    gap: 16px;
    font-size: 15px;
  }

  .reseaux-footer a {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .contenu-footer {
    padding: 0 20px;
  }

  .pied-de-page {
    padding: 30px 15px;
  }

  .liens-footer {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .reseaux-footer {
    flex-direction: row;
    gap: 16px;
    margin-top: 16px;
  }

  .reseaux-footer a {
    font-size: 18px;
  }
}


/*fin footer*/
.legal-container {
  max-width: 900px;
  margin: 40px auto;
  background-color: #ffffff;
  padding: 30px 40px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Titres de section */
.legal-container h1,
.legal-container h2 {
  color: #925E78;
  margin-bottom: 20px;
  line-height: 1.2;
}

.legal-container h1 {
  font-size: 36px;
  text-align: center;
}

.legal-container h2 {
  font-size: 28px;
  border-bottom: 2px solid #FABC2A;
  padding-bottom: 8px;
  margin-top: 40px;
}

/* Paragraphes et textes */
.legal-container p {
  font-size: 18px;
  margin-bottom: 20px;
}

.legal-container a {
  color: #F05365;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.legal-container a:hover {
  color: #BD93BD;
}

/* Listes (ul/ol) */
.legal-container ul,
.legal-container ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

.legal-container ul li,
.legal-container ol li {
  font-size: 18px;
  margin-bottom: 12px;
  position: relative;
  padding-left: 24px;
}

.legal-container ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #BD93BD;
  font-size: 24px;
  line-height: 1;
  top: 0;
}

.legal-container ol li {
  list-style: decimal inside;
  padding-left: 0;
}

/* Informations de contact (format “clé : valeur”) */
.legal-contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.legal-contact-info span {
  font-weight: bold;
  color: #333;
}

.legal-contact-info span + span {
  font-weight: normal;
  color: #000;
  margin-left: 8px;
}

/* Mise en forme des blocs d’informations (ex. Propriétaire, Hébergeur, etc.) */
.legal-block {
  background-color: #F2EDEB;
  padding: 16px 20px;
  border-radius: 6px;
  margin-bottom: 24px;
  border-left: 4px solid #FABC2A;
}
/* Acceuil */
.section-principale {
  margin-top:50px;
  text-align: center;
  padding: 100px 20px 50px;
  background-color: #F2EDEB;
  z-index: 1;
}

.section-principale h1 {
  font-size: 48px;
  color: #925E78;
  margin-bottom: 20px;
}

.logo-accueil {
  height: auto;
  max-width: 20%;
  margin-bottom: -45px;
}

.slogan {
  font-size: 40px;
  margin-bottom: 45px;
}

.bouton-principal {
  display: inline-block;
  background-color: #F05365;
  color: white;
  padding: 24px 48px;
  font-size: 32px;
  text-decoration: none;
  border-radius: 6px;
  transition:transform 0.2s ease-in-out;
}


/* Carrousel */
.bandeau-logos {
  background-color: #F2EDEB;
  padding: 40px 0;
  text-align: center;
  margin-top:130px;
  
}

.titre-bandeau {
  font-size: 40px;
  color: #000;
  margin-bottom: 40px;
  
}

.conteneur-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.piste-logos {
  display: flex;
  align-items: center;
  gap: 4rem;
  white-space: nowrap;
  will-change: transform;
}

.piste-logos img {
  height: 150px;
  transition: transform 0.3s ease;
}

.piste-logos img:hover {
  transform: scale(1.1);
}

.bouton-secondaire {
  display: inline-block;
  background-color: #FABC2A;
  color: #000;
  padding: 16px 32px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  margin-top: 80px;
  transition: transform 0.2s ease-in-out;
}

.bouton-secondaire:hover {
  transform: scale(1.1);
}

/* Responsive Accueil + Carrousel */

@media (max-width: 1600px) {
  .slogan {
    font-size: 36px;
  }

  .bouton-principal {
    font-size: 28px;
    padding: 20px 40px;
  }

  .titre-bandeau {
    font-size: 36px;
  }

  .piste-logos img {
    height: 130px;
  }
   .section-principale {
    margin-top:30px;
    padding: 50px 20px 50px;
  }
}

@media (max-width: 1200px) {
  .section-principale h1 {
    font-size: 40px;
  }

  .slogan {
    font-size: 30px;
  }

  .logo-accueil {
    max-width: 28%;
  }

  .bouton-principal {
    font-size: 24px;
    padding: 18px 36px;
  }

  .titre-bandeau {
    font-size: 32px;
  }

  .piste-logos img {
    height: 110px;
  }

  .bouton-secondaire {
    margin-top: 60px;
    padding: 14px 28px;
  }
}

@media (max-width: 768px) {
  .section-principale {
    padding: 80px 15px 40px;
  }

  .section-principale h1 {
    font-size: 32px;
  }

  .slogan {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .logo-accueil {
    max-width: 60%;
    margin-bottom: -50px;
  }

  .bouton-principal {
    font-size: 20px;
    padding: 16px 30px;
  }

  .titre-bandeau {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .piste-logos img {
    height: 90px;
  }

  .bouton-secondaire {
    font-size: 16px;
    padding: 12px 24px;
    margin-top: 40px;
  }
}


/*fin acceuil*/

/*A propos*/

.section-a-propos {
  padding: 60px 200px 80px;
  background-color: #F2EDEB;
  color: #000;
  text-align: left;
  position: relative;
}

.intro-apropos {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}


.valeurs ul {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.valeurs li {
  font-size: 20px;
  margin-bottom: 16px;
  position: relative;
  padding-left: 20px;
}

.valeurs li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #BD93BD;
  font-size: 24px;
  top: 0;
}

.liste-apropos {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto 20px;
}

.liste-apropos li {
  font-size: 18px;
  margin-bottom: 12px;
  padding-left: 74px;
  position: relative;
  line-height: 1.6;
}

.liste-apropos li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #BD93BD;
  font-size: 24px;
  line-height: 1;
  padding-left: 50px;
}

/* Responsive A propos */

@media (max-width: 1500px) {
  .section-a-propos {
    padding: 60px 120px 80px;
  }

  .intro-apropos,
  .valeurs ul,
  .liste-apropos {
    max-width: 800px;
  }
}

@media (max-width: 1200px) {
  .section-a-propos {
    padding: 50px 60px;
  }

  .intro-apropos {
    font-size: 18px;
  }

  .valeurs li,
  .liste-apropos li {
    font-size: 18px;
  }

  .liste-apropos li::before {
    padding-left: 40px;
  }
}

@media (max-width: 768px) {
  .section-a-propos {
    padding: 40px 20px;
    text-align: left;
  }

  .intro-apropos,
  .valeurs ul,
  .liste-apropos {
    max-width: 100%;
  }

  .intro-apropos {
    font-size: 16px;
  }

  .valeurs li,
  .liste-apropos li {
    font-size: 16px;
    padding-left: 28px;
  }

  .valeurs li::before,
  .liste-apropos li::before {
    font-size: 20px;
    padding-left: 0;
  }
}


/* fin a props */

/*offres*/

.section-blocs {
  background-color: #F2EDEB;
  padding: 20px 70px 40px;
  text-align: center;

}

.titre-section-blocs {
  font-size: 40px;
  color: #925E78;
  margin-bottom: 20px;
}

.para-offre{
    margin-bottom:30px;   
    font-size: 20px;
}

.blocs-offres {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.ul-offres {
  display: inline-block;
  text-align: left;
  list-style-position: outside;
  margin: 0px auto;
  max-width:250px;
  padding-left: 20px; /* pour aligner proprement la puce */
}

.ul-offres li {

}


.bloc-offre {
  flex: 1 1 calc(25% - 20px);
  background-color: #fff;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.bloc-offre:hover {
  transform: translateY(-5px);
}

.icone-bloc {
  font-size: 32px;
  color: #F05365;
  margin-bottom: 16px;
}

.titre-bloc {
  font-size: 20px;
  margin-bottom: 12px;
  color: #000;
}

.bloc-offre p {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 1500px) {
  .section-blocs {
    padding: 30px 120px;
  }
    .bloc-offre {
    flex: 1 1 calc(45% - 20px);
  }

}
@media (max-width: 1200px) {
  .section-blocs {
    padding: 60px 120px;
  }

  .blocs-offres {
    gap: 30px;
  }

  .bloc-offre {
    flex: 1 1 calc(45% - 20px);
  }
}

@media (max-width: 768px) {
  .section-blocs {
    padding: 40px 20px;
  }

  .titre-section-blocs {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .bloc-offre {
    flex: 1 1 100%;
  }
}

.page-offres {
  padding: 0px 200px;
  background-color: #F2EDEB;
  color: #000;
}

.titre-offres {
  font-size: 48px;
  text-align: center;
  color: #925E78;
}


.offre {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 100px;
  gap: 60px;
}

.offre.inverse {

}

.image-offre {
  width: 45%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contenu-offre {
  width: 55%;
}

.contenu-offre h2 {
  font-size: 32px;
  color: #F05365;
  margin-bottom: 20px;
}

.contenu-offre p {
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.offre:nth-child(even) {
  flex-direction: row-reverse;
}

.bouton-offre {
  background-color: #F05365;
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  transition: all 0.2s ease-in-out;
}

.bouton-offre:hover {
  background-color: #BD93BD;
  transform: scale(1.1);
}

  .page-offres {
    position: relative;
  }
/* Responsive Offres */

@media (max-width: 1500px) {
  .page-offres {
    padding: 80px 60px;
    position: relative;
  }

  .titre-offres {
    font-size: 42px;
    margin-bottom: 60px;
  }

  .offre {
    gap: 40px;
  }
}

@media (max-width: 1200px) {
  .page-offres {
    padding: 60px 40px;
  }

  .titre-offres {
    font-size: 36px;
  }

  .contenu-offre h2 {
    font-size: 28px;
  }

  .contenu-offre p {
    font-size: 16px;
  }

  .image-offre {
    width: 50%;
  }

  .contenu-offre {
    width: 50%;
  }
}

@media (max-width: 900px) {
  .page-offres {
    padding: 40px 20px;
  }
}



/* Responsive mobile */

@media (max-width: 768px) {
  .offre,
  .offre.inverse {
    display: block;
    text-align: center;
    margin-bottom: 60px;
  }

  .image-offre {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .contenu-offre {
    width: 100%;
    padding: 0 10px;
  }
}




/* fin offre */

/*contact*/
.section-appel {
  background-color: #F2EDEB;
  padding: 40px 20px;
  text-align: center;
  color: #000;
}

.texte-appel {
  max-width: 1000px;
  margin: 0 auto -20px;
}

.texte-appel h2 {
  font-size: 52px;
  color: #925E78;
  margin-bottom: 20px;
  line-height: 1.2;
}

.texte-appel p {
  font-size: 20px;
  line-height: 1.6;
  color: #333;
}

.calendrier-appel {

  margin: 0 auto -20px;
  padding: 0 20px;
}

@media (max-width: 1500px) {
  .texte-appel h2 {
    font-size: 48px;
  }

  .texte-appel p {
    font-size: 18px;
    margin: 0 auto 0px; 
    max-width: 800px;
  }

}

@media (max-width: 1500px) {
  .texte-appel h2 {
    font-size: 42px;
  }

  .texte-appel p {
    font-size: 16px;
    margin: 0 auto 0px; 
    max-width: 700px;
  }


}

@media (max-width: 768px) {
  .texte-appel h2 {
    font-size: 36px;
  }

  .texte-appel p {
    font-size: 16px;
    margin: 0px auto 30px;
  }

  .calendrier-appel {
    padding: 0;
  }
}

/*fin calendly*/
.section-contact {
  background-color: #F2EDEB;
  padding: 0px 200px;
  color: #000;
}

.titre-contact {
  font-size: 48px;
  color: #925E78;
  text-align: center;
  margin-bottom: 60px;
}

.conteneur-contact {
  display: flex;
  gap: 60px;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 70px;
}

.formulaire-contact {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.formulaire-contact input,
.formulaire-contact textarea {
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-width: 97%;
    overflow-x: hidden;

}

.bouton-contact {
  background-color: #F05365;
  color: #fff;
  padding: 12px 24px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

.bouton-contact:hover {
  background-color: #BD93BD;
}

.infos-contact {
  flex: 1;
  min-width: 250px;
  max-width: 250px;
}

.infos-contact h2 {
  font-size: 28px;
  margin-bottom: 16px;
  color: #F05365;
}

.infos-contact p {
  font-size: 16px;
  margin-bottom: 12px;
}

.infos-contact .reseaux-footer {
  margin-top: 20px;
  display: flex;
  gap: 16px;
  justify-content:left;
}

/* Responsive Contact */

@media (max-width: 1500px) {
  .section-contact {
    padding: 80px 180px;
  }

  .titre-contact {
    font-size: 42px;
    margin-bottom: 50px;
  }

  .conteneur-contact {
    gap: 40px;
  }
}

@media (max-width: 1200px) {
  .section-contact {
    padding: 60px 300px;
  }

  .titre-contact {
    font-size: 36px;
  }

  .formulaire-contact input,
  .formulaire-contact textarea {
    font-size: 15px;
  }

  .infos-contact h2 {
    font-size: 24px;
    text-align: center;
  }

  .infos-contact p  {
    font-size: 15px;
    justify-content: center;
    text-align: center;
    
  }

  .infos-contact .reseaux-footer {
        justify-content: center;
        text-align: center;
    }
    
   .conteneur-contact {
    justify-content: center;
    }

}

@media (max-width: 900px) {
  .section-contact {
    padding: 40px 150px;
  }

  .titre-contact {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .formulaire-contact {
    gap: 12px;
  }

  .formulaire-contact input,
  .formulaire-contact textarea {
    font-size: 14px;
    padding: 10px;
  }

  .bouton-contact {
    font-size: 14px;
    padding: 10px 20px;
  }

  .infos-contact h2 {
    font-size: 20px;
    text-align: center;
  }

  .infos-contact p {
    font-size: 14px;
    text-align: center;
  }

  .infos-contact .reseaux-footer {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .section-contact {
    padding: 40px 20px;
  }
    .infos-contact .reseaux-footer {
    justify-content: center;
    text-align: center;
  }

}
/* fin contact */

/*pop up*/

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-contenu {
  background-color: #fff;
  padding: 30px 40px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  text-align: center;
  font-size: 18px;
  color: #000;
  max-width: 400px;
  animation: fadeIn 0.3s ease;
  position: relative;
}

.popup-contenu::before {
  content: "✉️";
  display: block;
  font-size: 32px;
  margin-bottom: 12px;
}

.popup-success {
  border-left: 5px solid #38c172;
}

.popup-error {
  border-left: 5px solid #e3342f;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 480px) {
  .popup-contenu {
    width: 90%;
    padding: 24px;
    font-size: 16px;
  }

  .popup-contenu::before {
    font-size: 28px;
    margin-bottom: 10px;
  }
}




/* article - listing */

.liste-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  padding: 80px 240px; /* élargi pour éviter chevauchement bande */
  background-color: #F2EDEB;
  position: relative;
}

.carte-article {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.carte-article:hover {
  transform: scale(1.02);
}

.carte-article img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.contenu-article-carte {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contenu-article-carte h2 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #F05365;
}

.date-carte {
  font-size: 14px;
  color: #999;
  margin-bottom: 15px;
}

.lien-lire {
  margin-top: auto;
  text-decoration: none;
  color: #F05365;
  font-weight: bold;
  transition: color 0.2s;
}

.lien-lire:hover {
  color: #BD93BD;
}

.carte-article-lien {
  text-decoration: none;
  color: inherit;
  display: block;
}

.carte-article-lien:hover .carte-article {
  transform: scale(1.02);
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carte-article {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 992px) {
  .liste-articles {
    padding: 60px 40px;
  }

  .page-ajout-article {
    padding: 40px 20px;
    margin: 40px 20px;
  }
}

@media (max-width: 600px) {
  .liste-articles {
    padding: 40px 20px;
    grid-template-columns: 1fr;
  }
}

.page-article {
  padding: 100px 240px;
  background-color: #F2EDEB;
  color: #000;
  font-family: Arial, sans-serif;
  position: relative;
}

.page-article h1 {
  font-size: 36px;
  color: #F05365;
  margin-bottom: 20px;
}

.date-article {
  font-size: 14px;
  color: #888;
  margin-bottom: 30px;
}

.image-article {
  max-width: 100%;
  max-height: 400px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contenu-article {
  font-size: 18px;
  line-height: 1.7;
}

.paragraphe {
  margin-bottom: 20px;
}

.paragraphe h2 {
  font-size: 24px;
  color: #F05365;
  margin-bottom: 8px;
}

.paragraphe p {
  margin-bottom: 8px;
}

.retour-blog {
  display: inline-block;
  margin-top: 50px;
  text-decoration: none;
  color: #F05365;
  font-weight: bold;
  transition: color 0.2s ease;
}

.retour-blog:hover {
  color: #BD93BD;
}

.texte-article {
  line-height: 1.6;
  margin-bottom: 1.1em;
}

.liste-article {
  padding-left: 1.5em;
  list-style-type: disc;
  margin-bottom: 1.5em;
}

.liste-article li {
  margin-left: 20px;
  margin-bottom:-5px;
}


/* Responsive */
/* Responsive : page article */

@media (max-width: 992px) {
  .page-article {
    padding: 60px 40px;
  }

  .page-article h1 {
    font-size: 30px;
  }

  .contenu-article {
    font-size: 17px;
  }

  .paragraphe h2 {
    font-size: 22px;
  }

  .retour-blog {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .page-article {
    padding: 40px 20px;
  }

  .page-article h1 {
    font-size: 26px;
  }

  .contenu-article {
    font-size: 16px;
  }

  .paragraphe h2 {
    font-size: 20px;
  }

  .retour-blog {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .page-article {
    padding: 30px 16px;
  }

  .page-article h1 {
    font-size: 22px;
  }

  .contenu-article {
    font-size: 15px;
  }

  .paragraphe h2 {
    font-size: 18px;
  }

  .retour-blog {
    font-size: 14px;
  }

  .paragraphe ul {
    padding-left: 20px;
  }

  .paragraphe li {
    font-size: 15px;
  }
}

/**/
/* ==============================
   Bloc "Partager sur" (article)
   ============================== */

.share-container {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.share-texte {
  font-size: 18px;
  font-weight: bold;
  color: #2f4f4f; /* ou la même couleur que tes titres */
}

/* Conteneur des boutons */
.share-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-left: auto; /* pousse les boutons à droite */
}

/* Bouton de partage générique */
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F9C852;   /* jaune/orangé principal */
  color: #2f4f4f;         /* texte foncé, même que le site */
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

/* Icones dans les boutons (FontAwesome) */
.share-btn i {
  font-size: 16px;
}

/* Hover effect */
.share-btn:hover {
  background: #F0B12D;   /* nuance un peu plus sombre sur hover */
  transform: translateY(-2px);
}

/* Couleurs spécifiques (optionnel si tu veux différencier les icônes) */
.share-fb i      { color: #3b5998; } /* bleu Facebook */
.share-li i      { color: #0077b5; } /* bleu LinkedIn */
.share-wa i      { color: #25D366; } /* vert WhatsApp */
.share-tw i      { color: #1DA1F2; } /* bleu Twitter */

/* Responsive : si l'écran est trop étroit, empiler */
@media (max-width: 600px) {
  .share-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .share-buttons {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
  }
}

/* Masque les éléments avant animation */
.preload-hidden {
  opacity: 0;
  pointer-events: none;
}

/* HEADER sort du haut */
.anim-header {
  transform: translateY(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.anim-header.visible {
  opacity: 1;
  transform: translateY(0);
}

/* BORDS LATERAUX depuis les côtés */
.anim-lateral {
  transition: opacity 1s ease, transform 1s ease;
}
.bord-gauche.anim-lateral {
  transform: translateX(-100px);
  opacity: 0;
}
.bord-droite.anim-lateral {
  transform: translateX(100px);
  opacity: 0;
}
.anim-lateral.visible {
  opacity: 1;
  transform: translateX(0);
}

/* LOGO central : scale + fade */
.anim-logo {
  transform: scale(0);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
}
.anim-logo.visible {
  transform: scale(1);
  opacity: 1;
}

/* SLOGAN + BOUTON : fade + slide */
.anim-main {
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}
.anim-main.visible {
  transform: translateY(0);
  opacity: 1;
}

.anim-bouton {
  opacity: 0;
  transform: scale(0);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.anim-bouton.visible {
  opacity: 1;
  transform: scale(1);
}

.bouton-principal:hover {
  transform: scale(1.1);
}

.anim-header-item {
  opacity: 0;
  transform: translateY(-40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.anim-header-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-letter span {
  display: inline-block;
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.anim-letter span.visible {
  opacity: 1;
  transform: translateY(0);
}

