/* Héros de l’accueil (patterns/ga-hero.php) : photo fondue dans le blanc + 4 avantages. */
/* Texte et avantages alignés sur les autres sections ; la photo, elle, va jusqu’au bord droit de l’écran. */
.ga-hero7 { position: relative; background: #fff; color: #123B65; }
.ga-hero7__band { --ga-hero7-w: min(var(--ga-container, 1240px), 100% - 2 * var(--ga-pad-x, 24px)); --ga-hero7-x: calc((100% - var(--ga-hero7-w)) / 2); }
.ga-hero7__perks { max-width: var(--ga-container, 1240px); margin-inline: auto; padding-inline: var(--ga-pad-x, 24px) !important; }
.ga-hero7__band {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: #fff;
}
.ga-hero7__band::before {
	content: "";
	position: absolute;
	inset: 0 0 0 auto;
	left: calc(var(--ga-hero7-x) + var(--ga-hero7-w) * .3);
	background: var(--ga-hero7-img) right 35% / cover no-repeat;
	/* La photo se fond dans le blanc sur sa gauche pour laisser la place au texte. */
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 16%, #000 32%);
	mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 16%, #000 32%);
	z-index: -2;
}
.ga-hero7__band::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 84%, #fff 100%);
	z-index: -1;
}
.ga-hero7__inner {
	padding: 64px var(--ga-hero7-x) 72px;
	min-height: clamp(440px, 34vw, 520px);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.ga-hero7__inner > * { max-width: 540px; }
.ga-hero7__rule { display: block; width: 56px; height: 4px; border-radius: 2px; background: #E3A83F; margin-bottom: 20px; }
.ga-hero7__title {
	margin: 0;
	font: 700 clamp(2.1rem, 4.4vw, 3.4rem)/1.08 'Public Sans', sans-serif;
	letter-spacing: -.02em;
	color: #123B65;
	text-wrap: balance;
}
.ga-hero7__lead { margin: 20px 0 0; font-size: 1.15rem; line-height: 1.55; color: #475467; }
.ga-hero7__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.ga-hero7__cta, .ga-hero7__play {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 50px;
	padding: 0 24px;
	border-radius: 999px;
	font: 700 1rem/1 'Public Sans', sans-serif;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s, border-color .2s, transform .2s;
}
.ga-hero7__cta { background: radial-gradient(120% 140% at 50% 12%, rgba(255,255,255,.24), rgba(255,255,255,0) 55%), linear-gradient(135deg, #00B4C5, #008999); color: #fff; border: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -3px 8px rgba(0,0,0,.14), 0 8px 18px -8px rgba(0,120,135,.55); }
.ga-hero7__cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ga-hero7__cta:hover, .ga-hero7__cta:focus-visible { background: radial-gradient(120% 140% at 50% 12%, rgba(255,255,255,.32), rgba(255,255,255,0) 55%), linear-gradient(135deg, #00C2D4, #009AAC); color: #fff; transform: translateY(-1px); }
.ga-hero7__play { background: #fff; color: #123B65; border: 1.5px solid #123B65; padding-left: 8px; }
.ga-hero7__play:hover, .ga-hero7__play:focus-visible { background: #F2F4F7; }
.ga-hero7__playicon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #123B65; }
.ga-hero7__playicon svg { width: 16px; height: 16px; fill: #fff; margin-left: 2px; }
.ga-hero7 a:focus-visible, .ga-hero7 button:focus-visible { outline: 2px solid #00A6B2; outline-offset: 3px; }

/* Les 4 avantages : pleine largeur sous la photo, séparés par de fins traits. */
.ga-hero7__perks { position: relative; z-index: 2; padding-block: 0 8px; box-sizing: border-box; background: #fff; }
.ga-hero7__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin: 0;
	padding: 28px 0;
	list-style: none;
}
.ga-hero7__perk { margin: 0; padding: 4px clamp(16px, 2.5vw, 40px); }
.ga-hero7__perk:first-child { padding-left: 0; }
.ga-hero7__perk + .ga-hero7__perk { border-left: 1px solid #EAECF0; }
.ga-hero7__icon { width: 34px; height: 34px; fill: none; stroke: #E3A83F; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ga-hero7__perk-title { margin: 12px 0 6px; font: 700 1.18rem/1.3 'Public Sans', sans-serif; color: #123B65; }
.ga-hero7__perk-text { margin: 0; font-size: 1.03rem; line-height: 1.5; color: #667085; }

/* Vidéo en fenêtre. */
.ga-hero7__dialog { width: min(960px, 92vw); padding: 0; border: 0; border-radius: 12px; background: #000; overflow: visible; }
.ga-hero7__dialog::backdrop { background: rgba(11, 42, 74, .8); }
.ga-hero7__frame { aspect-ratio: 16 / 9; }
.ga-hero7__frame iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: 12px; }
.ga-hero7__close { position: absolute; top: -44px; right: 0; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; color: #123B65; font-size: 1.5rem; line-height: 1; cursor: pointer; }

@media (max-width: 960px) {
	.ga-hero7__list { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
	.ga-hero7__perk:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 782px) {
	.ga-hero7__band::before { position: relative; display: block; width: 100%; height: 260px; inset: auto; z-index: 0; background-image: var(--ga-hero7-img-m); background-position: 62% center; -webkit-mask-image: none; mask-image: none; }
	.ga-hero7__band::after { inset: 200px 0 auto; height: 60px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff); z-index: 0; }
	.ga-hero7__inner { min-height: 0; padding: 8px var(--ga-hero7-x) 32px; }
	.ga-hero7__lead { font-size: 1.05rem; }
	.ga-hero7__cta, .ga-hero7__play { flex: 1 1 100%; justify-content: center; }
	.ga-hero7__list { padding: 8px 0 24px; }
	.ga-hero7__perk { padding: 4px 12px; }
	.ga-hero7__perk:nth-child(odd) { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.ga-hero7__cta { transition: none; }
	.ga-hero7__cta:hover { transform: none; }
}


/* Section recherche (patterns/ga-recherche.php) : grande barre + accès par domaine. */
.ga-find { background: #F2F4F7; padding: 44px var(--ga-pad-x, 24px) 48px; }
.ga-find__inner { max-width: var(--ga-container, 1240px); margin: 0 auto; }
.ga-find .cefac-search { max-width: none; margin: 0; padding: 7px 7px 7px 22px; border: 1.5px solid #E4E7EC; box-shadow: 0 12px 32px -12px rgba(18, 59, 101, .22); }
.ga-find .cefac-search:focus-within { border-color: #00A6B2; }
.ga-find .cefac-search__icon { color: #00A6B2; }
.ga-find .cefac-search input { font-size: 1.05rem; padding: 13px 6px; }
.ga-find .cefac-search button { display: inline-flex; align-items: center; gap: 8px; padding: .85rem 1.5rem; border-radius: 9999px; background: radial-gradient(120% 140% at 50% 12%, rgba(255,255,255,.24), rgba(255,255,255,0) 55%), linear-gradient(135deg, #00B4C5, #008999); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 6px 16px -6px rgba(0,120,135,.5); }
.ga-find .cefac-search button::after { content: "→"; font-size: 1.1em; }
.ga-find .cefac-search button:hover { background: radial-gradient(120% 140% at 50% 12%, rgba(255,255,255,.32), rgba(255,255,255,0) 55%), linear-gradient(135deg, #00C2D4, #009AAC); }
.ga-find__domains { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 20px 0 0; }
.ga-find__label { color: #667085; font-weight: 600; font-size: .92rem; }
.ga-find__pill { display: inline-flex; padding: 8px 16px; border: 1px solid #D0D5DD; border-radius: 9999px; background: #fff; color: #123B65; font: 600 .88rem/1 'Public Sans', sans-serif; text-decoration: none; transition: border-color .15s, color .15s, background-color .15s; }
.ga-find__pill:hover { border-color: #00A6B2; color: #00808A; }
.ga-find__pill--all { background: #123B65; color: #fff; border-color: #123B65; }
.ga-find__pill--all:hover { background: #0B2A4A; color: #fff; }
@media (max-width: 600px) { .ga-find .cefac-search { padding-left: 16px; } .ga-find .cefac-search input { font-size: .98rem; } }

/* ===== VARIANTE FONCÉE DU HÉROS (bleu profond + photo fondue dans le bleu) =====
   Essai à la demande de Karim le 2026-10-21. Supprimer tout ce bloc pour revenir au héros clair. */
.ga-hero7 { background: #0B2A4A; color: #fff; }
.ga-hero7__band { background: #0B2A4A; }
.ga-hero7__band::before {
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 18%, #000 38%);
	mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 18%, #000 38%);
}
.ga-hero7__band::after { background: linear-gradient(180deg, rgba(11,42,74,0) 80%, #0B2A4A 100%); }
.ga-hero7__title { color: #fff; }
.ga-hero7__lead { color: #C7D3E0; }
.ga-hero7__play { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.ga-hero7__play:hover, .ga-hero7__play:focus-visible { background: rgba(255,255,255,.08); }
.ga-hero7__playicon { background: #fff; }
.ga-hero7__playicon svg { fill: #0B2A4A; }
.ga-hero7__perks { background: #0B2A4A; }
.ga-hero7__perk + .ga-hero7__perk { border-left-color: rgba(255,255,255,.14); }
.ga-hero7__perk-title { color: #fff; }
.ga-hero7__perk-text { color: #AEBCCC; }
@media (max-width: 782px) {
	.ga-hero7__band::after { background: linear-gradient(180deg, rgba(11,42,74,0), #0B2A4A); }
}
/* ===== FIN VARIANTE FONCÉE ===== */
