/* =====================================================================
   Beauty by DH — passe « premium » (v2)
   Surcharge les jetons et ajoute les sections de conversion : hero photo,
   réassurance, cartes prestations, FAQ, barre CTA mobile.
   Chargée après bbdh.css ; sert aussi de contenu à l'option custom_css.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&display=swap');

:root {
	--bbdh-bg: #0e0912;
	--bbdh-bg-soft: #160f1d;
	--bbdh-surface: #241a2e;
	--bbdh-surface-2: #30243c;
	--bbdh-line: rgba(226, 174, 240, 0.2);
	--bbdh-line-strong: rgba(226, 174, 240, 0.5);
	--bbdh-lilac: #e2aef0;
	--bbdh-pink: #ee8fd6;
	--bbdh-gold: #ecd39c;
	--bbdh-ink: #f8f2fb;
	--bbdh-ink-muted: #cdbdd6;
	--bbdh-ink-faint: #a191ad;
	--bbdh-danger: #ffa8a8;
	--bbdh-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
	--bbdh-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

/* --------------------------------------------------------- typographie */

/* Règle de fond : la serif Didone ne descend jamais sous 28px. Ses déliés
   font moins d'un pixel physique en dessous, et sur fond sombre le rendu
   sous-pixel les efface — c'est ce qui rendait titres et prix illisibles.
   Tout ce qui est plus petit passe en Manrope, y compris les chiffres :
   Cormorant sortait des chiffres bas-de-casse (« 6o € » au lieu de 60 €). */

.bbdh-v2-brand,
.bbdh-v2-hero__brand,
.bbdh-h2,
.bbdh-footer__brand,
.bbdh-v2-offer__head h3 {
	font-family: var(--bbdh-serif);
	font-weight: 700;
}

/* Reprises explicites : ces éléments héritaient de la serif via bbdh.css. */
.bbdh-h3,
.bbdh-panel__title,
.bbdh-service__price,
.bbdh-date__num,
.bbdh-v2-offer__from strong,
.bbdh-v2-price,
.bbdh-hero__brand {
	font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* Chiffres alignés et à chasse fixe : les prix se lisent en colonne et ne
   sautent pas d'un rendu à l'autre. */
.bbdh-service__price,
.bbdh-date__num,
.bbdh-v2-offer__from strong,
.bbdh-v2-price,
.bbdh-time,
.bbdh-recap dd {
	font-variant-numeric: lining-nums tabular-nums;
	font-feature-settings: 'lnum' 1, 'tnum' 1;
}

.bbdh-h2 {
	font-size: clamp(30px, 5vw, 44px);
	letter-spacing: -0.3px;
	line-height: 1.1;
}

.bbdh-h3,
.bbdh-panel__title {
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.1px;
}

.bbdh-service__price {
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.2px;
}

.bbdh-date__num {
	font-size: 19px;
	font-weight: 700;
}

/* Corps de texte remonté : 15px minimum sur les contenus lus, pas 13. */
.bbdh-service__name {
	font-size: 15.5px;
}

.bbdh-service__note,
.bbdh-list li,
.bbdh-info__text {
	font-size: 14px;
}

.bbdh-panel__hint,
.bbdh-panel__blurb {
	font-size: 14.5px;
	color: var(--bbdh-ink-muted);
}

/* Séparateur de titre : un trait court en dégradé sous chaque H2. */
.bbdh-h2::after {
	content: '';
	display: block;
	width: 44px;
	height: 3px;
	margin-top: 14px;
	border-radius: 3px;
	background: linear-gradient(120deg, var(--bbdh-lilac), var(--bbdh-pink));
}

.bbdh-v2-eyebrow {
	margin: 0 0 10px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 2.2px;
	text-transform: uppercase;
	color: var(--bbdh-lilac);
}

/* ------------------------------------------------------------ surfaces */

/* Les cartes se détachent du fond par un liseré supérieur clair plutôt que
   par une couleur de fond seule, trop proche du fond pour être lue. */
.bbdh-service,
.bbdh-info__card,
.bbdh-reel__item,
.bbdh-recap,
.bbdh-done,
.bbdh-v2-card {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 40%), var(--bbdh-surface);
	border-color: var(--bbdh-line);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Rythme vertical : 80 px entre sections sur mobile, 128 sur desktop.
   Toutes les valeurs suivantes sont des multiples de 4 pour rester sur la
   même trame que les espacements internes. */
.bbdh-section {
	padding-top: 80px;
	padding-bottom: 80px;
}

.bbdh-h2 {
	margin-bottom: 26px;
}

.bbdh-v2-reassure {
	margin-block: 8px 16px;
}

/* Alternance de fonds pour rythmer la page. */
.bbdh-v2-band {
	background: var(--bbdh-bg-soft);
}

.bbdh-v2-band .bbdh-section {
	background: transparent;
}

/* ---------------------------------------------------------------- hero */

.bbdh-v2-hero {
	position: relative;
	overflow: hidden;
	padding: 24px var(--bbdh-gutter) 72px;
	text-align: center;
}

.bbdh-v2-hero::before {
	content: '';
	position: absolute;
	top: -320px;
	left: 50%;
	width: 1000px;
	height: 780px;
	transform: translateX(-50%);
	background: radial-gradient(ellipse at center, rgba(226, 174, 240, 0.24), transparent 62%);
	pointer-events: none;
}

.bbdh-v2-hero__inner {
	position: relative;
	max-width: var(--bbdh-max);
	margin: 0 auto;
}

.bbdh-v2-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 44px;
	text-align: left;
}

.bbdh-v2-brand {
	display: inline-block;
	padding: 11px 0;
	margin: 0;
	font-size: 21px;
	color: var(--bbdh-ink);
	text-decoration: none;
	letter-spacing: -0.2px;
}

.bbdh-v2-brand span,
.bbdh-v2-hero__brand em {
	font-style: normal;
	background: linear-gradient(120deg, var(--bbdh-lilac), var(--bbdh-pink));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.bbdh-v2-topbar__cta {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 20px;
	border: 1px solid var(--bbdh-line-strong);
	border-radius: 999px;
	color: var(--bbdh-ink);
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none;
	transition: background 180ms ease-out, border-color 180ms ease-out;
}

.bbdh-v2-topbar__cta:hover {
	background: var(--bbdh-surface);
	border-color: var(--bbdh-lilac);
}

/* Le H1 porte la marque ET la promesse : la marque en grand comme sur le
   site d'origine, la promesse juste dessous pour que le trafic publicitaire
   sache en une ligne ce qu'on lui propose. */
.bbdh-v2-hero__title {
	margin: 0;
	display: grid;
	gap: 14px;
	justify-items: center;
}

.bbdh-v2-hero__brand {
	display: block;
	font-family: var(--bbdh-serif);
	font-size: clamp(46px, 13vw, 88px);
	font-weight: 700;
	line-height: 0.98;
	letter-spacing: -1.5px;
	color: var(--bbdh-ink);
}

.bbdh-v2-hero__tagline {
	display: block;
	font-size: clamp(10.5px, 2.6vw, 12.5px);
	font-weight: 700;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--bbdh-ink-muted);
}

.bbdh-v2-hero__promise {
	display: block;
	max-width: 20ch;
	margin-top: 6px;
	font-size: clamp(20px, 4.6vw, 27px);
	font-weight: 600;
	line-height: 1.28;
	letter-spacing: -0.3px;
	color: var(--bbdh-ink);
}

.bbdh-v2-hero__promise b {
	font-weight: 600;
	background: linear-gradient(120deg, var(--bbdh-lilac), var(--bbdh-pink));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.bbdh-v2-hero .bbdh-pill {
	margin-top: 26px;
}

.bbdh-v2-hero__lead {
	max-width: 46ch;
	margin: 24px auto 0;
	font-size: 16px;
	line-height: 1.65;
	color: var(--bbdh-ink-muted);
}

.bbdh-v2-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: 34px;
}

.bbdh-v2-hero__actions .bbdh-cta {
	margin-top: 0;
}

.bbdh-v2-hero__actions .bbdh-btn {
	min-height: 52px;
	padding: 14px 24px;
}

.bbdh-v2-trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 26px;
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
}

.bbdh-v2-trust li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--bbdh-ink-muted);
}

.bbdh-v2-trust .bbdh-icon {
	color: var(--bbdh-lilac);
}

/* Bande de réalisations : l'idée des vignettes du site d'origine, en cartes
   verticales plutôt qu'en pastilles rondes. */
.bbdh-v2-hero__strip {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin-top: 48px;
}

.bbdh-v2-hero__strip figure {
	margin: 0;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--bbdh-line);
	box-shadow: var(--bbdh-shadow);
}

.bbdh-v2-hero__strip img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	object-position: center 20%;
}

/* À 390 px, quatre images de 85 px ne montrent plus rien d'une coiffure :
   on n'en garde que deux, et la grille se resserre en conséquence. */
.bbdh-v2-hero__strip {
	grid-template-columns: repeat(2, 1fr);
}

.bbdh-v2-hero__strip figure:nth-child(n + 3) {
	display: none;
}

/* --------------------------------------------------------- réassurance */

.bbdh-v2-reassure {
	max-width: var(--bbdh-max);
	margin: 0 auto;
	padding: 0 var(--bbdh-gutter);
	display: grid;
	gap: 12px;
}

.bbdh-v2-reassure__item {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 22px 20px;
	border: 1px solid var(--bbdh-line);
	border-radius: 16px;
}

.bbdh-v2-reassure__icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: rgba(226, 174, 240, 0.12);
	color: var(--bbdh-lilac);
}

.bbdh-v2-reassure__icon .bbdh-icon {
	width: 20px;
	height: 20px;
}

.bbdh-v2-reassure__item strong {
	display: block;
	font-size: 14.5px;
	color: var(--bbdh-ink);
}

.bbdh-v2-reassure__item span {
	display: block;
	margin-top: 3px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--bbdh-ink-faint);
}

/* ------------------------------------------------------- prestations */

.bbdh-v2-offer {
	display: grid;
	gap: 22px;
	margin-top: 36px;
}

.bbdh-v2-offer__card {
	position: relative;
	display: grid;
	overflow: hidden;
	border: 1px solid var(--bbdh-line);
	border-radius: 20px;
	transition: transform 220ms ease-out, border-color 220ms ease-out, box-shadow 220ms ease-out;
}

.bbdh-v2-offer__card:hover {
	transform: translateY(-3px);
	border-color: var(--bbdh-line-strong);
	box-shadow: var(--bbdh-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.bbdh-v2-offer__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center 22%;
}

.bbdh-v2-offer__body {
	padding: 24px 22px 26px;
}

.bbdh-v2-offer__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.bbdh-v2-offer__head h3 {
	margin: 0;
	font-family: var(--bbdh-serif);
	font-size: 24px;
	font-weight: 600;
	color: var(--bbdh-ink);
}

.bbdh-v2-offer__from {
	flex: 0 0 auto;
	font-size: 12px;
	color: var(--bbdh-ink-faint);
	text-align: right;
}

.bbdh-v2-offer__from strong {
	display: block;
	font-family: var(--bbdh-serif);
	font-size: 22px;
	font-weight: 600;
	color: var(--bbdh-gold);
}

.bbdh-v2-offer__text {
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--bbdh-ink-muted);
}

.bbdh-v2-offer__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.bbdh-v2-offer__meta li {
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(226, 174, 240, 0.1);
	font-size: 12px;
	font-weight: 600;
	color: var(--bbdh-lilac);
}

/* Ancre en overlay : toute la carte est cliquable sans envelopper de <div>
   dans un <a> (wpautop le dupliquerait). */
.bbdh-v2-offer__link {
	position: absolute;
	inset: 0;
	border-radius: 20px;
	text-indent: -9999px;
	overflow: hidden;
}

.bbdh-v2-offer__cta {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	margin-top: 16px;
	font-size: 14px;
	font-weight: 700;
	color: var(--bbdh-ink);
	text-decoration: none;
}

.bbdh-v2-offer__cta .bbdh-icon {
	color: var(--bbdh-pink);
	transition: transform 180ms ease-out;
}

.bbdh-v2-offer__card:hover .bbdh-v2-offer__cta .bbdh-icon {
	transform: translateX(4px);
}

/* ------------------------------------------------------------- galerie */

.bbdh-gallery .bbdh-h2 {
	margin-bottom: 26px;
}

.bbdh-reel__item img {
	transition: transform 400ms ease-out;
}

.bbdh-reel__item:hover img {
	transform: scale(1.03);
}

/* ------------------------------------------------------------- tunnel */

.bbdh-book__lead {
	font-size: 16px;
}

.bbdh-steps {
	margin-top: 36px;
	margin-bottom: 40px;
}

.bbdh-book__lead {
	margin-bottom: 0;
}

.bbdh-panel {
	margin-bottom: 40px;
}

.bbdh-field {
	margin-bottom: 22px;
}

.bbdh-services {
	gap: 14px;
}

.bbdh-dates,
.bbdh-times {
	margin-top: 4px;
}

/* Un seul bord gauche pour tout le tunnel.
   Les étapes partageaient la largeur de la vitrine puis repartaient centrées :
   le décrochement se voyait immédiatement. Désormais chaque étape occupe la
   même largeur, et cette largeur est remplie — coordonnées sur deux colonnes,
   récapitulatif et bouton sur une même ligne — plutôt que laissée vide. */

@media (min-width: 1100px) {
	.bbdh-form {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: 32px;
	}

	.bbdh-panel[data-panel="1"] { grid-row: 1; }
	.bbdh-panel[data-panel="2"] { grid-row: 2; }
	.bbdh-panel[data-panel="3"] { grid-row: 3; }
	.bbdh-panel[data-panel="4"] { grid-row: 4; }

	.bbdh-panel {
		grid-column: 1 / -1;
		margin-bottom: 52px;
	}

	/* Coordonnées : deux colonnes, les précisions à droite occupent la
	   hauteur des trois champs de gauche. */
	.bbdh-panel[data-panel="4"] {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: 32px;
		align-items: start;
	}

	.bbdh-panel[data-panel="4"] .bbdh-panel__title {
		grid-column: 1 / -1;
	}

	.bbdh-panel[data-panel="4"] .bbdh-field:nth-of-type(1) { grid-column: 1; grid-row: 2; }
	.bbdh-panel[data-panel="4"] .bbdh-field:nth-of-type(2) { grid-column: 1; grid-row: 3; }
	.bbdh-panel[data-panel="4"] .bbdh-field:nth-of-type(3) { grid-column: 1; grid-row: 4; }
	.bbdh-panel[data-panel="4"] .bbdh-field:nth-of-type(4) { grid-column: 2; grid-row: 2 / span 3; }

	.bbdh-panel[data-panel="4"] .bbdh-field:nth-of-type(4) textarea {
		min-height: 218px;
	}

	/* Barre de conclusion : le rappel de commande à gauche, la validation à
	   droite — sur la même ligne, alignés sur les mêmes bords que le reste. */
	.bbdh-recap {
		grid-column: 1;
		grid-row: 5;
		align-self: stretch;
		display: flex;
		align-items: center;
	}

	/* display:flex l'emportait sur l'attribut hidden : le récapitulatif
	   s'affichait vide, avec des tirets, avant toute sélection. */
	.bbdh-recap[hidden] {
		display: none;
	}

	.bbdh-recap dl {
		width: 100%;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px;
	}

	.bbdh-recap dl > div {
		display: block;
	}

	.bbdh-recap dd {
		margin-top: 4px;
		text-align: left;
		font-size: 16px;
		/* « Mi-dos » se coupait en « Mi- / dos » : on interdit la césure et on
		   laisse la colonne se replier proprement entre les mots. */
		hyphens: none;
		overflow-wrap: normal;
		word-break: keep-all;
		line-height: 1.35;
	}

	.bbdh-cta--submit {
		grid-column: 2;
		grid-row: 5;
		align-self: center;
		margin-top: 0;
	}

	.bbdh-error--form {
		grid-column: 1 / -1;
		grid-row: 6;
	}

	.bbdh-book__legal {
		grid-column: 1 / -1;
		grid-row: 7;
		text-align: left;
	}
}

/* ---------------------------------------------------------------- FAQ */

.bbdh-v2-faq {
	display: grid;
	gap: 14px;
	margin-top: 36px;
}

.bbdh-v2-faq details {
	border: 1px solid var(--bbdh-line);
	border-radius: 14px;
	background: var(--bbdh-surface);
	overflow: hidden;
}

.bbdh-v2-faq summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	min-height: 56px;
	padding: 16px 18px;
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	color: var(--bbdh-ink);
}

.bbdh-v2-faq summary::-webkit-details-marker {
	display: none;
}

.bbdh-v2-faq summary::after {
	content: '+';
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 1px solid var(--bbdh-line-strong);
	font-size: 17px;
	color: var(--bbdh-lilac);
	transition: transform 200ms ease-out;
}

.bbdh-v2-faq details[open] summary::after {
	transform: rotate(45deg);
}

.bbdh-v2-faq details p {
	margin: 0;
	padding: 0 18px 18px;
	font-size: 14px;
	line-height: 1.65;
	color: var(--bbdh-ink-muted);
}

/* ------------------------------------------------------- CTA mobile */

.bbdh-v2-sticky {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: calc(12px + env(safe-area-inset-bottom));
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 10px 10px 16px;
	border: 1px solid var(--bbdh-line-strong);
	border-radius: 999px;
	background: rgba(14, 9, 18, 0.86);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: var(--bbdh-shadow);
	transition: transform 240ms ease-out, opacity 240ms ease-out;
}

.bbdh-v2-sticky.is-hidden {
	transform: translateY(120%);
	opacity: 0;
	pointer-events: none;
}

.bbdh-v2-sticky__text {
	display: grid;
	gap: 1px;
	min-width: 0;
}

.bbdh-v2-sticky__text strong {
	font-size: 13.5px;
	color: var(--bbdh-ink);
	white-space: nowrap;
}

.bbdh-v2-sticky__text span {
	font-size: 11.5px;
	color: var(--bbdh-ink-faint);
	white-space: nowrap;
}

.bbdh-v2-sticky .bbdh-cta {
	margin-top: 0;
	min-height: 46px;
	padding: 12px 20px;
	font-size: 14px;
	box-shadow: none;
}

body.bbdh-dark {
	padding-bottom: 88px;
}

/* --------------------------------------------------------- desktop */

@media (min-width: 768px) {
	.bbdh-section {
		padding-top: 112px;
		padding-bottom: 112px;
	}

	.bbdh-h2 {
		margin-bottom: 34px;
	}

	.bbdh-v2-reassure {
		margin-block: 16px 24px;
	}

	.bbdh-v2-hero {
		padding-bottom: 104px;
	}

	.bbdh-v2-hero__inner {
		grid-template-columns: 1.15fr 0.85fr;
		align-items: center;
		gap: 48px;
	}

	.bbdh-v2-topbar {
		grid-column: 1 / -1;
	}

	.bbdh-v2-reassure {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.bbdh-v2-hero__strip {
		grid-template-columns: repeat(4, 1fr);
		gap: 14px;
	}

	.bbdh-v2-hero__strip figure:nth-child(n + 3) {
		display: block;
	}

	.bbdh-v2-offer {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.bbdh-v2-faq {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
	}

	.bbdh-v2-sticky {
		display: none;
	}

	body.bbdh-dark {
		padding-bottom: 0;
	}
}

@media (min-width: 1100px) {
	.bbdh-section {
		padding-top: 128px;
		padding-bottom: 128px;
	}

	.bbdh-v2-hero,
	.bbdh-v2-reassure {
		--bbdh-max: 1280px;
	}

	.bbdh-v2-reassure {
		--bbdh-gutter: 32px;
	}

	.bbdh-v2-hero {
		--bbdh-gutter: 32px;
	}

	.bbdh-v2-hero__copy h1 {
		font-size: 66px;
	}
}
