/*
Theme Name: Hibiscus Child
Theme URI: https://hibiscus.qodeinteractive.com
Description: A child theme of Hibiscus
Author: Mikado Themes
Author URI: https://qodeinteractive.com
Version: 1.0
Text Domain: hibiscus
Template: hibiscus
*/

/* ==========================================================================
   Formulaires Contact Form 7 - Dopamine 360, 22/10/2026
   ========================================================================== */

/* Champs : plus hauts, texte 16 px (pas de zoom automatique sur iPhone),
   fond clair pour rester lisibles sur les fonds illustrés */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
	width: 100%;
	min-height: 54px;
	margin: 0 0 14px;
	padding: 14px 18px;
	font-size: 16px;
	line-height: 1.5;
	color: #1a1a1a;
	background-color: rgba(255, 255, 255, 0.92);
	border: 1px solid #b8b0a8;
	border-radius: 4px;
	box-sizing: border-box;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.wpcf7-form textarea {
	min-height: 170px;
	resize: vertical;
}

/* Texte indicatif en gris : on distingue un champ vide d'un champ rempli */
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
	color: #6f6a65;
	opacity: 1;
}

/* Champ actif bien visible (clavier et souris) */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
	outline: none;
	border-color: #1a1a1a;
	box-shadow: 0 0 0 3px rgba(26, 26, 26, .12);
	background-color: #fff;
}

/* Champ en erreur */
.wpcf7-form .wpcf7-not-valid {
	border-color: #b3261e;
}
.wpcf7-form .wpcf7-not-valid-tip {
	margin: -8px 0 12px;
	font-size: 13px;
	text-align: left;
}

/* Cases à cocher : plus grandes, mieux espacées, cliquables sur le libellé */
.wpcf7-form .wpcf7-checkbox {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 22px;
	margin: 6px 0 16px;
}
.wpcf7-form .wpcf7-list-item {
	margin: 0;
}
.wpcf7-form .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
	font-size: 15px;
	cursor: pointer;
}
.wpcf7-form .wpcf7-list-item input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: #1a1a1a;
	cursor: pointer;
}

/* Vérification Cloudflare et bouton centrés */
.wpcf7-form .wpcf7-turnstile {
	display: flex;
	justify-content: center;
	margin: 8px 0 16px;
}
.wpcf7-form .wpcf7-submit {
	min-height: 54px;
	min-width: 300px;
}

/* Mobile : bouton sur toute la largeur */
@media (max-width: 680px) {
	.wpcf7-form .wpcf7-submit {
		width: 100%;
		min-width: 0;
	}
	.wpcf7-form .wpcf7-checkbox {
		gap: 6px 18px;
	}
}

/* Formulaires newsletter (une seule ligne e-mail) : pas de marge basse */
.wpcf7-form .qodef-newsletter input[type="email"],
.wpcf7-form input[type="email"]:only-child {
	margin-bottom: 0;
}

/* Sections Elementor « pleine hauteur » (100vh) qui contiennent un formulaire :
   la hauteur suit le contenu, sinon le bas du formulaire passe sous le pied de page
   sur les écrans peu hauts */
.elementor-section.elementor-section-height-full:has(.wpcf7-form) {
	height: auto;
	min-height: 100vh;
}
.elementor-section.elementor-section-height-full:has(.wpcf7-form) > .elementor-container {
	height: auto;
	min-height: inherit;
}
.elementor-section.elementor-section-height-full:has(.wpcf7-form) {
	padding-bottom: 60px;
}
.wpcf7-form .wpcf7-checkbox {
	margin-bottom: 4px;
}
