
/********** Template CSS **********/

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;

  width: 48px;
  height: 48px;

  border-radius: 50%;
}



/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/

.btn {
    font-weight: 600;
    transition: .3s ease;
    border-radius: 5px; /* boutons normaux arrondis */
}

/* Bouton Soumission (carré) */
/* Bouton outline simple (pour les boutons normaux) */
.btn-outline-primary{
    font-size: 16px;
    font-weight: 600;
    padding: 12px 28px;
  
    color: #9BC7A5;
    background: transparent;
    border: 1px solid #9BC7A5;
  
    border-radius: 5px;     /* simple arrondi */
    box-shadow: none;        /* pas de glow */
  }
  
  
  .btn-outline-primary:hover{
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    transform: none;         /* ✅ pas d’effet */
  }
/* ✅ Bouton SOUMISSION (seul avec effet) */
.btn-soumission{
    font-size: 18px;
    font-weight: 700;
    padding: 14px 36px;
  
    color: #9BC7A5;
    background: rgba(111,143,116,0.18);
    border: 2px solid #9BC7A5;
  
    border-radius: 0; /* carré */
    box-shadow: 0 0 12px rgba(155, 199, 165, 0.35);
    transition: all 0.3s ease;
  }
  
  .btn-soumission:hover{
    background: #9BC7A5;
    color: #0f0f0f;
    transform: translateY(-2px);
  }
    

/* Hover Soumission */
.btn-outline-primary:hover {
    background: #9BC7A5;
    color: #0f0f0f;
    transform: translateY(-2px);
}

/* Boutons carrés icônes */
.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: inherit;
}

.btn-primary {
    color: var(--bs-white);
}
.eden-backtotop {
  border-radius: 99px; 
  
}
a.back-to-top.btn {
  border-radius: 50% !important;
}


/*** Navbar ***/
.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 40px 0;
    color: var(--bs-white);
    font-size: 22px;
    text-transform: uppercase;
    outline: none;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link,
    .navbar.bg-dark .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid var(--bs-light);
    }
}

@media (min-width: 992px) {
    .navbar.bg-dark .navbar-nav .nav-link {
      padding: 20px 0;
    }
  
    .navbar .nav-item .dropdown-menu {
      display: block;
      border: none;
      margin-top: 0;
      top: 120%;
      opacity: 0;
      visibility: hidden;
      transition: .5s;
      background: transparent;      /* même fond que header */
    }
  
    .navbar .nav-item:hover .dropdown-menu {
      top: 100%;
      visibility: visible;
      transition: .25s;
      opacity: 1;
    }
  }
  /* Taille normale des liens */
.main-navbar .nav-link{
  transition: font-size .25s ease;
}

/* Quand on scroll -> texte plus petit */
.main-navbar.scrolled .nav-link{
  font-size: 19px;
}
  
  /* ===== DROPDOWN ITEMS = CLONE DES NAV-LINK ===== */
  .navbar .dropdown-menu .dropdown-item {
    margin-right: 25px;
    padding: 10px 20px;   /* ⬅ diminue l’espace vertical */
  
    color: var(--bs-white);
    font-size: 17px;
    font-family: "Josefin Sans", sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    
    line-height: 1.2;     /* ⬅ rapproche les lignes */
    background: transparent;
    transition: .5s;
    background: rgba(255,255,255,0.06); 
  }
  
  
  /* Hover & actif = pareil que header */
  .navbar .dropdown-menu .dropdown-item:hover,
  .navbar .dropdown-menu .dropdown-item.active {
    color: var(--bs-primary);
    background: transparent;
  }
  
  /* Flèche du menu Pages */
  .navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
  }
  


/*** Header ***/
.carousel-caption{
    position: absolute;
    inset: 0;

    background: rgba(0,0,0,0.7);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 0;
    margin: 0;
}
.carousel-caption .title{
    margin-top: -100px;
}



.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 550px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 200px;
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-1.jpg) top center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--bs-white);
}



/*** Title ***/
.title {
    margin-bottom: 2rem;
}

.title .title-left,
.title .title-center,
.title .title-right {
    display: inline-block;
    text-transform: uppercase;
    overflow: hidden;
}

.title .title-center {
    text-align: center;
}

.title .title-right {
    text-align: right;
}

.title .title-left h5,
.title .title-center h5,
.title .title-right h5 {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
}

.title .title-left h5::after,
.title .title-center h5::before,
.title .title-center h5::after,
.title .title-right h5::before {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    top: 9px;
    border-bottom: 1px solid var(--bs-white);
}

.title .title-left h5::after,
.title .title-center h5::after {
    left: calc(100% + 15px);
}

.title .title-right h5::before,
.title .title-center h5::before {
    right: calc(100% + 15px);
}

.title .title-left h1,
.title .title-center h1,
.title .title-right h1 {
    border-bottom: 1px solid var(--bs-white);
}


/*** Service ***/
.service-item {
    position: relative;
    margin-top: 2.5rem;
    overflow: hidden;
}

.service-item .service-img {
  position: relative;
  display: flex;              /* ⬅️ remplace inline-block */
  justify-content: center;    /* centre horizontal */
  align-items: center;        /* centre vertical */
}
.service-item .service-img img {
  width: 200px;
  height: auto;
}


.service-item.service-item-left {
    border-radius: 0;
    background: linear-gradient(to right, var(--bs-secondary), var(--bs-dark));
}

.service-item.service-item-right {
    border-radius: 0;
    background: linear-gradient(to left, var(--bs-secondary), var(--bs-dark));
}


@media (max-width: 767.98px) {
    .service-item.service-item-left,
    .service-item.service-item-right {
        border-radius: 0;
        background: linear-gradient(to bottom, var(--bs-secondary), var(--bs-dark));
        text-align: center;
    }
}


/*** Team ***/
.team-item {
    position: relative;
}

.team-item .team-name {
    position: absolute;
    width: 100%;
    height: 60px;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .7);
}

.team-item .team-body {
    position: relative;
    overflow: hidden;
}

.team-item .team-body .team-before,
.team-item .team-body .team-after {
    position: absolute;
    content: "";
    width: 0;
    height: calc(100% - 60px);
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: .5s;
}

.team-item .team-body .team-after {
    left: auto;
    right: 0;
}

.team-item .team-body .team-before {
    text-align: right;
}

.team-item:hover .team-body .team-before,
.team-item:hover .team-body .team-after {
    width: 50%;
}

.team-item .team-body .team-before span,
.team-item .team-body .team-after span {
    margin: 5px;
    color: var(--bs-white);
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-body .team-before span,
.team-item:hover .team-body .team-after span {
    opacity: 1;
    transition-delay: .2s;
}
.team-item{
  box-shadow: 0 0 35px #262726;

}

/*** Testimonial ***/
.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 60px;
    height: 60px;
    margin: 0 5px;
    padding: 10px;
    background: var(--bs-dark);
    border-radius: 100px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

/* Force l’image à remplir le cercle */
.testimonial-carousel .owl-dots .owl-dot img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transform: scale(3);   /* 🔥 ZOOM */
}

/* Dot actif */
.testimonial-carousel .owl-dots .owl-dot.active img{
    opacity: 1;
}



/*** Footer ***/
@keyframes footerAnimatedBg {
	0% {
        background-position: 0 0;
    }

	100% {
        background-position: -1000px 0;
    }
}

.footer {
	background-image: url(../img/footer-bg5.png);
	background-position: 0px 0px;
    background-repeat: repeat-x;
	animation: footerAnimatedBg 15s linear infinite;
}
.logo img{
    display:block;
    width:300px;
    height:auto;
  }
  .footer-logo{
    width:300px;
    height:auto;
}
.team-item img {
    width: 100%;
    height: 350px;      /* ajuste si tu veux plus grand/petit */
    object-fit: cover; /* coupe proprement sans déformer */
}
.hero-zoom {
    animation: heroCinematic 5s ease-in-out infinite alternate;
}

@keyframes heroCinematic {
    0% {
        transform: scale(1) translate(0,0);
    }
    100% {
        transform: scale(1.12) translate(-30px, -20px);
    }
}

.accent-word{
    color: #9BC7A5;
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 
      0 0 8px rgba(155,199,165,0.6),
      0 0 16px rgba(155,199,165,0.4),
      0 0 30px rgba(155,199,165,0.2);
  }

      


/* =========================================
   BLOG PAGE – Eden3D (blanc, pro, sobre)
   Colle ça à la FIN de style.css (ça override le reste)
   ========================================= */

   .blog-section{
    background: #fffffff8;
  }
  
  /* Header */
  .blog-h2{
    color: #111;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
  }
  
  .blog-lead{
    color: #555;
    max-width: 62ch;
    line-height: 1.65;
  }
  
  /* Toolbar */
  .blog-toolbar{
    display: flex;
    gap: 12px;
    justify-content: flex-end;
  }
  
  .blog-input{
    background: #fff !important;
    border: 1px solid #d9dfd6 !important;
    color: #111 !important;
    border-radius: 10px !important;
    min-height: 46px;
  }
  
  .blog-input::placeholder{
    color: rgba(0,0,0,0.45);
  }
  
  .blog-input:focus{
    border-color: rgba(111,143,116,0.75) !important; /* vert doux */
    box-shadow: 0 0 0 4px rgba(111,143,116,0.12) !important;
  }
  
  /* Meta */
  .blog-meta{
    font-size: 13px;
    color: #777;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 10px;
  }
  
  /* Tag */
  .blog-tag{
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(111,143,116,0.28);
    background: rgba(111,143,116,0.06);
    color: #6f8f74;
    font-weight: 700;
    font-size: 12px;
  }
  
  /* =========================================
     ARTICLE VEDETTE (clean, pas gaming)
     ========================================= */
  .blog-feature{
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    background: #fff;
    border: 1px solid #e7ece6;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  }
  
  .blog-feature-cover{
    display: block;
    height: 340px;
    overflow: hidden;
  }
  
  .blog-feature-cover img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform .35s ease;
  }
  
  .blog-feature:hover .blog-feature-cover img{
    transform: scale(1.05);
  }
  
  .blog-feature-content{
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .blog-feature-title{
    font-size: 24px;
    font-weight: 800;
    color: #111;
    line-height: 1.2;
    margin: 8px 0 12px;
  }
  
  .blog-text{
    color: #555;
    line-height: 1.65;
    margin-bottom: 14px;
  }
  
  /* Responsive vedette */
  @media (max-width: 991.98px){
    .blog-feature{
      grid-template-columns: 1fr;
    }
    .blog-feature-cover{
      height: 240px;
    }
    .blog-feature-title{
      font-size: 20px;
    }
  }
  .blog-feature-title,
.blog-title{
  font-family: "Josefin Sans", sans-serif;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.blog-text{
    font-family: "Work Sans", sans-serif;
    font-size: 16px;
    line-height: 1.75;
  }
  .blog-meta{
    font-family: "Work Sans", sans-serif;
    font-size: 13px;
  }
  
  
  /* =========================================
     CARTES ARTICLES (blanc, pro)
     ========================================= */
  .blog-card{
    background: #fff;
    border: 1px solid #e7ece6;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(0,0,0,0.05);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    height: 100%;
  }
  
  .blog-card:hover{
    transform: translateY(-3px);
    border-color: #d9dfd6;
    box-shadow: 0 14px 28px rgba(0,0,0,0.08);
  }
  
  .blog-cover{
    display: block;
    height: 210px;
    overflow: hidden;
  }
  
  .blog-cover img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform .35s ease;
  }
  
  .blog-card:hover .blog-cover img{
    transform: scale(1.05);
  }
  
  .blog-content{
    padding: 16px 16px 18px;
  }
  
  .blog-title{
    font-size: 18px;
    line-height: 1.25;
    color: #111;
    margin-bottom: 10px;
    font-weight: 800;
  }
  
  /* CTA sobre */
  .blog-cta{
    color: #6f8f74;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(111,143,116,0.25);
    padding-bottom: 2px;
  }
  
  .blog-cta:hover{
    color: #111;
    border-bottom-color: rgba(0,0,0,0.25);
  }
  
  /* =========================================
     PAGINATION (blanc, clean)
     ========================================= */
  .blog-pagination{
    gap: 8px;
  }
  
  .blog-pagination .page-link{
    background: #ffffff;
    border: 1px solid #d9dfd6;
    color: #333;
    border-radius: 8px;
    padding: 8px 14px;
    font-weight: 500;
    transition: background .2s ease, border-color .2s ease;
  }
  
  .blog-pagination .page-link:hover{
    background: #f6f7f4;
    border-color: #bfc7bd;
    color: #111;
  }
  
  .blog-pagination .page-item.active .page-link{
    background: #ffffff;
    border-color: #6f8f74;
    color: #6f8f74;
    font-weight: 700;
  }
  
  .blog-pagination .page-item.disabled .page-link{
    opacity: 0.45;
    pointer-events: none;
  }
  /* ===== Title  — override pour section BLOG (fond blanc) ===== */
.blog-section .title .title-left h5::after,
.blog-section .title .title-center h5::before,
.blog-section .title .title-center h5::after,
.blog-section .title .title-right h5::before {
  border-bottom: 1px solid #111; /* vert EDEN */
}

.blog-section .title .title-left h1,
.blog-section .title .title-center h1,
.blog-section .title .title-right h1 {
  border-bottom: 1px solid #111; /* ligne sous le H1 */
}

.blog-section .title h1 {
  color: #111; /* texte noir */
}

.blog-section .title h5 {
  color: #111; /* petit titre vert doux */
}
/* ===== BLOG ONLY: force override ===== */
body.blog-page .page-header{
    background:
      linear-gradient(
        180deg,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.75) 60%,
        rgba(0,0,0,0.85) 100%
      ),
      radial-gradient(circle, rgba(255,255,255,0.02) 1px, transparent 1px),
      url(../img/carousel-1.jpg) top center no-repeat !important;
  
    background-size: cover, 3px 3px, cover !important;
  }

  .blog {
    position: relative;
    padding-top: 200px;
    padding-bottom: 120px;

    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
                url("../img/vert.png") center center no-repeat;

    background-size: cover;
}

/* nos partenaires logo */

.partners {
  display: flex;
  justify-content: center; /* prend toute la largeur */
  align-items: center;
  width: 100%;
  margin-top: 60px;
  gap: 40px;
}

.partners img {
  height: 160px;       /* GROS logos */
  width: auto;
  object-fit: contain;
}

/* =========================
   EDEN3D - PROMO MODAL (CLEAN)
   ========================= */

/* 1) Taille + centrage */
#promoModal .modal-dialog{
  max-width: 820px;
  margin: 1.75rem auto;
}

#promoModal .modal-content{
  border: 0;
  border-radius: 26px;
  padding: 34px 42px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}

/* 2) Header + bouton X */
#promoModal .modal-header{
  padding: 0;
  margin-bottom: 18px;
  border: 0;
}

#promoModal .modal-title{
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(0,0,0,.45);
  font-weight: 700;
}

#promoModal .btn-close{
  opacity: .45;
  transform: scale(1.15);
  transition: opacity .2s ease, transform .2s ease;
}
#promoModal .btn-close:hover{
  opacity: .9;
  transform: scale(1.2);
}

/* 3) Texte (plus premium, plus lisible) */
#promoModal .modal-body{
  padding: 0;
}

#promoModal .modal-body p{
  font-size: 18px;
  line-height: 1.55;
  color: rgba(0,0,0,.68);
  margin: 0 0 26px 0;
}

/* 4) Boutons (gros, arrondis, vibe design) */
#promoModal .modal-body .d-flex{
  gap: 14px !important;
}

#promoModal .btn{
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 16px;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

/* Bouton principal */
#promoModal .btn-primary{
  border: 0;
  background: linear-gradient(135deg, #9fd3b0, #6fb58a);
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
}



  

 /* BOUTON DECOUVRIR ACCUEIL */
 .hero-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;

  padding:14px 26px;
  font-size:14px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;

  color:#eaf3ea;
  background: rgba(111,143,116,0.18);
  border:2px #8FC7A4;
  border-radius:0px;

  text-decoration:none;
  transition:all .25s ease;
}

.hero-btn:hover{
  background: rgba(111,143,116,0.32);
  transform: translateY(-2px);
  color:#ffffff;
}

  
/* ===============================
   EDEN ABOUT – BULLETS PREMIUM
================================*/

.eden-benefits{
  display: grid;
  gap: 14px;
}

.eden-benefit-item{
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 14px 18px;
  border-radius: 2px;

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);

  font-size: 15px;
  color: #eeeaea;

  transition: transform .2s ease, box-shadow .2s ease;
}

.eden-benefit-item i{
  color: #8FC7A4;;
  font-size: 14px;
}

.eden-benefit-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.4);
}

/* ===============================
   EDEN ABOUT – TEXTE PREMIUM
================================*/

.eden-about-text{
  max-width: 800px;
}

.eden-about-tagline{
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 14px;
}

.eden-about-tagline span{
  color: #9BC7A5;
}

.eden-about-desc{
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.78);
}
/* ===============================
   BADGE CERTIFICATION ABOUT
================================*/

.bg-secondary {
  position: relative;
}

.cert-badge {
  position: absolute;
  bottom: 30px;
  right: 40px;
  width: 200px;
  opacity: 0.95;
  filter: drop-shadow(0 0 14px rgba(0,0,0,0.6));
  z-index: 5;
  transition: transform .3s ease;
}

.cert-badge:hover {
  transform: scale(1.1);
}

/* mobile */
@media (max-width: 992px) {
  .cert-badge {
    width: 85px;
    bottom: 15px;
    right: 15px;
  }
}


/*---------------- REALISATION IMAGE ---------*/
.gallery-container {
  width: 90%;
  margin: 0 auto;
}

.main-image {
  width: 80%;
  margin: 0 auto;       /* <-- CECI est la clé */
  position: relative;
  display: flex;
  justify-content: center;
}

.main-image img {
  width: 90%;
  margin: 0 auto;
  height: 730px;
  object-fit: cover;
  border-radius: 0px;
  box-shadow: 0 0 13px #707471;
}

/* Miniatures */
.thumbnails {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.thumbnails img {
  width: 90px;
  height: 70px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 0px;
  opacity: 0.6;
  transition: 0.3s;
}

.thumbnails img:hover {
  opacity: 1;
  transform: scale(1.2);
}

.thumbnails img.active {
  opacity: 1;
  border: transparent;
}

/*fleches*/
.arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 28px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: 0.2s ease;
  opacity: 0;                 /* caché par défaut */
}

.main-image:hover .arrow{
  opacity: 1;                 /* apparaît au hover */
}

.arrow:hover{
  background: transparent;
  transform: translateY(-50%) scale(1.05);
}

.arrow.left{ left: 14px; }
.arrow.right{ right: 14px; }

/* ---- maps -----*/
iframe {
  pointer-events: none;
}

/* TECHO PRO */
.techopro-img {
  max-width: 180px;   /* taille de l’image */
  width: 100%;
  display: block;

  margin-left: auto;  /* droite */
  margin-right: 0;

  margin-top: 40px;   /* descend l’image */
}


/* code ajouté pour affichage iphone */
/* =========================
   MOBILE FIX — HERO + NAV
   Colle à la FIN
========================= */

@media (max-width: 768px){

  /* NAV : enlève le padding énorme */
  .navbar .navbar-nav .nav-link{
    padding: 10px 0 !important;
    font-size: 18px !important;
  }

  /* Le hero (carousel caption) doit respirer */
  .carousel-caption{
    padding: 90px 16px 28px !important; /* espace pour le header */
  }

  /* Ton title a un margin-top négatif -> ça casse sur téléphone */
  .carousel-caption .title{
    margin-top: 0 !important;
  }

  /* H1 responsive (au lieu d’être gigantesque) */
  .carousel-caption h1{
    font-size: clamp(34px, 10vw, 56px) !important;
    line-height: 1.05 !important;
  }

  /* Texte sous le titre : largeur + taille */
  .carousel-caption p{
    font-size: 15px !important;
    line-height: 1.5 !important;
    max-width: 34ch;
    margin: 12px auto 18px !important;
  }

  /* Bouton hero : qu’il “fit” */
  .hero-btn{
    width: min(280px, 100%);
    justify-content: center;
    padding: 14px 18px !important;
  }
}

@media (max-width: 768px){
  .logo img,
  .footer-logo{
    width: min(220px, 70vw) !important;
    margin: 0 auto;
  }
}

@media (max-width: 768px){
  .partners{
    flex-wrap: wrap;      /* au lieu de forcer 1 ligne */
    gap: 18px;
    margin-top: 30px;
  }
  .partners img{
    height: 90px !important; /* sinon ça explose */
  }
}

@media (max-width: 768px){
  .cert-badge{
    width: 80px !important;
    bottom: 12px !important;
    right: 12px !important;
  }
}

@media (max-width: 768px){
  .gallery-container{ width: 100%; }

  .main-image{
    width: 100% !important;
  }

  .main-image img{
    width: 100% !important;
    height: auto !important;        /* ✅ fini le 730px */
    aspect-ratio: 4 / 3;            /* garde une belle forme */
    object-fit: cover;
  }

  .thumbnails{
    flex-wrap: wrap;
    gap: 8px;
  }

  .thumbnails img{
    width: 72px;
    height: 56px;
  }

  /* flèches visibles sans hover (car sur mobile y’a pas hover) */
  .arrow{
    opacity: 1 !important;
  }
}

@media (max-width: 768px){
  .back-to-top{
    right: 16px !important;
    bottom: 16px !important;
  }
}
/* FIX DROPDOWN BLANC (MOBILE) */
@media (max-width: 991.98px){

  /* le panneau dropdown */
  .navbar .dropdown-menu{
    background: rgba(0,0,0,0.65) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    border-radius: 14px !important;
    padding: 10px 12px !important;
    margin-top: 10px !important;
    backdrop-filter: blur(10px);
  }

  /* items */
  .navbar .dropdown-menu .dropdown-item{
    color: #fff !important;
    background: transparent !important;
    padding: 10px 12px !important;
    border-radius: 10px;
  }

  .navbar .dropdown-menu .dropdown-item:hover,
  .navbar .dropdown-menu .dropdown-item:focus{
    background: rgba(255,255,255,0.08) !important;
    color: #9BC7A5 !important;
  }
}
/* =========================
   FIX SUPERPOSITION MENU / HEADER (MOBILE)
========================= */
@media (max-width: 991.98px){

  /* 1) La navbar doit être au-dessus de tout */
  .navbar{
    position: fixed !important;
    top: 0; left: 0; right: 0;
    z-index: 9999 !important;
  }

  /* 2) Le panneau du menu mobile (collapse) doit avoir un fond */
  .navbar-collapse{
    background: rgba(0,0,0,0.85) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 18px;

    padding: 14px 16px;
    margin-top: 12px;

    max-height: calc(100svh - 90px);
    overflow-y: auto;
  }

  /* 3) Le dropdown dans le menu mobile (PAGES) */
  .navbar .dropdown-menu{
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    border-radius: 14px !important;
    padding: 10px 10px !important;
  }

  /* 4) Le header de page (BLOG ET ACTUALITÉS) doit descendre sous la navbar */
  .page-header{
    padding-top: 120px !important; /* au lieu de 200px */
  }
}
/* =========================
   QUAND LE MENU MOBILE EST OUVERT : STOP SUPERPOSITION
========================= */
@media (max-width: 991.98px){

  /* Mets le menu comme un overlay qui couvre TOUT */
  .navbar-collapse{
    position: fixed !important;
    top: calc(env(safe-area-inset-top) + 70px);
    left: 14px;
    right: 14px;
    bottom: 14px;

    background: rgba(0,0,0,0.92) !important;
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 18px;

    padding: 18px 16px;
    overflow-y: auto;
    z-index: 99999 !important;
  }

  /* Le header de page passe derrière */
  .page-header{
    position: relative;
    z-index: 1 !important;
  }

  /* Quand le menu est ouvert, on “fade” le contenu derrière */
  .navbar-collapse.show ~ *{
    opacity: 0.15;
    filter: blur(2px);
    pointer-events: none;
    transition: .15s ease;
  }
}
@media (max-width: 991.98px){
  .navbar-collapse{
    position: fixed !important;
    top: calc(env(safe-area-inset-top) + 70px);
    left: 14px;
    right: 14px;
    bottom: 14px;
    background: rgba(0,0,0,0.92) !important;
    z-index: 99999 !important;
  }
}
@media (max-width: 768px){
  .page-header h1{
    font-size: clamp(28px, 9vw, 44px) !important;
    line-height: 1.05 !important;
    word-break: break-word;
  }
}
