/**
 * Page Contact (inc/contact.php).
 *
 * Bloc Colonnes natif : formulaire à gauche, encadré d'aide vert pâle à
 * droite, qui reste visible au défilement sur ordinateur. Sous 782 px,
 * seuil du bloc Colonnes de WordPress, l'encadré passe sous le formulaire.
 * La page prend le modèle pleine largeur de Shoptimizer (barre latérale
 * vide sinon). L'encadré ne s'étire pas sur la hauteur du formulaire grâce
 * au réglage natif « alignement vertical : haut » des colonnes, WordPress
 * imposant `align-items: normal !important` au bloc. Précédé de `body` pour
 * passer devant l'écart du bloc Colonnes.
 */

body .vertigea-contact {
	gap: var(--vertigea-espace-2xl);
}

.vertigea-contact__aide {
	padding: var(--vertigea-espace-l);
	border-radius: var(--vertigea-rayon);
	background: var(--vertigea-couleur-vert-pale);
	font-size: var(--vertigea-taille-petit);
}

@media (min-width: 782px) {

	/* Sous la barre de navigation collante de Shoptimizer (60 px). */
	.vertigea-contact__aide {
		position: sticky;
		top: calc(60px + var(--vertigea-espace-l));
	}
}

/* Précédé de `body` : la taille `.site h2` du thème l'emporterait sinon. */
body .vertigea-contact__aide h2 {
	margin: 0 0 var(--vertigea-espace-s);
	font-size: var(--vertigea-taille-texte);
	line-height: var(--vertigea-interligne-titre);
}

body .vertigea-contact__aide h2:not(:first-child) {
	margin-top: var(--vertigea-espace-l);
}

.vertigea-contact__aide ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vertigea-contact__aide li + li {
	margin-top: var(--vertigea-espace-s);
}

.vertigea-contact__aide p {
	margin: 0;
}

.vertigea-contact__aide p + p {
	margin-top: var(--vertigea-espace-s);
}

.vertigea-contact__aide a {
	font-weight: 600;
}

/* Les notes du formulaire (rappel des 48 heures, compte pro) : un encart
   vert pâle, pour qu'elles se lisent comme une consigne et non un champ. */
.vertigea-contact .vertigea-contact-note {
	padding: var(--vertigea-espace-s) var(--vertigea-espace-m);
	border-left: 3px solid var(--vertigea-couleur-vert);
	border-radius: 0 var(--vertigea-rayon) var(--vertigea-rayon) 0;
	background: var(--vertigea-couleur-vert-pale);
	font-size: var(--vertigea-taille-petit);
}

.vertigea-contact .vertigea-contact-note p {
	margin: 0;
}
