/* ==========================================================================
   MACROTECH - SURCHARGES CHARGEES APRES LE KIT ELEMENTOR
   --------------------------------------------------------------------------
   Le kit Elementor emet des regles du type « .elementor-kit-1234 h1 {...} »
   avec une specificite egale a celle du theme, et sa feuille est imprimee
   apres main.css : elle gagnait donc systematiquement (titres agrandis,
   texte navy sur fond navy).

   Ce fichier est enqueue en toute fin (priorite 999) pour repasser devant.
   Aucune declaration !important ici : les reglages « Typographie & couleurs »
   de chaque widget dans Elementor restent prioritaires et fonctionnels.
   ========================================================================== */

/* ── TITRES DE HERO : meme taille sur toutes les pages ─────────────────── */
.hero .hero-title,
header.page-header h1,
.article-hero h1,
.page-header h1{
	color:var(--white);
	font-size:clamp(1.55rem,3vw,2.25rem);
	font-weight:800;
	line-height:1.15;
	overflow-wrap:break-word
}
.hero .hero-subtitle{color:rgba(255,255,255,.8)}

/* Sous-titre du hero : tient sur une ligne sur grand ecran */
header.page-header p,
.page-header p{
	color:rgba(255,255,255,.85);
	font-size:1.05rem;
	max-width:none
}
.article-hero .container h1{color:var(--white)}
.article-hero .container .lead{color:rgba(255,255,255,.8)}

/* ── SECTIONS SOMBRES : jamais de texte navy sur fond navy ─────────────── */
.cta-section h2,
.cta-section .cta-content h2{color:var(--white)}
.cta-section p,
.cta-section .cta-content p,
.cta-section .cta-quote{color:rgba(255,255,255,.85)}
.section-navy h2,.section-navy h3,.section-navy h4{color:var(--white)}
.section-navy p,.section-navy li{color:rgba(255,255,255,.85)}
div.newsletter-box h3{color:var(--white)}
div.newsletter-box p{color:rgba(255,255,255,.75);text-align:center}
div.newsletter-box p.nl-tagline{color:var(--orange)}
div.lead-magnet .lead-magnet-content h3{color:var(--white)}
div.lead-magnet .lead-magnet-content p{color:rgba(255,255,255,.8)}
div.timeline-step h4{color:var(--white)}
div.timeline-step p{color:rgba(255,255,255,.75)}
footer .footer-col h5{color:var(--white)}
.eyebrow-white{color:rgba(255,255,255,.9)}

/* ── TITRES DE CARDS : tailles du theme, pas celles du kit ─────────────── */
div.mt-solution-card-body h3{color:var(--navy);font-size:1.1rem}
.solution-detail-content h3{color:var(--navy);font-size:1.4rem}
div.value-card h4,div.defi-card h4,div.secteur-card h4{color:var(--navy);font-size:1.05rem}
div.sidebar-card h4{color:var(--navy);font-size:1rem}
.ref-card .ref-card-body h3{color:var(--navy);font-size:1.2rem}
.blog-card .blog-card-body h3{color:var(--navy);font-size:1.1rem}
.event-card .event-card-body h3{color:var(--navy);font-size:1.1rem}
.team-card .team-card-body h4{color:var(--navy);font-size:1.05rem}
section .triptyque-item h3{color:var(--navy)}
.section-header h2{font-size:clamp(1.3rem,2.4vw,1.8rem)}

/* ── CONTENU D'ARTICLE ─────────────────────────────────────────────────── */
div.mt-entry-content h2{color:var(--navy);font-size:1.6rem}
div.mt-entry-content h3{color:var(--navy);font-size:1.3rem}
div.mt-entry-content h4{color:var(--navy);font-size:1.1rem}

/* ── BOUTONS ───────────────────────────────────────────────────────────── */
a.btn.btn-primary{color:var(--white)}
a.btn.btn-secondary{color:var(--navy)}
a.btn.btn-ghost{color:var(--white)}

/* ── ANTI-DEBORDEMENT HORIZONTAL ───────────────────────────────────────
   Sur mobile, un seul element plus large que l'ecran cree une zone vide a
   droite au balayage. On borne la racine et les contenus susceptibles de
   depasser (medias, tableaux, blocs preformates, iframes, grilles).     */
html{overflow-x:hidden;max-width:100%}
img,video,iframe,table,pre,figure{max-width:100%}
img,video{height:auto}
@media(max-width:992px){
	.mt-entry-content table,.mt-entry-content pre{display:block;overflow-x:auto;width:100%}
	.marquee,.logo-marquee{max-width:100vw}
	.row,.mt-grid-2,.mt-grid-3,.mt-grid-4,.bento-grid,.filter-bar{max-width:100%}
	.container{width:100%;max-width:100%}
}

/* ── CARDS DE DOMAINES (BENTO) : texte complet, jamais coupe ───────────── */
@media(max-width:992px){
	.bento-card-content{padding:18px 16px}
	.bento-card-number{font-size:1.8rem;margin-bottom:4px}
	.bento-card-title{font-size:1rem;line-height:1.25;overflow-wrap:break-word;hyphens:auto}
	.bento-card-tag{white-space:normal;overflow:visible;text-overflow:clip}
}
@media(max-width:576px){
	.bento-grid{grid-auto-rows:minmax(215px,auto)}
	.bento-card-number{font-size:2rem}
	.bento-card-title{font-size:1.1rem}
}

/* ── TABLETTE ET MOBILE : titres lisibles, images contenues ───────────── */
@media(max-width:768px){
	.hero .hero-title,header.page-header h1,.article-hero h1,.page-header h1{font-size:1.55rem;line-height:1.25}
	header.page-header p,.page-header p{font-size:.95rem}
	.section-header h2{font-size:1.25rem}
	img,figure img,.article-hero-image img{max-width:100%;height:auto}
}
@media(max-width:480px){
	.hero .hero-title,header.page-header h1,.article-hero h1,.page-header h1{font-size:1.4rem}
}

/* ==========================================================================
   v2.9.0 - LOGOS DE TAILLE IDENTIQUE, TEXTES SUR UNE LIGNE, CARTE
   ========================================================================== */

/* Mur de logos (partenaires et clients) : tuiles toutes identiques.
   Les fichiers sont normalises (canevas 400x160, surface optique egale). */
.logo-wall{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin:0 0 8px}
.partner-cat .logo-wall{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.logo-wall .logo-tile,
.solution-partners-logos .solution-partner-tile{
	display:flex;align-items:center;justify-content:center;
	aspect-ratio:5/2;width:100%;box-sizing:border-box;padding:10px 14px;
	background:var(--white);border:1px solid var(--gray-200);border-radius:var(--radius-md);
	transition:border-color var(--transition-fast),box-shadow var(--transition-fast),transform var(--transition-fast)
}
.logo-wall .logo-tile:hover{border-color:var(--orange);box-shadow:var(--shadow-md);transform:translateY(-2px)}
.logo-wall .logo-tile img,
.solution-partners-logos .solution-partner-tile img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;display:block}
.solution-partners-logos{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:10px;align-items:stretch}
.solution-partners-logos .solution-partner-tile{aspect-ratio:5/2;padding:6px 8px}
@media(max-width:1100px){.logo-wall{grid-template-columns:repeat(4,minmax(0,1fr))}.partner-cat .logo-wall{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:768px){.logo-wall,.partner-cat .logo-wall{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}}
@media(max-width:480px){.logo-wall,.partner-cat .logo-wall{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Anciennes grilles (widgets deja places dans Elementor) : meme gabarit */
.logo-grid .logo-cell{aspect-ratio:5/2;padding:10px 14px}
.logo-grid .logo-cell img{width:100%;height:100%;max-height:none;max-width:100%;object-fit:contain}

/* Carrousels : meme largeur et meme hauteur pour chaque logo */
.marquee .marquee-track{gap:20px}
.marquee .marquee-track .marquee-item{width:150px;height:60px;max-width:none;object-fit:contain;flex:0 0 150px;opacity:1}
@media(max-width:600px){.marquee .marquee-track .marquee-item{width:120px;height:48px;flex-basis:120px}}

/* Textes demandes sur une seule ligne (grand ecran) */
@media(min-width:1100px){
	.nowrap-lg,
	.cta-section .cta-quote,
	.cta-section p,
	.cta-section .cta-content p{white-space:nowrap;max-width:none}
	header.page-header p.nowrap-lg{white-space:nowrap;max-width:none}
}
.cta-section .cta-quote{font-size:clamp(1rem,1.6vw,1.2rem)}
.cta-section p,.cta-section .cta-content p{font-size:clamp(.95rem,1.4vw,1.05rem)}

/* Intervenant des evenements */
.mt-speaker-line{display:block;font-size:.82rem;color:var(--gray-500)}
.mt-speaker-company{font-weight:700;color:var(--navy)}

/* Carte de la page Contact */
.map-container{display:block;min-height:340px}
.map-container iframe{display:block;width:100%;min-height:340px;border:0}

/* Pied de page : liens et texte lisibles sur mobile */
@media(max-width:600px){footer .footer-col{margin-bottom:24px}}

/* ---- v2.9.2 : cartes de domaines (details plaquette), icones, bouton remonter ---- */
.bento-card-details{display:block;font-size:.78rem;line-height:1.5;color:rgba(255,255,255,.85);margin-top:8px;max-height:0;overflow:hidden;transition:max-height var(--transition)}
.bento-card:hover .bento-card-details,.bento-card:focus-visible .bento-card-details{max-height:120px}
@media(hover:none){.bento-card .bento-card-desc,.bento-card .bento-card-details{max-height:none}}
.bento-card-tag{display:none}

/* Icones uniformes, style plaquette : tuile marine arrondie + pictogramme jaune au trait */
.defi-icon,.value-card .value-icon,.mt-sector-icon,.sector-icon{width:48px;height:48px;border-radius:12px;background:var(--navy);display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.defi-icon i,.value-card .value-icon i,.mt-sector-icon i,.sector-icon i{font-size:1.35rem;color:#fac600}

/* Bouton « remonter » : au-dessus du bouton WhatsApp, jamais cache par lui */
.scroll-top{bottom:96px;right:20px;z-index:998}
@media(max-width:600px){.scroll-top{bottom:92px;right:16px;width:44px;height:44px}}

/* Telephones : un numero par ligne, jamais coupe ; plus de numeros dans l'en-tete */
.contact-info-card .contact-phones{white-space:nowrap;line-height:1.9}

/* Page References : logo client a la place de la miniature, carte entierement cliquable */
.ref-card{position:relative}
.ref-card .ref-card-image.ref-card-logo{display:flex;align-items:center;justify-content:center;aspect-ratio:5/2;height:auto;min-height:0;padding:18px 28px;background:#fff;border-bottom:1px solid var(--gray-200);overflow:hidden;text-decoration:none}
.ref-card .ref-card-image.ref-card-logo img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;display:block}
.ref-card .ref-card-link{color:inherit;text-decoration:none}
.ref-card .ref-card-link::after{content:"";position:absolute;inset:0;z-index:1}
.ref-card .ref-card-body .btn,.ref-card .ref-card-body a:not(.ref-card-link){position:relative;z-index:2}
.ref-card:hover .ref-card-link{color:var(--skyblue)}
.filter-btn-empty{opacity:.45}

/* Page solution : image alignee en haut, secteurs concernes en 2 rangees de 4 */
.solution-detail{align-items:flex-start}
.solution-detail .solution-detail-image{align-self:flex-start;margin-top:0}
.sectors-title{font-size:clamp(1.8rem,3.2vw,2.5rem);margin-bottom:6px}
.sectors-sub{color:var(--gray-500);font-weight:600;letter-spacing:.04em;margin:0}
.sectors-grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.sectors-grid-4 .sector-block{display:flex;flex-direction:column;align-items:center;text-align:center;padding:26px 16px;text-decoration:none}
.sectors-grid-4 .sector-block h4{margin:0;font-size:1rem}
@media(max-width:900px){.sectors-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.sectors-grid-4{grid-template-columns:1fr}}

/* ==========================================================================
   v2.9.2 - VERSION MOBILE ET PAGE A PROPOS
   ========================================================================== */

/* Logo : jamais ecrase ni deforme (proportions d'origine 1866 x 878) */
.navbar-logo{flex:0 0 auto;display:block;width:auto}
.navbar-logo img{height:100%;width:auto;max-width:none;aspect-ratio:1866/878;object-fit:contain;display:block}
@media(max-width:992px){
	.navbar-logo{height:44px}
	.navbar-inner{gap:12px;padding:0 16px}
}
@media(max-width:600px){
	.navbar-logo{height:40px}
	.navbar-inner > .btn,.navbar-inner .navbar-cta .btn{padding:8px 12px;font-size:.8rem;white-space:nowrap}
}

/* Fil d'Ariane des articles : le titre long ne ecrase plus la page */
.breadcrumb{flex-wrap:wrap;row-gap:4px;min-width:0}
.breadcrumb span[aria-current="page"]{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:600px){
	.page-header .breadcrumb{font-size:.75rem}
	.page-header .breadcrumb span[aria-current="page"]{max-width:60vw}
	.page-header h1{overflow-wrap:anywhere;hyphens:auto}
}

/* Menu mobile : croix visible pour refermer chaque sous-menu */
@media(max-width:992px){
	.navbar-menu li.mt-open>.mt-submenu-toggle,
	.navbar-menu li.mt-open>.mt-submenu-toggle:hover{background:var(--orange);color:var(--navy)!important}
	.navbar-menu li.mt-open>.mt-submenu-toggle i{display:none}
	.navbar-menu li.mt-open>.mt-submenu-toggle::before{content:"\2715";font-size:1rem;font-weight:700;line-height:1;color:var(--navy)}
	.navbar-menu .mt-submenu-toggle{color:#fff}
	.navbar-menu .menu-item-has-children:hover>.mt-submenu-toggle{color:#fff}
}

/* Page A propos : espace entre le titre et le premier paragraphe */
.reveal-left>h2,.history-content>h2,.about-story>h2{margin-bottom:28px}
.reveal-left>h2+p,.reveal-left>h2+.lead{margin-top:0}

.hero-visual .hero-visual-frame img{object-position:50% 35%}

.map-link{text-align:center;margin:14px 0 0}
.map-link a{font-weight:700;color:var(--navy)}

/* ==========================================================================
   CHARTE TYPOGRAPHIQUE : titres Exo, texte Muli (aussi dans Elementor)
   Les polices globales du kit Elementor ne doivent jamais prendre le dessus.
   ========================================================================== */
:root,body,.elementor-kit-default,[class*="elementor-kit-"]{
	--e-global-typography-primary-font-family:'Exo';
	--e-global-typography-secondary-font-family:'Exo';
	--e-global-typography-text-font-family:'Muli';
	--e-global-typography-accent-font-family:'Muli';
}
body,.elementor,.elementor-widget-container,.elementor p,.elementor li,.elementor label,
.elementor input,.elementor textarea,.elementor select,.elementor td,.elementor th,
.elementor-widget-text-editor,.elementor-widget-text-editor p{font-family:var(--font-body)}
h1,h2,h3,h4,h5,h6,.elementor h1,.elementor h2,.elementor h3,.elementor h4,.elementor h5,.elementor h6,
.elementor-heading-title,.elementor-widget-heading .elementor-heading-title,
.eyebrow,.eyebrow-white,.btn,.navbar-link,.filter-btn,.filter-btn-sector,.form-label,
.bento-card-title,.bento-card-number,.stat-number,.hero-stat-number,.hero-title,
.page-header h1,.section-header h2{font-family:var(--font-heading)}
/* les icones gardent leur propre police */
[class^="bi-"],[class*=" bi-"],.bi,.eicon,[class^="eicon-"],[class*=" eicon-"],.fa,.fas,.far,.fab{font-family:revert}
.bi::before,[class^="bi-"]::before,[class*=" bi-"]::before{font-family:"bootstrap-icons"!important}

/* ==========================================================================
   v2.9.4 - CORRECTIONS (alignements, mobile, "Pour qui ?", justification)
   ========================================================================== */

/* « Secteurs concernés / Pour qui ? » : sous-titre centre et plus grand,
   mais toujours plus petit que le titre (titre min. 1.8rem, sous-titre max. 1.4rem). */
.section-header.center .sectors-title{text-align:center}
.section-header.center p.sectors-sub{
	text-align:center;margin:0 auto;
	font-size:clamp(1.1rem,1.9vw,1.4rem);
	font-weight:600;line-height:1.4;color:var(--gray-500)
}

/* « Parlons de votre projet » : citation et description centrees avec le titre */
.cta-section .cta-quote,
.cta-section p,
.cta-section .cta-content p{text-align:center;margin-left:auto;margin-right:auto}

/* Textes longs justifies des deux cotes (cartes descriptives, articles, fiches).
   Les textes courts, centres ou sur fond sombre (hero, bandeaux, formulaires) restent inchanges. */
.article-content p,.article-content li,
.mt-entry-content p,.mt-entry-content li,
.blog-card p,.event-card p,.ref-card p,.defi-card p,
.team-card-body p,.triptyque-item p,.secteur-card-header p,
.solution-detail-content p,.solution-detail-content li{
	text-align:justify;text-justify:inter-word;hyphens:auto;-webkit-hyphens:auto
}

/* Mobile : le bouton « Contactez-nous » ne recouvre plus le texte du hero */
@media(max-width:992px){
	.navbar{padding:12px 0}
	.navbar.scrolled{padding:10px 0}
	.navbar-inner{flex-wrap:nowrap;gap:10px}
	.navbar-cta{flex-direction:row;align-items:center;width:auto;padding-top:0;margin-left:auto;gap:0}
	.navbar-cta .btn{white-space:nowrap}
	.hero,.hero2{padding-top:132px}
}
@media(max-width:400px){
	.navbar-logo{height:34px}
	.navbar-inner{padding:0 12px;gap:8px}
	.navbar-inner .navbar-cta .btn{padding:7px 10px;font-size:.72rem}
	.navbar-toggle{padding:6px}
}

/* ==========================================================================
   v2.9.20 - LOGO, LANGUE, HERO, SOLUTIONS
   ========================================================================== */

/* Logo de l'en-tête : bien visible à l'arrivée, taille actuelle au défilement.
   La boîte garde sa hauteur (60px) et sa largeur : le menu ne bouge pas. */
.navbar-logo.mt-logo-trim{height:60px;width:180px;display:flex;align-items:center;justify-content:flex-start}
.navbar-logo.mt-logo-trim img{height:36px;width:auto;aspect-ratio:446/89;max-width:none;transition:height var(--transition)}
.navbar.scrolled .navbar-logo.mt-logo-trim img{height:22px}
.navbar-menu{gap:24px}
@media(max-width:1200px){.navbar-logo.mt-logo-trim{width:150px}.navbar-logo.mt-logo-trim img{height:30px}.navbar-menu{gap:18px}.navbar-link{font-size:.85rem}}
@media(max-width:1080px){.navbar-logo.mt-logo-trim{width:120px}.navbar-logo.mt-logo-trim img{height:24px}.navbar-menu{gap:12px}.navbar-link{font-size:.78rem}.navbar-cta .btn{padding:8px 12px;font-size:.78rem}}
@media(min-width:993px){.navbar-link{white-space:nowrap}.navbar-cta .btn{white-space:nowrap}}
@media(min-width:993px) and (max-width:1100px){.navbar-inner{padding:0 16px}.navbar-menu{gap:10px}.navbar-cta{gap:8px}.lang-dropdown-btn{padding:6px 7px}.lang-dropdown-btn .bi-chevron-down{display:none}}
@media(max-width:992px){.navbar-logo.mt-logo-trim{height:44px;width:auto}.navbar-logo.mt-logo-trim img{height:30px}.navbar.scrolled .navbar-logo.mt-logo-trim img{height:22px}.navbar-menu{gap:0}.navbar-link{font-size:1rem}}
@media(max-width:600px){.navbar-logo.mt-logo-trim{height:40px}.navbar-logo.mt-logo-trim img{height:26px}.navbar.scrolled .navbar-logo.mt-logo-trim img{height:20px}}
@media(max-width:400px){.navbar-logo.mt-logo-trim{height:34px}.navbar-logo.mt-logo-trim img{height:22px}}

/* Sélecteur de langue (Polylang), même rendu que le thème HTML */
.navbar-cta{gap:14px}
.lang-dropdown{position:relative}
.lang-dropdown-btn{display:flex;align-items:center;gap:6px;color:rgba(255,255,255,.85);padding:6px 10px;border-radius:var(--radius);font-family:var(--font-heading);font-size:.8rem;font-weight:700;cursor:pointer;transition:color var(--transition-fast),border-color var(--transition-fast);background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.18);line-height:1}
.lang-dropdown-btn:hover,.lang-dropdown.is-open .lang-dropdown-btn{color:var(--white);border-color:rgba(255,255,255,.35)}
.lang-dropdown-btn .bi-globe{font-size:.85rem}
.lang-dropdown-btn .bi-chevron-down{font-size:.6rem;transition:transform var(--transition-fast)}
.lang-dropdown.is-open .lang-dropdown-btn .bi-chevron-down{transform:rotate(180deg)}
.lang-dropdown-menu{position:absolute;top:calc(100% + 8px);right:0;background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow-lg);min-width:150px;padding:8px 0;margin:0;list-style:none;opacity:0;visibility:hidden;transform:translateY(8px);transition:all var(--transition-fast);z-index:1001}
.lang-dropdown-menu::before{content:'';position:absolute;left:0;right:0;top:-10px;height:10px}
.lang-dropdown:hover .lang-dropdown-menu,.lang-dropdown.is-open .lang-dropdown-menu,.lang-dropdown:focus-within .lang-dropdown-menu{opacity:1;visibility:visible;transform:translateY(0)}
.lang-dropdown-menu li{margin:0;padding:0}
.lang-dropdown-item{display:flex;align-items:center;gap:8px;padding:10px 18px;font-size:.9rem;font-family:var(--font-heading);color:var(--gray-600);transition:background var(--transition-fast)}
.lang-dropdown-item:hover{background:var(--gray-ice);color:var(--navy)}
.lang-dropdown-item.active{color:var(--skyblue);font-weight:700}
@media(max-width:992px){.navbar-cta{gap:8px}.lang-dropdown-btn{padding:6px 8px}}

/* Accueil : chiffres clés (80+ / 20+) en bas de l'image, à la place du badge SOC 24/7 */
.hero-visual-overlay{padding:24px 28px}
.hero-visual.has-stats .hero-visual-overlay{background:linear-gradient(to bottom,transparent,rgba(12,70,149,.55) 35%,rgba(12,70,149,.95));padding:56px 28px 24px}
.hero-visual-stats{display:flex;gap:36px;flex-wrap:nowrap;margin:0}
.hero-visual-stats .hero-stat{min-width:0}
.hero-visual-stats .hero-stat-number{font-size:clamp(1.9rem,3vw,2.5rem)}
.hero-visual-stats .hero-stat-label{font-size:.72rem;color:rgba(255,255,255,.9);line-height:1.35}
.hero-visual.has-stats .hero-visual-badge{margin-bottom:14px}
.hero-visual.has-stats .hero-floating-2{bottom:32%}
@media(max-width:992px){.hero-visual.has-stats .hero-floating-2{bottom:36%}}
@media(max-width:576px){.hero-visual-stats{gap:20px}.hero-visual.has-stats .hero-visual-overlay{padding:40px 16px 16px}.hero-visual-stats .hero-stat-label{font-size:.62rem;letter-spacing:.06em}}

/* Page Solutions : image, domaine et nom cliquables ; icône + nom + bouton alignés */
a.solution-detail-image{display:block;color:inherit}
.solution-detail-eyebrow{display:inline-block;text-decoration:none}
.solution-detail-headline{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:6px 0 20px}
.solution-detail-headline .solution-detail-icon{margin:0!important;flex:0 0 auto}
.solution-detail-headline h3{margin:0;flex:1 1 220px;min-width:0}
.solution-detail-headline h3 a{color:inherit;text-decoration:none}
.solution-detail-headline h3 a:hover{color:var(--skyblue)}
.solution-detail-headline .solution-detail-more{margin:0;flex:0 0 auto;white-space:nowrap}
@media(max-width:576px){.solution-detail-headline .solution-detail-more{margin-left:0}}

/* Accueil : bloc « Ils nous font confiance » sous l'en-tête des références */
.elementor-widget-macrotech-section-header + .elementor-widget-macrotech-marquee{margin-top:-8px;margin-bottom:24px}

/* ==========================================================================
   v2.9.22 - ACCUEIL : GRAND LOGO DANS LE HERO
   ========================================================================== */

/* Logo vertical sur une plaque blanche (ses couleurs bleu et gris restent lisibles
   sur le fond bleu), dans le même style que les cartes chiffrées de l'image. */
.hero-brand{display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.97);border-radius:var(--radius-lg);padding:18px 30px;margin-bottom:28px;box-shadow:0 18px 40px rgba(4,24,60,.28)}
.hero-brand img{display:block;height:104px;width:auto;max-width:100%}
@media(max-width:1200px){.hero-brand img{height:88px}}
@media(max-width:768px){.hero-brand{padding:14px 22px;margin-bottom:22px}.hero-brand img{height:72px}}
@media(max-width:400px){.hero-brand img{height:60px}}

/* Accueil uniquement : le petit logo du menu est masqué tant que le grand logo est
   visible, puis réapparaît au défilement. La place est conservée : le menu ne bouge pas. */
body.home .navbar:not(.scrolled) .navbar-logo{opacity:0;visibility:hidden;pointer-events:none}
body.home .navbar .navbar-logo{transition:opacity var(--transition),visibility var(--transition)}

/* v2.9.22 : avec les flèches des sous-menus et le sélecteur de langue, la ligne du
   menu est pleine : un peu d'air entre le logo et « Accueil ». */
@media(min-width:1201px){
	.navbar-logo.mt-logo-trim{width:172px;margin-right:18px}
	.navbar-logo.mt-logo-trim img{height:34px}
	.navbar-menu{gap:18px}
	.navbar-cta{gap:12px}
}
@media(min-width:993px) and (max-width:1200px){.navbar-logo.mt-logo-trim{margin-right:12px}}

/* v2.9.23 : sur la page de recherche, le lien image des cartes restait « inline » :
   la hauteur fixe ne s'appliquait pas et l'image occupait toute la carte. */
.blog-card .blog-card-image{display:block}

/* v2.9.24 : message après le clic sur le lien de confirmation (ou de désinscription)
   de la newsletter. Il était rendu sans style, caché sous la barre de navigation. */
.mt-nl-banner{position:fixed;left:50%;top:150px;transform:translateX(-50%);z-index:10050;width:min(640px,calc(100% - 32px));padding:16px 22px;border-radius:var(--radius-lg,14px);box-shadow:0 18px 40px rgba(4,24,60,.28);font-weight:600;line-height:1.5;text-align:center;animation:mtNlBanner 9s ease forwards}
.mt-nl-banner .container{padding:0;max-width:none}
.mt-nl-banner-success{background:#e7f6ec;color:#116329;border:1px solid #b7e2c4}
.mt-nl-banner-info{background:#eef4fc;color:#0C4695;border:1px solid #c9dbf3}
.mt-nl-banner-error{background:#fdecec;color:#a4262c;border:1px solid #f3c2c4}
@keyframes mtNlBanner{0%,85%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
@media(max-width:768px){.mt-nl-banner{top:96px}}

/* v2.9.29 : entre 993 et 1250 px de large (et dans l'aperçu de l'éditeur Elementor,
   qui fait 1140 px), la flèche des sous-menus passait sous le libellé et la barre de
   navigation se déformait. Libellé et flèche restent sur la même ligne. */
@media(min-width:993px){
	.navbar-menu > li{display:flex;align-items:center;white-space:nowrap}
	.navbar-menu > li > .mt-submenu-toggle{flex:0 0 auto}
}
@media(min-width:993px) and (max-width:1250px){
	.navbar-menu{gap:12px}
	.navbar-menu > li > .navbar-link{font-size:13.5px}
}
@media(min-width:993px) and (max-width:1099px){
	.navbar-menu{gap:8px}
	.navbar-menu > li > .navbar-link{font-size:12.5px}
	.navbar-logo.mt-logo-trim{width:130px;margin-right:8px}
	.navbar-cta{gap:8px}
	.navbar-cta .btn{padding:9px 12px;font-size:13px}
}

/* v2.9.32 : photos des événements, en grille, agrandissement au clic */
.mt-event-gallery{margin:40px 0 10px}
.mt-event-gallery-title{font-size:1.5rem;margin:0 0 18px}
.mt-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}
.mt-gallery-item{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;border-radius:var(--radius-md,10px);background:#e8eef7;cursor:zoom-in}
.mt-gallery-item img{width:100%!important;height:100%!important;max-width:none;object-fit:cover;display:block;margin:0!important;transition:transform .35s ease}
.mt-gallery-item:hover img,.mt-gallery-item:focus-visible img{transform:scale(1.05)}
.mt-gallery-item:focus-visible{outline:3px solid var(--mt-skyblue,#4385C5);outline-offset:2px}
@media(max-width:768px){.mt-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}
.mt-lightbox{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;background:rgba(4,14,32,.92);opacity:0;visibility:hidden;transition:opacity .2s ease}
.mt-lightbox.is-open{opacity:1;visibility:visible}
.mt-lightbox figure{margin:0;max-width:92vw;max-height:88vh;display:flex;flex-direction:column;align-items:center}
.mt-lightbox img{max-width:92vw;max-height:82vh;width:auto;height:auto;border-radius:8px;box-shadow:0 20px 60px rgba(0,0,0,.5)}
.mt-lightbox figcaption{color:#e2e8f0;font-size:14px;margin-top:10px;text-align:center}
.mt-lightbox-count{position:absolute;top:18px;left:22px;color:#cbd5e1;font-size:14px}
.mt-lightbox button{position:absolute;border:0;background:rgba(255,255,255,.12);color:#fff;width:48px;height:48px;border-radius:50%;font-size:22px;cursor:pointer;display:flex;align-items:center;justify-content:center}
.mt-lightbox button:hover,.mt-lightbox button:focus-visible{background:rgba(255,255,255,.25)}
.mt-lightbox-close{top:14px;right:16px}
.mt-lightbox-prev{left:16px;top:50%;transform:translateY(-50%)}
.mt-lightbox-next{right:16px;top:50%;transform:translateY(-50%)}
@media(max-width:600px){.mt-lightbox-prev,.mt-lightbox-next{top:auto;bottom:18px;transform:none}.mt-lightbox-prev{left:calc(50% - 60px)}.mt-lightbox-next{right:calc(50% - 60px)}}
body.mt-lightbox-open{overflow:hidden}
/* Lien direct vers un bloc (#guide-cybersecurite) : le bloc n'est pas caché sous le menu. */
.mt-anchor-section{scroll-margin-top:110px}
.mt-anchor-section .reveal{opacity:1;transform:none}
