/* ==========================================================
   Pool Pro Time - page "Participez a Pool Pro Time" + encart
   Charge uniquement par vues/frontoffice/podcast_participer.vue.php
   ========================================================== */

:root {
	--ppt-marine: #1b2f6e;
	--ppt-marine-fonce: #142456;
	--ppt-cyan: #26c7ee;
	--ppt-fond-clair: #eaf4fb;
	--ppt-bordure: #c9d3e3;
	--ppt-texte: #2b2b2b;
	--ppt-rouge: #d6213b;
}

/* Banniere */
.ppt-banniere {
	display: block;
	margin: 20px 0 10px;
}
.ppt-banniere img {
	display: block;
	width: 100%;
	height: auto;
}

/* Titre + intro */
.ppt-page .ppt-titre {
	color: var(--ppt-marine);
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 38px;
	line-height: 1.15;
	text-transform: none;
	margin-left: 0;
	margin-bottom: 10px;
}
@media (max-width: 767px) {
	.ppt-page .ppt-titre {
		font-size: 28px;
	}
}
.ppt-intro {
	font-size: 17px;
	line-height: 1.5;
	color: var(--ppt-texte);
	margin-bottom: 25px;
}
.ppt-alerte {
	margin-bottom: 20px;
}

/* Bloc formulaire */
.ppt-bloc {
	background: #fff;
	border: 1px solid #e3e7ee;
	border-radius: 6px;
	box-shadow: 0 2px 10px rgba(20, 36, 86, .06);
	padding: 25px 30px 20px;
	margin-bottom: 50px;
}
.ppt-bloc-titre {
	display: inline-block;
	color: var(--ppt-marine);
	font-size: 26px;
	padding-bottom: 6px;
	margin-bottom: 20px;
	border-bottom: 3px solid var(--ppt-cyan);
}

/* Case de consentement mise en avant */
.ppt-consentement {
	display: flex;
	align-items: center;
	gap: 18px;
	background: var(--ppt-fond-clair);
	border: 2px solid transparent;
	border-radius: 6px;
	padding: 18px 22px;
	margin-bottom: 25px;
	cursor: pointer;
}
.ppt-consentement input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}
.ppt-case {
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	border: 2px solid var(--ppt-marine);
	border-radius: 4px;
	background: #fff;
	position: relative;
}
.ppt-consentement input:checked + .ppt-case {
	background: var(--ppt-marine);
}
.ppt-consentement input:checked + .ppt-case::after {
	content: '';
	position: absolute;
	left: 9px;
	top: 3px;
	width: 8px;
	height: 15px;
	border: solid #fff;
	border-width: 0 3px 3px 0;
	transform: rotate(45deg);
}
.ppt-consentement input:focus-visible + .ppt-case {
	outline: 3px solid var(--ppt-cyan);
	outline-offset: 2px;
}
.ppt-consentement-txt {
	font-weight: 700;
	font-size: 17px;
	line-height: 1.4;
	color: var(--ppt-marine-fonce);
}
.ppt-consentement.is-invalid {
	border-color: var(--ppt-rouge);
}

/* Champs */
.ppt-champ {
	margin-bottom: 18px;
}
.ppt-champ label {
	display: block;
	font-weight: 700;
	color: var(--ppt-marine-fonce);
	margin-bottom: 6px;
}
.ppt-etoile {
	color: var(--ppt-rouge);
}
.ppt-champ input {
	width: 100%;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--ppt-bordure);
	border-radius: 4px;
	font-size: 16px;
	color: var(--ppt-texte);
	background: #fff;
}
.ppt-champ input:focus {
	outline: none;
	border-color: var(--ppt-cyan);
	box-shadow: 0 0 0 3px rgba(38, 199, 238, .25);
}
.ppt-champ input.is-invalid {
	border-color: var(--ppt-rouge);
}
.ppt-obligatoires {
	font-size: 13px;
	color: #777;
	margin: 0 0 15px;
}

/* Champ piege anti-spam */
.ppt-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Bouton */
.ppt-envoi {
	text-align: center;
	margin: 10px 0 25px;
}
.ppt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 320px;
	padding: 13px 30px;
	background: var(--ppt-marine);
	color: #fff !important;
	border: 0;
	border-radius: 4px;
	font-size: 21px;
	font-weight: 700;
	text-decoration: none !important;
	cursor: pointer;
	transition: background .2s;
}
.ppt-btn:hover,
.ppt-btn:focus {
	background: var(--ppt-marine-fonce);
}

/* Mention protection des donnees */
.ppt-rgpd {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	font-size: 13px;
	line-height: 1.5;
	color: #444;
	margin: 0;
}
.ppt-rgpd .fa-lock {
	font-size: 22px;
	color: #444;
	margin-top: 2px;
}
.ppt-rgpd a {
	color: #1f5fbf;
	text-decoration: underline;
}

/* Page de confirmation */
.ppt-confirmation {
	text-align: center;
	padding: 30px 20px 60px;
}
.ppt-confirmation-icone {
	width: 70px;
	height: 70px;
	line-height: 70px;
	margin: 10px auto 20px;
	border-radius: 50%;
	background: var(--ppt-cyan);
	color: #fff;
	font-size: 32px;
}
.ppt-confirmation .ppt-intro {
	max-width: 600px;
	margin: 0 auto 30px;
}
.ppt-confirmation-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}
.ppt-lien-retour {
	color: var(--ppt-marine);
	text-decoration: underline;
}

/* Encart sidebar */
.ppt-encart {
	margin: 20px 0 30px;
}
.ppt-encart a {
	display: block;
	transition: transform .2s, box-shadow .2s;
}
.ppt-encart a:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(20, 36, 86, .25);
}
.ppt-encart img {
	display: block;
	width: 100%;
	height: auto;
}

/* Responsive */
@media (max-width: 767px) {
	.ppt-bloc {
		padding: 20px 16px;
	}
	.ppt-consentement {
		padding: 14px 16px;
		gap: 14px;
	}
	.ppt-consentement-txt {
		font-size: 15px;
	}
	.ppt-btn {
		min-width: 0;
		width: 100%;
		font-size: 18px;
	}
	.ppt-encart {
		max-width: 400px;
		margin-left: auto;
		margin-right: auto;
	}
}
