/* =============================================
   HD Distribution - Custom Elementor Widgets
   Style coherent avec le theme Logistify
   ============================================= */


/* ========================================
   1. WRAPPER
   ======================================== */

.hd-sp-wrapper {
	background-color: transparent;
}

/* Breadcrumb : centrer le titre */
.log-breadcrumb-section .breadcrumb-content {
	text-align: center;
}

.log-breadcrumb-section .breadcrumb-content .breadcrumb_title {
	text-align: center;
}


/* ========================================
   2. ZONES DE CONTENU (haut / bas)
   ======================================== */

.hd-sp-content {
	margin-bottom: 50px;
}

.hd-sp-content--bottom {
	margin-top: 50px;
	margin-bottom: 0;
}

.hd-sp-content h2 {
	font-family: var(--log-heading, "Urbanist", sans-serif);
	font-size: 44px;
	font-weight: 800;
	padding-bottom: 20px;
	color: var(--laa-clr-sd-4, #183e38);
}

.hd-sp-content h3 {
	font-family: var(--log-heading, "Urbanist", sans-serif);
	font-size: 32px;
	font-weight: 800;
	padding-bottom: 15px;
	margin-top: 10px;
	color: var(--laa-clr-sd-4, #183e38);
}

.hd-sp-content p {
	font-family: var(--log-body-font, "Urbanist", sans-serif);
	font-size: 17px;
	line-height: 1.75;
	color: var(--log-body-color, #6A6A6A);
	padding-bottom: 15px;
}

.hd-sp-content p:last-child {
	padding-bottom: 0;
}

.hd-sp-content strong {
	color: var(--laa-clr-h1, #1A2D4E);
}

.hd-sp-content a {
	color: var(--laa-clr-sd-2, #fa7238);
	text-decoration: none;
	font-weight: 700;
	transition: color 300ms ease;
}

.hd-sp-content a:hover {
	color: var(--laa-clr-sd-3, #ff5c01);
	text-decoration: underline;
}

@media (max-width: 767px) {
	.hd-sp-content h2 {
		font-size: 32px;
	}
	.hd-sp-content h3 {
		font-size: 24px;
	}
	.hd-sp-content {
		margin-bottom: 35px;
	}
	.hd-sp-content--bottom {
		margin-top: 35px;
	}
}


/* ========================================
   3. GRILLE DES SERVICES
   ======================================== */

.hd-sp-services {
	width: 100%;
	overflow: visible;
	padding: 10px;
	margin: -10px;
}

.hd-sp-services__header {
	margin-bottom: 40px;
}

.hd-sp-services__header .section_title {
	font-family: var(--log-heading, "Urbanist", sans-serif);
	font-size: 44px;
	font-weight: 800;
	color: var(--laa-clr-sd-4, #183e38);
}

@media (max-width: 767px) {
	.hd-sp-services__header .section_title {
		font-size: 32px;
	}
	.hd-sp-services__header {
		margin-bottom: 25px;
	}
}


/* ========================================
   4. CARTES SERVICES
   ======================================== */

.hd-sp-card-col {
	margin-bottom: 30px;
}

.hd-sp-card {
	background-color: #ffffff;
	border-radius: 20px;
	padding: 0;
	box-shadow: 0px 4px 25px 0px rgba(19, 19, 19, 0.08);
	transition: all 500ms ease;
	height: 100%;
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
}

.hd-sp-card:hover {
	transform: translateY(-6px);
	box-shadow: 0px 10px 35px 0px rgba(19, 19, 19, 0.12);
}

/* Image */
.hd-sp-card__thumb {
	position: relative;
	overflow: hidden;
	line-height: 0;
}

.hd-sp-card__thumb a {
	display: block;
}

.hd-sp-card__img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	transition: all 600ms ease;
}

.hd-sp-card:hover .hd-sp-card__img {
	transform: scale(1.08);
}

/* Icone */
.hd-sp-card__icon {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 25px 30px 0 30px;
	flex-shrink: 0;
	transition: 500ms cubic-bezier(0.4, 0.65, 0.81, 0.58);
}

.hd-sp-card__icon i {
	font-size: 24px;
	color: var(--laa-clr-sd-2, #fa7238);
}

.hd-sp-card:hover .hd-sp-card__icon {
	transform: rotateY(-360deg);
}

.hd-sp-card > .hd-sp-card__icon:first-child {
	margin-top: 30px;
}

/* Titre */
.hd-sp-card__title {
	font-family: var(--log-heading, "Urbanist", sans-serif);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.3;
	margin: 15px 30px 8px 30px;
	color: var(--laa-clr-sd-4, #183e38);
}

.hd-sp-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color 300ms ease;
}

.hd-sp-card__title a:hover {
	color: var(--laa-clr-sd-2, #fa7238);
}

/* Extrait */
.hd-sp-card__excerpt {
	font-family: var(--log-body-font, "Urbanist", sans-serif);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.7;
	color: var(--log-body-color, #6A6A6A);
	margin: 0 30px;
	flex-grow: 1;
}

/* Bouton */
.hd-sp-card__btn-wrap {
	padding: 20px 30px 30px 30px;
}

.hd-sp-card__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 30px;
	border-radius: 40px;
	background-color: var(--laa-clr-sd-2, #fa7238);
	color: #ffffff;
	font-family: var(--log-heading, "Urbanist", sans-serif);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	border: 2px solid transparent;
	transition: all 400ms ease;
	white-space: nowrap;
}

.hd-sp-card__btn:hover {
	color: var(--laa-clr-sd-2, #fa7238);
	background-color: transparent;
	border-color: var(--laa-clr-sd-2, #fa7238);
	box-shadow: 0 5px 0 0 var(--laa-clr-sd-3, #ff5c01);
}

.hd-sp-card__btn i {
	font-size: 12px;
	transition: transform 300ms ease;
}

.hd-sp-card__btn:hover i {
	transform: rotate(-45deg);
}

/* Responsive */

@media (max-width: 991px) {
	.hd-sp-card__title {
		font-size: 20px;
	}
	.hd-sp-card__img {
		height: 180px;
	}
}

@media (max-width: 767px) {
	.hd-sp-card-col {
		margin-bottom: 20px;
	}
	.hd-sp-card__title {
		font-size: 18px;
		margin: 12px 20px 6px 20px;
	}
	.hd-sp-card__excerpt {
		margin: 0 20px;
		font-size: 14px;
	}
	.hd-sp-card__icon {
		width: 60px;
		height: 60px;
		margin: 20px 20px 0 20px;
	}
	.hd-sp-card__icon i {
		font-size: 20px;
	}
	.hd-sp-card__btn-wrap {
		padding: 15px 20px 25px 20px;
	}
	.hd-sp-card__btn {
		padding: 12px 22px;
		font-size: 14px;
	}
}


/* ========================================
   SECTEURS D'EXPERTISE
   ======================================== */

/* -- Mode Cartes -- */

.hd-sectors-grid {
	width: 100%;
}

.hd-sector-card-col {
	margin-bottom: 30px;
}

.hd-sector-card {
	background-color: #ffffff;
	border-radius: 20px;
	padding: 30px;
	box-shadow: 0px 4px 25px 0px rgba(19, 19, 19, 0.08);
	transition: all 500ms ease;
	height: 100%;
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
}

.hd-sector-card:hover {
	transform: translateY(-6px);
	box-shadow: 0px 10px 35px 0px rgba(19, 19, 19, 0.12);
}

/* Image */
.hd-sector-card__thumb {
	position: relative;
	overflow: hidden;
	line-height: 0;
	margin: -30px -30px 20px -30px;
	border-radius: 20px 20px 0 0;
}

.hd-sector-card__thumb a {
	display: block;
}

.hd-sector-card__img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	transition: all 600ms ease;
}

.hd-sector-card:hover .hd-sector-card__img {
	transform: scale(1.08);
}

/* Icone */
.hd-sector-card__icon {
	width: 65px;
	height: 65px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
	flex-shrink: 0;
	background-color: #fff4e6;
	transition: 500ms cubic-bezier(0.4, 0.65, 0.81, 0.58);
}

.hd-sector-card__icon i {
	font-size: 22px;
	color: var(--laa-clr-sd-2, #fa7238);
}

.hd-sector-card:hover .hd-sector-card__icon {
	transform: rotateY(-360deg);
}

/* Titre */
.hd-sector-card__title {
	font-family: var(--log-heading, "Urbanist", sans-serif);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.3;
	margin-bottom: 10px;
	color: var(--laa-clr-sd-4, #183e38);
}

.hd-sector-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color 300ms ease;
}

.hd-sector-card__title a:hover {
	color: var(--laa-clr-sd-2, #fa7238);
}

/* Description */
.hd-sector-card__desc {
	font-family: var(--log-body-font, "Urbanist", sans-serif);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.7;
	color: var(--log-body-color, #6A6A6A);
	flex-grow: 1;
}

.hd-sector-card__desc p {
	margin-bottom: 10px;
}

.hd-sector-card__desc p:last-child {
	margin-bottom: 0;
}

.hd-sector-card__desc strong {
	color: var(--laa-clr-h1, #1A2D4E);
}

.hd-sector-card__desc a {
	color: var(--laa-clr-sd-2, #fa7238);
	text-decoration: none;
	font-weight: 700;
	transition: color 300ms ease;
}

.hd-sector-card__desc a:hover {
	color: var(--laa-clr-sd-3, #ff5c01);
	text-decoration: underline;
}


/* -- Mode Alterne -- */

.hd-sectors-alt {
	width: 100%;
}

.hd-sectors-alt__item {
	display: flex;
	align-items: center;
	gap: 50px;
	padding: 40px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.hd-sectors-alt__item:first-child {
	padding-top: 0;
}

.hd-sectors-alt__item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.hd-sectors-alt__item--reverse {
	flex-direction: row-reverse;
}

.hd-sectors-alt__text {
	flex: 1;
}

.hd-sectors-alt__img {
	flex: 0 0 40%;
	max-width: 40%;
	overflow: hidden;
	border-radius: 20px;
}

.hd-sectors-alt__img img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	border-radius: 20px;
	transition: all 600ms ease;
}

.hd-sectors-alt__item:hover .hd-sectors-alt__img img {
	transform: scale(1.05);
}

/* Icone dans mode alterne */
.hd-sectors-alt__text .hd-sector-card__icon {
	margin-bottom: 15px;
}

/* Titre dans mode alterne */
.hd-sectors-alt__text .hd-sector-card__title {
	font-size: 28px;
	margin-bottom: 12px;
}

/* Responsive secteurs */

@media (max-width: 991px) {
	.hd-sector-card__title {
		font-size: 20px;
	}
	.hd-sectors-alt__item {
		flex-direction: column;
		gap: 25px;
	}
	.hd-sectors-alt__item--reverse {
		flex-direction: column;
	}
	.hd-sectors-alt__img {
		flex: none;
		max-width: 100%;
		width: 100%;
	}
	.hd-sectors-alt__text .hd-sector-card__title {
		font-size: 24px;
	}
}

@media (max-width: 767px) {
	.hd-sector-card-col {
		margin-bottom: 20px;
	}
	.hd-sector-card {
		padding: 20px;
	}
	.hd-sector-card__thumb {
		margin: -20px -20px 15px -20px;
	}
	.hd-sector-card__icon {
		width: 55px;
		height: 55px;
	}
	.hd-sector-card__icon i {
		font-size: 18px;
	}
	.hd-sector-card__title {
		font-size: 18px;
	}
	.hd-sectors-alt__item {
		padding: 25px 0;
	}
	.hd-sectors-alt__img img {
		height: 200px;
	}
	.hd-sectors-alt__text .hd-sector-card__title {
		font-size: 20px;
	}
}


/* ========================================
   SERVICE DETAIL - FAQ
   ======================================== */

.hd-faq {
	margin-top: 50px;
	padding-top: 50px;
	border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.hd-faq__title {
	font-family: var(--log-heading, "Urbanist", sans-serif);
	font-size: 36px;
	font-weight: 800;
	color: var(--laa-clr-sd-4, #183e38);
	margin-bottom: 30px;
}

/* Override max-width du theme pour prendre toute la largeur */
.hd-faq .log-faq-accordion-area {
	max-width: 100% !important;
}

/* Ajustement box-shadow sur les boutons FAQ */
.hd-faq .log-faq-accordion-area .accordion-button {
	box-shadow: 0px 4px 20px 0px rgba(19, 19, 19, 0.06);
}

/* Styles pour les reponses FAQ */
.hd-faq .accordion-body p {
	font-family: var(--log-body-font, "Urbanist", sans-serif);
	font-size: 16px;
	line-height: 1.75;
	color: var(--log-body-color, #6A6A6A);
	margin-bottom: 10px;
}

.hd-faq .accordion-body p:last-child {
	margin-bottom: 0;
}

.hd-faq .accordion-body strong {
	color: var(--laa-clr-h1, #1A2D4E);
}

.hd-faq .accordion-body a {
	color: var(--laa-clr-sd-2, #fa7238);
	text-decoration: none;
	font-weight: 700;
	transition: color 300ms ease;
}

.hd-faq .accordion-body a:hover {
	color: var(--laa-clr-sd-3, #ff5c01);
	text-decoration: underline;
}

/* H3 dans accordion-header : reset pour ne pas heriter du style global */
.hd-faq .accordion-header {
	margin: 0;
	padding: 0;
	font-size: inherit;
}

@media (max-width: 767px) {
	.hd-faq {
		margin-top: 35px;
		padding-top: 35px;
	}
	.hd-faq__title {
		font-size: 28px;
		margin-bottom: 20px;
	}
}

/* ========================================
   HEADER - Overrides
   ======================================== */

/* Masque le burger menu seulement a partir de 1200px (grand desktop).
   Sous 1200px, le bouton CTA .laa-pr-btn-1 est masque par le parent
   entre 992-1199px : on laisse alors le burger reapparaitre pour
   donner acces au menu mobile/offcanvas. */
@media (min-width: 1200px) {
	.laa-header-1-main-action-link .laa-menu-btn-1 {
		display: none;
	}
}

/* ========================================
   BREADCRUMB - Overrides
   ======================================== */

/* Retire la bordure pointillee autour de la liste
   et force un alignement vertical propre des items dans la pill */
.log-breadcrumb-section .breadcrumb-content ul {
	border: none;
	display: flex;
	align-items: center;
}

/* Ramene la line-height au plus juste pour que le texte
   soit visuellement centre dans la pill (et alignee avec le chevron) */
.log-breadcrumb-section .breadcrumb-content ul li {
	display: flex;
	align-items: center;
	line-height: 1;
}

/* Remplace l'icone SVG entre les items par un double chevron FontAwesome
   (fa-angles-right) en couleur d'accent du theme */
.log-breadcrumb-section .breadcrumb-content ul li:before {
	background-image: none;
	width: auto;
	height: auto;
	content: "\f101";
	font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
	font-weight: 900;
	font-size: 14px;
	top: 50%;
	right: -28px;
	transform: translateY(-50%);
	color: var(--laa-clr-sd-2);
	line-height: 1;
}

/* Hover sur les liens : passe a la couleur d'accent du theme */
.log-breadcrumb-section .breadcrumb-content ul li a {
	transition: color 0.25s ease;
}

.log-breadcrumb-section .breadcrumb-content ul li a:hover {
	color: var(--laa-clr-sd-2);
}

/* Page courante (dernier item, sans lien) : couleur d'accent du theme */
.log-breadcrumb-section .breadcrumb-content ul li:last-child {
	color: var(--laa-clr-sd-2);
}
