/*
Theme Name: Integrale Jobs
Author: Tris informatique
Author URI: https://www.trisinformatique.com
Version: 7.1
Template: enfold
*/
/*************
 * VARIABLES *
 *************/
:root {
    --main-color: var(--teal);         /* Vert d’eau principal */
    --secondary-color: var(--anthracite); /* Gris anthracite pour titres, etc. */
    --teal: #39b3a6;                   /* Vert d’eau principal */
    --teal-dark: #267e75;              /* Vert d’eau foncé pour hover, accents */
	--teal-light: #e6f7f5;
	--beige: #dbad8a;
    --anthracite: #535353;             /* Gris anthracite (titres, footer) */
    --light-gray: #f8f8f8;             /* Gris très clair pour fonds alternatifs */
    --border-radius: 8px;              /* Légèrement plus arrondi pour un effet moderne */
    --pill-bg: var(--teal-light);      /* Vert d’eau ultra clair pour les backgrounds pills */
    --pill-color: #535353;             /* Anthracite pour texte des pills */
    --pill-bg-hover: var(--main-color);   /* Vert d’eau principal en hover */
    --pill-color-hover: #fff;          /* Texte blanc au hover */
}
/**********
 * HEADER *
 **********/
#top #header{
	box-shadow:0 2px 14px 0 rgba(0,0,0,.06);
}

#top .logo a{
	display:flex;
	justify-content:center;
	align-items:center;
}
#top .logo img{
	padding:10px;
}

/**********
 * DIVERS *
 **********/

/* ninja-form styling */
#top .nf-field-description{
	z-index:100;
}
#top #nf-form-3-cont .nf-multi-cell .nf-cell{
	padding: 0 40px;
}
@media only screen and (max-width:989px){
	#top #nf-form-3-cont .nf-multi-cell .nf-cell{
	padding: 0 5px;
}
}
/*only for checkbox consent*/
.checkbox-container.label-right .checkbox-wrap{
	flex-direction:column;
}
#top #ninja_forms_required_items,
.nf-field-container {
    margin-bottom: 5px !important;
}
#top .nf-field-element input[type="text"],
#top .nf-field-element input[type="email"],
#top .nf-field-element input[type="tel"]
{
	margin-bottom: 5px !important;
}
#top .nf-field-element input,
#top .nf-field-element textarea,
.nf-error.field-wrap .nf-field-element::after{
	border-radius:var(--border-radius);
}
#top .nf-field-element .btn,
#top .nf-form-fields .nf-element[type="submit"] {
    background: var(--beige);
    color: #fff;
	border:none;
    border-bottom: 1px solid var(--beige);
    border-radius: 999px;
    padding: 0.8em 2.4em;
    box-shadow: 0 2px 8px rgba(39,179,166,0.06);
}
input[type="button"],
button{
    cursor: pointer;
}
#top .nf-field-element{
	overflow:hidden;
}
/*END ninja form */

/* ------- Magazine Blog Card (ligne) ------- */

/* --- Magazine Card Custom Enfold --- */
#top .slide-entry.posttype-post {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 16px rgba(39,179,166,0.08);
    border: 1.5px solid var(--teal-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    transition: box-shadow .16s, transform .16s;
}
#top .slide-entry.posttype-post:hover {
    box-shadow: 0 8px 28px 0 rgba(39,179,166,0.15);
    transform: translateY(-3px) scale(1.012);
}

#top .slide-entry.posttype-post .slide-image {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--teal-light);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    overflow: hidden;
    position: relative;
    margin: 0;
}
#top .slide-entry.posttype-post .slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    transition: transform .18s;
}
#top .slide-entry.posttype-post:hover .slide-image img {
    transform: scale(1.035) rotate(-0.2deg);
}

/* Badge date */
#top .slide-entry.posttype-post .entry-footer .slide-meta {
    display:none;
	position: absolute;
    top: 0.65rem;
    left: 1rem;
    background: #fff;
    color: var(--main-color);
    padding: 0.27em 1.1em;
    border-radius: calc(var(--border-radius) * 0.7);
    border: 1px solid var(--teal-light);
    box-shadow: 0 2px 7px rgba(39,179,166,0.07);
    z-index: 2;
    pointer-events: none;
}

/* --- Contenu --- */
#top .slide-entry.posttype-post .slide-content {
    display: flex;
    flex-direction: column;
    padding: 1.06rem 1.06rem 1rem 1.06rem;
    min-height: 135px;
    flex: 1 1 auto;
    background: transparent;
    position: relative;
}

#top .slide-entry.posttype-post .slide-entry-title {
    color: var(--secondary-color);
    font-size: 1.10rem;
    font-weight: 700;
    margin: 0 0 .44em 0;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.5em;
    letter-spacing: -0.01em;
}
#top .slide-entry.posttype-post .slide-entry-title a {
    color: inherit;
    text-decoration: none;
    transition: color .13s;
}
#top .slide-entry.posttype-post:hover .slide-entry-title a {
    color: var(--main-color);
}

/* Badge catégorie news, sous le titre */
#top .slide-entry.posttype-post .blog-categories {
    display: inline-block;
    background: var(--pill-bg);
    color: var(--pill-color);
    font-weight: 700;
    border-radius: calc(var(--border-radius) * 0.85);
    padding: 3px 13px 2px 13px;
    margin-top: 10px;
    text-transform: uppercase;
    border: 1px solid var(--teal-light);
    letter-spacing: 0.01em;
    transition: background .17s, color .14s;
}

/* Lire la suite : bouton stylé */
#top .slide-entry.posttype-post .read-more-link {
    margin-top: auto;
    text-align: left;
}
#top .slide-entry.posttype-post .read-more-link .more-link {
    background: var(--beige);
    color: #fff !important;
    padding: 7px 18px;
    border-radius: 99px;
    transition: background .15s, opacity .15s;
    display: inline-flex;
    align-items: center;
	justify-content: center;
  	width: auto;
}
.main_color .slide-entry.posttype-post a.more-link .avia-svg-icon svg:first-child{
	fill:#fff;
}
#top .slide-entry.posttype-post .read-more-link .more-link:hover {
    opacity:0.8;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    #top .slide-entry.posttype-post .slide-content { padding: .95rem .95rem .90rem .95rem;}
}

@media (max-width: 767px) {
	.responsive #top #wrap_all .avia-content-slider-odd .slide-entry.posttype-post.slide-parity-even{margin-bottom:20px;}
	#top .avia-content-slider .slide-entry-wrap{margin-bottom:0;}
}
@media (max-width: 600px) {
    #top .slide-entry.posttype-post { border-radius: calc(var(--border-radius) * 0.7);}
    #top .slide-entry.posttype-post .slide-image,
    #top .slide-entry.posttype-post .slide-image img { border-radius: calc(var(--border-radius) * 0.7) calc(var(--border-radius) * 0.7) 0 0;}
    #top .slide-entry.posttype-post .slide-content { padding: .75rem .78rem .75rem .78rem;}
    #top .slide-entry.posttype-post .slide-entry-title { font-size: 1em;}
}
#top .avia-content-slider-inner,
#top .avia-content-slider {
    overflow: visible;
}

/*-- Affichage détail actualité --*/
#top.single-post .post-meta-infos .text-sep,
#top.single-post .post-meta-infos .blog-author {
	display:none;
}
.back-to-blog-btn {
    text-align: left;
    margin-bottom: 1.5rem;
}

.back-to-blog-btn .retour-actualites-btn {
    display: inline-flex;
    align-items: center;
    background: var(--beige);
    color: #fff;
    padding: 0.65em 1.3em 0.65em 1em;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(39,179,166,0.08);
    text-decoration: none;
    transition: background 0.17s, color 0.15s, opacity 0.15s;
    gap: 0.5em;
}
.back-to-blog-btn .retour-actualites-btn:hover {
    opacity:0.8;
    color: #fff;
    text-decoration: none;
}
.back-to-blog-btn .retour-actualites-btn::before {
    content: '➜'; 
	transform:rotate(180deg);
}


/*Affichage des titre et contenu de slider*/
.avia-caption .avia-caption-content p,
.avia-caption .avia-caption-title,
.caption_framed .slideshow_caption .avia-caption-content p,
.caption_framed .slideshow_caption .avia-caption-title {
  background: rgba(83, 83, 83, 0.82); 
  color: #fff;                        
  display: inline-block;
  margin: 0 0 10px 0;
  padding: 12px 22px 11px 22px;
  border-radius: 13px;
  border: 1.5px solid rgba(255,255,255,0.13);
  backdrop-filter: blur(3px);
  box-shadow: 0 2px 14px rgba(0,0,0,0.12), 0 0 0 2px rgba(255,255,255,0.13);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0,0,0,.10);
}

/* Responsive : réduire padding et taille sur mobile */
@media (max-width: 700px) {
  .avia-caption .avia-caption-content p,
  .avia-caption .avia-caption-title,
  .caption_framed .slideshow_caption .avia-caption-content p,
  .caption_framed .slideshow_caption .avia-caption-title {
    padding: 8px 12px 7px 12px;
    font-size: 1.06em;
  }
}


/*vague svg overlay*/
.svg-overlay{min-height:0;}
.svg-overlay .container { min-width: 100% !important; padding:0px; }
.svg-overlay-top .container { min-width: 100% !important; padding:0px; }
.svg-overlay-top svg { transform:rotate(180deg); }
/*Séparateur de colonne*/
@media (min-width: 768px) {
  #top .trs-separated-col {
    border-left: 1px solid white;
  }
}

/*4 block custom*/
#top .avia-section.trs-4-block .flex_column_table.av-equal-height-column-flextable .av-flex-placeholder{
	width: 45px;
}
#top .trs-4-block .flex_column_table.av-equal-height-column-flextable:not(:first-child){
	margin-top:45px;
}

/*boite d'icône custom*/
#top .trs-icon-box.iconbox_left_content .iconbox_icon,
#top .trs-icon-box.iconbox_right_content .iconbox_icon{
	height:110px;
	width:110px;
	font-size: 60px;
  	line-height: 70px;
	box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(255, 255, 255, 1);
}
#top .trs-icon-box.iconbox_left_content .iconbox_icon.avia-svg-icon svg:first-child,
#top .trs-icon-box.iconbox_right_content .iconbox_icon.avia-svg-icon svg:first-child{
	margin-top:25px;
}
#top .trs-icon-box.iconbox_left_content .iconbox_content,
#top .trs-icon-box.iconbox_right_content .iconbox_content{
	display: flex;
	min-height:110px;
 	align-items: center;
}
@media only screen and (max-width:989px){
	#top #wrap_all .trs-4-block .flex_column.av-break-at-tablet{
		margin-bottom:45px;
	}
	#top #wrap_all .trs-4-block .flex_column.av-break-at-tablet:last-child{
		margin-bottom:0;
	}

	#top .trs-4-block .avia-image-container img{
		height:100px;
		width:auto;
	}
}
/*sticky contact card*/
.responsive body#top.page-id-67,
.responsive body#top.post-type-portfolio {
    overflow-x: visible;
}

.page-id-67 #wrap_all,
#top.post-type-portfolio #wrap_all{
    overflow: visible;
}
#top .trs-sticky-col {
    position: sticky;
    top: 110px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 28px 0 rgba(57,179,166,0.09), 0 1.5px 14px rgba(80,80,100,0.04);
    padding: 2.1rem 1.9rem 1.8rem 1.9rem;
    min-width: 295px;
    max-width: 350px;
    margin-bottom: 2.2rem;
    /* transition douce si apparition */
    transition: box-shadow .25s, border-color .25s;
}

#top .trs-sticky-col .trs-contact-person {
    display: flex;
    align-items: flex-start;
    gap: 1.08rem;
    margin-top: 1.6rem;
    border-top: 2.5px solid var(--teal-light);
    padding-top: 1.35rem;
}

#top .trs-sticky-col .trs-contact-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--teal-light);
    box-shadow: 0 2px 6px rgba(57,179,166,0.09);
    border: 2px solid var(--teal);
}

#top .trs-sticky-col .trs-contact-details {
    flex: 1;
    min-width: 0;
    font-size: 1.03em;
    line-height: 1.45;
}

#top .trs-sticky-col .trs-contact-name {
    font-family: 'Merriweather', Times, serif;
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.11em;
    margin-bottom: 2px;
    letter-spacing: 0.01em;
}

#top .trs-sticky-col .trs-contact-poste {
    font-size: 1.02em;
    color: var(--main-color);
    margin-bottom: 2px;
    font-weight: 500;
}

#top .trs-sticky-col .trs-contact-adr {
    color: #444;
    font-size: 0.97em;
    margin-bottom: 1px;
    line-height: 1.35;
}

#top .trs-sticky-col .trs-contact-mail a {
    color: var(--main-color);
    text-decoration: underline dotted;
    font-size: 0.97em;
    transition: color 0.15s;
    word-break: break-all;
}
#top .trs-sticky-col .trs-contact-mail a:hover {
    color: var(--teal-dark);
    text-decoration: underline solid;
}

#top .trs-sticky-col .trs-contact-tel {
    color: var(--secondary-color);
    font-size: 0.97em;
    letter-spacing: 0.01em;
}

@media (max-width: 600px) {
    #top .trs-sticky-col {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
        min-width: 0;
        max-width: 97vw;
    }
}

/* Bloc candidature */
#top .trs-candidature-form {
    background: transparent;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    margin: 2.6rem auto 2.2rem auto !important;
    padding: 0 0 0 0 !important;
}

/*Header des offres*/
#top .trs-offer-header {
	position:relative;
	background-position: right center;
    background-size: 58% auto;
    background-attachment: scroll;
}
#top .trs-offer-header .container{
	z-index:3;
}

#top .trs-offer-header::before {
    /* Dégradé blanc à gauche, transparent à droite */
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(246, 246, 246, 1) 0%,
        rgba(246, 246, 246, 1) 50%,
        rgba(246, 246, 246,0.09) 65%,
        rgba(246, 246, 246,0.0) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Filigrane logo géant à gauche */
#top .trs-offer-header::after {
    content: '';
    position: absolute;
    top: 25px;
    left: -65px;
    width: 500px;
    height: 500px;
    background: url('/wp/wp-content/uploads/2025/07/base_icon_blanc_background.svg') no-repeat center/contain;
    opacity: 0.7;
    z-index: 1;
    pointer-events: none;
}
/* Responsive */
@media (max-width: 900px) {
    #top .trs-offer-header {
        min-height: 230px;
    }
    #top .trs-offer-header::after {
        width: 180px;
        height: 180px;
        left: -25px;
        top: -25px;
    }
}
#top .trs-candidature-form h2 {
    color: var(--main-color);
}
/*Contenu des offre*/
#top .trs-offre-content h2,
#top .trs-offre-content h3,
#top .trs-offre-content h4{
	color:var(--main-color);
}
/*Bordure à gauche d'un bloc*/
#top .trs-left-border{
	border-left: solid 2px;
	border-color: var(--main-color);
}

#top .badge {
    background-color: var(--pill-bg);
    color: var(--main-color);          
    font-size: 14px;
    font-weight: 500;
    line-height: 1.1;
    padding: 5px 15px;
    margin: 0 7px 7px 0;
    border-radius: 999px;
    display: inline-block;
    letter-spacing: 0.03em;
    border: 1.3px solid var(--main-color);
    box-shadow: none;
    transition: background .18s, color .18s;
}

/*block text over image*/
#top div.trs-txt-over-image-left .avia_textblock,
#top div.trs-txt-over-image .avia_textblock{
	position:relative;
	padding: 7%;
	border-radius:var(--border-radius);
	background-color:var(--light-gray);
}
#top div.trs-txt-over-image .avia_textblock{
	right:-80px;
	margin-left:-80px;
}
#top div.trs-txt-over-image-left .avia_textblock{
	left:-80px;
	margin-right:-80px;
}

@media only screen and (max-width:989px){
	#top div.trs-txt-over-image-left .avia_textblock,
	#top div.trs-txt-over-image .avia_textblock{
		margin-left:0;
		margin-right:0;
		margin-bottom:-200px;
		right:0;
		left:0;
	}
	.responsive #top #wrap_all div.flex_column.trs-image-under-txt{
		width:100vw;
		margin-left:-50px;
	}
}

@media only screen and (max-width:767px){
	#top div.trs-txt-over-image-left .avia_textblock,
	#top div.trs-txt-over-image .avia_textblock{
		margin-bottom:-160px;
	}
	.responsive #top #wrap_all div.flex_column.trs-image-under-txt{
		margin-left:-8.8%;
	}
}
#top .trs-image-under-txt img{
	border-radius:var(--border-radius);
}
#top .trs-image-under-txt .avia-slideshow-inner{
	max-height:500px;
}
/* Modification iconebox */
#top .iconbox_top .iconbox_content{
	border-radius:var(--border-radius);
	box-shadow:none;
}


/**Portfolio modification**/
/* ———————————–  Carte générale ———————————– */
#top .grid-entry {
    padding: 14px;
    text-align: left;
}

#top .grid-entry .inner-entry {
    position: relative;
    border: 1px solid var(--teal-light);
    border-radius: var(--border-radius, 8px);
    overflow: hidden;
    background: #fff;
    transition: transform .25s cubic-bezier(.4,.2,.4,1), box-shadow .25s, border-color .25s;
    box-shadow: 0 2px 8px rgba(57,179,166,0.05); 
}

#top .grid-entry .inner-entry:hover {
    transform: translateY(-6px) scale(1.012);
    box-shadow: 0 10px 32px 0 rgba(39,179,172,0.13);
    border-color: var(--main-color);               
}

/* ———————————–  Image + gradient ———————————– */
#top .grid-entry .grid-image {
    position: relative;
}
#top .grid-entry .grid-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      rgba(83, 83, 83,0.80) 0%,    
      rgba(83, 83, 83,0.45) 40%,   
      rgba(83, 83, 83,0.14) 75%,
      rgba(83, 83, 83,0.03) 100%
    );
    z-index: 1;
}

/* ———————————–  Overlay texte ———————————– */
#top .pg-overlay {
    position: absolute;
    z-index: 2;
    top: 1.25rem; left: 1.25rem;
    max-width: 75%;
    color: white;
    pointer-events: none;
    text-shadow: 0 2px 8px rgba(38,126,117,0.18);
    font-family: inherit;
}
#top .pg-cat {
    font-size: .82rem;
    opacity: .95;
    font-weight: 600;
    letter-spacing: .05em;
    color: var(--teal-light);
}
#top .pg-title {
    color: var(--antharcite);
    font-size: 1.12rem;
    line-height: 1.3;
    margin: .15rem 0 .85rem;
    font-family: inherit;
    font-weight: 700;
}

/* ———————————–  Barre “lieu” ———————————– */
.pg-footer {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    background: var(--main-color);                   
    color: var(--teal-light);
    font-size: 1rem;
    text-align: center;
    padding: .88rem 1.1rem;
    z-index: 2;
    border-top: 2px solid var(--main-color);
    font-weight: 500;
    letter-spacing: .03em;
}

/* ———————————–  Masquer l’excerpt Enfold natif
   (option ‘Title and Excerpt’) ———————————– */
#top .grid-entry .grid-content {
    display: none;
}

/* =========  Portfolio Grid – Barre de tri  ========== */

/* conteneur général */
#top .sort_width_container{
    margin-bottom: 2.2rem;        /* espace sous le tri */
    text-align: center;           /* centré */
    font-size: 0;                 /* évite les espaces inline-block */
}

/* flex + wrap */
#top .sort_width_container .sort_by_cat{
    display: inline-flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
}

/* liens / boutons */
#top .sort_width_container .sort_by_cat a{
    position: relative;
    display: inline-block;
    padding: .45rem 1.1rem;
    border-radius: 9999px;        /* pill shape */
    background: var(--pill-bg);
    color: var(--pill-color);
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: background .25s, color .25s, box-shadow .25s;
}

/* compteur dans le pill */
#top .sort_width_container .sort_by_cat small.av-cat-count{
	display:block;
    margin-left: .35rem;
    font-weight: 500;
    opacity: .75;
}

/* hover / focus */
#top .sort_width_container .sort_by_cat a:hover,
#top .sort_width_container .sort_by_cat a:focus{
    background: var(--pill-bg-hover);
    color: var(--pill-color-hover);
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
}

/* état actif */
#top .sort_width_container .sort_by_cat a.active_sort{
    background: var(--pill-bg-hover);
    color: var(--pill-color-hover);
}

/* retire les séparateurs “/” */
#top .sort_width_container .sort_by_cat .text-sep{
    display:none;
}

/* accessibilité focus (clavier) */
#top .sort_width_container .sort_by_cat a:focus-visible{
    outline: 3px solid #0000;             /* reset */
    box-shadow: 0 0 0 3px rgba(39,178,236,.6);
}

/* responsive : empile sous 480 px */
@media (max-width:480px){
    .sort_width_container .sort_by_cat{
        gap: .35rem;
    }
    .sort_width_container .sort_by_cat a{
        padding: .4rem .9rem;
        font-size: .85rem;
    }
}

/* ———————————–  Logo "Spin" ———————————– */
/* Animation de rotation pour le logo */
@keyframes rotate-logo {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.logo-spin {
  animation: rotate-logo 7s linear infinite;
  transform-origin: center center;
}

/* ———————————–  Filtre blanc section "Ce que nous proposons" ———————————– */
@media only screen and (max-width: 989px) {
	.responsive #top #wrap_all .av-break-at-tablet.image-cell-overlay .flex_cell{
		display:flex;
		flex-direction:column-reverse;
	}
}
@media only screen and (max-width: 767px) {
  .responsive #top #wrap_all .av-flex-cells.image-cell-overlay .no_margin .flex_cell{
		display:flex;
		flex-direction:column-reverse;
	}
}
/**********
 * FOOTER *
 **********/
#footer p{
	margin: 0;
}
#socket .copyright{ width : 100%; }

.contact-item {
  display: flex; /* Utilise Flexbox pour aligner horizontalement */
  align-items: start; /* Centre verticalement l’icône et le texte */
  margin-bottom: 15px; /* Espacement entre les éléments */
}

.contact-item .av-icon-char {
  margin-right: 12px; /* Espace entre l’icône et le texte */
  flex-shrink: 0; /* Empêche l’icône de rétrécir */
}

.contact-item .av-icon-char svg {
  width: 26px; /* Taille de l’icône */
  height: 32px;
  fill: white; 
}

.contact-item .contact-detail {
  flex-grow: 1; /* Permet au texte de prendre l’espace restant */
}

.contact-item strong {
  display: block;
  font-weight: 600;
}
#footer {
    padding: 0px;
	padding-top:75px;
}
#footer .container{
	padding-bottom:25px;
}
#footer .widget {
    margin: 0px;
}
#footer .widgettitle {
	width:max-content;
	margin-top:0;
	margin-bottom:15px;
	text-transform:none;
}