/**
 * Nadine Arrufat — styles du site public.
 *
 * Les jetons (couleurs, polices, tailles, espacements) sont dans theme.json ;
 * ce fichier ne contient que ce que theme.json ne sait pas exprimer : la mise
 * en page de l'en-tête, les blocs dynamiques, le formulaire, les animations.
 */

:root {
	--arrufat-radius: var(--wp--custom--radius, 18px);
	--arrufat-shadow: 0 18px 40px -24px rgba(31, 42, 68, 0.45);
	--arrufat-transition: var(--wp--custom--transition, all 0.25s ease);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

/* Fraunces est une police variable à axe optique : les grands titres
   profitent de la version « display », plus contrastée. */
h1, h2, h3 {
	font-variation-settings: "opsz" 144;
	font-variant-numeric: lining-nums;
}

/* Fraunces a des chiffres « elzéviriens » par défaut (le 3 descend sous la
   ligne) : pour un numéro de téléphone ou un tarif, on veut des chiffres
   alignés. */
.arrufat-phone__number,
.arrufat-stats__value,
.arrufat-pricing__amount,
.arrufat-steps__number {
	font-variant-numeric: lining-nums tabular-nums;
}

::selection {
	background: var(--wp--preset--color--accent-soft);
	color: var(--wp--preset--color--ink);
}

:focus-visible {
	outline: 3px solid var(--wp--preset--color--gold);
	outline-offset: 3px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

.arrufat-icon {
	display: inline-block;
	fill: none;
	height: 1em;
	vertical-align: -0.15em;
	width: 1em;
}

.arrufat-section__intro {
	margin-inline: auto;
	max-width: 680px;
}

/* -------------------------------------------------------------------------
 * En-tête
 * ---------------------------------------------------------------------- */

.arrufat-header {
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(160%) blur(10px);
	-webkit-backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid rgba(31, 42, 68, 0.08);
	min-height: var(--wp--custom--header-height, 84px);
	position: sticky;
	top: 0;
	z-index: 50;
}

.admin-bar .arrufat-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .arrufat-header {
		top: 46px;
	}
}

.arrufat-brand a {
	text-decoration: none;
}

.arrufat-brand__name {
	font-family: var(--wp--preset--font-family--display);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.1;
}

.arrufat-brand__name a {
	color: var(--wp--preset--color--night);
}

.arrufat-brand__tagline {
	color: var(--wp--preset--color--ink-soft);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	margin: 2px 0 0;
	text-transform: uppercase;
}

.arrufat-nav .wp-block-navigation-item__content {
	color: var(--wp--preset--color--night);
	font-size: 15px;
	font-weight: 600;
	position: relative;
	text-decoration: none;
}

.arrufat-nav .wp-block-navigation-item__content::after {
	background: var(--wp--preset--color--accent);
	border-radius: 2px;
	bottom: -6px;
	content: "";
	height: 2px;
	left: 0;
	position: absolute;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
	width: 100%;
}

.arrufat-nav .wp-block-navigation-item__content:hover::after,
.arrufat-nav .current-menu-item > .wp-block-navigation-item__content::after {
	transform: scaleX(1);
}

.arrufat-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--cream);
	padding: 80px 32px;
}

.arrufat-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--display);
	font-size: 28px;
}

.arrufat-nav .wp-block-navigation__responsive-container-open,
.arrufat-nav .wp-block-navigation__responsive-container-close {
	color: var(--wp--preset--color--night);
}

@media (max-width: 1080px) {
	.arrufat-brand__tagline {
		display: none;
	}
}

@media (max-width: 600px) {
	.arrufat-header .arrufat-phone__text {
		display: none;
	}

	.arrufat-header .arrufat-phone__digits {
		font-size: 15px;
	}
}

@media (max-width: 420px) {
	.arrufat-header .arrufat-phone--button {
		display: none;
	}
}

/* -------------------------------------------------------------------------
 * Bouton d'appel (bloc phone-cta)
 * ---------------------------------------------------------------------- */

.arrufat-phone {
	display: inline-flex;
	flex-direction: column;
	gap: 6px;
}

.arrufat-phone.aligncenter {
	align-items: center;
	display: flex;
	text-align: center;
}

.arrufat-phone__icon {
	height: 1.15em;
	width: 1.15em;
}

.arrufat-phone__button {
	align-items: center;
	background: var(--wp--preset--color--accent);
	border: 2px solid var(--wp--preset--color--accent);
	border-radius: 999px;
	box-shadow: 0 10px 24px -12px rgba(200, 70, 47, 0.7);
	color: var(--wp--preset--color--base) !important;
	display: inline-flex;
	font-size: 16px;
	font-weight: 700;
	gap: 10px;
	line-height: 1.2;
	padding: 12px 22px;
	text-decoration: none;
	transition: var(--arrufat-transition);
	white-space: nowrap;
}

.arrufat-phone__button:hover,
.arrufat-phone__button:focus-visible {
	background: var(--wp--preset--color--accent-dark);
	border-color: var(--wp--preset--color--accent-dark);
	transform: translateY(-1px);
}

.arrufat-phone__button .arrufat-phone__digits {
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}

.arrufat-phone__button .arrufat-phone__text + .arrufat-phone__digits::before {
	content: "·";
	margin-right: 10px;
	opacity: 0.7;
}

.arrufat-phone--hero .arrufat-phone__label {
	color: inherit;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	opacity: 0.8;
	text-transform: uppercase;
}

.arrufat-phone__number {
	align-items: center;
	color: var(--wp--preset--color--night);
	display: inline-flex;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(26px, 4vw, 38px);
	font-variation-settings: "opsz" 72;
	font-weight: 700;
	gap: 12px;
	letter-spacing: -0.01em;
	line-height: 1.1;
	text-decoration: none;
	transition: var(--arrufat-transition);
}

.arrufat-phone__number .arrufat-phone__icon {
	background: var(--wp--preset--color--accent);
	border-radius: 50%;
	color: var(--wp--preset--color--base);
	height: 1.2em;
	padding: 0.25em;
	width: 1.2em;
}

.arrufat-phone__number:hover {
	color: var(--wp--preset--color--accent);
}

.arrufat-phone__number:hover .arrufat-phone__icon {
	animation: arrufat-ring 0.6s ease;
}

.has-cream-color .arrufat-phone__number,
.has-base-color .arrufat-phone__number,
.arrufat-footer .arrufat-phone__number {
	color: inherit;
}

.arrufat-cta .arrufat-phone__number .arrufat-phone__icon {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--accent);
}

.arrufat-phone__hours {
	color: inherit;
	font-size: 14px;
	opacity: 0.75;
}

.arrufat-phone__link {
	align-items: center;
	color: var(--wp--preset--color--night);
	display: inline-flex;
	font-size: 18px;
	font-weight: 700;
	gap: 8px;
	text-decoration: none;
}

.arrufat-phone__link:hover {
	color: var(--wp--preset--color--accent);
}

@keyframes arrufat-ring {
	0%, 100% { transform: rotate(0); }
	20% { transform: rotate(-14deg); }
	40% { transform: rotate(12deg); }
	60% { transform: rotate(-8deg); }
	80% { transform: rotate(6deg); }
}

/* -------------------------------------------------------------------------
 * Barre fixe mobile
 * ---------------------------------------------------------------------- */

.arrufat-sticky {
	background: var(--wp--preset--color--base);
	border-top: 1px solid rgba(31, 42, 68, 0.1);
	bottom: 0;
	box-shadow: 0 -10px 30px -18px rgba(31, 42, 68, 0.5);
	display: none;
	gap: 10px;
	left: 0;
	padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
	position: fixed;
	right: 0;
	z-index: 60;
}

.arrufat-sticky a {
	align-items: center;
	border-radius: 999px;
	display: inline-flex;
	flex: 1;
	font-size: 15px;
	font-weight: 700;
	gap: 8px;
	justify-content: center;
	min-height: 48px;
	text-decoration: none;
}

.arrufat-sticky__call {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--base);
}

.arrufat-sticky__enrol {
	background: var(--wp--preset--color--night);
	color: var(--wp--preset--color--base);
}

.arrufat-sticky__icon {
	height: 18px;
	width: 18px;
}

@media (max-width: 782px) {
	.arrufat-sticky {
		display: flex;
	}

	body {
		padding-bottom: 76px;
	}
}

/* -------------------------------------------------------------------------
 * Accueil — accroche
 * ---------------------------------------------------------------------- */

.arrufat-hero {
	overflow: hidden;
	position: relative;
}

.arrufat-hero::before {
	background: radial-gradient(circle at 80% 20%, rgba(217, 164, 65, 0.22), transparent 55%),
		radial-gradient(circle at 10% 90%, rgba(200, 70, 47, 0.1), transparent 45%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.arrufat-hero > * {
	position: relative;
}

.arrufat-hero__title {
	max-width: 14ch;
}

.arrufat-hero__title mark {
	background: transparent;
	color: var(--wp--preset--color--accent);
	position: relative;
	white-space: nowrap;
}

.arrufat-hero__title mark::after {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M1 6 C 25 1, 75 1, 99 5' fill='none' stroke='%23d9a441' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
	bottom: -0.05em;
	content: "";
	height: 0.18em;
	left: 0;
	position: absolute;
	width: 100%;
}

.arrufat-hero__lede {
	max-width: 56ch;
}

.arrufat-hero__actions {
	align-items: center;
}

.arrufat-hero__actions .arrufat-phone,
.arrufat-hero__actions .wp-block-buttons {
	margin: 0;
}

.arrufat-hero__art {
	display: flex;
	justify-content: center;
}

.arrufat-hero__illustration {
	animation: arrufat-float 7s ease-in-out infinite;
	max-width: 560px;
	width: 100%;
}

.arrufat-hero__illustration img {
	border-radius: 0;
	filter: drop-shadow(0 30px 40px rgba(31, 42, 68, 0.18));
	height: auto;
	width: 100%;
}

@keyframes arrufat-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

@media (max-width: 781px) {
	.arrufat-hero__columns {
		flex-direction: column-reverse;
	}

	.arrufat-hero__illustration {
		max-width: 360px;
	}

	.arrufat-hero__title {
		max-width: none;
	}
}

/* -------------------------------------------------------------------------
 * Animations musicales
 * ---------------------------------------------------------------------- */

.arrufat-events__grid {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

.arrufat-events__card {
	transition: var(--arrufat-transition);
}

.arrufat-events__card:hover {
	transform: translateY(-3px);
}

.arrufat-events__icon {
	align-items: center;
	background: var(--wp--preset--color--accent-soft);
	border-radius: 18px;
	color: var(--wp--preset--color--accent);
	display: inline-flex;
	height: 64px;
	justify-content: center;
	margin-bottom: 18px;
	width: 64px;
}

.arrufat-events__icon .arrufat-icon {
	height: 36px;
	width: 36px;
}

.arrufat-events__card h3 {
	margin-top: 0;
}

/* -------------------------------------------------------------------------
 * Chiffres clés
 * ---------------------------------------------------------------------- */

.arrufat-stats {
	background: var(--wp--preset--color--base);
	border: 1px solid rgba(31, 42, 68, 0.08);
	border-radius: var(--arrufat-radius);
	box-shadow: var(--arrufat-shadow);
	display: grid;
	gap: 0;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.arrufat-stats__item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 26px 24px;
	text-align: center;
}

.arrufat-stats__item + .arrufat-stats__item {
	border-left: 1px solid rgba(31, 42, 68, 0.08);
}

.arrufat-stats__value {
	color: var(--wp--preset--color--accent);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(30px, 4vw, 44px);
	font-variation-settings: "opsz" 144;
	font-weight: 700;
	line-height: 1;
}

.arrufat-stats__label {
	color: var(--wp--preset--color--ink-soft);
	font-size: 15px;
	font-weight: 600;
}

@media (max-width: 700px) {
	.arrufat-stats {
		grid-template-columns: 1fr 1fr;
	}

	.arrufat-stats__item + .arrufat-stats__item {
		border-left: 0;
	}

	.arrufat-stats__item:nth-child(even) {
		border-left: 1px solid rgba(31, 42, 68, 0.08);
	}

	.arrufat-stats__item:nth-child(n + 3) {
		border-top: 1px solid rgba(31, 42, 68, 0.08);
	}
}

/* -------------------------------------------------------------------------
 * Cartes des instruments
 * ---------------------------------------------------------------------- */

.arrufat-instruments {
	display: grid;
	gap: 28px;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.arrufat-instrument {
	background: var(--wp--preset--color--base);
	border: 1px solid rgba(31, 42, 68, 0.08);
	border-radius: var(--arrufat-radius);
	box-shadow: var(--arrufat-shadow);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: var(--arrufat-transition);
}

.arrufat-instrument:hover {
	box-shadow: 0 28px 50px -26px rgba(31, 42, 68, 0.55);
	transform: translateY(-4px);
}

.arrufat-instrument__art {
	align-items: center;
	background: linear-gradient(135deg, var(--wp--preset--color--night) 0%, var(--wp--preset--color--contrast) 100%);
	color: var(--wp--preset--color--gold);
	display: flex;
	justify-content: center;
	min-height: 170px;
	position: relative;
}

.arrufat-instrument--accordeon .arrufat-instrument__art {
	background: linear-gradient(135deg, var(--wp--preset--color--accent) 0%, var(--wp--preset--color--accent-dark) 100%);
	color: var(--wp--preset--color--cream);
}

.arrufat-instrument--clavier .arrufat-instrument__art {
	background: linear-gradient(135deg, var(--wp--preset--color--gold) 0%, #b5832a 100%);
	color: var(--wp--preset--color--contrast);
}

.arrufat-instrument__icon {
	height: 96px;
	transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	width: 96px;
}

.arrufat-instrument:hover .arrufat-instrument__icon {
	transform: scale(1.08) rotate(-2deg);
}

.arrufat-instrument__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 12px;
	padding: 26px;
}

.arrufat-instrument__title {
	font-size: var(--wp--preset--font-size--x-large);
	margin: 0;
}

.arrufat-instrument__tagline {
	color: var(--wp--preset--color--ink-soft);
	font-size: 16px;
	font-weight: 600;
	margin: 0;
}

.arrufat-instrument__points {
	font-size: 15px;
	list-style: none;
	margin: 6px 0 0;
	padding: 0;
}

.arrufat-instrument__points li {
	padding-left: 22px;
	position: relative;
}

.arrufat-instrument__points li + li {
	margin-top: 6px;
}

.arrufat-instrument__points li::before {
	color: var(--wp--preset--color--accent);
	content: "♪";
	font-weight: 700;
	left: 2px;
	position: absolute;
}

.arrufat-instrument__foot {
	align-items: center;
	border-top: 1px solid rgba(31, 42, 68, 0.08);
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 16px;
}

.arrufat-instrument__price {
	color: var(--wp--preset--color--ink-soft);
	font-size: 15px;
}

.arrufat-instrument__price strong {
	color: var(--wp--preset--color--night);
	font-size: 20px;
}

.arrufat-instrument__link {
	color: var(--wp--preset--color--accent-dark);
	font-weight: 700;
	text-decoration: none;
}

.arrufat-instrument__link span {
	display: inline-block;
	transition: transform 0.25s ease;
}

.arrufat-instrument__link:hover span {
	transform: translateX(4px);
}

/* -------------------------------------------------------------------------
 * Pourquoi / étapes / à propos
 * ---------------------------------------------------------------------- */

/* Le « Grille » du cœur remplit avec auto-fill : trois cartes sur une rangée
   de quatre pistes laissent un trou à droite. auto-fit étire les cartes. */
.wp-block-group.arrufat-grid {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.arrufat-why__card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(251, 247, 240, 0.12);
	border-radius: var(--arrufat-radius);
	padding: 28px;
	transition: var(--arrufat-transition);
}

.arrufat-why__card:hover {
	background: rgba(255, 255, 255, 0.09);
	transform: translateY(-3px);
}

.arrufat-why__icon {
	align-items: center;
	background: var(--wp--preset--color--accent);
	border-radius: 18px;
	color: var(--wp--preset--color--base);
	display: inline-flex;
	height: 72px;
	justify-content: center;
	margin-bottom: 20px;
	width: 72px;
}

.arrufat-why__icon .arrufat-icon {
	height: 40px;
	width: 40px;
}

.arrufat-why p {
	color: rgba(251, 247, 240, 0.85);
}

.arrufat-steps__card {
	position: relative;
}

.arrufat-steps__number {
	align-items: center;
	background: var(--wp--preset--color--night);
	border-radius: 50%;
	color: var(--wp--preset--color--gold);
	display: inline-flex;
	font-family: var(--wp--preset--font-family--display);
	font-size: 22px;
	font-weight: 700;
	height: 48px;
	justify-content: center;
	margin: 0 0 16px;
	width: 48px;
}

.arrufat-about__portrait img {
	border-radius: var(--arrufat-radius);
	box-shadow: var(--arrufat-shadow);
	height: auto;
	width: 100%;
}

/* -------------------------------------------------------------------------
 * Palmarès et frise
 * ---------------------------------------------------------------------- */

.arrufat-awards {
	display: grid;
	gap: 14px;
}

.arrufat-awards.is-compact {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.arrufat-awards__group {
	background: var(--wp--preset--color--base);
	border: 1px solid rgba(31, 42, 68, 0.1);
	border-radius: 14px;
	color: var(--wp--preset--color--ink);
}

.is-compact .arrufat-awards__group {
	align-items: flex-start;
	display: flex;
	gap: 14px;
	padding: 18px;
}

.arrufat-awards__medal {
	color: var(--wp--preset--color--gold);
	flex-shrink: 0;
	height: 44px;
	width: 44px;
}

.arrufat-awards__title {
	display: block;
	font-family: var(--wp--preset--font-family--body);
	font-size: 16px;
	font-weight: 700;
	margin: 0;
}

.arrufat-awards__summary {
	color: var(--wp--preset--color--ink-soft);
	display: block;
	font-size: 14px;
	margin: 4px 0 0;
}

.arrufat-awards__head {
	align-items: center;
	cursor: pointer;
	display: flex;
	gap: 14px;
	list-style: none;
	padding: 18px 22px;
}

.arrufat-awards__head::-webkit-details-marker {
	display: none;
}

.arrufat-awards__head::after {
	border-right: 2px solid var(--wp--preset--color--night);
	border-top: 2px solid var(--wp--preset--color--night);
	content: "";
	height: 9px;
	margin-left: auto;
	transform: rotate(135deg);
	transition: transform 0.25s ease;
	width: 9px;
}

details[open] > .arrufat-awards__head::after {
	transform: rotate(-45deg);
}

.arrufat-awards__table-wrap {
	overflow-x: auto;
	padding: 0 22px 18px;
}

.arrufat-awards__table {
	border-collapse: collapse;
	font-size: 15px;
	width: 100%;
}

.arrufat-awards__table th,
.arrufat-awards__table td {
	border-bottom: 1px solid rgba(31, 42, 68, 0.08);
	padding: 8px 10px;
	text-align: left;
	vertical-align: top;
}

.arrufat-awards__table th {
	color: var(--wp--preset--color--ink-soft);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.arrufat-timeline {
	list-style: none;
	margin: 0 auto;
	max-width: 820px;
	padding: 0;
	position: relative;
}

.arrufat-timeline::before {
	background: linear-gradient(to bottom, var(--wp--preset--color--accent), var(--wp--preset--color--gold));
	content: "";
	left: 110px;
	position: absolute;
	top: 8px;
	bottom: 8px;
	width: 2px;
}

.arrufat-timeline__step {
	display: grid;
	gap: 24px;
	grid-template-columns: 90px 1fr;
	padding: 0 0 36px;
	position: relative;
}

.arrufat-timeline__step::before {
	background: var(--wp--preset--color--base);
	border: 3px solid var(--wp--preset--color--accent);
	border-radius: 50%;
	content: "";
	height: 14px;
	left: 104px;
	position: absolute;
	top: 6px;
	width: 14px;
}

.arrufat-timeline__period {
	color: var(--wp--preset--color--accent-dark);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.6;
	text-align: right;
}

.arrufat-timeline__body {
	padding-left: 24px;
}

.arrufat-timeline__title {
	font-size: var(--wp--preset--font-size--large);
	margin: 0 0 6px;
}

.arrufat-timeline__text {
	color: var(--wp--preset--color--ink-soft);
	font-size: 16px;
	margin: 0;
}

@media (max-width: 600px) {
	.arrufat-timeline::before {
		left: 8px;
	}

	.arrufat-timeline__step {
		grid-template-columns: 1fr;
		gap: 4px;
		padding-left: 32px;
	}

	.arrufat-timeline__step::before {
		left: 2px;
	}

	.arrufat-timeline__period {
		text-align: left;
	}

	.arrufat-timeline__body {
		padding-left: 0;
	}
}

/* -------------------------------------------------------------------------
 * Témoignages
 * ---------------------------------------------------------------------- */

.arrufat-testimonials {
	margin-inline: auto;
	max-width: 820px;
	position: relative;
}

.arrufat-testimonials__track {
	display: grid;
	gap: 20px;
}

.arrufat-testimonials.is-enhanced .arrufat-testimonials__track {
	display: block;
	position: relative;
}

.arrufat-testimonials__item {
	background: var(--wp--preset--color--base);
	border: 1px solid rgba(31, 42, 68, 0.08);
	border-radius: var(--arrufat-radius);
	box-shadow: var(--arrufat-shadow);
	margin: 0;
	padding: clamp(24px, 4vw, 44px);
}

.arrufat-testimonials.is-enhanced .arrufat-testimonials__item {
	display: none;
}

.arrufat-testimonials.is-enhanced .arrufat-testimonials__item.is-active {
	animation: arrufat-fade 0.45s ease;
	display: block;
}

.arrufat-testimonials__rating {
	color: var(--wp--preset--color--gold);
	display: inline-flex;
	gap: 2px;
	margin-bottom: 14px;
}

.arrufat-testimonials__star {
	height: 20px;
	width: 20px;
}

.arrufat-testimonials__quote {
	border: 0;
	margin: 0;
	padding: 0;
}

.arrufat-testimonials__quote p {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--large);
	font-style: italic;
	font-weight: 400;
	line-height: 1.45;
	margin: 0;
}

.arrufat-testimonials__author {
	align-items: center;
	display: flex;
	gap: 12px;
	margin-top: 22px;
}

.arrufat-testimonials__initial {
	align-items: center;
	background: var(--wp--preset--color--accent-soft);
	border-radius: 50%;
	color: var(--wp--preset--color--accent-dark);
	display: inline-flex;
	font-weight: 700;
	height: 40px;
	justify-content: center;
	width: 40px;
}

.arrufat-testimonials__cite {
	display: block;
	font-style: normal;
	font-weight: 700;
}

.arrufat-testimonials__role {
	color: var(--wp--preset--color--ink-soft);
	display: block;
	font-size: 14px;
}

.arrufat-testimonials__dots {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 20px;
}

.arrufat-testimonials__dot {
	background: rgba(31, 42, 68, 0.2);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	height: 10px;
	padding: 0;
	transition: var(--arrufat-transition);
	width: 10px;
}

.arrufat-testimonials__dot.is-active {
	background: var(--wp--preset--color--accent);
	width: 28px;
}

@keyframes arrufat-fade {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

/* -------------------------------------------------------------------------
 * Tarifs
 * ---------------------------------------------------------------------- */

.arrufat-pricing__card {
	background: var(--wp--preset--color--base);
	border: 2px solid var(--wp--preset--color--accent-soft);
	border-radius: 24px;
	box-shadow: var(--arrufat-shadow);
	padding: clamp(28px, 5vw, 48px);
	position: relative;
}

.arrufat-pricing__card::before {
	background: var(--wp--preset--color--accent);
	border-radius: 999px;
	color: var(--wp--preset--color--base);
	content: "Sans engagement";
	font-size: 12px;
	font-weight: 700;
	left: 50%;
	letter-spacing: 0.1em;
	padding: 6px 16px;
	position: absolute;
	text-transform: uppercase;
	top: 0;
	transform: translate(-50%, -50%);
}

.arrufat-pricing__amount {
	font-family: var(--wp--preset--font-family--display);
	font-variation-settings: "opsz" 144;
	line-height: 1;
	margin: 0;
}

.arrufat-pricing__amount strong {
	color: var(--wp--preset--color--night);
	font-size: clamp(56px, 9vw, 88px);
	font-weight: 700;
	letter-spacing: -0.03em;
}

.arrufat-pricing__amount span {
	color: var(--wp--preset--color--ink-soft);
	font-family: var(--wp--preset--font-family--body);
	font-size: 20px;
	font-weight: 600;
	margin-left: 6px;
}

.arrufat-pricing__sub {
	color: var(--wp--preset--color--ink-soft);
}

.arrufat-area span {
	background: var(--wp--preset--color--base);
	border: 1px solid rgba(31, 42, 68, 0.12);
	border-radius: 999px;
	display: inline-block;
	font-size: 15px;
	font-weight: 600;
	margin: 4px;
	padding: 6px 14px;
}

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

.arrufat-faq {
	display: grid;
	gap: 12px;
	margin-inline: auto;
	max-width: 820px;
}

.arrufat-faq__item {
	background: var(--wp--preset--color--base);
	border: 1px solid rgba(31, 42, 68, 0.1);
	border-radius: 14px;
	transition: var(--arrufat-transition);
}

.arrufat-faq__item[open] {
	border-color: var(--wp--preset--color--accent);
	box-shadow: var(--arrufat-shadow);
}

.arrufat-faq__question {
	align-items: center;
	cursor: pointer;
	display: flex;
	font-size: 18px;
	font-weight: 700;
	gap: 16px;
	justify-content: space-between;
	list-style: none;
	padding: 18px 22px;
}

.arrufat-faq__question::-webkit-details-marker {
	display: none;
}

.arrufat-faq__chevron {
	border-right: 2px solid var(--wp--preset--color--accent);
	border-top: 2px solid var(--wp--preset--color--accent);
	flex-shrink: 0;
	height: 10px;
	transform: rotate(135deg);
	transition: transform 0.25s ease;
	width: 10px;
}

.arrufat-faq__item[open] .arrufat-faq__chevron {
	transform: rotate(-45deg);
}

.arrufat-faq__answer {
	padding: 0 22px 20px;
}

.arrufat-faq__answer p {
	color: var(--wp--preset--color--ink-soft);
	font-size: 17px;
	margin: 0;
}

/* -------------------------------------------------------------------------
 * Questionnaire d'inscription
 * ---------------------------------------------------------------------- */

.arrufat-enrol {
	background: var(--wp--preset--color--base);
	border: 1px solid rgba(31, 42, 68, 0.1);
	border-radius: 24px;
	box-shadow: var(--arrufat-shadow);
	padding: clamp(22px, 4vw, 40px);
}

.arrufat-enrol__form {
	display: grid;
	gap: 24px;
}

.arrufat-enrol__progress {
	counter-reset: step;
	display: none;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.is-enhanced .arrufat-enrol__progress {
	display: flex;
}

.arrufat-enrol__progress li {
	border-radius: 999px;
	background: var(--wp--preset--color--base-2);
	color: var(--wp--preset--color--ink-soft);
	flex: 1;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 8px 6px;
	text-align: center;
	text-transform: uppercase;
	transition: var(--arrufat-transition);
}

.arrufat-enrol__progress li.is-current {
	background: var(--wp--preset--color--night);
	color: var(--wp--preset--color--base);
}

.arrufat-enrol__progress li.is-done {
	background: var(--wp--preset--color--accent-soft);
	color: var(--wp--preset--color--accent-dark);
}

@media (max-width: 520px) {
	.arrufat-enrol__progress li:not(.is-current) {
		font-size: 0;
		padding: 8px 0;
		flex: 0 0 24px;
	}
}

.arrufat-enrol__step {
	display: grid;
	gap: 22px;
}

.is-enhanced .arrufat-enrol__step:not(.is-current) {
	display: none;
}

.arrufat-enrol__group {
	border: 0;
	margin: 0;
	min-width: 0;
	padding: 0;
}

.arrufat-enrol__legend {
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 12px;
	padding: 0;
}

.arrufat-enrol__legend small,
.arrufat-enrol__field label small {
	color: var(--wp--preset--color--ink-soft);
	font-size: 13px;
	font-weight: 500;
}

.arrufat-enrol__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.arrufat-enrol__pill {
	cursor: pointer;
	position: relative;
}

.arrufat-enrol__pill input {
	height: 1px;
	opacity: 0;
	position: absolute;
	width: 1px;
}

.arrufat-enrol__pill span {
	background: var(--wp--preset--color--base-2);
	border: 2px solid transparent;
	border-radius: 999px;
	display: inline-block;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	padding: 10px 18px;
	transition: var(--arrufat-transition);
}

.arrufat-enrol__pill:hover span {
	background: var(--wp--preset--color--accent-soft);
}

.arrufat-enrol__pill input:checked + span {
	background: var(--wp--preset--color--night);
	border-color: var(--wp--preset--color--night);
	color: var(--wp--preset--color--base);
}

.arrufat-enrol__pill input:focus-visible + span {
	outline: 3px solid var(--wp--preset--color--gold);
	outline-offset: 2px;
}

.arrufat-enrol__row {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.arrufat-enrol__field {
	display: grid;
	gap: 8px;
	margin: 0;
}

.arrufat-enrol__field--short {
	max-width: 320px;
}

.arrufat-enrol__field label {
	font-size: 15px;
	font-weight: 700;
}

.arrufat-enrol__field input,
.arrufat-enrol__field textarea {
	background: var(--wp--preset--color--base);
	border: 2px solid rgba(31, 42, 68, 0.15);
	border-radius: 12px;
	color: var(--wp--preset--color--ink);
	font: inherit;
	font-size: 16px;
	padding: 12px 14px;
	transition: var(--arrufat-transition);
	width: 100%;
}

.arrufat-enrol__field input:focus,
.arrufat-enrol__field textarea:focus {
	border-color: var(--wp--preset--color--accent);
	outline: none;
}

.arrufat-enrol__field input[aria-invalid="true"] {
	border-color: var(--wp--preset--color--accent);
	background: var(--wp--preset--color--accent-soft);
}

.arrufat-enrol__req {
	color: var(--wp--preset--color--accent);
}

.arrufat-enrol__consent {
	font-size: 14px;
	margin: 0;
}

.arrufat-enrol__consent label {
	align-items: flex-start;
	cursor: pointer;
	display: flex;
	gap: 10px;
}

.arrufat-enrol__consent input {
	accent-color: var(--wp--preset--color--accent);
	flex-shrink: 0;
	height: 20px;
	margin-top: 2px;
	width: 20px;
}

.arrufat-enrol__hp {
	left: -9999px;
	position: absolute;
}

.arrufat-enrol__nav {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
}

.arrufat-enrol__nav button {
	background: var(--wp--preset--color--accent);
	border: 2px solid var(--wp--preset--color--accent);
	border-radius: 999px;
	color: var(--wp--preset--color--base);
	cursor: pointer;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	padding: 14px 28px;
	transition: var(--arrufat-transition);
}

.arrufat-enrol__nav button:hover,
.arrufat-enrol__nav button:focus-visible {
	background: var(--wp--preset--color--accent-dark);
	border-color: var(--wp--preset--color--accent-dark);
}

.arrufat-enrol__nav button[hidden] {
	display: none;
}

.arrufat-enrol__nav button:disabled {
	cursor: wait;
	opacity: 0.6;
}

.arrufat-enrol__prev {
	background: transparent !important;
	border-color: rgba(31, 42, 68, 0.25) !important;
	color: var(--wp--preset--color--night) !important;
}

.arrufat-enrol__submit {
	margin-left: auto;
}

.arrufat-enrol__status {
	border-radius: 12px;
	font-size: 16px;
	font-weight: 600;
	margin: 0;
}

.arrufat-enrol__status:empty {
	display: none;
}

.arrufat-enrol__status.is-success {
	background: #e6f4ea;
	color: #1e6b3a;
	padding: 14px 18px;
}

.arrufat-enrol__status.is-error {
	background: var(--wp--preset--color--accent-soft);
	color: var(--wp--preset--color--accent-dark);
	padding: 14px 18px;
}

.arrufat-enrol__form.is-sent .arrufat-enrol__step,
.arrufat-enrol__form.is-sent .arrufat-enrol__nav,
.arrufat-enrol__form.is-sent .arrufat-enrol__progress {
	display: none;
}

.arrufat-enrol__alt {
	color: var(--wp--preset--color--ink-soft);
	font-size: 15px;
	margin: 0;
	text-align: center;
}

.arrufat-enrol__alt a {
	font-weight: 700;
	white-space: nowrap;
}

/* -------------------------------------------------------------------------
 * Bande d'appel à l'action
 * ---------------------------------------------------------------------- */

.arrufat-cta {
	position: relative;
	overflow: hidden;
}

.arrufat-cta::before {
	background: radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.18), transparent 40%),
		radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.14), transparent 40%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.arrufat-cta > * {
	position: relative;
}

.arrufat-cta .arrufat-phone__label {
	opacity: 0.9;
}

/* -------------------------------------------------------------------------
 * Pages intérieures, blog
 * ---------------------------------------------------------------------- */

.arrufat-page__head {
	border-bottom: 1px solid rgba(31, 42, 68, 0.08);
}

.arrufat-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	font-size: 14px;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.arrufat-breadcrumb li + li::before {
	color: var(--wp--preset--color--ink-soft);
	content: "›";
	margin-right: 8px;
}

.arrufat-breadcrumb a {
	color: var(--wp--preset--color--ink-soft);
	text-decoration: none;
}

.arrufat-breadcrumb a:hover {
	color: var(--wp--preset--color--accent);
}

.arrufat-breadcrumb [aria-current] {
	color: var(--wp--preset--color--night);
	font-weight: 600;
}

.arrufat-post-meta {
	color: var(--wp--preset--color--ink-soft);
}

.arrufat-post-meta a {
	color: inherit;
}

.arrufat-postcard {
	background: var(--wp--preset--color--base);
	border: 1px solid rgba(31, 42, 68, 0.08);
	border-radius: var(--arrufat-radius);
	box-shadow: var(--arrufat-shadow);
	overflow: hidden;
	transition: var(--arrufat-transition);
}

.arrufat-postcard:hover {
	transform: translateY(-4px);
}

.arrufat-postcard > *:not(.arrufat-postcard__image) {
	margin-inline: 22px;
}

.arrufat-postcard > .arrufat-postcard__date {
	margin-top: 18px;
}

.arrufat-postcard > *:last-child {
	margin-bottom: 22px;
}

.arrufat-postcard__image img {
	border-radius: 0;
}

.arrufat-postcard__date {
	color: var(--wp--preset--color--ink-soft);
}

.arrufat-postcard__title a {
	color: var(--wp--preset--color--night);
	text-decoration: none;
}

.arrufat-postcard__title a:hover {
	color: var(--wp--preset--color--accent);
}

.arrufat-article__cover img {
	border-radius: var(--arrufat-radius);
}

.arrufat-article__body > * + * {
	margin-top: 1.2em;
}

.arrufat-tags a {
	background: var(--wp--preset--color--base-2);
	border-radius: 999px;
	display: inline-block;
	font-size: 14px;
	margin: 0 6px 6px 0;
	padding: 4px 12px;
	text-decoration: none;
}

.arrufat-postnav a {
	color: var(--wp--preset--color--night);
	font-weight: 600;
	text-decoration: none;
}

.arrufat-related__title {
	font-size: var(--wp--preset--font-size--x-large);
	margin-bottom: 24px;
}

.arrufat-related__grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.arrufat-related__item a {
	color: inherit;
	display: grid;
	gap: 8px;
	text-decoration: none;
}

.arrufat-related__item img {
	aspect-ratio: 4 / 3;
	border-radius: 14px;
	object-fit: cover;
	width: 100%;
}

.arrufat-related__date {
	color: var(--wp--preset--color--ink-soft);
	font-size: 14px;
}

.arrufat-related__name {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 600;
	line-height: 1.2;
}

.arrufat-related__item a:hover .arrufat-related__name {
	color: var(--wp--preset--color--accent);
}

/* -------------------------------------------------------------------------
 * Pied de page
 * ---------------------------------------------------------------------- */

.arrufat-footer a {
	color: inherit;
}

.arrufat-footer a:hover {
	color: var(--wp--preset--color--gold);
}

.arrufat-footer__title {
	font-family: var(--wp--preset--font-family--body);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.arrufat-footer__nav .wp-block-navigation-item__content {
	color: rgba(251, 247, 240, 0.85);
	font-size: 16px;
	text-decoration: none;
}

.arrufat-footer__nav .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--gold);
}

.arrufat-footer .arrufat-phone__label {
	color: var(--wp--preset--color--gold);
	opacity: 1;
}

.arrufat-footer .arrufat-phone__number {
	color: var(--wp--preset--color--cream);
}

.arrufat-footer .arrufat-phone__number:hover {
	color: var(--wp--preset--color--gold);
}

/* -------------------------------------------------------------------------
 * Apparition au défilement
 * ---------------------------------------------------------------------- */

.js [data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.js [data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}

	.js [data-reveal] {
		opacity: 1;
		transform: none;
	}
}

/* -------------------------------------------------------------------------
 * Impression : pas de barre fixe, pas d'en-tête collant
 * ---------------------------------------------------------------------- */

@media print {
	.arrufat-sticky,
	.arrufat-header .arrufat-phone {
		display: none;
	}

	.arrufat-header {
		position: static;
	}
}

.arrufat-header.is-scrolled {
	box-shadow: 0 10px 30px -20px rgba(31, 42, 68, 0.4);
}
