/* =========================================================================
   Goffart Formations — système de design v2
   Direction artistique : corporate contemporain, rouge identitaire #ab2328,
   typographie Montserrat / Inter (auto-hébergées), mouvements sobres.
   ========================================================================= */

:root {
	--rouge: #ab2328;
	--rouge-vif: #c62d33;
	--rouge-fonce: #841a1f;
	--rouge-pale: #faf1f1;
	--bleu-nuit: #1c2637;
	--encre: #14181f;
	--encre-2: #1e242e;
	--texte: #39404b;
	--texte-2: #616977;
	--ligne: #e6e8ed;
	--ligne-sombre: #2b323e;
	--fond: #ffffff;
	--fond-2: #f6f7f9;
	--fond-fonce: #14181f;
	--sur-sombre: #b9c0cb;
	--ok: #1a7f37;
	--radius: 12px;
	--radius-sm: 8px;
	--ombre: 0 1px 2px rgba(16, 20, 26, .05), 0 10px 30px -12px rgba(16, 20, 26, .14);
	--ombre-forte: 0 24px 60px -20px rgba(16, 20, 26, .35);
	--titres: "Montserrat", -apple-system, "Segoe UI", Arial, sans-serif;
	--police: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--transition: .2s ease;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--police);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--texte);
	background: var(--fond);
}
img { max-width: 100%; height: auto; }
a { color: var(--rouge); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--rouge-vif); }
h1, h2, h3, h4 { font-family: var(--titres); color: var(--encre); line-height: 1.15; font-weight: 700; letter-spacing: -.015em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
hr, .dc-divider { border: 0; border-top: 1px solid var(--ligne); margin: 2rem 0; }
::selection { background: var(--rouge); color: #fff; }

.gf-container { max-width: 1200px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.gf-container--large { max-width: 1320px; }
.gf-skip { position: absolute; left: -999px; top: 0; background: var(--encre); color: #fff; padding: .6rem 1rem; z-index: 999; }
.gf-skip:focus { left: 0; }

.gfi { vertical-align: -.18em; }

/* ---------- Animations d'apparition au scroll ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .65s cubic-bezier(.22,.61,.36,1), transform .65s cubic-bezier(.22,.61,.36,1); transition-delay: var(--d, 0s); }
.rv.rv-in { opacity: 1; transform: none; }
@keyframes gf-flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes gf-pulse { 0% { box-shadow: 0 0 0 0 rgba(198, 45, 51, .45); } 70% { box-shadow: 0 0 0 14px rgba(198, 45, 51, 0); } 100% { box-shadow: 0 0 0 0 rgba(198, 45, 51, 0); } }
@keyframes gf-zoom-hero { from { transform: scale(1.06); } to { transform: scale(1); } }

/* ---------- Boutons ---------- */
.gf-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	background: var(--rouge);
	color: #fff;
	font-family: var(--police);
	font-weight: 600;
	font-size: .97rem;
	padding: .7rem 1.35rem;
	border: 1.5px solid var(--rouge);
	border-radius: 99px;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.gf-btn:hover { background: var(--rouge-vif); border-color: var(--rouge-vif); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(171, 35, 40, .55); }
.gf-btn:active { transform: translateY(0); }
.gf-btn--ghost { background: transparent; color: var(--rouge); }
.gf-btn--ghost:hover { background: var(--rouge-pale); color: var(--rouge-fonce); box-shadow: none; }
.gf-btn--light { background: #fff; border-color: #fff; color: var(--encre); }
.gf-btn--light:hover { background: #f1f2f4; border-color: #f1f2f4; color: var(--encre); box-shadow: none; }
.gf-btn--lg { padding: .9rem 1.7rem; font-size: 1.05rem; }

/* ---------- Topbar ---------- */
.gf-topbar { background: var(--encre); color: var(--sur-sombre); font-size: .85rem; }
.gf-topbar .gf-container { display: flex; gap: 1.25rem; align-items: center; min-height: 38px; flex-wrap: wrap; }
.gf-topbar__spacer { flex: 1; }
.gf-topbar a { color: #e8eaee; text-decoration: none; }
.gf-topbar a:hover { color: #fff; text-decoration: underline; }
.gf-topbar__tel { font-weight: 700; color: #fff !important; }
.gf-topbar strong { color: #fff; }

/* ---------- Header / navigation ---------- */
.gf-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--ligne);
}
.gf-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.gf-logo { display: flex; align-items: center; flex-shrink: 0; }
.gf-logo img { width: 132px; height: auto; display: block; }
.gf-nav { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.gf-nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.gf-nav__list a {
	display: block; padding: .55rem .85rem;
	color: var(--encre); font-weight: 500; font-size: .97rem;
	text-decoration: none; border-radius: var(--radius-sm);
}
.gf-nav__list a:hover { background: var(--fond-2); color: var(--rouge); }
.gf-nav__list .current-menu-item > a, .gf-nav__list .current-menu-ancestor > a { color: var(--rouge); font-weight: 600; }
.gf-nav__list li { position: relative; }
.gf-nav__list .sub-menu {
	position: absolute; top: 100%; left: 0;
	min-width: 320px; padding: .5rem; margin: 0;
	list-style: none; background: #fff;
	border: 1px solid var(--ligne); border-radius: var(--radius);
	box-shadow: var(--ombre-forte);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
	z-index: 90;
}
.gf-nav__list li:hover > .sub-menu,
.gf-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.gf-nav__list .sub-menu a { font-weight: 500; font-size: .93rem; padding: .5rem .7rem; }
.gf-nav__cta { white-space: nowrap; }
.gf-burger { display: none; }

/* ---------- Composant recherche formations ---------- */
.gf-search { position: relative; max-width: 560px; }
.gf-search__ico { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--texte-2); pointer-events: none; display: flex; }
.gf-search__input {
	width: 100%;
	font: inherit; font-size: 1rem;
	padding: .95rem 1.25rem .95rem 3rem;
	border: 1.5px solid var(--ligne);
	border-radius: 99px;
	background: #fff;
	color: var(--encre);
	box-shadow: var(--ombre);
	transition: border-color var(--transition), box-shadow var(--transition);
}
.gf-search__input:focus { outline: none; border-color: var(--rouge); box-shadow: 0 0 0 4px rgba(171, 35, 40, .12); }
.gf-search__resultats {
	position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 80;
	background: #fff; border: 1px solid var(--ligne); border-radius: var(--radius);
	box-shadow: var(--ombre-forte);
	max-height: 340px; overflow-y: auto;
	padding: .4rem;
}
.gf-search__resultats a {
	display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
	padding: .6rem .8rem; border-radius: var(--radius-sm);
	color: var(--encre); font-size: .93rem; font-weight: 500; text-decoration: none;
}
.gf-search__resultats a:hover, .gf-search__resultats a.actif { background: var(--rouge-pale); color: var(--rouge-fonce); }
.gf-search__resultats a span { font-size: .78rem; color: var(--texte-2); font-weight: 400; white-space: nowrap; }
.gf-search__resultats .gf-search__vide { padding: .8rem; color: var(--texte-2); font-size: .9rem; }
.gf-search__resultats .gf-search__tout { border-top: 1px solid var(--ligne); margin-top: .3rem; color: var(--rouge); justify-content: center; font-weight: 600; }

/* ---------- Hero v2 ---------- */
.gf-hero { position: relative; background: var(--fond-fonce); color: var(--sur-sombre); overflow: hidden; }
.gf-hero::before {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(900px 500px at 85% 10%, rgba(171, 35, 40, .28), transparent 60%),
	            radial-gradient(700px 500px at -10% 100%, rgba(171, 35, 40, .12), transparent 60%);
	pointer-events: none;
}
.gf-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem); }
.gf-hero h1 { color: #fff; margin-bottom: 1rem; }
.gf-souligne {
	background-image: linear-gradient(var(--rouge-vif), var(--rouge-vif));
	background-repeat: no-repeat;
	background-position: 0 92%;
	background-size: 0% .14em;
	-webkit-box-decoration-break: clone; box-decoration-break: clone;
	animation: gf-trait .8s .5s cubic-bezier(.22,.61,.36,1) forwards;
}
@keyframes gf-trait { to { background-size: 100% .14em; } }
.gf-kicker {
	display: inline-flex; align-items: center; gap: .5rem;
	font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	color: var(--rouge-vif); margin-bottom: 1rem;
}
.gf-kicker::before { content: ""; width: 26px; height: 2px; background: var(--rouge-vif); border-radius: 2px; }
.gf-hero .gf-kicker, .gf-kicker--light { color: #fff; }
.gf-hero .gf-kicker::before, .gf-kicker--light::before { background: var(--rouge-vif); }
.gf-hero__intro { font-size: 1.08rem; max-width: 600px; color: var(--sur-sombre); }
.gf-hero .gf-search { margin: 1.5rem 0 1rem; }
.gf-hero .gf-search__input { border-color: transparent; box-shadow: 0 18px 44px -18px rgba(0, 0, 0, .6); }
.gf-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; margin-top: 1.25rem; }
.gf-hero__tel { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; }
.gf-hero__tel:hover { color: #fff; text-decoration: underline; }
.gf-hero__preuves { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; }
.gf-hero__preuves strong { display: block; color: #fff; font-family: var(--titres); font-size: 1.15rem; letter-spacing: -.01em; }

/* Visuel héro : photo + badges flottants */
.gf-hero__visuel { position: relative; }
.gf-hero__photo { border-radius: 18px; box-shadow: var(--ombre-forte); overflow: hidden; aspect-ratio: 4 / 4.3; }
.gf-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 18%; display: block; animation: gf-zoom-hero 7s ease-out both; }
.gf-flotteur {
	position: absolute;
	background: #fff; color: var(--encre);
	border-radius: var(--radius); box-shadow: var(--ombre-forte);
	padding: .75rem 1rem;
	font-size: .85rem; font-weight: 600; line-height: 1.35;
	display: flex; align-items: center; gap: .6rem;
	animation: gf-flotte 6s ease-in-out infinite;
}
.gf-flotteur small { display: block; font-weight: 400; color: var(--texte-2); }
.gf-flotteur .gfi { color: var(--rouge); flex-shrink: 0; }
.gf-flotteur--1 { top: 6%; left: -9%; animation-delay: 0s; }
.gf-flotteur--2 { bottom: 22%; right: -7%; animation-delay: 1.6s; }
.gf-flotteur--3 { bottom: -4%; left: 8%; animation-delay: 3.2s; }

/* ---------- Bande logos ---------- */
.gf-logos-bande { padding: 2.25rem 0; border-bottom: 1px solid var(--ligne); }
.gf-logos-bande__titre { text-align: center; font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--texte-2); margin-bottom: 1.25rem; }
.gf-logos-bande .gs_logo_area { opacity: .85; }

/* ---------- Bandeau CARSAT ---------- */
.gf-strip { background: linear-gradient(95deg, var(--rouge-fonce), var(--rouge) 55%, var(--rouge-vif)); color: #fff; }
.gf-strip__inner { display: flex; align-items: center; justify-content: center; gap: 1.25rem; flex-wrap: wrap; padding-block: .9rem; }
.gf-strip p { margin: 0; font-size: 1rem; }
.gf-strip .gfi { vertical-align: -.28em; }

/* ---------- Sections ---------- */
.gf-section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.gf-section--soft { background: var(--fond-2); }
.gf-h2 { max-width: 880px; }
.gf-lead { font-size: 1.14rem; color: var(--texte-2); max-width: 760px; }
.gf-entete { margin-bottom: 2.25rem; }
.gf-entete--centre { text-align: center; }
.gf-entete--centre .gf-h2, .gf-entete--centre .gf-lead { margin-inline: auto; }
.gf-entete--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }

/* ---------- Domaines v2 : grandes tuiles à pictos ---------- */
.gf-domaines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.gf-domaine {
	position: relative; display: flex; flex-direction: column; gap: .55rem;
	background: #fff; border: 1px solid var(--ligne); border-radius: var(--radius);
	padding: 1.7rem 1.6rem 1.5rem;
	text-decoration: none;
	transition: border-color var(--transition), box-shadow var(--transition), transform .25s ease;
	overflow: hidden;
}
.gf-domaine::after {
	content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
	background: var(--rouge);
	transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.gf-domaine:hover { border-color: transparent; box-shadow: var(--ombre-forte); transform: translateY(-4px); }
.gf-domaine:hover::after { transform: scaleX(1); }
.gf-domaine__picto {
	width: 54px; height: 54px; border-radius: 14px;
	display: flex; align-items: center; justify-content: center;
	background: var(--rouge-pale); color: var(--rouge);
	transition: background var(--transition), color var(--transition), transform .25s ease;
	margin-bottom: .4rem;
}
.gf-domaine:hover .gf-domaine__picto { background: var(--rouge); color: #fff; transform: scale(1.06) rotate(-3deg); }
.gf-domaine h3 { font-size: 1.14rem; margin: 0; color: var(--encre); }
.gf-domaine__desc { font-size: .89rem; color: var(--texte-2); margin: 0; line-height: 1.55; }
.gf-domaine__pied { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: .6rem; font-size: .86rem; font-weight: 600; color: var(--rouge); }
.gf-domaine__pied .gfi { transition: transform var(--transition); }
.gf-domaine:hover .gf-domaine__pied .gfi { transform: translateX(4px); }
.gf-domaine__nb { color: var(--texte-2); font-weight: 500; }

/* ---------- Chiffres : bande sombre à compteurs ---------- */
.gf-chiffres { background: var(--fond-fonce); color: var(--sur-sombre); position: relative; overflow: hidden; }
.gf-chiffres::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 320px at 15% 0%, rgba(171, 35, 40, .25), transparent 60%); }
.gf-chiffres__grille { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding-block: clamp(2.75rem, 6vw, 4rem); }
.gf-chiffre { border-left: 2px solid var(--rouge); padding-left: 1.25rem; }
.gf-chiffre__n { display: block; font-family: var(--titres); font-weight: 700; font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.4rem); color: #fff; letter-spacing: -.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.gf-chiffre__l { display: block; font-weight: 600; color: #fff; margin-top: .35rem; }
.gf-chiffre p { margin: .3rem 0 0; font-size: .88rem; color: var(--sur-sombre); }

/* ---------- Processus en 3 étapes ---------- */
.gf-etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; position: relative; }
.gf-etape { position: relative; background: #fff; border: 1px solid var(--ligne); border-radius: var(--radius); padding: 1.75rem 1.6rem 1.6rem; }
.gf-etape__n {
	display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border-radius: 16px;
	background: var(--rouge); color: #fff;
	font-family: var(--titres); font-weight: 700; font-size: 1.5rem;
	margin-bottom: 1rem;
	box-shadow: 0 8px 18px -8px rgba(171, 35, 40, .6);
}
.gf-etape:not(:last-child)::after {
	content: ""; position: absolute; top: 44px; left: calc(100% - .35rem); width: calc(1.5rem + .7rem); height: 2px;
	background: repeating-linear-gradient(90deg, var(--rouge) 0 6px, transparent 6px 12px);
}
.gf-etape h3 { margin-bottom: .35rem; }
.gf-etape p { font-size: .95rem; color: var(--texte-2); margin: 0; }

/* ---------- Carte de France ---------- */
.gf-carte { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.gf-carte__img { position: relative; }
.gf-carte__img img { display: block; width: 100%; height: auto; max-width: 560px; margin-inline: auto; }
.gf-carte__points { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .9rem; }
.gf-carte__points li { display: flex; gap: .8rem; align-items: flex-start; }
.gf-carte__points .gfi { color: var(--rouge); flex-shrink: 0; margin-top: .2em; }
.gf-carte__points strong { color: var(--encre); }
.gf-carte blockquote { border-left: 3px solid var(--rouge); margin: 1.5rem 0 0; padding: .4rem 0 .4rem 1.2rem; color: var(--encre); font-weight: 600; font-size: 1.02rem; }

/* ---------- Pourquoi Goffart (USP) ---------- */
.gf-usp { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem 2.5rem; margin-top: 2rem; }
.gf-usp__item { display: flex; gap: 1.1rem; align-items: flex-start; }
.gf-usp__picto { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--rouge-pale); color: var(--rouge); display: flex; align-items: center; justify-content: center; }
.gf-usp__item h3 { margin-bottom: .25rem; }
.gf-usp__item p { margin: 0; font-size: .95rem; color: var(--texte-2); }

/* ---------- Avis ---------- */
.gf-avis__note { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.gf-avis__note strong { font-family: var(--titres); font-size: 2.6rem; color: var(--encre); letter-spacing: -.02em; }
.gf-avis__etoiles { color: #f5a623; display: flex; gap: .15rem; }
.gf-avis__note span { color: var(--texte-2); font-size: .92rem; }

/* ---------- FAQ : mise en page éditoriale ---------- */
.gf-faq { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.gf-faq__intro { position: sticky; top: 110px; }
.gf-faq__intro p { color: var(--texte-2); }
.dc-toggle { border: 1px solid var(--ligne); border-radius: var(--radius); background: #fff; margin-bottom: .65rem; transition: border-color var(--transition), box-shadow var(--transition); }
.dc-toggle[open] { border-color: var(--rouge); box-shadow: var(--ombre); }
.dc-toggle summary {
	cursor: pointer; list-style: none;
	padding: 1.05rem 1.3rem;
	font-weight: 600; color: var(--encre); font-size: .98rem;
	display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.dc-toggle summary::-webkit-details-marker { display: none; }
.dc-toggle summary::after { content: "+"; color: var(--rouge); font-size: 1.35rem; font-weight: 600; flex-shrink: 0; transition: transform var(--transition); line-height: 1; }
.dc-toggle[open] summary::after { transform: rotate(45deg); }
.dc-toggle__body { padding: 0 1.3rem 1.1rem; color: var(--texte); font-size: .96rem; }

/* ---------- Formulaire devis ---------- */
.gf-devis { background: var(--fond-fonce); color: var(--sur-sombre); position: relative; overflow: hidden; }
.gf-devis::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 500px at 100% 0%, rgba(171, 35, 40, .22), transparent 55%); }
.gf-devis .gf-h2, .gf-devis h3 { color: #fff; }
.gf-devis__grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.gf-devis__coords { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1.1rem; }
.gf-devis__coords li { display: flex; gap: .9rem; align-items: flex-start; }
.gf-devis__coords .gfi { color: var(--rouge-vif); flex-shrink: 0; margin-top: .2em; }
.gf-devis__coords strong { color: #fff; display: block; }
.gf-devis__coords a { color: #fff; font-weight: 600; }
.gf-devis__note { font-size: .92rem; }
.gf-devis__note .gfi { color: var(--rouge-vif); }
.gf-devis .gf-lead { color: var(--sur-sombre); }
.gf-devis__form { background: #fff; border-radius: var(--radius); padding: 1.9rem; color: var(--texte); box-shadow: var(--ombre-forte); }
.gf-devis__form h3 { color: var(--encre); margin-top: 0; }

.gf-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.gf-form label { display: block; font-size: .88rem; font-weight: 600; color: var(--encre); }
.gf-form input[type="text"], .gf-form input[type="email"], .gf-form input[type="tel"], .gf-form textarea {
	width: 100%; margin-top: .3rem;
	padding: .68rem .85rem;
	border: 1.5px solid var(--ligne); border-radius: var(--radius-sm);
	font: inherit; font-size: .95rem; color: var(--texte);
	background: var(--fond);
	transition: border-color var(--transition), box-shadow var(--transition);
}
.gf-form input:focus, .gf-form textarea:focus { outline: none; border-color: var(--rouge); box-shadow: 0 0 0 3px rgba(171, 35, 40, .1); }
.gf-form__full { margin-top: .9rem; }
.gf-form__rgpd { display: flex; gap: .5rem; align-items: flex-start; margin-top: .9rem; font-weight: 400 !important; font-size: .83rem !important; color: var(--texte-2) !important; }
.gf-form__rgpd input { margin-top: .2rem; accent-color: var(--rouge); }
.gf-form__note { font-size: .85rem; color: var(--texte-2); margin: 0; }
.gf-form__hp { position: absolute !important; left: -9999px !important; }
.gf-form__ok { background: #eaf6ee; border: 1px solid #b7dfc3; color: #14532d; border-radius: var(--radius); padding: 1.25rem; }
.gf-form__err { background: #fdf0f0; border: 1px solid #f0c4c4; color: #7f1d1d; border-radius: var(--radius); padding: 1rem; margin-bottom: 1rem; }

/* ---------- Cartes formation v2 ---------- */
.gf-grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.1rem; margin-top: 1.75rem; }
.gf-card {
	display: flex; flex-direction: column; gap: .65rem;
	background: #fff; border: 1px solid var(--ligne); border-radius: var(--radius);
	padding: 1.4rem 1.5rem;
	transition: border-color var(--transition), box-shadow var(--transition), transform .25s ease;
}
.gf-card:hover { border-color: transparent; box-shadow: var(--ombre-forte); transform: translateY(-3px); }
.gf-card__domaine { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--rouge); }
.gf-card__title { font-size: 1.04rem; margin: 0; line-height: 1.35; }
.gf-card__title a { color: var(--encre); text-decoration: none; }
.gf-card__title a:hover { color: var(--rouge); }
.gf-card__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; list-style: none; padding: 0; margin: 0; font-size: .88rem; color: var(--texte-2); }
.gf-card__meta .gfi { color: var(--rouge); margin-right: .3rem; }
.gf-card__prix strong { color: var(--encre); }
.gf-card__actions { display: flex; gap: .5rem; margin: auto 0 0; padding-top: .5rem; }
.gf-card__actions .gf-btn { font-size: .88rem; padding: .5rem 1rem; }

/* ---------- Catalogue (hub /formations/) ---------- */
.gf-catalogue__outils { display: grid; gap: 1.1rem; margin: 2rem 0 .5rem; }
.gf-filtres { display: flex; flex-wrap: wrap; gap: .5rem; }
.gf-filtre {
	font: inherit; font-size: .87rem; font-weight: 600;
	padding: .45rem 1rem;
	border: 1.5px solid var(--ligne); border-radius: 99px;
	background: #fff; color: var(--texte); cursor: pointer;
	transition: all var(--transition);
	display: inline-flex; align-items: center; gap: .4rem;
}
.gf-filtre:hover { border-color: var(--rouge); color: var(--rouge); }
.gf-filtre.actif { background: var(--rouge); border-color: var(--rouge); color: #fff; }
.gf-catalogue__compteur { font-size: .9rem; color: var(--texte-2); margin: 1rem 0 0; }

/* ---------- Pages ---------- */
.gf-page__head { background: linear-gradient(180deg, #fff 0%, var(--fond-2) 100%); border-bottom: 1px solid var(--ligne); padding: clamp(2rem, 5vw, 3.5rem) 0; }
.gf-page__head h1 { margin-bottom: .25rem; max-width: 22ch; text-wrap: balance; }
.gf-page__head .gf-kicker { margin-bottom: .5rem; }
.gf-page__head-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.gf-page__head-inner > div:only-child { grid-column: 1 / -1; }
.gf-page__photo img { display: block; width: 100%; height: clamp(200px, 24vw, 300px); object-fit: cover; border-radius: var(--radius); box-shadow: var(--ombre-forte); }
/* Rythme de lecture des pages rédigées dans les champs */
.gf-prose .gf-h2 { margin-top: 2.2em; }
.gf-prose .rv:first-child .gf-h2 { margin-top: 0; }
.gf-prose ul { padding-left: 1.15em; }
.gf-prose ul li { margin-bottom: .55em; }
.gf-prose ul li::marker { color: var(--rouge); }
.gf-prose a { color: var(--rouge-fonce); text-decoration-color: rgba(171, 35, 40, .35); text-underline-offset: 2px; }
.gf-prose a:hover { color: var(--rouge); }
.gf-breadcrumbs { font-size: .85rem; color: var(--texte-2); margin-bottom: .8rem; }
.gf-breadcrumbs a { color: var(--texte-2); text-decoration: none; }
.gf-breadcrumbs a:hover { color: var(--rouge); }
.gf-prose { max-width: 820px; }
.gf-prose img { border-radius: var(--radius); }

/* ---------- Fiche formation ---------- */
.gf-formation__head { background: linear-gradient(180deg, var(--fond-2), var(--fond)); border-bottom: 1px solid var(--ligne); padding: clamp(1.75rem, 4vw, 3rem) 0; }
.gf-formation__head h1 { max-width: 900px; }
.gf-formation__badges { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.1rem 0 0; }
.gf-formation__badges li {
	background: #fff; border: 1px solid var(--ligne); border-radius: 99px;
	padding: .35rem .95rem; font-size: .87rem; font-weight: 600; color: var(--encre);
	display: inline-flex; align-items: center; gap: .45rem;
}
.gf-formation__badges .gfi { color: var(--rouge); }
.gf-formation__layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: clamp(1.5rem, 4vw, 3.5rem); padding-block: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.gf-formation__bloc { margin-bottom: 2.75rem; }
.gf-formation__bloc h2 { font-size: 1.35rem; padding-bottom: .5rem; border-bottom: 2px solid var(--rouge); display: inline-block; }
.gf-formation__intro { font-size: 1.1rem; margin-bottom: 2rem; }
.gf-formation__maj { font-size: .85rem; color: var(--texte-2); }
.gf-formation__complements { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 0; }
.gf-formation__complements > div { background: var(--fond-2); border-radius: var(--radius); padding: 1.1rem 1.3rem; }
.gf-formation__complements dt { font-weight: 700; color: var(--encre); margin-bottom: .25rem; font-size: .92rem; }
.gf-formation__complements dd { margin: 0; font-size: .94rem; }
.gf-formation__complements dd p { margin: 0; }
.gf-formation__stats { display: flex; gap: 1rem; flex-wrap: wrap; }
.gf-formation__stats > div { flex: 1; min-width: 200px; text-align: center; background: var(--rouge-pale); border-radius: var(--radius); padding: 1.5rem; }
.gf-formation__stats .gf-chiffre__n { color: var(--rouge); font-size: 2.4rem; }
.gf-formation__stats .gf-chiffre__l { color: var(--encre); font-weight: 600; }

/* Formations associées (maillage) */
.gf-associees { border-top: 1px solid var(--ligne); padding-top: 2rem; }
.gf-associees h2 { font-size: 1.25rem; }

/* Sessions */
.gf-sessions { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.gf-session {
	display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; align-items: center;
	background: #fff; border: 1px solid var(--ligne); border-left: 4px solid var(--rouge);
	border-radius: var(--radius); padding: 1.05rem 1.25rem;
}
.gf-session__date strong { color: var(--encre); }
.gf-session__places { display: inline-block; margin-left: .75rem; font-size: .85rem; color: var(--ok); font-weight: 600; }
.gf-session__lieu { grid-column: 1 / -1; font-size: .92rem; color: var(--texte-2); }
.gf-session__lieu p { margin: 0; }
.gf-session__ctas { display: flex; gap: .5rem; }
.gf-session__ctas .gf-btn { font-size: .88rem; padding: .5rem 1rem; white-space: nowrap; }

/* Carte récap sticky */
.gf-formation__aside { position: sticky; top: 100px; }
.gf-resume {
	background: #fff; border: 1px solid var(--ligne); border-top: 4px solid var(--rouge);
	border-radius: var(--radius); box-shadow: var(--ombre);
	padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem;
}
.gf-resume__prix { margin: 0; font-size: .95rem; color: var(--texte-2); }
.gf-resume__prix strong { font-family: var(--titres); font-size: 2rem; color: var(--encre); letter-spacing: -.02em; display: block; }
.gf-resume__prix span { font-size: .85rem; }
.gf-resume__infos { list-style: none; padding: 0; margin: 0; font-size: .93rem; display: grid; gap: .5rem; }
.gf-resume__infos li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--ligne); padding-bottom: .5rem; }
.gf-resume__infos strong { color: var(--encre); font-weight: 600; display: inline-flex; align-items: center; gap: .45rem; }
.gf-resume__infos .gfi { color: var(--rouge); }
.gf-resume .gf-btn { text-align: center; }
.gf-resume__contact { margin: 0; font-size: .88rem; color: var(--texte-2); text-align: center; }
.gf-resume__contact a { font-weight: 700; }

/* Barre CTA mobile */
.gf-ctabar {
	display: none;
	position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
	background: #fff; border-top: 1px solid var(--ligne);
	padding: .6rem .9rem; gap: .6rem;
	box-shadow: 0 -6px 20px rgba(16, 20, 26, .08);
}
.gf-ctabar .gf-btn { flex: 1; text-align: center; }

/* Bouton d'appel flottant (mobile) */
.gf-appel-flottant {
	display: none;
	position: fixed; bottom: 1.1rem; left: 1.1rem; z-index: 94;
	width: 54px; height: 54px; border-radius: 50%;
	background: var(--rouge); color: #fff;
	align-items: center; justify-content: center;
	box-shadow: var(--ombre-forte);
	animation: gf-pulse 2.6s infinite;
}
.gf-appel-flottant:hover { color: #fff; }

/* ---------- Contenu Divi converti ---------- */
.dc-section { padding: clamp(2.25rem, 5vw, 4rem) 0; }
.dc-section:nth-child(even) { background: var(--fond-2); }
.dc-section.dc-section--bg { background: linear-gradient(rgba(16, 20, 26, .8), rgba(16, 20, 26, .8)), var(--gf-bg) center / cover no-repeat; color: #dfe3e9; }
.dc-section--bg h1, .dc-section--bg h2, .dc-section--bg h3, .dc-section--bg h4 { color: #fff; }
.dc-wrap { max-width: 1200px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.dc-row { display: grid; gap: 1.5rem; margin-bottom: 1.5rem; align-items: start; }
.dc-cols-1 > .dc-col > .dc-text { max-width: 860px; margin-inline: auto; }
/* Même largeur de lecture pour les accordéons et listes seuls dans leur colonne
   (mentions légales, politique...) : fini les lignes de 1100 px illisibles. */
.dc-cols-1 > .dc-col > .dc-toggle,
.dc-cols-1 > .dc-col > ul,
.dc-cols-1 > .dc-col > ol,
.dc-cols-1 > .dc-col > blockquote { max-width: 860px; margin-inline: auto; }
.dc-row:last-child { margin-bottom: 0; }
.dc-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dc-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dc-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dc-blurb { background: #fff; border: 1px solid var(--ligne); border-radius: var(--radius); padding: 1.4rem 1.5rem; height: 100%; color: var(--texte); }
.dc-section--bg .dc-blurb { color: var(--texte); }
.dc-section--bg .dc-blurb h3 { color: var(--encre); }
.dc-blurb__img { max-height: 64px; width: auto; margin-bottom: .75rem; }
.dc-blurb__title { font-size: 1.05rem; }
.dc-blurb__body p:last-child { margin-bottom: 0; }
.dc-counter { text-align: center; }
.dc-counter__n { display: block; font-family: var(--titres); font-size: 2.2rem; font-weight: 700; color: var(--rouge); }
.dc-counter__t { font-weight: 600; color: var(--encre); }
.dc-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.dc-video iframe, .dc-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dc-figure { margin: 0; text-align: center; }
.dc-image { border-radius: var(--radius); max-width: min(100%, 560px); max-height: 400px; width: auto; }
.dc-cta { background: var(--rouge-pale); border: 1px solid #f0dadb; border-radius: var(--radius); padding: 2rem; text-align: center; }
.dc-hero { padding: 1rem 0; }
.dc-btn-wrap { margin: 1rem 0; }

/* ---------- Listes formations (pages catégories) ---------- */
.gf-liste-formations { background: var(--fond-2); border-block: 1px solid var(--ligne); }
.gf-liste-formations__intro { color: var(--texte-2); }

/* ---------- Planning FormDev ---------- */
.gf-planning { overflow-x: auto; }
.gf-planning table { width: 100%; border-collapse: collapse; background: #fff; font-size: .9rem; }
.gf-planning th, .gf-planning td { border: 1px solid var(--ligne); padding: .5rem; }

/* ---------- Tunnel devis FormDev (templates du plugin, stylés par le thème ; la bulle panier flottante div#formdev-cart est traitée à part) ---------- */
section#formdev-cart { max-width: 940px; margin-inline: auto; padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2rem); }
section#formdev-cart .head { text-align: center; margin-bottom: 2rem; }
section#formdev-cart .head h1 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.25rem); }
section#formdev-cart .head a { font-size: .95rem; }
section#formdev-cart table.login, section#formdev-cart .woocommerce-cart-form table { width: 100%; border-collapse: separate; border-spacing: 0 .35rem; background: transparent; }
section#formdev-cart table.login td { padding: .45rem .6rem; vertical-align: top; width: 50%; }
section#formdev-cart label { display: block; font-size: .88rem; font-weight: 600; color: var(--encre); margin-bottom: .3rem; }
section#formdev-cart label.ch { display: inline-flex; align-items: center; gap: .4rem; margin-right: 1.25rem; font-weight: 500; }
section#formdev-cart input[type="text"], section#formdev-cart input[type="email"], section#formdev-cart input[type="password"], section#formdev-cart input[type="tel"], section#formdev-cart textarea, section#formdev-cart select {
	width: 100%;
	padding: .68rem .85rem;
	border: 1.5px solid var(--ligne); border-radius: var(--radius-sm);
	font: inherit; font-size: .95rem; color: var(--texte); background: #fff;
	transition: border-color var(--transition);
}
section#formdev-cart input:focus, section#formdev-cart textarea:focus { outline: none; border-color: var(--rouge); }
section#formdev-cart input[type="radio"], section#formdev-cart input[type="checkbox"] { width: auto; accent-color: var(--rouge); }
section#formdev-cart small { color: var(--texte-2); font-size: .8rem; }
section#formdev-cart input[type="submit"], section#formdev-cart button[type="submit"], section#formdev-cart .btn, section#formdev-cart .learner-request-submit {
	background: var(--rouge); color: #fff; border: 0; border-radius: 99px;
	padding: .8rem 1.6rem; font: inherit; font-weight: 600; cursor: pointer;
	transition: background var(--transition);
}
section#formdev-cart input[type="submit"]:hover, section#formdev-cart .btn:hover { background: var(--rouge-vif); }
section#formdev-cart .woocommerce-cart-form th { text-align: left; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--texte-2); border-bottom: 2px solid var(--ligne); padding: .6rem; }
section#formdev-cart .woocommerce-cart-form td { background: #fff; border: 1px solid var(--ligne); padding: .8rem; }
body.theme-goffart .woocommerce-notices-wrapper .woocommerce-message,
body.theme-goffart .woocommerce-notices-wrapper .woocommerce-info { background: var(--rouge-pale); border-left: 4px solid var(--rouge); padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin: 1rem auto; max-width: 940px; list-style: none; }

/* ---------- Popup devis ---------- */
.gf-popup { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 1.25rem; }
.gf-popup[hidden] { display: none; }
.gf-popup__fond { position: absolute; inset: 0; background: rgba(16, 20, 26, .55); backdrop-filter: blur(3px); }
.gf-popup__carte {
	position: relative; max-width: 480px; width: 100%;
	background: #fff; border-radius: 16px; box-shadow: var(--ombre-forte);
	padding: 2.1rem;
	animation: gf-popup-in .45s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes gf-popup-in { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
.gf-popup__carte h2 { font-size: 1.45rem; }
.gf-popup__carte p { font-size: .96rem; color: var(--texte-2); }
.gf-popup__ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.25rem; }
.gf-popup__note { font-size: .82rem !important; margin: 1rem 0 0 !important; }
.gf-popup__fermer {
	position: absolute; top: .8rem; right: .8rem;
	width: 38px; height: 38px; border-radius: 50%;
	border: 1px solid var(--ligne); background: #fff; color: var(--texte-2);
	font-size: 1.4rem; line-height: 1; cursor: pointer;
	transition: all var(--transition);
}
.gf-popup__fermer:hover { background: var(--encre); border-color: var(--encre); color: #fff; }

/* ---------- Pied de page ---------- */
.gf-footer { background: linear-gradient(178deg, var(--rouge) 0%, var(--rouge-fonce) 92%); color: rgba(255, 255, 255, .88); font-size: .95rem; }
.gf-footer a { color: rgba(255, 255, 255, .84); text-decoration: none; }
.gf-footer a:hover { color: #fff; text-decoration: underline; }
.gf-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 2.25rem; padding-block: 3.25rem; }
.gf-footer__title { color: #fff; font-size: .92rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; font-family: var(--titres); }
.gf-footer ul { list-style: none; padding: 0; margin: 0; }
.gf-footer li { padding: .27rem 0; }
.gf-footer__brand img { width: 150px; margin-bottom: 1rem; }
.gf-footer__contact a { color: #fff; font-weight: 600; }
.gf-footer__legal { border-top: 1px solid rgba(255, 255, 255, .22); padding-block: 1.25rem; font-size: .8rem; color: rgba(255, 255, 255, .68); }
.gf-footer__legal p { margin: 0; }

/* ---------- Pages domaines : contenu scannable, orienté conversion ---------- */
.gf-dom-intro { padding-bottom: 0; }
.gf-dom-intro .gf-lead { max-width: 68ch; margin-inline: auto; text-align: center; font-size: 1.12rem; }
.gf-dom-sections .gf-container { display: grid; gap: 1.25rem; max-width: 1000px; }
.gf-dom-carte {
	display: flex; gap: 1.5rem; align-items: flex-start;
	background: var(--fond); border: 1px solid var(--ligne); border-radius: 16px;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	box-shadow: var(--ombre);
}
.gf-dom-carte:nth-of-type(even) { background: var(--fond-2); }
.gf-dom-carte__picto {
	flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px;
	display: flex; align-items: center; justify-content: center;
	background: var(--rouge-pale); color: var(--rouge);
}
.gf-dom-carte__texte { min-width: 0; }
.gf-dom-carte__texte .gf-h2 { font-size: 1.3rem; margin: .15rem 0 .7rem; }
.gf-dom-carte__texte p { margin: 0 0 .8em; max-width: 68ch; }
.gf-dom-carte__texte p:last-child { margin-bottom: 0; }
.gf-dom-carte__texte ul { margin: 0 0 .8em; padding-left: 1.15em; }
.gf-dom-carte__texte li { margin-bottom: .45em; }
.gf-dom-carte__texte li::marker { color: var(--rouge); }
.gf-dom-cta {
	display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
	background: linear-gradient(115deg, var(--rouge-fonce), var(--rouge) 55%, var(--rouge-vif));
	border-radius: 16px; padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.5rem, 3vw, 2.25rem);
	color: #fff; box-shadow: 0 20px 44px -20px rgba(132, 26, 31, .6);
}
.gf-dom-cta__kicker { display: flex; align-items: center; gap: .45rem; margin: 0 0 .3rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.gf-dom-cta__titre { margin: 0; font-family: var(--titres); font-weight: 700; font-size: clamp(1.05rem, 2.2vw, 1.35rem); text-wrap: balance; }

/* ---------- Logos clients : vignettes uniformes, lisibles sur tout fond ---------- */
.gf-logos-bande .gs_logo_single--wrapper {
	background: #fff; border: 1px solid var(--ligne); border-radius: 12px;
	/* !important : le plugin impose sa propre hauteur fixe (réglage du slider) */
	height: 96px !important; padding: 1rem 1.2rem;
	display: flex; align-items: center; justify-content: center;
	transition: border-color var(--transition), box-shadow var(--transition);
}
.gf-logos-bande .gs_logo_single--wrapper:hover { border-color: transparent; box-shadow: var(--ombre-forte); }
.gf-logos-bande .gs-logo--img {
	max-height: 60px !important; width: auto !important; max-width: 100%; object-fit: contain;
	filter: grayscale(1) contrast(1.15); opacity: .78;
	transition: filter var(--transition), opacity var(--transition);
}
.gf-logos-bande .gs_logo_single:hover .gs-logo--img { filter: none; opacity: 1; }
.gf-logos-bande .gs_logo_title { display: none; }

/* ---------- Avis Google intégrés ---------- */
.gf-avis-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.gf-avis { background: var(--fond); border: 1px solid var(--ligne); border-radius: 16px; padding: 1.4rem 1.5rem 1.2rem; display: flex; flex-direction: column; gap: .7rem; box-shadow: var(--ombre); }
.gf-avis__tete { display: flex; align-items: center; gap: .8rem; }
.gf-avis__tete strong { display: block; color: var(--encre); font-size: .98rem; }
.gf-avis__tete time { font-size: .8rem; color: var(--texte-2); }
.gf-avis__avatar { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--rouge); color: #fff; font-family: var(--titres); font-weight: 700; font-size: .9rem; letter-spacing: .03em; }
.gf-avis .gf-avis__etoiles { color: #f5a623; display: flex; gap: .1rem; }
.gf-avis p { margin: 0; color: var(--texte); font-size: .96rem; line-height: 1.6; flex: 1; }
.gf-avis__source { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; color: var(--texte-2); }
.gf-avis__source .gfi { color: var(--ok); }
.gf-avis__tous { text-align: center; margin: 1.75rem 0 0; }

/* ---------- Landing Google Ads ---------- */
body.gf-page-landing .gf-nav__list { display: none; }
body.gf-page-landing .gf-topbar__item:first-child { display: none; }
.gf-lp-hero { position: relative; background: var(--fond-fonce); color: var(--sur-sombre); overflow: hidden; }
.gf-lp-hero__fond { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; }
.gf-lp-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 15% 10%, rgba(171, 35, 40, .35), transparent 60%); pointer-events: none; }
.gf-lp-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, 440px); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.gf-lp-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.12; margin: 0 0 1rem; text-wrap: balance; }
.gf-lp-hero .gf-souligne { color: var(--rouge-vif); }
.gf-lp-hero__texte { font-size: 1.08rem; max-width: 56ch; margin: 0 0 1.25rem; }
.gf-lp-hero__chips { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.gf-lp-hero__chips li { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; border-radius: 999px; padding: .35rem .8rem; font-size: .86rem; font-weight: 600; }
.gf-lp-hero__chips .gfi { color: var(--rouge-vif); }
.gf-lp-hero__preuves { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; font-size: .9rem; }
.gf-lp-hero__preuves strong { color: #fff; display: block; font-family: var(--titres); font-size: 1.15rem; }
.gf-lp-form { background: #fff; color: var(--texte); border-radius: 18px; padding: 1.5rem 1.6rem 1.25rem; box-shadow: var(--ombre-forte); }
.gf-lp-form h2 { font-size: 1.2rem; margin: 0 0 .25rem; color: var(--encre); }
.gf-lp-form__sous { margin: 0 0 1rem; font-size: .9rem; color: var(--texte-2); }
.gf-lp-form .gf-form__grid { grid-template-columns: 1fr; gap: .6rem; }
.gf-lp-form .gf-form__note { font-size: .78rem; }
.gf-lp-preuves { background: var(--fond-2); border-bottom: 1px solid var(--ligne); }
.gf-lp-preuves__grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 1.5rem; text-align: center; }
.gf-lp-preuves__grille strong { display: block; font-family: var(--titres); font-size: 1.6rem; color: var(--rouge); line-height: 1.1; }
.gf-lp-preuves__grille span { font-size: .88rem; color: var(--texte-2); }
.gf-lp-cibles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.gf-lp-cible { background: var(--fond); border: 1px solid var(--ligne); border-radius: 16px; padding: 1.5rem 1.6rem; box-shadow: var(--ombre); }
.gf-lp-cible h3 { font-size: 1.08rem; margin: 0 0 .5rem; display: flex; align-items: center; gap: .6rem; }
.gf-lp-cible h3 .gfi { color: var(--rouge); flex-shrink: 0; }
.gf-lp-cible p { margin: 0; color: var(--texte); font-size: .95rem; }
.gf-lp-atouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.gf-lp-atout { display: flex; gap: 1rem; background: var(--fond); border: 1px solid var(--ligne); border-radius: 16px; padding: 1.4rem 1.5rem; }
.gf-lp-atout__n { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--rouge-pale); color: var(--rouge); display: flex; align-items: center; justify-content: center; }
.gf-lp-atout h3 { font-size: 1.05rem; margin: .1rem 0 .4rem; }
.gf-lp-atout p { margin: 0; font-size: .95rem; color: var(--texte); }
.gf-lp-final { background: linear-gradient(115deg, var(--rouge-fonce), var(--rouge) 55%, var(--rouge-vif)); color: #fff; text-align: center; }
.gf-lp-final .gf-h2 { color: #fff; }
.gf-lp-final p { max-width: 60ch; margin-inline: auto; color: rgba(255, 255, 255, .9); }
.gf-lp-final .gf-btn--light { margin-top: 1.25rem; }
body.gf-page-landing .gf-ctabar { display: none; }

/* ---------- Page contact ---------- */
.gf-contact__cartes { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.gf-contact__grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.gf-contact__carte { display: flex; flex-direction: column; gap: .35rem; background: var(--fond); border: 1px solid var(--ligne); border-radius: 16px; padding: 1.75rem 1.6rem; text-decoration: none; color: var(--texte); box-shadow: var(--ombre); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.gf-contact__carte:hover { transform: translateY(-3px); box-shadow: var(--ombre-forte); border-color: transparent; }
.gf-contact__picto { width: 52px; height: 52px; border-radius: 14px; background: var(--rouge-pale); color: var(--rouge); display: flex; align-items: center; justify-content: center; margin-bottom: .6rem; }
.gf-contact__label { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-2); }
.gf-contact__carte strong { font-family: var(--titres); font-size: 1.15rem; color: var(--encre); line-height: 1.3; }
.gf-contact__sous { font-size: .86rem; color: var(--texte-2); }
.gf-contact__duo { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .8fr); gap: 2rem; align-items: start; }
.gf-contact__form { background: var(--fond); border: 1px solid var(--ligne); border-radius: 18px; padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--ombre); }
.gf-contact__form > p { color: var(--texte); max-width: 60ch; }
.gf-contact__aside { position: sticky; top: 96px; background: var(--fond-fonce); color: #fff; border-radius: 18px; padding: 1.75rem 1.6rem; }
.gf-contact__promesses { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .8rem; }
.gf-contact__promesses li { display: flex; gap: .6rem; align-items: flex-start; color: #fff; font-size: .96rem; line-height: 1.5; }
.gf-contact__promesses .gfi { color: var(--rouge-vif); flex-shrink: 0; margin-top: .15em; }
.gf-contact__reseaux { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .9rem; color: var(--sur-sombre); }
.gf-contact__reseaux a { display: inline-flex; width: 40px; height: 40px; border-radius: 10px; align-items: center; justify-content: center; background: rgba(255, 255, 255, .1); color: #fff; transition: background var(--transition); }
.gf-contact__reseaux a:hover { background: var(--rouge); }
.gf-contact__plan-grille { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.gf-contact__map { border-radius: 18px; overflow: hidden; border: 1px solid var(--ligne); box-shadow: var(--ombre); line-height: 0; }
.gf-contact__map iframe { width: 100%; height: 420px; border: 0; display: block; }
.gf-contact__acces { background: var(--fond-2); border-radius: 18px; padding: 1.75rem 1.6rem; }
.gf-contact__acces h3 { font-size: 1.05rem; margin: 0 0 .5rem; }
.gf-contact__acces h3 + p { margin-top: 0; }
.gf-contact__acces h3:not(:first-child) { margin-top: 1.5rem; }
.gf-contact__villes { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.gf-contact__villes a, .gf-contact__villes span { display: inline-block; padding: .3rem .75rem; border-radius: 999px; background: #fff; border: 1px solid var(--ligne); font-size: .86rem; color: var(--encre); text-decoration: none; }
.gf-contact__villes a:hover { border-color: var(--rouge); color: var(--rouge); }

/* ---------- Badge Qualiopi (footer, contact) ---------- */
.gf-qualiopi { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; border-radius: 12px; padding: .6rem .85rem; transition: background var(--transition); }
.gf-qualiopi img { width: 110px; height: auto; background: #fff; border-radius: 8px; padding: .35rem .5rem; }
.gf-qualiopi span { font-size: .82rem; line-height: 1.35; max-width: 16ch; }
.gf-qualiopi--sombre { background: rgba(255, 255, 255, .1); color: #fff; margin-top: 1rem; }
.gf-qualiopi--sombre:hover { background: rgba(255, 255, 255, .18); }
.gf-qualiopi--clair { background: rgba(255, 255, 255, .08); color: #fff; }
.gf-footer__reseaux { display: flex; gap: .5rem; margin-top: 1rem; }
.gf-footer__reseaux a { display: inline-flex; width: 38px; height: 38px; border-radius: 10px; align-items: center; justify-content: center; background: rgba(255, 255, 255, .14); color: #fff; }
.gf-footer__reseaux a:hover { background: #fff; color: var(--rouge); text-decoration: none; }

/* ---------- Pages de référencement : même écrin que les domaines ---------- */
.gf-page__body--seo { padding: 0; }
.gf-page__body--seo .gf-dom-intro { padding-top: clamp(2rem, 5vw, 3.5rem); }

/* ---------- CTA final ---------- */
.gf-cta-final { text-align: center; }

/* ---------- Résumé factuel des fiches (réponse directe SEO/IA) ---------- */
.gf-formation__geo { background: var(--fond-2); border-left: 4px solid var(--rouge); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1rem 1.25rem; margin: 0 0 1.75rem; }

/* ---------- Pagination des archives ---------- */
.navigation.pagination { margin: 2.5rem 0 .5rem; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.navigation.pagination .page-numbers { display: inline-flex; align-items: center; min-height: 44px; padding: .35rem .9rem; border: 1px solid var(--ligne, #e3ddd7); border-radius: 8px; text-decoration: none; font-weight: 600; }
.navigation.pagination .page-numbers.current { background: var(--rouge, #ab2328); border-color: var(--rouge, #ab2328); color: #fff; }
.navigation.pagination a.page-numbers:hover { border-color: var(--rouge, #ab2328); color: var(--rouge, #ab2328); }
.navigation.pagination .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Catalogue : rendu progressif des cartes ----------
   Le navigateur ne met en page les cartes hors écran qu'au moment où elles
   approchent du viewport : l'affichage initial reste instantané, quel que
   soit le nombre de formations. */
.gf-grid-cards .gf-card { content-visibility: auto; contain-intrinsic-size: auto 300px; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1024px) {
	.gf-footer__grid { grid-template-columns: 1fr 1fr; }
	.gf-footer__brand { grid-column: 1 / -1; }
	.gf-avis-grille { grid-template-columns: 1fr 1fr; }
	.gf-contact__grille { grid-template-columns: 1fr; }
	.gf-contact__duo, .gf-contact__plan-grille { grid-template-columns: 1fr; }
	.gf-lp-cibles { grid-template-columns: 1fr 1fr; }
	.gf-hero__inner { grid-template-columns: 1fr; }
	.gf-hero__visuel { max-width: 480px; }
	.gf-flotteur--1 { left: 2%; }
	.gf-flotteur--2 { right: 2%; }
	.gf-domaines { grid-template-columns: repeat(2, 1fr); }
	.gf-chiffres__grille { grid-template-columns: repeat(2, 1fr); }
	.gf-etapes { grid-template-columns: 1fr; gap: 2rem; }
	.gf-carte { grid-template-columns: 1fr; }
	.gf-carte__img { max-width: 440px; margin-inline: auto; }
	.gf-faq { grid-template-columns: 1fr; }
	.gf-faq__intro { position: static; }
	.gf-formation__layout { grid-template-columns: 1fr; }
	.gf-formation__aside { position: static; order: -1; }
	.gf-resume { flex-direction: row; flex-wrap: wrap; align-items: center; }
	.gf-resume__prix { flex: 1 1 100%; }
	.gf-resume__infos { flex: 1 1 55%; }
	.gf-devis__grid { grid-template-columns: 1fr; }
	.dc-cols-3, .dc-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 782px) {
	body { font-size: 1rem; }
	.gf-topbar__item:not(.gf-topbar__tel) { display: none; }
	.gf-topbar .gf-container { justify-content: center; }
	.gf-burger {
		display: flex; flex-direction: column; justify-content: center; gap: 5px;
		width: 46px; height: 46px; margin-left: auto;
		background: none; border: 1.5px solid var(--ligne); border-radius: 10px; cursor: pointer; padding: 0 11px;
	}
	.gf-burger span { display: block; height: 2px; background: var(--encre); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
	.gf-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.gf-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
	.gf-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.gf-nav {
		display: none;
		position: absolute; top: 100%; left: 0; right: 0;
		background: #fff; border-bottom: 1px solid var(--ligne);
		box-shadow: var(--ombre-forte);
		padding: 1rem clamp(1rem, 4vw, 2rem) 1.5rem;
		flex-direction: column; align-items: stretch;
		max-height: calc(100vh - 116px); overflow-y: auto;
	}
	.gf-nav.est-ouvert { display: flex; }
	.gf-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.gf-nav__list a { padding: .8rem .5rem; border-bottom: 1px solid var(--fond-2); border-radius: 0; font-size: 1.02rem; }
	.gf-nav__list .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		border: 0; box-shadow: none; padding: 0 0 0 1rem; min-width: 0;
	}
	.gf-nav__cta { margin-top: 1rem; text-align: center; }
	.gf-hero__preuves { gap: 1rem 1.5rem; }
	.gf-flotteur--1 { display: none; }
	.gf-domaines { grid-template-columns: 1fr; }
	.gf-chiffres__grille { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
	.gf-usp { grid-template-columns: 1fr; }
	.gf-form__grid { grid-template-columns: 1fr; }
	.gf-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
	.gf-footer__brand { grid-column: 1 / -1; }
	/* Filtres du catalogue : rangée défilante au doigt plutôt qu'un mur de boutons */
	.gf-filtres { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; gap: .5rem; padding-bottom: .4rem; scrollbar-width: none; }
	.gf-filtres::-webkit-scrollbar { display: none; }
	.gf-filtre { flex-shrink: 0; }
	.gf-avis-grille { grid-template-columns: 1fr; }
	.gf-contact__grille, .gf-contact__duo, .gf-contact__plan-grille { grid-template-columns: 1fr; }
	.gf-contact__aside { position: static; }
	.gf-contact__map iframe { height: 300px; }
	.gf-lp-hero__inner { grid-template-columns: 1fr; }
	.gf-lp-preuves__grille { grid-template-columns: 1fr 1fr; }
	.gf-lp-cibles, .gf-lp-atouts { grid-template-columns: 1fr; }
	body.gf-page-landing .gf-ctabar { display: flex; }
	body.gf-page-landing { padding-bottom: 76px; }
	body.gf-page-landing .gf-appel-flottant { bottom: 82px; }
	.gf-dom-carte { flex-direction: column; gap: 1rem; }
	.gf-dom-cta { justify-content: center; text-align: center; }
	.gf-page__head-inner { grid-template-columns: 1fr; }
	.gf-page__photo { order: -1; }
	.gf-page__photo img { height: clamp(160px, 42vw, 220px); }
	.dc-cols-2, .dc-cols-3, .dc-cols-4 { grid-template-columns: 1fr; }
	.gf-session { grid-template-columns: 1fr; }
	.gf-session__ctas .gf-btn { flex: 1; text-align: center; }
	.gf-ctabar { display: flex; }
	.gf-appel-flottant { display: flex; }
	body.single-product, body.gf-page-domaine { padding-bottom: 76px; }
	body.single-product .gf-appel-flottant, body.gf-page-domaine .gf-appel-flottant { bottom: 82px; }
	.gf-hero__ctas .gf-btn { flex: 1 1 100%; }
	section#formdev-cart table.login, section#formdev-cart table.login tbody, section#formdev-cart table.login tr, section#formdev-cart table.login td { display: block; width: 100%; }
	.gf-entete--split { flex-direction: column; align-items: flex-start; }
}

/* ---------- Accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.rv { opacity: 1; transform: none; transition: none; }
	.gf-flotteur, .gf-carte__img img, .gf-hero__photo img, .gf-appel-flottant { animation: none; }
	.gf-souligne::after { animation: none; transform: scaleX(1); }
	*, *::before, *::after { transition-duration: .01ms !important; }
}

/* =========================================================================
   v2.1 : méga menu, CARSAT, carte vectorielle, hero animé, bulle panier,
   cookies, fiches segmentées, pages catégories
   ========================================================================= */

/* ---------- Popup : fermeture garantie ---------- */
.gf-popup[hidden] { display: none !important; }

/* ---------- Hero : nuances de rouge animées ---------- */
.gf-hero__blob {
	position: absolute; border-radius: 50%; pointer-events: none;
	filter: blur(70px); opacity: .5; will-change: transform;
}
.gf-hero__blob--1 {
	width: 620px; height: 620px; top: -220px; right: -120px;
	background: radial-gradient(circle at 40% 40%, rgba(198, 45, 51, .55), rgba(171, 35, 40, 0) 70%);
	animation: gf-blob1 22s ease-in-out infinite alternate;
}
.gf-hero__blob--2 {
	width: 480px; height: 480px; bottom: -200px; left: -140px;
	background: radial-gradient(circle at 60% 60%, rgba(132, 26, 31, .5), rgba(171, 35, 40, 0) 70%);
	animation: gf-blob2 26s ease-in-out infinite alternate;
}
@keyframes gf-blob1 { from { transform: translate(0, 0) scale(1); } to { transform: translate(-140px, 90px) scale(1.18); } }
@keyframes gf-blob2 { from { transform: translate(0, 0) scale(1); } to { transform: translate(120px, -70px) scale(1.12); } }
.gf-hero::before { content: none; }

/* ---------- Méga menu Formations ---------- */
.gf-nav__mega-parent { position: static !important; }
.gf-nav__chevron { font-size: .7em; margin-left: .35rem; opacity: .6; }
.gf-mega {
	position: absolute; top: 100%; left: 50%; transform: translate(-50%, 10px);
	width: min(1080px, calc(100vw - 2.5rem));
	background: linear-gradient(165deg, #223048, var(--bleu-nuit) 65%);
	border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius);
	box-shadow: var(--ombre-forte);
	padding: 1.25rem 1.25rem 1rem;
	opacity: 0; visibility: hidden;
	transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
	z-index: 95;
}
.gf-nav__mega-parent:hover .gf-mega,
.gf-nav__mega-parent:focus-within .gf-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gf-mega__grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: .3rem; }
.gf-nav__list a.gf-mega__item {
	display: flex; align-items: center; gap: .7rem;
	padding: .55rem .65rem; border-radius: var(--radius-sm);
	color: #eef1f6; font-weight: 600; font-size: .9rem; text-decoration: none;
	transition: background var(--transition), color var(--transition);
}
.gf-nav__list a.gf-mega__item:hover { background: #fff; color: var(--encre); }
.gf-mega__picto {
	flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px;
	display: flex; align-items: center; justify-content: center;
	background: rgba(255, 255, 255, .1); color: #fff;
	transition: background var(--transition), color var(--transition);
}
.gf-mega__item:hover .gf-mega__picto { background: var(--rouge); color: #fff; }
.gf-mega__pied {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
	border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 1rem; padding-top: .9rem;
}
.gf-mega .gf-btn--ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.gf-mega .gf-btn--ghost:hover { background: #fff; color: var(--encre); }
.gf-nav__list a.gf-mega__tel { font-weight: 700; color: #fff; text-decoration: none; padding: .3rem .5rem; }
.gf-nav__list a.gf-mega__tel:hover { background: none; color: var(--rouge-vif); }
.gf-mega__tel .gfi { color: var(--rouge-vif); }

/* ---------- Domaines : plus de présence ---------- */
.gf-domaine { padding: 2rem 1.8rem 1.7rem; }
.gf-domaine h3 { font-size: 1.22rem; }
.gf-domaine__picto { width: 60px; height: 60px; border-radius: 16px; }
.gf-domaine:hover { background: linear-gradient(160deg, #fff 55%, var(--rouge-pale)); }

/* ---------- Section CARSAT mise en avant ---------- */
.gf-section--carsat { padding-top: 0; }
.gf-carsat {
	position: relative; overflow: hidden;
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
	background: linear-gradient(115deg, var(--rouge-fonce), var(--rouge) 55%, var(--rouge-vif));
	border-radius: 18px;
	padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 3rem);
	color: #f6d9da;
	box-shadow: 0 24px 50px -22px rgba(132, 26, 31, .65);
}
.gf-carsat::after {
	content: ""; position: absolute; right: -70px; top: -70px; width: 260px; height: 260px;
	border: 34px solid rgba(255, 255, 255, .07); border-radius: 50%;
}
.gf-carsat__picto {
	width: 92px; height: 92px; border-radius: 24px; flex-shrink: 0;
	display: flex; align-items: center; justify-content: center;
	background: rgba(255, 255, 255, .13); color: #fff;
	border: 1px solid rgba(255, 255, 255, .22);
}
.gf-carsat__surtitre { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; opacity: .85; margin-bottom: .5rem; }
.gf-carsat h2 { color: #fff; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem); margin-bottom: .5rem; }
.gf-carsat p:last-child { margin: 0; font-size: .97rem; }
.gf-carsat__action { text-align: center; display: grid; gap: .5rem; justify-items: center; position: relative; z-index: 1; }
.gf-carsat__action span { font-size: .82rem; color: #fff; opacity: .8; }

/* ---------- Carte de France vectorielle ---------- */
.gf-carte__img { background: none; }

/* ---------- Bulle panier FormDev (div injectée par le plugin) ---------- */
div#formdev-cart {
	position: fixed !important; bottom: 24px !important; right: 20px !important;
	width: 56px !important; height: 56px !important;
	max-width: none !important; margin: 0 !important; padding: 0 !important;
	background: #fff !important;
	border: 1px solid var(--ligne) !important; border-radius: 50% !important;
	box-shadow: var(--ombre-forte) !important;
	z-index: 96 !important;
	transition: transform var(--transition);
}
div#formdev-cart:hover { transform: translateY(-2px); }
div#formdev-cart a { display: flex !important; align-items: center; justify-content: center; width: 100% !important; height: 100% !important; }
div#formdev-cart svg { width: 24px !important; height: 24px !important; margin: 0 !important; }
div#formdev-cart span.qty {
	position: absolute !important; top: -6px !important; right: -6px !important;
	width: 22px !important; height: 22px !important;
	display: flex; align-items: center; justify-content: center;
	background: var(--rouge); color: #fff;
	border-radius: 50%; font-size: 11px !important; font-weight: 700;
	text-align: center !important;
}

/* ---------- Bandeau cookies (plugin Cookie Notice, restylé) ---------- */
html #cookie-notice {
	left: 16px !important; right: auto !important; bottom: 16px !important;
	width: min(420px, calc(100vw - 32px)) !important; max-width: min(420px, calc(100vw - 32px)) !important; min-width: 0 !important;
	background: var(--encre) !important;
	border-radius: var(--radius) !important;
	box-shadow: var(--ombre-forte) !important;
	overflow: hidden;
}
html #cookie-notice .cookie-notice-container { padding: 1.1rem 1.25rem !important; }
html #cn-notice-text { font-family: var(--police) !important; font-size: .87rem !important; line-height: 1.55 !important; color: #d6dae0 !important; text-align: left !important; display: block; margin-bottom: .75rem; }
html #cn-notice-buttons { display: flex; gap: .5rem; flex-wrap: wrap; }
html #cookie-notice .cn-button {
	font-family: var(--police) !important; font-weight: 600 !important; font-size: .85rem !important;
	border-radius: 99px !important; padding: .45rem 1.1rem !important;
	background: var(--rouge) !important; color: #fff !important;
	margin: 0 !important;
}
html #cookie-notice #cn-refuse-cookie { background: transparent !important; border: 1px solid var(--ligne-sombre) !important; color: #d6dae0 !important; }
html #cookie-notice #cn-more-info { background: transparent !important; color: #9aa2ad !important; text-decoration: underline !important; padding-inline: .4rem !important; }

/* ---------- Fiche formation : sections segmentées en cartes ---------- */
.gf-formation__layout { background: transparent; }
.gf-formation__main .gf-formation__bloc {
	background: #fff; border: 1px solid var(--ligne); border-radius: var(--radius);
	padding: 1.75rem 1.9rem; margin-bottom: 1.25rem;
}
.gf-formation__main { background: transparent; }
.gf-formation__bloc h2 { border-bottom: 0; padding-bottom: 0; display: flex; align-items: center; gap: .6rem; }
.gf-formation__bloc h2::after { content: ""; flex: 1; height: 1px; background: var(--ligne); }
.gf-formation__bloc h2 .gfi { color: var(--rouge); flex-shrink: 0; }
.gf-formation__intro { background: transparent; }
.gf-formation__stats { background: transparent !important; border: 0 !important; padding: 0 !important; }
.gf-formation__badge-prix { background: var(--rouge) !important; color: #fff !important; border-color: var(--rouge) !important; }
.gf-formation__badge-prix .gfi { color: #fff; }
body.single-product .gf-formation { background: var(--fond-2); }
body.single-product .gf-formation__head { background: #fff; }

/* ---------- Pages catégories : hero sur mesure ---------- */
.gf-cat-hero { position: relative; background: var(--fond-fonce); color: var(--sur-sombre); overflow: hidden; }
.gf-cat-hero::before {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(700px 400px at 90% 0%, rgba(198, 45, 51, .3), transparent 60%);
	pointer-events: none;
}
.gf-cat-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; padding-block: clamp(2.25rem, 5vw, 3.75rem); }
.gf-cat-hero h1 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.6rem); max-width: 820px; }
.gf-cat-hero .gf-breadcrumbs, .gf-cat-hero .gf-breadcrumbs a { color: #8f97a3; }
.gf-cat-hero__chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.gf-cat-hero__chips li {
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 99px; padding: .32rem .9rem; font-size: .86rem; color: #e8eaee;
	display: inline-flex; align-items: center; gap: .45rem;
}
.gf-cat-hero__chips .gfi { color: var(--rouge-vif); }
.gf-cat-hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0; }
.gf-cat-hero .gf-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.gf-cat-hero .gf-btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.gf-cat-hero__picto { color: rgba(255, 255, 255, .1); }
.gf-cat-hero__picto .gfi { display: block; }

/* ---------- Contenus convertis : tailles maîtrisées ---------- */
.dc-cols-2 .dc-image, .dc-cols-3 .dc-image, .dc-cols-4 .dc-image { max-height: 130px; width: auto; }
.dc-cols-2 .dc-figure, .dc-cols-3 .dc-figure, .dc-cols-4 .dc-figure { text-align: center; }
.dc-btn-wrap { text-align: center; }
.dc-section .dc-btn-wrap:last-child { margin-bottom: 0; }

/* ---------- Responsive v2.1 ---------- */
@media (max-width: 1024px) {
	.gf-carsat { grid-template-columns: 1fr; text-align: left; }
	.gf-carsat__picto { display: none; }
	.gf-carsat__action { justify-items: start; }
	.gf-etape:not(:last-child)::after { content: none; }
	.gf-cat-hero__picto { display: none; }
	.gf-cat-hero__inner { grid-template-columns: 1fr; }
}
@media (max-width: 782px) {
	.gf-mega {
		position: static; transform: none; width: auto;
		opacity: 1; visibility: visible;
		background: none; border: 0; box-shadow: none; padding: 0 0 0 .5rem;
	}
	.gf-nav__list a.gf-mega__item { color: var(--encre); }
	.gf-nav__list a.gf-mega__item:hover { background: var(--fond-2); color: var(--encre); }
	.gf-mega__picto { background: var(--rouge-pale); color: var(--rouge); }
	.gf-mega .gf-btn--ghost { color: var(--rouge); border: 1px solid var(--ligne); }
	.gf-mega__grille { grid-template-columns: 1fr; gap: 0; }
	.gf-mega__item { padding: .55rem .5rem; border-bottom: 1px solid var(--fond-2); border-radius: 0; }
	.gf-mega__picto { width: 34px; height: 34px; animation: none; }
	.gf-mega__pied { border-top: 0; margin-top: .5rem; padding-top: 0; }
	.gf-mega__tel { display: none; }
	.gf-nav__chevron { display: none; }
	.gf-hero__blob { display: none; }
	div#formdev-cart { bottom: 86px !important; }
	html #cookie-notice { left: 10px !important; bottom: 10px !important; }
}
@media (prefers-reduced-motion: reduce) {
	.gf-hero__blob, .gf-mega__picto { animation: none !important; }
}

/* =========================================================================
   v2.2 : corrections de recette (débordements mobile, superpositions,
   tableaux du planning CRM)
   ========================================================================= */

/* --- Anti-débordement horizontal ---
   Une colonne de grille vaut min-content par défaut : un tableau large
   (planning FormDev) élargissait toute la page. On borne les pistes à 0. */
.gf-formation__layout { grid-template-columns: minmax(0, 1fr) 350px; }
.gf-formation__main,
.gf-formation__aside,
.gf-formation__bloc,
.gf-page__body,
.dc-col,
.dc-row > * { min-width: 0; }

/* Tout tableau venant du CRM ou d'un contenu converti défile dans son cadre */
.gf-planning,
.gf-formation__bloc .dc-text { max-width: 100%; }
/* La largeur de lecture de .gf-prose (820px) est volontairement conservée :
   l'anti-débordement passe par min-width:0 et le défilement des tableaux. */
.gf-prose { min-width: 0; }
.gf-planning { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.gf-formation__bloc table,
.gf-page__body table { max-width: 100%; }

/* Filet de sécurité : aucune page ne doit défiler horizontalement */
html, body { max-width: 100%; overflow-x: hidden; }

/* --- Superposition des éléments fixes en mobile ---
   Tant que le bandeau cookies est affiché (body.cookies-not-set), il ne doit
   masquer ni la barre CTA, ni le bouton d'appel, ni la bulle panier. */
@media (max-width: 782px) {
	.gf-formation__layout { grid-template-columns: minmax(0, 1fr); }
	/* Empilement calculé en JS (--gf-cta-h, --gf-cookies-h) : rien ne se recouvre. */
	html body.cookies-not-set #cookie-notice { bottom: calc(var(--gf-cta-h, 0px) + 12px) !important; }
	body.cookies-not-set .gf-appel-flottant { display: none; }
	div#formdev-cart { bottom: calc(var(--gf-cta-h, 0px) + var(--gf-cookies-h, 0px) + 18px) !important; }
	.gf-appel-flottant { bottom: calc(var(--gf-cta-h, 0px) + 14px); }
}
