/**
 * Page "Vos garanties sur mesure"
 * Style modernisé dans l'esprit de `single-garantie.css`
 */

.vgs :is(h1, h2, h3, h4, h5, h6) {
	font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
	font-weight: 400;
}

.vgs h1 { font-size: 42px; }
.vgs h2 { font-size: 36px; }
.vgs h3 { font-size: 30px; }
.vgs h4 { font-size: 24px; }
.vgs h5 { font-size: 20px; }
.vgs h6 { font-size: 18px; }

/* Exceptions : titres de cartes / boucles (plus petits que l'échelle globale) */
.vgs .vgs-products__name { font-size: 20px; }
.vgs .vgs-feature__title { font-size: 18px; }

.vgs {
	--vgs-blue: #0073ba;
	--vgs-blue-dark: #005a94;
	--vgs-heading: #122b54;
	--vgs-text: #5c6773;
	--vgs-text-muted: #8a939c;
	--vgs-border: #dde4ea;
	--vgs-surface: #f7f9fb;
	--bcom-section-title-color: var(--vgs-blue);
	--bcom-section-title-border: var(--vgs-blue);
}

/* -------------------------------------------------------------------------- */
/* Hero */
/* -------------------------------------------------------------------------- */

.vgs-hero {
	position: relative;
	background-color: transparent;
	overflow: hidden;
}

.vgs-hero__media {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
}

.vgs-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* Pas de voile de couleur sur l'image (demandé). */

.vgs-hero__inner.container {
	max-width: 1200px;
	position: relative;
	z-index: 2;
	padding-top: 90px;
	padding-bottom: 90px;
}

.vgs-hero__title {
	max-width: 750px;
	margin: 0 0 16px;
	color: #fff;
	font-size: 42px;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.vgs-hero__text {
	max-width: 620px;
	margin: 0;
	color: rgba(255, 255, 255, 0.92);
	font-size: 18px;
	line-height: 1.7;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* -------------------------------------------------------------------------- */
/* Sections */
/* -------------------------------------------------------------------------- */

.vgs-section {
	padding: 64px 0;
}

.vgs-section--muted {
	background: #fff;
}

.vgs-section__container.container {
	max-width: 1200px;
}

/* Un peu d'air sur les petits écrans */
@media (max-width: 1199px) {
	.vgs-hero__inner.container,
	.vgs-section__container.container {
		padding-left: 18px;
		padding-right: 18px;
	}
}

.vgs-kicker {
	margin: 0 0 14px;
	color: var(--vgs-heading);
	font-size: 22px;
	line-height: 1.35;
}

.vgs-lead {
	max-width: 820px;
	margin: 0 auto;
	color: var(--vgs-text);
	font-size: 16px;
	line-height: 1.7;
	text-align: center;
}

/* -------------------------------------------------------------------------- */
/* Produits (grille) */
/* -------------------------------------------------------------------------- */

.vgs-products {
	margin-top: 36px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	padding: 4px 2px 0;
}

.vgs-products__item {
	background: #fff;
	border: 1px solid var(--vgs-border);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 10px 24px rgba(18, 43, 84, 0.06);
	display: flex;
	flex-direction: column;
	min-height: 320px;
}

.vgs-products__link {
	color: inherit;
	text-decoration: none;
}

.vgs-products__link:hover,
.vgs-products__link:focus-visible {
	border-color: rgba(0, 115, 186, 0.45);
	box-shadow: 0 14px 34px rgba(0, 115, 186, 0.12);
}

.vgs-products__link:focus-visible {
	outline: 3px solid rgba(0, 115, 186, 0.35);
	outline-offset: 3px;
}

.vgs-products__thumb {
	aspect-ratio: 1 / 1;
	background: var(--vgs-surface);
	overflow: hidden;
}

.vgs-products__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.25s ease;
}

.vgs-products__item:hover .vgs-products__thumb img {
	transform: scale(1.03);
}

.vgs-products__body {
	padding: 16px 16px 18px;
}

.vgs-products__name {
	margin: 0;
	color: var(--vgs-heading);
	font-size: 20px;
	line-height: 1.35;
}

.vgs-products__link:hover .vgs-products__name {
	color: var(--vgs-blue);
}

@media (max-width: 1199px) {
	.vgs-products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	.vgs-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vgs-products__item {
		min-height: 0;
	}
}

@media (max-width: 640px) {
	.vgs-products {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.vgs-products__body {
		padding: 14px 14px 16px;
	}
}

/* -------------------------------------------------------------------------- */
/* 3 arguments (cartes) */
/* -------------------------------------------------------------------------- */

.vgs-features {
	margin-top: 44px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.vgs-feature {
	background: #fff;
	border: 1px solid rgba(221, 228, 234, 0.9);
	border-radius: 12px;
	padding: 22px 22px 20px;
	box-shadow: 0 10px 26px rgba(18, 43, 84, 0.06);
}

.vgs-feature__icon {
	border-radius: 14px;
	display: grid;
	place-items: center;
	margin-bottom: 14px;
}

.vgs-feature__icon svg {
	width: 120px;
	height: 120px;
	fill: var(--vgs-blue);
}

.vgs-feature__title {
	margin: 0 0 8px;
	color: var(--vgs-heading);
	font-size: 18px;
	line-height: 1.35;
}

.vgs-feature__text {
	margin: 0;
	color: var(--vgs-text);
	font-size: 16px;
	line-height: 1.7;
}

@media (max-width: 991px) {
	.vgs-feature {
		padding: 18px 18px 16px;
	}

	.vgs-feature__icon svg {
		width: 96px;
		height: 96px;
	}
}

@media (max-width: 640px) {
	.vgs-feature__icon svg {
		width: 84px;
		height: 84px;
	}

	.vgs-feature__text {
		font-size: 15px;
	}
}

@media (max-width: 991px) {
	.vgs-features {
		grid-template-columns: 1fr;
	}
}

/* -------------------------------------------------------------------------- */
/* CTA bandeau */
/* -------------------------------------------------------------------------- */

.vgs-cta {
	margin-top: 56px;
	background: var(--vgs-blue);
	border-radius: 12px;
	padding: 26px 26px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.vgs-cta__text {
	margin: 0;
	color: #fff;
	font-size: 26px;
	line-height: 1.5;
}

.vgs-cta__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 22px;
	border-radius: 999px;
	background: #fff;
	color: var(--vgs-blue);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	border: 2px solid #fff;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.vgs-cta__button:hover,
.vgs-cta__button:focus {
	background: transparent;
	color: #fff;
}

@media (max-width: 767px) {
	.vgs-hero__inner.container {
		padding-top: 56px;
		padding-bottom: 56px;
	}

	.vgs-hero__title {
		font-size: 34px;
	}

	.vgs-hero__inner.container {
		padding-top: 64px;
		padding-bottom: 64px;
	}

	.vgs-hero__text {
		font-size: 16px;
	}

	.vgs-section {
		padding: 48px 0;
	}

	.vgs-cta {
		flex-direction: column;
		align-items: flex-start;
	}

	.vgs-cta__text {
		font-size: 18px;
	}

	.vgs-cta__button {
		width: 100%;
		justify-content: center;
	}
}

