/**
 * EH Acquisition — Prépa physique : questionnaire découverte (F-3).
 * Styles scopés .ehprepa — tokens Design surfaces EH (Raleway, bouton vert
 * #59CEA8, cartes à liseré vert, bandes #f9fafc). Valeurs explicites partout :
 * la cascade du thème (double Bootstrap + AdminLTE) ne doit rien décider ici.
 */

.ehprepa {
	max-width: 720px;
	margin: 0 auto;
	font-size: 17px;
	line-height: 1.75;
	color: #3a3f4b;
}

/* Texte canonique de la page (gabarit Full Width = pleine largeur sans ce
   wrapper — Design surfaces EH : contenu centré max ~760px) */
.ehprepa-texte {
	max-width: 760px;
	margin: 0 auto;
	font-size: 17px;
	line-height: 1.75;
	color: #3a3f4b;
}

.ehprepa-texte h2 {
	font-family: 'Raleway', 'Roboto', Arial, sans-serif;
	font-weight: 700;
	font-size: 28px;
	color: #313131;
}

.ehprepa-rgpd {
	font-size: 14px;
	color: #888;
	margin: 0 0 18px;
}

.ehprepa-step {
	background: #fff;
	border-left: 3px solid #59cea8;
	border-radius: 0 6px 6px 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	padding: 26px 28px;
	margin: 0 0 24px;
}

.ehprepa-progress {
	font: 700 13px 'Raleway', 'Roboto', Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	color: #59cea8;
	margin: 0 0 8px;
}

/* #ehprepa : la surcouche thème 2016.css pose `.page .post_content h3` (0-2-1,
   bleu #1273b6) chargée APRÈS ce fichier — à spécificité égale elle gagnait
   (vérifié rendu réel 06/07). L'ID (1-1-1) tranche sans !important. */
#ehprepa h3.ehprepa-titre {
	font: 700 22px/1.35 'Raleway', 'Roboto', Arial, sans-serif;
	color: #313131;
	margin: 0 0 12px;
}

.ehprepa-note {
	font-size: 15px;
	color: #555;
	margin: 0 0 16px;
}

.ehprepa-soustitre {
	font: 600 16px 'Raleway', 'Roboto', Arial, sans-serif;
	color: #313131;
	margin: 14px 0 6px;
}

/* Options (radio et cases) en cartes cliquables */

.ehprepa-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 18px;
}

.ehprepa-opt {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px 16px;
	border: 1px solid #e3e7ee;
	border-radius: 6px;
	background: #fafcfb;
	cursor: pointer;
	font-size: 16px;
	color: #3a3f4b;
	margin: 0;
	font-weight: 400;
}

.ehprepa-opt:hover {
	border-color: #59cea8;
}

.ehprepa-opt input[type='radio'],
.ehprepa-opt input[type='checkbox'] {
	width: 18px;
	height: 18px;
	margin: 0;
	flex: 0 0 auto;
	accent-color: #59cea8;
}

.ehprepa-opt--inline {
	border: none;
	background: none;
	padding: 6px 0 0;
}

.ehprepa-text,
.ehprepa-date {
	display: block;
	width: 100%;
	max-width: 340px;
	padding: 11px 14px;
	border: 1px solid #cfd6df;
	border-radius: 6px;
	font-size: 16px;
	color: #3a3f4b;
	background: #fff;
	height: auto;
	line-height: 1.4;
}

.ehprepa-text:focus,
.ehprepa-date:focus {
	border-color: #59cea8;
	outline: none;
	box-shadow: 0 0 0 2px rgba(89, 206, 168, 0.25);
}

/* Navigation */

.ehprepa-nav {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-top: 6px;
	flex-wrap: wrap;
}

.ehprepa-btn {
	background: #59cea8;
	border: none;
	border-radius: 8px;
	padding: 14px 28px;
	font: 700 16px 'Raleway', 'Roboto', Arial, sans-serif;
	color: #fff;
	cursor: pointer;
	transition: background 0.15s ease;
}

.ehprepa-btn:hover {
	background: #4ab896;
	color: #fff;
}

.ehprepa-btn:disabled {
	opacity: 0.6;
	cursor: default;
}

.ehprepa-btn--ghost {
	background: #fff;
	color: #59cea8;
	border: 1px solid #59cea8;
}

.ehprepa-btn--ghost:hover {
	background: #f2fbf8;
	color: #4ab896;
}

/* Messages */

.ehprepa-err {
	color: #c0392b;
	font-size: 15px;
	margin: 0 0 14px;
}

.ehprepa-verif {
	background: #fff7e6;
	border-left: 3px solid #e6a817;
	border-radius: 0 6px 6px 0;
	padding: 12px 16px;
	font-size: 15px;
	color: #6b5310;
	margin: 0 0 16px;
}

/* Relecture */

.ehprepa-review {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0 0 20px;
}

.ehprepa-review__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid #eef1f5;
}

.ehprepa-review__q {
	font-size: 14px;
	color: #888;
	margin: 0 0 2px;
}

.ehprepa-review__a {
	font-size: 16px;
	color: #313131;
	font-weight: 600;
	margin: 0;
}

.ehprepa-review__mod {
	background: none;
	border: none;
	color: #59cea8;
	font: 600 14px 'Raleway', 'Roboto', Arial, sans-serif;
	cursor: pointer;
	padding: 4px 0;
	flex: 0 0 auto;
	text-decoration: underline;
}

.ehprepa-review__mod:hover {
	color: #4ab896;
}

/* Attente */

.ehprepa-wait {
	text-align: center;
}

.ehprepa-spinner {
	width: 34px;
	height: 34px;
	margin: 18px auto 6px;
	border: 3px solid #e3e7ee;
	border-top-color: #59cea8;
	border-radius: 50%;
	animation: ehprepa-spin 0.9s linear infinite;
}

@keyframes ehprepa-spin {
	to { transform: rotate(360deg); }
}

/* Mini-aperçu */

.ehprepa-apercu__lignes {
	list-style: none;
	padding: 0;
	margin: 0 0 18px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ehprepa-apercu__lignes li {
	background: #f9fafc;
	border-left: 3px solid #59cea8;
	border-radius: 0 6px 6px 0;
	padding: 12px 16px;
	font-size: 16px;
	color: #3a3f4b;
}

.ehprepa-apercu__alertes {
	list-style: none;
	padding: 0;
	margin: 0 0 18px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ehprepa-apercu__alertes li {
	background: #fff7e6;
	border-left: 3px solid #e6a817;
	border-radius: 0 6px 6px 0;
	padding: 12px 16px;
	font-size: 15px;
	color: #6b5310;
}

.ehprepa-apercu__cta {
	font: 600 17px 'Raleway', 'Roboto', Arial, sans-serif;
	color: #313131;
	margin: 4px 0 14px;
}

/* Formulaire DOI déplacé dans l'aperçu (doi-tunnel.css absent des pages) */

.ehprepa .eh-doi-form-wrap {
	background: #f9fafc;
	border-radius: 6px;
	padding: 20px 22px;
}

.ehprepa .eh-doi-form input[type='text'],
.ehprepa .eh-doi-form input[type='email'] {
	width: 100%;
	max-width: 420px;
	padding: 11px 14px;
	border: 1px solid #cfd6df;
	border-radius: 6px;
	font-size: 16px;
	height: auto;
	line-height: 1.4;
	background: #fff;
	color: #3a3f4b;
	box-shadow: none;
}

.ehprepa .eh-doi-form .checkbox label {
	font-size: 15px;
	color: #555;
	font-weight: 400;
}

.ehprepa .eh-doi-form button[type='submit'] {
	background: #59cea8;
	border: none;
	border-radius: 8px;
	padding: 14px 28px;
	font: 700 16px 'Raleway', 'Roboto', Arial, sans-serif;
	color: #fff;
	width: auto;
	text-shadow: none;
}

.ehprepa .eh-doi-form button[type='submit']:hover {
	background: #4ab896;
}

.ehprepa .eh-doi-legal small {
	font-size: 13px;
	color: #888;
}

/* Refus propre */

.ehprepa-refus {
	border-left-color: #e6a817;
}

/* Mobile */

@media (max-width: 600px) {
	.ehprepa-step {
		padding: 20px 16px;
	}

	.ehprepa-titre {
		font-size: 19px;
	}

	.ehprepa-review__row {
		flex-direction: column;
		gap: 6px;
	}
}

/* Livraison au membre connecté (étape 4) — bouton « Recevoir mon plan » */

.ehprepa-membre {
	margin-top: 18px;
}

.ehprepa-membre a.ehprepa-btn {
	display: inline-block;
	text-decoration: none;
}

.ehprepa-membre--ok {
	padding: 18px 20px;
	background: #f2fbf8;
	border: 1px solid #cfeee3;
	border-radius: 10px;
}

.ehprepa-membre__ok {
	margin: 0 0 14px;
	font-size: 16px;
	color: #1f3b34;
}
