/*
Theme Name: Dominique Harmonie (enfant TT5)
Theme URI: https://dominique-harmonie.fr
Description: Thème enfant de Twenty Twenty-Five pour Dominique Harmonie, massages doux et soins énergétiques à Quillan. Charte crème rosé, mauve, rose et pêche, violet profond. Polices Lora et Nunito Sans hébergées en local.
Author: PresenceHV
Template: twentytwentyfive
Version: 1.0.1
Requires at least: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dominique-harmonie-enfant
*/

/* Boutons : dégradé et pilule (theme.json gère couleurs et typo, ici le dégradé au survol) */
.wp-block-button__link {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: filter .15s ease;
}
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
	filter: brightness(.9);
}
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent !important;
	color: var(--wp--preset--color--violet) !important;
	border: 2px solid var(--wp--preset--color--violet) !important;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	filter: none;
	background: var(--wp--preset--color--mauve-pastel) !important;
}

/* Cartes */
.is-style-dh-carte {
	background: #fff;
	border: 1px solid var(--wp--preset--color--bordure);
	border-radius: 16px;
	padding: 24px;
}
.is-style-dh-carte-accent {
	background: #fff;
	border: 2px solid var(--wp--preset--color--violet);
	border-radius: 16px;
	padding: 24px;
}

/* Petit titre (surtitre) */
.dh-surtitre {
	text-transform: uppercase;
	letter-spacing: .08em;
	font-weight: 700;
	font-size: 14px;
	color: #9B2C6A;
	margin-bottom: 8px;
}

/* Grand chiffre des étapes */
.dh-chiffre {
	font-family: var(--wp--preset--font-family--lora);
	color: var(--wp--preset--color--violet);
	font-size: 44px;
	font-weight: 600;
	line-height: 1;
	margin-bottom: 8px;
}

/* Prix */
.dh-prix {
	font-family: var(--wp--preset--font-family--lora);
	color: var(--wp--preset--color--violet);
	font-size: 28px;
	font-weight: 600;
	margin: 0;
}

/* Ligne discrète */
.dh-discret {
	color: var(--wp--preset--color--prune-pale);
	font-size: 16px;
}

/* Photos en attente : bloc rose pastel */
.dh-photo-vide {
	background: #FADDEA;
	border-radius: 16px;
	min-height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--wp--preset--color--prune-pale);
	font-size: 15px;
	text-align: center;
	padding: 24px;
}
.dh-photo img,
.wp-block-image.dh-photo img {
	border-radius: 16px;
	width: 100%;
	height: auto;
	display: block;
}
.wp-block-image.dh-photo { margin: 0; }
/* Recadrage : garder les visages (haut de l'image) */
.dh-photo img { object-position: 50% 18%; }

/* Sections collées les unes aux autres, sans bande crème entre elles */
.wp-site-blocks > * + *,
.wp-block-post-content > .alignfull + .alignfull,
.wp-block-post-content > .dh-section:first-child {
	margin-block-start: 0 !important;
}
.wp-block-post-content > .dh-section:last-child { margin-block-end: 0 !important; }

/* Cartes : contenu en colonne, boutons alignés en bas, sur une ligne */
.wp-block-column.is-style-dh-carte {
	display: flex;
	flex-direction: column;
}
.wp-block-column.is-style-dh-carte > .wp-block-buttons:last-child { margin-top: auto; padding-top: 8px; }
.is-style-dh-carte .wp-block-button__link {
	font-size: 15px;
	padding: 11px 18px;
	white-space: nowrap;
}

/* Prix et durée rapprochés */
.dh-prix + .dh-discret { margin-top: 4px; }
/* Photo en haut d'une carte */
.is-style-dh-carte > .wp-block-image.dh-photo:first-child { margin-bottom: 16px; }
.is-style-dh-carte > .wp-block-image.dh-photo:first-child img { border-radius: 12px; }

/* Bouton téléphone de l'en-tête */
.dh-tel .wp-block-button__link {
	white-space: nowrap;
	padding: 10px 20px;
}

/* En-tête : menu sur une ligne sur ordinateur */
.dh-entete .wp-block-navigation {
	flex-wrap: nowrap;
}
.dh-entete .wp-block-navigation__container {
	gap: 22px;
}
/* Tablette : le menu passe sur une seconde ligne, pleine largeur */
@media (max-width: 1199px) and (min-width: 600px) {
	.dh-entete-ligne { flex-wrap: wrap !important; row-gap: 10px; }
	.dh-entete-ligne .wp-block-navigation { order: 3; width: 100%; }
	.dh-entete .wp-block-navigation__container { gap: 18px; justify-content: center; }
}
/* Téléphone : titre et menu sur la 1re ligne, bouton d'appel en dessous */
@media (max-width: 599px) {
	.dh-entete-ligne { flex-wrap: wrap !important; row-gap: 10px; }
	.dh-entete .wp-block-site-title { font-size: 22px !important; }
	.dh-entete-ligne .dh-tel { order: 3; width: 100%; justify-content: center; }
	.dh-tel .wp-block-button__link { padding: 10px 18px; font-size: 16px; }
}

/* FAQ (blocs Détails) */
.dh-faq details {
	background: #fff;
	border: 1px solid var(--wp--preset--color--bordure);
	border-radius: 16px;
	padding: 18px 22px;
	margin-bottom: 12px;
}
.dh-faq summary {
	cursor: pointer;
	font-weight: 700;
	color: var(--wp--preset--color--prune);
	min-height: 44px;
	display: flex;
	align-items: center;
}
.dh-faq details[open] summary { margin-bottom: 8px; }

/* Listes à puces douces */
.dh-liste li::marker { color: var(--wp--preset--color--rose); }

/* Pied de page : liens clairs sur fond prune */
.dh-pied a { color: #F6EEFB; }
.dh-pied a:hover { color: #fff; }
.dh-pied .dh-pied-trait { border: 0; border-top: 1px solid #6B5287; background: none; opacity: 1; }

/* Sections : espacement réduit sur mobile */
@media (max-width: 781px) {
	.dh-section {
		padding-top: 48px !important;
		padding-bottom: 48px !important;
	}
}

/* Formulaire de contact (Contact Form 7) */
.wpcf7 label { display: block; font-weight: 600; margin-bottom: 14px; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	margin-top: 6px;
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid var(--wp--preset--color--bordure);
	border-radius: 12px;
	font: inherit;
	font-weight: 400;
	font-size: 16px;
	background: #fff;
	color: var(--wp--preset--color--prune);
	box-sizing: border-box;
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	outline: 2px solid var(--wp--preset--color--violet);
	outline-offset: 1px;
}
.wpcf7 .wpcf7-acceptance label { font-weight: 400; font-size: 15px; }
.wpcf7 input[type="submit"] {
	background: linear-gradient(135deg, #7A3FB0, #B2418A);
	color: #fff;
	border: 0;
	border-radius: 999px;
	font-weight: 700;
	min-height: 44px;
	padding: 12px 28px;
	cursor: pointer;
	font-size: 17px;
}
.wpcf7 input[type="submit"]:hover { filter: brightness(.9); }
