/* Compléments de mise en page pour les pages sans équivalent direct dans l'export d'origine
   (agenda, en-tête laureats) et pour le formulaire de contact reconstruit. Réutilise la
   palette de marque Astra du site (--ast-global-color-0 à -8). */

.primat-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 360px;
	padding: 64px 40px 56px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 0 0 80px 0;
	overflow: hidden;
	margin-bottom: 0;
}

.primat-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(26, 26, 26, 0.35) 0%, rgba(26, 26, 26, 0.65) 100%);
}

.primat-hero-content {
	position: relative;
	z-index: 1;
	color: #fff;
}

.primat-hero-content h1 {
	color: #fff;
	font-size: 2.6rem;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.primat-hero-content p {
	color: #f1f1f1;
	max-width: 640px;
	margin: 0;
	font-size: 1.05rem;
}

@media (max-width: 767px) {
	.primat-hero {
		min-height: 260px;
		padding: 40px 24px 32px;
		border-radius: 0 0 40px 0;
	}
	.primat-hero-content h1 {
		font-size: 1.8rem;
	}
}

/* Agenda : programme de la cérémonie */
.primat-agenda-intro {
	max-width: 760px;
	margin: 56px auto 40px;
	text-align: center;
	padding: 0 24px;
	color: #6e7180;
	font-size: 1.05rem;
	line-height: 1.7;
}

.primat-timeline {
	max-width: 820px;
	margin: 0 auto 72px;
	padding: 0 24px;
}

.primat-timeline-item {
	display: flex;
	gap: 24px;
	padding: 24px 0;
	border-bottom: 1px solid #e2e5e7;
}

.primat-timeline-item:last-child {
	border-bottom: none;
}

.primat-timeline-time {
	flex: 0 0 120px;
	font-weight: 700;
	color: #3b4fe4;
	font-size: 1.05rem;
}

.primat-timeline-body h3 {
	margin: 0 0 6px;
	font-size: 1.15rem;
	color: #1a1a1a;
}

.primat-timeline-body p {
	margin: 0;
	color: #6e7180;
	line-height: 1.6;
}

.primat-agenda-note {
	max-width: 820px;
	margin: 0 auto 72px;
	padding: 20px 24px;
	background: #e2e5e7;
	border-radius: 12px;
	color: #3c3c3c;
	text-align: center;
}

/* Formulaire de contact */
.primat-contact-form {
	max-width: 640px;
	margin: 0 auto;
	padding: 0 24px 72px;
}

.primat-contact-form p {
	margin: 0 0 18px;
	text-align: left;
}

.primat-contact-form label {
	display: block;
	font-weight: 600;
	color: #1a1a1a;
	margin-bottom: 6px;
	font-size: 0.95rem;
}

.primat-contact-form input[type="text"],
.primat-contact-form input[type="email"],
.primat-contact-form input[type="tel"],
.primat-contact-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 16px;
	border: 1px solid #e2e5e7;
	border-radius: 8px;
	font-size: 1rem;
	font-family: inherit;
	color: #1a1a1a;
	background: #fff;
	transition: border-color 0.2s ease;
}

.primat-contact-form input:focus,
.primat-contact-form textarea:focus {
	outline: none;
	border-color: #3b4fe4;
}

.primat-contact-form .elementor-button {
	background: #3b4fe4;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 14px 32px;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: background 0.2s ease;
}

.primat-contact-form .elementor-button:hover {
	background: #243673;
}

.primat-form-alert {
	max-width: 640px;
	margin: 0 auto 24px;
	padding: 14px 20px;
	border-radius: 8px;
	font-weight: 600;
	text-align: center;
}

.primat-form-alert-success {
	background: #e5f6ea;
	color: #1c7c34;
}

.primat-form-alert-error {
	background: #fbe6e6;
	color: #b42323;
}

/* Titre au-dessus de la galerie des lauréats */
.primat-gallery-intro {
	max-width: 760px;
	margin: 0 auto 32px;
	text-align: center;
	padding: 0 24px;
}

.primat-gallery-intro p {
	color: #6e7180;
	font-size: 1.05rem;
	line-height: 1.7;
}

/* ==========================================================================
   Menu principal : texte trop grand dans l'export d'origine, corrigé et
   recentré ici (hérite sinon d'une taille Astra pensée pour un header plus
   large que celui du site).
   ========================================================================== */
.main-header-menu .menu-link {
	font-size: 14px !important;
	font-weight: 600 !important;
	letter-spacing: 0.02em;
	display: flex !important;
	align-items: center;
	height: 100%;
	transition: color 0.2s ease;
}

.ast-primary-header-bar .main-header-bar-navigation {
	display: flex;
	align-items: center;
}

.ast-primary-header-bar .main-navigation {
	align-items: center;
}

.main-header-menu > .menu-item {
	display: flex;
	align-items: center;
}

.main-header-menu .menu-link:hover,
.main-header-menu .current-menu-item > .menu-link {
	color: #3b4fe4 !important;
}

.main-header-menu .menu-item {
	position: relative;
}

.main-header-menu > .menu-item > .menu-link::after {
	content: '';
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 6px;
	height: 2px;
	background: #3b4fe4;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.25s ease;
}

.main-header-menu > .menu-item:hover > .menu-link::after,
.main-header-menu > .current-menu-item > .menu-link::after {
	transform: scaleX(1);
}

/* ==========================================================================
   Effets de survol génériques : boutons, cartes, images, logos partenaires.
   ========================================================================== */
.elementor-button {
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.elementor-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(59, 79, 228, 0.25);
}

.elementor-widget-icon-box,
.elementor-widget-image-box {
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	border-radius: 12px;
}

.elementor-widget-icon-box:hover,
.elementor-widget-image-box:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 32px rgba(26, 26, 26, 0.1);
}

.elementor-widget-image .elementor-widget-container,
.elementor-widget-image-box .elementor-widget-container {
	overflow: hidden;
	border-radius: 8px;
}

.elementor-widget-image img,
.elementor-widget-image-box img {
	transition: transform 0.4s ease;
}

.elementor-widget-image:hover img,
.elementor-widget-image-box:hover img {
	transform: scale(1.06);
}

/* Logos partenaires médias : couleur au survol */
.elementor-image-carousel .swiper-slide img {
	filter: grayscale(70%);
	opacity: 0.75;
	transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.elementor-image-carousel .swiper-slide:hover img {
	filter: grayscale(0%);
	opacity: 1;
	transform: scale(1.05);
}

/* Galerie des lauréats : zoom + voile au survol */
.elementor-image-gallery .gallery-item {
	overflow: hidden;
	border-radius: 10px;
}

.elementor-image-gallery .gallery-item a {
	display: block;
	overflow: hidden;
	border-radius: 10px;
	position: relative;
}

.elementor-image-gallery .gallery-item img {
	transition: transform 0.4s ease;
	display: block;
}

.elementor-image-gallery .gallery-item:hover img {
	transform: scale(1.08);
}

/* Icônes sociales */
.elementor-social-icon {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.elementor-social-icon:hover {
	transform: translateY(-3px) scale(1.08);
	box-shadow: 0 8px 16px rgba(59, 79, 228, 0.3);
}

.primat-timeline-item {
	transition: background 0.2s ease, padding-left 0.2s ease;
	border-radius: 8px;
}

.primat-timeline-item:hover {
	background: #f6f7fb;
	padding-left: 12px;
}

/* Liens en général */
a {
	transition: color 0.2s ease;
}

/* ==========================================================================
   Bandeau de statistiques (page d'accueil)
   ========================================================================== */
.primat-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	max-width: 1100px;
	margin: 0 auto 72px;
	padding: 0 24px;
}

.primat-stat {
	text-align: center;
	padding: 32px 16px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 6px 20px rgba(26, 26, 26, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.primat-stat:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 32px rgba(26, 26, 26, 0.1);
}

.primat-stat-number {
	font-size: 2.4rem;
	font-weight: 800;
	color: #3b4fe4;
	line-height: 1;
	margin-bottom: 10px;
}

.primat-stat-label {
	color: #6e7180;
	font-size: 0.95rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

@media (max-width: 767px) {
	.primat-stats {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ==========================================================================
   Bandeau CTA (avant le footer, sur toutes les pages)
   ========================================================================== */
.primat-cta {
	background: linear-gradient(135deg, #243673 0%, #3b4fe4 100%);
	border-radius: 24px;
	max-width: 1100px;
	margin: 0 auto 72px;
	padding: 56px 40px;
	text-align: center;
	color: #fff;
}

.primat-cta h2 {
	color: #fff;
	margin: 0 0 12px;
	font-size: 1.8rem;
	text-transform: uppercase;
}

.primat-cta p {
	color: #dde1fb;
	max-width: 560px;
	margin: 0 auto 28px;
	font-size: 1.05rem;
	line-height: 1.6;
}

.primat-cta .elementor-button {
	background: #fff;
	color: #243673;
}

.primat-cta .elementor-button:hover {
	background: #f1f1f1;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
	.primat-cta {
		padding: 40px 24px;
		border-radius: 16px;
	}
}

/* ==========================================================================
   Grille "avantages" réutilisable (page Nous accompagner)
   ========================================================================== */
.primat-benefits {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	max-width: 1100px;
	margin: 0 auto 72px;
	padding: 0 24px;
}

.primat-benefit {
	background: #fff;
	border-radius: 12px;
	padding: 28px 24px;
	box-shadow: 0 6px 20px rgba(26, 26, 26, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.primat-benefit:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 32px rgba(26, 26, 26, 0.1);
}

.primat-benefit-icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #eef0fd;
	color: #3b4fe4;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	font-size: 1.3rem;
}

.primat-benefit h3 {
	margin: 0 0 8px;
	font-size: 1.1rem;
	color: #1a1a1a;
}

.primat-benefit p {
	margin: 0;
	color: #6e7180;
	line-height: 1.6;
	font-size: 0.95rem;
}

@media (max-width: 767px) {
	.primat-benefits {
		grid-template-columns: 1fr;
	}
}
