/* Pages compte utilisateur : mot de passe oublié, nouveau mot de passe, confirmation de compte */

body.page-compte { background: #f4f4f4; }

.compte-page {
	background: #f4f4f4;
	padding: 48px 16px 64px;
	min-height: 55vh;
}

/* Pages à long formulaire (annoncer, création de compte, ajout d'établissement, contact) : moins de marge autour de la carte */
.compte-page.page-compacte { padding: 20px 16px 32px; }

.compte-carte {
	max-width: 460px;
	margin: 0 auto;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 14px rgba(0, 0, 0, .08);
	padding: 36px 32px 32px;
	text-align: center;
}

.compte-icone {
	width: 64px;
	height: 64px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: #ffdd00;
	color: #231f20;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
}

.compte-icone.succes { background: #e6f4ea; color: #1e7e34; }
.compte-icone.erreur { background: #fdecea; color: #c62828; }

.compte-carte h1 {
	font-size: 24px;
	font-weight: 700;
	color: #231f20;
	margin: 0 0 10px;
	line-height: 1.3;
}

.compte-intro {
	color: #555;
	font-size: 15px;
	line-height: 1.55;
	margin: 0 0 24px;
}

.compte-form {
	text-align: left;
}

.compte-champ {
	margin-bottom: 16px;
}

.compte-champ label {
	display: block;
	font-weight: 600;
	font-size: 14px;
	color: #231f20;
	margin-bottom: 6px;
}

.compte-champ input {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-size: 16px; /* 16px : évite le zoom automatique sur iPhone */
	background: #fff;
	transition: border-color .15s, box-shadow .15s;
}

.compte-champ input:focus {
	outline: none;
	border-color: #231f20;
	box-shadow: 0 0 0 3px rgba(255, 221, 0, .55);
}

.compte-aide {
	display: block;
	font-size: 13px;
	color: #777;
	margin-top: 6px;
}

.compte-bouton {
	display: block;
	width: 100%;
	height: 48px;
	line-height: 48px;
	border: 0;
	border-radius: 8px;
	background: #ffdd00;
	color: #231f20;
	font-weight: 700;
	font-size: 16px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	margin-top: 8px;
	transition: background-color .15s;
}

.compte-bouton:hover,
.compte-bouton:focus {
	background: #f0cf00;
	color: #231f20;
	text-decoration: none;
}

.compte-lien {
	display: inline-block;
	margin-top: 20px;
	font-size: 14px;
	color: #555;
	text-decoration: underline;
}

.compte-lien:hover { color: #231f20; }

.compte-alerte {
	border-radius: 8px;
	padding: 12px 14px;
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 20px;
	text-align: left;
}

.compte-alerte:empty { display: none; }
.compte-alerte.succes { background: #e6f4ea; color: #1e5e2c; border: 1px solid #b7dfc2; }
.compte-alerte.erreur { background: #fdecea; color: #8e1c1c; border: 1px solid #f3c2bd; }

@media (max-width: 480px) {
	.compte-page { padding: 24px 12px 40px; }
	.compte-page.page-compacte { padding: 12px 10px 28px; }
	.compte-carte { padding: 28px 20px 24px; }
	.compte-carte h1 { font-size: 21px; }
}

/* Page 404 : même carte, plus large pour les liens d'activités */
.page-404 { padding-top: 32px; }

/* .container Bootstrap : même largeur de bannière que la page de recherche (1296 px sur grand écran) */
.page-404-pub { margin-bottom: 32px; }

.page-404-pub:last-child { margin: 32px auto 0; }

.compte-carte.carte-404 { max-width: 720px; }

.bouton-404 {
	display: inline-block;
	width: auto;
	padding: 0 32px;
	margin-top: 0;
}

.liens-404 {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid #eee;
}

.liens-404 h2 {
	font-size: 16px;
	font-weight: 700;
	color: #231f20;
	margin: 0 0 14px;
}

.liens-404 ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.liens-404 a {
	display: inline-block;
	padding: 7px 14px;
	border-radius: 999px;
	background: #f4f4f4;
	color: #231f20;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .15s;
}

.liens-404 a:hover,
.liens-404 a:focus {
	background: #ffdd00;
	color: #231f20;
}

@media (max-width: 480px) {
	.bouton-404 { display: block; width: 100%; }
	.liens-404 a { font-size: 12.5px; }
}

/* Bannières pub (#pub_banners_one / #pub_bannerssss : fond blanc et hauteur mini hérités de result_search.css) */
#pub_banners_one.page-404-banniere,
#pub_bannerssss.page-404-banniere {
	background: transparent;
	min-height: 0;
}

.page-404 { padding-bottom: 40px; }

/* ===== Création de compte (/utilisateur-creer-compte) ===== */
.compte-carte.carte-inscription { max-width: 600px; }

.carte-inscription .compte-form { margin-top: 4px; }

.compte-champ select {
	width: 100%;
	height: 48px;
	padding: 0 36px 0 14px;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-size: 16px;
	color: #231f20;
	background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23555' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") no-repeat right 14px center / 14px 10px;
	appearance: none;
	transition: border-color .15s, box-shadow .15s;
}

.compte-champ select:focus {
	outline: none;
	border-color: #231f20;
	box-shadow: 0 0 0 3px rgba(255, 221, 0, .55);
}

.compte-champ .invalide,
.compte-champ .invalide:focus { border-color: #c62828; }
.compte-champ .invalide:focus { box-shadow: 0 0 0 3px rgba(198, 40, 40, .18); }

.champ-erreur {
	display: block;
	font-size: 13px;
	line-height: 1.45;
	color: #c62828;
	margin-top: 6px;
}

.champ-erreur:empty { display: none; }
.champ-erreur a { color: #c62828; font-weight: 600; text-decoration: underline; }

.facultatif { font-weight: 400; color: #888; }

/* Indice de format sous un champ (ex. téléphone) */
.champ-aide { display: block; margin-top: 5px; font-size: 12.5px; line-height: 1.4; color: #777; }

.inscription-grille {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
}

/* Mot de passe + bouton œil */
.champ-mdp { position: relative; }
.champ-mdp input { padding-right: 48px; }

.voir-mdp {
	position: absolute;
	top: 0;
	right: 0;
	width: 48px;
	height: 48px;
	border: 0;
	background: transparent;
	color: #777;
	font-size: 17px;
	cursor: pointer;
}

.voir-mdp:hover, .voir-mdp:focus-visible { color: #231f20; }

/* Bouton Google */
.inscription-google {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 48px;
	border: 1px solid #ccc;
	border-radius: 8px;
	background: #fff;
	color: #231f20;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: background-color .15s, border-color .15s;
}

.inscription-google:hover,
.inscription-google:focus {
	background: #f7f7f7;
	border-color: #999;
	color: #231f20;
	text-decoration: none;
}

.inscription-separateur {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 22px 0;
	color: #888;
	font-size: 13px;
}

.inscription-separateur::before,
.inscription-separateur::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #e5e5e5;
}

/* Étapes 1 / 2 */
.inscription-etapes {
	display: flex;
	gap: 8px;
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
	counter-reset: none;
}

.inscription-etapes li {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 10px;
	border-bottom: 3px solid #e5e5e5;
	font-size: 14px;
	font-weight: 600;
	color: #999;
	text-align: left;
	transition: color .2s, border-color .2s;
}

.inscription-etapes li span {
	flex: 0 0 26px;
	height: 26px;
	border-radius: 50%;
	background: #eee;
	color: #777;
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color .2s, color .2s;
}

.inscription-etapes li.actif { color: #231f20; border-bottom-color: #ffdd00; }
.inscription-etapes li.actif span { background: #ffdd00; color: #231f20; }
.inscription-etapes li.fait { color: #555; border-bottom-color: #231f20; }
.inscription-etapes li.fait span { background: #231f20; color: #fff; }

.inscription-etape { border: 0; margin: 0; padding: 0; min-width: 0; }

/* Cases à cocher */
.inscription-case {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 6px 0 0;
	font-size: 13.5px;
	line-height: 1.5;
	color: #444;
	cursor: pointer;
}

.inscription-case + .champ-erreur { margin: 2px 0 6px 28px; }

.inscription-case input {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	accent-color: #231f20;
	cursor: pointer;
}

.inscription-case input.invalide { outline: 2px solid #c62828; outline-offset: 1px; }
.inscription-case a { color: #231f20; text-decoration: underline; }

.inscription-case:last-of-type span { font-size: 12.5px; color: #666; }

.inscription-actions {
	display: flex;
	gap: 12px;
	margin-top: 20px;
}

.inscription-actions .compte-bouton { margin-top: 0; }
.inscription-actions .compte-bouton.secondaire { flex: 0 0 34%; }

.compte-bouton.secondaire {
	background: #fff;
	border: 1px solid #ccc;
	line-height: 46px;
}

.compte-bouton.secondaire:hover,
.compte-bouton.secondaire:focus { background: #f4f4f4; }

.compte-bouton:disabled { opacity: .65; cursor: wait; }

.inscription-connexion {
	margin: 22px 0 0;
	font-size: 14px;
	color: #555;
}

.inscription-connexion a { color: #231f20; font-weight: 700; text-decoration: underline; }

/* Page « compte créé » */
.inscription-suite-titre {
	margin: 4px 0 12px;
	font-weight: 700;
	color: #231f20;
}

.inscription-suite {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.inscription-suite a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 20px 14px;
	border: 2px solid #ffdd00;
	border-radius: 10px;
	color: #231f20;
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
	transition: border-color .15s, background-color .15s;
}

.inscription-suite a i { font-size: 24px; color: #231f20; }

.inscription-suite a:hover,
.inscription-suite a:focus {
	border-color: #ffdd00;
	background: #fffbe0;
	color: #231f20;
	text-decoration: none;
}

@media (max-width: 560px) {
	.inscription-grille,
	.inscription-suite { grid-template-columns: 1fr; }
	.inscription-etapes li { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
	.inscription-etapes li,
	.inscription-etapes li span { transition: none; }
}

/* ===== Contactez-nous (/contactez-nous) : formulaire + coordonnées ===== */
.compte-carte.carte-contact { max-width: 1000px; padding: 0; text-align: left; overflow: hidden; }

.contact-grille {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
}

.contact-formulaire { padding: 36px 36px 32px; }
/* En-tête (icône, titre, intro) centré ; le formulaire reste aligné à gauche */
.contact-formulaire .compte-icone { margin: 0 auto 16px; }
.contact-formulaire h1 { text-align: center; }
.contact-formulaire .compte-intro { margin: 0 auto 24px; max-width: 520px; text-align: center; }

.compte-champ textarea {
	width: 100%;
	min-height: 140px;
	padding: 12px 14px;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-size: 16px;
	line-height: 1.5;
	resize: vertical;
	transition: border-color .15s, box-shadow .15s;
}

.compte-champ textarea:focus {
	outline: none;
	border-color: #231f20;
	box-shadow: 0 0 0 3px rgba(255, 221, 0, .55);
}

.contact-captcha { margin: 18px 0 4px; min-height: 78px; }
.contact-formulaire .compte-bouton { margin-top: 14px; }

.contact-coordonnees {
	background: #fffbe0;
	border-left: 1px solid #f3e9a8;
	padding: 36px 28px 32px;
}

.contact-coordonnees h2 { font-size: 18px; font-weight: 700; color: #231f20; margin: 0 0 16px; }
.contact-dispo { font-size: 13px; color: #666; margin: 0 0 20px; }

.contact-coordonnees ul { list-style: none; margin: 0; padding: 0; }

.contact-coordonnees li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 14px 0;
	border-top: 1px solid #f3e9a8;
	font-size: 14px;
	line-height: 1.5;
	color: #444;
}

.contact-coordonnees li > i {
	flex: 0 0 38px;
	height: 38px;
	border-radius: 50%;
	background: #ffdd00;
	color: #231f20;
	font-size: 17px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.contact-coordonnees li strong,
.contact-coordonnees li a,
.contact-coordonnees li span { display: block; }

.contact-coordonnees li strong { color: #231f20; }
.contact-coordonnees li a { color: #231f20; font-weight: 600; text-decoration: underline; word-break: break-word; }
.contact-coordonnees li span { font-size: 13px; color: #777; }
.contact-coordonnees address { margin: 0; font-style: normal; }

.contact-raccourcis {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid #f3e9a8;
}

.contact-raccourcis p { font-weight: 700; color: #231f20; margin: 0 0 10px; font-size: 14px; }

.contact-raccourcis a {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
	padding: 11px 14px;
	border: 2px solid #ffdd00;
	border-radius: 8px;
	background: #fff;
	color: #231f20;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .15s;
}

.contact-raccourcis a:hover,
.contact-raccourcis a:focus { background: #ffdd00; color: #231f20; text-decoration: none; }

.contact-succes { padding: 40px 32px 36px; text-align: center; max-width: 520px; margin: 0 auto; }
.contact-succes .compte-lien { display: block; margin-top: 16px; }

@media (max-width: 860px) {
	.contact-grille { grid-template-columns: 1fr; }
	.contact-coordonnees { border-left: 0; border-top: 1px solid #f3e9a8; }
}

@media (max-width: 480px) {
	.contact-formulaire { padding: 28px 20px 24px; }
	.contact-coordonnees { padding: 28px 20px 24px; }
	.contact-captcha { transform: scale(.92); transform-origin: left top; }
}

/* ===== Annoncer sur Telecontact (/telecontact-partenaire-strategie-commerciale) ===== */
.compte-carte.carte-annoncer { max-width: 1000px; padding: 28px 32px 28px; }

.annoncer-entete { max-width: 640px; margin: 0 auto 8px; }

.annoncer-form { margin-top: 8px; }

.annoncer-etape {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 28px 0 16px;
	font-size: 19px;
	font-weight: 700;
	color: #231f20;
}

.annoncer-etape span {
	flex: 0 0 30px;
	height: 30px;
	border-radius: 50%;
	background: #231f20;
	color: #ffdd00;
	font-size: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.annoncer-etape small { font-size: 13px; font-weight: 400; color: #777; }

/* Cartes « besoin » : vraies cases à cocher, carte entière cliquable */
.annoncer-offres {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.annoncer-offre {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 16px 16px;
	border: 2px solid #e5e5e5;
	border-radius: 12px;
	background: #fff;
	color: #444;
	font-size: 13.5px;
	line-height: 1.5;
	cursor: pointer;
	transition: border-color .15s, background-color .15s, box-shadow .15s;
}

.annoncer-offre:hover { border-color: #ffdd00; }

/* Aucune offre choisie à l'envoi */
.annoncer-offres.invalide .annoncer-offre { border-color: #c62828; }
.annoncer-offres-erreur { margin: 10px 0 0; font-size: 14px; font-weight: 600; }

.annoncer-offre input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.annoncer-offre:focus-within { box-shadow: 0 0 0 3px rgba(255, 221, 0, .55); }

.annoncer-icone {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #fffbe0;
	color: #231f20;
	font-size: 21px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color .15s;
}

.annoncer-offre strong { font-size: 15px; line-height: 1.35; color: #231f20; }

.annoncer-texte { flex: 1; }

/* Détails de l'offre en petites étiquettes */
.annoncer-tags { display: flex; flex-wrap: wrap; gap: 5px; }

.annoncer-tags span {
	padding: 3px 8px;
	border-radius: 999px;
	background: #f2f2f2;
	color: #555;
	font-size: 12px;
	line-height: 1.4;
}

/* Bouton « Choisir » / « Choisi » : montre que la carte se clique */
.annoncer-choisir {
	margin-top: 6px;
	display: block;
	text-align: center;
}

.annoncer-choisir > span {
	display: block;
	padding: 8px 10px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
}

.annoncer-choisir .choisir { border: 2px solid #231f20; color: #231f20; background: #fff; }
.annoncer-choisir .choisi { display: none; background: #231f20; color: #ffdd00; border: 2px solid #231f20; }

.annoncer-offre:hover .annoncer-choisir .choisir { background: #ffdd00; border-color: #ffdd00; }
.annoncer-offre:has(input:checked) .annoncer-choisir .choisir { display: none; }
.annoncer-offre:has(input:checked) .annoncer-choisir .choisi { display: block; }
.annoncer-offre:has(input:checked) .annoncer-tags span { background: #fff; }

.annoncer-consigne {
	margin: -6px 0 14px;
	font-size: 14px;
	color: #444;
}


.annoncer-coche {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 24px;
	height: 24px;
	border: 2px solid #ccc;
	border-radius: 50%;
	background: #fff;
	color: transparent;
	font-size: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color .15s, border-color .15s, color .15s;
}

.annoncer-offre:has(input:checked) { border-color: #ffdd00; background: #fffbe0; }
.annoncer-offre:has(input:checked) .annoncer-icone { background: #ffdd00; }
/* Pastille seulement sur une carte choisie (sinon le bouton « Choisir » suffit) */
.annoncer-coche { display: none !important; }
.annoncer-offre:has(input:checked) .annoncer-coche { display: flex !important; background: #231f20; border-color: #231f20; color: #ffdd00; }

/* Vous êtes : deux gros boutons radio */
.annoncer-type {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	border: 0;
	margin: 0 0 4px;
	padding: 0;
}

.annoncer-type legend {
	width: 100%;
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 600;
	color: #231f20;
}

.annoncer-type label { flex: 1 1 200px; cursor: pointer; }
.annoncer-type input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.annoncer-type label span {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 48px;
	padding: 0 16px;
	border: 2px solid #e5e5e5;
	border-radius: 8px;
	font-weight: 600;
	color: #231f20;
	transition: border-color .15s, background-color .15s;
}

.annoncer-type label:hover span { border-color: #ffdd00; }
.annoncer-type input:checked + span { border-color: #ffdd00; background: #fffbe0; }
.annoncer-type input:focus-visible + span { box-shadow: 0 0 0 3px rgba(255, 221, 0, .55); }
.annoncer-type.invalide label span { border-color: #c62828; }

.annoncer-grille { margin-top: 16px; }

.annoncer-bouton { max-width: 360px; margin: 18px auto 0; }

.annoncer-rappel { margin: 14px 0 0; text-align: center; font-size: 14px; color: #555; }
.annoncer-rappel a { color: #231f20; font-weight: 700; }

@media (max-width: 980px) {
	.annoncer-offres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
	.compte-carte.carte-annoncer { padding: 22px 16px 20px; }
	.annoncer-offres { grid-template-columns: 1fr; gap: 10px; }
	.annoncer-etape { font-size: 17px; }
	/* Cartes compactes : icône à gauche du titre */
	.annoncer-offre {
		display: grid;
		grid-template-columns: 40px minmax(0, 1fr);
		column-gap: 12px;
		row-gap: 6px;
		padding: 14px 14px 12px;
	}
	.annoncer-icone { width: 40px; height: 40px; font-size: 17px; grid-row: 1 / span 2; }
	.annoncer-offre strong { padding-right: 26px; }
	.annoncer-tags, .annoncer-choisir { grid-column: 1 / -1; }
	.annoncer-choisir { margin-top: 2px; }
	.annoncer-choisir > span { padding: 6px 10px; }
}
