@import url("theme-variables.css");

body {
   margin: 0;
   overflow-x: hidden;
   background: var(--cbf-fond-accueil);
   background-attachment: fixed;
}

/*Annimation*/

@keyframes appear2 {
   from { opacity: 0; scale: 0.5; }
   to   { opacity: 1; scale: 1;   }
}
.block2 {
   animation: appear2 linear;
   animation-timeline: view();
   animation-range: entry 0%;
}

/* NavBar slide-in */
@keyframes slideInTopNavBar {
   from { opacity: 0; transform: translateY(-150px); }
   to   { opacity: 1; transform: translateY(0); }
}
.Top_annim_NavBar  { animation: slideInTopNavBar 1.0s ease-out forwards; }
.Top_annim_NavBar1 { animation: slideInTopNavBar 1.5s ease-out forwards; }
.Top_annim_NavBar2 { animation: slideInTopNavBar 2.0s ease-out forwards; }
.Top_annim_NavBar3 { animation: slideInTopNavBar 2.5s ease-out forwards; }

/* Hero slide-in */
@keyframes slideInTop {
   from { opacity: 0; transform: translateY(-150px); }
   to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInBottom {
   from { opacity: 0; transform: translateY(150px); }
   to   { opacity: 1; transform: translateY(0); }
}
.Top_annim    { animation: slideInTop    1s ease-out forwards; }
.Bottom_annim { animation: slideInBottom 1s ease-out forwards; }

/* Droite */
@keyframes slideInRight {
   from { opacity: 0; transform: translateX(400px); }
   to   { opacity: 1; transform: translateX(0); }
}
.right_service  { animation: slideInRight 1.5s ease-out forwards; }
.right_service1 { animation: slideInRight 2.0s ease-out forwards; }
.right_service2 { animation: slideInRight 2.5s ease-out forwards; }


/* Nav Bar*/

.fond_header { width: 100%; }

.position_header {
   height: 150px;
   display: flex;
   align-items: center;
   padding: 0 40px;
   z-index: 1;
}

.box_tete {
   position: fixed;
   bottom: 200;
   left: 0;
   right: 0;
   height: 150px;
   background-color: transparent;
   display: flex;
   align-items: center;
   padding: 0 40px;
   z-index: 10;
   transition: background 0.4s ease, box-shadow 0.4s ease;
   /* Liseré doré en bas — signature visuelle */
   border-bottom: 1px solid transparent;
}

.box_tete.header-scrolled {
   backdrop-filter: blur(12px);
   -webkit-backdrop-filter: blur(12px);
   background: rgba(11,11,15,0.85);
   border-bottom-color: var(--cbf-violet-sombre);
   box-shadow: 0 2px 32px rgba(0,0,0,0.55);
}

.position_logo { position: absolute; z-index: 1; }
.image_logo    { height: 80px; }

.center_header {
   display: flex;
   justify-content: center;
   margin: auto;
   align-items: center;
   gap: 40px;
}

.texte_head {
   text-decoration: none;
   font-size: 22px;
   font-family: "Baloo 2", sans-serif;
   font-weight: 700;
   color: var(--cbf-texte-nav);
   position: relative;
   display: inline-block;
   padding-bottom: 6px;
   letter-spacing: 0.03em;
   transition: color 0.3s ease;
}
.texte_head:hover { color: var(--cbf-violet-vif); }

.texte_head::after {
   content: "";
   position: absolute;
   left: 0; bottom: 0;
   width: 100%; height: 2px;
   background: linear-gradient(90deg, var(--cbf-turcoise), var(--cbf-violet-vif));
   transform: scaleX(0);
   transform-origin: left;
   transition: transform 0.45s ease;
   border-radius: 1px;
}
.texte_head:hover::after,
.texte_head:focus-visible::after,
.texte_head.page_actuel::after { transform: scaleX(1); }
.texte_head.page_actuel { color: var(--cbf-turcoise); }

.menu-hamburger {
   display: none;
   position: absolute;
   right: 35px;
   width: 80px;
}

/*bloc 1 */

.bloc_entete {
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 0 10% 0 12%;
   position: relative;
   /* Ligne diagonale décorative */
}

/* Séparateur vertical doré entre gauche et droite */
.bloc_entete::after {
   content: '';
   position: absolute;
   left: 50%;
   top: 20%;
   height: 60%;
   width: 1px;
   background: linear-gradient(to bottom,
      transparent 0%,
      rgba(47,211,195,0.35) 30%,
      rgba(47,211,195,0.5) 50%,
      rgba(47,211,195,0.35) 70%,
      transparent 100%
   );
   pointer-events: none;
}

.dimention { height: 40vh; min-height: 700px; }

/* Logo CBF */
.titre_accroche {
   font-size: clamp(120px, 14vw, 200px);
   font-family: "Rubik", sans-serif;
   font-weight: 700;
   line-height: 0.9;
   letter-spacing: -4px;
   display: block;
   margin-bottom: 8px;
}

/* C doré vif, B contour moyen, F quasi invisible */
.c_couleur { color: var(--cbf-turcoise); }
.b_couleur {
   color: transparent;
   color: var(--cbf-violet-vif);
}
.f_couleur {
   color: transparent;
   color: var(--cbf-violet-sombre);
}

/* Ligne déco sous le CBF */
.Top_annim::after {
   content: '';
   display: block;
   width: 430px;
   height: 2px;
   background: linear-gradient(90deg, var(--cbf-turcoise), transparent);
   margin-top: 16px;
   margin-bottom: 30px;
   border-radius: 2px;
}

.texte_accroche {
   font-weight: 500;
   font-size: 22px;
   font-family: "Baloo 2", sans-serif;
   color: var(--cbf-texte-accent);
   max-width: 420px;
   margin-top: 20px;
}

/* Partie droite — Application / Web / Design */
.entete_right   { display: flex; text-align: right; }
.texte_entete   { font-family: "Baloo 2", sans-serif; font-weight: 800; display: flex; flex-direction: column; gap: 4px; }
.police_entete  { font-size: clamp(36px, 4.5vw, 62px);}

.application_couleur {
   color: var(--cbf-turcoise);
   text-shadow: 0 0 40px rgba(139,124,246,0.4);
}
.web_couleur {
   color: var(--cbf-violet-vif);
   text-shadow: 0 0 40px rgba(139,124,246,0.4);
}
.design_couleur {
   color: var(--cbf-violet-sombre);
}

/* BLOC 2  */

.bloc2 { height: 1100px; width: 100%; }

.top-bloc2 {
   height: 320px;
   display: flex;
   justify-content: center;
   align-items: center;
   padding: 0 40px;
}

.police_titre_b2 {
   font-size: 60px;
   font-family: "Baloo 2", sans-serif;
   font-weight: 700;
   /* Titre en dégradé or */
   background: linear-gradient(135deg, var(--cbf-violet-vif) 0%, var(--cbf-turcoise) 60%, var(--cbf-violet-sombre) 100%);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
}


.bloc2_position {
   display: flex;
   flex-direction: row;
   align-items: center;
   justify-content: space-around;
   position: relative;
}

.bloc2_center {
   backdrop-filter: blur(8px);
   -webkit-backdrop-filter: blur(8px);
   background: var(--cbf-glass-bg-strong);
   border: 1px solid var(--cbf-glass-border);
   border-radius: 28px;
   padding: 30px;
   font-weight: 700;
   font-family: "Baloo 2", sans-serif;
   color: var(--cbf-blanc);
   /* Liseré gauche doré — élément signature */
   box-shadow:
      inset 2px 0 0 var(--cbf-turcoise),
      inset 0 2px 4px var(--cbf-glass-inset-light),
      inset 0 -2px 4px var(--cbf-glass-inset-dark),
      var(--cbf-glass-shadow);
   position: relative;
   overflow: hidden;
}


.bloc2_center::before {
   content: "";
   position: absolute;
   inset: 0;
   border-radius: inherit;
   pointer-events: none;
   background: linear-gradient(
      145deg,
      rgba(47,211,195,0.06) 0%,
      transparent 40%,
      rgba(0,0,0,0.15) 100%
   );
}

.transition_bloc2 { transition: transform 0.5s ease, box-shadow 0.5s ease; }
.transition_bloc2:hover {
   transform: translateY(-8px) scale(1.02);
   box-shadow:
      inset 2px 0 0 var(--cbf-violet-vif),
      0 0 32px var(--cbf-or-glow),
      var(--cbf-glass-shadow);
}

.nom_placement_b2 {
   margin-top: 5px;
   display: flex;
   justify-content: center;
   text-align: center;
   align-items: center;
}
.police_nom_b2 {
   background: linear-gradient(135deg, var(--cbf-violet-vif) 0%, var(--cbf-or) 60%, var(--cbf-violet-sombre) 100%);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   font-size: 30px;
   font-weight: 700;
   font-family: "Baloo 2", sans-serif;
   
}

.top_b2 {
   display: flex;
   justify-content: center;
   align-items: center;
}
.img_service { height: 300px; }

.disposition_bottom_b2 { display: flex; position: relative; }


.bouton_service {
   background: transparent;
   border: 1px solid var(--cbf-turcoise);
   font-size: 20px;
   padding: 13px 28px;
   border-radius: 50px;
   font-weight: 700;
   font-family: "Baloo 2", sans-serif;
   color: var(--cbf-turcoise);
   text-decoration: none;
   letter-spacing: 0.04em;
}
.transition_bouton_service { transition: background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease; }
.transition_bouton_service:hover {
   background: var(--cbf-turcoise);
   color: var(--cbf-noir);
   box-shadow: 0 0 20px var(--cbf-or-glow-fort);
}

.bottom-bloc2 {
   height: 300px;
   display: flex;
   justify-content: center;
   align-items: center;
   padding: 0 40px;
}

.bouton_bloc2 {
   background: linear-gradient(135deg, var(--cbf-turcoise) 0%, var(--cbf-violet-vif) 100%);
   font-size: 28px;
   padding: 18px 42px;
   border-radius: 50px;
   font-weight: 700;
   font-family: "Baloo 2", sans-serif;
   color: var(--cbf-noir);
   text-decoration: none;
   letter-spacing: 0.03em;
   box-shadow: 0 4px 24px var(--cbf-or-glow-fort);
}
.transition_bouton_bloc2 { transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease; }
.transition_bouton_bloc2:hover {
   transform: translateY(-3px) scale(1.03);
   box-shadow: 0 8px 36px rgba(47,211,195,0.50);
   filter: brightness(1.1);
}

/* BLOC 3 */

.bloc3 {
   width: 100%;
   padding: 60px 0 80px;
   box-sizing: border-box;
}

.top-bloc3 {
   display: flex;
   justify-content: center;
   padding: 40px 40px 20px;
}
.responsive_titre_b3 { text-align: center; }

.police_titre_b3 {
   font-size: 60px;
   font-family: "Baloo 2", sans-serif;
   font-weight: 700;
   background: linear-gradient(135deg, var(--cbf-violet-vif) 0%, var(--cbf-turcoise) 60%, var(--cbf-violet-sombre) 100%);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
}


.carousel-clients {
   position: relative;
   width: 100%;
   max-width: 1120px;
   margin: 0 auto;
   padding: 0 24px;
   box-sizing: border-box;
}

.carousel-stage {
   position: relative;
   padding: 0 64px;
}

.carousel-viewport {
   position: relative;
   overflow: hidden;
   border-radius: 32px;
   min-height: 580px;
   border: 1px solid var(--cbf-glass-border);
   box-shadow:
      0 8px 40px rgba(0,0,0,0.45),
      inset 0 1px 0 rgba(47,211,195,0.08);
   background: var(--cbf-noir-soft);
}

.carousel-slide {
   position: absolute;
   inset: 0;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 32px 24px;
   box-sizing: border-box;
   transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s ease;
   opacity: 0;
   visibility: hidden;
   pointer-events: none;
   transform: scale(0.96);
}
.carousel-slide.is-active {
   opacity: 1;
   visibility: visible;
   pointer-events: auto;
   transform: scale(1);
}

.carousel-slide-bg {
   position: absolute;
   inset: 0;
   z-index: 0;
}

.carousel-slide--ap .carousel-slide-bg {
   background:
      linear-gradient(200deg, rgba(11,11,15,0.55) 0%, rgba(11,11,15,0.82) 100%),
      url(../image/fond/fond_client/aperturephotos.png) center / cover no-repeat;
}

.carousel-slide--ab .carousel-slide-bg {
   background:
      linear-gradient(160deg, rgba(11,11,15,0.55) 0%, rgba(11,11,15,0.82) 100%),
      url(../image/fond/fond_client/ABNettoyage.png) center / cover no-repeat;
}

.carousel-glass-card {
   position: relative;
   z-index: 1;
   width: min(100%, 620px);
   backdrop-filter: blur(14px);
   -webkit-backdrop-filter: blur(14px);
   background: rgba(17,17,25,0.72);
   border: 1px solid var(--cbf-glass-border);
   border-radius: 24px;
   padding: 52px 56px;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 22px;
   box-shadow:
      inset 0 1px 0 rgba(47,211,195,0.12),
      0 12px 36px rgba(0,0,0,0.40);
}

.carousel-badge {
   font-family: "Baloo 2", sans-serif;
   font-size: 14px;
   font-weight: 700;
   letter-spacing: 0.08em;
   text-transform: uppercase;
   color: var(--cbf-noir);
   background: linear-gradient(135deg, var(--cbf-turcoise) 0%, var(--cbf-violet-vif) 100%);
   padding: 7px 16px;
   border-radius: 50px;
}
.carousel-badge--wip {
   color: var(--cbf-creme);
   background: rgba(47,211,195,0.12);
   border: 1px solid var(--cbf-glass-border);
}

.carousel-client-title {
   font-family: "Baloo 2", sans-serif;
   font-weight: 700;
   font-size: 44px;
   margin: 0;
   text-align: center;
   background: linear-gradient(135deg, var(--cbf-turcoise) 0%, var(--cbf-violet-vif) 100%);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
   letter-spacing: 0.02em;
}

.carousel-client-meta {
   font-family: "Baloo 2", sans-serif;
   font-weight: 400;
   font-size: 25px;
   margin: 0;
   color: var(--cbf-texte-accent);
   text-align: center;
}


.carousel-cta,
.bouton_bloc_AB,
.bouton_bloc_AP {
   font-family: "Baloo 2", sans-serif;
   font-weight: 700;
   font-size: 25px;
   padding: 16px 42px;
   border-radius: 50px;
   text-decoration: none;
   transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
   letter-spacing: 0.03em;
}
.bouton_bloc_AB,
.bouton_bloc_AP,
.carousel-slide--ab .carousel-cta,
.carousel-slide--ap .carousel-cta {
   background: transparent;
   color: var(--cbf-creme);
   border: 1.5px solid var(--cbf-turcoise);
   box-shadow: none;
}
.bouton_bloc_AB:hover,
.bouton_bloc_AP:hover,
.carousel-slide--ab .carousel-cta:hover,
.carousel-slide--ap .carousel-cta:hover {
   background: linear-gradient(135deg, var(--cbf-turcoise) 0%, var(--cbf-violet-vif) 100%);
   color: var(--cbf-noir);
   border-color: transparent;
   transform: translateY(-3px);
   box-shadow: 0 8px 28px rgba(47,211,195,0.45);
}


.carousel-nav {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   width: 54px;
   height: 54px;
   border-radius: 50%;
   background: rgba(17,17,25,0.85);
   border: 1px solid var(--cbf-glass-border);
   color: var(--cbf-turcoise);
   font-size: 20px;
   line-height: 1;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   z-index: 5;
   transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
}
.carousel-nav:hover {
   background: var(--cbf-turcoise);
   color: var(--cbf-noir);
   border-color: transparent;
   transform: translateY(-50%) scale(1.08);
}
.carousel-nav--prev { left: 0; }
.carousel-nav--next { right: 0; }


.carousel-dots {
   display: flex;
   justify-content: center;
   gap: 8px;
   margin-top: 22px;
}
.carousel-dot {
   width: 8px;
   height: 8px;
   border-radius: 50%;
   background: var(--cbf-gris-clair);
   border: none;
   cursor: pointer;
   padding: 0;
   transition: background 0.3s ease, transform 0.3s ease, width 0.3s ease;
}
.carousel-dot.is-active {
   background: var(--cbf-turcoise);
   width: 28px;
   border-radius: 4px;
   transform: none;
}

/* FOOTER */

.footer {
   display: flex;
   flex-direction: row;
   justify-content: space-around;
   align-items: center;
   height: 150px;
   background: var(--cbf-footer-bg);
   backdrop-filter: blur(12px);
   -webkit-backdrop-filter: blur(12px);
   border-top: 1px solid var(--cbf-violet-sombre);
   box-shadow: 0 -4px 30px rgba(0,0,0,0.45);
}

.texte_footer {
   font-weight: 700;
   font-size: 22px;
   font-family: "Baloo 2", sans-serif;
   text-decoration: none;
   color: var(--cbf-turcoise);
   letter-spacing: 0.02em;
   transition: color 0.3s ease;
}
.texte_footer:hover { color: var(--cbf-violet-vif); }

/* RESPONSIVE */

@media (max-width: 1450px) and (min-width: 1350px) {
   .bloc2       { height: 1000px; }
   .police_titre_b2 { font-size: 50px; }
   .police_nom_b2   { font-size: 25px; }
   .img_service     { height: 250px; }
   .bouton_service  { font-size: 18px; }
   .bouton_bloc2    { font-size: 25px; }
}

@media (max-width: 1350px) and (min-width: 1220px) {
   .bloc2       { height: 1000px; }
   .police_titre_b2 { font-size: 50px; }
   .police_nom_b2   { font-size: 25px; }
   .img_service     { height: 220px; }
   .bouton_service  { font-size: 18px; }
   .bouton_bloc2    { font-size: 25px; }
}

@media (max-width: 1220px) and (min-width: 1070px) {
   .bloc2       { height: 1000px; }
   .police_titre_b2 { font-size: 50px; }
   .police_nom_b2   { font-size: 25px; }
   .img_service     { height: 180px; }
   .bouton_service  { font-size: 18px; }
   .bouton_bloc2    { font-size: 25px; }

}

@media (max-width: 1220px) and (min-width: 1000px) {
   .titre_accroche {font-size: clamp(120px, 14vw, 150px);}
   .Top_annim::after {width: 300px;}
   .texte_accroche {font-size: 18px;}
   .police_entete  { font-size: clamp(36px, 4.5vw, 50px);}

}

@media (max-width: 1060px) and (min-width: 970px) {
   
   .texte_footer { font-size: 20px; }
}

@media screen and (max-width: 1000px) {
   .bloc_entete::after { display: none; }
   .titre_accroche {font-size: clamp(120px, 14vw, 150px);}
   .Top_annim::after {width: 300px;}
   .texte_accroche {font-size: 18px;}
   .police_entete  { font-size: clamp(36px, 4.5vw, 50px);}
   .bloc_entete {
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      flex-direction: column;
   }
   .entete_right { text-align: center; justify-content: center; }
}

@media screen and (max-width: 800px) {
   .carousel-clients { padding: 0 16px; }
   .carousel-stage { padding: 0 48px; }
   .carousel-viewport { min-height: 520px; }

   .center_header {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100vh;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      backdrop-filter: blur(15px);
      margin-left: -100%;
      transition: all 0.5s ease;
      z-index: 1;
      gap: 25px;
   }
   .mobile-menu { margin-left: 0; }
   .texte_head  { font-size: 1.4em; }
   .menu-hamburger { display: block; z-index: 3; }
   .image_logo  { margin-left: 30%; height: 80px; }
   .box_tete    { justify-content: space-between; padding: 0; }
}

@media screen and (max-width: 970px) {
   .footer       { flex-direction: column; height: 200px; }
   .texte_footer { font-size: 20px; }
}

@media (max-width: 600px) and (min-width: 300px) {
   .police_titre_b3  { font-size: 55px; }
   .carousel-clients { padding: 0 12px; }
   .carousel-stage { padding: 0 42px; }
   .carousel-viewport { min-height: 500px; border-radius: 22px; }
   .carousel-glass-card { padding: 40px 32px; gap: 20px; }
   .carousel-client-title { font-size: 36px; }
   .carousel-client-meta  { font-size: 24px; }
   .bouton_bloc_AB,
   .bouton_bloc_AP,
   .carousel-cta  { font-size: 22px; padding: 14px 32px; }
   .carousel-nav  { width: 48px; height: 48px; font-size: 18px; }
}

@media (max-width: 1070px) and (min-width: 300px) {
   .bloc2             { height: 1800px; }
   .police_titre_b2   { font-size: 45px; }
   .bloc2_position    { flex-direction: column; }
   .bloc2_center      { margin-bottom: 20px; }
   .police_nom_b2     { font-size: 25px; }
   .img_service       { height: 250px; }
   .bouton_service    { font-size: 18px; }
   .bottom-bloc2      { height: 200px; }
   .bouton_bloc2      { font-size: 25px; }
}

@media (max-width: 500px) and (min-width: 300px) {
   .bloc2 {
      height: auto;
      padding-bottom: 80px;
   }
   .police_titre_b2 { font-size: 45px; }
   .top-bloc2 { height: auto; padding: 32px 20px 20px; }
   .bloc2_position { flex-direction: column; }
   .bloc2_center   { margin-bottom: 20px; }
   .police_nom_b2  { font-size: 25px; }
   .img_service    { height: 180px; }
   .bouton_service { font-size: 18px; }
   .bottom-bloc2 {
      height: auto;
      padding: 44px 20px 52px;
   }
   .bouton_bloc2   { font-size: 18px; }
   .bloc3 {
      padding-top: 80px;
      padding-bottom: 60px;
   }
   .top-bloc3 {
      padding: 44px 20px 24px;
   }
}

@media screen and (max-width: 600px) {
   .titre_accroche { font-size: clamp(80px, 22vw, 110px); letter-spacing: -2px; }
   .texte_accroche { font-size: 17px; }
   .police_entete  { font-size: 32px; }
}

@media screen and (max-width: 500px) {
   @keyframes slideInRight {
      from { opacity: 0; transform: translateX(400px); }
      to   { opacity: 1; transform: translateX(0); }
   }
   .right_service  { animation: none; }
   .right_service1 { animation: none; }
   .right_service2 { animation: none; }

   @keyframes slideInBottomResponvise {
      from { opacity: 0; transform: translateY(150px); }
      to   { opacity: 1; transform: translateY(0); }
   }
   .right_service_responvive   { animation: slideInBottomResponvise 1.5s ease-out forwards; }
   .right_service_responvive_1 { animation: slideInBottomResponvise 2.0s ease-out forwards; }
   .right_service_responvive_2 { animation: slideInBottomResponvise 2.5s ease-out forwards; }

   .titre_accroche { font-size: 90px; }
   .texte_accroche { font-size: 16px; }
   .police_entete  { font-size: 30px; }
}