/*
Theme Name:   Atelier Perché
Description:  Thème enfant de Divi
Author:       Thierry Bricault
Template:     Divi
Version:      1.0.0
*/

.cuisine img {
  width: 100%;
	object-fit:cover;

}
/* zoom image BG */
.zoom-bg {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* ✅ IMAGE animée */
.zoom-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/wp-content/uploads/2026/07/Cuisine-ete-01_maintenance.jpg");
	/*/wp-content/uploads/2026/04/Cuisine-ete-01.jpg*/
	
  background-size: cover;
  background-position: center;

  z-index: 1;

  /* ✅ un peu plus rapide + fluide */
  animation: zoomKenBurns 9s ease-in-out infinite alternate;
  transform: scale(1);
  will-change: transform;
}

/* ✅ Dégradé (ta version validée 👍) */
.zoom-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;

  background: linear-gradient(
    270deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.42) 25%,
    rgba(0, 0, 0, 0.00) 70%
  );

  pointer-events: none;
}

/* ✅ Contenu au-dessus */
.zoom-bg > * {
  position: relative;
  z-index: 3;
}

/* ✅ Animation améliorée (zoom + très léger déplacement) */
@keyframes zoomKenBurns {
  from { 
    transform: scale(1) translate(0, 0);
  }
  to   { 
    transform: scale(1.05) translate(-1%, -1%);
  }
}

/* fin zoom bg */

.intro_txt p{
	margin-top:15px;
}
.couleur_texte-rose p{ 
color:red;
margin-top:-15px;
}


.rond-experience {
  width: 170px;
  height: 170px;
  background: #d76c58;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  text-align: center;
  margin: 0 auto;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.rond-experience span {
  display: block;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.rond-experience small {
  display: block;
  font-size: 18px;
  line-height: 1.2;
  margin-top: 3px;
}

@media (max-width: 767px) {
  .rond-experience {
    width: 130px;
    height: 130px;
  }

  .rond-experience span {
    font-size: 26px;
  }

  .rond-experience small {
    font-size: 15px;
  }
}
.mise_en_page_autre_presta h3, .mise_en_page_autre_presta p{
	padding-left:20px;
	padding-right:20px;
	
}

.mise_en_page_autre_presta img{
	width:100%;
	height:260px;
	object-fit:cover;
	
}

.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a {
   
    padding: 10px 0!important;
 
}

.bandeau_header_page img{
	object-fit:cover;
}
.intro_txt h4{
	margin-top:25px;
	margin-bottom:-15px;
}

.intro_txt h3{
	margin-bottom:-15px;
}


.calcul input {
	background: #374158;
	color:#ffffff;
	border-radius:50px;
}

.tiny_menu{
    background:#d26956;
    padding:8px;
    border-radius:5px;
    transition: all 0.3s ease;
}

.tiny_menu:hover{
    background:#ffffff!important;
}

/* Bouton normal */
.tiny_menu{
    background:#d26956;
    border-radius:5px;
    transition:all .3s ease;
}

.tiny_menu a{
    padding:8px 15px !important;
    line-height:1em !important;
    display:block;
}

.et_pb_sticky--top .tiny_menu a{
    padding:4px 12px !important;
}

.img_page img{
	width:670px;
	height:700px;
	object-fit:cover;
}

.rbs-img-image div[data-width][data-height] img {
  position: relative;
  overflow: hidden;
  height: 100%;
	width:100%;
	object-fit:cover;
	
}
.fond_etiquette{
		width:100%;
	}

@media (max-width: 767px) {

    .two-columns-mobile {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 15px !important;

        width: 95% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .two-columns-mobile > .et_pb_column {
        width: auto !important;
        max-width: 100% !important;
        margin: 0 !important;
        min-width: 0 !important;
    }
	.fond_etiquette{
		width:100%;
	}

}



/* Inverser les colonnes sur page d'accueil version tablette et mobile */
@media only screen and (max-width : 980px) {
  .dc_inverser_colonnes-section .dc_inverser_colonnes-ligne {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: column-reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }
	.et_pb_icon_4 {
  position: absolute !important;
  top: 24px;
  left: 10px!important;
  bottom: auto;
  right: auto;
  text-align: center;
}
	
	h3.title {
		margin-top:-10px!important;
	}
}
/* Fin du code pour inverser colonnes */


/* Inverser les colonnes sur page d'accueil version mobile pour certain cas*/
@media only screen and (max-width : 767px) {
  .dc_inverser_colonnes-section1 .dc_inverser_colonnes-ligne1 {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: column-reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }
	
	.img_page1 img{
	width:670px;
	height:700px;
	object-fit:cover;
}
	.img_portrait_mobile img{
	width:780px;
	height:450px!important;
	object-fit:cover;
		
	}
	
}
/* Fin du code pour inverser colonnes dans certaine cas */

.et_pb_menu .menu-item-has-children > a {
    display: inline-flex !important;
    align-items: center !important;
}

.et_pb_menu .menu-item-has-children > a:after {
    display: inline-block !important;
    position: static !important;
    margin-left: 6px !important;
	 margin-top: 11px !important;
    vertical-align: middle !important;
    line-height: 1 !important;
}


/* Inverser les colonnes sur page d'accueil version tablette et mobile */
@media only screen and (max-width : 980px) {
  .dc_inverser_colonnes-section .dc_inverser_colonnes-ligne {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: column-reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }
}
/* Fin du code pour inverser colonnes */

@media only screen and (max-width:980px){

    #mobile_menu1 .sub-menu{
        display:none !important;
    }

    #mobile_menu1 .menu-item-has-children:hover > .sub-menu{
        display:block !important;
    }

}

@media only screen and (max-width:980px){

    /* Flèche sur les éléments avec sous-menu */
    #mobile_menu1 .menu-item-has-children > a{
        position:relative;
        padding-right:35px !important;
    }

    #mobile_menu1 .menu-item-has-children > a:after{
        content:"+";
        position:absolute;
        right:15px;
        top:50%;
        transform:translateY(-50%);
        font-size:20px;
        font-weight:bold;
        line-height:1;
    }

    /* Au survol (ou ouverture selon ton système) */
    #mobile_menu1 .menu-item-has-children:hover > a:after{
        content:"−";
    }

}
@media only screen and (max-width:980px){

    #mobile_menu1 .menu-item-has-children > a{
        position:relative;
        padding-right:35px !important;
    }

    #mobile_menu1 .menu-item-has-children > a:after{
        font-family:'ETmodules';
        content:'\33'; /* flèche vers le bas Divi */
        position:absolute;
        right:15px;
        top:50%;
        transform:translateY(-50%);
        font-size:18px;
        color:inherit;
    }
}

@media only screen and (max-width: 980px) {
	.mobile_nav.opened .mobile_menu_bar:before {
		content: "\4d";
	}
}

.swiper-button-prev::after, .swiper-container-rtl .swiper-button-next::after {
  content: 'prev';
  color:#ffffff;
}

.swiper-button-next::after, .swiper-container-rtl .swiper-button-prev::after {
  content: 'next';
  /*color: #D76C58;*/
	color:#ffffff;
}
.swiper-container-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
  transition: .2s transform,.2s left;
  background: #ffffff;
}

/* timeline*/
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Trait central */
.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
   /* background: #d4af37;*/
	background:#d76c58;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 8px 25px;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

/* Rond sur le trait */
.timeline-item::before {
    content: "";
    position: absolute;
    top: 12px;
    width: 14px;
    height: 14px;
   /* background: #d4af37;*/
	background: #374158;
    border-radius: 50%;
    z-index: 2;
}

.timeline-item:nth-child(odd)::before {
    right: -7px;
}

.timeline-item:nth-child(even)::before {
    left: -7px;
}

.timeline-year {
    font-size: 20px;
    font-weight: 700;
    color: #7f5056;
    margin-bottom: 2px;
    line-height: 1.2;
}

.timeline-content {
    padding: 0;
    line-height: 1.5;
}

/* Mobile */
@media (max-width: 980px) {
	
	div.timeline{
    margin-top: 30px;
}

    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding: 8px 0 8px 40px;
    }

    .timeline-item::before {
        left: 9px !important;
        right: auto !important;
    }
}
/*fin timeline*/