/*!
Theme Name: marbio
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: marbio
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

marbio is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

/* ================================
   GLOBAL — NEVER BREAK A WORD ACROSS LINES
   Disables hyphenation everywhere on the site, overriding any
   earlier hyphens:auto / hyphens:manual rules.
================================ */
*, *::before, *::after {
  hyphens: none !important;
  -webkit-hyphens: none !important;
  -ms-hyphens: none !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  word-wrap: normal !important;
}

/* =========================================================
   FINAL HEADER LOGO FIX
   Neutralizes the old absolute/negative positioning rules.
   Keep this block at the very end of style.css.
   ========================================================= */
@media (min-width: 992px) {
  #masthead.marbio-site-header .marbio-navbar > .container {
    display: flex !important;
    align-items: center !important;
    min-height: 72px !important;
    padding-left: clamp(32px, 4vw, 72px) !important;
    padding-right: clamp(32px, 4vw, 72px) !important;
  }

  #masthead.marbio-site-header .marbio-navbar .navbar-brand,
  #masthead.marbio-site-header .marbio-navbar.is-scrolled .navbar-brand {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    align-self: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    margin: 0 36px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: visible !important;
    transform: none !important;
  }

  #masthead.marbio-site-header .marbio-navbar .navbar-brand .marbio-logo,
  #masthead.marbio-site-header .marbio-navbar.is-scrolled .navbar-brand .marbio-logo {
    position: static !important;
    display: block !important;
    width: auto !important;
    height: 44px !important;
    max-width: 210px !important;
    max-height: 44px !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: left center !important;
    transform: none !important;
  }
}

@media (max-width: 991.98px) {
  #masthead.marbio-site-header .marbio-navbar .navbar-brand,
  #masthead.marbio-site-header .marbio-navbar.is-scrolled .navbar-brand {
    position: static !important;
    inset: auto !important;
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    height: auto !important;
    margin: 0 auto 0 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  #masthead.marbio-site-header .marbio-navbar .navbar-brand .marbio-logo,
  #masthead.marbio-site-header .marbio-navbar.is-scrolled .navbar-brand .marbio-logo {
    display: block !important;
    width: auto !important;
    height: 40px !important;
    max-width: 180px !important;
    max-height: 40px !important;
    object-fit: contain !important;
    transform: none !important;
  }
}

/* =====================
   FONT FACE DECLARATIONS
   ===================== */

@font-face {
  font-family: 'Bebas Neue Pro';
  src: url('fonts/Bebas-Neue-Pro-Regular-BF66cf3d7814160.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bebas Neue Pro';
  src: url('fonts/Bebas-Neue-Pro-Bold-BF66cf3d7770dfe.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bebas Neue Pro Expanded';
  src: url('fonts/Bebas-Neue-Pro-Expanded-Regular-BF66cf3d77b3b0c.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bebas Neue Pro Expanded';
  src: url('fonts/Bebas-Neue-Pro-Expanded-Bold-BF66cf3d77b066f.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bebas Neue Pro Expanded';
  src: url('fonts/Bebas-Neue-Pro-Expanded-ExtraBold-BF66cf3d793166e.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lato';
  src: url('fonts/Lato-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lato';
  src: url('fonts/Lato-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lato';
  src: url('fonts/Lato-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* =====================
   TYPOGRAPHY SYSTEM
   ===================== */

/* Body / paragraphs / general text */
body, p, li, td, input, textarea, select {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
}

/* Hero headline */
.hero-content h1 {
  font-family: 'Bebas Neue Pro Expanded', sans-serif;
}
.hero-content h1 strong {
  font-family: 'Bebas Neue Pro Expanded', sans-serif;
}

/* Section titles h2 */
h2 {
  font-family: 'Bebas Neue Pro', sans-serif;
}

/* Stat numbers */
.stat-animate {
  font-family: 'Bebas Neue Pro Expanded', sans-serif;
}

/* Section labels (NOTRE VISION, À LA UNE, etc.) */
.marbio-vision-wrap > div > span:first-child,
#marbio-actualites span[style*="text-transform"],
#marbio-carrieres span[style*="text-transform"],
#marbio-impact span[style*="text-transform"] {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}

/* Buttons */
.marbio-btn-navy,
.marbio-btn-white {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}

/* Navigation */
.marbio-navbar .nav-link {
  font-family: 'Lato', sans-serif;
}

/* WYSIWYG content helper */
.marbio-wysiwyg strong, .marbio-wysiwyg b {
  font-weight: 700;
  color: inherit;
}
.marbio-wysiwyg p {
  margin-bottom: 0;
}

/* Footer */
.marbio-footer-menu li a {
  font-family: 'Lato', sans-serif;
}

/*--------------------------------------------------------------
# WordPress specifiques
--------------------------------------------------------------*/

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* WordPress alignments */
.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* WordPress captions */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
	text-align: center;
}

/* WordPress galleries */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-columns-6 { grid-template-columns: repeat(6, 1fr); }
.gallery-columns-7 { grid-template-columns: repeat(7, 1fr); }
.gallery-columns-8 { grid-template-columns: repeat(8, 1fr); }
.gallery-columns-9 { grid-template-columns: repeat(9, 1fr); }

.gallery-caption {
	display: block;
}

/* Sticky posts */
.sticky {
	display: block;
}

.updated:not(.published) {
	display: none;
}

.bypostauthor {
	display: block;
}

/* Pharmacovigilance page */
section.pharma-intro-section {
	padding: 120px 0 !important;
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	display: block !important;
	box-sizing: border-box !important;
}
section.pharma-intro-section .pharma-intro-inner {
	width: 100% !important;
	max-width: none !important;
	padding: 0 80px !important;
	box-sizing: border-box !important;
	margin: 0 !important;
}
.pv-btn.pv-btn-patient {
	border-color: #2BA89D !important;
}
.pv-btn.pv-btn-patient span,
.pv-btn.pv-btn-patient {
	color: #2BA89D !important;
}

section.pharma-intro-section .pv-reveal,
section.pharma-intro-section p {
	max-width: none !important;
	width: 100% !important;
	display: block !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.pharma-intro-section p {
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	line-height: 1.8;
	color: #333333;
	text-align: center;
	margin: 0 0 20px 0;
}

.pharma-contact-box {
	border: 1px solid rgba(255,255,255,0.4);
	padding: 20px 30px;
	color: #FFFFFF;
	font-family: 'Lato', sans-serif;
	font-size: 14px;
	line-height: 1.65;
}
.pharma-contact-box strong,
.pharma-contact-box b { color: #FFFFFF; font-weight: 700; }
.pharma-contact-box ol,
.pharma-contact-box ul { padding-left: 20px; margin-top: 15px; }
.pharma-contact-box li { margin-bottom: 8px; }
.pharma-contact-box p { margin-bottom: 12px; }
.pharma-contact-box a { color: #FFFFFF; text-decoration: underline; }

.pharma-contact-text {
	color: #FFFFFF;
	font-family: 'Lato', sans-serif;
	font-size: 15px;
	line-height: 1.8;
}
.pharma-contact-text strong,
.pharma-contact-text b {
	color: #FFFFFF;
	font-weight: 700;
}
.pharma-contact-text ol,
.pharma-contact-text ul {
	padding-left: 20px;
	margin-top: 15px;
}
.pharma-contact-text li {
	margin-bottom: 8px;
}
.pharma-contact-text p {
	margin-bottom: 12px;
}
.pharma-footer-text {
	max-width: 700px;
	margin: 0 auto;
	font-family: 'Lato', sans-serif;
	font-size: 15px;
	line-height: 1.8;
	color: #333333;
	text-align: left;
}
.pharma-footer-text strong {
	font-weight: 700;
	color: #1b2f5e;
}
.pharma-site-web {
	display: inline-block;
	border: 1px solid #2ab5a0;
	padding: 15px 40px;
	margin: 0 auto;
	font-family: 'Lato', sans-serif;
	font-size: 15px;
}
.pharma-site-web span,
.pharma-site-label {
	color: #2ab5a0;
	font-weight: 700;
	margin-right: 8px;
}
.pharma-site-web a {
	color: #2ab5a0;
	text-decoration: none;
}
.pharma-site-web a:hover {
	text-decoration: underline;
}

/* Smooth scroll for anchor links, offset for sticky navbar */
html {
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
}

/*--------------------------------------------------------------
# Custom styles marbio
--------------------------------------------------------------*/

/* ---- Variables ---- */
:root {
	--marbio-blue: #1a2b5f;
	--marbio-blue-light: #243a7a;
	--marbio-green: #2a9d8f;
}

/* ---- Layout (sticky footer) ---- */
#page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
	padding: 0;
}

#primary {
	flex: 1;
}

/* ---- Header / Navbar ---- */
.marbio-navbar {
	background-color: #fff;
	padding: 0.75rem 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	position: sticky;
	top: 0;
	z-index: 9999;
}

/* Search bar */
.navbar-search-wrapper {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #FFFFFF;
	padding: 0 40px;
	box-shadow: 0 8px 30px rgba(0,0,0,0.12);
	z-index: 9998;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1),
	            opacity 0.3s ease,
	            padding 0.4s cubic-bezier(0.4,0,0.2,1);
}
.navbar-search-wrapper.active {
	max-height: 120px;
	opacity: 1;
	padding: 24px 40px;
}
.navbar-search-wrapper .search-form {
	display: flex;
	align-items: center;
	max-width: 700px;
	margin: 0 auto;
	border-bottom: 2px solid #1F487C;
	transition: border-color 0.3s ease;
}
.navbar-search-wrapper .search-form:focus-within {
	border-color: #2ab5a0;
}
.navbar-search-wrapper .search-field {
	flex: 1;
	border: none;
	padding: 14px 0;
	font-family: 'Lato', sans-serif;
	font-size: 18px;
	font-weight: 400;
	color: #0E0E3A;
	outline: none;
	background: transparent;
	letter-spacing: 0.3px;
}
.navbar-search-wrapper .search-field::placeholder {
	color: #aaa;
	font-weight: 300;
}
.navbar-search-wrapper .search-submit {
	background: transparent;
	color: #1F487C;
	border: none;
	padding: 14px 20px;
	cursor: pointer;
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: color 0.3s ease;
}
.navbar-search-wrapper .search-submit:hover {
	color: #2ab5a0;
}
.btn-search {
	background: none;
	border: none;
	color: #1F487C;
	cursor: pointer;
	padding: 4px 8px;
	transition: color 0.3s ease, transform 0.3s ease;
}
.btn-search:hover {
	color: #2ab5a0;
	transform: scale(1.1);
}
.btn-search.active svg {
	color: #2ab5a0;
}

.marbio-navbar .navbar-brand {
	padding: 0;
}

.marbio-logo {
	height: 40px;
	width: auto;
}

.marbio-logo-text {
	color: var(--marbio-blue);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 1px;
}

.marbio-navbar .nav-link {
	color: var(--marbio-blue);
	font-size: 0.875rem;
	font-weight: 700;
	padding: 0.5rem 0.85rem;
	transition: color 0.2s ease;
}

.marbio-navbar .nav-link:hover,
.marbio-navbar .nav-link:focus,
.marbio-navbar .nav-link.active {
	color: var(--marbio-green);
}

.marbio-navbar .dropdown-toggle::after {
	display: none;
}

/* Dropdown: show on hover (desktop) */
@media (min-width: 992px) {
	.marbio-navbar .nav-item.dropdown:hover > .dropdown-menu {
		display: block;
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		pointer-events: all;
	}
	/* Allow parent links to navigate — override Bootstrap dropdown behavior */
	.marbio-navbar .nav-link.dropdown-toggle {
		pointer-events: auto;
		cursor: pointer;
	}
}

/* Homepage editorial copy: readable justified text without affecting headings or UI. */
body.home #marbio-vision p,
body.home #marbio-actualites .news-card p,
body.home #marbio-impact p,
body.home #marbio-carrieres p {
  text-align: justify !important;
  text-justify: inter-word;
}

.marbio-navbar .dropdown-menu {
	background-color: #fff;
	border: none;
	border-radius: 0;
	border-top: 3px solid #2ab5a0;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	padding: 8px 0;
	min-width: 220px;
	margin-top: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
	display: block;
}

.marbio-navbar .dropdown-item {
	color: #1b2f5e;
	font-size: 0.875rem;
	padding: 10px 20px;
	transition: all 0.2s ease;
}

.marbio-navbar .dropdown-item:hover,
.marbio-navbar .dropdown-item:focus {
	background-color: #f5f6f7;
	color: #2ab5a0;
	padding-left: 28px;
}

.marbio-navbar .dropdown-item:active,
.marbio-navbar .dropdown-item.active,
.marbio-navbar .dropdown-menu .dropdown-item:active,
.marbio-navbar .dropdown-menu .dropdown-item.active {
	background-color: #f5f6f7 !important;
	color: #2ab5a0 !important;
}

/* Active & current page styles — parent nav items only */
.marbio-navbar .navbar-nav > li:first-child {
	display: none;
}
.marbio-navbar .navbar-nav > .nav-item.current-menu-item > .nav-link,
.marbio-navbar .navbar-nav > .nav-item.current-menu-parent > .nav-link,
.marbio-navbar .navbar-nav > .nav-item.current-menu-ancestor > .nav-link {
	color: #2ab5a0;
	border-bottom: 2px solid #2ab5a0;
	padding-bottom: calc(0.5rem - 2px);
}

/* Submenu items — always dark navy, regular weight, never green */
.marbio-navbar .dropdown-menu .dropdown-item {
	color: #1b2f5e !important;
	border-bottom: none !important;
	background-color: transparent !important;
	font-family: 'Lato', sans-serif !important;
	font-weight: 700 !important;
}
.marbio-navbar .dropdown-menu .dropdown-item:hover,
.marbio-navbar .dropdown-menu .dropdown-item:focus {
	color: #2ab5a0 !important;
	background-color: #f5f6f7 !important;
	padding-left: 28px;
}
.marbio-navbar .dropdown-menu .dropdown-item.active,
.marbio-navbar .dropdown-menu .dropdown-item:active {
	color: #1b2f5e !important;
	background-color: transparent !important;
	border-bottom: none !important;
	font-family: 'Lato', sans-serif !important;
	font-weight: 700 !important;
}

.marbio-navbar .navbar-nav-icons .btn-link {
	color: var(--marbio-blue);
	text-decoration: none;
	font-size: 1rem;
}

.marbio-navbar .navbar-nav-icons .btn-link:hover {
	color: var(--marbio-green);
}

.marbio-navbar .btn-search {
	width: 36px;
	height: 36px;
	border: 1px solid #ddd;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	color: var(--marbio-blue);
	background: transparent;
}

.marbio-navbar .btn-lang {
	width: 36px;
	height: 36px;
	border: 2px solid var(--marbio-green);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	color: var(--marbio-green);
	background: transparent;
	font-size: 0.75rem;
	font-weight: 700;
}

.marbio-navbar .navbar-toggler {
	border: none;
	padding: 0;
}

.marbio-navbar .navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a2b5f' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---- Offcanvas Mobile Menu ---- */
.marbio-offcanvas {
	background-color: var(--marbio-blue);
	max-width: 300px;
	width: 75vw;
	top: 0 !important;
	bottom: 0 !important;
	height: 100% !important;
	min-height: 100vh !important;
	min-height: 100dvh !important;
	position: fixed !important;
	overflow-y: auto;
	z-index: 99999 !important;
}

/* Offcanvas backdrop above navbar */
.offcanvas-backdrop {
	z-index: 99998 !important;
}

/* Block page scroll when offcanvas is open */
body.offcanvas-open {
	overflow: hidden !important;
	position: fixed !important;
	width: 100% !important;
	top: 0 !important;
}

.marbio-offcanvas .offcanvas-header {
	padding: 1.25rem 1.25rem 0.5rem;
}

/* Close button — outlined square */
.marbio-offcanvas .btn-close {
	width: 32px;
	height: 32px;
	border: 1.5px solid rgba(255, 255, 255, 0.5);
	border-radius: 0;
	opacity: 1;
	padding: 0;
	background-size: 12px;
}

.marbio-offcanvas .offcanvas-body {
	padding: 0.5rem 1.25rem 1.25rem;
}

.marbio-offcanvas-menu {
	margin: 0;
	padding: 0;
}

.marbio-offcanvas-menu > li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
	padding: 0.85rem 0;
}

.marbio-offcanvas-menu > li:last-child {
	border-bottom: none;
}

/* Hide "Accueil" (first item with no children) */
.marbio-offcanvas-menu > li:first-child {
	display: none;
}

.offcanvas-menu-title {
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
	display: block;
	margin-bottom: 0.35rem;
}

.offcanvas-menu-title:hover {
	color: rgba(255, 255, 255, 0.8);
}

.offcanvas-menu-link {
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.9rem;
	text-decoration: none;
	display: block;
	padding: 0.2rem 0;
}

.offcanvas-menu-link:hover {
	color: #fff;
}


/* ---- TOP MENU ---- */
.top-menu {
  background: #f5f5f5;
  padding: 0 0;
  text-align: right;
}

.top-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-menu-list li {
  display: inline-block;
  margin-left: 20px;
}

.top-menu-list li a {
  text-decoration: none;
  color: white;
  font-size: 13px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.top-menu-list li a:hover {
  color: var(--marbio-green);
}
.top-menu-container {
  justify-content: end !important;
}


/* ---- Footer ---- */
.marbio-footer {
	position: relative;
	overflow: hidden;
	background: #10255a !important;
	background-image:
		radial-gradient(circle at 8% 5%, rgba(43, 181, 160, 0.24), transparent 28rem),
		radial-gradient(circle at 94% 100%, rgba(69, 109, 185, 0.3), transparent 26rem),
		linear-gradient(120deg, #0d1d49 0%, #17366f 100%);
	padding: 4rem 0 1.75rem;
	color: #fff;
}

.marbio-footer::before {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 44px 44px;
	content: '';
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 86%);
	pointer-events: none;
}

.marbio-footer .container {
	position: relative;
	z-index: 1;
}

.marbio-footer-top {
	gap: 3rem;
	min-height: 64px;
	padding-bottom: 2rem;
}

.marbio-footer-logo {
	text-decoration: none;
	flex-shrink: 0;
	display: block;
	max-width: 190px;
	transition: transform 220ms ease;
}

.marbio-footer-logo:hover { transform: translateY(-2px); }

.marbio-footer-logo img {
	height: 40px !important;
	width: auto !important;
	max-width: 190px !important;
	filter: brightness(0) invert(1);
	object-fit: contain;
}

.marbio-footer-logo-text {
	color: #fff;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 1px;
}

.marbio-footer-menu {
	gap: clamp(1.5rem, 3vw, 3.4rem);
}

.marbio-footer-menu li a {
	position: relative;
	display: inline-block;
	padding: 0.45rem 0;
	color: rgba(255, 255, 255, 0.86);
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	transition: color 200ms ease;
}

.marbio-footer-menu li a::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	background: #35c5ad;
	content: '';
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 220ms ease;
}

.marbio-footer-menu li a:hover {
	color: #fff;
}

.marbio-footer-menu li a:hover::after,
.marbio-footer-menu .current-menu-item > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

.marbio-footer-social {
	display: inline-grid;
	width: 44px;
	height: 44px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.32);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	box-shadow: 0 8px 18px rgba(3, 15, 49, 0.18);
	color: #fff;
	text-decoration: none;
	transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.marbio-footer-social:hover {
	border-color: #35c5ad;
	background: #35c5ad;
	color: #fff;
	transform: translateY(-3px);
}

.marbio-footer-divider {
	border-color: rgba(255, 255, 255, 0.19);
	margin: 0;
}

.marbio-footer-bottom {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.68);
	padding-top: 1.4rem;
}

.marbio-footer-bottom p {
	color: rgba(255, 255, 255, 0.6);
}

.marbio-footer-legal {
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
	font-size: 0.8rem;
	font-weight: 700;
	transition: color 200ms ease;
}

.marbio-footer-legal:hover {
	color: #fff;
}

.marbio-footer-credit {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.8rem;
}

.marbio-footer-credit a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
}

.marbio-footer-credit a:hover {
	color: #fff;
	text-decoration: underline;
}

/* Persistent, keyboard-accessible scroll-to-top control. */
.marbio-scroll-top {
	position: fixed;
	right: clamp(1rem, 2.4vw, 2.25rem);
	bottom: clamp(1rem, 2.4vw, 2.25rem);
	z-index: 20;
	display: inline-grid;
	width: 48px;
	height: 48px;
	place-items: center;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 50%;
	background: rgba(13, 29, 73, 0.92);
	box-shadow: 0 12px 30px rgba(6, 16, 43, 0.28);
	backdrop-filter: blur(10px);
	color: #fff;
	line-height: 1;
	text-decoration: none;
	transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.marbio-scroll-top svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.marbio-scroll-top:hover {
	border-color: #35c5ad;
	background: #35c5ad;
	box-shadow: 0 15px 32px rgba(18, 125, 111, 0.38);
	color: #fff;
	transform: translateY(-4px);
}

.marbio-footer a:focus-visible {
	outline: 3px solid #64dac9;
	outline-offset: 4px;
}

/* Mini-tablet: stack the 3-line footer bottom vertically (768–991px) */
@media (max-width: 991px) {
	.marbio-footer-bottom {
		flex-direction: column !important;
		justify-content: center !important;
		align-items: center !important;
		gap: 8px !important;
		text-align: center !important;
	}
}

/* ================================
   MARBIO HOMEPAGE STYLES
================================ */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
}
#page, .site {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

:root {
  --navy: #1b2f5e;
  --teal: #2ab5a0;
  --light-gray: #f5f6f7;
}

/* HERO */
.hero-section {
  position: relative;
  height: 85vh;
  background-size: cover;
  background-position: center 18%;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 60px;
  overflow: hidden;
  margin: 0;
  width: 100%;
  backface-visibility: hidden;
  will-change: transform;
}
.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: #ffffff;
  z-index: 3;
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(14,14,58,0.4) 25%, rgba(94,94,123,0.12) 50%, transparent 65%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 550px;
}
.hero-content h1 {
  font-size: 72px;
  font-weight: 300;
  line-height: 1.25;
  color: white;
  letter-spacing: -1px;
  margin: 0;
}

/* STATS */
.stats-section {
  padding: 60px 80px;
  text-align: center;
  background: white;
}
.stats-tagline {
  font-size: 17px;
  margin-bottom: 40px;
}
.stats-grid {
  display: flex;
  justify-content: center;
  gap: 0;
}
.stat-item {
  flex: 1;
  max-width: 180px;
  padding: 0 20px;
  border-right: 1px solid #e8e8e8;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  display: block;
  font-size: 40px;
  font-weight: 800;
  color: var(--navy);
}
.stat-label {
  display: block;
  font-size: 11px;
  color: #888;
  margin-top: 6px;
  line-height: 1.4;
}

/* VISION */
.vision-section {
  background: var(--light-gray);
  padding: 80px;
}
.vision-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.vision-text .section-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--teal);
  text-transform: uppercase;
}
.vision-text h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  margin: 14px 0;
  line-height: 1.35;
}
.vision-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* BUTTONS */
.btn-outline, .btn-outline-dark {
  display: inline-block;
  padding: 11px 26px;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-decoration: none;
  margin-top: 24px;
  transition: all 0.3s;
}
.btn-outline:hover, .btn-outline-dark:hover {
  background: var(--navy);
  color: white;
}
.btn-white {
  display: inline-block;
  padding: 11px 26px;
  border: 2px solid white;
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-white:hover { background: white; color: var(--navy); }

/* NEWS */
.news-section { padding: 80px; background: white; }
.section-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.accent-bar { display: inline-block; width: 3px; height: 18px; background: var(--teal); }
.accent-bar-white { display: inline-block; width: 3px; height: 18px; background: white; }
.section-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--teal);
  text-transform: uppercase;
}
.news-section h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 36px;
}
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 36px; }
.news-card { border: 1px solid #eee; overflow: hidden; }
.news-image img { width: 100%; height: 220px; object-fit: cover; display: block; }
.news-body { padding: 20px 24px; }
.news-date { font-size: 10px; color: var(--teal); font-weight: 700; letter-spacing: 1px; }
.news-body h3 { font-size: 15px; font-weight: 800; color: var(--navy); margin: 8px 0; line-height: 1.4; }
.news-body p { font-size: 13px; color: #777; line-height: 1.65; }
.news-link { font-size: 10px; font-weight: 700; color: var(--teal); letter-spacing: 1px; display: inline-block; margin-top: 14px; text-decoration: none; }
.center { text-align: center; margin-top: 36px; }

/* PRODUCTS */
.products-section { background: var(--navy); padding: 80px; }
.products-header { display: flex; align-items: center; gap: 12px; margin-bottom: 36px; }
.products-header h2 { font-size: 26px; font-weight: 800; color: white; line-height: 1.3; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-bottom: 36px; }
.product-card { position: relative; overflow: hidden; height: 280px; }
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; display: block; }
.product-card:hover img { transform: scale(1.05); }
.product-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(27,47,94,0.88);
  padding: 14px 20px;
}
.product-overlay span { color: white; font-size: 11px; font-weight: 800; letter-spacing: 2px; }

/* ENGAGEMENT */
.engagement-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; }
.engagement-text {
  padding: 80px 60px; background: white;
  display: flex; flex-direction: column; justify-content: center;
}
.engagement-text h2 { font-size: 34px; font-weight: 800; color: var(--navy); line-height: 1.2; margin: 14px 0; }
.engagement-text p { font-size: 13px; color: #666; line-height: 1.75; }
.engagement-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* SOUVERAINETÉ */
.souverainete-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 440px; }
.souverainete-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.souverainete-text {
  padding: 80px 60px; background: var(--light-gray);
  display: flex; flex-direction: column; justify-content: center;
}
.souverainete-text h2 { font-size: 28px; font-weight: 800; color: var(--navy); line-height: 1.35; margin: 14px 0; }
.souverainete-text p { font-size: 13px; color: #666; line-height: 1.75; }

/* ================================
   ANIMATIONS & INTERACTIONS
================================ */

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.reveal--left  { transform: translateX(-50px); }
.reveal.reveal--right { transform: translateX(50px); }
.reveal.reveal--scale { transform: scale(0.92); }

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* Staggered children animation */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Hero text entrance */
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content h1 {
  animation: heroSlideUp 1s ease 0.3s both;
}

/* Stat number count-up feel */
@keyframes statPop {
  0% { opacity: 0; transform: scale(0.5); }
  70% { transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}
.stat-animate {
  opacity: 0;
}
.stat-animate.is-visible {
  animation: statPop 0.6s ease forwards;
}

/* Accent bar grow */
.accent-grow {
  width: 0;
  transition: width 0.6s ease;
}
.accent-grow.is-visible {
  width: 40px;
}

/* News card hover */
.news-card-hover {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.news-card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}
.news-card-hover img {
  transition: transform 0.5s ease;
}
.news-card-hover:hover img {
  transform: scale(1.06);
}

/* News "Lire la suite" link arrow slide */
.news-link-hover {
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}
.news-link-hover:hover {
  letter-spacing: 2px;
  color: #1b2f5e;
}

/* Product card hover - zoom + overlay shift */
.product-card-hover {
  overflow: hidden;
  cursor: pointer;
}
.product-card-hover > div:first-child {
  transition: opacity 0.4s ease;
}
/* Product image treatment is handled by its dedicated card styles below. */
.product-card-hover span {
  transition: letter-spacing 0.4s ease, transform 0.4s ease;
}
.product-card-hover:hover span {
  letter-spacing: 6px;
  transform: scale(1.05);
}

/* Card hover lift */
.actualite-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.actualite-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(14, 14, 58, 0.12);
}

/* ================================
   RESPONSIVE — MOBILE (max 768px)
================================ */
@media (max-width: 768px) {

  /* --- GENERAL --- */
  body, .site {
    overflow-x: hidden;
    max-width: 100vw;
  }
  .reveal {
    transform: translateY(20px) !important;
    transition: opacity 0.5s ease, transform 0.5s ease !important;
  }
  .reveal--left, .reveal--right {
    transform: translateY(20px) !important;
  }
  .reveal.is-visible,
  .reveal--left.is-visible,
  .reveal--right.is-visible {
    transform: translateY(0) translateX(0) scale(1) !important;
  }

  /* --- 1. HERO --- */
  #page, body {
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: hidden !important;
  }
  .hero-section {
    min-height: 450px !important;
    height: 450px !important;
    padding: 0 20px 40px !important;
    margin: 0 !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #0E1C4A !important;
    display: flex !important;
    align-items: flex-end !important;
    overflow: hidden !important;
    width: 100% !important;
  }
  .hero-content {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .hero-content h1 {
    font-size: 36px !important;
    max-width: 100% !important;
    letter-spacing: 0 !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }
  .hero-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.15) 50%, transparent 100%) !important;
  }


@media (min-width: 769px) and (max-width: 1024px) {
  .hero-section {
    height: 75vh;
    background-size: cover;
    background-position: center 22%;
    padding: 40px;
  }
  .hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin: 0;
  }
}

/* Ensure following sections sit above any hero overlap */
#marbio-vision,
#marbio-capacite,
#marbio-produits,
#marbio-impact,
#marbio-carrieres {
  position: relative;
  z-index: 2;
}

  /* --- 3. NOTRE VISION --- */
  #marbio-vision {
    min-height: auto !important;
    background-position: 75% center !important;
    background-size: cover !important;
    padding: 60px 20px !important;
    display: flex !important;
    align-items: center !important;
  }
  #marbio-vision > div:first-child {
    background: rgba(240,244,247,0.35) !important;
  }
  .marbio-vision-wrap {
    padding: 0 !important;
    flex-direction: column !important;
    display: flex !important;
  }
  .marbio-vision-wrap > div {
    width: 100% !important;
    text-align: center !important;
    padding: 0 !important;
    background: transparent !important;
  }
  .marbio-vision-wrap h2 {
    font-size: 28px !important;
    margin-bottom: 20px !important;
    text-align: center !important;
  }
  .marbio-vision-wrap p {
    font-size: 16px !important;
    line-height: 1.7 !important;
    margin-bottom: 28px !important;
    text-align: center !important;
    color: #0E0E3A !important;
  }
  .marbio-vision-wrap .marbio-btn-navy {
    display: inline-block !important;
    margin: 0 auto !important;
  }

  /* --- 4. ACTUALITES --- */
  #marbio-actualites {
    padding: 40px 20px !important;
  }
  #marbio-actualites > div {
    padding: 0 !important;
  }
  #marbio-actualites h2 {
    font-size: 28px !important;
    margin-bottom: 24px !important;
  }
  #marbio-actualites > div > div[style*="grid"] {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  /* Remove card border/shadow — just raw content */
  .actualite-card {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    overflow: visible !important;
  }
  /* Show only 1st card on mobile — hide all after first */
  #marbio-actualites > div > div[style*="grid"] > .actualite-card:nth-child(n+2) {
    display: none !important;
  }
  .actualite-card div[style*="height:260px"] {
    height: auto !important;
  }
  .actualite-card div[style*="height:260px"] img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    max-height: 240px !important;
  }
  .actualite-card div[style*="padding:24px"] {
    padding: 16px 0 0 0 !important;
  }
  .actualite-card span[style*="color:#1F487C"] {
    font-size: 13px !important;
    color: #1F487C !important;
    display: block !important;
    margin-bottom: 8px !important;
  }
  .actualite-card h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin-bottom: 10px !important;
    color: #0E0E3A !important;
  }
  .actualite-card p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #555 !important;
    margin-bottom: 0 !important;
  }
  .actualite-card .news-link-hover {
    display: inline-block !important;
    margin-top: 16px !important;
    font-size: 12px !important;
  }
  #marbio-actualites .marbio-btn-navy {
    display: inline-block !important;
    width: auto !important;
    margin: 24px 0 0 !important;
    text-align: center !important;
    padding: 10px 20px !important;
    font-size: 10px !important;
  }

  /* --- 5. PRODUITS --- */
  #marbio-produits {
    padding: 40px 20px !important;
    min-height: auto !important;
  }
  #marbio-produits > div:first-child {
    padding: 0 !important;
    margin-bottom: 32px !important;
  }
  #marbio-produits h2 {
    font-size: 26px !important;
  }
  #marbio-produits > div[style*="grid"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 0 !important;
  }
  #marbio-produits .product-card-hover {
    height: 280px !important;
  }
  #marbio-produits .product-card-hover span {
    font-size: 13px !important;
    letter-spacing: 2.5px !important;
  }
  #marbio-produits > div:last-child {
    padding: 0 !important;
    margin-top: 40px !important;
  }
  #marbio-produits .marbio-btn-white {
    display: inline-block !important;
    width: auto !important;
    margin: 0 !important;
    text-align: center !important;
    padding: 10px 20px !important;
    font-size: 10px !important;
  }

  /* --- 6. NOTRE IMPACT --- */
  #marbio-impact {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
  #marbio-impact > div:first-child {
    order: 2 !important;
    padding: 40px 20px !important;
  }
  #marbio-impact > div:last-child {
    display: block !important;
    order: 1 !important;
    min-height: 350px !important;
    background-position: center center !important;
    background-size: cover !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
  }
  #marbio-impact h2 {
    font-size: 32px !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
  }
  #marbio-impact p {
    font-size: 15px !important;
    line-height: 1.7 !important;
    margin-bottom: 32px !important;
  }
  #marbio-impact .marbio-btn-navy {
    display: inline-block !important;
    width: auto !important;
    padding: 10px 20px !important;
    font-size: 10px !important;
  }

  /* --- 7. CARRIERES --- */
  #marbio-carrieres {
    min-height: 500px !important;
    justify-content: center !important;
    align-items: flex-end !important;
    background-position: center top !important;
    background-size: cover !important;
  }
  #marbio-carrieres > div:first-child {
    background: rgba(240,244,247,0.45) !important;
  }
  #marbio-carrieres > div:last-child {
    width: 100% !important;
    padding: 0 20px 40px !important;
    text-align: center !important;
    align-items: center !important;
  }
  #marbio-carrieres > div:last-child span,
  #marbio-carrieres > div:last-child h2,
  #marbio-carrieres > div:last-child p {
    color: white !important;
    text-align: center !important;
  }
  #marbio-carrieres > div:last-child h2 {
    font-size: 30px !important;
    line-height: 1.25 !important;
    margin-bottom: 20px !important;
  }
  #marbio-carrieres > div:last-child p {
    font-size: 15px !important;
    line-height: 1.7 !important;
    margin-bottom: 32px !important;
  }
  /* Move green line to CARRIÈRE label on mobile */
  #marbio-carrieres .home-title-lined::before {
    display: none !important;
  }
  #marbio-carrieres .carriere-label {
    position: relative !important;
    padding-left: 0 !important;
  }
  #marbio-carrieres .carriere-label::after {
    content: '' !important;
    display: block !important;
    width: 35px !important;
    height: 2px !important;
    background: #71D4A6 !important;
    margin-top: 8px !important;
  }
  /* All text #0E0E3A on mobile */
  #marbio-carrieres > div:last-child span,
  #marbio-carrieres > div:last-child h2,
  #marbio-carrieres > div:last-child p {
    color: #0E0E3A !important;
  }
  #marbio-carrieres .marbio-btn-navy {
    border-color: #0E0E3A !important;
    color: #0E0E3A !important;
    background: transparent !important;
    display: inline-block !important;
    width: auto !important;
    padding: 10px 20px !important;
    font-size: 10px !important;
  }
  #marbio-carrieres .marbio-btn-navy:hover {
    background: #0E0E3A !important;
    color: #FFFFFF !important;
  }

  /* --- 8. FOOTER --- */
  .marbio-footer {
    padding: 40px 24px 28px !important;
    text-align: center !important;
  }
  .marbio-footer-top {
    flex-direction: column !important;
    align-items: center !important;
    gap: 24px !important;
    padding-bottom: 24px !important;
  }
  .marbio-footer-logo {
    margin: 0 auto !important;
  }
  /* Show nav on mobile */
  .marbio-footer-nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0 !important;
  }
  .marbio-footer-menu {
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
  }
  .marbio-footer-menu li a {
    font-size: 14px !important;
  }
  .marbio-footer-social {
    margin: 0 auto !important;
  }
  .marbio-footer-divider {
    margin: 0 !important;
  }
  .marbio-footer-bottom {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    padding-top: 16px !important;
    text-align: center !important;
  }
  .marbio-footer-bottom p {
    font-size: 12px !important;
    margin: 0 !important;
  }
  .marbio-footer-legal,
  .marbio-footer-credit {
    font-size: 12px !important;
  }

}

/* ================================
   HOMEPAGE — GREEN DASH INLINE LEFT
================================ */
.home-title-lined {
	position: relative;
	display: block;
	padding-left: 0;
}
.home-title-lined::before {
	content: '';
	position: absolute;
	left: -45px;
	width: 35px;
	height: 2px;
	background: #71D4A6;
}
.home-lined-actu::before { top: 14px; }
.home-lined-impact::before { top: 24px; }
.home-lined-carriere::before { top: 24px; }

/* ================================
   PAGE CARRIÈRES — PARAGRAPH SPACING
================================ */
.collab-text p {
	margin-bottom: 20px;
	line-height: 1.6;
}
.collab-text p:last-child {
	margin-bottom: 0;
}
.promesse-text p {
	margin-bottom: 25px;
	line-height: 1.8;
}
.promesse-text p:last-child {
	margin-bottom: 0;
}

/* ================================
   PAGE MÉDIA
================================ */
.media-section-title {
	font-family: 'Bebas Neue Pro', sans-serif;
	font-weight: 700;
	font-size: 50px;
	line-height: 1.1;
	color: #1F487C;
	text-align: center;
	margin: 0 0 50px 0;
}

/* Actualités cards */
.media-actu-card {
	display: block;
	background: #FFFFFF;
	box-shadow: 0 4px 20px rgba(14,28,74,0.08);
	text-decoration: none;
	color: inherit;
	max-width: 480px;
	width: 100%;
	margin: 0 auto;
	height: 520px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.media-actu-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 40px rgba(14,28,74,0.15);
}
.media-actu-thumb {
	width: 100%;
	height: 240px !important;
	max-height: 240px !important;
	object-fit: cover;
	display: block;
}
.media-actu-placeholder {
	background: linear-gradient(135deg, #1F487C 0%, #0E1C4A 100%);
	height: 240px !important;
	max-height: 240px !important;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
}
.media-actu-placeholder span {
	font-family: 'Bebas Neue Pro', sans-serif;
	font-size: 24px;
	font-weight: 700;
	color: #FFFFFF;
	text-align: center;
	line-height: 1.3;
	letter-spacing: 0.5px;
}
.media-actu-card .media-actu-date,
.media-actu-card .media-actu-title,
.media-actu-card .media-actu-excerpt {
	padding-left: 30px;
	padding-right: 30px;
}
.media-actu-date {
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 15px;
	color: #1F487C;
	margin-top: 25px;
}
.media-actu-title {
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 20px;
	color: #1b2f5e;
	margin: 12px 0 0 0;
	line-height: 1.35;
}
.media-actu-excerpt {
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	font-size: 15px;
	color: #555555;
	line-height: 1.7;
	margin: 18px 0 30px 0;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Communiqués de presse cards */
.media-cp-section .row.g-4 {
	align-items: stretch;
}
.media-cp-section .col-lg-4 {
	display: flex;
}
.media-cp-card {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	background: #1F487C;
	padding: 36px 44px;
	min-height: 0;
	text-decoration: none;
	color: #FFFFFF;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	height: 100%;
	width: 100%;
}
.media-cp-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(14,28,74,0.2);
}
.media-cp-date {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	font-size: 16px;
	color: #FFFFFF;
	opacity: 0.95;
	margin: 0 0 20px 0;
	flex-shrink: 0;
}
.media-cp-date::before {
	content: '';
	display: inline-block;
	width: 50px;
	height: 2px;
	background: #2BA89D;
	flex-shrink: 0;
}
.media-cp-title {
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 20px;
	color: #FFFFFF;
	text-transform: uppercase;
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-align: justify;
	text-align-last: left;
	text-justify: inter-word;
	word-break: normal;
	overflow-wrap: normal;
	hyphens: manual;
	margin: 0;
	width: 100%;
}

@media (max-width: 992px) {
	.media-actu-section .col-lg-6,
	.media-cp-section .col-lg-4 {
		flex: 0 0 100%;
		max-width: 100%;
	}
}
@media (max-width: 768px) {
	.media-section-title { font-size: 36px !important; margin-bottom: 36px !important; }
	.media-actu-thumb { height: 200px !important; }
	.media-actu-title { font-size: 20px !important; }
	.media-cp-title { font-size: 20px !important; }
	.media-actu-section,
	.media-cp-section { padding: 40px 20px !important; }
}

/* ================================
   HOME — ACTUALITÉS CARDS EQUAL HEIGHT
================================ */
#marbio-actualites .actualite-card {
	display: flex !important;
	flex-direction: column !important;
	height: 100% !important;
}
#marbio-actualites .actualite-card > div:last-child {
	display: flex;
	flex-direction: column;
	flex: 1;
}
#marbio-actualites .actualite-card p {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
#marbio-actualites > div > div[style*="grid"] {
	align-items: stretch !important;
}

/* ================================
   SINGLE POST
================================ */
section.single-hero {
	min-height: 460px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center 30%;
	background-color: #0E1C4A;
}
.single-content-section {
	padding: 60px 0;
}
.single-content-inner {
	max-width: 860px;
	margin: 0 auto;
}
.single-meta {
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	font-size: 16px;
	color: #888888;
	margin-bottom: 20px;
}
.single-post-title {
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 36px;
	color: #1F487C;
	border-bottom: 2px solid #EFF1F3;
	padding-bottom: 20px;
	margin: 0 0 30px 0;
	line-height: 1.3;
}
.single-post-content {
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	font-size: 17px;
	line-height: 1.8;
	color: #333333;
	max-width: 860px;
}
.single-post-content p { margin: 0 0 20px 0; }

.single-contacts-box {
	margin: 80px 0 40px 0;
}
.single-contact-label {
	background: #1F487C;
	color: #FFFFFF;
	padding: 20px 30px;
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 1px;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	height: 100%;
}
.single-contact-info {
	border: 1px solid #EFF1F3;
	padding: 20px 30px;
	height: 100%;
}
.single-contact-item {
	margin-bottom: 10px;
	font-family: 'Lato', sans-serif;
	font-size: 15px;
	color: #333333;
	line-height: 1.6;
}
.single-contact-item:last-child { margin-bottom: 0; }
.single-contact-item strong {
	color: #1F487C;
	font-weight: 700;
}
.single-contact-item a {
	color: #2ab5a0;
	text-decoration: none;
}
.single-contact-item a:hover { text-decoration: underline; }

.single-back-wrap {
	margin-top: 40px;
	margin-bottom: 60px;
}
.single-back-btn {
	display: inline-block;
	border: 1px solid #1F487C;
	color: #1F487C;
	padding: 12px 30px;
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	transition: all 0.3s ease;
}
.single-back-btn:hover {
	background: #1F487C;
	color: #FFFFFF;
}

@media (max-width: 768px) {
	.single-hero-title { font-size: 48px !important; line-height: 52px !important; }
	.single-hero { min-height: 300px !important; }
	.single-post-title { font-size: 26px !important; }
	.single-content-section { padding: 40px 20px !important; }
	.single-contacts-box .col-lg-3,
	.single-contacts-box .col-lg-9 {
		flex: 0 0 100%;
		max-width: 100%;
	}
	.single-contact-label { padding: 16px 20px; }
}

/* ================================
   INNER PAGE HEROES — REDUCE ZOOM
================================ */
section.gouv-hero,
section.mv-hero,
section.part-hero,
section.car-hero,
section.eng-hero,
section.pv-hero,
section.prod-hero,
section.qual-hero,
section.tech-hero,
section.single-hero {
	background-size: cover !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	background-attachment: scroll !important;
	background-color: #0E1C4A !important;
	width: 100% !important;
	margin: 0 !important;
}
section.gouv-hero img,
section.mv-hero img,
section.part-hero img,
section.car-hero img,
section.eng-hero img,
section.pv-hero img,
section.prod-hero img,
section.qual-hero img,
section.tech-hero img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	background-color: #0E1C4A !important;
	display: block !important;
}

/* ================================
   PHARMACOVIGILANCE — GLOBAL FIXES
================================ */
.pharmacovigilance-page * { box-sizing: border-box; }
body { overflow-x: hidden; }
.pv-hero img,
.pv-section img,
.pharma-intro-section img,
.consultez-section img { max-width: 100%; height: auto; }

/* ================================
   PHARMACOVIGILANCE — MOBILE
================================ */
@media (max-width: 768px) {
  /* General — no horizontal scroll */
  html, body { overflow-x: hidden !important; max-width: 100vw !important; }

  /* Hero */
  .pv-hero {
    height: auto !important;
    min-height: 300px !important;
    padding: 40px 20px !important;
  }
  .pv-hero-title {
    font-size: 48px !important;
    line-height: 52px !important;
  }

  /* Intro section */
  section.pharma-intro-section {
    padding: 40px 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  section.pharma-intro-section .pharma-intro-inner {
    padding: 0 !important;
  }
  .pharma-intro-section p {
    font-size: 18px !important;
    text-align: center !important;
    max-width: 100% !important;
    word-wrap: break-word !important;
  }

  /* Contact banner (navy) */
  .pv-section[style*="1F487C"] {
    padding: 40px 20px !important;
  }
  .pv-contact-grid {
    display: block !important;
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }
  .pv-contact-grid > div {
    height: auto !important;
    width: 100% !important;
    margin-bottom: 20px !important;
  }
  .pv-contact-grid img,
  .pv-contact-image {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
  }
  .pharma-contact-box {
    width: 100% !important;
    padding: 20px !important;
    font-size: 16px !important;
    max-height: none !important;
    height: auto !important;
    overflow-y: visible !important;
  }

  /* Two buttons section */
  .pv-buttons-row {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 40px 20px !important;
    gap: 0 !important;
  }
  .pv-btn {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 15px 0 !important;
    padding: 15px 20px !important;
    font-size: 14px !important;
    justify-content: center !important;
  }

  /* Footer text section */
  section.pv-section[style*="FFFFFF"] {
    padding: 40px 20px !important;
  }
  .pharma-footer-text {
    font-size: 18px !important;
    text-align: left !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  /* Site web box */
  .pharma-site-web {
    width: 90% !important;
    max-width: 90% !important;
    margin: 0 auto !important;
    padding: 15px 20px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
  }
  .pharma-site-web a {
    word-break: break-all !important;
    overflow-wrap: break-word !important;
  }

  /* Consultez également */
  .consultez-section {
    padding: 40px 20px !important;
  }
  .consultez-grid {
    display: block !important;
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }
  .consultez-card {
    width: 100% !important;
    height: 200px !important;
    margin-bottom: 20px !important;
  }
  .consultez-title {
    font-size: 40px !important;
    line-height: 44px !important;
  }
}

/* ================================
   ARCHIVE PAGE
================================ */
.archive-intro {
	font-family: 'Lato', sans-serif;
	font-size: 22px;
	font-weight: 400;
	color: #0E0E3A;
	text-align: center;
	max-width: 700px;
	margin: 0 auto;
}
.archive-intro strong,
.archive-intro b {
	font-weight: 800;
	color: #0E0E3A;
}
.archive-card {
	display: block;
	background: #FFFFFF;
	box-shadow: 0 4px 20px rgba(14,28,74,0.08);
	text-decoration: none;
	color: inherit;
	margin-bottom: 30px;
	height: 520px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.archive-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(14,28,74,0.15);
	text-decoration: none;
	color: inherit;
}
.archive-card-img {
	width: 100%;
	height: 240px !important;
	max-height: 240px !important;
	object-fit: cover;
	display: block;
}
.archive-card-placeholder {
	width: 100%;
	height: 240px !important;
	max-height: 240px !important;
	background: linear-gradient(135deg, #1F487C 0%, #0E1C4A 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
}
.archive-card-placeholder span {
	font-family: 'Bebas Neue Pro', sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: #FFFFFF;
	text-align: center;
	line-height: 1.3;
}
.archive-card-body {
	padding: 25px 30px;
}
.archive-card-date {
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 15px;
	color: #1F487C;
	display: block;
	margin-bottom: 12px;
}
.archive-card-title {
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 20px;
	color: #000000;
	line-height: 1.3;
	display: block;
	margin-bottom: 10px;
}
.archive-card-excerpt {
	font-family: 'Lato', sans-serif;
	font-size: 15px;
	color: #555555;
	line-height: 1.7;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.archive-pagination {
	margin: 0 auto;
	text-align: center;
}
.navigation.pagination {
	width: 100%;
	padding: 50px 0;
	display: flex;
	justify-content: center;
}
.nav-links {
	display: flex;
	justify-content: center;
	gap: 16px;
	align-items: center;
	width: 100%;
}
.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: #1F487C;
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
	background: transparent;
	border: none;
	transition: all 0.3s ease;
}
.page-numbers.current {
	background: #1F487C;
	color: #FFFFFF;
}
.page-numbers:hover:not(.current) {
	background: rgba(31, 72, 124, 0.1);
	color: #1F487C;
	text-decoration: none;
}
.page-numbers.next,
.page-numbers.prev {
	font-size: 24px;
	width: 40px;
	height: 40px;
	border: none;
	background: transparent;
	color: #1F487C;
}
.page-numbers.next:hover,
.page-numbers.prev:hover {
	background: transparent;
	color: #2ab5a0;
}
.page-numbers.dots {
	border: none;
	background: transparent;
	color: #1F487C;
	width: auto;
}

@media (max-width: 768px) {
	.arch-hero { min-height: 300px !important; }
	.arch-hero-title { font-size: 48px !important; line-height: 52px !important; }
	.archive-card { height: auto !important; }
	.archive-card-img,
	.archive-card-placeholder { height: 200px; }
	.archive-card-title { font-size: 17px; }
}

/* Search bar mobile */
@media (max-width: 768px) {
	.navbar-search-wrapper.active { padding: 16px 20px !important; }
	.navbar-search-wrapper .search-field { font-size: 16px !important; }
	.navbar-search-wrapper .search-submit { padding: 12px 16px !important; font-size: 12px !important; }
}

/* ================================
   MEDIA + SINGLE — MOBILE
================================ */
.media-actu-section img,
.media-cp-section img,
.single-content-section img { max-width: 100%; height: auto; }

@media (max-width: 768px) {
  /* ---- page-media.php ---- */

  /* Hero */
  section.media-hero {
    height: auto !important;
    min-height: 300px !important;
    padding: 40px 20px !important;
  }
  .media-hero-title {
    font-size: 48px !important;
    line-height: 1.1 !important;
  }

  /* Actualités */
  .media-actu-section { padding: 40px 20px !important; }
  .media-actu-section .col-lg-5 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    display: block !important;
  }
  .media-actu-card {
    height: auto !important;
    min-height: 0 !important;
    max-width: 100% !important;
    margin-bottom: 24px !important;
  }
  .media-actu-thumb { height: 220px !important; }
  .media-actu-title { font-size: 20px !important; }
  .media-actu-excerpt { font-size: 14px !important; }

  /* Communiqués de presse */
  .media-cp-section { padding: 40px 20px !important; }
  .media-cp-section .col-lg-4 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 20px !important;
  }
  .media-cp-card {
    min-height: 0 !important;
    padding: 28px 24px !important;
  }
  .media-cp-date {
    font-size: 14px !important;
    margin: 0 0 16px 0 !important;
  }
  .media-cp-date::before { width: 30px !important; }
  .media-cp-title {
    font-size: 17px !important;
    text-align: justify !important;
    text-align-last: left !important;
  }

  /* Buttons */
  /* ---- single.php ---- */

  /* Hero */
  section.single-hero {
    height: auto !important;
    min-height: 220px !important;
    max-height: 300px !important;
    padding: 30px 20px !important;
    background-size: cover !important;
    background-position: center center !important;
  }
  .single-hero-title {
    font-size: 28px !important;
    line-height: 1.2 !important;
  }

  /* Post content */
  .single-content-section { padding: 30px 15px !important; }
  .single-content-inner {
    max-width: 100% !important;
    padding: 0 5px !important;
  }
  .single-meta { font-size: 14px !important; }
  .single-post-title { font-size: 24px !important; }
  .single-post-content {
    font-size: 16px !important;
    line-height: 1.7 !important;
    max-width: 100% !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  .single-post-content img {
    max-width: 100% !important;
    height: auto !important;
  }
  .single-post-content iframe,
  .single-post-content video,
  .single-post-content embed {
    max-width: 100% !important;
  }

  /* Contacts presse */
  .single-contacts-box .col-lg-3,
  .single-contacts-box .col-lg-9 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .single-contact-label {
    width: 100% !important;
    padding: 15px !important;
    font-size: 14px !important;
  }
  .single-contact-info {
    width: 100% !important;
    padding: 15px !important;
    font-size: 14px !important;
  }
  .single-contact-item { font-size: 14px !important; }
  .single-contact-item a {
    word-break: break-all !important;
    overflow-wrap: break-word !important;
  }

  /* Back button */
  .single-back-btn {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 12px !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .media-hero-title,
  .single-hero-title {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }
}

/* ========================================================================== 
   Global typography and premium header refresh
   ========================================================================== */

/* Keep a single, consistent typeface across theme templates and CMS content. */
body, body *, button, input, textarea, select, option, h1, h2, h3, h4, h5, h6,
p, li, td, th, label, a, .stat-animate {
  font-family: 'Poppins', sans-serif !important;
}

/* Keep every page hero title (qsn-hero-title, part-hero-title,
   single-hero-title, pv-hero-title, arch-hero-title, media-hero-title,
   marbio-hero-title, etc.) in the intended bold display font, overriding
   the global Poppins rule above. Matches any class ending in "hero-title". */
[class*="hero-title"],
[class*="hero-title"] * {
  font-family: 'Bebas Neue Pro', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -1px !important;
  -webkit-text-stroke: 0 transparent !important;
  text-stroke: 0 transparent !important;
  paint-order: normal !important;
  text-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* Shared inner-page hero image treatment.
 * Matches the Marbio navy reference while preserving the source photography. */
section.qsn-hero,
section.prod-hero,
section.qual-section[style*="background-image"],
section.mv-hero,
section.gouv-hero,
section.part-hero,
section.car-hero,
section.eng-hero,
section.pv-hero,
section.tech-hero,
section.info-hero,
section.media-hero,
section.contact-hero,
section.arch-hero,
section.single-hero {
  position: relative;
  isolation: isolate;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  transform: none !important;
}

html,
body,
#page,
.site,
.site-main {
  overflow-x: clip;
}

/* Technologies and Production: ensure the hero photograph always fills
 * the complete banner box without exposing an image-edge seam. */
body.page-template-page-technologies section.tech-hero,
body.page-template-page-technique section.tech-hero,
body.page-template-page-production section.prod-hero {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  background-size: calc(100% + 80px) calc(100% + 30px) !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-origin: border-box !important;
  background-clip: border-box !important;
}

/* Direct selectors ensure the correction also works when WordPress uses a
 * custom template body class or a cached page-body class. */
section.tech-hero,
section.prod-hero {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  background-size: calc(100% + 80px) calc(100% + 30px) !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

@media (max-width: 767.98px) {
  body.page-template-page-technologies section.tech-hero,
  body.page-template-page-technique section.tech-hero,
  body.page-template-page-production section.prod-hero {
    background-size: calc(100% + 48px) calc(100% + 24px) !important;
  }

  section.tech-hero,
  section.prod-hero {
    background-size: calc(100% + 48px) calc(100% + 24px) !important;
  }
}

section.qsn-hero::before,
section.prod-hero::before,
section.qual-section[style*="background-image"]::before,
section.mv-hero::before,
section.gouv-hero::before,
section.part-hero::before,
section.car-hero::before,
section.eng-hero::before,
section.pv-hero::before,
section.tech-hero::before,
section.info-hero::before,
section.media-hero::before,
section.contact-hero::before,
section.arch-hero::before,
section.single-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: rgba(18, 36, 78, 0.48);
}

section.qsn-hero > *,
section.prod-hero > *,
section.qual-section[style*="background-image"] > *,
section.mv-hero > *,
section.gouv-hero > *,
section.part-hero > *,
section.car-hero > *,
section.eng-hero > *,
section.pv-hero > *,
section.tech-hero > *,
section.info-hero > *,
section.media-hero > *,
section.contact-hero > *,
section.arch-hero > *,
section.single-hero > * {
  position: relative;
  z-index: 1;
}

.marbio-site-header {
  position: relative;
  z-index: 9999;
}

.top-menu {
  min-height: 34px;
  padding: 0;
  background: #1b2f5e !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.top-menu-container {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: flex-end !important;
}

.top-menu-list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-menu-list li { display: flex; margin: 0; }
.top-menu-list li + li::before {
  width: 1px;
  height: 13px;
  margin: auto 14px;
  content: '';
  background: rgba(255, 255, 255, 0.3);
}

.top-menu-list li a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 10px;
  font-weight: 100;
  line-height: 20px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 180ms ease;
}

.top-menu-list li a:hover,
.top-menu-list li a:focus-visible { color: #ffffff; }

.marbio-navbar {
  padding: 15px 0;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(27, 47, 94, 0.1);
  box-shadow: 0 8px 24px rgba(17, 37, 82, 0.06);
  transition: padding 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.marbio-navbar.is-scrolled {
  padding: 9px 0;
  box-shadow: 0 10px 28px rgba(17, 37, 82, 0.12);
}

.marbio-navbar .container { min-height: 48px; }
.marbio-navbar .navbar-brand { display: flex; align-items: center; }
.marbio-logo { height: 46px; transition: height 220ms ease; }
.marbio-navbar.is-scrolled .marbio-logo { height: 40px; }

.marbio-navbar .nav-link {
  position: relative;
  padding: 14px 13px;
  color: #1a2b5f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.025em;
  transition: color 180ms ease;
}

.marbio-navbar .nav-link::before {
  position: absolute;
  right: 13px;
  bottom: 7px;
  left: 13px;
  height: 2px;
  content: '';
  background: #2ab5a0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

/* Navigation feedback stays color-led; no underline animation on hover. */
.marbio-navbar .nav-link::before { display: none; }

.marbio-navbar .nav-link:hover,
.marbio-navbar .nav-link:focus-visible,
.marbio-navbar .nav-link.active,
.marbio-navbar .navbar-nav > .nav-item.current-menu-item > .nav-link,
.marbio-navbar .navbar-nav > .nav-item.current-menu-parent > .nav-link,
.marbio-navbar .navbar-nav > .nav-item.current-menu-ancestor > .nav-link { color: #2a9d8f; }

.marbio-navbar .nav-link:hover::before,
.marbio-navbar .nav-link:focus-visible::before,
.marbio-navbar .nav-link.active::before,
.marbio-navbar .navbar-nav > .nav-item.current-menu-item > .nav-link::before,
.marbio-navbar .navbar-nav > .nav-item.current-menu-parent > .nav-link::before,
.marbio-navbar .navbar-nav > .nav-item.current-menu-ancestor > .nav-link::before { transform: scaleX(1); }

.marbio-navbar .dropdown-toggle::after {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 0 3px 8px;
  content: '';
  border: 0;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.marbio-navbar .dropdown-menu {
  min-width: 240px;
  margin-top: 1px;
  padding: 8px;
  border: 0;
  border-top: 2px solid #2ab5a0;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 16px 30px rgba(17, 37, 82, 0.15);
}

.marbio-navbar .dropdown-item,
.marbio-navbar .dropdown-menu .dropdown-item {
  padding: 11px 12px;
  color: #1b2f5e !important;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500 !important;
  transition: background-color 180ms ease, color 180ms ease;
}

.marbio-navbar .dropdown-item:hover,
.marbio-navbar .dropdown-item:focus,
.marbio-navbar .dropdown-menu .dropdown-item:hover,
.marbio-navbar .dropdown-menu .dropdown-item:focus {
  padding-left: 12px;
  color: #2a9d8f !important;
  background: #f5f6f7 !important;
}

.marbio-navbar .btn-search {
  width: 42px;
  height: 42px;
  padding: 0;
  color: #1a2b5f;
  background: transparent;
  border: 1px solid rgba(27, 47, 94, 0.2);
  border-radius: 3px;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.marbio-navbar .btn-search:hover,
.marbio-navbar .btn-search:focus-visible,
.marbio-navbar .btn-search.active {
  color: #ffffff;
  background: #1b2f5e;
  border-color: #1b2f5e;
  outline: 0;
  transform: none;
}

.navbar-search-wrapper {
  border-bottom: 1px solid rgba(27, 47, 94, 0.1);
  box-shadow: 0 16px 30px rgba(17, 37, 82, 0.12);
}
.navbar-search-wrapper .search-form { border-bottom-width: 1px; }
.navbar-search-wrapper .search-field { font-size: 16px; }
.navbar-search-wrapper .search-submit {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.marbio-navbar .navbar-toggler {
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 1px solid rgba(27, 47, 94, 0.2);
  border-radius: 3px;
}

.marbio-offcanvas { max-width: 340px; }
.marbio-offcanvas .offcanvas-header { padding: 1.5rem 1.5rem 0.75rem; }
.marbio-offcanvas .offcanvas-body { padding: 0.5rem 1.5rem 1.5rem; }
.marbio-offcanvas-menu > li { padding: 0.95rem 0; }
.offcanvas-menu-title { font-size: 15px; font-weight: 600; }
.offcanvas-menu-link { font-size: 13px; }

@media (max-width: 991px) {
  .top-menu { display: none; }
  .marbio-navbar { padding: 12px 0; }
  .marbio-navbar.is-scrolled { padding: 9px 0; }
  .marbio-logo { height: 40px; }
  .marbio-navbar .navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .navbar-search-wrapper { padding-right: 24px; padding-left: 24px; }
  .navbar-search-wrapper.active { padding: 18px 24px; }
}

@media (min-width: 992px) {
  .marbio-navbar .navbar-toggler { display: none; }
}

/* Reusable primary CTA for navigation and future page actions. */
.marbio-btn-primary {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 11px 18px;
  overflow: hidden;
  color: #ffffff !important;
  background: #1b2f5e;
  border: 1px solid #1b2f5e;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1;
  text-decoration: none;
  transition: border-color 220ms ease, color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.marbio-btn-primary::before {
  position: absolute;
  inset: 0;
  content: '';
  background: #2a9d8f;
	/* Keep the teal hover layer completely outside the button at rest. */
	transform: translateX(-110%);
  transition: transform 260ms ease;
}

.marbio-btn-primary::after {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 8px;
  height: 8px;
  content: '';
  background: rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, -50%) scale(0);
  transition: transform 420ms ease, opacity 180ms ease;
}

.marbio-btn-primary span,
.marbio-btn-primary svg { position: relative; z-index: 1; }
.marbio-btn-primary svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 220ms ease;
}

.marbio-btn-primary:hover,
.marbio-btn-primary:focus-visible {
  color: #ffffff !important;
  border-color: #2a9d8f;
  box-shadow: 0 8px 18px rgba(27, 47, 94, 0.18);
  outline: 0;
  transform: translateY(-2px);
}

.marbio-btn-primary:hover::before,
.marbio-btn-primary:focus-visible::before { transform: translateX(0); }
.marbio-btn-primary:hover::after,
.marbio-btn-primary:focus-visible::after {
  opacity: 1;
  transform: translate(50%, -50%) scale(18);
}
.marbio-btn-primary:hover svg,
.marbio-btn-primary:focus-visible svg { transform: translateX(5px); }

/* =====================================
   HOMEPAGE — PREMIUM CONTENT EXPERIENCE
===================================== */
body.home {
  --marbio-ink: #0e0e3a;
  --marbio-navy: #1b2f5e;
  --marbio-teal: #2ab5a0;
  --marbio-mist: #f0f4f7;
}

body.home p {
  text-align: justify !important;
  text-justify: inter-word;
  hyphens: auto;
}

body.home .marbio-home-cta {
  min-height: 48px;
  padding: 13px 20px;
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
}


/* Utility strip: social presence at left, contextual service links at right. */
.top-menu { min-height: 38px; }
.top-menu-container { min-height: 38px; justify-content: space-between !important; }
.marbio-social-links {
  display: flex;
  align-items: center;
  min-height: 38px;
  gap: 5px;
}

.marbio-social-links a {
  display: inline-flex;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid transparent;
  border-radius: 50%;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.marbio-social-links .is-unconfigured {
  display: inline-flex;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.42);
  cursor: help;
}


.marbio-social-links svg { width: 13px; height: 13px; fill: currentColor; transition: transform 180ms ease; }
.marbio-social-links a:hover svg,
.marbio-social-links a:focus-visible svg { transform: scale(1.12); }
.marbio-utility-menu { margin-left: auto; }
.top-menu-list li a { line-height: 38px; font-size: 11px; }

/* Main navigation: stronger proportions, quieter menu, focused primary action. */
.marbio-navbar {
  padding: 17px 0;
  box-shadow: 0 9px 22px rgba(17, 37, 82, 0.07);
}
.marbio-navbar .container { min-height: 54px; }
.marbio-logo { height: 52px; }
.marbio-navbar.is-scrolled .marbio-logo { height: 43px; }
.marbio-navbar .navbar-nav { gap: 2px; }
.marbio-navbar .nav-link {
  padding: 16px 12px;
  font-size: 12px;
  letter-spacing: 0.01em;
}
.marbio-navbar .nav-link::before { right: 12px; left: 12px; bottom: 8px; }
.marbio-navbar .navbar-nav-icons { margin-left: 14px; }
.marbio-header-cta { white-space: nowrap; }

.marbio-navbar .dropdown-menu {
  margin-top: 5px;
  padding: 10px;
  border-top-width: 3px;
  box-shadow: 0 18px 32px rgba(17, 37, 82, 0.16);
}
.marbio-navbar .dropdown-item,
.marbio-navbar .dropdown-menu .dropdown-item { padding: 12px 13px; }

.marbio-offcanvas-cta {
  width: 100%;
  margin-top: 26px;
}

@media (max-width: 1199px) and (min-width: 992px) {
  .marbio-navbar .nav-link { padding-right: 8px; padding-left: 8px; font-size: 11px; }
  .marbio-navbar .navbar-nav-icons { margin-left: 8px; }
  .marbio-header-cta { padding-right: 14px; padding-left: 14px; font-size: 11px; }
}

@media (max-width: 991px) {
  .top-menu { display: none; }
  .marbio-navbar { padding: 13px 0; }
  .marbio-navbar .container { min-height: 44px; }
  .marbio-logo { height: 42px; }
  .marbio-navbar.is-scrolled .marbio-logo { height: 38px; }
  .marbio-offcanvas { width: min(88vw, 340px); }
}

@media (min-width: 992px) {
  .marbio-navbar {
    border-bottom: 3px solid #2a9d8f;
  }

  .marbio-navbar .navbar-brand {
    min-width: 292px;
    padding-right: 34px;
    margin-right: 24px;
    border-right: 1px solid rgba(27, 47, 94, 0.14);
  }

  .marbio-navbar .navbar-collapse {
    min-height: 54px;
    align-items: center;
  }

  .marbio-navbar .navbar-nav {
    align-items: center;
  }

  .marbio-navbar .nav-link {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.055em;
  }

  .marbio-navbar .navbar-nav-icons {
    padding-left: 18px;
    margin-left: 16px;
    border-left: 1px solid rgba(27, 47, 94, 0.14);
  }

  .marbio-header-cta {
    min-height: 46px;
    padding-right: 20px;
    padding-left: 20px;
  }

  /* Premium desktop dropdown: compact panel, deliberate item rhythm. */
  .marbio-navbar .dropdown-menu {
    min-width: 284px;
    padding: 10px;
    overflow: hidden;
    background: #ffffff;
    border-top: 3px solid #2a9d8f;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 20px 38px rgba(17, 37, 82, 0.18);
  }

  .marbio-navbar .dropdown-menu li + li {
    border-top: 1px solid rgba(27, 47, 94, 0.09);
  }

  .marbio-navbar .dropdown-item,
  .marbio-navbar .dropdown-menu .dropdown-item {
    position: relative;
    display: flex;
    min-height: 48px;
    padding: 13px 38px 13px 15px;
    align-items: center;
    color: #1b2f5e !important;
    background: transparent !important;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600 !important;
    letter-spacing: 0.015em;
    line-height: 1.35;
    transition: color 180ms ease, background-color 180ms ease, padding 180ms ease;
  }

  .marbio-navbar .dropdown-item::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 3px;
    height: 18px;
    content: '';
    background: #2a9d8f;
    opacity: 0;
    transform: translateY(-50%) scaleY(0.35);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .marbio-navbar .dropdown-item::after {
    position: absolute;
    top: 50%;
    right: 17px;
    width: 7px;
    height: 7px;
    content: '';
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    opacity: 0.5;
    transform: translateY(-50%) rotate(45deg);
    transition: right 180ms ease, opacity 180ms ease;
  }

  .marbio-navbar .dropdown-item:hover,
  .marbio-navbar .dropdown-item:focus,
  .marbio-navbar .dropdown-menu .dropdown-item:hover,
  .marbio-navbar .dropdown-menu .dropdown-item:focus {
    padding-left: 20px;
    color: #1b2f5e !important;
    background: rgba(42, 157, 143, 0.1) !important;
  }

  .marbio-navbar .dropdown-item:hover::before,
  .marbio-navbar .dropdown-item:focus::before {
    opacity: 1;
    transform: translateY(-50%) scaleY(1);
  }

  .marbio-navbar .dropdown-item:hover::after,
  .marbio-navbar .dropdown-item:focus::after {
    right: 13px;
    opacity: 1;
  }
}

/* The mobile drawer shows child links as a clear secondary navigation level. */
.marbio-offcanvas-menu ul {
  margin: 10px 0 2px !important;
  padding: 4px 0 4px 16px !important;
  border-left: 1px solid rgba(42, 157, 143, 0.75);
}

.marbio-offcanvas-menu .offcanvas-menu-link {
  padding: 7px 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 500;
  transition: color 180ms ease, transform 180ms ease;
}

.marbio-offcanvas-menu .offcanvas-menu-link:hover,
.marbio-offcanvas-menu .offcanvas-menu-link:focus-visible {
  color: #ffffff;
  outline: 0;
  transform: translateX(4px);
}

/* Homepage final layout refinements. */
body.home :is(h1, h2, h3, h4, h5, h6, p) {
  text-align: justify !important;
  text-justify: inter-word;
}

/* Keep navigation and calls-to-action intentionally centred. */
body.home .marbio-btn-primary,
body.home .marbio-product-card-arrow { text-align: center !important; }

/* Long scientific capacities stay in their card at every viewport width. */
.marbio-stat-card { min-width: 0; }
.marbio-stat-value--long {
  min-width: 0;
  font-size: clamp(29px, 2.45vw, 43px) !important;
  letter-spacing: -.065em;
  white-space: nowrap;
}


/* Products: a deliberate split-card layout — image above, editorial content below. */
body.home .marbio-product-card {
  display: grid;
  height: 400px;
  grid-template-rows: 65% 35%;
  overflow: hidden;
  background: #112d5f;
  border: 1px solid rgba(139, 224, 208, .34);
  isolation: isolate;
  transition: transform 420ms cubic-bezier(.2,.8,.2,1), box-shadow 420ms ease, border-color 420ms ease;
}
body.home .marbio-product-card::before,
body.home .marbio-product-card::after { display: none; }
body.home .marbio-product-card-media {
  position: relative;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  transition: transform 650ms cubic-bezier(.2,.8,.2,1), filter 500ms ease;
}
body.home .marbio-product-card-media::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(180deg, rgba(10, 28, 68, .04), rgba(10, 28, 68, .42));
  transition: opacity 400ms ease;
}
body.home .marbio-product-card-overlay {
  position: relative;
  display: flex;
  min-height: 0;
  padding: 27px 28px 25px;
  align-items: stretch;
  background: linear-gradient(135deg, #17376e, #102856) !important;
}
body.home .marbio-product-card-overlay::before {
  position: absolute;
  top: 27px;
  left: 0;
  width: 3px;
  height: 45px;
  content: '';
  background: #2ab5a0;
  transform: scaleY(.55);
  transform-origin: bottom;
  transition: transform 380ms ease;
}
body.home .marbio-product-card-content {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
}
body.home .marbio-product-card-kicker {
  margin-bottom: 9px;
  color: #8be0d0;
  font-size: 12px;
  letter-spacing: .14em;
}
body.home .marbio-product-card-title {
  max-width: 100%;
  color: #fff;
  font-size: clamp(25px, 2vw, 32px);
  letter-spacing: .025em;
  line-height: 1.02;
  text-align: justify !important;
}
body.home .marbio-product-card-arrow {
  display: inline-flex;
  width: auto;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  color: #17376e;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: .06em !important;
  text-transform: uppercase;
  transform: none;
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

body.home .marbio-product-card:hover .marbio-product-card-arrow {
  color: #fff;
  background: #2ab5a0;
  border-color: #2ab5a0;
  box-shadow: 0 6px 16px rgba(0,0,0,.2);
  transform: translateX(6px);
}

body.home .marbio-product-card:hover {
  border-color: #2ab5a0;
  box-shadow: 0 20px 42px rgba(3, 15, 43, .28);
  transform: translateY(-9px);
}
body.home .marbio-product-card:hover .marbio-product-card-media { filter: saturate(1.12); transform: scale(1.08); }
body.home .marbio-product-card:hover .marbio-product-card-media::after { opacity: .4; }
body.home .marbio-product-card:hover .marbio-product-card-overlay::before { transform: scaleY(1); }
body.home .marbio-product-card:hover .marbio-product-card-title { letter-spacing: .025em; transform: none; }
body.home .marbio-product-card:hover .marbio-product-card-arrow {
  color: #fff;
  background: #2ab5a0;
  border-color: #2ab5a0;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
  transform: translateX(7px);
}

@media (max-width: 768px) {
  body.home #marbio-produits .marbio-product-card-arrow {
    font-size: 11px !important;
    letter-spacing: .06em !important;
    padding: 0 16px !important;
  }
}

@media (max-width: 991px) {
  body.home .marbio-product-card { height: 430px; }
}

@media (max-width: 768px) {
  body.home .marbio-product-card { height: 390px !important; grid-template-rows: 52% 48%; }
  body.home .marbio-product-card-overlay { padding: 23px 24px; }
  .marbio-stat-value--long { font-size: clamp(28px, 9vw, 38px) !important; }
}

/* Readable justification: headings and compact UI copy must never be stretched. */
body.home :is(h1, h2, h3, h4, h5, h6),
body.home .marbio-eyebrow,
body.home .marbio-stat-label,
body.home .marbio-product-card-title,
body.home .marbio-product-card-kicker,
body.home .news-link-hover {
  text-align: left !important;
  
  text-justify: auto;
  word-spacing: normal;
}

body.home #marbio-carrieres h2 {
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
  word-spacing: normal;
}

body.home #marbio-vision p,
body.home #marbio-impact p,
body.home #marbio-carrieres p {
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: auto;
  word-spacing: normal;
  hyphens: auto;
}

/* Short card excerpts look better ragged-right than with exaggerated word gaps. */
body.home #marbio-actualites .actualite-card p {
  text-align: left !important;
  text-align-last: left !important;
  word-spacing: normal;
}



/* =====================================================================
   HOME CAPACITY — DARK CLINICAL DASHBOARD
   ===================================================================== */
body.home #marbio-stats {
  padding: 104px 0 112px !important;
  background:
    radial-gradient(circle at 8% 12%, rgba(42, 181, 160, .28), transparent 23%),
    radial-gradient(circle at 94% 94%, rgba(69, 130, 207, .23), transparent 28%),
    linear-gradient(135deg, #0a1d43 0%, #132e61 52%, #0b214b 100%) !important;
}
body.home #marbio-stats .marbio-section-heading { max-width: 820px; margin-bottom: 56px; }
body.home #marbio-stats .marbio-eyebrow { color: #79e0d1; }
body.home #marbio-stats .marbio-section-heading h2 {
  color: #fff;
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(33px, 3.1vw, 51px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.12;
  text-align: center !important;
}
body.home #marbio-stats .marbio-stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px !important;
}
body.home #marbio-stats .marbio-stat-card {
  min-height: 268px;
  padding: 25px 26px 27px;
  justify-content: flex-start;
  background: linear-gradient(145deg, rgba(255,255,255,.15), rgba(255,255,255,.06)) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 20px 40px rgba(0, 10, 35, .22) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
body.home #marbio-stats .marbio-stat-card::before {
  width: 66px;
  height: 3px;
  background: #73ded0;
  transform: scaleX(1);
}
body.home #marbio-stats .marbio-stat-card::after {
  position: absolute;
  right: -16px;
  bottom: -27px;
  width: 118px;
  height: 118px;
  content: '';
  border: 1px solid rgba(121,224,209,.16);
  border-radius: 50%;
  pointer-events: none;
}
body.home #marbio-stats .marbio-stat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: auto;
}
body.home #marbio-stats .marbio-stat-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #8bf1e2;
  background: rgba(42,181,160,.15);
  border: 1px solid rgba(139,241,226,.32);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13);
  transition: background .3s ease, color .3s ease, transform .3s ease;
}


/* =====================================================================
   HOME HERO — EDITORIAL BIOTECH EXPERIENCE
   ===================================================================== */
body.home .hero-section {
  height: min(790px, calc(100vh - 90px));
  min-height: 640px;
  padding: 0 !important;
  align-items: center;
  background-position: center center;
  isolation: isolate;
}
body.home .hero-section::after { height: 5px; background: linear-gradient(90deg, #2ab5a0 0 18%, #fff 18% 100%); }
body.home .hero-overlay {
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 23, 57, .92) 0%, rgba(12, 37, 82, .75) 43%, rgba(11, 30, 66, .13) 74%, rgba(8, 24, 55, .09) 100%);
}
body.home .marbio-hero-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .34;
  background-image: linear-gradient(rgba(142, 242, 224, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(142, 242, 224, .16) 1px, transparent 1px);
  background-position: right -1px bottom 0;
  background-size: 58px 58px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 45%, #000 72%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 45%, #000 72%, transparent 100%);
  pointer-events: none;
}
body.home .hero-content { position: relative; z-index: 1; }
body.home .marbio-hero-copy {
  max-width: 735px;
  padding: 38px 0 38px 42px;
  border-left: 2px solid #67ddcd;
}
body.home .marbio-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
  color: #a3f0e4;
  font-family: 'Poppins', sans-serif !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
}
body.home .marbio-hero-eyebrow > span { width: 26px; height: 1px; background: currentColor; }
body.home .hero-content h1 {
  max-width: 700px;
  margin: 0;
  color: #fff;
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(50px, 5vw, 82px) !important;
  font-weight: 400 !important;
  letter-spacing: -.07em !important;
  line-height: 1.04 !important;
  text-align: left !important;
  text-shadow: 0 8px 30px rgba(3, 13, 34, .22);
}
body.home .hero-content h1 strong { color: #8bf1e2; font-family: inherit !important; font-weight: 600 !important; }
body.home .marbio-hero-signature {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 31px;
  color: rgba(255,255,255,.76);
  font-family: 'Poppins', sans-serif !important;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
}
body.home .marbio-hero-signature > span:nth-child(2) { width: 4px; height: 4px; background: #71dfcf; border-radius: 50%; }
body.home .marbio-hero-scroll {
  position: absolute;
  z-index: 1;
  right: max(32px, calc((100% - 1400px) / 2));
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(255,255,255,.73);
  font-family: 'Poppins', sans-serif !important;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
body.home .marbio-hero-scroll i { position: relative; display: block; width: 44px; height: 1px; overflow: hidden; background: rgba(255,255,255,.38); }
body.home .marbio-hero-scroll i::after { position:absolute; top:0; left:-30%; width:30%; height:100%; content:''; background:#8bf1e2; animation: marbio-hero-scroll 2.3s ease-in-out infinite; }
@keyframes marbio-hero-scroll { 0%, 25% { transform: translateX(-140%); } 70%, 100% { transform: translateX(450%); } }

@media (max-width: 768px) {
  body.home .hero-section { height: 620px !important; min-height: 620px !important; background-position: 59% center !important; }
  body.home .hero-overlay { background: linear-gradient(90deg, rgba(7,23,57,.91) 0%, rgba(12,37,82,.72) 68%, rgba(7,23,57,.34) 100%); }
  body.home .hero-content { padding: 0 27px !important; }
  body.home .marbio-hero-copy { padding: 28px 0 28px 23px; border-left-width: 2px; }
  body.home .marbio-hero-eyebrow { margin-bottom: 18px; font-size: 9px; letter-spacing: .13em; line-height: 1.5; }
  body.home .hero-content h1 { font-size: clamp(42px, 12vw, 56px) !important; line-height: 1.06 !important; }
  body.home .marbio-hero-signature { gap: 9px; margin-top: 24px; font-size: 8px; letter-spacing: .065em; }
  body.home .marbio-hero-scroll { right: 27px; bottom: 25px; }
  body.home .marbio-hero-scroll span { display: none; }
}

/* Centre the homepage hero around one brand statement and two clear actions. */
body.home .hero-section {
  height: min(800px, calc(100vh - 90px));
  min-height: 650px;
  align-items: center;
  background-position: center center;
}
body.home .hero-overlay {
  z-index: -1;
  background: radial-gradient(circle at 50% 44%, rgba(25, 73, 128, .18) 0%, rgba(8, 27, 64, .55) 48%, rgba(5, 19, 48, .89) 100%);
}
body.home .marbio-hero-grid {
  opacity: .22;
  background-image: radial-gradient(circle, rgba(139,241,226,.85) 1px, transparent 1.6px);
  background-size: 28px 28px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, rgba(0,0,0,.58) 40%, transparent 72%);
  mask-image: radial-gradient(ellipse at center, #000 0%, rgba(0,0,0,.58) 40%, transparent 72%);
}
body.home .hero-content { display: flex; justify-content: center; padding: 0 40px !important; text-align: center; }
body.home .marbio-hero-copy { max-width: 900px; padding: 0; border: 0; text-align: center; }
body.home .marbio-hero-eyebrow {
  display: inline-flex;
  margin: 0 0 23px;
  padding: 9px 16px;
  color: #b2f4e9;
  background: rgba(29, 146, 136, .17);
  border: 1px solid rgba(150, 242, 228, .36);
  border-radius: 99px;
  font-size: 10px;
  letter-spacing: .16em;
}
body.home .marbio-hero-eyebrow > span { display: none; }
body.home .hero-content h1 {
  max-width: 900px;
  color: #fff;
  font-size: clamp(54px, 6vw, 92px) !important;
  font-weight: 500 !important;
  letter-spacing: -.08em !important;
  line-height: 1.02 !important;
  text-align: center !important;
}
body.home .hero-content h1 strong { color: #fff; font-weight: 600 !important; }
body.home .hero-content h1 strong:first-child { color: #91ecde; }
body.home .marbio-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 13px; margin-top: 34px; }
body.home .marbio-hero-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 14px 21px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
body.home .marbio-hero-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .25s ease; }
body.home .marbio-hero-btn--primary { color: #08204c; background: #8bf1e2; border-color: #8bf1e2; box-shadow: 0 10px 25px rgba(0, 8, 32, .3); }
body.home .marbio-hero-btn--secondary { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); }
body.home .marbio-hero-btn:hover,
body.home .marbio-hero-btn:focus-visible { color: #fff; background: #2ab5a0; border-color: #2ab5a0; box-shadow: 0 13px 30px rgba(0, 8, 32, .34); outline: 0; transform: translateY(-3px); }
body.home .marbio-hero-btn:hover svg,
body.home .marbio-hero-btn:focus-visible svg { transform: translateX(4px); }
body.home .marbio-hero-scroll { display: none; }

@media (max-width: 768px) {
  body.home .hero-section { height: 610px !important; min-height: 610px !important; }
  body.home .hero-content { padding: 0 22px !important; }
  body.home .marbio-hero-eyebrow { margin-bottom: 18px; padding: 8px 12px; font-size: 8px; letter-spacing: .11em; }
  body.home .hero-content h1 { font-size: clamp(43px, 12vw, 58px) !important; }
  body.home .marbio-hero-actions { width: 100%; flex-direction: column; margin-top: 28px; }
  body.home .marbio-hero-btn { width: 100%; min-height: 49px; }
}

/* Marbio core palette only: navy, teal, white, and the established neutrals. */
body.home .hero-overlay {
  background: radial-gradient(circle at 50% 44%, rgba(42, 181, 160, .14) 0%, rgba(27, 47, 94, .76) 48%, rgba(27, 47, 94, .96) 100%);
}
body.home .marbio-hero-grid {
  background-image: radial-gradient(circle, rgba(42, 181, 160, .72) 1px, transparent 1.6px);
}
body.home .marbio-hero-eyebrow {
  color: #ffffff;
  background: rgba(42, 181, 160, .18);
  border-color: rgba(42, 181, 160, .72);
}
body.home .hero-content h1 strong:first-child { color: #2ab5a0; }
body.home .marbio-hero-btn--primary { color: #ffffff; background: #2ab5a0; border-color: #2ab5a0; }
body.home .marbio-hero-btn--secondary { color: #ffffff; background: rgba(255,255,255,.08); border-color: #ffffff; }
body.home .marbio-hero-btn:hover,
body.home .marbio-hero-btn:focus-visible { color: #ffffff; background: #1b2f5e; border-color: #ffffff; }

/* =====================================================================
   SHARED ACTION BUTTONS — HEADER CTA SYSTEM
   ===================================================================== */
body :is(
  .marbio-btn-primary,
  .marbio-hero-btn,
  .single-back-btn,
  .car-cta-btn,
  .nf-btn,
  .pv-btn,
  .info-btn,
  .pv-modal-submit
) {
  display: inline-flex !important;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 19px !important;
  color: #ffffff !important;
  background: #1b2f5e !important;
  border: 1px solid #1b2f5e !important;
  border-radius: 3px !important;
  box-shadow: none;
  font-family: 'Poppins', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .06em !important;
  line-height: 1.2;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease, transform 220ms ease !important;
}

body :is(
  .marbio-btn-primary,
  .marbio-hero-btn,
  .single-back-btn,
  .car-cta-btn,
  .nf-btn,
  .pv-btn,
  .info-btn,
  .pv-modal-submit
):hover,
body :is(
  .marbio-btn-primary,
  .marbio-hero-btn,
  .single-back-btn,
  .car-cta-btn,
  .nf-btn,
  .pv-btn,
  .info-btn,
  .pv-modal-submit,
  .marbio-product-card-arrow

):focus-visible {
  color: #ffffff !important;
  background: #2ab5a0 !important;
  border-color: #2ab5a0 !important;
  box-shadow: 0 8px 18px rgba(27, 47, 94, .18) !important;
  outline: 0;
  transform: translateY(-2px);
}

body.home .marbio-product-card-arrow {
  display: inline-flex;
  width: auto;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  color: #17376e;
  background: #fff;
  border: 1px solid #fff;
  font-family: 'Poppins', sans-serif !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

body :is(.marbio-hero-btn, .pv-btn, .info-btn) svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
body :is(.pv-modal-submit, .pv-btn, .info-btn) { cursor: pointer; }
.pv-modal-submit { width: 100%; }

@media (max-width: 768px) {
  body :is(.marbio-btn-primary, .marbio-hero-btn, .single-back-btn, .car-cta-btn, .nf-btn, .pv-btn, .info-btn, .pv-modal-submit) {
    min-height: 48px;
    padding: 12px 18px !important;
  }
}

/* Keep every action button solid navy before interaction. */
body :is(
  .marbio-btn-primary,
  .marbio-hero-btn,
  .single-back-btn,
  .car-cta-btn,
  .nf-btn,
  .pv-btn,
  .info-btn,
  .pv-modal-submit
) {
  background-color: #1b2f5e !important;
  background-image: none !important;
  background-size: auto !important;
}

body :is(
  .marbio-btn-primary,
  .marbio-hero-btn,
  .single-back-btn,
  .car-cta-btn,
  .nf-btn,
  .pv-btn,
  .info-btn,
  .pv-modal-submit
):hover,
body :is(
  .marbio-btn-primary,
  .marbio-hero-btn,
  .single-back-btn,
  .car-cta-btn,
  .nf-btn,
  .pv-btn,
  .info-btn,
  .pv-modal-submit
):focus-visible {
  background-color: #2ab5a0 !important;
  background-image: none !important;
}

/* =====================================================================
   HOME HERO — EDITORIAL PANEL REFRESH
   ===================================================================== */
body.home .hero-section {
  min-height: clamp(620px, 76vh, 800px);
  height: auto;
  align-items: stretch;
  padding: 0 !important;
  background-position: center;
}

body.home .hero-section::after {
  height: 4px;
  background: linear-gradient(90deg, #2ab5a0 0 24%, #ffffff 24% 100%);
}

body.home .hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 24, 57, .55) 0%, rgba(7, 24, 57, .25) 40%, rgba(7, 24, 57, 0) 70%),
    linear-gradient(0deg, rgba(5, 18, 43, .28) 0%, transparent 45%);
}

@media (max-width: 768px) {
  body.home .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 24, 57, .62) 0%, rgba(7, 24, 57, .35) 60%, rgba(7, 24, 57, .1) 100%),
      linear-gradient(0deg, rgba(5, 18, 43, .35) 0%, transparent 50%);
  }
}

body.home .marbio-hero-grid {
  z-index: -1;
  opacity: 0.3;
  background-image: linear-gradient(rgba(139, 241, 226, 0.23) 1px, transparent 1px), linear-gradient(90deg, rgba(139, 241, 226, 0.23) 1px, transparent 1px);
  background-position: right 6vw bottom;
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 37%, #000 66%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 37%, #000 66%, transparent 100%);
}

body.home .hero-content {
  display: flex;
  width: 100%;
  max-width: 1440px;
  padding: 74px 80px !important;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

body.home .marbio-hero-copy {
  width: min(100%, 710px);
  max-width: none;
  padding: clamp(30px, 4.5vw, 60px);
  text-align: left;
  background: rgba(11, 31, 70, 0.68);
  border: 1px solid rgba(173, 244, 233, 0.25);
  border-left: 4px solid #2ab5a0;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 28px 60px rgba(3, 14, 41, 0.28);
  backdrop-filter: blur(10px);
}

body.home .marbio-hero-eyebrow {
  display: flex;
  width: fit-content;
  margin: 0 0 22px;
  padding: 0;
  color: #a2eee2;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 10px;
  letter-spacing: 0.17em;
}

body.home .marbio-hero-eyebrow::before {
  width: 32px;
  height: 1px;
  margin-right: 11px;
  content: '';
  background: currentColor;
}

body.home .hero-content h1 {
  max-width: 660px;
  font-size: clamp(48px, 5.3vw, 82px) !important;
  font-weight: 500 !important;
  letter-spacing: -0.065em !important;
  line-height: 1.02 !important;
  text-align: left !important;
}

body.home .hero-content h1 strong,
body.home .hero-content h1 strong:first-child { color: #8bf1e2; }

body.home .marbio-hero-actions {
  justify-content: flex-start;
  gap: 12px;
  margin-top: 34px;
}

body.home .marbio-hero-btn {
  min-width: 196px;
  min-height: 52px;
  padding: 14px 20px !important;
  background: #1b2f5e !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  border-radius: 3px;
  box-shadow: none;
  font-size: 10px !important;
}

body.home .marbio-hero-btn--primary { border-color: #2ab5a0 !important; }

body.home .marbio-hero-btn:hover,
body.home .marbio-hero-btn:focus-visible {
  background: #2ab5a0 !important;
  border-color: #2ab5a0 !important;
  box-shadow: 0 13px 28px rgba(0, 12, 38, 0.32) !important;
}

@media (max-width: 768px) {
  body.home .hero-section { min-height: 650px !important; }
  body.home .hero-content { padding: 42px 22px !important; }
  body.home .marbio-hero-copy { padding: 30px 25px 32px; border-left-width: 3px; }
  body.home .marbio-hero-eyebrow { margin-bottom: 18px; font-size: 8px; }
  body.home .hero-content h1 { font-size: clamp(42px, 12vw, 58px) !important; }
  body.home .marbio-hero-actions { width: 100%; flex-direction: column; margin-top: 28px; }
  body.home .marbio-hero-btn { width: 100%; }
}

/* Home hero: full-bleed photography with a clear, low-profile content layer. */
body.home .hero-section {
  min-height: clamp(620px, 78vh, 820px);
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}

body.home .hero-overlay {
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 24, 57, .86) 0%, rgba(7, 24, 57, .52) 42%, rgba(7, 24, 57, .08) 76%), linear-gradient(0deg, rgba(5, 18, 43, .68) 0%, transparent 54%);
}

body.home .marbio-hero-grid {
  opacity: .18;
  background-image: radial-gradient(circle, rgba(139, 241, 226, .9) 1px, transparent 1.6px);
  background-position: right 8% bottom 14%;
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse at 78% 76%, #000 0%, transparent 55%);
  mask-image: radial-gradient(ellipse at 78% 76%, #000 0%, transparent 55%);
}

body.home .hero-content {
  max-width: 1400px;
  padding: 72px 80px 88px !important;
}

body.home .marbio-hero-copy {
  width: min(100%, 650px);
  padding: 0 0 0 30px;
  background: linear-gradient(90deg, rgba(7, 24, 57, .45) 0%, rgba(7, 24, 57, .12) 100%);
  border: 0;
  border-left: 3px solid #2ab5a0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

body.home .marbio-hero-eyebrow {
  margin-bottom: 18px;
  padding: 0;
  color: #b7f5eb;
  background: transparent;
  border: 0;
  font-size: 10px;
}

body.home .marbio-hero-eyebrow::before { display: none; }

body.home .hero-content h1 {
  max-width: 620px;
  font-size: clamp(52px, 5.2vw, 80px) !important;
  font-weight: 500 !important;
  letter-spacing: -0.06em !important;
  line-height: 1.03 !important;
}

body.home .hero-content h1 strong,
body.home .hero-content h1 strong:first-child { color: #ffffff; }

body.home .marbio-hero-actions {
  gap: 12px;
  margin-top: 32px;
}

body.home .marbio-hero-btn {
  min-width: 205px;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, .78) !important;
  border-radius: 2px;
  font-size: 10px !important;
}

body.home .marbio-hero-btn--primary {
  background: #2ab5a0 !important;
  border-color: #2ab5a0 !important;
}

body.home .marbio-hero-btn--secondary { background: rgba(7, 24, 57, .28) !important; }

body.home .marbio-hero-btn:hover,
body.home .marbio-hero-btn:focus-visible {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #1b2f5e !important;
}

body.home .marbio-hero-signature { margin-top: 26px; }

@media (max-width: 768px) {
  body.home .hero-section {
    min-height: 650px !important;
    background-position: 60% center;
  }
  body.home .hero-overlay {
    background: linear-gradient(90deg, rgba(7, 24, 57, .91) 0%, rgba(7, 24, 57, .66) 76%, rgba(7, 24, 57, .3) 100%), linear-gradient(0deg, rgba(5, 18, 43, .75) 0%, transparent 58%);
  }
  body.home .hero-content { padding: 46px 26px 62px !important; }
  body.home .marbio-hero-copy { padding-left: 21px; }
  body.home .hero-content h1 { font-size: clamp(42px, 12vw, 56px) !important; }
  body.home .marbio-hero-actions { width: 100%; gap: 10px; }
  body.home .marbio-hero-btn { min-width: 0; border-radius: 2px; }
}

/* Products CTA: a teal action is more visible than a white button on the dark panel. */
body.home #marbio-produits .marbio-home-cta--light {
  color: #ffffff !important;
  background: #2ab5a0 !important;
  border-color: #2ab5a0 !important;
}

body.home #marbio-produits .marbio-home-cta--light:hover,
body.home #marbio-produits .marbio-home-cta--light:focus-visible {
  color: #1b2f5e !important;
  background: #ffffff !important;
  border-color: transparent !important;
}

/* Keep the homepage statement as two balanced, justified lines. */
body.home .hero-content h1 {
  max-width: 650px;
}

body.home .marbio-hero-title-line {
  display: block;
  width: auto;
  white-space: normal;
}
/*
 * Body copy is intentionally uniform: editorial emphasis added in the WordPress
 * editor (for example <strong>, <b>, or an inline font-weight) must not create
 * bold fragments in any page content block. Some templates print WYSIWYG
 * content directly in a div rather than wrapping it in a paragraph.
 */
#page > :not(.site-header):not(footer) strong,
#page > :not(.site-header):not(footer) b,
#page > :not(.site-header):not(footer) [style*="font-weight"] {
  font-weight: 400 !important;
}

/* Keep page titles and section headings at their own intended weight. */
#page > :not(.site-header):not(footer) :is(h1, h2, h3, h4, h5, h6) * {
  font-weight: inherit !important;
}

/* The homepage hero deliberately uses one highlighted word. */
body.home .hero-content h1 strong {
  font-weight: 600 !important;
}

/* Qui sommes-nous: all rich-text body copy must remain regular weight. */
#page .qsn-content,
#page .qsn-content *,
#page .qsn-quote p,
#page .qsn-quote p * {
  font-weight: 400 !important;
}



/* Site-wide editorial copy: regular weight and justified on every page. */
#page > :not(.site-header):not(footer) {
  text-align: justify;
  text-justify: inter-word;
}

#page > :not(.site-header):not(footer) :is(p, li, blockquote) {
  font-weight: 400 !important;
  text-align: justify !important;
  text-align-last: auto;
  text-justify: inter-word;
}

#page > :not(.site-header):not(footer) :is(p, li, blockquote) * {
  font-weight: 400 !important;
}

/* Qui sommes-nous contains editor text directly in content divs. */
#page .qsn-content,
#page .qsn-quote p {
  text-align: justify !important;
  text-align-last: auto;
  text-justify: inter-word;
}

@media (max-width: 768px) {
  body.home .marbio-hero-title-line {
    display: block;
    white-space: normal;
  }
}

/* Header: larger, clearer navigation with a restrained brand-aligned hover. */
.marbio-navbar .nav-link {
  padding: 16px 15px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

.marbio-navbar .nav-link:hover,
.marbio-navbar .nav-link:focus-visible {
  color: #1b2f5e;
  background: rgba(42, 181, 160, 0.14);
  outline: none;
}

.marbio-social-links { gap: 8px; }

.marbio-social-links svg {
  width: 16px;
  height: 16px;
}







/* ================================
   HEADER — SINGLE LINKEDIN ICON, LARGER
================================ */


.marbio-social-links svg {
  width: 22px;
  height: 22px;
}


/* ================================
   TOP UTILITY MENU — ICONS FOR PHARMACOVIGILANCE / INFO MÉDICALE
================================ */
.top-menu-list li a[href*="pharmacovigilance"],
.top-menu-list li a[href*="information-medicale"] {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.top-menu-list li a[href*="pharmacovigilance"]::before,
.top-menu-list li a[href*="information-medicale"]::before {
  content: '';
  display: inline-block;
font-size:11px;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/* Pharmacovigilance — shield with check (safety monitoring) */
.top-menu-list li a[href*="pharmacovigilance"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 4 5v6c0 5 3.5 9 8 11 4.5-2 8-6 8-11V5l-8-3Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}

/* Information Médicale — info circle */
.top-menu-list li a[href*="information-medicale"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cline x1='12' y1='11' x2='12' y2='16'/%3E%3Ccircle cx='12' cy='7.5' r='0.6' fill='%23ffffff' stroke='none'/%3E%3C/svg%3E");
}


/* ================================
   HEADER — LARGER DROPDOWN LINK TEXT
================================ */
.marbio-navbar .dropdown-item,
.marbio-navbar .dropdown-menu .dropdown-item {
  font-size: 14px !important;
}

@media (min-width: 992px) {
  .marbio-navbar .dropdown-menu {
    min-width: 300px;
  }
}

/* Hero section: both CTAs solid teal/green, no navy anywhere (including hover) */
body.home .hero-content .marbio-btn-primary,
body.home .hero-content .marbio-btn-primary--outline {
  background: #2a9d8f !important;
  border-color: #2a9d8f !important;
  color: #ffffff !important;
}
body.home .hero-content .marbio-btn-primary::before,
body.home .hero-content .marbio-btn-primary--outline::before {
  background: #22897b !important;
}
body.home .hero-content .marbio-btn-primary:hover,
body.home .hero-content .marbio-btn-primary:focus-visible,
body.home .hero-content .marbio-btn-primary--outline:hover,
body.home .hero-content .marbio-btn-primary--outline:focus-visible {
  background: #22897b !important;
  border-color: #22897b !important;
  color: #ffffff !important;
}

/* Hero: slightly larger eyebrow label and bottom signature text for readability */
body.home .marbio-hero-eyebrow {
  font-size: 13px !important;
  letter-spacing: 0.15em !important;
}

body.home .marbio-hero-signature {
  font-size: 13px !important;
}



/* =====================================================================
   HERO — CONSOLIDATED RESPONSIVE BEHAVIOR (final override)
   ===================================================================== */

/* ---- Large desktop / default ---- */
body.home .hero-section {
  min-height: clamp(560px, 78vh, 820px) !important;
  height: auto !important;
  padding: 0 !important;
  align-items: flex-end !important;
  background-position: center !important;
}
body.home .hero-content {
  max-width: 1400px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 72px 80px 88px !important;
  box-sizing: border-box !important;
}
body.home .marbio-hero-copy {
  max-width: 650px !important;
  width: 100% !important;
}
body.home .hero-content h1 {
  font-size: clamp(40px, 5.2vw, 80px) !important;
  line-height: 1.05 !important;
  max-width: 100% !important;
}
body.home .marbio-hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}
body.home .marbio-hero-signature {
  flex-wrap: wrap !important;
}

/* ---- Tablet (≤ 1024px) ---- */
@media (max-width: 1024px) {
  body.home .hero-content {
    padding: 60px 50px 70px !important;
  }
  body.home .marbio-hero-copy {
    max-width: 560px !important;
  }
  body.home .hero-content h1 {
    font-size: clamp(36px, 6vw, 60px) !important;
  }
}

/* ---- Mobile landscape / small tablet (≤ 768px) ---- */
@media (max-width: 768px) {
  body.home .hero-section {
    min-height: 620px !important;
    background-position: 60% center !important;
  }
  body.home .hero-content {
    padding: 46px 24px 60px !important;
  }
  body.home .marbio-hero-copy {
    max-width: 100% !important;
    padding-left: 18px !important;
  }
  body.home .marbio-hero-eyebrow {
    font-size: 11px !important;
    margin-bottom: 16px !important;
  }
  body.home .hero-content h1 {
    font-size: clamp(32px, 10vw, 48px) !important;
    line-height: 1.15 !important;
  }
  body.home .marbio-hero-actions {
    flex-direction: column !important;
    width: 100% !important;
    margin-top: 26px !important;
  }
  body.home .marbio-hero-btn,
  body.home .hero-content .marbio-btn-primary,
  body.home .hero-content .marbio-btn-primary--outline {
    width: 100% !important;
    min-width: 0 !important;
  }
  body.home .marbio-hero-signature {
    margin-top: 22px !important;
    gap: 8px !important;
    font-size: 11px !important;
  }
  body.home .marbio-hero-scroll {
    display: none !important;
  }
}

/* ---- Small mobile (≤ 480px) ---- */
@media (max-width: 480px) {
  body.home .hero-section {
    min-height: 560px !important;
  }
  body.home .hero-content {
    padding: 36px 18px 46px !important;
  }
  body.home .hero-content h1 {
    font-size: clamp(28px, 11vw, 38px) !important;
  }
  body.home .marbio-hero-eyebrow {
    font-size: 10px !important;
    letter-spacing: 0.1em !important;
  }
}









/* ================================
   TOP BAR — LANGUAGE SWITCHER (GTranslate) next to LinkedIn icon
   Add this block anywhere in style.css (e.g. right after .marbio-social-links rules)
================================ */
.marbio-top-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.marbio-lang-switcher {
  display: flex;
  align-items: center;
}

/* Neutralize GTranslate's default widget chrome so it matches the dark top bar */
.marbio-lang-switcher .gtranslate_wrapper,
.marbio-lang-switcher select.gt-selector {
  font-family: 'Poppins', sans-serif !important;
  font-size: 11px !important;
}

.marbio-lang-switcher a,
.marbio-lang-switcher a span {
  color: rgba(255, 255, 255, 0.86) !important;
  text-decoration: none !important;
  transition: color 180ms ease;
}

.marbio-lang-switcher a:hover {
  color: #ffffff !important;
}


.top-menu {
  background: #f5f5f5 !important;
}

.marbio-navbar .marbio-header-cta,
.marbio-offcanvas .marbio-offcanvas-cta {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  min-height: 34px !important;
  background-color: #2ab5a0 !important;
  border-color: #2ab5a0 !important;
}

.marbio-navbar .marbio-header-cta:hover,
.marbio-navbar .marbio-header-cta:focus-visible,
.marbio-offcanvas .marbio-offcanvas-cta:hover,
.marbio-offcanvas .marbio-offcanvas-cta:focus-visible {
  background-color: #1b2f5e !important;
  
}

.top-menu-list li a {
  color: #1b2f5e !important;
}
.top-menu-list li a:hover {
  color: #2ab5a0 !important;
}
.top-menu-list li + li::before {
  background: rgba(27, 47, 94, 0.2) !important;
}
.marbio-social-links a {
  color: #1b2f5e !important;
}
.marbio-lang-switcher a,
.marbio-lang-switcher a span {
  color: #1b2f5e !important;
}
.top-menu-list li a[href*="pharmacovigilance"]::before,
.top-menu-list li a[href*="information-medicale"]::before {
  filter: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b2f5e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 4 5v6c0 5 3.5 9 8 11 4.5-2 8-6 8-11V5l-8-3Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") !important;
}
.top-menu-list li a[href*="information-medicale"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b2f5e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cline x1='12' y1='11' x2='12' y2='16'/%3E%3Ccircle cx='12' cy='7.5' r='0.6' fill='%231b2f5e' stroke='none'/%3E%3C/svg%3E") !important;
}


.marbio-social-links svg {
  width: 15px !important;
  height: 15px !important;
}

/* //////hero section - video hero /////////*/
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  pointer-events: none;
}


/* Homepage hero keeps its own object-position override */
body.home .hero-bg-video {
  object-position: center center;
}

@media (max-width: 768px) {
  body.home .hero-bg-video {
    object-position: 60% center;
  }
}

/* Respect users who prefer reduced motion — fall back to the static poster/background image */
@media (prefers-reduced-motion: reduce) {
  .hero-bg-video {
    display: none;
  }
}



body.home #marbio-stats .marbio-stat-icon svg {
  stroke-width: 2;
}
body.home #marbio-stats .marbio-stat-icon {
  width: 52px;
  height: 52px;
}
body.home #marbio-stats .marbio-stat-icon svg {
  width: 26px;
  height: 26px;
}


body.home #marbio-stats .marbio-stat-icon {
  position: relative;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  color: var(--stat-accent);
  background: linear-gradient(150deg, color-mix(in srgb, var(--stat-accent) 22%, transparent), rgba(255,255,255,.05));
  border: 1px solid color-mix(in srgb, var(--stat-accent) 45%, transparent);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    0 10px 24px rgba(0,0,0,.28);
  overflow: visible;
  transition: transform 420ms cubic-bezier(.2,.8,.2,1), box-shadow 420ms ease, background 420ms ease;
}

/* Rotated ghost square behind the badge — adds depth/tech feel */
body.home #marbio-stats .marbio-stat-icon-ring {
  position: absolute;
  inset: -6px;
  border: 1.5px solid color-mix(in srgb, var(--stat-accent) 35%, transparent);
  border-radius: 22px;
  transform: rotate(12deg) scale(.92);
  transition: transform 480ms cubic-bezier(.2,.8,.2,1), opacity 480ms ease;
  opacity: .55;
}

/* Soft blurred glow that blooms on hover */
body.home #marbio-stats .marbio-stat-icon-glow {
  position: absolute;
  inset: -14px;
  background: radial-gradient(circle, color-mix(in srgb, var(--stat-accent) 55%, transparent), transparent 70%);
  border-radius: 50%;
  opacity: 0;
  filter: blur(6px);
  transition: opacity 420ms ease, transform 420ms ease;
  transform: scale(.8);
}

body.home #marbio-stats .marbio-stat-icon svg {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
}

/* Hover: badge lifts + rotates slightly, ring unwinds, glow blooms */
body.home #marbio-stats .marbio-stat-card:hover .marbio-stat-icon {
  color: #123263;
  background: var(--stat-accent);
  border-color: var(--stat-accent);
  transform: translateY(-4px) rotate(-4deg);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    0 16px 32px color-mix(in srgb, var(--stat-accent) 45%, transparent);
}
body.home #marbio-stats .marbio-stat-card:hover .marbio-stat-icon-ring {
  transform: rotate(0deg) scale(1.06);
  opacity: 1;
}
body.home #marbio-stats .marbio-stat-card:hover .marbio-stat-icon-glow {
  opacity: .8;
  transform: scale(1.15);
}

@media (max-width: 768px) {
  body.home #marbio-stats .marbio-stat-icon { width: 60px; height: 60px; border-radius: 16px; }
  body.home #marbio-stats .marbio-stat-icon svg { width: 28px; height: 28px; }
  body.home #marbio-stats .marbio-stat-icon-ring { border-radius: 18px; }
}


body.home .marbio-product-card-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  height: auto;
  margin-top: 20px;
  padding: 0 0 4px 0;
  color: #ffffff;
  background: transparent;
  border: none;
  border-radius: 0;
  font-family: 'Poppins', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: .08em !important;
  text-transform: uppercase;
  transform: none;
  transition: gap 250ms ease, color 250ms ease;
}

/* animated underline */
body.home .marbio-product-card-arrow::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right 300ms ease;
}

body.home .marbio-product-card-arrow svg,
body.home .marbio-product-card-arrow span:not(:first-child) {
  transition: transform 250ms ease;
}

body.home .marbio-product-card:hover .marbio-product-card-arrow {
  color: #8be0d0;
  gap: 12px;
}

body.home .marbio-product-card:hover .marbio-product-card-arrow::after {
  right: 0;
}

/* Product cards: one consistent, accessible editorial link treatment. */
body.home .marbio-product-card-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 12px;
  /* Keep the action visually connected to its product title. */
  margin-top: 12px !important;
  color: #ffffff;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 400 !important;
  letter-spacing: .1em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 220ms ease, gap 220ms ease;
}

body.home .marbio-product-card-link > span:first-child {
  font-weight: 400 !important;
}

body.home .marbio-product-card-link-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: #123064;
  background: #8be0d0;
  border-radius: 50%;
  transition: background-color 220ms ease, color 220ms ease, transform 220ms ease;
}

body.home .marbio-product-card-link-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

body.home .marbio-product-card-link:hover,
body.home .marbio-product-card-link:focus-visible {
  gap: 16px;
  color: #8be0d0;
}

body.home .marbio-product-card-link:hover .marbio-product-card-link-icon,
body.home .marbio-product-card-link:focus-visible .marbio-product-card-link-icon {
  color: #ffffff;
  background: #2ab5a0;
  transform: translateX(2px);
}

body.home .marbio-product-card-link:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 5px;
}

/* Neutralise the older generic card-span hover animation for this component. */
body.home .product-card-hover:hover .marbio-product-card-link > span:first-child {
  letter-spacing: .1em;
  transform: none;
}

body.home .product-card-hover:hover .marbio-product-card-link-icon {
  letter-spacing: 0;
  transform: translateX(2px);
}

/* Shared action buttons use a single pill-shaped language across the site. */
body :is(
  .marbio-btn-primary,
  .marbio-hero-btn,
  .single-back-btn,
  .car-cta-btn,
  .nf-btn,
  .pv-btn,
  .info-btn,
  .pv-modal-submit
) {
  border-radius: 25px !important;
}

/* Careers: preserve contrast and readable rhythm on small screens. */
@media (max-width: 768px) {
  body.home #marbio-carrieres {
    min-height: 620px !important;
    align-items: stretch !important;
    background-position: center !important;
  }

  body.home #marbio-carrieres .marbio-carrieres-overlay {
    background: linear-gradient(180deg, rgba(8, 27, 64, .43) 0%, rgba(8, 27, 64, .84) 100%) !important;
  }

  body.home #marbio-carrieres .marbio-carrieres-inner {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 58px 28px 48px !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    text-align: left !important;
  }

  body.home #marbio-carrieres .carriere-label {
    color: #8bf1e2 !important;
    font-size: 11px !important;
    letter-spacing: .16em !important;
  }

  body.home #marbio-carrieres .carriere-label::after {
    width: 34px !important;
    height: 2px !important;
    margin-top: 9px !important;
    background: #2ab5a0 !important;
  }

  body.home #marbio-carrieres h2 {
    max-width: 21ch !important;
    margin: 0 0 20px !important;
    color: #ffffff !important;
    font-size: clamp(31px, 9vw, 42px) !important;
    line-height: 1.13 !important;
    text-align: left !important;
    text-align-last: left !important;
    text-justify: auto !important;
  }

  body.home #marbio-carrieres p {
    max-width: 36ch !important;
    margin: 0 0 28px !important;
    color: rgba(255, 255, 255, .92) !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
    text-align: left !important;
    text-align-last: left !important;
    text-justify: auto !important;
  }

  body.home #marbio-carrieres .marbio-btn-primary {
    align-self: flex-start;
    color: #ffffff !important;
    background: #2ab5a0 !important;
    border-color: #2ab5a0 !important;
  }

  body.home #marbio-carrieres .marbio-btn-primary span,
  body.home #marbio-carrieres .marbio-btn-primary svg {
    color: #ffffff !important;
  }

  body.home #marbio-carrieres .marbio-btn-primary:hover,
  body.home #marbio-carrieres .marbio-btn-primary:focus-visible {
    color: #ffffff !important;
    background: #22897b !important;
    border-color: #22897b !important;
  }
}

/* Vision: prevent the desktop 48% text column from collapsing on mobile. */
@media (max-width: 768px) {
  body.home #marbio-vision {
    min-height: 0 !important;
    padding: 0 !important;
    background-position: center !important;
  }

  body.home #marbio-vision > div:first-child {
    background: linear-gradient(90deg, rgba(240, 244, 247, .92) 0%, rgba(240, 244, 247, .80) 68%, rgba(240, 244, 247, .36) 100%) !important;
  }

  body.home .marbio-vision-wrap {
    display: block !important;
    width: 100% !important;
    padding: 60px 28px !important;
  }

  body.home .marbio-vision-wrap > div:first-child {
    width: 100% !important;
    max-width: 34rem !important;
    margin: 0 !important;
    text-align: left !important;
  }

  body.home .marbio-vision-wrap h2 {
    margin: 0 0 18px !important;
    color: #1b2f5e !important;
    font-size: clamp(30px, 9vw, 40px) !important;
    line-height: 1.13 !important;
    text-align: left !important;
    text-align-last: left !important;
    text-justify: auto !important;
  }

  body.home .marbio-vision-wrap p {
    max-width: 34rem !important;
    margin: 0 0 26px !important;
    color: #0e0e3a !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    text-align: left !important;
    text-align-last: left !important;
    text-justify: auto !important;
  }
}

body.home .marbio-hero-copy {
  background: linear-gradient(90deg, rgba(7, 24, 57, .45) 0%, rgba(7, 24, 57, .15) 100%);
  border-radius: 4px;
}

body.home .hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 24, 57, .55) 0%, rgba(7, 24, 57, .25) 40%, rgba(7, 24, 57, 0) 70%),
    linear-gradient(0deg, rgba(5, 18, 43, .28) 0%, transparent 45%);
}

@media (max-width: 768px) {
  body.home .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 24, 57, .62) 0%, rgba(7, 24, 57, .35) 60%, rgba(7, 24, 57, .1) 100%),
      linear-gradient(0deg, rgba(5, 18, 43, .35) 0%, transparent 50%);
  }
}



body.home .marbio-hero-copy {
  width: min(100%, 650px);
  padding: 0 0 0 30px;
  background: linear-gradient(90deg, rgba(7, 24, 57, .45) 0%, rgba(7, 24, 57, .12) 100%);
  border: 0;
  border-left: 3px solid #2ab5a0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

/* =====================================================================
   HERO — AMBIENT LIGHT GLOW (v2)
   Append at the very end of style.css so it wins the cascade.

   This does NOT touch: text color, font-family, font-size, button
   styles, eyebrow styles, or the .marbio-hero-copy padding/border —
   all of that stays exactly as your theme already defines it.

   It only changes: how the photo is lit behind the text. Instead of
   a flat dark scrim or a boxed card, two soft blurred "light pools"
   (teal + warm white) sit behind the copy, blended into the photo
   with mix-blend-mode, and breathe very slowly — like light
   diffusing through lab glass. No hard edges anywhere.
   ===================================================================== */

/* 1. Brighten the photo — organic feathered vignette, no straight lines */
body.home .hero-overlay {
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 70% at 22% 45%, rgba(6, 20, 46, .38) 0%, rgba(6, 20, 46, .14) 45%, transparent 72%),
    radial-gradient(ellipse 50% 60% at 85% 15%, rgba(255,255,255,.10), transparent 60%),
    linear-gradient(0deg, rgba(6, 20, 46, .12) 0%, transparent 38%);
}

/* 2. Give the copy block a positioning context for the glow blobs,
      without adding any visible background/border/padding of its own */
body.home .marbio-hero-copy {
  position: relative;
  isolation: isolate;
}

/* 3. Ambient glow blobs — soft, blurred, blended into the photo */
body.home .marbio-hero-copy::before,
body.home .marbio-hero-copy::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: marbio-glow-breathe 7s ease-in-out infinite;
}

/* Teal glow, lower-left — echoes the brand accent, warms the shadows */
body.home .marbio-hero-copy::before {
  left: -12%;
  bottom: -20%;
  width: 60%;
  height: 70%;
  background: radial-gradient(circle, rgba(42, 181, 160, .55) 0%, transparent 70%);
  animation-delay: 0s;
}

/* Warm white glow, upper area — lifts the darkest part of the photo
   right where the headline sits, like a soft key light */
body.home .marbio-hero-copy::after {
  left: 4%;
  top: -18%;
  width: 70%;
  height: 65%;
  background: radial-gradient(circle, rgba(255, 255, 255, .30) 0%, transparent 68%);
  animation-delay: -3.5s;
}

@keyframes marbio-glow-breathe {
  0%, 100% { opacity: .65; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  body.home .marbio-hero-copy::before,
  body.home .marbio-hero-copy::after { animation: none; opacity: .85; }
}

/* 4. Mobile: keep the vignette, drop the glow blobs (too costly/blurry
      on small dark photo crops, and the tighter frame doesn't need them) */
@media (max-width: 768px) {
  body.home .hero-overlay {
    background:
      radial-gradient(ellipse 80% 55% at 35% 55%, rgba(6, 20, 46, .46) 0%, rgba(6, 20, 46, .18) 50%, transparent 75%),
      linear-gradient(0deg, rgba(6, 20, 46, .18) 0%, transparent 42%);
  }
  body.home .marbio-hero-copy::before,
  body.home .marbio-hero-copy::after { display: none; }
}
/* =====================================================================
   HERO — COPY PADDING FIX
   Append at the very end of style.css (after the hero overlay block)
   so it wins the cascade over the earlier .marbio-hero-copy rule
   which currently has padding: 0 0 0 30px (no top/bottom/right space).

   Only adds spacing — no color, font, size, or effect changes.
   ===================================================================== */

body.home .marbio-hero-copy {
  padding: 12px 24px 12px 34px;
}

@media (max-width: 768px) {
  body.home .marbio-hero-copy {
    padding: 8px 18px 8px 22px;
  }
}


/* =====================================================================
   PRIMARY BUTTONS — CONSULTEZ-STYLE CIRCULAR ARROW HOVER
   Replaces the translateX slide with the same rotate + fill-in badge
   animation used by .consultez-card-arrow.
   ===================================================================== */
.marbio-btn-primary svg {
  width: 30px;
  height: 30px;
  padding: 7px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  stroke-width: 1.8;
  transition: background-color 320ms ease,
              border-color 320ms ease,
              color 320ms ease,
              transform 320ms ease;
}

/* Neutralize the old slide-right hover transform */
.marbio-btn-primary:hover svg,
.marbio-btn-primary:focus-visible svg {
  color: #1b2f5e;
  background: #ffffff;
  border-color: #ffffff;
  transform: rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .marbio-btn-primary svg { transition: none; }
}



/* =====================================================================
   PRODUCT CARDS — ARROW POINTS UP-RIGHT ON HOVER
   ===================================================================== */
body.home .marbio-product-card-link-icon svg {
  transition: transform 300ms cubic-bezier(.2,.8,.2,1);
}

body.home .marbio-product-card-link:hover .marbio-product-card-link-icon svg,
body.home .marbio-product-card-link:focus-visible .marbio-product-card-link-icon svg {
  transform: rotate(-45deg);
}


/* ================================
   TOP BAR ICONS — MATCH LINK TEXT COLOR (mask-image approach)
================================ */
.top-menu-list li a[href*="pharmacovigilance"]::before,
.top-menu-list li a[href*="information-medicale"]::before {
  background-image: none !important;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: background-color 180ms ease;
}

.top-menu-list li a[href*="pharmacovigilance"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 4 5v6c0 5 3.5 9 8 11 4.5-2 8-6 8-11V5l-8-3Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 4 5v6c0 5 3.5 9 8 11 4.5-2 8-6 8-11V5l-8-3Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}

.top-menu-list li a[href*="information-medicale"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cline x1='12' y1='11' x2='12' y2='16'/%3E%3Ccircle cx='12' cy='7.5' r='0.6' fill='%23000000' stroke='none'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cline x1='12' y1='11' x2='12' y2='16'/%3E%3Ccircle cx='12' cy='7.5' r='0.6' fill='%23000000' stroke='none'/%3E%3C/svg%3E");
}






/* =====================================================================
   NOTRE CAPACITÉ — LAB PIPELINE DASHBOARD (Light Theme) — CENTERED + JUSTIFIED TITLE
   ===================================================================== */
#marbio-capacite.mbc-section {
  position: relative;
  padding: 110px 0 120px;
  background: #f5f6f7;
  overflow: hidden;
}

/* faint lab-grid texture, feathered at the edges */
#marbio-capacite .mbc-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(42, 181, 160, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 181, 160, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 60% 20%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 65% at 60% 20%, #000 0%, transparent 72%);
}

#marbio-capacite .mbc-container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

#marbio-capacite .mbc-header {
  max-width: 700px;
  margin: 0 auto 64px;
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 0.84, 0.2, 1), transform 0.8s cubic-bezier(0.16, 0.84, 0.2, 1);
}
#marbio-capacite .mbc-header.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#marbio-capacite .mbc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #2ab5a0;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
#marbio-capacite .mbc-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: #2ab5a0;
  transition: width 0.6s cubic-bezier(0.16, 0.84, 0.2, 1);
}
#marbio-capacite .mbc-eyebrow.is-visible::before {
  width: 40px;
}
#marbio-capacite .mbc-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ab5a0;
  box-shadow: 0 0 0 0 rgba(42, 181, 160, 0.5);
  animation: mbc-pulse-ring 2.2s ease-out infinite;
}
@keyframes mbc-pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(42, 181, 160, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(42, 181, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(42, 181, 160, 0); }
}

/* ---- CENTERED + JUSTIFIED HEADING ---- */
#marbio-capacite .mbc-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #1b2f5e;
  margin: 0 auto;
  text-align: center !important;
}

/* ---- pipeline row ---- */
#marbio-capacite .mbc-pipeline {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 1.1fr 1.4fr;
  gap: 28px;
  padding-top: 6px;
}

/* connecting rail */
#marbio-capacite .mbc-rail {
  position: absolute;
  top: 74px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(42, 181, 160, 0) 0%, rgba(42, 181, 160, 0.35) 8%, rgba(42, 181, 160, 0.35) 92%, rgba(42, 181, 160, 0) 100%);
  z-index: 0;
  opacity: 0;
  transition: opacity 1s ease 0.4s;
}
#marbio-capacite .mbc-rail.is-visible {
  opacity: 1;
}

/* ---- card ---- */
#marbio-capacite .mbc-readout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 32px 36px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
  border: 1px solid rgba(27, 47, 94, 0.08);
  border-radius: 20px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.7s cubic-bezier(0.16, 0.84, 0.2, 1),
              transform 0.7s cubic-bezier(0.16, 0.84, 0.2, 1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
  cursor: pointer;
}
#marbio-capacite.is-visible .mbc-readout {
  opacity: 1;
  transform: translateY(0) scale(1);
}
#marbio-capacite .mbc-readout:nth-child(3) { transition-delay: 60ms; }
#marbio-capacite .mbc-readout:nth-child(4) { transition-delay: 140ms; }
#marbio-capacite .mbc-readout:nth-child(5) { transition-delay: 220ms; }
#marbio-capacite .mbc-readout:nth-child(6) { transition-delay: 300ms; }

#marbio-capacite .mbc-readout:hover {
  border-color: rgba(42, 181, 160, 0.45);
  box-shadow: 0 24px 60px rgba(27, 47, 94, 0.12);
  transform: translateY(-6px);
}

/* node dot */
#marbio-capacite .mbc-node {
  position: absolute;
  top: -38px;
  left: 32px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #2ab5a0;
  box-shadow: 0 0 0 4px rgba(42, 181, 160, 0.12);
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#marbio-capacite .mbc-readout:hover .mbc-node {
  transform: scale(1.3);
  box-shadow: 0 0 0 8px rgba(42, 181, 160, 0.18);
}

/* ---- icon system ---- */
#marbio-capacite .mbc-tag {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
}
#marbio-capacite .mbc-blob {
  position: absolute;
  inset: 0;
  border-radius: 40% 60% 55% 45% / 45% 55% 60% 40%;
  background: linear-gradient(150deg, rgba(42, 181, 160, 0.12), rgba(27, 47, 94, 0.06));
  border: 1px solid rgba(42, 181, 160, 0.18);
  transition: border-radius 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
              background 0.4s ease,
              border-color 0.4s ease;
}
#marbio-capacite .mbc-readout:hover .mbc-blob {
  border-radius: 55% 45% 40% 60% / 60% 40% 45% 55%;
  transform: rotate(12deg) scale(1.06);
  background: linear-gradient(150deg, rgba(42, 181, 160, 0.22), rgba(27, 47, 94, 0.1));
  border-color: rgba(42, 181, 160, 0.4);
}
#marbio-capacite .mbc-tag svg {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #1b2f5e;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
              stroke 0.3s ease,
              stroke-width 0.3s ease;
}
#marbio-capacite .mbc-readout:hover .mbc-tag svg {
  transform: scale(1.12) rotate(-6deg);
  stroke: #2ab5a0;
  stroke-width: 2;
}

/* ---- CARD 1: CELL CULTURE DIVISION ---- */
#marbio-capacite .mbc-readout--cells .mbc-cells {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.5s ease;
}
#marbio-capacite .mbc-readout--cells:hover .mbc-cells { opacity: 1; }
#marbio-capacite .mbc-cell {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 181, 160, 0.15) 0%, transparent 70%);
  border: 1px solid rgba(42, 181, 160, 0.2);
}
#marbio-capacite .mbc-readout--cells:hover .mbc-cell:nth-child(1) { animation: mbc-divide1 2.5s ease-in-out infinite; }
#marbio-capacite .mbc-readout--cells:hover .mbc-cell:nth-child(2) { animation: mbc-divide2 2.5s ease-in-out infinite 0.4s; }
#marbio-capacite .mbc-readout--cells:hover .mbc-cell:nth-child(3) { animation: mbc-divide3 2.5s ease-in-out infinite 0.8s; }
#marbio-capacite .mbc-readout--cells:hover .mbc-cell:nth-child(4) { animation: mbc-divide4 2.5s ease-in-out infinite 1.2s; }
#marbio-capacite .mbc-readout--cells:hover .mbc-cell:nth-child(5) { animation: mbc-divide5 2.5s ease-in-out infinite 1.6s; }

@keyframes mbc-divide1 {
  0%, 100% { transform: scale(0.6) translate(0, 0); opacity: 0; }
  20% { opacity: 1; }
  50% { transform: scale(1) translate(15px, -10px); opacity: 0.7; }
  80% { opacity: 0.3; }
}
@keyframes mbc-divide2 {
  0%, 100% { transform: scale(0.5) translate(0, 0); opacity: 0; }
  20% { opacity: 1; }
  50% { transform: scale(0.9) translate(-12px, 8px); opacity: 0.6; }
  80% { opacity: 0.2; }
}
@keyframes mbc-divide3 {
  0%, 100% { transform: scale(0.4) translate(0, 0); opacity: 0; }
  20% { opacity: 1; }
  50% { transform: scale(0.8) translate(8px, 12px); opacity: 0.5; }
  80% { opacity: 0.2; }
}
@keyframes mbc-divide4 {
  0%, 100% { transform: scale(0.7) translate(0, 0); opacity: 0; }
  20% { opacity: 1; }
  50% { transform: scale(1.1) translate(-8px, -6px); opacity: 0.6; }
  80% { opacity: 0.2; }
}
@keyframes mbc-divide5 {
  0%, 100% { transform: scale(0.5) translate(0, 0); opacity: 0; }
  20% { opacity: 1; }
  50% { transform: scale(0.9) translate(10px, 6px); opacity: 0.5; }
  80% { opacity: 0.2; }
}

/* ---- CARD 2: ASEPTIC FLOW ---- */
#marbio-capacite .mbc-readout--flow .mbc-flow-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.5s ease;
}
#marbio-capacite .mbc-readout--flow:hover .mbc-flow-lines { opacity: 1; }
#marbio-capacite .mbc-flow-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(42, 181, 160, 0.4), transparent);
  border-radius: 1px;
  opacity: 0;
}
#marbio-capacite .mbc-readout--flow:hover .mbc-flow-line:nth-child(1) { animation: mbc-flow1 2s ease-in-out infinite; width: 60%; top: 30%; left: -10%; }
#marbio-capacite .mbc-readout--flow:hover .mbc-flow-line:nth-child(2) { animation: mbc-flow2 2.3s ease-in-out infinite 0.3s; width: 50%; top: 50%; left: 20%; }
#marbio-capacite .mbc-readout--flow:hover .mbc-flow-line:nth-child(3) { animation: mbc-flow3 1.8s ease-in-out infinite 0.6s; width: 70%; top: 70%; left: -5%; }
#marbio-capacite .mbc-readout--flow:hover .mbc-flow-line:nth-child(4) { animation: mbc-flow4 2.5s ease-in-out infinite 0.9s; width: 45%; top: 40%; left: 40%; }

@keyframes mbc-flow1 {
  0% { transform: translateX(-100%); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 0.6; }
  100% { transform: translateX(200%); opacity: 0; }
}
@keyframes mbc-flow2 {
  0% { transform: translateX(-100%); opacity: 0; }
  20% { opacity: 0.8; }
  80% { opacity: 0.4; }
  100% { transform: translateX(250%); opacity: 0; }
}
@keyframes mbc-flow3 {
  0% { transform: translateX(-100%); opacity: 0; }
  20% { opacity: 0.7; }
  80% { opacity: 0.3; }
  100% { transform: translateX(180%); opacity: 0; }
}
@keyframes mbc-flow4 {
  0% { transform: translateX(-100%); opacity: 0; }
  20% { opacity: 0.9; }
  80% { opacity: 0.5; }
  100% { transform: translateX(220%); opacity: 0; }
}

/* ---- CARD 3: SHIELD PROTECTION ---- */
#marbio-capacite .mbc-readout--shield .mbc-shield-ripple {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.5s ease;
}
#marbio-capacite .mbc-readout--shield:hover .mbc-shield-ripple { opacity: 1; }
#marbio-capacite .mbc-shield-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid rgba(42, 181, 160, 0.3);
  opacity: 0;
}
#marbio-capacite .mbc-readout--shield:hover .mbc-shield-ring:nth-child(1) { animation: mbc-shield1 2.5s ease-out infinite; width: 40px; height: 40px; }
#marbio-capacite .mbc-readout--shield:hover .mbc-shield-ring:nth-child(2) { animation: mbc-shield2 2.5s ease-out infinite 0.5s; width: 70px; height: 70px; }
#marbio-capacite .mbc-readout--shield:hover .mbc-shield-ring:nth-child(3) { animation: mbc-shield3 2.5s ease-out infinite 1s; width: 100px; height: 100px; }

@keyframes mbc-shield1 {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.8; border-color: rgba(42, 181, 160, 0.5); }
  100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; border-color: rgba(42, 181, 160, 0); }
}
@keyframes mbc-shield2 {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.6; border-color: rgba(42, 181, 160, 0.4); }
  100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; border-color: rgba(42, 181, 160, 0); }
}
@keyframes mbc-shield3 {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.4; border-color: rgba(42, 181, 160, 0.3); }
  100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; border-color: rgba(42, 181, 160, 0); }
}

/* ---- CARD 4: BUBBLING FORMULATION ---- */
#marbio-capacite .mbc-readout--bubble .mbc-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.5s ease;
}
#marbio-capacite .mbc-readout--bubble:hover .mbc-bubbles { opacity: 1; }
#marbio-capacite .mbc-bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(42, 181, 160, 0.25), rgba(42, 181, 160, 0.05));
  border: 1px solid rgba(42, 181, 160, 0.2);
}
#marbio-capacite .mbc-readout--bubble:hover .mbc-bubble:nth-child(1) { animation: mbc-bubble1 2.8s ease-in-out infinite; width: 8px; height: 8px; left: 20%; bottom: 10%; }
#marbio-capacite .mbc-readout--bubble:hover .mbc-bubble:nth-child(2) { animation: mbc-bubble2 3.2s ease-in-out infinite 0.4s; width: 12px; height: 12px; left: 45%; bottom: 5%; }
#marbio-capacite .mbc-readout--bubble:hover .mbc-bubble:nth-child(3) { animation: mbc-bubble3 2.5s ease-in-out infinite 0.8s; width: 6px; height: 6px; left: 70%; bottom: 15%; }
#marbio-capacite .mbc-readout--bubble:hover .mbc-bubble:nth-child(4) { animation: mbc-bubble4 3s ease-in-out infinite 1.2s; width: 10px; height: 10px; left: 35%; bottom: 8%; }
#marbio-capacite .mbc-readout--bubble:hover .mbc-bubble:nth-child(5) { animation: mbc-bubble5 2.7s ease-in-out infinite 1.6s; width: 7px; height: 7px; left: 60%; bottom: 12%; }
#marbio-capacite .mbc-readout--bubble:hover .mbc-bubble:nth-child(6) { animation: mbc-bubble6 3.5s ease-in-out infinite 0.2s; width: 5px; height: 5px; left: 80%; bottom: 8%; }

@keyframes mbc-bubble1 {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 0.8; }
  50% { transform: translateY(-120px) scale(1.2); opacity: 0.4; }
  90% { opacity: 0.1; }
  100% { transform: translateY(-160px) scale(0.6); opacity: 0; }
}
@keyframes mbc-bubble2 {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 0.7; }
  50% { transform: translateY(-140px) scale(1.3); opacity: 0.3; }
  90% { opacity: 0.1; }
  100% { transform: translateY(-180px) scale(0.5); opacity: 0; }
}
@keyframes mbc-bubble3 {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 0.9; }
  50% { transform: translateY(-100px) scale(1.1); opacity: 0.5; }
  90% { opacity: 0.1; }
  100% { transform: translateY(-140px) scale(0.7); opacity: 0; }
}
@keyframes mbc-bubble4 {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 0.6; }
  50% { transform: translateY(-130px) scale(1.2); opacity: 0.3; }
  90% { opacity: 0.1; }
  100% { transform: translateY(-170px) scale(0.6); opacity: 0; }
}
@keyframes mbc-bubble5 {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 0.8; }
  50% { transform: translateY(-110px) scale(1.15); opacity: 0.4; }
  90% { opacity: 0.1; }
  100% { transform: translateY(-150px) scale(0.6); opacity: 0; }
}
@keyframes mbc-bubble6 {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 0.5; }
  50% { transform: translateY(-90px) scale(1.1); opacity: 0.3; }
  90% { opacity: 0.1; }
  100% { transform: translateY(-120px) scale(0.7); opacity: 0; }
}

/* ---- value display ---- */
#marbio-capacite .mbc-count,
#marbio-capacite .mbc-suffix,
#marbio-capacite .mbc-unit,
#marbio-capacite .mbc-dash {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #1b2f5e;
  font-variant-numeric: tabular-nums;
}
#marbio-capacite .mbc-readout--hero .mbc-count {
  font-size: clamp(52px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.04em;
}
#marbio-capacite .mbc-readout--hero .mbc-suffix {
  font-size: clamp(24px, 2.2vw, 32px);
  color: #2ab5a0;
}
#marbio-capacite .mbc-readout--b .mbc-count,
#marbio-capacite .mbc-readout--c .mbc-count {
  font-size: clamp(42px, 3.8vw, 58px);
  line-height: 1;
  letter-spacing: -0.04em;
}
#marbio-capacite .mbc-readout--range .mbc-count,
#marbio-capacite .mbc-readout--range .mbc-unit,
#marbio-capacite .mbc-readout--range .mbc-dash {
  font-size: clamp(32px, 2.8vw, 48px);
  line-height: 1;
}
#marbio-capacite .mbc-readout--range .mbc-dash {
  color: rgba(27, 47, 94, 0.25);
  margin: 0 3px;
}
#marbio-capacite .mbc-readout--range .mbc-unit {
  color: #2ab5a0;
  font-size: clamp(18px, 1.6vw, 26px);
}
#marbio-capacite .mbc-label {
  display: block;
  margin-top: 12px;
  color: rgba(27, 47, 94, 0.65);
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

/* mini trend line */
#marbio-capacite .mbc-spark {
  width: 100%;
  max-width: 150px;
  height: 24px;
  margin-top: 18px;
  opacity: 0.85;
}
#marbio-capacite .mbc-spark svg {
  width: 100%;
  height: 100%;
}
#marbio-capacite .mbc-spark polyline {
  fill: none;
  stroke: #1b2f5e;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 2s ease 0.5s, stroke 0.3s ease;
}
#marbio-capacite .mbc-spark.is-visible polyline {
  stroke-dashoffset: 0;
}
#marbio-capacite .mbc-readout:hover .mbc-spark polyline {
  stroke: #2ab5a0;
  stroke-width: 2;
}
#marbio-capacite .mbc-spark circle {
  fill: #ffffff;
  stroke: #1b2f5e;
  stroke-width: 1.5;
  opacity: 0;
  transition: opacity 0.3s ease, stroke 0.3s ease;
}
#marbio-capacite .mbc-spark.is-visible circle {
  opacity: 1;
}
#marbio-capacite .mbc-readout:hover .mbc-spark circle {
  stroke: #2ab5a0;
}

/* mini range bar */
#marbio-capacite .mbc-rangebar {
  position: relative;
  width: 100%;
  max-width: 140px;
  height: 3px;
  background: rgba(27, 47, 94, 0.08);
  margin-top: 18px;
  border-radius: 2px;
  overflow: hidden;
}
#marbio-capacite .mbc-rangebar span {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2ab5a0, #1b2f5e);
  border-radius: 2px;
  transition: width 1.2s cubic-bezier(0.16, 0.84, 0.2, 1) 0.5s;
}
#marbio-capacite.is-visible .mbc-rangebar span {
  width: 100%;
}

/* ---- responsive ---- */
@media (max-width: 991px) {
  #marbio-capacite .mbc-container {
    padding: 0 40px;
  }
  #marbio-capacite .mbc-pipeline {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  #marbio-capacite .mbc-rail {
    display: none;
  }
  #marbio-capacite .mbc-node {
    display: none;
  }
  #marbio-capacite .mbc-heading {
    text-align: center !important;
  }
}

@media (max-width: 768px) {
  #marbio-capacite.mbc-section {
    padding: 60px 0 70px;
  }
  #marbio-capacite .mbc-container {
    padding: 0 20px;
  }
  #marbio-capacite .mbc-header {
    margin-bottom: 40px;
  }
  #marbio-capacite .mbc-pipeline {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  #marbio-capacite .mbc-readout {
    padding: 28px 24px;
  }
  #marbio-capacite .mbc-readout--hero .mbc-count {
    font-size: clamp(48px, 14vw, 64px);
  }
  #marbio-capacite .mbc-readout--b .mbc-count,
  #marbio-capacite .mbc-readout--c .mbc-count {
    font-size: clamp(42px, 12vw, 56px);
  }
  #marbio-capacite .mbc-heading {
    text-align: center !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #marbio-capacite .mbc-header,
  #marbio-capacite .mbc-readout,
  #marbio-capacite .mbc-rangebar span,
  #marbio-capacite .mbc-pulse-dot,
  #marbio-capacite .mbc-cell,
  #marbio-capacite .mbc-flow-line,
  #marbio-capacite .mbc-shield-ring,
  #marbio-capacite .mbc-bubble {
    transition: none !important;
    animation: none !important;
  }
  #marbio-capacite .mbc-header,
  #marbio-capacite .mbc-readout {
    opacity: 1 !important;
    transform: none !important;
  }
}










/* Vision column — wider, since there's clearly room before the photo */
body.home .marbio-vision-wrap > div:first-child {
  width: 52% !important;
  max-width: 620px !important;
}

/* Vision title — widened cap so it settles into 3 lines, left-aligned */
body.home .marbio-vision-title {
  max-width: 36ch !important;
  text-align: left !important;
  text-align-last: left !important;
  text-wrap: balance;
}

/* Vision paragraph — left-aligned, roomier now the column is wider */
body.home #marbio-vision p {
  max-width: 540px !important;
  text-align: left !important;
  text-align-last: left !important;
}

@media (max-width: 768px) {
  body.home .marbio-vision-wrap > div:first-child {
    width: 100% !important;
    max-width: none !important;
  }
  body.home .marbio-vision-title,
  body.home #marbio-vision p {
    max-width: none !important;
  }
}


/* Vision paragraph — justified, left-aligned last line, stays clear of the photo */
body.home #marbio-vision p {
  max-width: 540px !important;
  text-align: justify !important;
  text-align-last: left !important;
  text-justify: inter-word !important;
}




/* ================================
   HERO — TWO-VIDEO SLIDER
================================ */
.hero-slider .hero-slide-video {
  opacity: 0;
  z-index: -2;
  transition: opacity 1.4s ease-in-out;
}
.hero-slider .hero-slide-video.is-active {
  opacity: 1;
  z-index: -1;
}

.hero-slider-nav {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 4;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}
.hero-slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 220ms ease, transform 220ms ease, border-color 220ms ease;
}
.hero-slider-dot.is-active {
  background: #2ab5a0;
  border-color: #2ab5a0;
  transform: scale(1.25);
}
.hero-slider-dot:hover,
.hero-slider-dot:focus-visible {
  background: #ffffff;
  outline: none;
}

@media (max-width: 768px) {
  .hero-slider-nav { bottom: 18px; gap: 8px; }
  .hero-slider-dot { width: 8px; height: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider .hero-slide-video { transition: none; }
}

/* ================================
   HERO — STATIC IMAGE ON SMALL SCREENS
   Below this breakpoint, skip the video slider entirely:
   show a fixed background image with a black tint instead.
================================ */
@media (max-width: 768px) {
  .hero-slider {
    background-image: url('https://marbio.com/wp-content/uploads/2026/04/istockphoto-2185825088-2048x20483x-scaled-e1787831821935.png?v=3') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }

  /* Hide the videos and the slide-navigation dots entirely on mobile */
  .hero-slider .hero-slide-video,
  .hero-slider .hero-slider-nav {
    display: none !important;
  }

  /* Darken the static image */
  .hero-slider .hero-overlay {
    background: rgba(0, 0, 0, 0.5) !important;
  }
}



/* ================================
   MAIN NAVBAR — INCREASE TOP/BOTTOM PADDING
================================ */
.marbio-navbar {
  padding-top: 26px !important;
  padding-bottom: 26px !important;
}

.marbio-navbar .container {
  min-height: 64px !important;
}

@media (max-width: 991px) {
  .marbio-navbar {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }
  .marbio-navbar .container {
    min-height: 50px !important;
  }
}

/* ================================
   TOP BAR — GREEN ICON, BLUE TEXT
================================ */
.top-menu-list li a[href*="pharmacovigilance"]::before,
.top-menu-list li a[href*="information-medicale"]::before {
  background-color: #2ab5a0 !important;
}

.top-menu-list li a[href*="pharmacovigilance"],
.top-menu-list li a[href*="information-medicale"] {
  color: #1b2f5e !important;
}

/* ================================
   TOP BAR — TEXT MATCHES ICON COLOR ON HOVER
================================ */
.top-menu-list li a[href*="pharmacovigilance"]:hover,
.top-menu-list li a[href*="information-medicale"]:hover,
.top-menu-list li a[href*="pharmacovigilance"]:focus-visible,
.top-menu-list li a[href*="information-medicale"]:focus-visible {
  color: #2ab5a0 !important;
}




/* ============================================
   HERO — REMOVE DARK PANEL BEHIND TEXT
   ============================================ */

/* 1. Kill the semi-transparent gradient background on the text block */
body.home .marbio-hero-copy {
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  border-left: 3px solid #2ab5a0;   /* keep the green accent line, or set to 0 if you want nothing */
}

/* 2. Remove the animated glow blobs behind the text */
body.home .marbio-hero-copy::before,
body.home .marbio-hero-copy::after {
  display: none !important;
}

/* 3. (Optional) Add a subtle text-shadow so white text stays readable 
   on the video/image without the dark panel */
body.home .hero-content h1,
body.home .marbio-hero-eyebrow,
body.home .marbio-hero-signature {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}




/* =====================================================================
   EACH PRODUCT CARD — OWN COLOR FROM THE REFERENCE SWATCHES
   Card 1: dark indigo · Card 2: mid blue · Card 3: lighter blue
   Same color drives both the border and the overlay background.
   ===================================================================== */
/* Card 1 — PRODUCTION */
body.home .marbio-product-card:nth-child(1) {
  border-color: #3868ab !important;
}
body.home .marbio-product-card:nth-child(1) .marbio-product-card-overlay {
  background: #3868ab !important;
}
body.home .marbio-product-card:nth-child(1) .marbio-product-card-overlay::before {
  background: #ffffff;
}

/* Card 2 — QUALITÉ */
body.home .marbio-product-card:nth-child(2) {
  border-color: #1b1a6b !important;
}
body.home .marbio-product-card:nth-child(2) .marbio-product-card-overlay {
  background: #1b1a6b !important;
}
body.home .marbio-product-card:nth-child(2) .marbio-product-card-overlay::before {
  background: #ffffff;
}

/* Card 3 — TECHNOLOGIES */
body.home .marbio-product-card:nth-child(3) {
  border-color: #100f45 !important;
}
body.home .marbio-product-card:nth-child(3) .marbio-product-card-overlay {
  background: #100f45 !important;
}
body.home .marbio-product-card:nth-child(3) .marbio-product-card-overlay::before {
  background: #ffffff;
}


/* Keep the border a clean solid line (overrides the earlier teal/gradient border) */
body.home .marbio-product-card {
  border-width: 2px;
  border-style: solid;
  border-image: none;
}





/* 1. Desktop */
section.single-hero {
	height: 720px;  
	...
}



/* =====================================================================
   HERO — FIRST CTA ("Découvrir Marbio")
   ===================================================================== */
body.home .hero-content .marbio-hero-actions > a:first-child.marbio-btn-primary {
  background: #1b2f5e !important;
  border-color: #1b2f5e !important;
  color: #ffffff !important;
}

body.home .hero-content .marbio-hero-actions > a:first-child.marbio-btn-primary::before {
  background: #1b2f5e !important;
}

body.home .hero-content .marbio-hero-actions > a:first-child.marbio-btn-primary:hover,
body.home .hero-content .marbio-hero-actions > a:first-child.marbio-btn-primary:focus-visible {
  background: #1b2f5e !important;
  border-color: #1b2f5e !important;
  color: #ffffff !important;
}



/* ================================
   LEGAL PAGE TEMPLATE — FULL WIDTH, NO SIDEBAR
================================ */
.legal-page-section {
	padding: 0;
	background: #ffffff;
}
.legal-page-inner {
	max-width: 900px;
	margin: 0 auto;
	padding: 0;
}

/* ================================
   CGU / LEGAL CONTENT STYLING
================================ */
.cgu-wrap {
  font-family: 'Poppins', sans-serif;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px 80px;
  color: #333333;
}
.cgu-header { text-align: center; margin-bottom: 50px; }
.cgu-header .cgu-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  color: #2ab5a0; text-transform: uppercase; margin-bottom: 16px;
}
.cgu-header .cgu-eyebrow::before,
.cgu-header .cgu-eyebrow::after { content: ''; width: 28px; height: 2px; background: #2ab5a0; }
.cgu-header h1 {
  font-family: 'Bebas Neue Pro', sans-serif; font-weight: 700; font-size: 42px;
  color: #1b2f5e; margin: 0 0 18px 0; line-height: 1.2;
}
.cgu-header p { font-size: 15px; line-height: 1.8; color: #666; max-width: 620px; margin: 0 auto; }
.cgu-section {
  background: #ffffff; border: 1px solid #e7ecf3; border-radius: 14px;
  box-shadow: 0 2px 8px rgba(14, 28, 74, 0.05); padding: 30px 34px; margin-bottom: 20px;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.cgu-section:hover { box-shadow: 0 10px 24px rgba(14, 28, 74, 0.1); transform: translateY(-2px); border-color: #d5dee9; }
.cgu-section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.cgu-section-num {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #1b2f5e, #2ab5a0); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700;
}
.cgu-section-head h2 { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 600; color: #1b2f5e; margin: 0; line-height: 1.3; }
.cgu-section p { font-size: 15px; line-height: 1.75; color: #444; margin: 0 0 10px 0; }
.cgu-section p:last-child { margin-bottom: 0; }
.cgu-contact-box { background: #f5f6f7; border-radius: 10px; padding: 18px 22px; margin-top: 14px; }
.cgu-contact-box div { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #1b2f5e; margin-bottom: 8px; }
.cgu-contact-box div:last-child { margin-bottom: 0; }
.cgu-contact-box svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: #2ab5a0; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cgu-contact-box a { color: #1b2f5e; text-decoration: none; font-weight: 600; }
.cgu-contact-box a:hover { color: #2ab5a0; text-decoration: underline; }

@media (max-width: 768px) {
  .cgu-wrap { padding: 40px 16px 60px; }
  .cgu-header h1 { font-size: 30px; }
  .cgu-header p { font-size: 14px; }
  .cgu-section { padding: 22px 20px; }
  .cgu-section-head h2 { font-size: 16px; }
  .cgu-section p, .cgu-contact-box div { font-size: 14px; }
}





/* ============================================
   UNIVERSAL BUTTON OVERRIDE — NAVY OUTLINE
   ============================================ */

/* 1. Base: every button becomes transparent + navy border + navy text */
body :is(
  .marbio-btn-primary,
  .marbio-hero-btn,
  .single-back-btn,
  .car-cta-btn,
  .nf-btn,
  .pv-btn,
  .info-btn,
  .pv-modal-submit,
  .marbio-btn-navy,
  .marbio-btn-white,
  .marbio-home-cta,
  .btn-outline,
  .btn-outline-dark,
  .btn-white,
  .marbio-product-card-arrow
),
body.home .marbio-hero-btn,
body.home #marbio-produits .marbio-home-cta--light {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 12px 28px !important;
  min-height: 46px !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  text-align: center !important;
  color: #1b2f5e !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 2px solid #1b2f5e !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease !important;
  cursor: pointer !important;
  overflow: visible !important;
}

/* 2. Kill all old decorative pseudo-elements (teal slides, circles, etc.) */
body :is(
  .marbio-btn-primary,
  .marbio-hero-btn,
  .single-back-btn,
  .car-cta-btn,
  .nf-btn,
  .pv-btn,
  .info-btn,
  .pv-modal-submit,
  .marbio-btn-navy,
  .marbio-btn-white,
  .marbio-home-cta,
  .btn-outline,
  .btn-outline-dark,
  .btn-white,
  .marbio-product-card-arrow
)::before,
body :is(
  .marbio-btn-primary,
  .marbio-hero-btn,
  .single-back-btn,
  .car-cta-btn,
  .nf-btn,
  .pv-btn,
  .info-btn,
  .pv-modal-submit,
  .marbio-btn-navy,
  .marbio-btn-white,
  .marbio-home-cta,
  .btn-outline,
  .btn-outline-dark,
  .btn-white,
  .marbio-product-card-arrow
)::after {
  display: none !important;
  content: none !important;
  background: none !important;
  transform: none !important;
  opacity: 0 !important;
}

/* 3. Hover / focus — fill navy, text white */
body :is(
  .marbio-btn-primary,
  .marbio-hero-btn,
  .single-back-btn,
  .car-cta-btn,
  .nf-btn,
  .pv-btn,
  .info-btn,
  .pv-modal-submit,
  .marbio-btn-navy,
  .marbio-btn-white,
  .marbio-home-cta,
  .btn-outline,
  .btn-outline-dark,
  .btn-white,
  .marbio-product-card-arrow
):hover,
body :is(
  .marbio-btn-primary,
  .marbio-hero-btn,
  .single-back-btn,
  .car-cta-btn,
  .nf-btn,
  .pv-btn,
  .info-btn,
  .pv-modal-submit,
  .marbio-btn-navy,
  .marbio-btn-white,
  .marbio-home-cta,
  .btn-outline,
  .btn-outline-dark,
  .btn-white,
  .marbio-product-card-arrow
):focus-visible {
  color: #ffffff !important;
  background-color: #1b2f5e !important;
  background-image: none !important;
  border-color: #1b2f5e !important;
  box-shadow: none !important;
  transform: none !important;
  outline: none !important;
}

/* 4. Buttons on dark backgrounds (products, hero, careers) — white outline so they stay visible */
body.home .hero-content .marbio-hero-btn,
body.home #marbio-produits .marbio-home-cta--light,
body.home .marbio-product-card-arrow,
body.home #marbio-carrieres .marbio-btn-primary {
  color: #ffffff !important;
  background-color: transparent !important;
  border-color: #ffffff !important;
}

/* 5. Dark-background buttons hover — fill white, text navy */
body.home .hero-content .marbio-hero-btn:hover,
body.home #marbio-produits .marbio-home-cta--light:hover,
body.home .marbio-product-card-arrow:hover,
body.home #marbio-carrieres .marbio-btn-primary:hover,
body.home .hero-content .marbio-hero-btn:focus-visible,
body.home #marbio-produits .marbio-home-cta--light:focus-visible,
body.home .marbio-product-card-arrow:focus-visible,
body.home #marbio-carrieres .marbio-btn-primary:focus-visible {
  color: #1b2f5e !important;
  background-color: #ffffff !important;
  border-color: #ffffff !important;
}

/* 6. Neutralise arrow icons inside buttons */
body :is(
  .marbio-btn-primary,
  .marbio-hero-btn,
  .single-back-btn,
  .car-cta-btn,
  .nf-btn,
  .pv-btn,
  .info-btn,
  .pv-modal-submit,
  .marbio-btn-navy,
  .marbio-btn-white,
  .marbio-home-cta,
  .btn-outline,
  .btn-outline-dark,
  .btn-white,
  .marbio-product-card-arrow
) svg {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  width: 16px !important;
  height: 16px !important;
  transform: none !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* 7. Mobile sizing */
@media (max-width: 768px) {
  body :is(
    .marbio-btn-primary,
    .marbio-hero-btn,
    .single-back-btn,
    .car-cta-btn,
    .nf-btn,
    .pv-btn,
    .info-btn,
    .pv-modal-submit,
    .marbio-btn-navy,
    .marbio-btn-white,
    .marbio-home-cta,
    .btn-outline,
    .btn-outline-dark,
    .btn-white,
    .marbio-product-card-arrow
  ) {
    padding: 12px 24px !important;
    font-size: 10px !important;
  }
}
/* ============================================
   REMOVE ALL ICONS INSIDE BUTTONS
   ============================================ */

body :is(
  .marbio-btn-primary,
  .marbio-hero-btn,
  .single-back-btn,
  .car-cta-btn,
  .nf-btn,
  .pv-btn,
  .info-btn,
  .pv-modal-submit,
  .marbio-btn-navy,
  .marbio-btn-white,
  .marbio-home-cta,
  .btn-outline,
  .btn-outline-dark,
  .btn-white,
  .marbio-product-card-arrow,
  .marbio-product-card-link
) svg,
body :is(
  .marbio-btn-primary,
  .marbio-hero-btn,
  .single-back-btn,
  .car-cta-btn,
  .nf-btn,
  .pv-btn,
  .info-btn,
  .pv-modal-submit,
  .marbio-btn-navy,
  .marbio-btn-white,
  .marbio-home-cta,
  .btn-outline,
  .btn-outline-dark,
  .btn-white,
  .marbio-product-card-arrow,
  .marbio-product-card-link
) i {
  display: none !important;
}











 /* === SUPPRESSION LIGNE VERTICALE DÉCORATIVE === */
  .marbio-hero-grid,
  .hero-section > .marbio-hero-grid,
  .hero-section::before,
  .hero-content::before,
  .marbio-hero-copy::before,
  .marbio-hero-copy::after {
    display: none !important;
    content: none !important;
    border: none !important;
  }
  .marbio-hero-copy {
    border-left: none !important;
  }

  /* === STYLE FORCÉ DES BOUTONS HERO === */
  .marbio-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
  }

  .marbio-hero-actions .marbio-btn-primary,
  .marbio-hero-actions .marbio-btn-primary--outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: 'Lato', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid #1b2f5e;
    border-radius: 0;
    color: #1b2f5e;
    background-color: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  /* Hover : fond bleu, texte blanc */
  .marbio-hero-actions .marbio-btn-primary:hover,
  .marbio-hero-actions .marbio-btn-primary--outline:hover {
    background-color: #1b2f5e;
    color: #ffffff;
  }

  /* Flèche SVG hérite de la couleur du texte */
  .marbio-hero-actions .marbio-btn-primary svg,
  .marbio-hero-actions .marbio-btn-primary--outline svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  .marbio-hero-actions .marbio-btn-primary svg path,
  .marbio-hero-actions .marbio-btn-primary--outline svg path {
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    transition: stroke 0.3s ease;
  }


/* ============================================
   HERO — STATIC IMAGE ONLY, NO VIDEO, NO CTAs
   ============================================ */

/* 1. Kill any residual video element */
.hero-bg-video,
.hero-slider .hero-slide-video,
.hero-slide-video {
  display: none !important;
}

/* 2. Force the background image to fill the hero */
body.home .hero-section,
.hero-section {
  background-image: url('https://marbio.com/wp-content/uploads/2026/04/istockphoto-2185825088-2048x20483x-scaled-e1787831821935.png?v=3') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* 3. Ensure the hero buttons stay gone */
.marbio-hero-actions,
.hero-content .marbio-hero-actions {
  display: none !important;
}
/* ============================================
   HERO — SHOW FULL FACE (ANCHOR RIGHT)
   ============================================ */

body.home .hero-section,
.hero-section {
  /* Anchor the background to the right side where the face is */
  background-position: right center !important;
  /* Ensure the image isn't artificially zoomed/cropped */
  background-size: cover !important;
}

/* On very wide screens, prevent the face from drifting out of view */
@media (min-width: 1600px) {
  body.home .hero-section,
  .hero-section {
    background-position: 85% center !important;
  }
}

/* On mobile, keep the face centered since the viewport is narrow */
@media (max-width: 768px) {
  body.home .hero-section,
  .hero-section {
    background-position: 65% center !important;
  }
}



/* ================================================================
   PRODUITS SECTION — EXACT MATCH TO REFERENCE IMAGE
   ================================================================ */

/* Section background */
body.home #marbio-produits {
  background-color: #1b2f5e !important;
  padding: 80px 0 100px !important;
}

/* Section title — clean, white, left-aligned */
body.home #marbio-produits > div:first-child {
  padding: 0 120px !important;
  margin-bottom: 48px !important;
}

body.home #marbio-produits h2 {
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(26px, 3vw, 36px) !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  text-align: left !important;
  max-width: 900px !important;
}

/* Cards grid */
body.home #marbio-produits > div[style*="grid"] {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 48px !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 120px !important;
}

/* Individual card — split layout */
body.home .marbio-product-card {
  display: grid !important;
  grid-template-rows: 60% 40% !important;
  height: 460px !important;
  overflow: hidden !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18) !important;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.5s ease !important;
  cursor: pointer !important;
}

body.home .marbio-product-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28) !important;
}

/* Card 1 — Production (lighter blue) */
body.home .marbio-product-card:nth-child(1) .marbio-product-card-overlay {
  background: #3868ab !important;
}

/* Card 2 — Qualité (mid blue) */
body.home .marbio-product-card:nth-child(2) .marbio-product-card-overlay {
  background: #1b1a6b !important;
}

/* Card 3 — Technologies (dark blue) */
body.home .marbio-product-card:nth-child(3) .marbio-product-card-overlay {
  background: #100f45 !important;
}

/* Image area */
body.home .marbio-product-card-media {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

body.home .marbio-product-card:hover .marbio-product-card-media {
  transform: scale(1.08) !important;
}

/* Bottom colored panel */
body.home .marbio-product-card-overlay {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding: 28px 32px 32px !important;
  border: none !important;
}

/* Remove decorative left line from earlier CSS */
body.home .marbio-product-card-overlay::before {
  display: none !important;
}

/* Card content stack */
body.home .marbio-product-card-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  height: 100% !important;
}

/* Kicker — "Expertise Marbio" with subtle left line */
body.home .marbio-product-card-kicker {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 10px !important;
  color: #8be0d0 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
}

body.home .marbio-product-card-kicker::before {
  content: '' !important;
  display: block !important;
  width: 2px !important;
  height: 18px !important;
  background: rgba(255, 255, 255, 0.45) !important;
  flex-shrink: 0 !important;
}

/* Title — large, white, uppercase */
body.home .marbio-product-card-title {
  display: block !important;
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(22px, 2vw, 30px) !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.1 !important;
  text-transform: uppercase !important;
  margin-bottom: 20px !important;
}

/* Découvrir link row */
body.home .marbio-product-card-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-top: auto !important;
  padding: 0 !important;
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 0 !important;
  transition: gap 0.3s ease !important;
}

body.home .marbio-product-card-link:hover {
  gap: 18px !important;
  color: #ffffff !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Teal arrow circle */
body.home .marbio-product-card-link-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  background: #8be0d0 !important;
  border-radius: 50% !important;
  color: #1b2f5e !important;
  flex-shrink: 0 !important;
  transition: transform 0.3s ease, background-color 0.3s ease !important;
}

body.home .marbio-product-card-link:hover .marbio-product-card-link-icon {
  transform: translateX(4px) !important;
  background: #ffffff !important;
}

/* Force SVG arrow to show inside the circle */
body.home .marbio-product-card-link-icon svg,
body.home .marbio-product-card-link svg {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  transform: none !important;
}

/* CTA Button — white outline, centered below cards */
body.home #marbio-produits > div:last-child {
  margin-top: 56px !important;
  text-align: center !important;
}

body.home #marbio-produits .marbio-home-cta--light {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 14px 32px !important;
  color: #ffffff !important;
  background: transparent !important;
  border: 2px solid #ffffff !important;
  border-radius: 0 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: all 0.3s ease !important;
  min-height: 0 !important;
}

body.home #marbio-produits .marbio-home-cta--light:hover {
  background: #ffffff !important;
  color: #1b2f5e !important;
  border-color: #ffffff !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Responsive */
@media (max-width: 991px) {
  body.home .marbio-product-card {
    height: 420px !important;
  }
  body.home #marbio-produits > div[style*="grid"] {
    gap: 24px !important;
    padding: 0 40px !important;
  }
  body.home #marbio-produits > div:first-child {
    padding: 0 40px !important;
  }
}

@media (max-width: 768px) {
  body.home #marbio-produits > div[style*="grid"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 0 20px !important;
  }
  body.home #marbio-produits > div:first-child {
    padding: 0 20px !important;
  }
  body.home .marbio-product-card {
    height: 400px !important;
  }
  body.home #marbio-produits h2 {
    font-size: 26px !important;
  }
}



/* ================================================================
   PRODUITS — REMOVE BOTTOM PANELS, IMAGE + TITLE ONLY
   ================================================================ */

/* Section background stays dark, but remove card-level colored panels */
body.home #marbio-produits {
  padding: 80px 0 100px !important;
}

/* Card = full-bleed image, no bottom bar */
body.home .marbio-product-card {
  display: block !important;
  position: relative !important;
  height: 420px !important;
  overflow: hidden !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

/* Image fills entire card */
body.home .marbio-product-card-media {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  z-index: 1 !important;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

/* Hover: zoom image */
body.home .marbio-product-card:hover .marbio-product-card-media {
  transform: scale(1.12) !important;
}

/* Overlay = transparent, full cover, title centered */
body.home .marbio-product-card-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

/* Kill decorative left line from earlier CSS */
body.home .marbio-product-card-overlay::before {
  display: none !important;
}

/* Content wrapper — center the title */
body.home .marbio-product-card-content {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}

/* Hide kicker & Découvrir link */
body.home .marbio-product-card-kicker,
body.home .marbio-product-card-link,
body.home .marbio-product-card-arrow {
  display: none !important;
}

/* Title — white, centered directly on image */
body.home .marbio-product-card-title {
  display: block !important;
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(22px, 2.2vw, 32px) !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  line-height: 1.1 !important;
  text-transform: uppercase !important;
  text-align: center !important;
  margin: 0 !important;
  padding: 0 20px !important;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55),
               0 4px 30px rgba(0,0,0,0.35) !important;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
              letter-spacing 0.5s ease !important;
}

/* Hover: zoom/pop the title slightly */
body.home .marbio-product-card:hover .marbio-product-card-title {
  transform: scale(1.06) !important;
  letter-spacing: 0.22em !important;
}

/* Subtle dark gradient so text stays readable over any photo */
body.home .marbio-product-card::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.2) 50%,
    rgba(0,0,0,0.45) 100%
  ) !important;
  pointer-events: none !important;
  transition: opacity 0.4s ease !important;
}

body.home .marbio-product-card:hover::after {
  opacity: 0.85 !important;
}

/* CTA below cards */
body.home #marbio-produits > div:last-child {
  margin-top: 50px !important;
  text-align: center !important;
}

/* Responsive */
@media (max-width: 768px) {
  body.home .marbio-product-card {
    height: 300px !important;
  }
  body.home .marbio-product-card-title {
    font-size: 22px !important;
    letter-spacing: 0.12em !important;
  }
}



/* ================================================================
   PRODUITS — KILL BACKGROUND COLORS, SHOW IMAGES
   ================================================================ */

/* Remove solid backgrounds from all card overlays */
body.home .marbio-product-card-overlay,
body.home .marbio-product-card:nth-child(1) .marbio-product-card-overlay,
body.home .marbio-product-card:nth-child(2) .marbio-product-card-overlay,
body.home .marbio-product-card:nth-child(3) .marbio-product-card-overlay {
  background: transparent !important;
  background-image: none !important;
}

/* Remove any background color from the card itself */
body.home .marbio-product-card,
body.home .marbio-product-card:nth-child(1),
body.home .marbio-product-card:nth-child(2),
body.home .marbio-product-card:nth-child(3) {
  background: transparent !important;
  border-color: transparent !important;
}

/* Keep image full-bleed and on top */
body.home .marbio-product-card-media {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
}

/* Keep the subtle dark scrim for text readability */
body.home .marbio-product-card::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.1) 0%,
    rgba(0,0,0,0.25) 50%,
    rgba(0,0,0,0.5) 100%
  ) !important;
  pointer-events: none !important;
}

/* Title sits above everything */
body.home .marbio-product-card-title {
  position: relative !important;
  z-index: 3 !important;
}




/* ================================================================
   CARRIÈRES — "REJOINDRE L'ÉQUIPE" BUTTON (blue border/text, blue fill hover)
   Must beat: body.home #marbio-carrieres .marbio-btn-primary
   ================================================================ */

/* Default: blue border + blue text */
body.home #marbio-carrieres .marbio-btn-primary,
body.home #marbio-carrieres .marbio-btn-primary span {
  color: #1b2f5e !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 2px solid #1b2f5e !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Hover: blue background + white text */
body.home #marbio-carrieres .marbio-btn-primary:hover,
body.home #marbio-carrieres .marbio-btn-primary:focus-visible,
body.home #marbio-carrieres .marbio-btn-primary:hover span,
body.home #marbio-carrieres .marbio-btn-primary:focus-visible span {
  color: #ffffff !important;
  background-color: #1b2f5e !important;
  background-image: none !important;
  border-color: #1b2f5e !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Also override the mobile rule that forces teal */
@media (max-width: 768px) {
  body.home #marbio-carrieres .marbio-btn-primary,
  body.home #marbio-carrieres .marbio-btn-primary span {
    color: #1b2f5e !important;
    background-color: transparent !important;
    border-color: #1b2f5e !important;
  }
  body.home #marbio-carrieres .marbio-btn-primary:hover,
  body.home #marbio-carrieres .marbio-btn-primary:focus-visible,
  body.home #marbio-carrieres .marbio-btn-primary:hover span,
  body.home #marbio-carrieres .marbio-btn-primary:focus-visible span {
    color: #ffffff !important;
    background-color: #1b2f5e !important;
    border-color: #1b2f5e !important;
  }
}
/* Bouton principal */
.marbio-btn-primary--teal,
.marbio-btn-primary--teal:visited {
  ...
  outline: none !important;
  box-shadow: none !important;
}

/* Suppression de la bordure intérieure sur le texte du bouton */
.marbio-btn-primary--teal span {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}




/* ================================================================
   CARRIÈRES — REMOVE INNER BORDER FROM BUTTON SPAN (ALL STATES)
   ================================================================ */
body.home #marbio-carrieres .marbio-btn-primary span,
body.home #marbio-carrieres .marbio-btn-primary:hover span,
body.home #marbio-carrieres .marbio-btn-primary:focus-visible span {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}
/* MARBIO utility menu: text links with literal pipe separators. */
.marbio-utility-menu {
  margin-left: auto;
}

.top-menu-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-menu-list li {
  display: flex;
  align-items: center;
  margin: 0 !important;
}

.top-menu-list li::before,
.top-menu-list li::after,
.top-menu-list li a::before,
.top-menu-list li a::after {
  content: none !important;
  display: none !important;
}

.top-menu-list li a {
  gap: 0 !important;
  font-size: 12px !important;
}

.top-menu-separator {
  display: inline !important;
  margin: 0 10px !important;
  padding: 0;
  color: #1b2f5e;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-shadow: none;
}

/* Front-page hero title: clean solid text, matching the reference. */
body.home #marbio-hero-slider .hero-content h1,
body.home #marbio-hero-slider .hero-content h1 *,
body.home #marbio-hero-slider .marbio-hero-title-line,
body.home #marbio-hero-slider .marbio-hero-title-line * {
  color: #ffffff !important;
  font-family: 'Bebas Neue Pro Expanded', sans-serif !important;
  font-weight: 700 !important;
  font-style: normal !important;
  letter-spacing: 0 !important;
  -webkit-text-stroke: 0 transparent !important;
  text-stroke: 0 transparent !important;
  paint-order: normal !important;
  text-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

body.home #marbio-hero-slider .marbio-hero-copy,
body.home #marbio-hero-slider .hero-content h1 {
  width: max-content !important;
  max-width: 100% !important;
}

body.home #marbio-hero-slider .marbio-hero-copy {
  overflow: visible !important;
}

body.home #marbio-hero-slider .marbio-hero-title-line {
  display: block !important;
  width: max-content !important;
  max-width: 100% !important;
  white-space: nowrap !important;
}

body.home #marbio-hero-slider .hero-content h1 .marbio-hero-rotating-text {
  display: block !important;
  min-height: 1.08em;
  box-sizing: border-box;
  margin-top: 8px;
  padding: 6px 18px 8px;
  color: #1b2f5e !important;
  background: rgba(255, 255, 255, .9) !important;
  border: 1px solid rgba(27, 47, 94, .18);
  border-radius: 0 0 20px 20px !important;
  background-clip: padding-box !important;
  overflow: hidden !important;
  clip-path: none !important;
  box-shadow: 6px 6px 0 rgba(42, 157, 143, .28), 0 8px 22px rgba(10, 29, 62, .1);
  text-shadow: none !important;
  opacity: 1;
  filter: blur(0);
  transform: translateX(0) !important;
  transition: opacity 320ms ease, transform 420ms cubic-bezier(.2, .8, .2, 1), filter 320ms ease !important;
  will-change: opacity, transform, filter;
}

body.home #marbio-hero-slider .hero-content h1 .marbio-hero-rotating-text,
body.home #marbio-hero-slider .hero-content h1 .marbio-hero-rotating-text * {
  color: #1b2f5e !important;
  text-shadow: none !important;
}

body.home #marbio-hero-slider .hero-content h1 .marbio-hero-rotating-text.is-changing {
  border-radius: 0 0 20px 20px !important;
  background-clip: padding-box !important;
  overflow: hidden !important;
  opacity: 0;
  filter: blur(3px);
  transform: translateX(-12px) !important;
}

@media (prefers-reduced-motion: reduce) {
  body.home #marbio-hero-slider .hero-content h1 .marbio-hero-rotating-text {
    transition: none !important;
  }
}

/* Header: full-height logo column and right-aligned top-bar controls. */
.marbio-site-header,
.marbio-site-header * {
  font-family: 'Montserrat', sans-serif !important;
}

.marbio-site-header .marbio-lang-switcher,
.marbio-site-header .marbio-lang-switcher .gtranslate_wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.marbio-site-header .marbio-lang-switcher a.glink,
.marbio-site-header .marbio-lang-switcher a {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
}

.marbio-site-header .marbio-lang-switcher a.glink img,
.marbio-site-header .marbio-lang-switcher a img,
.marbio-site-header .marbio-lang-switcher img {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

.marbio-site-header .marbio-social-links a,
.marbio-site-header .marbio-social-links .is-unconfigured,
.marbio-site-header .marbio-social-links img {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
}

.marbio-site-header .marbio-search-toggle {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  margin-left: 8px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 34px;
  color: #1b2f5e !important;
  border: 1px solid rgba(27, 47, 94, .16) !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
}

.marbio-site-header .marbio-search-toggle svg {
  width: 15px !important;
  height: 15px !important;
  fill: currentColor !important;
}

.marbio-site-header .marbio-search-toggle:hover,
.marbio-site-header .marbio-search-toggle:focus-visible,
.marbio-site-header .marbio-search-toggle.active {
  color: #ffffff !important;
  border-color: #1b2f5e !important;
  background: #1b2f5e !important;
  outline: none !important;
  transform: none !important;
}

.marbio-site-header .navbar-search-wrapper {
  z-index: 20;
}

.marbio-site-header .navbar-search-wrapper .search-field,
.marbio-site-header .navbar-search-wrapper .search-submit {
  font-family: 'Montserrat', sans-serif !important;
}

.marbio-site-header .marbio-search-toggle--mobile {
  display: none !important;
}

.marbio-site-header .marbio-navbar,
.marbio-site-header .marbio-navbar.is-scrolled {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

@media (min-width: 992px) {
  .marbio-site-header .top-menu-container {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
  }

  .marbio-site-header .top-menu {
    position: relative !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .marbio-site-header .top-menu::after {
    content: none !important;
    display: none !important;
  }

  .marbio-site-header .marbio-utility-menu {
    margin-left: 0 !important;
  }

  .marbio-site-header .marbio-top-left {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    flex: 0 0 auto;
  }

  .marbio-site-header .top-menu-container,
  .marbio-site-header .marbio-navbar > .container {
    padding-right: calc(var(--bs-gutter-x, 24px) * .5) !important;
  }

  .marbio-site-header .marbio-navbar .navbar-nav {
    margin-right: 0 !important;
  }

  .marbio-site-header .marbio-navbar > .container {
    position: static !important;
    padding-left: 300px !important;
  }

  .marbio-site-header .marbio-navbar .navbar-brand {
    position: absolute !important;
    top: -56px !important;
    bottom: 0 !important;
    left: calc((100vw - 960px) / 2 + 12px) !important;
    width: 270px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 16px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    background: #ffffff !important;
    box-shadow: none !important;
    z-index: 3;
  }

  @media (min-width: 1200px) {
    .marbio-site-header .marbio-navbar .navbar-brand {
      left: calc((100vw - 1140px) / 2 + 12px) !important;
    }
  }

  @media (min-width: 1400px) {
    .marbio-site-header .marbio-navbar .navbar-brand {
      left: calc((100vw - 1140px) / 2 + 12px) !important;
    }
  }

  .marbio-site-header .marbio-navbar .navbar-brand .marbio-logo,
  .marbio-site-header .marbio-navbar.is-scrolled .navbar-brand .marbio-logo {
    width: 230px !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 78px !important;
    object-fit: contain;
  }

  .marbio-site-header .marbio-navbar.is-scrolled .navbar-brand {
    top: -38px !important;
    bottom: 0 !important;
  }

  .marbio-site-header .marbio-navbar .dropdown-toggle::after,
  .marbio-site-header .marbio-navbar .nav-link.dropdown-toggle::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    border: 0 !important;
  }
}

@media (max-width: 991px) {
	.marbio-site-header .marbio-search-toggle--desktop {
	  display: none !important;
	}

	.marbio-site-header .marbio-search-toggle--mobile {
	  display: inline-flex !important;
	  margin-right: 8px !important;
	  margin-left: auto !important;
	}

  .marbio-site-header .top-menu-container {
    justify-content: flex-end !important;
  }

  .marbio-site-header .marbio-navbar > .container {
    padding-left: var(--bs-gutter-x, 24px) !important;
  }

  .marbio-site-header .marbio-navbar .navbar-brand {
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
  }
}

@media (min-width: 769px) {
  body.home #marbio-hero-slider .hero-content {
    max-width: none !important;
    margin: 0 !important;
    padding-right: 32px !important;
    padding-left: clamp(72px, 5.5vw, 105px) !important;
  }

  body.home #marbio-hero-slider .hero-content h1 {
    font-size: clamp(48px, 2.85vw, 56px) !important;
    line-height: 1.08 !important;
  }

  body.home #marbio-hero-slider .hero-content h1 .marbio-hero-rotating-text {
    font-size: 0.84em !important;
  }

  body.home #marbio-hero-slider {
    background-size: cover !important;
    background-position: left 58% !important;
  }

  body.home #marbio-hero-slider .marbio-hero-copy {
    position: relative !important;
    top: -8px !important;
  }
}

@media (max-width: 768px) {
  body.home #marbio-hero-slider .hero-content h1 {
    font-size: clamp(20px, 6vw, 38px) !important;
  }
}

/* Shared desktop content grid: align page content with the header container. */
body.home #marbio-actualites .news-link-hover {
  font-weight: 800 !important;
}

@media (min-width: 992px) {
  body.home #marbio-hero-slider .hero-content,
  body.home #marbio-capacite .mbc-container,
  body.home #marbio-vision .marbio-vision-wrap,
  body.home #marbio-actualites > div[style*="max-width:1400px"],
  body.home #marbio-produits > div[style*="max-width:1400px"],
  body.home #marbio-impact {
    box-sizing: border-box !important;
    width: calc(100% - clamp(40px, 6vw, 96px)) !important;
    max-width: 1520px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  body.home #marbio-hero-slider .hero-content,
  body.home #marbio-capacite .mbc-container,
  body.home #marbio-vision .marbio-vision-wrap,
  body.home #marbio-actualites > div[style*="max-width:1400px"],
  body.home #marbio-produits > div[style*="max-width:1400px"] {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  body.home #marbio-carrieres .marbio-carrieres-inner {
    margin-right: max(calc((100vw - 1140px) / 2 + 12px), 12px) !important;
  }
}

/* Hero responsive finishing layer. */
@media (max-width: 991px) {
  body.home #marbio-hero-slider {
    min-height: clamp(520px, calc(100svh - 72px), 760px) !important;
    height: auto !important;
    background-size: cover !important;
    background-position: 58% center !important;
  }

  body.home #marbio-hero-slider .hero-content {
    display: flex !important;
    align-items: flex-end !important;
    width: 100% !important;
    min-height: inherit !important;
    margin: 0 !important;
    padding: 40px 24px 54px !important;
  }

  body.home #marbio-hero-slider .marbio-hero-copy,
  body.home #marbio-hero-slider .hero-content h1 {
    width: 100% !important;
    max-width: 620px !important;
    overflow: visible !important;
  }

  body.home #marbio-hero-slider .marbio-hero-title-line {
    width: fit-content !important;
    max-width: 100% !important;
    white-space: normal !important;
  }

  body.home #marbio-hero-slider .hero-content h1 {
    font-size: clamp(38px, 5.6vw, 52px) !important;
    line-height: 1.08 !important;
  }
}

@media (max-width: 600px) {
  body.home #marbio-hero-slider {
    min-height: clamp(540px, calc(100svh - 70px), 700px) !important;
    background-position: 61% center !important;
  }

  body.home #marbio-hero-slider .hero-content {
    padding: 32px 18px 42px !important;
  }

  body.home #marbio-hero-slider .marbio-hero-copy,
  body.home #marbio-hero-slider .hero-content h1 {
    max-width: 100% !important;
  }

  body.home #marbio-hero-slider .hero-content h1 {
    font-size: clamp(25px, 7vw, 34px) !important;
    line-height: 1.12 !important;
  }

  body.home #marbio-hero-slider .hero-content h1 .marbio-hero-rotating-text {
    margin-top: 7px;
    padding: 6px 12px 7px;
    font-size: .9em !important;
    line-height: 1.15 !important;
    box-shadow: 4px 4px 0 rgba(42, 157, 143, .24), 0 6px 16px rgba(10, 29, 62, .1);
  }
}

/* Keep the left logo centered across the utility bar and main navigation. */
@media (min-width: 992px) {
  .marbio-site-header .marbio-navbar .navbar-brand {
    left: clamp(32px, 4vw, 72px) !important;
    top: -56px !important;
    bottom: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .marbio-site-header .marbio-navbar.is-scrolled .navbar-brand {
    top: -38px !important;
    bottom: 0 !important;
  }
}

/* Prevent source-image edge strips on wide inner-page banners. */
@media (min-width: 1600px) {
  section.prod-hero,
  section.qsn-hero,
  section.qui-sommes-nous-hero {
    background-size: 102% 102% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
}

/* FINAL HEADER LOGO OVERRIDE — must remain last. */
@media (min-width: 992px) {
  #masthead.marbio-site-header .marbio-navbar > .container {
    display: flex !important;
    align-items: center !important;
    min-height: 72px !important;
    padding-left: clamp(32px, 4vw, 72px) !important;
    padding-right: clamp(32px, 4vw, 72px) !important;
  }

  #masthead.marbio-site-header .marbio-navbar .navbar-brand,
  #masthead.marbio-site-header .marbio-navbar.is-scrolled .navbar-brand {
    position: static !important;
    inset: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    align-self: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    margin: 0 36px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: visible !important;
    transform: none !important;
  }

  #masthead.marbio-site-header .marbio-navbar .navbar-brand .marbio-logo,
  #masthead.marbio-site-header .marbio-navbar.is-scrolled .navbar-brand .marbio-logo {
    position: static !important;
    display: block !important;
    width: auto !important;
    height: 44px !important;
    max-width: 210px !important;
    max-height: 44px !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: left center !important;
    transform: none !important;
  }
}

@media (max-width: 991.98px) {
  #masthead.marbio-site-header .marbio-navbar .navbar-brand,
  #masthead.marbio-site-header .marbio-navbar.is-scrolled .navbar-brand {
    position: static !important;
    inset: auto !important;
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    height: auto !important;
    margin: 0 auto 0 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  #masthead.marbio-site-header .marbio-navbar .navbar-brand .marbio-logo,
  #masthead.marbio-site-header .marbio-navbar.is-scrolled .navbar-brand .marbio-logo {
    display: block !important;
    width: auto !important;
    height: 40px !important;
    max-width: 180px !important;
    max-height: 40px !important;
    object-fit: contain !important;
    transform: none !important;
  }
}