/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */






/* ==========================================================================
   1. Réglages de Base & Variables Globales
   ========================================================================== */
:root {
	--primary-color: var(--theme-button-background-initial-color);
	--secondary-color: var(--theme-palette-color-2);
	--font-size-base: 16px;
	--border-radius-btn: 8px;  /* utilisé pour boutons arrondis */
	--accent-color: var(--primary-color);
	--theme-heading-color-dark : var(--theme-text-color);
	--col-gap: 1rem;
	--row-gap: 2rem;
	--line-w: 0.1rem;
}


/* ==========================================================================
   2. Réinitialisations & Styles Généraux
   ========================================================================== */

li {
  list-style-type: none;
}

ul {
  padding: 0 !important;
}
a {
  text-decoration: none;
}

/* ==========================================================================
   3. Typographie & Iconographie
   ========================================================================== */

@font-face {
    font-family: 'ElegantIcon';
    src: url('/wp-content/uploads/et-fonts/ElegantIcons.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'FontAwesome';
    src: url('/wp-content/themes/Divi/core/admin/fonts/fontawesome/fa-solid-900.woff2') format('woff2');
    font-display: swap;
}
.listQuality {
	max-width:560px;
}
.beforePuce:before,
#home-quality h3:before,
.listQuality h3:before {
	content:"● ";
	color: var(--primary-color);
}
:is(.is-layout-flow,.is-layout-constrained) :where(h1,h2,h3,h4,h5,h6) {
    margin-block-start: calc(var(--has-theme-content-spacing, 1)*(.3em + 10px)) !important;
}
h1 {		
    margin-block-start: 22px !important;
}
.home .ct-breadcrumbs {
    display: none;
}
.hero-section[data-type=type-1] {
    margin-bottom: 0 !important;
}


/* ==========================================================================
  BLOC COLONNES 
   ========================================================================== */


.flex-block,
.contact-column {
		display: flex;
	justify-content: space-around;
	align-items: flex-start;
	gap: 100px;
	
}

@media (max-width: 768px) {
	.flex-block,
	.contact-column {
		flex-direction: column;
		gap: 0px !important;
		align-items: center;
	}
}
.flex-block div {
	flex: 1;
	max-width: 400px;
}




.btn_white,
.themesProject a,
#maillageBottomProject li a {
	color: var(--secondary-color);
    background-color: white;
    border-radius: 8px;
    padding: 3px 15px;
    border: 2px solid var(--primary-color);
}


/*
 * BLOCKSY NEW STYLE
 *
 */
#home-quality div,
#prestations-quality div {
    position: relative;
}
#prestations-quality div h3:before,
#home-quality div h3:before {
   font-family: "Font Awesome 6 Free"; /* Font Awesome */
    font-weight: 900; /* Si l'icône est en solid */
  content: var(--icon-valeur);
  width: 50px;
  font-size: 2em;
  text-align: center;
  position: absolute;
  left: 50%;
  top: 0%;
  margin-left: -25px;
  color: var(--primary-color);
}
#prestations-quality div h3,
#home-quality div h3 {
    text-align: center;
    padding-top: 2.5em;
}

section {
	margin: 40px 0 80px 0 !important;
}
/* Ecran XL */
@media (min-width: 1440px) {
	section {
		margin: 60px 0 120px 0 !important;
	}
}
/*  Mobile  */
@media (max-width: 480px) {
	section {
		margin: 20px 0 40px 0 !important;
	}
}


.p-600 {
    max-width: 560px;
    font-size: 20px;
    font-weight: 600 !important;
    line-height: 1.4em;
}
.p-400 {
    max-width: 560px;
}

h2 {
	max-width:700px;
	margin: 0 0 40px 0 !important;
}
h3 {
	max-width:700px;
	
}
.center-title {
	text-align:center;
	margin: 0 auto 40px auto !important;
}
.center {
	text-align:center;
	margin: 0 auto 40px auto !important;
}
h1 {
	 margin-block-end: 0px !important;
}
.header-title {
	display:flex;
	gap:100px;
}
.header-title h1 {
	max-width:700px;
	letter-spacing: -0.04em;
	margin-block-start:10px !important;
}
.header-title div {
	flex:1;
}
.header-title h2 { 
	font-size: 16px !important;
	font-weight:400 !important;
	max-width: 700px;
	margin-block-start:20px !important;
	line-height:1.4em;
}
/*  Mobile portrait (Smartphones) */
@media (max-width: 480px) {
	.header-title {
		flex-direction: column;
		gap: 0px;
	}
}



/* Ordinateurs portables & Petits écrans de bureau et plus */
@media (min-width: 1281px) {
  .memberName strong {
  	font-size: 26px;
	font-weight:400 !important;
  }
}

/* 
 * 
/* Très grands écrans (4K et plus) */
@media (min-width: 1921px) {
  h1 {
  	font-size: 74px !important;
  }
  h2 {
  	font-size: 56px !important;
  }
  h3 {
  	font-size: 39px !important;
  }
}

/* Ordinateurs portables & Petits écrans de bureau */
@media (max-width: 1280px) {
  h1 {
  	font-size: 48px !important;
  }
  h2 {
  	font-size: 36px !important;
  }
  h3 {
  	font-size: 25px !important;
  }
}
/* Mobile paysage & Petites tablettes */
@media (max-width: 768px) {
  h1 {
  	font-size: 38px !important;
  }
  h2 {
  	font-size: 26px !important;
  }
  h3 {
  	font-size: 20px !important;
	font-weight: 600 !important;
  }
}



/* ==========================================================================
   POPUP PROJET
   ========================================================================== */

#popup-overlay {
	display: none;
	position: fixed;
	top: 90px;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(255, 255, 255, 0.9);
	justify-content: center;
	align-items: center;
	z-index: 9999;
	overflow: hidden;
}
#popup-content {
	position: relative;
	background: #fff;
	width: 100%;
	max-width: 100vw;
	max-height: 100vh;
	border-radius: 10px;
	overflow-y: auto; 
	text-align: center;
	margin: 0 auto;
	scrollbar-width: thin; 
	scrollbar-color: var(--primary-color) transparent; padding-top: 40px
}
.no-scroll {
	overflow: hidden;
	height: 100vh;
	width: 100vw;
	padding-right: var(--scrollbar-width, 0px); 
}
.popup-images {	
	max-width: 1800px;
	margin: 0 auto;
}
.popup-images img {
	height: auto;
	border-radius: 10px;
	margin-bottom: 100px;
}
.popup-project-info {
	margin-top: -30px;
	margin-bottom: 18px;
	text-align: center;
}
.popup-description {
	line-height: 1.6;
	margin-top: 10px;
	max-width: 800px;
	margin: 0 auto;
	margin-bottom: 100px;
    text-align: left;
	margin-bottom: 120px;
}
#close-popup {
    position: fixed;
	top: 95px;
	right: 15px;
    background: none;
    border: none;
	cursor:pointer;
	padding: 0px 15px 0px 15px;
	background: white;
	border-radius:25px;
	font-size: 30px;
}
#prev-project, #next-project {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
	cursor:pointer;
    padding: 9px 15px 6px 15px;
	background: white;
	border-radius:25px;
}
#prev-project i, #next-project i {
	color: var(--theme-heading-color-dark) !important;
	transition: color 0.3s ease;
    font-size: 30px;
}
#prev-project:hover, 
#next-project:hover,
#close-popup:hover {
    color: var(--primary-color);
}
#prev-project {
    left: 15px;
}
#next-project {
    right: 15px;
}
@media screen and (max-width: 768px) {
	.popup-description {
		max-width: 88vw;
	}
	#prev-project, 
	#next-project, 
	#close-popup  {
		box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
		transition: box-shadow 0.3s ease-in-out;
	}
	#prev-project:hover,
	#next-project:hover,
	#close-popup:hover {
		box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.3);
	}
	#close-popup {
		font-size: 20px;
		padding: 5px 15px 6px 15px;
	}	
	.popup-images img {
		border-radius: 4px;
		margin-bottom: 40px;
	}
	#prev-project i, #next-project i {
		font-size: 20px;
	}
	.popup-project-info {
		font-size: 13px;
	}
}



/* ==========================================================================
   F  A  Q
   ========================================================================== */

	
.faq-container {
	margin-bottom:40px !important;
}
.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
	color: var(--theme-heading-color-dark) !important;
	font-size:20px;
    padding: 10px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease-in-out;
}
.faq-question:after {
    content: "+";
    font-size: 22px;
    transition: transform 0.3s ease-in-out;
}
.faq-question.active:after {
    content: "-";
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}
.faq-answer p {
    padding: 10px;
    margin: 0;
	max-width: 700px
}



/* ==========================================================================
   CTA DEVIS
   ========================================================================== */


.cta-container {
    background: linear-gradient(135deg, var(--theme-palette-color-1), var(--theme-palette-color-2));
    color: #fff;
    padding: 40px 20px 60px 20px;
    text-align: center;
    border-radius: 12px;
    margin: 40px auto;
	max-width: 1200px;
}
.cta-content h2 {
    font-size: 2rem !important;
    font-weight: 600;
    color: white
}
.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: #fff;
    color: var(--theme-palette-color-2);
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3sease-in-out;
}
.cta-button:hover {
    background: var(--theme-heading-color-dark);
    color: #fff;
    transform: scale(1.05);
}
@media (max-width: 768px) {
	.ct-header-cta a.ct-button {
		font-size:20px !important;
	}
}


/* ==========================================================================
   CARROUSEL A PROPOS / PRESTATIONS
   ========================================================================== */

	
.mySwiper {
    width: 100%;
    margin: auto;
}
.swiper-slide img {
    width: 100%;
    height: auto;
    border-radius: 8px;
 }
.swiper-button-prev, .swiper-button-next {
    color: var(--primary-color);
    background: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}
.swiper-button-prev:hover, .swiper-button-next:hover {
    background: none;
}
.swiper-pagination-bullet {
    background: var(--secondary-color) !important; 
    opacity: 0.5;
}
.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    opacity: 1;
}
.swiper-button-prev, .swiper-button-next {
    color: var(--primary-color) !important;
    width: 40px; 
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.swiper-pagination {
    position: relative !important;
    margin-top: 10px; 
    text-align: center;
}
.mySwiper {
    padding-bottom: 30px; 
}
.mySwiper {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.swiper-initialized {
    visibility: visible !important;
    opacity: 1 !important;
}



/* ==========================================================================
   FLUENT FORM
   ========================================================================== */

	
.fluentform .ff_upload_btn.ff-btn {
    background: var(--theme-heading-color-dark) !important;
    border: 0 !important;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    padding: 6px 15px !important;
	border-radius: 8px;
}
@media (min-width: 980px) {
    .frm-fluent-form .ff-t-container {
        gap: 45px !important;
    }
}
.fluentform .ff-el-form-control:focus {
    border-color:  var(--primary-color) !important;
    box-shadow: 0 0 5px rgba(0, 153, 255, 0.5); 
}
.ff-message-success {
    border: 2px solid var(--primary-color)  !important;
    box-shadow:none !important;
    padding: 30px !important;
    border-radius: 15px;
    margin-bottom: 100px;
    text-align: center;
}
.hidden-field {
    display: none !important;
}



/* ==========================================================================
   SOCIAL ICONES
   ========================================================================== */


.social-icons {
  list-style: none;
  display: flex;
  gap: 15px; /* espace entre les icônes */
  padding: 0;
}
.social-icons li a {
  font-size: 20px;
  color: var(--primary-color);
  transition: color 0.3s, transform 0.3s;
}
.social-icons li a:hover {
  color: var(--secondary-color); /* couleur au survol */
  transform: scale(1.2);
}
footer .social-icons li a {
  color: var(--theme-heading-color-dark);
}



/* ==========================================================================
  Contact 
   ========================================================================== */


#contact-section>.flex-block>div {
	text-align: center;
}

#contact-section .flex-block p {
	font-size: 1em;
	color: var(--theme-text-color-dark);
}

#contact-section .flex-block strong {
	font-size: 1.5em;
}

#contact-section .flex-block i {
	color: var(--primary-color);
	font-size: 50px;
    margin-top: 30px;
}
@media (min-width: 1921px) {
	#contact-section h3 {
		font-size:30px;
	}
}





/* ==========================================================================
   5. Sections Spécifiques
   ========================================================================== */



/* ----------- Liste des liens Categories Pages Type ---------------- */

 .project-category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.btn-primary {
    padding: 4px 25px 6px 25px;
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}
.btn-primary:hover {
    background: var(--primary-color);
    color: white;
}

.category-button {
    padding: 4px 15px;
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.1s ease-in-out;
}
.category-button.active {
    background: var(--primary-color);
    color: white;
    font-weight: bold;
    pointer-events: none;
}
.category-button:hover {
    background: var(--primary-color);
    color: white;
}



/* ==========================================================================
  Side Bar Projects Category
   ========================================================================== */

#asideBarProjects {
	margin: 0px !important;
}


/* Sidebar en desktop */
#sideBarProjects {
    width: 250px;
    position: sticky;
    top: 150px;
    margin-left: 0px;
    border-radius: 15px;
    background-color: var(--theme-palette-color-6);
    padding: 20px;
    z-index: 1;
}

/* Styles pour les titres et catégories */
.titleMenuRealisation {
    font-size: 1em;
    margin-bottom: 10px;
    display: block;
    margin-left: 31px;
    text-transform: uppercase;
    font-weight: 500;
}

.sidebar-group {
    margin-bottom: 30px;
}

.sidebar-group-title {
    margin-bottom: 0px;
    padding-bottom: 5px;
    display: block;
    text-transform: uppercase;
    font-weight: 500;
}

.sidebar-group-title i {
     font-size: 0.8em;
	 color: var(--primary-color) !important;
}

   
.sidebar-section-title {
    font-size: 15px !important;
    display: flex;
    align-items: center;
    padding: 5px 0;
    font-weight: 400 !important;
    margin: 0 !important;
    width: 80%;
	line-height: 1.3em;
}

.sidebar-section-title a {
    color: var(--theme-heading-color-dark) !important;
	display: block;
    width: 100%;
	text-decoration:none !important;
}

.sidebar-section-title a:hover,
.sidebar-section-title a.active,
.sidebar-category-list li a:hover,
.sidebar-category-list li.active a  {
    color: var(--secondary-color) !important;
}

.sidebar-section-title a.active,
.sidebar-category-list li.active a {
    font-weight: bold;
}
.sidebar-section-title .toggle-icon {
    margin-right: 8px;
    font-size: 16px;
    display: flex;
    align-items: center;
}
.sidebar-section-title .toggle-icon i {
    font-size: 16px;
    transition: transform 0.3s ease;
    color: var(--primary-color) !important;
	background: none !important;
    border-radius: 11px;
    padding: 3px 4px;
    position: absolute;
    right: 20px;
	cursor: pointer;
}
.sidebar-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-category-list li {
    margin-bottom: 0px;
    font-size: 0.9em;
}
.sidebar-category-list li a {
    text-decoration: none;
    display: block;
    padding: 4px 0px 4px 19px;
    color: var(--theme-heading-color-dark) !important;
    width: 75%;
}

#toggleMenu {
	display: none; 
}
#closeMenu {
	display:none;
}
@media(max-width: 980px) {
	#asideBarProjects {
		display: contents;
	}
}
    

/* ==========================================================================
  Side Bar Moblie
   ========================================================================== */

@media(max-width: 980px) {

    .contentglobal {
        gap: 0px;
    }
    #toggleMenu {
        display: block;
    }
    .titleMenuRealisation {
        display: none;
    }
    #sideBarProjects {
		display: none; 
        width: 90vw;
        left: 30vw; 
        position: fixed;
        top: 0;
        height: 100%;
        background-color: rgba(18, 21, 25, 0.98);
        padding-left: 19px;
		padding-top: 65px;
        border-radius: 0px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 9999;

        overflow-y: auto; 
        max-height: 100vh; 
        padding-bottom: 20px; 
        scrollbar-width: thin; 
        scrollbar-color: var(--primary-color) transparent; 
    }
    /* Scrollbar custom pour Webkit (Chrome, Safari, Edge) */
    #sideBarProjects::-webkit-scrollbar {
        width: 6px;
    }
    #sideBarProjects::-webkit-scrollbar-thumb {
        background-color: var(--primary-color); 
        border-radius: 6px;
    }
    #sideBarProjects::-webkit-scrollbar-track {
        background: transparent;
    }
    @keyframes slideIn {
        0% {
            left: 30vw;
            opacity: 0;
        }
        100% {
            left: 10vw;
            opacity: 1;
        }
    }
    @keyframes slideOut {
        0% {
            left: 10vw;
            opacity: 1;
        }
        100% {
            left: 30vw;
            opacity: 0;
        }
    }
    #sideBarProjects.open {
        animation: slideIn 0.2s ease-out forwards;
        pointer-events: auto;
        visibility: visible;
		
    }
    #sideBarProjects.closing {
        animation: slideOut 0.2s ease-in forwards;
        pointer-events: none; visibility: visible;
    }
    #toggleMenu {
        display: block;
        position: fixed;
        bottom: 30px;
        right: 2%;
        z-index: 1000;
        border-radius: 35px;
        font-size: 1.3em;
        padding: 10px 18px;
        border: none;
        cursor: pointer;
        background: white !important;
        box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
        transition: box-shadow 0.3s ease-in-out;
        color: var(--theme-heading-color-dark);
    }
    #toggleMenu:hover {
        box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.3);
    }
    #toggleMenu.hidden {
        display: none;
    }
    #closeMenu {
        position: absolute;
        top: 10px;
        right: 30px;
        background: none;
        color: white;
        border: none;
        cursor: pointer;
        border-radius: 30px;
        padding: 4px 15px;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }
    #sideBarProjects.open #closeMenu {
        display: block;
        opacity: 1;
    }
	.sidebar-section-title {
		padding: 10px 0px;
	}
	.sidebar-section-title a,
	.sidebar-category-list li a { 
		color: white !important;
		display: block;
        width: 80%;
	}
	.sidebar-section-title a { 
        font-size: 20px;
	}	
	.sidebar-category-list li a { 
        font-size: 18px;
	}
	.sidebar-section-title a { 
		font-weight: bold;
       
	}
	.sidebar-group-title {
		font-size: 18px;
		color:  var(--primary-color) !important;
		margin-left: 10px;
		margin-bottom:0px;
	}
	.sidebar-group-title:before { content:"" !important;  }
	.sidebar-section-title .toggle-icon i {
		font-size:22px;
		padding: 6px 7px;
		position: absolute;
		right: 20px;
	}
	.sidebar-search {
		display: none;
	}
}



/* ==========================================================================
  	GALERIE
   ========================================================================== */

.contentglobal {
	display:flex; 
	gap:60px;
	padding-top: 40px;
}
@media(max-width: 980px) {
	.contentglobal {
		flex-direction: column;
		padding-top: 20px;
	}
}

#containerProjectsPage {
    display: flex;
    align-items: flex-start; /* Assure que la sidebar reste en haut */
    position: relative; /* Important pour le sticky */
}

.open-project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0); /* Invisible */
    z-index: 10; /* Passe au-dessus de l’image */
}
.project-main-image {
    position: relative;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Espacement entre les projets */
    justify-content: flex-start;
    align-content: flex-start;
    margin-bottom: 30px;
	justify-content: space-evenly;
}

@media (max-width: 980px) {
	
   .rowGallery{
        width: 100% !important; /* Forcer à utiliser toute la largeur de l’écran */
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }	
    .gallery {
        justify-content: space-between;
		width: 100vw; 
        margin-left: -6vw;
        margin-right: -6vw;
        position: relative;
		gap: 5px; 
    }
	
}



/* ==========================================================================
   PROJETS  
   ========================================================================== */


.project {
    width: calc(33.33% - 10px);
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}
.project:hover {
    transform: scale(1.03) translateY(-5px);
}  

@media (max-width: 980px) {
	.project {
   	 width: calc(33.33% - 5px);	
	}
}
.project-header {
    position: relative;
}
.project-header img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: height 0.5s ease-in-out;
  z-index:1;
}
/*  Caché par défaut */
.project-title {
    position: absolute;
    bottom: 40px;
    left: 30%;
    width: 70%;
    background: var(--secondary-color);
    color: white;
    padding: 5px 10px 5px 10px;
    opacity: 0;
    transition: opacity 0.15s ease-in-out;
    margin: 0;
    z-index: 10;

}
.project:hover .project-title {
	opacity: 1;
	pointer-events: none;
	padding: 20px 0;
}

.project-details,
.themesProject {
    display: none;
}
.infobar { background : none !important; }


@media (max-width: 1500px) {
    .project img {
        height: 350px; /* Hauteur fixe plus adaptée aux Petits Ecrans */
    }	
}
@media (max-width: 980px) {

    .project img {
        height: 200px; /* Hauteur fixe plus adaptée aux mobiles */
    }
    .project-title {
        font-size: 14px !important;
        font-weight: 500 !important;
    }
}

@media (min-width: 981px) {
    .project-title {
        font-size: 18px !important;
    }
}



/* ==========================================================================
   PAGINATIONS  
   ========================================================================== */


.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    margin-top: 30px;
    padding: 10px 0;
    flex-wrap: wrap;
    font-size: 18px;
    font-weight: 500;
}
.pagination .page-numbers {
    display: inline-block;
    color: var(--theme-heading-color-dark);
    text-decoration: none;
}
a.page-numbers,
.page-numbers.current {
	background: #f5f5f5;
    border-radius: 25px;
    padding: 5px 15px;
}
.pagination .page-numbers:hover {
    color: var(--primary-color);
}
.pagination .page-numbers.current {
    font-weight: bold;
    color: var(--primary-color);
    pointer-events: none;
}
.pagination .page-numbers.dots {
    color: var(--theme-heading-color-dark);
    font-weight: normal;
    pointer-events: none;
}
.pagination .prev,
.pagination .next {
    display: inline-flex;
    align-items: center;
    color: var(--theme-heading-color-dark);
    text-decoration: none;
}
.pagination .prev:hover,
.pagination .next:hover {
    color: var(--primary-color);
}
.pagination .prev::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f104"; /* Flèche gauche */
    margin-right: 8px;
}
.pagination .next::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f105"; /* Flèche droite */
    margin-left: 8px;
}
@media (max-width: 768px) {
    .pagination {
        font-size: 18px;
        gap: 5px;
    }
    .pagination .prev::before,
    .pagination .next::after {
        margin: 0 5px;
    }
}



/* ==========================================================================
   PRESTATIONS - NOS OFFRES
   ========================================================================== */


.offer-container {
	max-width: 1200px;
	margin: 50px auto;
	gap: 20px;
	padding: 20px;
}
.offer-title {
    font-size: 28px;
    color: #192a3d;
    font-weight: bold;
    margin-bottom: 20px;
}
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}
.offer-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}
.offer-card {
    text-align: center;
}
.offer-card:hover {
    transform: translateY(-5px);
}
.offer-icon {
    font-size: 50px;
    color: var(--theme-palette-color-1);
    margin-bottom: 10px;
}
.offer-details {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}
.offer-details li {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    font-size: 15px;
    padding: 6px 0;
}
.offer-details li i {
    margin-right: 8px;
    color: #25bbdd;
}

@media (max-width: 981px) {
	.offer-card h3 {
		font-size: 28px !important;
	}
}



/* ==========================================================================
   TIMELINE - A PROPOS - PRESTATIONS
   ========================================================================== */


#timeline_hd {
	--col-gap: 1rem;
	--row-gap: 2rem;
	--line-w: 0.1rem;
	display: grid;
	grid-template-columns: var(--line-w) 1fr;
	grid-auto-columns: max-content;
	column-gap: var(--col-gap);
	list-style: none;
	width: min(70rem, 100%);
	margin: 50px auto;
}
#timeline_hd::before {
	content: "";
	grid-column: 1;
	grid-row: 1 / span 20;
	background: var(--primary-color);
	border-radius: calc(var(--line-w) / 2);
}
#timeline_hd li:not(:last-child) {
	margin-bottom: var(--row-gap);
}
#timeline_hd li {
	line-height: 1.5em !important;
	grid-column: 2;
	--inlineP: 0.46rem;
	margin-inline: var(--inlineP);
	grid-row: span 2;
	display: grid;
	grid-template-rows: min-content min-content min-content;
}


#timeline_hd li .date {
	margin-inline: calc(var(--inlineP) * -1);
	padding: 3px 10px 3px 8px;
	font-size: 20px;
	font-weight: 600;
	display: grid;
	position: relative;
	border-radius: 50%;
	margin-bottom: 10px;
}
#timeline_hd li .date::after {

	aspect-ratio: 1;
	background: var(--primary-color);
	border-radius: 50%;
	top: 50%;
	transform: translate(50%, -50%);
	right: calc(100% + var(--col-gap) + var(--line-w) / 2);
	content: attr(data-step); /* ✅ Insère le numéro */
	position: absolute;
	font-size: 1.2rem;
	color: white;
	width: 30px;
	text-align: center;
}
#timeline_hd li .descr {
	position: relative;
	padding-inline: 0;
}

@media (max-width: 981px) {
	#timeline_hd li .date,
	#timeline_hd li .descr {
		padding-left: 20px;
	}
	#timeline_hd {
		padding-left: 15px !important;
	}
}

@media (min-width: 40rem) {
	#timeline_hd {
		--col-gap: 3rem;
		column-gap: var(--col-gap);
		grid-template-columns: 1fr var(--line-w) 1fr;
	}
	#timeline_hd::before {
		grid-column: 2;
	}
	#timeline_hd li:nth-child(odd) {
		grid-column: 1;
	}
	#timeline_hd li:nth-child(even) {
		grid-column: 3;
	}
	#timeline_hd li:nth-child(2) {
		grid-row: 2/4;
	}
	#timeline_hd li:nth-child(odd) .date::after {
		transform: translate(-50%, -50%);
		left: calc(100% + var(--col-gap) + var(--line-w) / 2);
	}
	#timeline_hd li:nth-child(odd) .date {
		text-align: right;
		place-content: right;
	}
}
#etapes-prestations>#timeline_hd li .descr {
    font-weight: normal !important;
    font-size: var(--theme-font-size) !important;
}     
#apropos-history>#timeline_hd li .date::after {
    font-size: 1rem;
    padding-top: 8px;
    width: 40px;
}   

/* ==========================================================================
   A PROPOS - Section Nos Valeurs
   ========================================================================== */

#listvaleurs {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-top: 50px;
}
#listvaleurs div {
	width: 20%;
	position: relative;
}
@media (max-width: 981px) {
	#listvaleurs div {
		width: 45%;
		margin-bottom: 40px;
	}
}
#listvaleurs div h3 {
	text-align: center;
	padding-top: 2.5em;
}
#listvaleurs div p {
	text-align: center;
}
#listvaleurs div h3:before {
	font-family: FontAwesome !important;
	font-weight: 900 !important;
	content: var(--icon-valeur);
	width: 50px;
	font-size: 2em;
	text-align: center;
	position: absolute;
	left: 50%;
	top: 0%;
	margin-left: -25px;
	color: var(--primary-color);
}



/* ==========================================================================
   A PROPOS - Section L'Équipe
   ========================================================================== */


.apropos-banner img {
	border-radius: 5px;
}
#harddecoMembers {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 30px;
}
#harddecoMembers img {
	border-radius: 5px;
}

#harddecoMembers > .member {
  width: 15%;
}
@media (max-width: 1100px) {
  #harddecoMembers > .member {
    width: 30%;
    margin-bottom: 30px;
  }
}
@media (max-width: 980px) {
  #harddecoMembers > .member {
    width: 46%;
  }
}
.memberName {
	margin-top: 15px;
}


/* ==========================================================================
   Lightbox & Galerie
   ========================================================================== */


a.lightbox {
  text-align: center;
}
img.playYoutube {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  z-index: 30;
}
img.attachment-thumbnail {
  z-index: 10;
}



/* ==========================================================================
   8. Avis Google
   ========================================================================== */

.ti-widget.ti-goog .ti-widget-container,
.ti-widget.ti-goog .ti-widget-container * {
  font-family: inherit !important;
}
.wp-gr.wpac a.wp-google-name {
  color:  var(--theme-heading-color-dark) !important;
}
.wp-gr .wp-google-text {
  color: var(--theme-heading-color-dark) !important;
  font-size: 14px !important;
}
.wp-gr .wp-google-url {
  color:  var(--theme-heading-color-dark) !important;
  font-weight: bold !important;
}
.ti-widget.ti-goog {
    margin-top: 40px;
}            
.ti-widget.ti-goog .ti-review-content {
	font-size: var(--theme-font-size) !important;
            color: var(--theme-text-color) !important;
}
.ti-widget.ti-goog .ti-widget-container, .ti-widget.ti-goog .ti-widget-container * {
    font-family: inherit !important;
}         
.ti-widget.ti-goog .ti-widget-container .ti-name {
    font-size: var(--theme-font-size) !important;
    color: var(--theme-text-color) !important;
}
.ti-widget.ti-goog .ti-reviews-container .ti-reviews-container-wrapper {
    gap: 50px;
    display: flex;
    flex-wrap: wrap;
}
.ti-widget.ti-goog .ti-col-4 .ti-review-item {
    max-width: 100% !important;
 	flex: 0 0 30.7% !important;
}
.ti-widget.ti-goog .ti-widget-container .ti-review-item {
    padding: 0px !important;
	background-color: var(--theme-palette-color-6);
            border-radius :20px !important;
}     
@media (min-width: 980px) {
.ti-reviews-container-wrapper div:last-child {
  display: none;
}
}
.ti-widget.ti-goog .ti-load-more-reviews-container .ti-load-more-reviews-button {
   /* display: inline-block;
    margin-top: 16px;
    border-style: solid;
    border-color: #f4f4f4;
    color: white !important;
    background:  var(--primary-color) !important;
    border-radius: 8px !important;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3sease-in-out;*/
}

/* ==========================================================================
   9. Footer & Divers
   ========================================================================== */


.btnBgColor {
  background-color: var(--theme-heading-color-dark);
  border-radius:  var(--border-radius-btn);
  padding: 3px 15px 5px 15px;
  margin-top: 10px;
  color: white;
}

.btnBgColor:hover {
	color:white !important;
	background-color:  var(--secondary-color) ;
}

@media (min-width: 980px) {
	footer h3 {
		font-size: 20px !important;
	}
}



