/* ===================================================================================

* Theme Name: Aivora Child
* Theme URI: https://themeforest.net/user/xpressbuddy
* Author: XpressBuddy
* Author URI: https://wp.xpressbuddy.com/aivora/
* Description: Aivora is a modern AI Agency & Technology WordPress theme with multiple demos, Elementor support, and responsive design.
* Version: 1.0.0
* Template: aivora
* License: GNU General Public License version 3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Tags: one-column, right-sidebar, left-sidebar, custom-menu, featured-images, post-formats, sticky-post, translation-ready

* We encourage you to create Child theme for any modifications you will want to do.

* Why use Child theme?

* Because of future updates we may provide for this theme that will overwrite your
* modifications and all your custom work.

* If you are not familiar with Child Themes, you can read about it here:
* http://codex.wordpress.org/Child_Themes
* http://wp.tutsplus.com/tutorials/theme-development/child-themes-basics-and-creating-child-themes-in-wordpress/

====================================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

@font-face {
	font-family: 'Keygen';
	src: url('assets/fonts/Keygen.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	--color-secondary: #12314C;
	--font-body: 'Manrope', sans-serif;
	--font-heading: 'Keygen', sans-serif;
}

.xb-feature-item .xb-item--icon img {
	width: 58px;
	height: 58px;
	max-width: 58px;
	max-height: 58px;
	object-fit: contain;
}

.feature .xb-feature-item2 .xb-item--icon {
	flex: 0 0 52px;
	overflow: hidden;
}

.feature .xb-feature-item2 .xb-item--icon img {
	width: 30px !important;
	height: 30px !important;
	max-width: 30px !important;
	max-height: 30px !important;
	object-fit: contain;
}

.xb-feature-shape {
	isolation: isolate;
	z-index: 0;
}

.xb-feature-shape li:first-child svg path,
.xb-feature-shape li:nth-child(3) svg path {
	stroke: #78b2bc;
}

.service .custom-sec-title .title {
	display: block !important;
	margin-left: 0;
}

.service .custom-sec-title .sub-title {
	display: block;
	margin-top: 24px;
	padding-left: 0;
	transform: none;
	text-transform: none;
}

.service .custom-sec-title .sub-title::before,
.service .custom-sec-title .sub-title::after {
	display: none;
}

.service .xb-service-item .xb-item--icon {
	display: none !important;
}

.service .xb-service-item .xb-item--title {
	font-family: var(--font-body) !important;
	letter-spacing: 0 !important;
}

.service .xb-service-item .xb-item--content {
	display: block;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-y;
	padding-right: 12px;
	margin-bottom: 24px;
	scrollbar-width: thin;
	scrollbar-color: rgba(120, 178, 188, 0.85) rgba(18, 49, 76, 0.3);
}

.service .xb-service-item .xb-item--content::-webkit-scrollbar {
	width: 6px;
}

.service .xb-service-item .xb-item--content::-webkit-scrollbar-track {
	background: rgba(18, 49, 76, 0.3);
	border-radius: 10px;
}

.service .xb-service-item .xb-item--content::-webkit-scrollbar-thumb {
	background: rgba(120, 178, 188, 0.85);
	border-radius: 10px;
}

@media (max-width: 767px) {
	.service .xb-service-item .xb-item--content {
		max-height: 220px;
	}
}

@media (min-width: 768px) {
	.service .xb-service-item {
		height: 680px;
	}

	.service .xb-service-item .xb-item--item {
		padding: 40px 32px 45px;
	}

	.service .xb-service-item .xb-item--head-item .xb-item--title {
		font-size: clamp(32px, 2vw, 36px) !important;
	}

	.service .xb-service-item .service-vertical-text .xb-item--title {
		font-size: clamp(26px, 1.8vw, 32px) !important;
		top: 40%;
		left: 50%;
		width: max-content;
		max-width: none;
		display: block;
		transform: translate(-50%, -50%) rotate(-90deg);
		transform-origin: center;
	}

	.service .xb-service-item .xb-item--content {
		max-height: 230px;
		font-size: 16px;
		line-height: 26px;
	}

	.service .xb-service-item .xb-item--img {
		height: 210px;
	}

	.service .xb-service-item .xb-item--img > img {
		height: 100%;
		object-fit: cover;
	}
}

@media (min-width: 768px) and (max-width: 1500px) {
	.service .xb-service-item {
		height: 620px;
	}

	.service .xb-service-item .xb-item--item {
		padding: 32px 24px 36px;
	}

	.service .xb-service-item .xb-item--content {
		max-height: 190px;
	}

	.service .xb-service-item .xb-item--img {
		height: 180px;
	}
}

.xb-service-item .xb-item--img > img {
	display: block;
	width: 100%;
	height: auto;
}

.xb-service-item .xb-item--img > img:nth-of-type(n+2) {
	display: none;
}

.xb-project-wrap_2 .xb-item--badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.xb-project-wrap_2 .xb-item--badges li {
	padding: 7px 14px;
	border: 1px solid rgba(255, 255, 255, 0.48);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 4px 12px rgba(18, 49, 76, 0.12);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}

@media (max-width: 767px) {
	.xb-project-wrap_2 .xb-item--badges {
		gap: 8px;
		margin-top: 20px;
	}

	.xb-project-wrap_2 .xb-item--badges li {
		padding: 6px 11px;
		font-size: 13px;
	}
}

#about_profile .img-hove-effect .xb-img {
	text-align: right;
}

#about_profile .img-hove-effect .xb-img img {
	max-width: 70% !important;
	border-radius: 10px;
}

#about_profile .img-hove-effect .xb-img a:nth-child(2),
#about_profile .img-hove-effect .xb-img a:nth-child(3),
#about_profile .img-hove-effect .xb-img a:nth-child(4) {
	display: none;
}

#about_profile .img-hove-effect .xb-img a {
	pointer-events: none;
	cursor: default;
}

#about_profile .xb-project-content .thm-btn {
	display: none;
	pointer-events: none;
	cursor: default;
}

/*
 * Keep the profile portrait visible without letting the glass content panel
 * cover the subject at tablet widths. The parent theme hides project images
 * completely below 768px, so the mobile rules explicitly restore it.
 */
@media (min-width: 768px) and (max-width: 1199px) {
	#about_profile .xb-project-wrap_2 .xb-project-item {
		display: grid;
		grid-template-columns: minmax(0, 58%) minmax(0, 42%);
		align-items: stretch;
	}

	#about_profile .xb-project-wrap_2 .xb-project-content {
		position: relative;
		z-index: 1;
		width: 100%;
	}

	#about_profile .xb-project-wrap_2 .xb-project-content .xb-item--inner {
		width: 100%;
		height: 100%;
	}

	#about_profile .xb-project-img {
		z-index: 0;
		width: 100%;
		height: 100%;
		max-width: none;
	}

	#about_profile .xb-project-img .xb-img,
	#about_profile .xb-project-img .xb-img > a {
		display: block;
		height: 100%;
	}

	#about_profile .img-hove-effect .xb-img img {
		display: block;
		width: 100%;
		height: 100%;
		max-width: none !important;
		object-fit: cover;
		object-position: 58% center;
	}
}

@media (max-width: 767px) {
	#about_profile .xb-project-wrap_2 .xb-project-item {
		display: flex;
		flex-direction: column;
		gap: 16px;
	}

	#about_profile .xb-project-content {
		order: 2;
		width: 100%;
	}

	#about_profile .xb-project-img {
		display: block;
		order: 1;
		z-index: 0;
		width: 100%;
		height: clamp(220px, 66vw, 340px);
		max-width: none;
	}

	#about_profile .xb-project-img .xb-img,
	#about_profile .xb-project-img .xb-img > a {
		display: block;
		height: 100%;
	}

	#about_profile .img-hove-effect .xb-img img {
		display: block;
		width: 100%;
		height: 100%;
		max-width: none !important;
		object-fit: cover;
		object-position: 58% center;
	}
}

#about_01 section {
	padding-bottom: 0 !important;
}

#about_01 .sec-title-center .sub-title::before {
	right: -13px !important;
}

.xb-testimonial-item .xb-item--rating li svg path {
	fill: white !important
}

.xb-testimonial-item .xb-item--rating {
	background: var(--color-secondary);
}

/* Bloc "Dans quelles situations faire appel a Atout Paie ?" */
#navig_avis .xb-testimonial-slider {
	margin-right: clamp(16px, 3vw, 48px);
	margin-left: clamp(16px, 3vw, 48px);
}

#navig_avis .xb-testimonial-slider .swiper-wrapper {
	align-items: stretch;
}

#navig_avis .xb-testimonial-slider .swiper-slide {
	height: auto;
}

#navig_avis .xb-testimonial-item,
#navig_avis .xb-testimonial-item .xb-item--inner {
	height: 100%;
}

#navig_avis .xb-testimonial-item .xb-item--author {
	display: none !important;
}

#navig_avis .xb-testimonial-item .xb-item--content {
	font-size: 18px;
	line-height: 1.55;
	margin: 20px 0 0;
}

#navig_avis .xb-testimonial-item .xb-item--rating {
	gap: 6px;
}

#navig_avis .xb-testimonial-item .xb-item--rating li {
	font-size: 17px;
}

#navig_avis .xb-testimonial-item .xb-item--rating li svg {
	width: 17px;
	height: 16px;
}

@media only screen and (max-width: 767px) {
	#navig_avis .xb-testimonial-item .xb-item--content {
		font-size: 16px;
		line-height: 1.5;
	}

	#navig_avis .xb-testimonial-item .xb-item--rating li {
		font-size: 16px;
	}

	#navig_avis .xb-testimonial-item .xb-item--rating li svg {
		width: 15px;
		height: 14px;
	}
}

.footer-style-one .xb-footer-bottom {
	position: relative;
	margin-top: 20px;
}

.footer-style-one .xb-footer-bottom .contact-item:not(:last-child) {
	border-right: none;
}

.footer-style-one .xb-footer-nav .xb-footer-nav-item:first-child {
	text-align: left;
}

.footer-style-one .xb-footer-nav .xb-footer-nav-item:last-child {
	text-align: right;
}

.footer-style-one .xb-footer-bottom .contact-item:first-child {
	justify-content: flex-start;
	text-align: left;
	padding-left: 50px;
}

.footer-style-one .xb-footer-bottom .contact-item:first-child svg {
	order: 2;
	flex-shrink: 0;
}

.footer-style-one .xb-footer-bottom .contact-item:last-child {
	justify-content: flex-end;
	text-align: right;
	padding-right: 50px;
}

.footer-style-one .xb-footer-bottom .contact-item:first-child svg path,
.footer-style-one .xb-footer-bottom .contact-item:last-child svg path {
	fill: #78b2bc !important;
}

@media (max-width: 767px) {
	.footer-style-one .xb-footer-nav {
		align-items: flex-start;
	}

	.footer-style-one .xb-footer-nav .xb-footer-nav-item,
	.footer-style-one .xb-footer-nav .xb-footer-nav-item:first-child,
	.footer-style-one .xb-footer-nav .xb-footer-nav-item:last-child {
		text-align: left;
	}

	.footer-style-one .xb-footer-bottom {
		flex-direction: column;
		align-items: stretch;
	}

	.footer-style-one .xb-footer-bottom .contact-item,
	.footer-style-one .xb-footer-bottom .contact-item:first-child,
	.footer-style-one .xb-footer-bottom .contact-item:last-child,
	.footer-style-one .xb-footer-bottom .copyright-item {
		justify-content: flex-start;
		width: 100%;
		padding-right: 20px;
		padding-left: 20px;
		text-align: left;
	}

	.footer-style-one .xb-footer-bottom .contact-item:first-child {
		order: 1;
	}

	.footer-style-one .xb-footer-bottom .contact-item:last-child {
		order: 2;
	}

	.footer-style-one .xb-footer-bottom .copyright-item {
		order: 3;
	}

	.footer-style-one .xb-footer-bottom .contact-item:not(:last-child) {
		border-bottom: none;
	}

	.footer-style-one .xb-footer-bottom .contact-item:first-child,
	.footer-style-one .xb-footer-bottom .contact-item:last-child {
		border-bottom: 1px solid #262833;
	}
}

.contact-section .xb-contact-inner {
	background: linear-gradient(52deg, #12314C 0%, #78b2bc 100%) !important;
	justify-content: flex-start;
	gap: 28px;
	padding-top: 100px;
}

.contact-section .xb-contact-item {
	max-width: none;
}

.contact-section .xb-contact-item .xb-item--content {
	white-space: nowrap;
}

@media (max-width: 575px) {
	.contact-section .xb-contact-item .xb-item--content {
		white-space: normal;
	}
}

.contact-section .xb-contact-form .xb-input-field input,
.contact-section .xb-contact-form .xb-input-field textarea,
.contact-section .xb-contact-form .xb-select-field .nice-select,
.contact-section .xb-contact-form .xb-select-file {
	background: #fff !important;
	border-color: rgba(18, 49, 76, 0.28) !important;
	color: var(--color-secondary) !important;
}

.contact-section .xb-contact-form .xb-input-field input:focus,
.contact-section .xb-contact-form .xb-input-field textarea:focus,
.contact-section .xb-contact-form .xb-select-field .nice-select.open {
	border-color: #78b2bc !important;
	box-shadow: 0 0 0 1px rgba(120, 178, 188, 0.35);
}

.contact-section .xb-contact-form .xb-input-field label,
.contact-section .xb-contact-form .xb-select-field .nice-select .current,
.contact-section .xb-contact-form .xb-select-file,
.contact-section .xb-contact-form .xb-select-file .attach-file {
	color: rgba(18, 49, 76, 0.68) !important;
	text-transform: none !important;
}

.contact-section .xb-contact-form .xb-input-field input::placeholder,
.contact-section .xb-contact-form .xb-input-field textarea::placeholder {
	color: rgba(18, 49, 76, 0.58) !important;
	opacity: 1;
	text-transform: none !important;
}

/* CF7 enveloppe les champs : le label n'est plus adjacent à l'input. */
.contact-section .xb-contact-form .xb-input-field:focus-within > label,
.contact-section .xb-contact-form .xb-input-field:has(.wpcf7-form-control-wrap input[placeholder]:not(:placeholder-shown)) > label,
.contact-section .xb-contact-form .xb-input-field:has(.wpcf7-form-control-wrap textarea[placeholder]:not(:placeholder-shown)) > label {
	transform: translate(15px, -50%);
	opacity: 0;
}

/* Superposer le vrai champ fichier à toute sa zone visible. */
.contact-section .xb-contact-form .xb-select-file .wpcf7-form-control-wrap {
	position: absolute;
	inset: 0;
	z-index: 2;
}

.contact-section .xb-contact-form .xb-select-file input[type="file"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.contact-section .xb-contact-form .xb-select-file .attach-file,
.contact-section .xb-contact-form .xb-select-file .icon {
	pointer-events: none;
}

.contact-section .xb-contact-form .xb-select-file .attach-file {
	max-width: calc(100% - 68px);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.contact-section .xb-contact-form .xb-select-file.has-file .attach-file {
	border-color: #78b2bc;
	background: rgba(120, 178, 188, 0.18);
}

.contact-section .xb-contact-form .xb-input-field .icon:before {
	filter: none !important;
	opacity: 0.85;
}

.contact-section .xb-contact-form .xb-select-field .nice-select:after {
	border-color: var(--color-secondary) !important;
}

.contact-section .xb-contact-form .xb-select-field .nice-select .list {
	background: #fff;
	border: 1px solid rgba(18, 49, 76, 0.18);
	box-shadow: 0 16px 30px rgba(0, 2, 15, 0.16);
}

.contact-section .xb-contact-form .xb-select-field .nice-select .option {
	color: var(--color-secondary);
}

.contact-section .xb-contact-form .xb-select-field .nice-select .option:hover,
.contact-section .xb-contact-form .xb-select-field .nice-select .option.focus,
.contact-section .xb-contact-form .xb-select-field .nice-select .option.selected.focus {
	background: rgba(120, 178, 188, 0.18);
}

.contact-section .xb-contact-form .wpcf7-not-valid-tip,
.contact-section .xb-contact-form .wpcf7-response-output {
	color: #fff;
}

.contact-section .xb-contact-form .form-btn {
	position: relative;
}

.contact-section .xb-contact-form form.submitting .form-btn,
.contact-section .xb-contact-form .form-btn:disabled {
	cursor: wait;
	opacity: 0.72;
	pointer-events: none;
}

.contact-section .xb-contact-form form.submitting .form-btn {
	padding-right: 64px;
}

.contact-section .xb-contact-form form.submitting .form-btn::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 32px;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	border: 2px solid rgba(18, 49, 76, 0.25);
	border-top-color: var(--color-secondary);
	border-radius: 50%;
	animation: contactBtnLoader 0.8s linear infinite;
}

.contact-section .xb-contact-form .wpcf7-spinner {
	background-color: var(--color-secondary);
	margin: 12px auto 0;
	display: block;
}

.contact-section .xb-contact-form form.submitting .wpcf7-spinner {
	visibility: visible;
}

.hero-style .hero-icon {
	transform: unset !important;
}

.hero-style .hero-icon img {
	width: 60% !important;
}

/* Improve the legibility of the Hero One content over its background image. */
.hero-style::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(
		90deg,
		rgba(18, 49, 76, 0.92) 0%,
		rgba(18, 49, 76, 0.72) 48%,
		rgba(18, 49, 76, 0.12) 100%
	);
}

.hero-style > .container {
	position: relative;
	z-index: 1;
}

.hero-style .hero-content .title,
.hero-style .hero-content .sub-title {
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-style .hero-content .agency-btn {
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.hero-style > .container > .row.mt-55 {
	padding-bottom: 80px;
}

@media (max-width: 767px) {
	.hero-style > .container > .row.mt-55 {
		padding-bottom: 50px;
	}

	.hero-style .hero-icon {
        margin-right: 0px;
        transform: translate(70px, 30px);
		text-align: center;
        margin-top: 50px;
		opacity: 0.7;
    }
}

/* Hero One: let the fourth feature span the full desktop row. */
@media (min-width: 992px) {
	.hero-style > .container > .row.mt-55 > .col-lg-4:nth-child(-n+3) .xb-feature-item,
	.hero-style > .container > .row.mt-55 > .col-lg-4:nth-child(-n+3) .xb-item--inner {
		height: 100%;
	}

	.hero-style > .container > .row.mt-55 > .col-lg-4:nth-child(4):last-child {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.hero-style > .container > .row.mt-55 > .col-lg-4:nth-child(4):last-child .xb-item--inner {
		display: flex;
		align-items: flex-start;
		gap: 30px;
	}

	.hero-style > .container > .row.mt-55 > .col-lg-4:nth-child(4):last-child .xb-item--icon {
		flex: 0 0 100px;
	}

	.hero-style > .container > .row.mt-55 > .col-lg-4:nth-child(4):last-child .xb-item--holder {
		flex: 1 1 auto;
		min-width: 0;
	}

	.hero-style > .container > .row.mt-55 > .col-lg-4:nth-child(4):last-child .xb-item--title {
		margin-top: 0;
	}
}

.xb-header-mobile-search {
	display: none !important;
}

.header-style--one .main-menu > ul > li > a {
	background-color: var(--color-secondary);
	font-size:14px;
}

@keyframes contactBtnLoader {
	to {
		transform: rotate(360deg);
	}
}


body,
p,
a,
li,
span,
button,
input,
select,
textarea,
.thm-btn,
.elementor-button,
.xb-item--text,
.sub-title,
.content,
.menu-item a {
	font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.elementor-heading-title,
.sec-title .title,
.sec-title--two .title,
.sec-title-three .title,
.hero-content .title,
.custom-sec-title .title,
.about-sec-title .title,
.about-sec-title-two .title,
.feature-sec-title .title,
.pricing-sec-title .title,
.details-title,
.details-content-title,
.item_details_info_heading,
.xb-item--title,
.xb-title,
.post-title,
.blog-title,
.iconbox_title,
.cta-title,
.form-heading .title {
	font-family: var(--font-heading) !important;
}

footer {
	padding-top: 0 !important;
}

.xb-footer-heading .mail svg path {
	fill: var(--color-secondary);
}

.xb-footer-heading .mail {
	padding: 10px 40px;
	color: var(--color-secondary);
}

@media (max-width: 767px) {
	.xb-footer-heading .mail {
		gap: clamp(8px, 2.5vw, 14px);
		max-width: calc(100vw - 32px);
		padding: 10px clamp(14px, 4vw, 24px);
		font-size: clamp(13px, 4vw, 18px);
		line-height: 1.2;
		white-space: nowrap;
	}

	.xb-footer-heading .mail svg {
		flex: 0 0 auto;
		width: clamp(28px, 9vw, 40px);
		height: auto;
	}
}

.xb-footer-heading .mail::before {
	background: linear-gradient(52deg, #78b2bc 0%, #ffffff 49%, #12314C 100%) !important;
	background-size: 200% 200% !important;
	animation: gradient 5s ease-in-out infinite alternate;
}
