/* ==========================================================================
   BAMA CONSULTING – styles du thème
   Marine #1C3164 · Rouge #D71821 · Montserrat
   ========================================================================== */

:root {
	--b-marine: var(--wp--preset--color--marine, #1C3164);
	--b-marine-fonce: var(--wp--preset--color--marine-fonce, #111E40);
	--b-rouge: var(--wp--preset--color--rouge, #D71821);
	--b-rouge-fonce: var(--wp--preset--color--rouge-fonce, #B3121A);
	--b-gris: var(--wp--preset--color--gris-clair, #F3F5F9);
	--b-filet: var(--wp--preset--color--gris-ligne, #E1E6EF);
	--b-encre: var(--wp--preset--color--encre, #1D2435);
	--b-encre-douce: var(--wp--preset--color--encre-douce, #566179);
	--b-gut: clamp(1rem, 4vw, 2.5rem);
	--b-max: 1240px;
	--b-rayon: 20px;
	--b-ease: cubic-bezier(.2, .7, .2, 1);
	--b-ombre: 0 24px 60px -28px rgba(17, 30, 64, .35);
	--b-ombre-legere: 0 12px 30px -18px rgba(17, 30, 64, .28);
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { overflow-x: clip; -webkit-font-smoothing: antialiased; }
::selection { background: var(--b-marine); color: #fff; }

/* Pas d'espace parasite entre les grands blocs */
.wp-site-blocks > * + * { margin-block-start: 0; }
.bama-main { margin-block: 0; }
.bama-main--front > .wp-block-post-content > * { margin-block: 0; }

.bama-wrap { width: min(var(--b-max), 100% - 2 * var(--b-gut)); margin-inline: auto; }
/* Les éléments décalés avant leur animation d'apparition ne doivent pas créer de défilement horizontal. */
.bama-section, .bama-chiffres, .bama-hero, .bama-page-hero { overflow-x: clip; }
.screen-reader-text:not(:focus) { position: absolute !important; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }

:focus-visible { outline: 3px solid var(--b-rouge); outline-offset: 3px; border-radius: 4px; }

/* --------------------------------------------------------------------------
   Boutons
   ----------------------------------------------------------------------- */
.wp-block-button__link,
.bama-btn {
	display: inline-flex; align-items: center; gap: .6em;
	transition: transform .35s var(--b-ease), box-shadow .35s var(--b-ease), background-color .25s, color .25s, border-color .25s;
	box-shadow: 0 10px 24px -14px rgba(215, 24, 33, .9);
	text-decoration: none;
}
.wp-block-button__link:hover, .bama-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(215, 24, 33, .9); }
.bama-btn {
	background: var(--b-rouge); color: #fff; border-radius: 999px; padding: .85em 1.6em;
	font-weight: 600; font-size: .975rem; line-height: 1.2; border: 2px solid transparent;
}
.bama-btn:hover, .bama-btn:focus-visible { background: var(--b-rouge-fonce); color: #fff; }
.bama-btn svg { width: 1.1em; height: 1.1em; transition: transform .35s var(--b-ease); }
.bama-btn:hover svg { transform: translateX(3px); }
.bama-btn--ligne {
	background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); box-shadow: none;
}
.bama-btn--ligne:hover, .bama-btn--ligne:focus-visible { background: #fff; color: var(--b-marine); border-color: #fff; box-shadow: none; }
.bama-btn--marine { background: var(--b-marine); box-shadow: 0 10px 24px -14px rgba(28, 49, 100, .9); }
.bama-btn--marine:hover, .bama-btn--marine:focus-visible { background: var(--b-marine-fonce); }
.bama-boutons { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

/* --------------------------------------------------------------------------
   Éléments communs
   ----------------------------------------------------------------------- */
.bama-surtitre {
	display: inline-flex; align-items: center; gap: .75rem;
	font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
	color: var(--b-rouge); margin: 0 0 1rem;
}
.bama-surtitre::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.bama-sombre .bama-surtitre, .bama-hero .bama-surtitre { color: #fff; }
.bama-sombre .bama-surtitre::before, .bama-hero .bama-surtitre::before { background: var(--b-rouge); }

.bama-entete { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.bama-entete--centre { margin-inline: auto; text-align: center; }
.bama-entete--centre .bama-surtitre { justify-content: center; }
.bama-entete h2 { margin: 0 0 1rem; }
.bama-entete p { margin: 0; color: var(--b-encre-douce); font-size: 1.125rem; }
.bama-sombre .bama-entete p { color: rgba(255, 255, 255, .78); }

.bama-section { padding-block: clamp(4.5rem, 9vw, 7.5rem); position: relative; }
.bama-section--gris { background: var(--b-gris); }
.bama-sombre { background: var(--b-marine); color: rgba(255, 255, 255, .86); }
.bama-sombre h1, .bama-sombre h2, .bama-sombre h3, .bama-sombre h4 { color: #fff; }

.bama-icone {
	display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
	background: var(--b-gris); color: var(--b-marine); flex: none;
	transition: background-color .35s, color .35s, transform .45s var(--b-ease);
}
.bama-icone svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Motif de points (inspiré du symbole du logo) */
.bama-points {
	position: absolute; inset: 0; pointer-events: none; z-index: 0;
	background-image: radial-gradient(rgba(255, 255, 255, .16) 1.3px, transparent 1.6px);
	background-size: 26px 26px;
	-webkit-mask-image: radial-gradient(ellipse 60% 70% at 75% 35%, #000 10%, transparent 75%);
	mask-image: radial-gradient(ellipse 60% 70% at 75% 35%, #000 10%, transparent 75%);
	animation: bama-derive 40s linear infinite;
}
@keyframes bama-derive { to { background-position: 260px 130px; } }

/* --------------------------------------------------------------------------
   En-tête
   ----------------------------------------------------------------------- */
.wp-site-blocks > header.wp-block-template-part {
	position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50;
}
/* Le flou est porté par un pseudo-élément : un backdrop-filter sur l'en-tête
   lui-même enfermerait l'overlay plein écran du menu mobile. */
.bama-header {
	position: relative; isolation: isolate;
	border-bottom: 1px solid transparent;
	transition: box-shadow .4s, border-color .4s;
}
.bama-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(255, 255, 255, .9);
	-webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
	transition: background-color .4s;
}
.is-scrolled .bama-header { box-shadow: 0 10px 30px -18px rgba(17, 30, 64, .35); border-color: var(--b-filet); }
.is-scrolled .bama-header::before { background: rgba(255, 255, 255, .96); }
.bama-header__inner {
	width: min(var(--b-max), 100% - 2 * var(--b-gut)); margin-inline: auto;
	min-height: 86px; gap: 1.5rem; transition: min-height .4s var(--b-ease);
}
.is-scrolled .bama-header__inner { min-height: 68px; }
.bama-header .wp-block-site-logo img { width: 200px; height: auto; transition: width .4s var(--b-ease); }
.is-scrolled .bama-header .wp-block-site-logo img { width: 168px; }
.bama-header__nav { gap: clamp(1rem, 2.5vw, 2.25rem); }

.bama-nav .wp-block-navigation-item__content {
	position: relative; color: var(--b-marine); font-weight: 600; font-size: .95rem; text-decoration: none; padding-block: .35rem;
}
.bama-nav .wp-block-navigation-item__content::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
	background: var(--b-rouge); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--b-ease);
}
.bama-nav .wp-block-navigation-item__content:hover::after,
.bama-nav .current-menu-item > .wp-block-navigation-item__content::after,
.bama-nav [aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.bama-nav .wp-block-navigation__container { gap: clamp(1rem, 2.2vw, 2rem); }
.bama-header__cta .wp-block-button__link { padding: .7em 1.35em; font-size: .92rem; }

/* Menu mobile */
.bama-nav .wp-block-navigation__responsive-container-open svg,
.bama-nav .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; color: var(--b-marine); }
.bama-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--b-marine) !important; color: #fff !important; padding: 2rem var(--b-gut);
}
.bama-nav .is-menu-open .wp-block-navigation-item__content { color: #fff; font-size: 1.5rem; font-weight: 600; }
.bama-nav .is-menu-open .wp-block-navigation__responsive-container-close svg { color: #fff; }
.bama-nav .is-menu-open .wp-block-navigation__container { gap: 1.25rem; }
@media (max-width: 781px) {
	.bama-header .bama-header__cta { display: none !important; }
	.bama-header .wp-block-site-logo img { width: 160px; }
	.is-scrolled .bama-header .wp-block-site-logo img { width: 145px; }
	.bama-header__inner { min-height: 72px; }
}

/* --------------------------------------------------------------------------
   Hero (accueil)
   ----------------------------------------------------------------------- */
.bama-hero {
	position: relative; overflow: hidden; color: rgba(255, 255, 255, .86);
	background:
		radial-gradient(900px 500px at 85% -10%, rgba(90, 120, 200, .35), transparent 60%),
		radial-gradient(700px 500px at -10% 110%, rgba(215, 24, 33, .18), transparent 60%),
		var(--b-marine);
	padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(7rem, 12vw, 9.5rem);
}
.bama-hero__grille {
	position: relative; z-index: 1;
	display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
.bama-hero h1 { color: #fff; font-size: clamp(2.35rem, 5.2vw, 4rem); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 1.5rem; font-weight: 800; }
.bama-hero__intro { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 34em; margin: 0; }
.bama-souligne {
	background-image: linear-gradient(var(--b-rouge), var(--b-rouge));
	background-repeat: no-repeat; background-position: 0 92%; background-size: 0% .14em;
	transition: background-size 1.1s var(--b-ease) .9s; padding-bottom: .04em;
}
.bama-pret .bama-souligne, .no-js .bama-souligne { background-size: 100% .14em; }
.bama-hero__confiance { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin: 2.25rem 0 0; padding: 0; list-style: none; font-size: .88rem; color: rgba(255, 255, 255, .78); }
.bama-hero__confiance li { display: inline-flex; align-items: center; gap: .5rem; }
.bama-hero__confiance svg { width: 18px; height: 18px; color: #fff; background: var(--b-rouge); border-radius: 50%; padding: 3px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.bama-hero__visuel { position: relative; transform: translate3d(calc(var(--mx, 0) * -10px), calc(var(--my, 0) * -10px), 0); transition: transform .6s var(--b-ease); }
.bama-hero__photo {
	position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 4.6;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); isolation: isolate;
}
.bama-hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.08); animation: bama-zoom 14s var(--b-ease) forwards; }
.bama-hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(28, 49, 100, .1), rgba(17, 30, 64, .55)); }
@keyframes bama-zoom { to { transform: scale(1); } }

.bama-puce {
	position: absolute; z-index: 2; display: flex; align-items: center; gap: .8rem;
	background: rgba(255, 255, 255, .96); color: var(--b-encre); border-radius: 16px; padding: .85rem 1.1rem;
	box-shadow: var(--b-ombre); font-size: .85rem; line-height: 1.35;
	animation: bama-flotte 7s ease-in-out infinite;
}
.bama-puce strong { display: block; color: var(--b-marine); font-size: 1.15rem; font-weight: 800; }
.bama-puce .bama-icone { width: 40px; height: 40px; border-radius: 12px; background: var(--b-marine); color: #fff; }
.bama-puce .bama-icone svg { width: 20px; height: 20px; }
.bama-puce--a { top: 9%; left: -9%; }
.bama-puce--b { bottom: 13%; right: -7%; animation-delay: -3.5s; }
.bama-puce--c { bottom: -5%; left: 8%; animation-delay: -1.8s; padding: .7rem 1rem; }
.bama-puce--c svg.bama-sparkline { width: 92px; height: 30px; }
.bama-sparkline path { fill: none; stroke: var(--b-rouge); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: bama-trace 2.2s var(--b-ease) 1.2s forwards; }
@keyframes bama-trace { to { stroke-dashoffset: 0; } }
@keyframes bama-flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Symbole aux points animé */
.bama-symbole { position: absolute; z-index: 1; width: 132px; height: 132px; top: -38px; right: -30px; }
.bama-symbole span { position: absolute; width: 26%; height: 26%; border-radius: 50%; background: var(--b-rouge); animation: bama-respire 4.5s ease-in-out infinite; }
.bama-symbole span:nth-child(1) { left: 17%; top: 0; }
.bama-symbole span:nth-child(2) { left: 57%; top: 0; animation-delay: .25s; }
.bama-symbole span:nth-child(3) { left: 0; top: 37%; animation-delay: .5s; }
.bama-symbole span:nth-child(4) { left: 17%; top: 74%; animation-delay: .75s; }
.bama-symbole span:nth-child(5) { left: 57%; top: 74%; animation-delay: 1s; }
.bama-symbole i { position: absolute; left: 36%; top: 39%; width: 64%; height: 22%; border-radius: 99px; background: #fff; }
@keyframes bama-respire { 0%, 100% { transform: scale(1); } 50% { transform: scale(.78); } }

/* Mots du titre */
.bama-mot { display: inline-block; opacity: 0; transform: translateY(.55em); filter: blur(6px); transition: opacity .8s var(--b-ease), transform .8s var(--b-ease), filter .8s var(--b-ease); transition-delay: calc(var(--i) * 55ms + 150ms); }
.bama-pret .bama-mot { opacity: 1; transform: none; filter: none; }

@media (max-width: 900px) {
	.bama-hero__grille { grid-template-columns: 1fr; }
	.bama-hero__visuel { max-width: 520px; margin-inline: auto; width: 100%; }
	.bama-puce--a { left: -2%; }
	.bama-puce--b { right: -2%; }
	.bama-symbole { width: 96px; height: 96px; right: -6px; top: -30px; }
}

/* --------------------------------------------------------------------------
   Chiffres clés
   ----------------------------------------------------------------------- */
.bama-chiffres { position: relative; z-index: 3; margin-top: clamp(-5.5rem, -8vw, -4rem); }
.bama-chiffres__carte {
	display: grid; grid-template-columns: repeat(3, 1fr);
	background: #fff; border-radius: 24px; box-shadow: var(--b-ombre); overflow: hidden;
}
.bama-chiffre { padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.25rem, 3vw, 2.5rem); position: relative; }
.bama-chiffre + .bama-chiffre::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--b-filet); }
.bama-chiffre__valeur { display: flex; align-items: baseline; gap: .15em; font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; color: var(--b-marine); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bama-chiffre__valeur small { font-size: .5em; color: var(--b-rouge); font-weight: 800; letter-spacing: 0; }
.bama-chiffre__valeur--texte { flex-direction: column; align-items: flex-start; gap: .2em; font-size: clamp(1.9rem, 3.4vw, 2.5rem); letter-spacing: -.02em; }
.bama-chiffre__valeur--texte small { font-size: .62em; }
.bama-chiffre__libelle { margin: .7rem 0 0; color: var(--b-encre-douce); font-size: .98rem; line-height: 1.5; }
.bama-chiffre__libelle strong { color: var(--b-encre); }
@media (max-width: 720px) {
	.bama-chiffres__carte { grid-template-columns: 1fr; }
	.bama-chiffre + .bama-chiffre::before { left: 12%; right: 12%; top: 0; bottom: auto; width: auto; height: 1px; }
}

/* --------------------------------------------------------------------------
   Cartes expertises
   ----------------------------------------------------------------------- */
.bama-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 265px), 1fr)); gap: 1.25rem; }
.bama-carte {
	position: relative; display: flex; flex-direction: column; gap: 1rem;
	background: #fff; border: 1px solid var(--b-filet); border-radius: var(--b-rayon); padding: 1.75rem 1.6rem 1.5rem;
	overflow: hidden; isolation: isolate;
	transition: transform .5s var(--b-ease), box-shadow .5s var(--b-ease), border-color .4s;
}
.bama-carte::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--b-rouge); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--b-ease); }
.bama-carte::after { content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; right: -110px; bottom: -110px; border-radius: 50%; background: var(--b-gris); transition: transform .7s var(--b-ease); }
.bama-carte:hover { transform: translateY(-6px); box-shadow: var(--b-ombre); border-color: transparent; }
.bama-carte:hover::before { transform: scaleX(1); }
.bama-carte:hover::after { transform: scale(1.6); }
.bama-carte:hover .bama-icone { background: var(--b-rouge); color: #fff; transform: rotate(-6deg) scale(1.05); }
.bama-carte__num { position: absolute; top: 1.4rem; right: 1.5rem; font-size: .8rem; font-weight: 700; color: #B9C1D2; letter-spacing: .08em; }
.bama-carte h3 { margin: .25rem 0 0; font-size: 1.12rem; }
.bama-carte p { margin: 0; color: var(--b-encre-douce); font-size: .95rem; line-height: 1.6; flex: 1; }
.bama-carte__lien { font-weight: 600; font-size: .9rem; color: var(--b-marine); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.bama-carte__lien::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.bama-carte__lien svg { width: 16px; height: 16px; transition: transform .35s var(--b-ease); }
.bama-carte:hover .bama-carte__lien svg { transform: translateX(4px); }
.bama-carte--marine { background: var(--b-marine); border-color: var(--b-marine); }
.bama-carte--marine h3, .bama-carte--marine .bama-carte__lien { color: #fff; }
.bama-carte--marine p { color: rgba(255, 255, 255, .78); }
.bama-carte--marine::after { background: rgba(255, 255, 255, .06); }
.bama-carte--marine .bama-icone { background: rgba(255, 255, 255, .12); color: #fff; }

/* --------------------------------------------------------------------------
   Bilan animé / tableau de bord
   ----------------------------------------------------------------------- */
.bama-bilan__grille { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.bama-liste-coches { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .85rem; }
.bama-liste-coches li { display: flex; gap: .75rem; align-items: flex-start; }
.bama-liste-coches li::before {
	content: ""; flex: none; width: 22px; height: 22px; margin-top: .2rem; border-radius: 50%;
	background: var(--b-rouge) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.bama-dash {
	background: #fff; border-radius: 26px; box-shadow: var(--b-ombre); padding: clamp(1.1rem, 2.5vw, 1.75rem);
	border: 1px solid var(--b-filet); position: relative;
}
.bama-dash__haut { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.bama-dash__titre { font-weight: 700; color: var(--b-marine); font-size: 1rem; display: flex; align-items: center; gap: .6rem; }
.bama-dash__titre i { width: 10px; height: 10px; border-radius: 50%; background: #1FA463; box-shadow: 0 0 0 0 rgba(31, 164, 99, .5); animation: bama-ping 2.2s infinite; }
@keyframes bama-ping { 70% { box-shadow: 0 0 0 9px rgba(31, 164, 99, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 164, 99, 0); } }
.bama-dash__fictif { font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: var(--b-encre-douce); background: var(--b-gris); border-radius: 99px; padding: .35rem .75rem; }

.bama-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-bottom: 1rem; }
.bama-kpi { background: var(--b-gris); border-radius: 14px; padding: .85rem 1rem; }
.bama-kpi span { display: block; font-size: .74rem; color: var(--b-encre-douce); font-weight: 600; }
.bama-kpi strong { display: block; font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--b-marine); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; white-space: nowrap; }
.bama-kpi--rouge strong { color: var(--b-rouge); }

.bama-graphes { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: .75rem; }
.bama-graphe { border: 1px solid var(--b-filet); border-radius: 16px; padding: .9rem 1rem 1rem; }
.bama-graphe__titre { font-size: .78rem; font-weight: 700; color: var(--b-encre); margin: 0 0 .5rem; display: flex; justify-content: space-between; gap: .5rem; }
.bama-graphe__titre em { font-style: normal; font-weight: 600; color: var(--b-encre-douce); display: inline-flex; align-items: center; gap: .35rem; }
.bama-graphe__titre em::before { content: ""; width: 14px; height: 3px; border-radius: 2px; background: var(--b-rouge); }
.bama-graphe svg { width: 100%; height: auto; display: block; overflow: visible; }
.bama-barre { fill: var(--b-marine); transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform .9s var(--b-ease); transition-delay: calc(var(--i) * 70ms); }
.bama-barre--n1 { fill: #D4DBEA; transition-delay: calc(var(--i) * 70ms + 120ms); }
.bama-grille-axe { stroke: var(--b-filet); stroke-width: 1; }
.bama-axe-txt { font-size: 9px; fill: #8A93A8; font-family: inherit; }
.bama-courbe { fill: none; stroke: var(--b-rouge); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--b-ease) .9s; }
.bama-courbe-pt { fill: #fff; stroke: var(--b-rouge); stroke-width: 2.2; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: opacity .3s, transform .5s var(--b-ease); transition-delay: 2.4s; }

.bama-graphe svg.bama-donut { width: 100%; max-width: 150px; margin: .25rem auto 0; }
.bama-donut circle { fill: none; stroke-width: 5.5; }
.bama-donut .fond { stroke: var(--b-gris); }
.bama-donut .seg { stroke-dasharray: 0 100; transition: stroke-dasharray 1.2s var(--b-ease); transition-delay: var(--t, .4s); }
.bama-donut text { font-family: inherit; text-anchor: middle; }
.bama-donut .val { font-size: 7px; font-weight: 800; fill: var(--b-marine); }
.bama-donut .lib { font-size: 3.6px; font-weight: 600; fill: #8A93A8; }
.bama-legende { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .3rem; font-size: .74rem; color: var(--b-encre-douce); }
.bama-legende li { display: flex; align-items: center; gap: .45rem; }
.bama-legende i { width: 9px; height: 9px; border-radius: 3px; flex: none; }

.bama-equilibre { margin-top: .75rem; border: 1px solid var(--b-filet); border-radius: 16px; padding: .9rem 1rem; display: grid; gap: .5rem; }
.bama-equilibre__ligne { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: .75rem; font-size: .76rem; font-weight: 700; color: var(--b-encre); }
.bama-pile { display: flex; height: 14px; border-radius: 99px; overflow: hidden; background: var(--b-gris); }
.bama-pile b { display: block; height: 100%; width: 0; transition: width 1s var(--b-ease); transition-delay: calc(var(--i) * 180ms + 1.2s); }
.bama-equilibre__ok {
	justify-self: end; display: inline-flex; align-items: center; gap: .4rem; font-size: .76rem; font-weight: 700; color: #137A49;
	background: #E6F6EE; border-radius: 99px; padding: .3rem .7rem; opacity: 0; transform: translateY(6px) scale(.9); transition: opacity .5s, transform .6s var(--b-ease); transition-delay: 2.6s;
}
.bama-equilibre__ok svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.bama-dash.is-play .bama-barre { transform: scaleY(1); }
.bama-dash.is-play .bama-courbe { stroke-dashoffset: 0; }
.bama-dash.is-play .bama-courbe-pt { opacity: 1; transform: scale(1); }
.bama-dash.is-play .bama-donut .seg { stroke-dasharray: var(--v) 100; }
.bama-dash.is-play .bama-pile b { width: var(--w); }
.bama-dash.is-play .bama-equilibre__ok { opacity: 1; transform: none; }

@media (max-width: 960px) { .bama-bilan__grille { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
	.bama-kpis { grid-template-columns: 1fr 1fr; }
	.bama-kpi:last-child { grid-column: 1 / -1; }
	.bama-graphes { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Pourquoi BAMA
   ----------------------------------------------------------------------- */
.bama-pourquoi__grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.bama-pourquoi__intro { position: sticky; top: 130px; }
.bama-atouts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.bama-atout {
	display: flex; gap: 1rem; padding: 1.4rem; border-radius: var(--b-rayon); background: var(--b-gris);
	transition: background-color .4s, transform .5s var(--b-ease), box-shadow .5s var(--b-ease);
}
.bama-atout:hover { background: #fff; transform: translateY(-4px); box-shadow: var(--b-ombre-legere); }
.bama-atout:hover .bama-icone { background: var(--b-rouge); color: #fff; }
.bama-atout .bama-icone { background: #fff; width: 48px; height: 48px; }
.bama-atout h3 { margin: 0 0 .3rem; font-size: 1.02rem; }
.bama-atout p { margin: 0; color: var(--b-encre-douce); font-size: .93rem; line-height: 1.55; }
.bama-atout p a { color: var(--b-marine); font-weight: 600; }
.bama-atout--large { grid-column: 1 / -1; background: var(--b-marine); }
.bama-atout--large h3 { color: #fff; }
.bama-atout--large p { color: rgba(255, 255, 255, .8); }
.bama-atout--large p a { color: #fff; }
.bama-atout--large .bama-icone { background: rgba(255, 255, 255, .12); color: #fff; }
.bama-atout--large:hover { background: var(--b-marine-fonce); }
@media (max-width: 960px) {
	.bama-pourquoi__grille { grid-template-columns: 1fr; }
	.bama-pourquoi__intro { position: static; }
}
@media (max-width: 600px) { .bama-atouts { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Dirigeant
   ----------------------------------------------------------------------- */
.bama-dirigeant { overflow: hidden; }
.bama-dirigeant__grille { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.bama-portrait {
	position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden;
	background: linear-gradient(160deg, #2A447F, var(--b-marine-fonce));
	display: grid; place-items: center; text-align: center; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
}
.bama-portrait::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .14) 1.3px, transparent 1.6px); background-size: 22px 22px; }
.bama-portrait__initiales { position: relative; font-size: clamp(4rem, 9vw, 6.5rem); font-weight: 800; color: #fff; letter-spacing: -.04em; line-height: 1; }
.bama-portrait__initiales::after { content: ""; display: block; width: 46px; height: 4px; border-radius: 4px; background: var(--b-rouge); margin: 1.1rem auto 0; }
.bama-portrait__note { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; font-size: .78rem; font-weight: 600; color: #fff; background: rgba(215, 24, 33, .9); border-radius: 10px; padding: .5rem .75rem; }
.bama-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; z-index: 1; }
.bama-dirigeant__role { font-size: 1.1rem; color: #fff; font-weight: 600; margin: -.25rem 0 1.5rem; }
.bama-dirigeant p { margin: 0 0 1rem; }
.bama-diplomes { list-style: none; padding: 0; margin: 1.75rem 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.bama-diplomes li { border: 1px solid rgba(255, 255, 255, .25); border-radius: 99px; padding: .45rem .95rem; font-size: .85rem; color: #fff; transition: background-color .3s, border-color .3s; }
.bama-diplomes li:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }
.bama-mission { margin: 2rem 0 0; padding: 1.25rem 1.5rem; border-left: 3px solid var(--b-rouge); background: rgba(255, 255, 255, .06); border-radius: 0 14px 14px 0; }
.bama-mission p { margin: 0; color: #fff; font-size: 1.05rem; font-weight: 500; }
.bama-mission cite { display: block; margin-top: .4rem; font-style: normal; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.bama-valeurs { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.bama-valeur { padding: 1.5rem; border-radius: var(--b-rayon); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .4s, transform .5s var(--b-ease); }
.bama-valeur:hover { background: rgba(255, 255, 255, .1); transform: translateY(-4px); }
.bama-valeur h3 { margin: 0 0 .4rem; font-size: 1.1rem; display: flex; align-items: center; gap: .6rem; }
.bama-valeur h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--b-rouge); }
.bama-valeur p { margin: 0; font-size: .93rem; color: rgba(255, 255, 255, .75); }
@media (max-width: 900px) {
	.bama-dirigeant__grille { grid-template-columns: 1fr; }
	.bama-portrait { max-width: 420px; }
	.bama-valeurs { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Clients
   ----------------------------------------------------------------------- */
.bama-profils { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 860px) { .bama-profils { grid-template-columns: repeat(2, 1fr); } }
.bama-profil {
	display: flex; flex-direction: column; align-items: center; gap: .8rem; text-align: center;
	padding: 1.5rem 1rem; border-radius: var(--b-rayon); border: 1px solid var(--b-filet); background: #fff;
	font-weight: 700; color: var(--b-marine); font-size: .98rem; line-height: 1.3;
	transition: transform .5s var(--b-ease), box-shadow .5s var(--b-ease), border-color .4s;
}
.bama-profil small { display: block; font-weight: 500; color: var(--b-encre-douce); font-size: .78rem; margin-top: .2rem; }
.bama-profil:hover { transform: translateY(-5px); box-shadow: var(--b-ombre-legere); border-color: transparent; }
.bama-profil:hover .bama-icone { background: var(--b-marine); color: #fff; transform: scale(1.08); }

.bama-secteurs { margin-top: clamp(3rem, 6vw, 4.5rem); }
.bama-secteurs__titre { text-align: center; font-weight: 700; color: var(--b-encre-douce); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 1.25rem; }
.bama-defile { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.bama-defile__piste { display: flex; width: max-content; animation: bama-defile 32s linear infinite; }
.bama-defile:hover .bama-defile__piste { animation-play-state: paused; }
.bama-defile__groupe { display: flex; align-items: center; flex: none; }
.bama-secteur { display: inline-flex; align-items: center; gap: .9rem; padding-inline: clamp(1.25rem, 3vw, 2.25rem); font-size: clamp(1.4rem, 3.4vw, 2.4rem); font-weight: 800; color: var(--b-marine); letter-spacing: -.02em; white-space: nowrap; }
.bama-secteur .bama-icone { width: 54px; height: 54px; border-radius: 50%; background: var(--b-gris); }
.bama-defile__groupe > i { width: 10px; height: 10px; border-radius: 50%; background: var(--b-rouge); flex: none; }
@keyframes bama-defile { to { transform: translateX(-50%); } }
.bama-secteurs__note { text-align: center; color: var(--b-encre-douce); margin: 1.5rem auto 0; max-width: 46em; }

/* --------------------------------------------------------------------------
   Appel à l'action final
   ----------------------------------------------------------------------- */
.bama-cta { position: relative; overflow: hidden; text-align: center; color: rgba(255, 255, 255, .86); background: var(--b-marine); }
.bama-cta__fond { position: absolute; inset: 0; z-index: 0; }
.bama-cta__fond img { width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: grayscale(.2); transform: scale(1.1); transition: transform 2.5s var(--b-ease); }
.bama-cta.is-visible .bama-cta__fond img, .bama-cta .is-visible ~ .bama-cta__fond img { transform: scale(1); }
.bama-cta__fond::after { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 420px at 50% 100%, rgba(215, 24, 33, .22), transparent 70%), linear-gradient(180deg, rgba(28, 49, 100, .82), rgba(28, 49, 100, .9)); }
.bama-cta .bama-wrap { position: relative; z-index: 1; max-width: 860px; }
.bama-cta h2 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin: 0 0 1rem; letter-spacing: -.025em; }
.bama-cta p { font-size: 1.15rem; margin: 0 auto; max-width: 38em; }
.bama-cta .bama-boutons { justify-content: center; }
.bama-cta__infos { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.75rem; margin-top: 2rem !important; font-size: .92rem !important; color: rgba(255, 255, 255, .72); }

/* --------------------------------------------------------------------------
   Pages intérieures
   ----------------------------------------------------------------------- */
.bama-page-hero {
	position: relative; overflow: hidden; color: #fff;
	background: radial-gradient(800px 400px at 90% 0%, rgba(90, 120, 200, .35), transparent 60%), var(--b-marine);
	padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3rem, 6vw, 4.5rem);
}
.bama-page-hero > * { position: relative; z-index: 1; }
.bama-page-hero > .bama-points { position: absolute; z-index: 0; }
.bama-page-hero > .bama-symbole { position: absolute; }
.bama-page-hero .wp-block-post-title, .bama-page-hero h1 {
	width: min(var(--b-max), 100% - 2 * var(--b-gut)); margin: 0 auto; color: #fff;
	font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.025em;
}
.bama-page-hero .wp-block-post-title::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--b-rouge); margin-top: 1.25rem; animation: bama-trait 1s var(--b-ease) .3s both; transform-origin: left; }
@keyframes bama-trait { from { transform: scaleX(0); } }
.bama-page-contenu { padding-block: clamp(3rem, 7vw, 5rem); }
.bama-page-contenu > * { margin-block: 0; }
.bama-page-contenu > * + * { margin-block-start: 1.25rem; }
.bama-page-contenu > h2 { margin-block-start: 2.5rem; font-size: clamp(1.4rem, 2.6vw, 1.75rem); }
.bama-page-contenu > .alignwide { margin-block-start: 2.5rem; }
.bama-lead { font-size: clamp(1.15rem, 2vw, 1.35rem) !important; line-height: 1.6; color: var(--b-encre); font-weight: 500; }
.bama-a-venir { border: 2px dashed #C8CFDD; border-radius: 16px; padding: 1.25rem 1.5rem; color: var(--b-encre-douce); background: var(--b-gris); }
.bama-a-completer { background: #FFF2CC; color: #6B4E00; padding: .05em .35em; border-radius: 4px; font-weight: 600; }

/* Contact */
.bama-contact { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.bama-contact__carte { background: var(--b-marine); color: rgba(255, 255, 255, .85); border-radius: 24px; padding: 2rem; position: sticky; top: 120px; overflow: hidden; }
.bama-contact__carte::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .1) 1.2px, transparent 1.5px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(200deg, #000, transparent 60%); mask-image: linear-gradient(200deg, #000, transparent 60%); }
.bama-contact__carte > * { position: relative; }
.bama-contact__carte h2, .bama-contact__carte h3 { color: #fff; font-size: 1.15rem; margin: 0 0 .5rem; }
.bama-contact__carte p { margin: 0 0 1.4rem; }
.bama-contact__carte a { color: #fff; }
@media (max-width: 900px) { .bama-contact { grid-template-columns: 1fr; } .bama-contact__carte { position: static; } }

.wpcf7 form { display: grid; gap: 1.1rem; }
.bama-form__ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .bama-form__ligne { grid-template-columns: 1fr; } }
.wpcf7 label { display: block; font-weight: 600; font-size: .9rem; color: var(--b-marine); }
.wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: .4rem; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--b-encre); background: #fff;
	border: 1.5px solid var(--b-filet); border-radius: 12px; padding: .8rem 1rem; transition: border-color .25s, box-shadow .25s;
}
.wpcf7 textarea { min-height: 150px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--b-marine); box-shadow: 0 0 0 4px rgba(28, 49, 100, .12); }
.wpcf7 .wpcf7-acceptance label { font-weight: 400; font-size: .85rem; color: var(--b-encre-douce); display: flex; gap: .6rem; align-items: flex-start; }
.wpcf7 .wpcf7-acceptance input { margin-top: .25rem; accent-color: var(--b-marine); width: 18px; height: 18px; }
.wpcf7 .wpcf7-list-item { margin: 0; }
.wpcf7 input[type="submit"] {
	justify-self: start; cursor: pointer; font: inherit; font-weight: 600; font-size: 1rem; color: #fff; background: var(--b-rouge);
	border: 0; border-radius: 999px; padding: .95rem 2rem; box-shadow: 0 10px 24px -14px rgba(215, 24, 33, .9);
	transition: transform .35s var(--b-ease), background-color .25s;
}
.wpcf7 input[type="submit"]:hover { background: var(--b-rouge-fonce); transform: translateY(-2px); }
.wpcf7 .wpcf7-spinner { margin: 0 0 0 1rem; }
.wpcf7 form .wpcf7-response-output { margin: 0; border-radius: 12px; padding: .9rem 1.1rem; font-size: .92rem; }
.wpcf7-not-valid-tip { font-size: .82rem; margin-top: .3rem; }
.bama-form__mentions { font-size: .8rem; color: var(--b-encre-douce); margin: 0; }

/* --------------------------------------------------------------------------
   Pied de page
   ----------------------------------------------------------------------- */
.bama-footer { background: var(--b-marine-fonce); color: rgba(255, 255, 255, .74); font-size: .93rem; position: relative; overflow: hidden; }
.bama-footer a { color: rgba(255, 255, 255, .86); text-decoration: none; transition: color .25s; }
.bama-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.bama-footer__grille { display: grid; grid-template-columns: 1.5fr 1fr 1fr .9fr; gap: 2.5rem; padding-block: clamp(3.5rem, 7vw, 5rem) 2.5rem; }
.bama-footer__logo img { width: 190px; height: auto; display: block; }
.bama-footer__accroche { margin: 1.25rem 0 1.5rem; max-width: 28em; }
.bama-footer h2 { color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: .4rem 0 1.1rem; }
.bama-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.bama-footer address { font-style: normal; display: grid; gap: .55rem; }
.bama-footer__horaires { display: grid; gap: .2rem; }
.bama-footer__horaires strong { color: #fff; font-weight: 600; display: block; margin-top: .45rem; }
.bama-footer__social { display: flex; flex-wrap: wrap; gap: .75rem; }
.bama-footer__social a {
	display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .95rem; border-radius: 99px;
	border: 1px solid rgba(255, 255, 255, .2); font-size: .85rem; font-weight: 600;
}
.bama-footer__social a:hover { background: #fff; color: var(--b-marine); text-decoration: none; border-color: #fff; }
.bama-footer__social svg { width: 16px; height: 16px; fill: currentColor; }
.bama-footer__bas { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.5rem; font-size: .82rem; }
.bama-footer__bas .bama-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; align-items: center; }
.bama-footer__bas p { margin: 0; }
.bama-footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.bama-lien-cookies { background: none; border: 0; padding: 0; font: inherit; color: rgba(255, 255, 255, .86); cursor: pointer; }
.bama-lien-cookies:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) { .bama-footer__grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bama-footer__grille { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Bouton « Prendre RDV » flottant
   ----------------------------------------------------------------------- */
.bama-rdv-flottant {
	position: fixed; z-index: 60; right: clamp(.9rem, 2vw, 1.75rem); bottom: clamp(.9rem, 2vw, 1.75rem);
	display: inline-flex; align-items: center; gap: .6rem;
	background: var(--b-rouge); color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem;
	padding: .9rem 1.35rem .9rem 1.15rem; border-radius: 999px;
	box-shadow: 0 18px 40px -16px rgba(215, 24, 33, .85), 0 4px 12px rgba(17, 30, 64, .18);
	transition: transform .4s var(--b-ease), background-color .25s, box-shadow .4s;
	animation: bama-entree-rdv .8s var(--b-ease) .6s both;
}
.bama-rdv-flottant::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--b-rouge);
	animation: bama-onde 3.2s ease-out 2s infinite; pointer-events: none;
}
.bama-rdv-flottant:hover, .bama-rdv-flottant:focus-visible { background: var(--b-rouge-fonce); color: #fff; transform: translateY(-3px); }
.bama-rdv-flottant svg { flex: none; }
@keyframes bama-entree-rdv { from { opacity: 0; transform: translateY(30px) scale(.9); } }
@keyframes bama-onde { 0% { opacity: .7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.35, 1.6); } }
@media (max-width: 600px) {
	.bama-rdv-flottant { padding: .85rem 1.1rem; font-size: .9rem; }
}

/* --------------------------------------------------------------------------
   Apparitions au défilement
   ----------------------------------------------------------------------- */
.bama-js .bama-reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--b-ease), transform .9s var(--b-ease); transition-delay: var(--d, 0ms); }
.bama-js .bama-reveal[data-reveal="gauche"] { transform: translateX(-40px); }
.bama-js .bama-reveal[data-reveal="droite"] { transform: translateX(40px); }
.bama-js .bama-reveal[data-reveal="zoom"] { transform: scale(.94); }
.bama-js .bama-reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Accessibilité : animations réduites
   ----------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.bama-js .bama-reveal, .bama-mot { opacity: 1 !important; transform: none !important; filter: none !important; }
	.bama-defile__piste { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
	.bama-defile__groupe[aria-hidden="true"] { display: none; }
	.bama-defile { -webkit-mask-image: none; mask-image: none; }
	.bama-flux__noeud { opacity: 1 !important; transform: none !important; }
	.bama-parcours::after { transform: none !important; }
}

/* ==========================================================================
   Bandeau de consentement CookieYes (surcharge des couleurs du plan gratuit)
   Accepter et Refuser : même taille, même style (recommandation CNIL).
   ========================================================================== */
.cky-consent-container, .cky-modal, .cky-btn-revisit-wrapper,
.cky-consent-container *, .cky-modal * { font-family: Montserrat, "Segoe UI", system-ui, sans-serif !important; }

.cky-consent-container .cky-consent-bar {
	background: #fff !important; border: 1px solid var(--b-filet) !important; border-radius: 20px !important;
	box-shadow: 0 24px 60px -24px rgba(17, 30, 64, .45), 0 4px 14px rgba(17, 30, 64, .08) !important;
	padding: 1.25rem 1.35rem 1rem !important;
}
.cky-consent-container .cky-title { color: var(--b-marine) !important; font-size: 1.02rem !important; font-weight: 700 !important; line-height: 1.35 !important; margin-bottom: .5rem !important; }
.cky-consent-container .cky-notice-des, .cky-consent-container .cky-notice-des * { color: var(--b-marine) !important; font-size: .86rem !important; line-height: 1.6 !important; }
.cky-consent-container .cky-notice-des a, .cky-modal .cky-preference-content-wrapper a { color: var(--b-marine) !important; font-weight: 600 !important; text-decoration: underline !important; }

/* Boutons (bandeau et panneau) */
.cky-consent-container .cky-btn, .cky-modal .cky-btn {
	border-radius: 999px !important; border: 2px solid var(--b-marine) !important;
	font-size: .85rem !important; font-weight: 600 !important; line-height: 1.2 !important; padding: .7em 1em !important;
	transition: background-color .25s, border-color .25s, color .25s, transform .3s var(--b-ease) !important; opacity: 1 !important;
}
.cky-consent-container .cky-btn-accept, .cky-consent-container .cky-btn-reject,
.cky-modal .cky-btn-accept, .cky-modal .cky-btn-reject {
	background: var(--b-marine) !important; color: #fff !important; border-color: var(--b-marine) !important;
}
.cky-consent-container .cky-btn-customize, .cky-modal .cky-btn-preferences {
	background: #fff !important; color: var(--b-marine) !important; border-color: var(--b-marine) !important;
}
.cky-consent-container .cky-btn-accept:hover, .cky-consent-container .cky-btn-reject:hover,
.cky-modal .cky-btn-accept:hover, .cky-modal .cky-btn-reject:hover {
	background: var(--b-rouge) !important; border-color: var(--b-rouge) !important; color: #fff !important; transform: translateY(-1px);
}
.cky-consent-container .cky-btn-customize:hover, .cky-modal .cky-btn-preferences:hover {
	color: var(--b-rouge) !important; border-color: var(--b-rouge) !important; background: #fff !important;
}
.cky-consent-container .cky-btn:focus-visible, .cky-modal button:focus-visible, .cky-btn-revisit-wrapper button:focus-visible {
	outline: 3px solid var(--b-rouge) !important; outline-offset: 2px !important;
}
.cky-consent-container .cky-notice-btn-wrapper { gap: .5rem; flex-wrap: wrap !important; }
.cky-consent-container .cky-notice-btn-wrapper .cky-btn { flex: 1 1 40%; margin: 0 !important; white-space: nowrap; }
.cky-consent-container .cky-notice-btn-wrapper .cky-btn-customize { order: 3; flex-basis: 100%; }
.cky-consent-container [data-cky-tag="powered-by"], .cky-modal [data-cky-tag="detail-powered-by"] { opacity: .7; }

/* Panneau de préférences */
.cky-overlay { background: rgba(17, 30, 64, .5) !important; }
.cky-modal .cky-preference-center {
	background: #fff !important; color: var(--b-marine) !important; border: 1px solid var(--b-filet) !important; border-radius: 20px !important;
	box-shadow: 0 40px 90px -30px rgba(17, 30, 64, .55) !important; overflow: hidden;
}
.cky-modal .cky-preference-title, .cky-modal .cky-accordion-btn, .cky-modal .cky-preference-content-wrapper,
.cky-modal .cky-preference-content-wrapper p, .cky-modal .cky-accordion-header-des, .cky-modal .cky-accordion-header-des p,
.cky-modal .cky-audit-table, .cky-modal .cky-audit-table *, .cky-modal .cky-empty-cookies-text { color: var(--b-marine) !important; }
.cky-modal .cky-preference-title { font-weight: 700 !important; font-size: 1.05rem !important; }
.cky-modal .cky-accordion-btn { font-weight: 700 !important; }
.cky-modal .cky-show-desc-btn { color: var(--b-marine) !important; font-weight: 600 !important; text-decoration: underline !important; }
.cky-modal .cky-show-desc-btn:hover { color: var(--b-rouge) !important; }
.cky-modal .cky-always-active { color: var(--b-marine) !important; font-weight: 700 !important; }
.cky-modal .cky-horizontal-separator, .cky-modal .cky-preference-header, .cky-modal .cky-footer-wrapper,
.cky-modal .cky-accordion { border-color: var(--b-filet) !important; }
.cky-modal .cky-chevron-right { border-color: var(--b-marine) !important; }
.cky-modal .cky-audit-table { background: var(--b-gris) !important; border-radius: 12px !important; }
.cky-modal .cky-switch input[type="checkbox"] { background-color: #C9D2E6 !important; }
.cky-modal .cky-switch input[type="checkbox"]:checked { background-color: var(--b-marine) !important; }
.cky-modal .cky-prefrence-btn-wrapper { gap: .5rem; }
.cky-modal .cky-prefrence-btn-wrapper .cky-btn { flex: 1 1 0; margin: 0 !important; }

/* Icône de rappel (rouvrir les préférences) */
.cky-btn-revisit-wrapper { background-color: var(--b-marine) !important; border: 2px solid #fff !important; box-shadow: 0 10px 24px -12px rgba(17, 30, 64, .8) !important; transition: background-color .25s, transform .3s var(--b-ease) !important; }
.cky-btn-revisit-wrapper:hover { background-color: var(--b-rouge) !important; transform: scale(1.06); }

.cky-consent-container .cky-consent-bar, .cky-modal .cky-preference-center { box-sizing: border-box !important; max-width: 100vw; }
.cky-consent-container .cky-btn-accept, .cky-modal .cky-btn-accept { order: 1; }
.cky-consent-container .cky-btn-reject, .cky-modal .cky-btn-reject { order: 2; }
.cky-modal .cky-btn-preferences { order: 3; }
@media (max-width: 576px) {
	.cky-consent-container { max-width: 100vw !important; }
	.cky-consent-container .cky-consent-bar { border-radius: 20px 20px 0 0 !important; border-width: 1px 0 0 !important; }
	.cky-consent-container .cky-notice-btn-wrapper { flex-direction: column !important; }
	.cky-consent-container .cky-notice-btn-wrapper .cky-btn { width: 100%; flex: none; }
	.cky-consent-container .cky-btn-accept { order: 1 !important; }
	.cky-consent-container .cky-btn-reject { order: 2 !important; }
	.cky-consent-container .cky-btn-customize { order: 3 !important; }
	.cky-modal .cky-preference-center { border-radius: 0 !important; }
	.cky-modal .cky-prefrence-btn-wrapper { flex-direction: column !important; }
	.cky-modal .cky-btn-accept { order: 1 !important; }
	.cky-modal .cky-btn-reject { order: 2 !important; }
	.cky-modal .cky-btn-preferences { order: 3 !important; }
	.cky-modal .cky-prefrence-btn-wrapper .cky-btn { width: 100%; flex: none; }
}

/* ==========================================================================
   Pages intérieures
   ========================================================================== */

/* Focus clavier lisible sur fond sombre */
.bama-sombre :focus-visible, .bama-hero :focus-visible, .bama-footer :focus-visible,
.bama-page-hero :focus-visible, .bama-cta :focus-visible, .bama-404 :focus-visible,
.bama-fiche :focus-visible, .bama-partenaire :focus-visible, .bama-contact__carte :focus-visible { outline-color: #fff; }

.bama-main--large > * { margin-block: 0; }

/* Bandeau de titre des pages pleine largeur */
.bama-page-hero--large { padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3.5rem, 7vw, 5.5rem); }
.bama-page-hero__texte .wp-block-post-title { width: auto !important; margin: 0 !important; max-width: 16em; }
.bama-page-hero__intro { margin: 1.4rem 0 0; animation: bama-monte .9s var(--b-ease) .25s both; }
.bama-page-hero__intro p { margin: 0; max-width: 40em; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .82); line-height: 1.65; }
.bama-page-hero--large .wp-block-post-title { animation: bama-monte .9s var(--b-ease) both; }
@keyframes bama-monte { from { opacity: 0; transform: translateY(18px); } }
.bama-symbole--page { top: 50%; right: max(var(--b-gut), calc((100% - var(--b-max)) / 2)); transform: translateY(-50%); width: 150px; height: 150px; z-index: 1; }
@media (max-width: 900px) { .bama-symbole--page { display: none; } }

/* Lien avec flèche */
.bama-lien-fleche { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--b-marine); text-decoration: none; font-size: .95rem; }
.bama-lien-fleche svg { width: 17px; height: 17px; transition: transform .35s var(--b-ease); }
.bama-lien-fleche:hover { color: var(--b-rouge); }
.bama-lien-fleche:hover svg { transform: translateX(4px); }

/* Mise en page texte + visuel */
.bama-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.bama-split__texte h2 { margin: 0 0 1.25rem; }
.bama-split__texte p { margin: 0 0 1rem; color: var(--b-encre-douce); }
.bama-split__texte p strong { color: var(--b-encre); }
@media (max-width: 960px) { .bama-split { grid-template-columns: 1fr; } }

/* Fiche « en bref » */
.bama-fiche { background: var(--b-marine); color: rgba(255, 255, 255, .8); border-radius: 24px; padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--b-ombre); position: relative; overflow: hidden; }
.bama-fiche::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .1) 1.2px, transparent 1.5px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(200deg, #000, transparent 55%); mask-image: linear-gradient(200deg, #000, transparent 55%); }
.bama-fiche > * { position: relative; }
.bama-fiche__titre { margin: 0 0 1.25rem; color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; }
.bama-fiche ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.bama-fiche li { display: flex; gap: .9rem; align-items: center; font-size: .9rem; line-height: 1.45; }
.bama-fiche li strong { display: block; color: #fff; font-size: 1rem; }
.bama-fiche .bama-icone { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; }
.bama-fiche .bama-icone svg { width: 22px; height: 22px; }

/* Parcours du dirigeant */
.bama-parcours-bloc { position: relative; z-index: 1; margin-top: clamp(3.5rem, 7vw, 5rem); }
.bama-parcours__titre { color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 1.75rem; }
.bama-parcours { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; position: relative; }
.bama-parcours::before, .bama-parcours::after { content: ""; position: absolute; left: 26px; right: 26px; top: 26px; height: 2px; background: rgba(255, 255, 255, .15); }
.bama-parcours::after { background: var(--b-rouge); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--b-ease) .2s; }
.bama-parcours.is-visible::after { transform: scaleX(1); }
.bama-etape { position: relative; }
.bama-etape .bama-icone { position: relative; z-index: 1; background: var(--b-marine-fonce); color: #fff; border: 2px solid rgba(255, 255, 255, .2); border-radius: 50%; }
.bama-etape:hover .bama-icone { background: var(--b-rouge); border-color: var(--b-rouge); }
.bama-etape h3 { margin: 1rem 0 .35rem; font-size: 1.02rem; }
.bama-etape p { margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .72); line-height: 1.55; }
@media (max-width: 900px) {
	.bama-parcours { grid-template-columns: 1fr; gap: 1.5rem; }
	.bama-parcours::before, .bama-parcours::after { left: 25px; right: auto; top: 26px; bottom: 26px; width: 2px; height: auto; }
	.bama-parcours::after { transform: scaleY(0); transform-origin: top; }
	.bama-parcours.is-visible::after { transform: scaleY(1); }
	.bama-etape { display: grid; grid-template-columns: 52px 1fr; column-gap: 1rem; }
	.bama-etape .bama-icone { grid-row: span 2; }
	.bama-etape h3 { margin: .2rem 0 .25rem; }
}

/* Vision / mission */
.bama-vm { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.bama-vm__carte { margin: 0; position: relative; background: #fff; border-radius: 24px; padding: clamp(1.75rem, 4vw, 3rem); box-shadow: var(--b-ombre-legere); overflow: hidden; transition: transform .5s var(--b-ease), box-shadow .5s var(--b-ease); }
.bama-vm__carte:hover { transform: translateY(-5px); box-shadow: var(--b-ombre); }
.bama-vm__carte::before { content: "\201C"; position: absolute; right: 1.5rem; top: -1.5rem; font-size: 9rem; line-height: 1; font-weight: 800; color: var(--b-gris); }
.bama-vm__label { position: relative; display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--b-rouge); margin-bottom: 1rem; }
.bama-vm blockquote { margin: 0; position: relative; }
.bama-vm blockquote p { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 700; line-height: 1.35; color: var(--b-marine); letter-spacing: -.01em; }
.bama-vm__carte--marine { background: var(--b-marine); }
.bama-vm__carte--marine::before { color: rgba(255, 255, 255, .08); }
.bama-vm__carte--marine .bama-vm__label { color: #fff; }
.bama-vm__carte--marine blockquote p { color: #fff; }
@media (max-width: 800px) { .bama-vm { grid-template-columns: 1fr; } }

/* Valeurs, version claire */
.bama-valeurs--clair { margin-top: 0; }
.bama-valeurs--clair .bama-valeur { background: var(--b-gris); border-color: transparent; position: relative; overflow: hidden; }
.bama-valeurs--clair .bama-valeur:hover { background: #fff; box-shadow: var(--b-ombre-legere); }
.bama-valeurs--clair .bama-valeur h3 { color: var(--b-marine); }
.bama-valeurs--clair .bama-valeur p { color: var(--b-encre-douce); }
.bama-valeur__num { position: absolute; right: 1.25rem; top: .75rem; font-size: 2.6rem; font-weight: 800; color: rgba(28, 49, 100, .08); line-height: 1; }

/* Schéma Pennylane */
.bama-flux { display: grid; max-width: 420px; margin-inline: auto; width: 100%; }
.bama-flux__noeud {
	display: grid; grid-template-columns: 48px 1fr; column-gap: 1rem; align-items: center;
	background: #fff; border-radius: 18px; padding: .9rem 1.1rem; box-shadow: var(--b-ombre-legere); border: 1px solid var(--b-filet);
	opacity: 0; transform: translateY(16px); transition: opacity .7s var(--b-ease), transform .7s var(--b-ease); transition-delay: calc(var(--i) * 220ms);
}
.bama-flux__noeud .bama-icone { grid-row: span 2; width: 48px; height: 48px; }
.bama-flux__noeud strong { color: var(--b-marine); font-size: 1rem; }
.bama-flux__noeud small { color: var(--b-encre-douce); font-size: .82rem; }
.bama-flux__noeud--centre { background: var(--b-marine); border-color: var(--b-marine); }
.bama-flux__noeud--centre strong { color: #fff; }
.bama-flux__noeud--centre small { color: rgba(255, 255, 255, .75); }
.bama-flux__noeud--centre .bama-icone { background: rgba(255, 255, 255, .12); color: #fff; }
.bama-flux__noeud--rouge .bama-icone { background: var(--b-rouge); color: #fff; }
.bama-flux__lien { position: relative; height: 34px; width: 2px; margin-left: calc(1.1rem + 23px); background: var(--b-filet); overflow: hidden; }
.bama-flux__lien::after { content: ""; position: absolute; left: -2px; width: 6px; height: 10px; border-radius: 4px; background: var(--b-rouge); top: -12px; animation: bama-goutte 1.8s ease-in infinite; animation-delay: calc(var(--i) * .3s); }
@keyframes bama-goutte { to { top: 100%; } }
.bama-flux.is-visible .bama-flux__noeud, .no-js .bama-flux__noeud { opacity: 1; transform: none; }
html:not(.bama-js) .bama-flux__noeud { opacity: 1; transform: none; }

/* Partenaire BNP Paribas */
.bama-partenaire {
	display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center;
	background: var(--b-marine); color: rgba(255, 255, 255, .82); border-radius: 28px; padding: clamp(1.75rem, 4vw, 3rem);
	position: relative; overflow: hidden; box-shadow: var(--b-ombre);
}
.bama-partenaire::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -180px; border-radius: 50%; background: radial-gradient(rgba(215, 24, 33, .35), transparent 65%); }
.bama-partenaire > * { position: relative; z-index: 1; }
.bama-partenaire .bama-icone { width: 72px; height: 72px; border-radius: 20px; background: rgba(255, 255, 255, .1); color: #fff; }
.bama-partenaire .bama-icone svg { width: 34px; height: 34px; }
.bama-partenaire .bama-surtitre { color: #fff; }
.bama-partenaire .bama-surtitre::before { background: var(--b-rouge); }
.bama-partenaire h2 { color: #fff; margin: 0 0 .75rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.bama-partenaire p { margin: 0; }
@media (max-width: 900px) { .bama-partenaire { grid-template-columns: 1fr; } }

/* Sommaire collant (Nos expertises) */
.bama-sommaire {
	position: sticky; z-index: 40; top: calc(var(--wp-admin--admin-bar--height, 0px) + 68px);
	background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--b-filet);
}
@media (max-width: 781px) { .bama-sommaire { top: calc(var(--wp-admin--admin-bar--height, 0px) + 72px); } }
.bama-sommaire__piste { display: flex; gap: .5rem; overflow-x: auto; padding-block: .8rem; scrollbar-width: none; }
.bama-sommaire__piste::-webkit-scrollbar { display: none; }
.bama-sommaire a {
	flex: none; display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .95rem; border-radius: 99px;
	font-size: .85rem; font-weight: 600; color: var(--b-marine); text-decoration: none; background: var(--b-gris);
	transition: background-color .3s, color .3s;
}
.bama-sommaire a span { font-size: .72rem; font-weight: 800; color: var(--b-rouge); transition: color .3s; }
.bama-sommaire a:hover { background: #E4E9F3; }
.bama-sommaire a[aria-current="true"] { background: var(--b-marine); color: #fff; }
.bama-sommaire a[aria-current="true"] span { color: #fff; }
.bama-expertise, .bama-cia { scroll-margin-top: 140px; }

/* Section d'expertise */
.bama-expertise__grille { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.bama-expertise__tete { position: sticky; top: 160px; }
.bama-expertise__num { display: block; font-size: clamp(4rem, 8vw, 6rem); font-weight: 800; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px #B9C4DC; margin-bottom: 1rem; letter-spacing: -.04em; }
.bama-expertise__tete .bama-icone { width: 58px; height: 58px; background: var(--b-marine); color: #fff; }
.bama-section--gris .bama-expertise__tete .bama-icone { background: var(--b-rouge); }
.bama-expertise__tete h2 { margin: 1.25rem 0 .6rem; font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.bama-expertise__accroche { margin: 0; color: var(--b-encre-douce); font-size: 1.08rem; font-weight: 500; }
.bama-expertise__intro { margin: 0 0 2rem; font-size: clamp(1.08rem, 1.6vw, 1.2rem); line-height: 1.7; color: var(--b-encre); }
.bama-expertise__colonnes { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.25rem; }
.bama-expertise__bloc { background: #fff; border: 1px solid var(--b-filet); border-radius: var(--b-rayon); padding: 1.5rem; }
.bama-expertise__bloc h3 { margin: 0 0 1rem; font-size: 1.02rem; }
.bama-expertise__bloc .bama-liste-coches { margin: 0; gap: .7rem; font-size: .95rem; }
.bama-expertise__bloc--accent { background: var(--b-marine); border-color: var(--b-marine); color: rgba(255, 255, 255, .82); display: flex; flex-direction: column; gap: 1rem; }
.bama-expertise__bloc--accent h3 { color: #fff; margin: 0; }
.bama-expertise__bloc--accent p { margin: 0; flex: 1; font-size: .95rem; }
.bama-expertise__bloc--accent .bama-lien-fleche, .bama-expertise__bloc--accent .bama-lien-fleche:hover { color: #fff; }
.bama-expertise__bloc--accent .bama-lien-fleche:hover { text-decoration: underline; text-underline-offset: 3px; }
.bama-expertise__bloc--accent :focus-visible { outline-color: #fff; }
@media (max-width: 960px) {
	.bama-expertise__grille { grid-template-columns: 1fr; }
	.bama-expertise__tete { position: static; }
	.bama-expertise__num { font-size: 3.5rem; }
}
@media (max-width: 640px) { .bama-expertise__colonnes { grid-template-columns: 1fr; } }

/* Formation CIA */
.bama-cia { overflow: hidden; background: var(--b-marine-fonce); }
.bama-cia > .bama-wrap { position: relative; z-index: 1; }
.bama-cia__tete { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.bama-cia h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 1.25rem; }
.bama-cia__intro { font-size: 1.15rem; color: #fff; }
.bama-cia__tete p { margin: 0 0 1rem; }
.bama-cia__badge { position: relative; width: min(260px, 70vw); aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; align-content: center; text-align: center; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #2D4A8C, var(--b-marine-fonce)); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.bama-cia__anneau { position: absolute; inset: -14px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .3); animation: bama-tourne 30s linear infinite; }
.bama-cia__anneau::after { content: ""; position: absolute; top: -7px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--b-rouge); }
@keyframes bama-tourne { to { transform: rotate(360deg); } }
.bama-cia__sigle { font-size: clamp(3rem, 7vw, 4.5rem); font-weight: 800; color: #fff; letter-spacing: .04em; line-height: 1; }
.bama-cia__legende { margin-top: .5rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .7); max-width: 12em; }
.bama-cia__cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.bama-cia__carte { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--b-rayon); padding: 1.75rem; transition: background-color .4s, transform .5s var(--b-ease); }
.bama-cia__carte:hover { background: rgba(255, 255, 255, .1); transform: translateY(-4px); }
.bama-cia__carte .bama-icone { background: rgba(255, 255, 255, .12); color: #fff; }
.bama-cia__carte h3 { margin: 1.1rem 0 .9rem; font-size: 1.12rem; }
.bama-cia__carte p { margin: 0 0 .8rem; font-size: .95rem; }
.bama-cia__carte .bama-liste-coches { margin: 0; gap: .6rem; font-size: .95rem; }
.bama-cia__actions { margin-top: 2.5rem; }
@media (max-width: 900px) { .bama-cia__tete, .bama-cia__cartes { grid-template-columns: 1fr; } }

/* Emplacements à compléter */
.bama-a-completer-bloc { border: 2px dashed #E3C35A; background: #FFF8E1; color: #6B4E00; border-radius: 12px; padding: .75rem 1rem; font-size: .88rem; font-weight: 600; }
.bama-a-completer-bloc--sombre { margin: .5rem 0 1.25rem !important; }
.bama-a-confirmer { text-decoration: underline dotted #B9A15A; text-underline-offset: 3px; cursor: help; }
mark.bama-a-completer { background: #FFF2CC; color: #6B4E00; }

/* Profils clients */
.bama-profils-detail { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 255px), 1fr)); gap: 1.25rem; }
.bama-profil-carte { position: relative; display: flex; flex-direction: column; gap: .9rem; background: #fff; border: 1px solid var(--b-filet); border-radius: var(--b-rayon); padding: 1.6rem; text-decoration: none; color: inherit; transition: transform .5s var(--b-ease), box-shadow .5s var(--b-ease), border-color .4s; overflow: hidden; }
.bama-profil-carte::before { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--b-rouge); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--b-ease); }
.bama-profil-carte:hover { transform: translateY(-6px); box-shadow: var(--b-ombre); border-color: transparent; }
.bama-profil-carte:hover::before { transform: scaleX(1); }
.bama-profil-carte:hover .bama-icone { background: var(--b-marine); color: #fff; transform: rotate(-6deg); }
.bama-profil-carte h3 { margin: 0; font-size: 1.15rem; }
.bama-profil-carte p { margin: 0; color: var(--b-encre-douce); font-size: .95rem; line-height: 1.6; }
.bama-profil-carte--cta { background: var(--b-rouge); border-color: var(--b-rouge); color: #fff; }
.bama-profil-carte--cta h3, .bama-profil-carte--cta .bama-lien-fleche { color: #fff; }
.bama-profil-carte--cta p { color: #fff; flex: 1; }
.bama-profil-carte--cta .bama-icone { background: rgba(255, 255, 255, .16); color: #fff; }
.bama-profil-carte--cta::before { background: #fff; }
.bama-profil-carte--cta:hover { color: #fff; }
.bama-profil-carte--cta:hover .bama-icone { background: #fff; color: var(--b-rouge); }
.bama-profil-carte--cta:focus-visible { outline-color: var(--b-marine); }

/* Secteurs (détail) */
.bama-secteurs-detail { display: grid; gap: .9rem; }
.bama-secteur-ligne { display: grid; grid-template-columns: 56px minmax(0, 220px) 1fr; gap: 1.5rem; align-items: center; background: #fff; border-radius: var(--b-rayon); padding: 1.25rem 1.5rem; transition: transform .5s var(--b-ease), box-shadow .5s var(--b-ease); }
.bama-secteur-ligne:hover { transform: translateX(6px); box-shadow: var(--b-ombre-legere); }
.bama-secteur-ligne:hover .bama-icone { background: var(--b-rouge); color: #fff; }
.bama-secteur-ligne .bama-icone { width: 56px; height: 56px; border-radius: 50%; }
.bama-secteur-ligne h3 { margin: 0; font-size: 1.25rem; }
.bama-secteur-ligne p { margin: 0; color: var(--b-encre-douce); font-size: .96rem; }
@media (max-width: 760px) { .bama-secteur-ligne { grid-template-columns: 48px 1fr; gap: .4rem 1rem; } .bama-secteur-ligne .bama-icone { grid-row: span 2; width: 48px; height: 48px; } }

/* Zone d'intervention */
.bama-zone { position: relative; aspect-ratio: 1; width: min(440px, 100%); margin-inline: auto; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, var(--b-gris) 0 34%, transparent 35%); }
.bama-zone__onde { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(28, 49, 100, .18); transform: scale(.3); opacity: 0; animation: bama-onde-zone 4.5s ease-out infinite; animation-delay: calc(var(--i) * 1.5s); }
@keyframes bama-onde-zone { 0% { transform: scale(.3); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
.bama-zone__pin { position: relative; z-index: 2; width: 74px; height: 74px; border-radius: 50%; background: var(--b-rouge); display: grid; place-items: center; box-shadow: 0 16px 30px -12px rgba(215, 24, 33, .8); }
.bama-zone__pin svg { width: 36px; height: 36px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bama-zone__etiquette { position: absolute; z-index: 3; background: #fff; color: var(--b-marine); font-weight: 700; font-size: .85rem; padding: .5rem .85rem; border-radius: 99px; box-shadow: var(--b-ombre-legere); white-space: nowrap; animation: bama-flotte 7s ease-in-out infinite; }
.bama-zone__etiquette--1 { top: 27%; left: 50%; translate: -50% 0; animation: none; background: var(--b-marine); color: #fff; }
.bama-zone__etiquette--2 { top: 12%; right: 2%; animation-delay: -2s; }
.bama-zone__etiquette--3 { bottom: 20%; left: 0; animation-delay: -4s; }
.bama-zone__etiquette--4 { bottom: 4%; right: 4%; background: var(--b-rouge); color: #fff; animation-delay: -1s; }

/* Étapes */
.bama-etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.bama-etapes li { background: #fff; border-radius: var(--b-rayon); padding: 1.75rem; box-shadow: var(--b-ombre-legere); transition: transform .5s var(--b-ease); }
.bama-etapes li:hover { transform: translateY(-5px); }
.bama-etapes__num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--b-marine); color: #fff; font-weight: 800; font-size: 1.15rem; }
.bama-etapes li:nth-child(3) .bama-etapes__num { background: var(--b-rouge); }
.bama-etapes h3 { margin: 1.1rem 0 .4rem; font-size: 1.1rem; }
.bama-etapes p { margin: 0; color: var(--b-encre-douce); font-size: .95rem; }
@media (max-width: 860px) { .bama-etapes { grid-template-columns: 1fr; } }

/* Contact */
.bama-contact-section { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.bama-raccourcis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.bama-raccourci { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.4rem; border-radius: var(--b-rayon); border: 1px solid var(--b-filet); background: #fff; text-decoration: none; color: var(--b-encre-douce); font-size: .9rem; line-height: 1.4; transition: transform .45s var(--b-ease), box-shadow .45s var(--b-ease), border-color .3s, background-color .3s; }
.bama-raccourci strong { display: block; color: var(--b-marine); font-size: 1.05rem; }
.bama-raccourci:hover { transform: translateY(-4px); box-shadow: var(--b-ombre-legere); border-color: transparent; color: var(--b-encre-douce); }
.bama-raccourci:hover .bama-icone { background: var(--b-marine); color: #fff; }
.bama-raccourci--rouge { background: var(--b-rouge); border-color: var(--b-rouge); color: #fff; }
.bama-raccourci--rouge strong { color: #fff; }
.bama-raccourci--rouge .bama-icone { background: rgba(255, 255, 255, .16); color: #fff; }
.bama-raccourci--rouge:hover { color: #fff; background: var(--b-rouge-fonce); }
.bama-raccourci--rouge:hover .bama-icone { background: #fff; color: var(--b-rouge); }
@media (max-width: 860px) { .bama-raccourcis { grid-template-columns: 1fr; } }
.bama-contact__form h2 { margin: 0 0 .5rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.bama-contact__aide { margin: 0 0 1.75rem; color: var(--b-encre-douce); }
.bama-horaires { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .45rem; }
.bama-horaires li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed rgba(255, 255, 255, .2); padding-bottom: .45rem; }
.bama-horaires strong { color: #fff; }

/* 404 */
.bama-404 { position: relative; overflow: hidden; background: var(--b-marine); color: rgba(255, 255, 255, .85); padding-block: clamp(4rem, 10vw, 8rem); min-height: 70vh; display: grid; align-items: center; }
.bama-404__grille { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.bama-404__chiffre { display: flex; align-items: center; justify-content: center; gap: .1em; font-size: clamp(6rem, 16vw, 12rem); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.04em; }
.bama-404__zero { position: relative; display: inline-grid; place-items: center; width: .82em; height: .82em; border-radius: 50%; border: .09em solid var(--b-rouge); }
.bama-404__zero .bama-symbole { position: relative; inset: auto; top: auto; right: auto; width: .42em; height: .42em; }
.bama-404 h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 1rem; }
.bama-404 p { margin: 0 0 1rem; max-width: 34em; }
.bama-404 .bama-surtitre { color: #fff; }
.bama-404 .bama-surtitre::before { background: var(--b-rouge); }
@media (max-width: 860px) { .bama-404__grille { grid-template-columns: 1fr; text-align: center; } .bama-404 .bama-boutons { justify-content: center; } .bama-404 p { margin-inline: auto; } }

/* Pages légales */
.bama-fiche-legale { margin: 0; display: grid; border: 1px solid var(--b-filet); border-radius: 16px; overflow: hidden; }
.bama-fiche-legale > div { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 1rem; padding: .75rem 1.25rem; }
.bama-fiche-legale > div:nth-child(odd) { background: var(--b-gris); }
.bama-fiche-legale dt { font-weight: 700; color: var(--b-marine); font-size: .92rem; }
.bama-fiche-legale dd { margin: 0; }
@media (max-width: 600px) { .bama-fiche-legale > div { grid-template-columns: 1fr; gap: .15rem; } }
.bama-tableau-rgpd { overflow-x: auto; border: 1px solid var(--b-filet); border-radius: 16px; }
.bama-tableau-rgpd table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
.bama-tableau-rgpd th { text-align: left; background: var(--b-marine); color: #fff; padding: .8rem 1rem; font-weight: 600; }
.bama-tableau-rgpd td { padding: .8rem 1rem; border-top: 1px solid var(--b-filet); vertical-align: top; }
.bama-maj { font-size: .88rem; color: var(--b-encre-douce); }
.bama-page-contenu ul.wp-block-list { padding-left: 1.25rem; }
.bama-page-contenu ul.wp-block-list li + li { margin-top: .4rem; }
