/**
 * Skin « carte Sunugafa » appliqué aux formulaires natifs Elementor Pro.
 *
 * Reproduit le design d'origine (class .snf-form) : carte blanche arrondie,
 * titre/sous-titre, labels majuscules à puce turquoise, champs crème, bouton
 * bleu pleine largeur, note de confidentialité.
 *
 * La carte est portée par la section interne qui contient le formulaire
 * (sélecteur :has — navigateurs modernes). Les blocs internes (titre,
 * sous-titre, note) sont des widgets Elementor éditables, repérés par classe.
 */

/* --- Carte --- */
.elementor-inner-section:has(.snf-elform) {
	background: var(--snf-white, #fff);
	border: 1px solid var(--snf-border, #E8E2D8);
	border-radius: 16px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
	padding: 32px;
}

/* Neutralise l'espacement vertical par défaut entre widgets dans la carte :
   on pilote les marges explicitement ci-dessous. */
.elementor-inner-section:has(.snf-elform) .elementor-widget {
	margin-bottom: 0;
}
.snf-elform .elementor-widget-container {
	background: transparent;
}

/* --- Titre / sous-titre --- */
.snf-elform-title.elementor-widget { margin: 0; }
.snf-elform-title .elementor-heading-title {
	font-family: var(--fd, 'Josefin Sans', sans-serif);
	font-size: 1.5rem;
	letter-spacing: .02em;
	color: var(--snf-navy, #1A2A3A);
	margin: 0 0 4px;
}
.snf-elform-sub.elementor-widget { margin: 0 0 20px; }
.snf-elform-sub p {
	font-size: .85rem;
	color: var(--snf-muted, #777);
	margin: 0;
	line-height: 1.5;
}

/* --- Champs --- */
.snf-elform.elementor-widget { margin: 0; }
.snf-elform .elementor-field-label {
	font-family: var(--fh, 'Josefin Sans', sans-serif);
	font-size: .72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--snf-navy, #1A2A3A);
	margin-bottom: 5px;
}
.snf-elform .elementor-mark-required .elementor-field-required .elementor-field-label:after,
.snf-elform .elementor-field-required .elementor-field-label:after {
	color: var(--snf-green, #00A8E8);
}
.snf-elform .elementor-field-textual {
	font-family: var(--fb, 'Inter', sans-serif);
	font-size: .9rem;
	color: #111;
	background-color: #F5F0E8 !important;
	border: 1.5px solid transparent !important;
	border-radius: 8px !important;
	padding: 11px 13px;
	min-height: auto;
	line-height: 1.4;
	box-shadow: none;
}
.snf-elform textarea.elementor-field-textual {
	min-height: 96px;
	resize: vertical;
}
.snf-elform .elementor-field-textual:focus {
	border-color: #00A8E8 !important;
	background-color: #fff !important;
	outline: none;
}

/* --- Bouton --- */
.snf-elform .elementor-field-type-submit { margin-top: 4px; }
.snf-elform .elementor-button,
.snf-elform button[type="submit"] {
	width: 100%;
	justify-content: center;
	background-color: #00A8E8 !important;
	color: #fff !important;
	font-family: var(--fh, 'Josefin Sans', sans-serif);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	border: none;
	border-radius: 8px;
	padding: 14px 20px;
	transition: background-color .2s;
}
.snf-elform .elementor-button:hover,
.snf-elform button[type="submit"]:hover {
	background-color: #1A2A3A !important;
}

/* --- Note de confidentialité --- */
.snf-elform-privacy.elementor-widget { margin: 12px 0 0; }
.snf-elform-privacy p {
	font-size: .72rem;
	color: var(--snf-muted, #777);
	text-align: center;
	margin: 0;
}

@media (max-width: 767px) {
	/* 16 px mini sur mobile : coupe le zoom auto de Safari iOS. */
	.snf-elform .elementor-field-textual { font-size: 16px; }
}
@media (max-width: 520px) {
	.elementor-inner-section:has(.snf-elform) { padding: 24px 20px; }
}
