/* Accueil : titre à gauche (3 colonnes sur 6), photo flottante à droite ; une seule colonne sous 820 px. */

.eaq-accueil {
	position: relative;
	overflow: hidden;
}

.eaq-accueil__halo {
	position: absolute;
	top: 60px;
	left: -140px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: radial-gradient(circle at 40% 40%, #c6d9e6, transparent 68%);
	filter: blur(8px);
	opacity: .75;
	pointer-events: none;
}

.eaq-accueil__grille {
	max-width: 1400px;
	margin: 0 auto;
	padding: 70px 40px 64px 40px;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 0;
	align-items: center;
	position: relative;
	box-sizing: border-box;
}

.eaq-accueil__mots {
	grid-column: 1 / 4;
	padding-right: 44px;
}

.eaq-accueil__direct {
	margin: 0 0 24px;
	animation: eaq-rise .8s cubic-bezier(.22, .6, .2, 1) both;
}

.eaq-accueil__direct a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: #fff;
	border: 1px solid rgba(14, 51, 80, .14);
	border-radius: 6px;
	padding: 9px 16px;
	font-size: 12.5px;
	font-weight: 600;
	color: #0e3350;
	transition: border-color .25s;
}

.eaq-accueil__direct a:hover {
	border-color: #0e3350;
	color: #0e3350;
}

.eaq-accueil__point {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #1b5480;
	animation: eaq-pulse 1.8s ease-out infinite;
}

.eaq-accueil__titre {
	margin: 0;
	font-weight: 700;
	font-size: clamp(44px, 4.6vw, 68px);
	line-height: 1.04;
	letter-spacing: -.035em;
	color: #0e3350;
}

.eaq-accueil__ligne {
	display: block;
	white-space: nowrap;
	/* Chaque ligne monte de derrière un cache ; le cache déborde un peu pour garder accents et jambages. */
	overflow: hidden;
	padding: .12em .12em .16em 0;
	margin: -.12em 0 -.16em;
}

.eaq-accueil__ligne-in {
	display: block;
	animation: eaq-monte 1.1s calc(var(--d, 0s) + .15s) cubic-bezier(.16, .84, .3, 1) both;
}

.eaq-accueil__mot {
	display: inline-block;
	font-family: 'Noto Serif', serif;
	font-style: italic;
	font-weight: 400;
	color: #1b5480;
	transition: opacity .35s, transform .35s;
}

.eaq-accueil__texte {
	margin: 26px 0 0;
	max-width: 420px;
	font-size: 17px;
	line-height: 1.7;
	font-weight: 400;
	color: #40515f;
	animation: eaq-fade 1s .55s both;
}

.eaq-accueil__boutons {
	margin-top: 32px;
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	animation: eaq-rise .8s .68s cubic-bezier(.22, .6, .2, 1) both;
}

.eaq-accueil__bouton {
	padding: 15px 28px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 15px;
}

.eaq-accueil__bouton--1 {
	background: #0e3350;
	color: #f4f1ea;
	transition: transform .25s, background .25s;
}

.eaq-accueil__bouton--1:hover {
	background: #1b5480;
	color: #f4f1ea;
	transform: translateY(-2px);
}

.eaq-accueil__bouton--2 {
	border: 1px solid rgba(14, 51, 80, .28);
	color: #0e3350;
	transition: border-color .25s, background .25s;
}

.eaq-accueil__bouton--2:hover {
	border-color: #0e3350;
	background: #e6e1d6;
	color: #0e3350;
}

.eaq-accueil__visuel {
	grid-column: 4 / 7;
	position: relative;
}

.eaq-accueil__photo {
	position: relative;
	height: 600px;
	overflow: hidden;
	/* La photo s'ouvre comme un rideau, du bas vers le haut, puis flotte. */
	animation: eaq-rideau 1.5s .2s cubic-bezier(.77, 0, .18, 1) both, eaq-float 10s 1.7s ease-in-out infinite;
}

.eaq-accueil__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;	animation: eaq-recul 2.6s .2s cubic-bezier(.16, .84, .3, 1) both;
}

.eaq-accueil__carte {
	animation: eaq-carte 1s 1.3s cubic-bezier(.2, .8, .2, 1) both;
	position: absolute;
	bottom: 24px;
	left: -26px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 18px 50px rgba(14, 51, 80, .18);
	padding: 15px 20px;
	display: flex;
	align-items: center;
	gap: 14px;
}

.eaq-accueil__chiffre {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #c6d9e6;
	display: grid;
	place-items: center;
	color: #0e3350;
	font-family: 'Noto Serif', serif;
	font-size: 19px;
}

.eaq-accueil__carte-texte {
	line-height: 1.35;
}

.eaq-accueil__carte-texte strong {
	display: block;
	font-size: 14px;
	color: #0e3350;
}

.eaq-accueil__carte-texte span {
	font-size: 12.5px;
	color: #556270;
}

@media (max-width: 820px) {
	.eaq-accueil__grille {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 36px;
		padding: 44px 22px 40px;
	}

	.eaq-accueil__grille > * {
		grid-column: 1 / -1;
	}

	.eaq-accueil__mots {
		padding-right: 0;
	}

	.eaq-accueil__photo {
		height: 340px;
	}

	.eaq-accueil__carte {
		left: 12px;
		bottom: 14px;
	}
}

@media (max-width: 600px) {
	.eaq-accueil__boutons {
		width: 100%;
	}

	.eaq-accueil__boutons > * {
		flex: 1 1 auto;
		justify-content: center;
		text-align: center;
	}
}
