/* W5 — accueil, en-tête natif Blocksy et blocs WordPress modifiables. */
:root {
	--a4a-header-height: 90px;
	--a4a-hero-height: 503px;
}

body.home {
	background: var(--a4a-paper);
	color: var(--a4a-title);
	font-family: var(--a4a-font-sans);
}

body.home #main-container {
	position: relative;
	overflow: clip;
}

body.home .ct-container-full {
	position: relative;
	top: -40px;
	margin-bottom: -40px;
	padding-block: 0;
}

body.home .entry-header {
	display: none;
}

body.home #header {
	position: absolute;
	inset: 0 0 auto;
	z-index: 20;
	background: transparent !important;
}

body.home #header [data-row],
body.home #header [data-row] > div,
body.home #header [data-row] .ct-container {
	background: transparent !important;
	--theme-header-background: transparent;
	--theme-header-sticky-background: transparent;
}

body.home #header [data-device="desktop"],
body.home #header [data-device="desktop"] [data-row],
body.home #header [data-device="desktop"] [data-row] > div,
body.home #header [data-device="desktop"] [data-row] .ct-container,
body.home #header .header-menu-1,
body.home #header .header-menu-1 > ul,
body.home #header .header-menu-1 .sub-menu {
	background: transparent !important;
}

body.home #header [data-row="middle"] {
	--height: var(--a4a-header-height);
	background: transparent !important;
	box-shadow: none;
}

body.home #header .ct-container {
	width: calc(100% - 116px);
	max-width: 1420px;
	min-height: var(--a4a-header-height);
	margin-inline: auto;
	padding-inline: 0;
}

body.home #header [data-column="start"],
body.home #header [data-column="end"] {
	min-width: 0;
}

body.home #header .site-logo-container {
	display: block;
	max-height: none;
	line-height: 0;
}

body.home #header .site-branding {
	min-height: var(--a4a-header-height);
	align-items: flex-start;
}

body.home #header .site-title-container {
	display: none;
}

body.home #header .site-logo-container img {
	display: block;
	width: 482px;
	max-width: min(482px, 35vw);
	height: 81px;
	object-fit: contain;
}

body.home #header .header-menu-1 > ul {
	align-items: center;
	gap: 35px;
}

body.home #header .header-menu-1 .ct-menu-link {
	padding: 0;
	color: var(--a4a-title);
	font-size: 14px;
	font-weight: 550;
	line-height: 1.3;
	text-decoration: none;
	text-transform: none;
}

body.home #header .header-menu-1 .ct-menu-link:hover,
body.home #header .header-menu-1 .current-menu-item > .ct-menu-link {
	color: #0067ad;
}

body.home #header .ct-header-cta {
	position: relative;
	margin-inline-start: 30px;
	margin-inline-end: 8px;
	padding-inline-start: 31px;
	border-inline-start: 1px solid #9eb3cd;
}

body.home #header .ct-header-cta .ct-button {
	box-sizing: border-box;
	width: 254px;
	min-height: 49px;
	padding: 0 20px;
	border: 1px solid rgba(255,255,255,.35);
	border-radius: var(--a4a-button-radius);
	background: linear-gradient(112deg, #0876d0 0%, #0052aa 60%, #00388f 100%);
	box-shadow: 0 5px 12px rgba(0, 47, 102, .12);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

body.home #header .ct-header-cta .ct-button::after {
	content: "→";
	margin-inline-start: 13px;
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
}

body.home #header .ct-header-cta .ct-button:hover {
	background: linear-gradient(112deg, #0067bd 0%, #004b9e 60%, #002e7e 100%);
	transform: translateY(-1px);
}

body.home .a4a-home-hero {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	min-height: var(--a4a-hero-height);
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: var(--a4a-paper);
	border-bottom: 1px solid #eaf0f6;
}

body.home .a4a-home-hero::before {
	position: absolute;
	inset: 0 0 0 40%;
	z-index: 0;
	content: "";
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 165px);
	mask-image: linear-gradient(90deg, transparent 0, #000 165px);
	background:
		linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(220,239,252,.34) 8%, rgba(236,246,253,.74) 17%, rgba(255,255,255,.94) 29%, rgba(250,252,255,.92) 67%, rgba(231,238,246,.86) 86%, rgba(248,250,253,.95) 100%),
		linear-gradient(180deg, #eaf5fd 0%, #fbfdff 48%, #eaf1f8 100%);
}

body.home .a4a-home-hero::after {
	content: none;
}

body.home .a4a-home-hero__inner {
	position: relative;
	z-index: 2;
	box-sizing: border-box;
	width: min(1386px, calc(100% - 44px));
	height: var(--a4a-hero-height);
	margin-inline: auto;
	padding: 0;
}

body.home .a4a-home-hero__copy {
	position: absolute;
	left: 0;
	top: 119px;
	z-index: 4;
	width: min(600px, 45vw);
	margin: 0;
}

body.home .a4a-home-hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0;
	color: #36598d;
	font-size: 9px;
	font-weight: 500;
	letter-spacing: 4px;
	line-height: 16px;
	white-space: nowrap;
}

body.home .a4a-home-hero__eyebrow::before {
	width: 38px;
	height: 2px;
	flex: 0 0 38px;
	content: "";
	background: var(--a4a-accent-line);
}

@media (max-width: 350px) {
	body.home .a4a-home-hero__eyebrow {
		gap: 7px;
		font-size: 6px;
		letter-spacing: .6px;
	}
	body.home .a4a-home-hero__eyebrow::before {
		width: 22px;
		flex-basis: 22px;
	}
}

body.home .a4a-home-hero__title {
	margin: 21px 0 0;
	color: var(--a4a-title);
	font-size: clamp(42px, 3.9vw, 60px);
	font-weight: 400;
	letter-spacing: -1.4px;
	line-height: 1.02;
}

body.home .a4a-home-hero__title-strong,
body.home .a4a-home-hero__title-light {
	display: block;
}

body.home .a4a-home-hero__title-strong {
	font-weight: 800;
}

body.home .a4a-home-hero__title-light {
	font-weight: 400;
	letter-spacing: -1.35px;
}

body.home .a4a-home-hero__signature {
	margin: 13px 0 0;
	color: #071a56;
	font-size: 23px;
	font-weight: 550;
	letter-spacing: -.4px;
	line-height: 30px;
}

body.home .a4a-home-hero__intro {
	margin: 21px 0 0;
	color: #0a1c5c;
	font-size: 21px;
	font-weight: 400;
	letter-spacing: -.2px;
	line-height: 26px;
}

body.home .a4a-home-hero__actions {
	margin: 19px 0 0;
}

body.home .a4a-home-hero__actions .wp-block-button__link {
	box-sizing: border-box;
	display: inline-flex;
	width: 334px;
	min-height: 53px;
	align-items: center;
	justify-content: center;
	padding: 0 24px;
	border: 0;
	border-radius: var(--a4a-button-radius);
	background: linear-gradient(112deg, #0366c1 0%, #0052ae 54%, #00368b 100%);
	box-shadow: 0 6px 13px rgba(0, 51, 112, .12);
	color: #fff;
    	font-size: 17px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

body.home .a4a-home-hero__actions .wp-block-button__link::after {
	content: "→";
	margin-inline-start: 14px;
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
}

body.home .a4a-home-hero__actions .wp-block-button__link:hover {
	background: linear-gradient(112deg, #005ab1 0%, #00489d 54%, #002f7a 100%);
	transform: translateY(-1px);
}

body.home .a4a-home-hero__visual {
	position: absolute;
	left: calc(50% + 62px);
	top: 163px;
	z-index: 3;
	width: 516px;
	max-width: 40vw;
	margin: 0;
	filter: drop-shadow(0 10px 14px rgba(14, 74, 140, .12));
}

body.home .a4a-home-hero__window,
body.home .a4a-home-hero__upperwall,
body.home .a4a-home-hero__pedestal,
body.home .a4a-home-hero__sidewall {
	position: absolute;
	z-index: 2;
	display: block;
	max-width: none;
	margin: 0;
	overflow: hidden;
}

body.home .a4a-home-hero__window {
	left: calc(44.25vw - max((100vw - 1386px) / 2, 22px));
	top: 0;
	width: 150px;
	height: 503px;
}

body.home .a4a-home-hero__upperwall {
	left: calc(54.04vw - max((100vw - 1386px) / 2, 22px));
	top: 90px;
	width: 516px;
	height: 73px;
}

body.home .a4a-home-hero__pedestal {
	left: calc(50% - 25px);
	top: 364px;
	width: 663px;
	height: 139px;
}

body.home .a4a-home-hero__sidewall {
	right: -75px;
	top: 90px;
	width: 190px;
	height: 413px;
}

body.home .a4a-home-hero__window img,
body.home .a4a-home-hero__upperwall img,
body.home .a4a-home-hero__pedestal img,
body.home .a4a-home-hero__sidewall img {
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
	object-fit: fill;
}

body.home .a4a-home-hero__visual img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	box-shadow: none;
}

body.home #footer {
	display: none;
}

@media (max-width: 1199px) {
	:root {
		--a4a-header-height: 82px;
		--a4a-hero-height: 540px;
	}

	body.home #header .ct-container {
		width: calc(100% - 44px);
	}

	body.home #header [data-device="desktop"] {
		display: none;
	}

	body.home #header [data-device="mobile"] {
		display: block !important;
	}

	body.home #header .site-logo-container img {
		width: auto;
		height: auto;
		max-width: min(390px, 68vw);
		max-height: 66px;
	}

	body.home #header .site-branding {
		min-height: var(--a4a-header-height);
		align-items: center;
	}

	body.home #header .ct-header-trigger {
		display: flex !important;
		position: absolute !important;
		top: 14px;
		inset-inline-end: 16px;
		z-index: 2;
		width: 44px;
		height: 44px;
		align-items: center;
		justify-content: center;
		opacity: 1 !important;
		visibility: visible !important;
		color: var(--a4a-title);
	}

	body.home #header .ct-header-trigger svg {
		display: none !important;
	}

	body.home #header .ct-header-trigger::before {
		width: 22px;
		height: 16px;
		content: "";
		background: linear-gradient(to bottom, currentColor 0 2px, transparent 2px 7px, currentColor 7px 9px, transparent 9px 14px, currentColor 14px 16px);
	}

	body.home #header [data-device="mobile"] [data-column="end"],
	body.home #header [data-device="mobile"] [data-column="end"] [data-items="primary"] {
		display: flex !important;
		align-items: center;
		justify-content: flex-end;
		visibility: visible !important;
	}

	body.home .a4a-home-hero::before {
		inset-inline-start: 40%;
	}

	body.home .a4a-home-hero::after {
		left: 47%;
		width: 48%;
	}

	body.home .a4a-home-hero__inner {
		width: calc(100% - 44px);
		height: var(--a4a-hero-height);
	}

	body.home .a4a-home-hero__copy {
		top: 125px;
		width: min(570px, 62vw);
	}

	body.home .a4a-home-hero__title {
		font-size: clamp(42px, 5.2vw, 60px);
	}

	body.home .a4a-home-hero__visual {
		left: auto;
		right: -28px;
		top: 290px;
		width: min(516px, 52vw);
		max-width: 52vw;
	}

	body.home .a4a-home-hero__window,
	body.home .a4a-home-hero__upperwall,
	body.home .a4a-home-hero__pedestal,
	body.home .a4a-home-hero__sidewall {
		display: none;
	}
}

@media (max-width: 689px) {
	:root {
		--a4a-header-height: 72px;
		--a4a-hero-height: auto;
	}

	body.home #header .ct-container {
		width: calc(100% - 32px);
		min-height: var(--a4a-header-height);
	}

	body.home #header [data-row="middle"] {
		--height: var(--a4a-header-height);
	}

	body.home #header .site-logo-container img {
		height: auto;
		max-width: min(290px, 71vw);
		max-height: 54px;
	}

	body.home .a4a-home-hero {
		min-height: 0;
		padding-bottom: 26px;
	}

	body.home .a4a-home-hero::before {
		inset: 0;
		top: 52%;
		background: linear-gradient(180deg, #f5f9fd, #fff 55%, #eef4fa);
	}

	body.home .a4a-home-hero::after {
		display: none;
	}

	body.home .a4a-home-hero__inner {
		display: flex;
		width: calc(100% - 40px);
		height: auto;
		min-width: 0;
		flex-direction: column;
		align-items: stretch;
		padding-top: 104px;
	}

	body.home .a4a-home-hero__copy {
		position: relative;
		inset: auto;
		width: 100%;
	}

	body.home .a4a-home-hero__eyebrow {
		gap: 11px;
		font-size: 8px;
		letter-spacing: 2.25px;
	}

	body.home .a4a-home-hero__eyebrow::before {
		width: 25px;
		flex-basis: 25px;
	}

	body.home .a4a-home-hero__title {
		margin-top: 18px;
		font-size: clamp(28px, 8.2vw, 32px);
		letter-spacing: -1.4px;
		line-height: 1.04;
		white-space: normal;
	}

	body.home .a4a-home-hero__title-light {
		letter-spacing: -1.6px;
		white-space: normal;
	}

	body.home .a4a-home-hero__signature {
		margin-top: 12px;
		font-size: 17px;
		line-height: 24px;
	}

	body.home .a4a-home-hero__intro {
		margin-top: 14px;
		font-size: 17px;
		line-height: 24px;
	}

	body.home .a4a-home-hero__actions {
		margin-top: 20px;
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	body.home .a4a-home-hero__actions .wp-block-button,
	body.home .a4a-home-hero__actions .wp-block-button__link {
		box-sizing: border-box;
		width: min(330px, calc(100vw - 40px)) !important;
		max-width: min(330px, calc(100vw - 40px)) !important;
		min-width: 0;
	}

	body.home .a4a-home-hero__actions .wp-block-button__link {
		min-height: 52px;
		font-size: 15px;
	}

	body.home .a4a-home-hero__visual {
		position: relative;
		inset: auto;
		box-sizing: border-box;
		flex: 0 1 auto;
		align-self: stretch;
		width: min(330px, calc(100vw - 40px)) !important;
		max-width: min(330px, calc(100vw - 40px)) !important;
		min-width: 0;
		margin: 25px 0 0;
	}

	body.home .a4a-home-hero__visual img {
		width: 100%;
		max-width: 100%;
	}
}

@media (min-width: 690px) and (max-width: 850px) {
	:root { --a4a-hero-height: auto; }
	body.home .a4a-home-hero { height: auto; min-height: 0; padding-bottom: 28px; }
	body.home .a4a-home-hero__inner {
		display: flex;
		width: calc(100% - 48px);
		height: auto;
		min-height: 0;
		flex-direction: column;
		align-items: stretch;
		padding-top: 108px;
	}
	body.home .a4a-home-hero__copy {
		position: relative;
		inset: auto;
		width: min(100%, 600px);
	}
	body.home .a4a-home-hero__visual {
		position: relative;
		inset: auto;
		align-self: center;
		width: min(516px, calc(100vw - 80px));
		max-width: min(516px, calc(100vw - 80px));
		margin: 26px 0 0;
	}
	body.home .a4a-home-hero__window,
	body.home .a4a-home-hero__upperwall,
	body.home .a4a-home-hero__pedestal,
	body.home .a4a-home-hero__sidewall { display: none; }
	body.home .a4a-approach-section { height: auto; min-height: 0; padding: 32px 0 36px; }
	body.home .a4a-steps-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
	body.home .a4a-step-card,
	body.home .a4a-step-card:nth-child(2),
	body.home .a4a-step-card:nth-child(3) { min-height: 0; padding: 22px 0 24px 76px; }
	body.home .a4a-step-card + .a4a-step-card { border-inline-start: 0; border-top: 1px solid #dce8f5; }
	body.home .a4a-step-card > .a4a-page-eyebrow { top: 18px; font-size: 36px; }
	body.home .a4a-step-card > .a4a-page-eyebrow::after { bottom: -9px; width: 38px; }
	body.home .a4a-step-card h3 { margin-bottom: 9px; font-size: 22px; }
	body.home .a4a-contact-band { padding: 32px 0; }
	body.home .a4a-contact-inner { display: flex !important; flex-direction: column; align-items: stretch; gap: 0; }
	body.home .a4a-contact-inner > .a4a-page-eyebrow { margin-bottom: 8px; }
	body.home .a4a-contact-inner > h2 { margin-bottom: 6px; font-size: 26px; }
	body.home .a4a-contact-inner > p:not(.a4a-page-eyebrow) { font-size: 16px; }
	body.home .a4a-contact-details { min-height: 0; margin-top: 20px; padding: 4px 0 0 18px; border-inline-start: 2px solid var(--a4a-accent-line); }
	body.home .a4a-contact-details .a4a-contact-email { position: static; top: auto; margin-top: 7px; }
	body.home .a4a-contact-details .a4a-contact-founder { position: static; top: auto; margin: 2px 0 0; }
	body.home .a4a-contact-inner > .a4a-contact-side { display: none; }
}
