/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Description: A child theme of Hello Elementor.
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* Custom CSS starts here */

body {
    max-width: 100%;
    overflow-x: hidden;
}


/* Site Logo Styling */
.site-branding .custom-logo {
    max-height: 88px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.site-logo :hover .custom-logo {
    transform: scale(1.05);
}

/* Header Scroll Effect (Frosted Glass) */
.site-header {
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease, border-bottom 0.4s ease !important;
}

.site-header.header--scrolled {
    background-color: rgba(255, 255, 255, var(--pft-header-scrolled-opacity, 0.8)) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03) !important;
}

/* Partners Grid & Cards (Premium Bento Style) */
/* Partners List - Static Horizontal Row */
.pft34-partners-static-container {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 20px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    width: 100%;
}

.partners-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap; /* Mise en ligne sur une seule rangée */
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.partners-row::-webkit-scrollbar {
    display: none;
}

.partner-item {
    position: relative;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0.8rem 1.2rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
    text-decoration: none;
    min-width: 110px;
    height: 70px;
    flex: 0 0 auto;
}

.partner-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

.partner-item:hover {
    border-color: rgba(0, 0, 0, 0.05); /* No change on hover */
}

.partner-item::after {
    display: none; /* Remove glow effect */
}

.partner-logo-wrap {
    height: 40px;
    width: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none;
    z-index: 1;
}

.partner-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
}




/* Material Styling */
.materiel-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 30px;
	padding: 20px 0;
}

/* ========================================
   Modern Footer Styling (Fixed Full-Width)
======================================== */
.custom-footer {
    background-color: #0c111d !important;
    color: #94a3b8 !important;
    padding: 0 !important;
    font-family: inherit;
    line-height: 1.6;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    clear: both !important;
}

#site-footer.alignfull {
    width: 100% !important;
    max-width: 100% !important;
}

.footer-main-wrapper {
    padding: 100px 0 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1240px;
    margin: 0 auto !important;
    padding: 0 40px !important;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 60px;
}

@media (max-width: 1100px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-socials {
        justify-content: center;
    }
    
    .contact-item {
        justify-content: center;
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: #ffffff !important;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2.5rem !important;
    position: relative;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.footer-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #475569 !important;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Brand Column */
.footer-logo {
    margin-bottom: 2rem;
    display: inline-block;
}

.footer-logo-img {
    display: block !important;
    max-width: 220px !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain !important;
    filter: brightness(1.1);
}

.footer-about-text {
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    color: #94a3b8;
    max-width: 320px;
    line-height: 1.6;
}

/* Widget Compatibility */
.footer-widget {
    margin-bottom: 2rem;
}

.footer-widget .footer-title {
    margin-bottom: 1.5rem !important;
}

.footer-widget ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-widget li {
    margin-bottom: 0.8rem;
}

.footer-widget a {
    color: #94a3b8 !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.footer-widget a:hover {
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .footer-about-text {
        margin-left: auto;
        margin-right: auto;
    }
}

.footer-socials {
    display: flex;
    gap: 1.2rem;
}

.social-link {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px; /* Slightly more rounded for premium Apple feel */
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.65) !important; /* Elegant semi-transparent white at rest */
    text-decoration: none !important;
    transition: background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.02) !important;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.09) !important; /* Slightly brighter but still dark and elegant */
    border-color: rgba(255, 255, 255, 0.2) !important; /* Subtle highlight border */
    color: #ffffff !important; /* Icon lights up to pure white */
    transform: translateY(-2px) scale(1.04); /* Ultra-smooth micro-interaction */
    box-shadow: 0 8px 16px -6px rgba(0, 0, 0, 0.5), inset 0 1px 0 0 rgba(255, 255, 255, 0.05) !important;
}


/* Links & List */
#site-footer.custom-footer :is(ul, li, div, nav, a) {
    list-style: none !important;
    list-style-type: none !important;
    background-image: none !important;
}

#site-footer.custom-footer ul, 
#site-footer.custom-footer li {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

#site-footer.custom-footer li::before,
#site-footer.custom-footer li::after,
#site-footer.custom-footer a::before,
#site-footer.custom-footer a::after {
    content: none !important;
    display: none !important;
}

#site-footer.custom-footer .footer-nav-list li {
    margin-bottom: 1.2rem !important;
    padding-left: 0 !important;
}

#site-footer.custom-footer .footer-list li {
    margin-bottom: 1.2rem !important;
    padding-left: 0 !important;
    color: #94a3b8 !important;
    font-size: 0.95rem !important;
}

#site-footer.custom-footer .footer-nav-list a, 
#site-footer.custom-footer .footer-list a {
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
    padding: 0 !important;
}

#site-footer.custom-footer .footer-nav-list a:hover, 
#site-footer.custom-footer .footer-list a:hover {
    color: #ffffff !important;
    transform: translateX(8px) !important;
}

/* Contact Column */
.contact-info {
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-item .icon {
    font-size: 1.2rem;
    line-height: 1;
}

.contact-item p {
    margin: 0 !important;
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-cta-wrapper {
    margin-top: auto;
}

.footer-cta-btn {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    background: #ffffff !important;
    color: #0c111d !important;
    text-decoration: none !important;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
}

.footer-cta-btn:hover {
    background: #f1f5f9 !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
}

/* Bottom Bar */
.footer-bottom {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom .footer-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2rem;
    grid-template-columns: none; /* Reset grid */
}

@media (max-width: 768px) {
    .footer-bottom .footer-container {
        flex-direction: column !important;
        text-align: center;
    }
}

.footer-copyright p {
    margin: 0 !important;
    font-size: 0.85rem;
    color: #64748b;
}

.footer-legal {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-legal a {
    color: #64748b !important;
    text-decoration: none !important;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #ffffff !important;
}

.footer-legal .sep {
    color: #1e293b;
}

.materiel-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid #eee;
}

.materiel-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.materiel-image-wrapper {
	width: 100%;
	height: 200px;
	overflow: hidden;
	background: #f9f9f9;
	display: flex;
	align-items: center;
	justify-content: center;
}

.materiel-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.materiel-card:hover .materiel-image {
	transform: scale(1.1);
}

.materiel-content {
	padding: 20px;
}

.materiel-title {
	margin: 0 0 10px;
	font-size: 1.25rem;
	color: #333;
	font-weight: 600;
}

.materiel-description {
	font-size: 0.95rem;
	color: #666;
	line-height: 1.5;
}

/* Software Badges in Material Cards */
.materiel-logiciels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f2f5;
}

.logiciel-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #475569;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.logiciel-badge:hover {
    background: #ffffff;
    border-color: #1a1a1a;
    color: #1a1a1a;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.logiciel-mini-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* Etablissements */
.establishments-grid {
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	align-items: stretch;
}

.establishment-item {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	text-align: center;
	gap: 12px;
	min-height: 220px;
}

.establishment-item > a {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	max-width: 100%;
}

.establishment-logo {
	max-height: 90px;
	width: auto;
	object-fit: contain;
}

.establishments-logos-only-grid {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 24px !important;
	padding: 28px 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	overflow: hidden;
}

/* Align and style both .establishment-item and .partner-item */
.establishments-logos-only-grid .establishment-item,
.establishments-logos-only-grid .partner-item {
	flex: none !important;
	min-width: 0 !important;
	width: 100% !important;
	height: 85px !important;
	background: #ffffff !important;
	border: 1px solid rgba(0, 0, 0, 0.05) !important;
	border-radius: 12px !important;
	padding: 12px !important;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02) !important;
	box-sizing: border-box !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: all 0.3s ease !important;
}

.establishments-logos-only-grid .establishment-item:hover,
.establishments-logos-only-grid .partner-item:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05) !important;
}

.establishments-logos-only-grid .partner-link {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 100% !important;
}

.establishments-logos-only-grid .partner-logo-wrap {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 100% !important;
}

/* Logo image scaling and constraint */
.establishments-logos-only-grid .establishment-logo,
.establishments-logos-only-grid .partner-logo {
	max-width: 100% !important;
	max-height: 100% !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain !important;
	filter: none !important;
	opacity: 1 !important;
}

/* Hide fallback partner name inside the logos-only grid to keep it clean */
.establishments-logos-only-grid .partner-name {
	display: none !important;
}

.establishments-logos-only-grid .etablissement-specialties,
.establishments-logos-only-grid .etablissement-info-popup {
	display: none !important;
}

@media (max-width: 1024px) {
	.establishments-logos-only-grid {
		grid-template-columns: repeat(3, 1fr) !important;
		gap: 20px !important;
	}
}

@media (max-width: 768px) {
	.establishments-logos-only-grid {
		grid-template-columns: repeat(3, 1fr) !important;
		gap: 12px !important;
	}
	.establishments-logos-only-grid .establishment-item,
	.establishments-logos-only-grid .partner-item {
		height: 75px !important;
	}
}

@media (max-width: 480px) {
	.establishments-logos-only-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 12px !important;
	}
}

.etablissement-specialties {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.etablissement-info-popup {
	display: block;
	position: static;
	background: #f8fafc;
	color: #334155;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 0.8rem;
	width: 100%;
	max-width: 260px;
	box-shadow: none;
	margin-top: 2px;
	text-align: center;
	line-height: 1.4;
	border: 1px solid #e2e8f0;
}

.etablissement-info-popup::after {
	content: none;
}

.establishment-item:hover .etablissement-info-popup {
	animation: none;
}

@keyframes fadeInUp {
	from { opacity: 0; transform: translate(-50%, 10px); }
	to { opacity: 1; transform: translate(-50%, 0); }
}

/* ============================================================
   PFT34 – Widget Prestations (ex-Domaines)
   ============================================================ */

.pft-presta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px;
    padding: 30px 0;
    align-items: stretch;
    width: 100% !important;
}

@media (max-width: 1024px) {
    .pft-presta-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .pft-presta-grid {
        grid-template-columns: 1fr !important;
    }
}

.pft-presta-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    flex: 1;
    cursor: default;
}

.pft-presta-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: #e11d48;
    transition: height 0.4s ease;
}

.pft-presta-card:hover {
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.08);
}

.pft-presta-card:hover::after {
    height: 100%;
}

.pft-presta-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin: 0 0 16px 0;
}

.pft-presta-excerpt {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 10px;
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.pft-presta-empty {
    text-align: center;
    color: #94a3b8;
    padding: 80px 0;
}

/* ========================================
   Projects Grid & Cards
======================================== */
.projects-grid {
    display: grid;
    gap: 30px;
    padding: 20px 0;
}

.project-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-image-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f8fafc;
}

.project-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image-wrapper img {
    transform: scale(1.1);
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e0;
}

.project-placeholder .dashicons {
    font-size: 60px;
    width: 60px;
    height: 60px;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link-icon {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    text-decoration: none;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-card:hover .project-link-icon {
    transform: translateY(0);
}

.project-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    margin: 0 0 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
}

.project-excerpt {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.project-btn:hover {
    background: #1a1a1a;
    color: #ffffff;
    border-color: #1a1a1a;
}

/* ========================================
   Partners Section Widget
======================================== */
.pft34-partners-marquee-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

/* ========================================
   Partners Widget (Clean/Marquee)
   ======================================== */

.pft34-partners-marquee-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 30px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.pft34-partners-clean-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 40px;
    width: max-content;
    align-items: center;
}

.pft34-partners-marquee-content {
    animation: marquee-scroll-partners 40s linear infinite;
}

@keyframes marquee-scroll-partners {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 20px)); }
}

.pft34-partners-clean-list__item {
    flex: 0 0 auto !important;
    margin: 0 !important;
}

.pft34-partners-clean-list__link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    padding: 12px 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 100px;
    background: #ffffff;
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.pft34-partners-clean-list__link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
}

.pft34-partners-clean-list__logo-wrap {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pft34-partners-clean-list__logo {
    max-width: 110px;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: all 0.4s ease;
}

.pft34-partners-clean-list__link:hover .pft34-partners-clean-list__logo {
    filter: none;
    transform: scale(1.05);
}

.pft34-partners-clean-list__name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .pft34-partners-clean-list {
        gap: 20px;
    }
    @keyframes marquee-scroll-partners {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-50% - 10px)); }
    }
}


/* ========================================
   Establishments Widget
======================================== */
.pft34-establishments-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1100px;
    margin: 40px auto;
}

.pft34-establishments-list__item {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease-out;
    position: relative;
    border: 1px solid #f1f5f9;
}

.pft34-establishments-list__item:hover {
    border-color: #2563eb;
    box-shadow: 0 10px 30px -10px rgba(37, 99, 235, 0.1);
}

.pft34-establishments-list__main {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
}

.pft34-establishments-list__logo-box {
    flex: 0 0 120px;
    height: 120px;
    border-radius: 16px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: background 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

.pft34-establishments-list__item:hover .pft34-establishments-list__logo-box {
    background: #ffffff;
}

.pft34-establishments-list__logo-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pft34-establishments-list__logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.pft34-establishments-list__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 140px;
}

.pft34-establishments-list__title {
    margin: 0 0 4px;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.pft34-establishments-list__specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.pft34-establishments-list__badge {
    padding: 0;
    background: transparent;
    color: #2563eb;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: normal;
}

.pft34-establishments-list__badge::after {
    content: ' • ';
    margin-left: 8px;
    color: #cbd5e1;
}

.pft34-establishments-list__badge:last-child::after {
    content: '';
}

.pft34-establishments-list__description {
    margin: 0 0 20px;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.65;
}

.pft34-establishments-list__website {
    margin-top: auto;
}

.pft34-establishments-list__website a {
    display: inline-flex;
    align-items: center;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    gap: 8px;
}

.pft34-establishments-list__website a::after {
    content: '→';
    transition: transform 0.2s ease;
}

.pft34-establishments-list__website a:hover {
    color: #2563eb;
}

.pft34-establishments-list__website a:hover::after {
    transform: translateX(4px);
}

@media (max-width: 767px) {
    .pft34-establishments-list__main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    .pft34-establishments-list__logo-box {
        flex: 0 0 100px;
        height: 100px;
        width: 100px;
    }
    .pft34-establishments-list__badge::after {
        display: none;
    }
    .pft34-establishments-list__specialties {
        justify-content: center;
    }
}
/* ========================================
   Smart Sticky Header
======================================== */
/* VERIFICATION_MARKER_NAVBAR_BLUR_12345 */
/* Outer wrapper : fixed + transparent (le fond est géré par la section interne) */
.site-header,
header.elementor-location-header,
#masthead.site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100% !important;
    z-index: 9999 !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    will-change: transform;
    background: transparent !important;
}

/* Section interne Elementor : fond glassmorphism TOUJOURS actif
   → navbar toujours lisible, quelle que soit la couleur du fond de page */
.elementor-location-header .elementor-section,
.elementor-section.elementor-sticky--active,
.elementor-section.elementor-sticky {
    background: rgba(255, 255, 255, var(--pft-header-opacity, 0.82)) !important;
    backdrop-filter: blur(18px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04) !important;
    transition: background 0.35s ease, box-shadow 0.35s ease !important;
}

/* Au scroll : fond légèrement plus opaque */
.header--scrolled .elementor-location-header .elementor-section,
.header--scrolled .elementor-section.elementor-sticky--active,
.header--scrolled .elementor-section.elementor-sticky,
header.header--scrolled .elementor-section {
    background: rgba(255, 255, 255, var(--pft-header-scrolled-opacity, 0.95)) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08) !important;
}

/* Fallback : si c'est le site-header natif WP (sans Elementor) */
.site-header.header--scrolled {
    background: rgba(255, 255, 255, var(--pft-header-scrolled-opacity, 0.95)) !important;
    backdrop-filter: blur(18px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08) !important;
}

/* Force toutes les couches internes à être transparentes */
.elementor-location-header .elementor-container,
.elementor-location-header .elementor-column,
.elementor-location-header .elementor-widget-wrap {
    background: transparent !important;
}

.header--hidden {
    transform: translateY(-100%) !important;
}

/* Offset pour la barre d'admin */
.admin-bar .site-header,
.admin-bar header.elementor-location-header,
.admin-bar #masthead.site-header {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header,
    .admin-bar header.elementor-location-header,
    .admin-bar #masthead.site-header {
        top: 46px !important;
    }
}

/* ========================================
   Establishments Directory (Modern Grid)
======================================== */
.pft-directory {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px auto;
    max-width: 1100px;
    justify-content: center;
}

@media (max-width: 992px) {
    .pft-directory {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pft-directory {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

.pft-directory__card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pft-directory__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #e2e8f0;
}

.pft-directory__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 25px;
    gap: 20px;
    text-align: center;
    flex-grow: 1;
}

.pft-directory__logo-wrap {
    width: 160px;
    height: 100px;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    padding: 12px 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    margin-bottom: 5px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.01);
}

.pft-directory__logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pft-directory__content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pft-directory__title {
    margin: 0 0 12px 0 !important;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0c111d;
    line-height: 1.4;
}

.pft-directory__specialties {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.pft-directory__badge {
    padding: 6px 14px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
}

.pft-directory__desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pft-directory__actions {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: center;
}

.pft-directory__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 8px;
    padding: 12px 24px;
    background: #0c111d;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pft-directory__btn:hover {
    background: #1e293b;
    gap: 12px;
    transform: translateY(-2px);
}

.pft-directory__btn-icon {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

/* ========================================
   Contact Section (Map & Form) Premium Style
======================================== */
.elementor-widget-google_maps .elementor-widget-container {
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.12) !important;
    background: #ffffff !important;
    padding: 8px !important;
    transition: all 0.4s ease !important;
}

.elementor-widget-google_maps .elementor-widget-container:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.18) !important;
}

.elementor-widget-google_maps iframe {
    border-radius: 12px !important;
    filter: grayscale(100%) contrast(110%) opacity(0.85);
    transition: all 0.5s ease;
    display: block !important;
}

.elementor-widget-google_maps:hover iframe {
    filter: grayscale(0%) contrast(100%) opacity(1);
}

/* Beautiful Elementor Form Styling */
.elementor-form .elementor-field-group .elementor-field {
    background-color: #f8fafc !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    font-size: 0.95rem !important;
    color: #1e293b !important;
    transition: all 0.3s ease !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.01) !important;
}

.elementor-form .elementor-field-group .elementor-field:focus {
    background-color: #ffffff !important;
    border-color: #94a3b8 !important;
    box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.15) !important;
    outline: none !important;
}

.elementor-form .elementor-button {
    background: #0c111d !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 18px 30px !important;
    font-weight: 600 !important;
    font-size: 1.05rem !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
}

.elementor-form .elementor-button:hover {
    background: #1e293b !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.25) !important;
}

/* ========================================
   News Grid Widget (PFT34 Actualités)
======================================== */
.pft-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px auto;
    width: 100%;
    max-width: 1280px;
}

.pft-news-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pft-news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #e2e8f0;
}

/* Thumbnail */
.pft-news-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f1f5f9;
}

.pft-news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
}

.pft-news-card:hover .pft-news-thumbnail img {
    transform: scale(1.07);
}

.pft-news-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #cbd5e1;
}

.pft-news-thumbnail-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 17, 29, 0.65) 0%, rgba(12, 17, 29, 0) 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pft-news-card:hover .pft-news-thumbnail-overlay {
    opacity: 1;
}

/* Body */
.pft-news-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 24px 22px;
    gap: 14px;
    flex-grow: 1;
}

/* Meta row */
.pft-news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pft-news-cat-badge {
    display: inline-block;
    padding: 5px 14px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
    text-decoration: none;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease;
}

.pft-news-cat-badge:hover {
    background: #0c111d;
    color: #ffffff;
}

.pft-news-date {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 400;
}

/* Title */
.pft-news-title {
    margin: 0 !important;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0c111d;
    line-height: 1.4;
}

.pft-news-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pft-news-title a:hover {
    color: #334155;
}

/* Excerpt */
.pft-news-excerpt {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Actions */
.pft-news-actions {
    margin-top: auto;
    width: 100%;
}

.pft-news-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 8px;
    padding: 12px 24px;
    background: #0c111d;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pft-news-btn:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    color: #ffffff !important;
}

/* Empty state */
.pft-news-empty {
    text-align: center;
    color: #94a3b8;
    font-size: 1rem;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 992px) {
    .pft-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .pft-news-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

.pft-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    width: 100%;
}

.pft-news-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border: 1px solid #f1f5f9;
}

.pft-news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* Thumbnail */
.pft-news-thumbnail-link {
    display: block;
    text-decoration: none;
}

.pft-news-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f1f5f9;
}

.pft-news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.pft-news-card:hover .pft-news-thumbnail img {
    transform: scale(1.06);
}

.pft-news-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #94a3b8;
}

/* Overlay */
.pft-news-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 17, 29, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pft-news-card:hover .pft-news-overlay {
    opacity: 1;
}

.pft-news-read-more {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* Body */
.pft-news-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
    gap: 12px;
}

/* Meta (category + date) */
.pft-news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pft-news-cat-badge {
    display: inline-block;
    padding: 3px 12px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: background 0.2s ease, color 0.2s ease;
}

.pft-news-cat-badge:hover {
    background: #0c111d;
    color: #ffffff;
}

.pft-news-date {
    font-size: 0.82rem;
    color: #94a3b8;
}

/* Title */
.pft-news-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin: 0;
}

.pft-news-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pft-news-title a:hover {
    color: #3b82f6;
}

/* Excerpt */
.pft-news-excerpt {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

/* CTA Button */
.pft-news-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding: 10px 20px;
    background: #0c111d;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    align-self: flex-start;
}

.pft-news-btn:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

/* Empty state */
.pft-news-empty {
    text-align: center;
    color: #94a3b8;
    font-size: 1rem;
    padding: 40px;
}

/* Responsive */
@media (max-width: 1024px) {
    .pft-news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .pft-news-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================================
   PFT34 – Widget Grille Équipements (equipment-widget.php)
   ============================================================ */

/* ============================================================
   PFT34 – Widget Grille Équipements (equipment-widget.php)
   ============================================================ */

.pft-equip-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px;
    padding: 30px 0;
    width: 100% !important;
}

@media (max-width: 1024px) {
    .pft-equip-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .pft-equip-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
}

.pft-equip-card {
    /* Uses .pft-news-card base */
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.pft-equip-card:hover {
    border-color: rgba(225, 29, 72, 0.3) !important; /* Glow rouge discret */
    box-shadow: 0 25px 50px -12px rgba(225, 29, 72, 0.1) !important;
}

.pft-equip-card .pft-news-thumbnail {
    background: #f1f5f9;
}

.pft-equip-card .pft-news-overlay {
    background: linear-gradient(0deg, rgba(225, 29, 72, 0.6) 0%, rgba(225, 29, 72, 0) 100%);
}

.pft-equip-logiciels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.pft-equip-logiciel-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(4px); /* Effet de verre */
    border: 1px solid rgba(226, 232, 240, 0.8);
    color: #475569;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.pft-equip-card:hover .pft-equip-logiciel-badge {
    background: #ffffff;
    border-color: #e11d48;
    color: #e11d48;
    transform: translateY(-2px);
}

.pft-equip-card .pft-news-title {
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.pft-equip-card .pft-news-excerpt {
    color: #64748b;
    line-height: 1.6;
}

.pft-equip-card .pft-news-btn {
    background: #0f172a;
    border-radius: 8px;
    letter-spacing: 0.01em;
}

.pft-equip-card:hover .pft-news-btn {
    background: #e11d48; /* Switch au rouge au survol */
}

/* Empty state */
.pft-equip-empty {
    text-align: center;
    color: #94a3b8;
    font-size: 1rem;
    padding: 60px 20px;
}


/* ============================================================
   PFT34 – Widget Grille Logiciels (software-widget.php)
   ============================================================ */

/* ============================================================
/* ============================================================
   PFT34 – Widget Logiciels (Grille Bento Premium)
   ============================================================ */

.pft-software-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px;
    padding: 30px 0;
    align-items: stretch;
    width: 100% !important;
}

@media (max-width: 1024px) {
    .pft-software-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .pft-software-grid {
        grid-template-columns: 1fr !important;
    }
}

.pft-software-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    flex: 1;
}

.pft-software-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: #e11d48;
    transition: height 0.4s ease;
}

.pft-software-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.08);
    border-color: rgba(225, 29, 72, 0.15);
}

.pft-software-card:hover::after {
    height: 100%;
}

.pft-software-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 14px;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.pft-software-card:hover .pft-software-icon {
    background: #ffffff;
    border-color: rgba(225, 29, 72, 0.2);
}

.pft-software-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.pft-software-card:hover .pft-software-icon img {
    filter: grayscale(0);
    opacity: 1;
}

.pft-software-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin: 0 0 12px 0;
    transition: color 0.3s ease;
}

.pft-software-card:hover .pft-software-title {
    color: #e11d48;
}

.pft-software-excerpt {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.pft-software-fallback {
    color: #94a3b8;
}

.pft-software-arrow {
    display: none !important;
}

.pft-soft-card:hover .pft-soft-arrow {
    transform: translateX(8px);
}

.pft-soft-empty {
    text-align: center;
    color: #94a3b8;
    padding: 80px 0;
}

/* Fallback icons */
.pft-soft-icon-fallback {
}

/* Empty State */
.pft-soft-empty {
    text-align: center;
    color: #94a3b8;
    padding: 60px 0;
    font-size: 1rem;
}



/* ========================================
   Pro Article Layout & Animations
======================================== */
/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes imageReveal {
    from { opacity: 0; transform: scale(0.95); filter: blur(10px); }
    to { opacity: 1; transform: scale(1); filter: blur(0); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-up-delayed {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.animate-reveal {
    opacity: 0;
    animation: imageReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

/* Layout */
body.single {
    background-color: #ffffff !important;
    color: #1e293b;
}

.pro-article-main {
    padding-top: 160px !important;
    padding-bottom: 100px;
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 5%;
    font-family: 'Roboto', sans-serif;
}

.pro-article-header {
    text-align: center;
    margin-bottom: 50px;
}

.pro-meta {
    font-size: 0.875rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    font-weight: 500;
}

.pro-category a {
    color: #e11d48;
    text-decoration: none;
    font-weight: 600;
}

.pro-title {
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    line-height: 1.1 !important;
    margin: 0;
    letter-spacing: -0.02em;
}

.pro-cover-wrapper {
    margin: 0 0 60px 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    position: relative;
}

.pro-cover-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    pointer-events: none;
}

.pro-cover-img {
    width: 100%;
    height: auto;
    max-height: 650px;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.pro-cover-wrapper:hover .pro-cover-img {
    transform: scale(1.02);
}

.pro-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #334155;
    max-width: 760px;
    margin: 0 auto;
}

.pro-content p {
    margin-bottom: 1.8rem;
}

.pro-content h2, .pro-content h3 {
    color: #1e293b;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.pro-content img {
    border-radius: 12px;
    margin: 40px 0;
    max-width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pro-tags {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.pro-tags a {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #64748b;
    border-radius: 30px;
    font-size: 0.85rem;
    text-decoration: none;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.pro-tags a:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

/* Ensure header is dark */
body.single .site-header {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

body.single .site-navigation ul li a {
    color: #1e293b !important;
}

body.single .site-navigation ul li a:hover {
    color: #e11d48 !important;
}

/* Force white text color on contact button within single article pages */
body.single .site-navigation ul li.menu-button-contact a,
body.single .site-navigation ul li.pft-menu-contact a,
body.single .elementor-nav-menu li.menu-button-contact a,
body.single .elementor-nav-menu li.pft-menu-contact a,
body.single .elementor-nav-menu li:last-child a {
    color: #ffffff !important;
}

body.single .site-navigation ul li.menu-button-contact a:hover,
body.single .site-navigation ul li.pft-menu-contact a:hover,
body.single .elementor-nav-menu li.menu-button-contact a:hover,
body.single .elementor-nav-menu li.pft-menu-contact a:hover,
body.single .elementor-nav-menu li:last-child a:hover {
    color: #ffffff !important;
}

/* ============================================================
   PFT34 – Header / Navbar Styles
   ============================================================ */

/* Transformation du lien "Nous contacter" en bouton */
.pft-menu-contact a {
    background: #e11d48 !important;
    color: #ffffff !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.2);
    margin-left: 15px;
    display: flex;
    align-items: center;
}

.pft-menu-contact a:hover {
    background: #be123c !important; 
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.3);
    color: #ffffff !important;
}

/* Ciblage alternatif si la classe pft-menu-contact n'est pas encore propagée */
.elementor-nav-menu li:last-child a,
.pft-menu-contact a {
    background: #e11d48 !important;
    color: #ffffff !important;
    padding: 12px 28px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.25) !important;
    margin-left: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-transform: none !important;
}

.elementor-nav-menu li:last-child a:hover,
.pft-menu-contact a:hover {
    background: #be123c !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(225, 29, 72, 0.4) !important;
    color: #ffffff !important;
}

/* ============================================================
   PFT34 – Correctif Page Contact (Centrage & Formulaire)
   ============================================================ */

/* ==========================================================================
   CONTACT PAGE (ID: 529)
   ========================================================================== */

/* 0. Center the heading */
.page-id-529 .elementor-widget-heading {
    text-align: center !important;
}

.page-id-529 .elementor-heading-title {
    font-weight: 800 !important;
    font-size: 3rem !important;
    color: #0f172a !important;
}

/* 1. Body offset for fixed header */
@media (min-width: 993px) {
    body.page-id-529 {
        padding-top: 120px !important;
        background-color: #ffffff !important;
    }
}

/* 2. Container sizing */
.page-id-529 .elementor-section-wrap > .elementor-element,
.page-id-529 .e-con {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 3. Side-by-side layout: Map (left) + Form (right) */
@media (min-width: 993px) {
    .page-id-529 .elementor-element-410021fb {
        display: grid !important;
        grid-template-columns: 45% 1fr !important;
        gap: 40px !important;
        align-items: start !important;
        padding: 20px 0 60px !important;
    }

    .page-id-529 .elementor-element-d9adac5 {
        height: 100% !important;
    }

    .page-id-529 .elementor-element-4207b82a {
        width: 100% !important;
    }

    .page-id-529 .wpforms-container {
        margin: 0 !important;
        max-width: 100% !important;
    }
}

/* 4. Map styling */
.page-id-529 .elementor-widget-google_maps {
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #e2e8f0 !important;
}

@media (min-width: 993px) {
    .page-id-529 .elementor-widget-google_maps {
        height: 100% !important;
        margin-bottom: 0 !important;
    }

    .page-id-529 .elementor-widget-google_maps .elementor-widget-container,
    .page-id-529 .elementor-widget-google_maps .elementor-custom-embed,
    .page-id-529 .elementor-widget-google_maps iframe {
        height: 100% !important;
        min-height: 500px !important;
    }
}

@media (max-width: 992px) {
    .page-id-529 .elementor-widget-google_maps {
        margin-bottom: 30px !important;
    }
    .page-id-529 .elementor-widget-google_maps iframe {
        min-height: 300px !important;
    }
}

/* 5. Form Container – clean, no card */
.page-id-529 .wpforms-container {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    max-width: 100% !important;
}

/* 6. Form Fields */
.page-id-529 .wpforms-field {
    width: 100% !important;
    margin-bottom: 20px !important;
    padding: 0 !important;
}

.page-id-529 .wpforms-field-label {
    font-weight: 600 !important;
    color: #0f172a !important;
    font-size: 0.9rem !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.page-id-529 .wpforms-field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]),
.page-id-529 .wpforms-field textarea,
.page-id-529 .wpforms-field select {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 12px 16px !important;
    background-color: #f8fafc !important;
    font-family: inherit !important;
    font-size: 0.95rem !important;
    transition: border-color 0.2s ease !important;
    color: #334155 !important;
}

.page-id-529 .wpforms-field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):focus,
.page-id-529 .wpforms-field textarea:focus {
    border-color: #e11d48 !important;
    background-color: #ffffff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.08) !important;
}

/* 7. First/Last Name side-by-side */
.page-id-529 .wpforms-field-name .wpforms-field-row {
    display: flex !important;
    gap: 16px !important;
}

.page-id-529 .wpforms-field-name .wpforms-field-row-block {
    flex: 1 !important;
    width: auto !important;
}

.page-id-529 .wpforms-field-sublabel {
    font-size: 0.78rem !important;
    color: #94a3b8 !important;
    margin-top: 5px !important;
    display: block !important;
    font-weight: 400 !important;
}

/* 8. GDPR Checkbox */
.page-id-529 .wpforms-field-gdpr-checkbox {
    background: transparent !important;
    padding: 16px 0 !important;
    border-radius: 0 !important;
    border: none !important;
    border-top: 1px solid #f1f5f9 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    margin: 8px 0 !important;
}

.page-id-529 .wpforms-field-gdpr-checkbox ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.page-id-529 .wpforms-field-gdpr-checkbox ul li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
}

.page-id-529 .wpforms-field-gdpr-checkbox input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    margin-top: 2px !important;
    accent-color: #e11d48 !important;
    cursor: pointer !important;
}

.page-id-529 .wpforms-field-gdpr-checkbox .wpforms-field-label-inline {
    font-size: 0.85rem !important;
    color: #475569 !important;
    line-height: 1.5 !important;
    cursor: pointer !important;
}

.page-id-529 .wpforms-field-gdpr-checkbox .wpforms-field-label-inline a {
    color: #e11d48 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.page-id-529 .wpforms-field-gdpr-checkbox .wpforms-field-label-inline a:hover {
    text-decoration: underline !important;
}

/* 9. Submit Button – Dark, Full-width, Rounded */
.page-id-529 .wpforms-submit-container {
    margin-top: 24px !important;
}

.page-id-529 .wpforms-submit {
    background-color: #0f172a !important;
    color: #ffffff !important;
    padding: 16px 32px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    width: 100% !important;
    display: block !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: none !important;
    letter-spacing: 0.01em !important;
}

.page-id-529 .wpforms-submit:hover {
    background-color: #1e293b !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2) !important;
}

/* 10. Required asterisk */
.page-id-529 .wpforms-required-label {
    color: #e11d48 !important;
    margin-left: 2px !important;
}

/* Partners Bento Section */
.footer-partners-section {
    padding: 60px 0 20px;
    background-color: transparent;
}

.bento-partners-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.bento-partners-header {
    text-align: center;
    margin-bottom: 25px;
}

.bento-partners-title {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}

/* Marquee Styles */
.partners-marquee-container {
    overflow: hidden;
    padding: 10px 0;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.partners-marquee-inner {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
    gap: 60px;
}

.partner-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    max-height: 40px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-item:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause on hover */
.partners-marquee-container:hover .partners-marquee-inner {
    animation-play-state: paused;
}


/* Mobile optimizations */
@media (max-width: 768px) {
    .bento-partners-card {
        padding: 30px 20px;
        margin: 0 15px;
    }
    .partners-grid {
        gap: 15px;
    }
    .partner-logo {
        max-height: 40px;
    }
}




/* Fix for the existing Partners Widget */
.partners-row-fix {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
}

.partners-row-fix .elementor-widget-image {
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
}

.partners-row-fix img {
    height: 45px !important;
    width: auto !important;
    object-fit: contain !important;
}

@media (max-width: 1024px) {
    .partners-row-fix {
        flex-wrap: wrap !important;
        gap: 20px !important;
    }
}

/* Anti-stretch fix */
.partners-row-fix .elementor-image img {
    width: auto !important;
    height: 40px !important;
    object-fit: contain !important;
}

.partners-row-fix .elementor-widget-image {
    width: auto !important;
    flex: 0 0 auto !important;
}

/* Final centering fix */
.partners-row-fix {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    margin: 0 auto !important;
}

/* Contact Menu Item as a Button */
.menu-button-contact a {
    background-color: #e11d48 !important;
    color: #ffffff !important;
    padding: 12px 28px !important;
    border-radius: 50px !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.2) !important;
    margin-left: 15px !important;
    display: inline-block !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.menu-button-contact a:hover {
    background-color: #be123c !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.3) !important;
    color: #ffffff !important;
}

/* Ensure navbar alignment for button */
.elementor-nav-menu li.menu-button-contact {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

/* ============================================================
   PFT34 – Centered Project Modal Layout (Premium & Elegant)
   ============================================================ */

/* Outer structure centering & full width */
.pft-modal-content-inner.pft-project-modal-layout {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Header alignment & centering */
.pft-project-modal-layout .pft-modal-header {
    text-align: center !important;
    flex-direction: column !important;
    gap: 15px !important;
    position: relative !important;
    padding: 35px 40px 25px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-bottom: 1px solid #f1f5f9 !important;
    flex-shrink: 0 !important;
}

.pft-project-modal-layout .pft-modal-header .pft-modal-title-area {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    text-align: center !important;
}

.pft-project-modal-layout .pft-modal-title {
    text-align: center !important;
    width: 100% !important;
    margin: 10px 0 0 0 !important;
}

.pft-project-modal-layout .pft-modal-close {
    position: absolute !important;
    top: 25px !important;
    right: 25px !important;
    margin: 0 !important;
}

/* Categories row pills */
.pft-project-modal-cats {
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-top: 15px !important;
    flex-wrap: wrap !important;
}

.pft-project-cat-pill {
    background: #f8fafc !important;
    color: #475569 !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    padding: 6px 16px !important;
    border-radius: 50px !important;
    border: 1px solid #e2e8f0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02) !important;
}

/* Body container must take 100% width and display as flex to center contents */
.pft-project-modal-layout .pft-modal-body {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important; /* Horizontally center the project container */
    align-items: flex-start !important;
    padding: 40px !important;
    overflow-y: auto !important;
    flex: 1 1 auto !important;
}

/* Stacked container */
.pft-project-modal-layout .pft-project-modal-container {
    width: 100% !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 35px !important;
    padding-bottom: 20px !important;
    align-items: stretch !important; /* Ensure children stretch to 100% width */
}

/* Rounded full-width image card */
.pft-project-modal-layout .pft-project-image {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 520px !important;
    overflow: hidden !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    margin: 0 auto !important;
}

.pft-project-modal-layout .pft-project-image img {
    width: 100% !important;
    height: 100% !important;
    max-height: 520px !important;
    object-fit: cover !important;
    display: block !important;
}

/* Content block styling */
.pft-project-modal-layout .pft-project-description {
    text-align: left !important;
    font-size: 1.05rem !important;
    line-height: 1.8 !important;
    color: #334155 !important;
    width: 100% !important;
}

.pft-project-modal-layout .pft-project-description .pft-content-text {
    width: 100% !important;
}

/* Premium stacked Call to Action */
.pft-project-modal-layout .pft-project-modal-cta {
    text-align: center !important;
    background: #f8fafc !important;
    padding: 35px !important;
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    margin-top: 15px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
}

.pft-project-modal-layout .pft-project-modal-cta p {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 !important;
}

.pft-project-modal-layout .pft-project-modal-cta .pft-button-outline {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
    padding: 14px 40px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-block !important;
}

.pft-project-modal-layout .pft-project-modal-cta .pft-button-outline:hover {
    background: #e11d48 !important;
    border-color: #e11d48 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(225, 29, 72, 0.3) !important;
}

@media (max-width: 768px) {
    .pft-project-modal-layout .pft-project-image {
        max-height: 320px !important;
    }
    .pft-project-modal-layout .pft-project-modal-cta {
        padding: 25px !important;
    }
}

/* ============================================================
   PFT34 – Responsive Mobile/Tablet Header & Menu Navigation
   ============================================================ */

/* ── Keyframe Animations (outside media query so they are available globally) ── */
@keyframes pft-slideDownFadeIn {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes pft-slideInMenuItem {
    from { opacity: 0; transform: translateX(-12px); }
    to   { opacity: 1; transform: translateX(0); }
}

@media (max-width: 992px) {

    /* ── Header wrapper ── */
    .site-header {
        padding: 0 !important;
        background: #0c111d !important;
        overflow: visible !important;
    }

    .header-inner,
    .site-header:not(.dynamic-header) {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 12px 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    .site-branding {
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    /* Resize logo on mobile */
    .site-branding .custom-logo {
        max-height: 44px !important;
        width: auto !important;
        display: block !important;
    }

    /* Hide desktop nav on mobile */
    .site-header .site-navigation {
        display: none !important;
    }

    /* ── Hamburger toggle button ── */
    .site-navigation-toggle-holder {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .site-navigation-toggle {
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-radius: 12px !important;
        color: #ffffff !important;
        padding: 10px 12px !important;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    }

    .site-navigation-toggle:hover,
    .site-navigation-toggle:focus {
        background: rgba(255, 255, 255, 0.15) !important;
        border-color: rgba(255, 255, 255, 0.25) !important;
        transform: scale(1.05) !important;
        outline: none !important;
    }

    .header--scrolled .site-navigation-toggle {
        background: rgba(15, 23, 42, 0.05) !important;
        border-color: rgba(15, 23, 42, 0.08) !important;
        color: #0f172a !important;
        box-shadow: none !important;
    }

    /* ──────────────────────────────────────────────────────────
       Elementor header & HFE – hamburger toggle & responsive dropdown
    ────────────────────────────────────────────────────────── */

    /* Make the header the positioning context */
    header,
    .site-header,
    .elementor-location-header,
    .hfe-header {
        position: fixed !important;
        overflow: visible !important;
    }

    /* Hide the horizontal desktop nav on mobile */
    .elementor-nav-menu:not(.elementor-nav-menu--dropdown),
    .hfe-nav-menu__layout-horizontal {
        display: none !important;
    }

    /* Show the hamburger icon */
    .elementor-nav-menu--toggle,
    .hfe-nav-menu__toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        padding: 8px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.18) !important;
        border-radius: 10px !important;
        color: #ffffff !important;
        transition: background 0.25s ease, transform 0.2s ease !important;
    }

    .elementor-nav-menu--toggle:hover,
    .hfe-nav-menu__toggle:hover {
        background: rgba(255, 255, 255, 0.16) !important;
        transform: scale(1.06) !important;
    }

    /* ── Dropdown panel – CLOSED state ── */
    .elementor-nav-menu--dropdown,
    .hfe-dropdown {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* ── Dropdown panel – OPEN state ── */
    .elementor-nav-menu--dropdown.elementor-nav-menu--open,
    .hfe-dropdown.hfe-dropdown-open,
    .elementor-nav-menu-container.elementor-nav-menu--dropdown.elementor-nav-menu--open {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;

        /* Full-width panel that slides from below the header */
        position: fixed !important;
        top: var(--pft-header-height, 68px) !important;
        left: 0 !important;
        width: 100vw !important;
        max-height: calc(100vh - var(--pft-header-height, 68px)) !important;
        overflow-y: auto !important;

        background: #0c111d !important;
        border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55) !important;
        z-index: 999998 !important;
        padding: 24px 28px 32px !important;
        box-sizing: border-box !important;

        animation: pft-slideDownFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    }

    /* Reset any inline-block/flex that makes items appear horizontally */
    .elementor-nav-menu--dropdown ul,
    .hfe-dropdown ul {
        display: block !important;
        flex-direction: unset !important;
        background: transparent !important;
        position: static !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        box-shadow: none !important;
        list-style: none !important;
    }

    /* Each nav item – stacked vertically */
    .elementor-nav-menu--dropdown li.menu-item,
    .hfe-dropdown li.menu-item {
        display: block !important;
        width: 100% !important;
        border: none !important;
        margin: 0 !important;
        list-style: none !important;
        animation: pft-slideInMenuItem 0.4s cubic-bezier(0.16, 1, 0.3, 1) both !important;
    }

    /* Staggered animation delays */
    .elementor-nav-menu--dropdown li.menu-item:nth-child(1), .hfe-dropdown li.menu-item:nth-child(1) { animation-delay: 0.05s !important; }
    .elementor-nav-menu--dropdown li.menu-item:nth-child(2), .hfe-dropdown li.menu-item:nth-child(2) { animation-delay: 0.10s !important; }
    .elementor-nav-menu--dropdown li.menu-item:nth-child(3), .hfe-dropdown li.menu-item:nth-child(3) { animation-delay: 0.15s !important; }
    .elementor-nav-menu--dropdown li.menu-item:nth-child(4), .hfe-dropdown li.menu-item:nth-child(4) { animation-delay: 0.20s !important; }
    .elementor-nav-menu--dropdown li.menu-item:nth-child(5), .hfe-dropdown li.menu-item:nth-child(5) { animation-delay: 0.25s !important; }

    /* Nav links inside mobile panel */
    .elementor-nav-menu--dropdown li.menu-item > a,
    .hfe-dropdown li.menu-item > a {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 16px 4px !important;
        color: #f1f5f9 !important;
        font-size: 1.05rem !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
        background: transparent !important;
        box-shadow: none !important;
        transition: color 0.25s ease, padding-left 0.25s ease !important;
        text-transform: none !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    .elementor-nav-menu--dropdown li.menu-item:last-child > a,
    .hfe-dropdown li.menu-item:last-child > a {
        border-bottom: none !important;
    }

    .elementor-nav-menu--dropdown li.menu-item > a:hover,
    .hfe-dropdown li.menu-item > a:hover {
        color: #e11d48 !important;
        padding-left: 10px !important;
        border-bottom-color: rgba(225, 29, 72, 0.2) !important;
    }

    /* "Nous contacter" CTA button inside mobile panel */
    .elementor-nav-menu--dropdown li.menu-item.menu-button-contact > a,
    .elementor-nav-menu--dropdown li.menu-item.pft-menu-contact > a,
    .elementor-nav-menu--dropdown li.menu-item:last-child > a,
    .hfe-dropdown li.menu-item.menu-button-contact > a,
    .hfe-dropdown li.menu-item.pft-menu-contact > a,
    .hfe-dropdown li.menu-item:last-child > a {
        background: #e11d48 !important;
        color: #ffffff !important;
        padding: 14px 24px !important;
        border-radius: 50px !important;
        margin: 22px 0 8px 0 !important;
        justify-content: center !important;
        border-bottom: none !important;
        box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35) !important;
        font-weight: 700 !important;
        text-align: center !important;
        display: flex !important;
        width: 100% !important;
    }

    .elementor-nav-menu--dropdown li.menu-item.menu-button-contact > a:hover,
    .elementor-nav-menu--dropdown li.menu-item.pft-menu-contact > a:hover,
    .elementor-nav-menu--dropdown li.menu-item:last-child > a:hover,
    .hfe-dropdown li.menu-item.menu-button-contact > a:hover,
    .hfe-dropdown li.menu-item.pft-menu-contact > a:hover,
    .hfe-dropdown li.menu-item:last-child > a:hover {
        background: #be123c !important;
        box-shadow: 0 8px 22px rgba(225, 29, 72, 0.45) !important;
        transform: translateY(-2px) !important;
        padding-left: 24px !important;
    }

    /* Remove bullet markers */
    .elementor-nav-menu--dropdown li::before,
    .elementor-nav-menu--dropdown li::after,
    .hfe-dropdown li::before,
    .hfe-dropdown li::after {
        content: none !important;
        display: none !important;
    }

    /* ──────────────────────────────────────────────────────────
       Native WP header (non-Elementor) dropdown – kept for fallback
    ────────────────────────────────────────────────────────── */

    /* OPEN */
    .site-navigation-dropdown[aria-hidden="false"] {
        display: block !important;
        position: absolute !important;
        top: 100% !important;
        bottom: auto !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: #0c111d !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
        z-index: 999999 !important;
        padding: 20px 30px !important;
        box-sizing: border-box !important;
        margin-top: 0 !important;
        transform: translateY(0) !important;
        transition: opacity 0.3s ease, transform 0.3s ease !important;
    }

    .site-navigation-dropdown[aria-hidden="false"] ul.menu li {
        animation: pft-slideInMenuItem 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
        opacity: 0;
    }

    .site-navigation-dropdown[aria-hidden="false"] ul.menu li:nth-child(1) { animation-delay: 0.05s !important; }
    .site-navigation-dropdown[aria-hidden="false"] ul.menu li:nth-child(2) { animation-delay: 0.10s !important; }
    .site-navigation-dropdown[aria-hidden="false"] ul.menu li:nth-child(3) { animation-delay: 0.15s !important; }
    .site-navigation-dropdown[aria-hidden="false"] ul.menu li:nth-child(4) { animation-delay: 0.20s !important; }
    .site-navigation-dropdown[aria-hidden="false"] ul.menu li:nth-child(5) { animation-delay: 0.25s !important; }

    /* CLOSED */
    .site-navigation-dropdown[aria-hidden="true"] {
        display: none !important;
        height: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transform: translateY(-10px) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity 0.3s ease, transform 0.3s ease !important;
    }

    .site-navigation-dropdown ul,
    .site-navigation-dropdown ul.menu {
        background: transparent !important;
        position: static !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        box-shadow: none !important;
        list-style: none !important;
        list-style-type: none !important;
    }

    .site-navigation-dropdown ul li,
    .site-navigation-dropdown ul.menu li {
        width: 100% !important;
        border: none !important;
        margin: 0 !important;
        display: block !important;
        list-style: none !important;
        list-style-type: none !important;
    }

    .site-navigation-dropdown ul li::before,
    .site-navigation-dropdown ul li::after,
    .site-navigation-dropdown ul.menu li::before,
    .site-navigation-dropdown ul.menu li::after {
        content: none !important;
        display: none !important;
    }

    .site-navigation-dropdown ul.menu li a {
        background: transparent !important;
        color: #ffffff !important;
        font-weight: 600 !important;
        font-size: 1.05rem !important;
        padding: 16px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: none !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        text-transform: none !important;
        text-decoration: none !important;
    }

    .site-navigation-dropdown ul.menu li:last-child a {
        border-bottom: none !important;
    }

    .site-navigation-dropdown ul.menu li.menu-button-contact a,
    .site-navigation-dropdown ul.menu li.pft-menu-contact a,
    .site-navigation-dropdown ul.menu li:last-child a {
        background: #e11d48 !important;
        color: #ffffff !important;
        padding: 12px 20px !important;
        border-radius: 30px !important;
        margin: 20px 0 10px 0 !important;
        justify-content: center !important;
        border-bottom: none !important;
        box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3) !important;
        font-weight: 700 !important;
    }

    .site-navigation-dropdown ul.menu li.menu-button-contact a:hover,
    .site-navigation-dropdown ul.menu li.pft-menu-contact a:hover,
    .site-navigation-dropdown ul.menu li:last-child a:hover {
        background: #be123c !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 6px 18px rgba(225, 29, 72, 0.4) !important;
        color: #ffffff !important;
        padding-left: 20px !important;
    }

    .site-navigation-dropdown ul.menu li a:hover {
        color: #e11d48 !important;
        padding-left: 8px !important;
    }

    /* ── Offset page content so it's not hidden under the fixed header ── */
    body {
        padding-top: var(--pft-header-height, 100px) !important;
    }
}

