/* ============================================================
   styles_evenement.css — Page événement bien-être alimentaire
   ============================================================ */

#hero-evenement {
	background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent));
	color: var(--color-white);
	padding: 130px 24px 60px;
	text-align: center;
}

#hero-evenement .evt-date-pill {
	display: inline-block;
	background: var(--color-white);
	color: var(--color-accent-dark);
	font-weight: 700;
	letter-spacing: 0.05em;
	padding: 8px 20px;
	border-radius: 50px;
	margin-bottom: 18px;
}

#hero-evenement h1 {
	color: var(--color-white);
	margin-bottom: 12px;
}

#hero-evenement p {
	color: rgba(255, 255, 255, 0.9);
	font-size: 1.1rem;
	max-width: 720px;
	margin: 0 auto;
}

.page-evt {
	max-width: 900px;
	margin: 0 auto;
	padding: 50px 24px 70px;
}

.page-evt section {
	padding: 0 0 40px;
}

.page-evt h2 {
	color: var(--color-accent-dark);
	text-align: center;
	margin-bottom: 24px;
}

.page-evt p,
.page-evt li {
	color: var(--color-text);
	line-height: 1.7;
}

/* Infos pratiques */
.evt-infos {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 18px;
	margin: 10px 0;
}

.evt-info-card {
	display: flex;
	align-items: center;
	gap: 16px;
	text-align: left;
	background: var(--color-white);
	border: 1px solid var(--color-border, #ddd);
	border-radius: 18px;
	padding: 20px 22px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.evt-info-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 26px rgba(64, 38, 66, 0.12);
	border-color: var(--color-accent-light);
}

.evt-info-ico {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--color-accent-light);
	display: flex;
	align-items: center;
	justify-content: center;
}

.evt-info-ico svg {
	width: 24px;
	height: 24px;
	fill: var(--color-accent-strong);
}

.evt-info-label {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-text-light, #6b6b6b);
	margin-bottom: 3px;
}

.evt-info-txt p {
	margin: 0;
	font-weight: 600;
	color: var(--color-accent-dark);
	line-height: 1.45;
}

.evt-info-txt a {
	display: inline-block;
	margin-top: 4px;
	font-weight: 600;
	color: var(--color-accent-strong);
}

/* Thématiques */
.evt-themes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
	margin-top: 10px;
}

.evt-theme-card {
	background: var(--color-accent-light, #ebcced);
	border-radius: 16px;
	padding: 24px;
}

.evt-theme-card h3 {
	color: var(--color-accent-dark);
	margin: 0 0 8px;
	font-size: 1.1rem;
}

.evt-theme-card p {
	font-size: 0.92rem;
	margin: 0;
}

/* Programme */
.evt-programme {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	max-width: 640px;
}

.evt-programme li {
	display: flex;
	gap: 18px;
	align-items: baseline;
	padding: 16px 0;
	border-bottom: 1px dashed rgba(64, 38, 66, 0.25);
}

.evt-programme li:last-child {
	border-bottom: none;
}

.evt-programme .evt-heure {
	flex: 0 0 80px;
	font-weight: 700;
	color: var(--color-accent-strong);
}

/* Encadré à compléter */
.evt-todo {
	background: #fff8e1;
	border-left: 4px solid #f0b400;
	border-radius: 0 12px 12px 0;
	padding: 16px 20px;
	margin: 16px 0;
	font-size: 0.9rem;
	color: #7a5c00;
}

/* CTA */
.evt-cta {
	text-align: center;
	background: var(--color-accent-light, #ebcced);
	border-radius: 16px;
	padding: 34px 28px;
	margin-top: 20px;
}

.evt-cta h2 {
	margin-bottom: 8px;
}

.evt-cta p {
	color: var(--color-accent-dark);
	margin-bottom: 20px;
}

.page-evt .btn {
	display: inline-block;
	padding: 14px 28px;
	border-radius: 50px;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.25s ease;
	border: 2px solid transparent;
}

.page-evt .btn-primary {
	background-color: var(--color-accent-strong);
	color: var(--color-white);
	border-color: var(--color-accent-strong);
	box-shadow: 0 4px 12px rgba(229, 115, 235, 0.4);
}

.page-evt .btn-primary:hover {
	background-color: var(--color-accent-dark);
	border-color: var(--color-accent-dark);
}

/* ===== Bandeau événement (page d'accueil) — reste accessible même modale fermée ===== */
#bandeau-evenement {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10001;
	background: var(--color-accent-dark);
	color: var(--color-white);
	text-align: center;
	padding: 12px 20px;
	font-size: 0.95rem;
}

#bandeau-evenement a {
	color: var(--color-white);
	font-weight: 700;
	text-decoration: underline;
	margin-left: 6px;
}

/* Le menu fixe est décalé sous le bandeau (hauteur posée en JS) */
body.has-bandeau #menuPrincipal {
	top: var(--bandeau-h, 44px);
}

/* Accueil avec bandeau : on cale le hero en haut pour ne rien masquer sous le menu */
body.has-bandeau #hero {
	align-items: flex-start;
	padding-top: calc(var(--bandeau-h, 44px) + 96px);
}

/* ===== Annonce événement flottante (page d'accueil) — même style que le menu de partage ===== */
.evt-annonce-flottante {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 500;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 18px 8px 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.5);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	text-decoration: none;
	color: var(--color-accent-dark);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.evt-annonce-flottante:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.evt-annonce-flottante-emoji {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--color-accent-strong);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	flex-shrink: 0;
}

.evt-annonce-flottante-texte {
	display: flex;
	flex-direction: column;
	font-size: 0.8rem;
	line-height: 1.3;
	white-space: nowrap;
}

.evt-annonce-flottante-texte strong {
	color: var(--color-accent-strong);
	font-size: 0.9rem;
}

/* ===== Modale d'annonce de l'événement (verre dépoli, plein écran) ===== */
body.modal-ouverte {
	overflow: hidden;
}

.modal-verre {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 10002;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(20, 10, 25, 0.35);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.modal-verre.est-visible {
	display: flex;
	opacity: 1;
}

.modal-verre-content {
	position: relative;
	max-width: 480px;
	width: 100%;
	text-align: center;
	padding: 40px 32px 32px;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.6);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	transform: translateY(16px);
	transition: transform 0.3s ease;
}

.modal-verre.est-visible .modal-verre-content {
	transform: translateY(0);
}

.evt-modal-pill {
	display: inline-block;
	background: var(--color-accent-strong);
	color: var(--color-white);
	font-size: 0.85rem;
	font-weight: 700;
	padding: 6px 16px;
	border-radius: 20px;
	margin-bottom: 16px;
}

.modal-verre-content h2 {
	color: var(--color-accent-dark);
	font-size: 1.4rem;
	margin-bottom: 14px;
}

.modal-verre-content p {
	color: var(--color-text);
	line-height: 1.6;
	margin-bottom: 24px;
}

.evt-modal-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
}

.modal-verre .btn-outline {
	color: var(--color-accent-dark);
	border-color: var(--color-accent-dark);
	background-color: transparent;
}

.modal-verre .btn-outline:hover {
	background-color: rgba(0, 0, 0, 0.06);
}

.close-btn-verre {
	position: absolute;
	top: 12px;
	right: 18px;
	color: var(--color-accent-dark);
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	background: none;
	border: none;
	line-height: 1;
}

.close-btn-verre:hover {
	color: var(--color-accent-strong);
}

@media (max-width: 768px) {
	.modal-verre-content {
		padding: 32px 20px 24px;
	}

	.evt-annonce-flottante {
		right: 12px;
		bottom: 12px;
		padding: 6px 14px 6px 6px;
		gap: 8px;
	}

	.evt-annonce-flottante-emoji {
		width: 36px;
		height: 36px;
		font-size: 1.05rem;
	}

	.evt-annonce-flottante-texte {
		font-size: 0.72rem;
	}

	.evt-annonce-flottante-texte strong {
		font-size: 0.8rem;
	}
}

@media (max-width: 768px) {
	#hero-evenement {
		padding-top: 110px;
	}
}

/* LIEN FB */
.div-lien-fb {
	display: flex;
	justify-content: center;
	width: 100%;
	margin: 24px auto 0;
}

.lien-btn {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lien-btn svg {
	width: 24px;
	height: 24px;
	fill: #fff;
}

.lien-fb {
	background: #1877F2;
}

/* ===== Bloc partage (boutons ronds aux couleurs des réseaux) ===== */
.part-btn {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.part-btn svg {
	width: 24px;
	height: 24px;
	fill: #fff;
}

.part-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.part-natif {
	background: var(--color-accent-strong);
}

.part-fb {
	background: #1877F2;
}

.part-wa {
	background: #25D366;
}

.part-li {
	background: #0A66C2;
}

.part-ig {
	background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

/* ===== Menu de partage flottant (toujours visible, ancré en bas à droite) ===== */
.evt-partage-flottant {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 500;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 14px 10px;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.5);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.evt-partage-flottant-label {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	color: var(--color-white);
	background: var(--color-accent-strong);
	padding: 4px 12px;
	border-radius: 20px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	white-space: nowrap;
}

.evt-partage-flottant-boutons {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.evt-partage-flottant .part-btn {
	width: 44px;
	height: 44px;
}

.evt-partage-flottant .part-btn svg {
	width: 20px;
	height: 20px;
}

@media (max-width: 768px) {
	.evt-partage-flottant {
		right: 12px;
		bottom: 12px;
		gap: 8px;
	}

	.evt-partage-flottant-label {
		display: none;
	}

	.evt-partage-flottant .part-btn {
		width: 40px;
		height: 40px;
	}

	.evt-partage-flottant .part-btn svg {
		width: 18px;
		height: 18px;
	}
}

/* ===== Sous-titres et note dans "Au programme" ===== */
.evt-sous-titre {
	text-align: center;
	color: var(--color-accent-strong);
	font-size: 1.1rem;
	margin: 30px 0 16px;
}

.evt-note {
	max-width: 680px;
	margin: 28px auto 0;
	text-align: center;
	background: var(--color-accent-light, #ebcced);
	color: var(--color-accent-dark);
	border-radius: 14px;
	padding: 14px 20px;
	font-size: 0.92rem;
}

/* Horaire d'atelier non encore défini */
.evt-heure-todo {
	font-size: 0.8rem !important;
	font-weight: 600 !important;
	color: var(--color-text-light, #6b6b6b) !important;
	font-style: italic;
}

/* ===== Frise verticale du déroulé ===== */
.evt-timeline {
	list-style: none;
	max-width: 520px;
	margin: 0 auto;
	padding: 6px 0;
	position: relative;
}

.evt-timeline li {
	position: relative;
	padding: 0 0 26px 40px;
}

.evt-timeline li:last-child {
	padding-bottom: 0;
}

/* Trait reliant chaque puce à la suivante : s'arrête pile sur la dernière puce (18h) */
.evt-timeline li:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 8px;
	top: 22px;
	bottom: -3px;
	width: 3px;
	background: var(--color-accent-light);
	border-radius: 3px;
}

/* Pastille sur le trait */
.evt-timeline li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 19px;
	height: 19px;
	border-radius: 50%;
	background: var(--color-accent-strong);
	border: 4px solid var(--color-white);
	box-shadow: 0 0 0 2px var(--color-accent-light);
}

.evt-tl-heure {
	display: block;
	font-weight: 700;
	color: var(--color-accent-strong);
	margin-bottom: 2px;
}

.evt-tl-acte {
	display: block;
	color: var(--color-text);
	line-height: 1.5;
}

/* Sous-titre sous le H1 du hero événement */
#hero-evenement .evt-soustitre-hero {
	font-weight: 600;
	font-size: 1.05rem;
	color: rgba(255, 255, 255, 0.92);
	margin: 0 auto 14px;
	max-width: 720px;
}