/**
 * blocks.css — habillage « esport » (refonte) par classes utilitaires.
 *
 * Décor CSS posé sur des blocs natifs. Les couleurs/typo viennent de theme.json
 * (var --wp--preset--*) ; ici on ajoute glow, blur, layouts et détails que les
 * réglages natifs ne couvrent pas. Chargé sur tout le front (handle cc-blocks).
 */

/* Surlignage inline neutralisé (sert aux mots colorés des titres). */
mark {
	background-color: transparent;
}

/* Empêche un libellé court de se couper. */
.cc-nowrap {
	white-space: nowrap;
}

/* -------------------------------------------------------------------------
 * Header / nav — sticky, translucide, flou
 * ------------------------------------------------------------------------- */
header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: blur( 14px );
	background: color-mix( in oklch, var( --wp--preset--color--base ) 72%, transparent );
	border-bottom: 1px solid var( --wp--preset--color--border-light );
}

.cc-nav {
	min-height: 74px;
}

.cc-nav-links a {
	color: var( --wp--preset--color--secondary );
	font-size: 15px;
}

.cc-nav-links a:hover {
	color: var( --wp--preset--color--main );
}

.cc-nav .wp-block-site-logo img {
	height: 46px;
	width: auto;
}

/* -------------------------------------------------------------------------
 * Boutons — pilule accent (glow) + ghost (outline)
 * ------------------------------------------------------------------------- */
.wp-block-button:not( .is-style-outline ) > .wp-block-button__link {
	box-shadow: 0 0 0 0 var( --wp--custom--glow ), 0 10px 30px -10px var( --wp--custom--glow );
	transition: transform .18s ease, box-shadow .18s ease;
}

.wp-block-button:not( .is-style-outline ) > .wp-block-button__link:hover {
	transform: translateY( -2px );
	box-shadow: 0 0 28px -2px var( --wp--custom--glow ), 0 16px 40px -12px var( --wp--custom--glow );
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var( --wp--preset--color--main );
	border: 1px solid var( --wp--preset--color--border-dark );
	transition: transform .18s ease, color .15s ease, border-color .15s ease;
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	transform: translateY( -2px );
	color: var( --wp--preset--color--primary );
	border-color: var( --wp--preset--color--primary );
}

/* -------------------------------------------------------------------------
 * Kicker (label mono avec filet) + texte mono
 * ------------------------------------------------------------------------- */
.cc-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.cc-kicker::before {
	content: "";
	width: 26px;
	height: 1px;
	background: var( --wp--preset--color--primary );
	box-shadow: 0 0 8px var( --wp--preset--color--primary );
}

/* -------------------------------------------------------------------------
 * Hero (variante A — split)
 * ------------------------------------------------------------------------- */
.cc-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp( 60px, 9vw, 110px );
}

.cc-hero .wp-block-columns {
	gap: clamp( 32px, 5vw, 72px );
}

/* Mots néon dans le titre du hero (mark = couleur native + glow ici). */
.cc-hero h1 {
	line-height: 0.98;
	letter-spacing: -0.03em;
}

.cc-hero h1 mark.has-primary-color {
	text-shadow: 0 0 26px var( --wp--custom--glow );
}

.cc-hero h1 mark.has-primary-alt-color {
	text-shadow: 0 0 26px var( --wp--custom--glow-alt );
}

/* Boutons hero plus grands. */
.cc-hero .wp-block-button__link {
	padding: 18px 32px;
	font-size: var( --wp--preset--font-size--base );
}

.cc-hero-sub {
	max-width: 44ch;
}

/* Média hero : 4/5, arrondi, badge mono. */
.cc-hero-media {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: var( --wp--custom--radius-lg );
	overflow: hidden;
	border: 1px solid var( --wp--preset--color--border-dark );
}

.cc-hero-media .wp-block-image {
	margin: 0;
	height: 100%;
}

.cc-hero-media .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cc-hero-media-badge {
	position: absolute;
	left: 16px;
	bottom: 16px;
	margin: 0;
	padding: 6px 12px;
	border-radius: 999px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: color-mix( in oklch, var( --wp--preset--color--base ) 75%, transparent );
	backdrop-filter: blur( 6px );
	border: 1px solid var( --wp--preset--color--border-light );
}

/* -------------------------------------------------------------------------
 * Sections génériques
 * ------------------------------------------------------------------------- */
.cc-section {
	padding-block: clamp( 72px, 10vw, 140px );
}

.cc-section-title {
	max-width: 24ch;
	text-wrap: balance;
}

.cc-section-intro {
	max-width: 52ch;
}

/* -------------------------------------------------------------------------
 * Concept — grille de bénéfices
 * ------------------------------------------------------------------------- */
.cc-bene-head {
	margin-bottom: 56px;
}

/* Grille 3×3 (9 cartes) au desktop, dégressive — double classe pour passer
   devant le grid-template généré par le réglage de bloc columnCount. */
.cc-bene-grid.cc-bene-grid {
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
}

@media ( max-width: 1024px ) {
	.cc-bene-grid.cc-bene-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media ( max-width: 781px ) {
	.cc-bene-grid.cc-bene-grid {
		grid-template-columns: 1fr;
	}
}

.cc-bene-card {
	position: relative;
	overflow: hidden;
	padding: 32px 28px 30px;
	border: 1px solid var( --wp--preset--color--border-light );
	border-radius: var( --wp--custom--radius );
	background: linear-gradient( 180deg, var( --wp--preset--color--surface ), var( --wp--preset--color--tertiary ) );
	transition: border-color .2s ease, transform .2s ease;
}

.cc-bene-card:hover {
	border-color: var( --wp--preset--color--border-dark );
	transform: translateY( -3px );
}

.cc-bene-card::after {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 2px;
	background: linear-gradient( 90deg, var( --wp--preset--color--primary ), transparent 70% );
	opacity: 0;
	transition: opacity .25s ease;
}

.cc-bene-card:hover::after {
	opacity: 1;
}

.cc-bene-card h3 {
	font-size: 22px;
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin-bottom: 10px;
}

.cc-bene-card p {
	font-size: 16px;
}

.cc-bene-ico {
	width: 50px;
	height: 50px;
	margin: 0 0 22px;
	border-radius: 13px;
	display: grid;
	place-items: center;
	background: var( --wp--custom--accent-faint );
	border: 1px solid color-mix( in oklch, var( --wp--preset--color--primary ) 30%, transparent );
}

.cc-bene-ico img {
	width: 24px;
	height: 24px;
}

.cc-bene-tag {
	position: absolute;
	top: 26px;
	right: 26px;
	margin: 0;
}

/* -------------------------------------------------------------------------
 * Soirées — cartes « ambiance » (photo plein cadre)
 * ------------------------------------------------------------------------- */
.cc-ambiance-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 460px;
	border-radius: var( --wp--custom--radius-lg );
	overflow: hidden;
	border: 1px solid var( --wp--preset--color--border-light );
	isolation: isolate;
	transition: transform .2s ease, border-color .2s ease;
}

.cc-ambiance-card:hover {
	transform: translateY( -4px );
	border-color: var( --wp--preset--color--border-dark );
}

.cc-ambiance-media {
	position: absolute;
	inset: 0;
	z-index: -2;
	margin: 0;
}

.cc-ambiance-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cc-ambiance-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient( 180deg, color-mix( in oklch, var( --wp--preset--color--base ) 8%, transparent ) 0%, color-mix( in oklch, var( --wp--preset--color--base ) 52%, transparent ) 44%, color-mix( in oklch, var( --wp--preset--color--base ) 97%, transparent ) 100% );
}

.cc-soiree-flag {
	position: absolute;
	top: 22px;
	left: 22px;
	z-index: 2;
	margin: 0;
	padding: 7px 13px;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border-radius: 999px;
	background: color-mix( in oklch, var( --wp--preset--color--base ) 70%, transparent );
	backdrop-filter: blur( 6px );
	border: 1px solid var( --wp--preset--color--border-dark );
}

.cc-flag-compet {
	border-color: color-mix( in oklch, var( --wp--preset--color--primary ) 45%, transparent );
}

.cc-flag-chill {
	border-color: color-mix( in oklch, var( --wp--preset--color--primary-alt ) 45%, transparent );
}

.cc-soiree-body {
	padding: 28px;
	text-shadow: 0 1px 16px rgba( 0, 7, 42, 0.55 );
}

.cc-ambiance-card h3 {
	font-size: 27px;
	line-height: 1.1;
	margin-bottom: 8px;
}

.cc-ambiance-card .cc-soiree-body > p {
	margin: 0 0 16px;
	color: var( --wp--custom--text-soft );
	font-size: 15px;
}

.cc-chip {
	margin: 0;
	padding: 6px 11px;
	font-size: 12px;
	color: var( --wp--preset--color--main );
	background: var( --wp--preset--color--surface-2 );
	border: 1px solid var( --wp--preset--color--border-dark );
	border-radius: 8px;
}

/* -------------------------------------------------------------------------
 * Témoignages — citations + logos clients
 * ------------------------------------------------------------------------- */
.cc-testi {
	border-top: 1px solid var( --wp--preset--color--border-light );
	border-bottom: 1px solid var( --wp--preset--color--border-light );
}

.cc-quote {
	display: flex;
	flex-direction: column;
	padding: 32px 30px 28px;
	background: var( --wp--preset--color--surface );
	border: 1px solid var( --wp--preset--color--border-light );
	border-radius: var( --wp--custom--radius );
}

.cc-quote-mark {
	margin: 0;
	height: 30px;
	font-family: var( --wp--preset--font-family--display );
	font-size: 56px;
	line-height: 0.6;
	color: var( --wp--preset--color--primary );
	opacity: 0.7;
}

.cc-quote-text {
	margin: 0 0 26px;
	font-size: 18px;
	line-height: 1.5;
}

.cc-quote-by {
	margin-top: auto;
}

.cc-quote-av {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	margin: 0;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var( --wp--preset--color--surface-2 );
	border: 1px solid var( --wp--preset--color--border-dark );
	font-family: var( --wp--preset--font-family--display );
	font-weight: 700;
	color: var( --wp--preset--color--primary );
}

.cc-quote-name {
	margin: 0;
	font-weight: 700;
	font-size: 15px;
}

.cc-quote-role {
	margin: 0;
	font-size: 13px;
}

.cc-logo-row {
	gap: 14px 40px;
	margin-top: 56px;
	padding-top: 38px;
	border-top: 1px dashed var( --wp--preset--color--border-light );
}

.cc-lbl {
	width: 100%;
	margin: 0;
}

.cc-client-logo {
	margin: 0;
	font-family: var( --wp--preset--font-family--display );
	font-weight: 700;
	font-size: 22px;
	letter-spacing: -0.02em;
	color: var( --wp--preset--color--faint );
	transition: color .2s ease;
}

.cc-client-logo:hover {
	color: var( --wp--preset--color--secondary );
}

/* -------------------------------------------------------------------------
 * Billets — cartes prix (statique ; l'interactif viendra avec le bloc Amelia)
 * ------------------------------------------------------------------------- */
.cc-ticket {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 30px 28px 28px;
	background: linear-gradient( 180deg, var( --wp--preset--color--surface ), var( --wp--preset--color--tertiary ) );
	border: 1px solid var( --wp--preset--color--border-light );
	border-radius: var( --wp--custom--radius );
	transition: border-color .2s ease, transform .2s ease;
}

.cc-ticket:hover {
	border-color: var( --wp--preset--color--border-dark );
	transform: translateY( -3px );
}

.cc-ticket-featured {
	border-color: color-mix( in oklch, var( --wp--preset--color--primary ) 45%, transparent );
	box-shadow: 0 0 0 1px var( --wp--custom--accent-faint ), 0 24px 60px -36px var( --wp--custom--glow );
}

.cc-ticket-flag {
	margin: 0 0 16px;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.cc-ticket h3 {
	font-size: 23px;
	line-height: 1.15;
	margin-bottom: 6px;
}

.cc-ticket-sub {
	margin: 0;
	font-size: 14px;
}

.cc-ticket-foot {
	margin-top: auto;
	padding-top: 24px;
}

.cc-ticket-avail {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px;
	font-size: 12px;
	color: var( --wp--preset--color--secondary );
}

.cc-ticket-avail::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var( --wp--preset--color--primary );
	box-shadow: 0 0 8px var( --wp--preset--color--primary );
}

.cc-avail-low {
	color: var( --wp--custom--avail-low-text );
}

.cc-avail-low::before {
	background: var( --wp--custom--avail-low-dot );
	box-shadow: 0 0 8px var( --wp--custom--avail-low-dot );
}

.cc-ticket-price {
	margin: 0;
	font-family: var( --wp--preset--font-family--display );
	font-weight: 700;
	font-size: 42px;
	line-height: 1;
	letter-spacing: -0.02em;
}

.cc-ticket-price .cc-cents {
	font-size: 20px;
	font-weight: 600;
	color: var( --wp--preset--color--secondary );
}

.cc-ticket-per {
	margin: 8px 0 0;
	font-size: 13px;
}

.cc-ticket .wp-block-buttons {
	margin-top: 22px;
}

/* -------------------------------------------------------------------------
 * Réserver — carte 2 colonnes (pitch + emplacement Forminator)
 * ------------------------------------------------------------------------- */
.cc-book-card {
	overflow: hidden;
	background: linear-gradient( 160deg, var( --wp--preset--color--surface ), var( --wp--preset--color--tertiary ) );
	border: 1px solid var( --wp--preset--color--border-dark );
	border-radius: var( --wp--custom--radius-lg );
}

.cc-book-side {
	padding: clamp( 36px, 5vw, 56px );
	border-right: 1px solid var( --wp--preset--color--border-light );
	background: radial-gradient( 80% 50% at 0% 0%, var( --wp--custom--accent-faint ), transparent 70% );
}

.cc-book-side h2 {
	margin-bottom: 18px;
	font-size: clamp( 30px, 4vw, 46px );
}

.cc-book-intro {
	margin: 0 0 30px;
}

.cc-book-point {
	align-items: flex-start;
}

.cc-book-point > p:last-child {
	margin: 0;
	font-size: 15px;
}

.cc-tick {
	flex: none;
	width: 22px;
	height: 22px;
	margin: 1px 0 0;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var( --wp--preset--color--primary );
	color: var( --wp--preset--color--accent-ink );
	font-size: 13px;
}

.cc-book-form {
	padding: clamp( 32px, 4vw, 52px );
}

.cc-form-placeholder {
	padding: 28px;
	border: 1px dashed var( --wp--preset--color--border-dark );
	border-radius: 12px;
	text-align: center;
}

@media ( max-width: 781px ) {
	.cc-book-side {
		border-right: none;
		border-bottom: 1px solid var( --wp--preset--color--border-light );
	}
}

/* -------------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------------- */
.cc-footer {
	border-top: 1px solid var( --wp--preset--color--border-light );
}

.cc-footer-top {
	padding-block: 64px;
}

.cc-footer-brand .wp-block-site-logo {
	margin-bottom: 18px;
}

.cc-footer-brand .wp-block-site-logo img {
	height: 58px;
	width: auto;
}

.cc-footer-brand p {
	max-width: 38ch;
	font-size: 15px;
}

.cc-foot-h {
	margin: 0 0 16px;
	font-family: var( --wp--preset--font-family--mono );
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var( --wp--preset--color--faint );
}

.cc-foot-links p {
	margin: 0;
}

.cc-foot-col a {
	display: block;
	padding: 5px 0;
	font-size: 15px;
	color: var( --wp--preset--color--secondary );
	transition: color .15s ease;
}

.cc-foot-col a:hover {
	color: var( --wp--preset--color--primary );
}

.cc-footer-bot {
	padding-block: 26px;
	border-top: 1px solid var( --wp--preset--color--border-light );
	font-size: 13px;
	color: var( --wp--preset--color--faint );
}

.cc-footer-bot p {
	margin: 0;
}

/* -------------------------------------------------------------------------
 * Bandeau « PRESS START » (variante C du hero, en section)
 * ------------------------------------------------------------------------- */
.cc-press {
	overflow: hidden;
}

.cc-press-tag {
	margin: 0;
	font-size: 13px;
	letter-spacing: 0.14em;
}

.cc-press-h {
	margin: 18px 0 0;
}

.cc-press-h p {
	margin: 0;
	font-family: var( --wp--preset--font-family--display );
	font-weight: 700;
	font-size: clamp( 48px, 12vw, 140px );
	line-height: 0.86;
	letter-spacing: -0.04em;
}

.cc-press-h .cc-l2 {
	padding-left: clamp( 40px, 12vw, 220px );
}

.cc-stroke {
	color: transparent;
	-webkit-text-stroke: 1.4px var( --wp--preset--color--primary );
	text-stroke: 1.4px var( --wp--preset--color--primary );
}

.cc-press-grid {
	margin-top: 30px;
}

.cc-press-sub {
	max-width: 48ch;
}

.cc-press .wp-block-button__link {
	padding: 18px 32px;
	font-size: var( --wp--preset--font-size--base );
}

@media ( max-width: 781px ) {
	.cc-press-h .cc-l2 {
		padding-left: 0;
	}
}

/* -------------------------------------------------------------------------
 * Bandeau de chiffres (stat-strip)
 * ------------------------------------------------------------------------- */
.cc-stat-strip {
	border-top: 1px solid var( --wp--preset--color--border-light );
	border-bottom: 1px solid var( --wp--preset--color--border-light );
}

.cc-stat-grid {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
}

.cc-stat {
	padding: 30px clamp( 20px, 5vw, 40px );
	border-left: 1px solid var( --wp--preset--color--border-light );
}

.cc-stat:first-child {
	border-left: none;
}

.cc-stat-num {
	margin: 0;
	font-family: var( --wp--preset--font-family--display );
	font-weight: 700;
	font-size: clamp( 30px, 4vw, 46px );
	line-height: 1;
	letter-spacing: -0.02em;
}

.cc-stat-label {
	margin: 8px 0 0;
	font-size: 14px;
}

@media ( max-width: 781px ) {
	.cc-stat-grid {
		grid-template-columns: 1fr 1fr;
	}

	.cc-stat:nth-child( odd ) {
		border-left: none;
	}

	.cc-stat:nth-child( n + 3 ) {
		border-top: 1px solid var( --wp--preset--color--border-light );
	}
}

/* -------------------------------------------------------------------------
 * Page « Le déroulé » — timeline (média/texte alternés, bandes alternées)
 * ------------------------------------------------------------------------- */
.cc-deroule-band {
	padding-block: clamp( 56px, 8vw, 104px );
}

.cc-deroule-intro {
	border-bottom: 1px solid var( --wp--preset--color--border-light );
}

.cc-deroule-title {
	max-width: 20ch;
	text-wrap: balance;
}

.cc-deroule-row {
	gap: clamp( 28px, 5vw, 72px );
}

/* Alternance visuelle réservée au desktop : en mobile WP empile en ordre source
   (média toujours en premier), donc pas de row-reverse sous 782px. */
@media ( min-width: 782px ) {
	.cc-deroule-row--alt {
		flex-direction: row-reverse;
	}
}

.cc-deroule-media {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: var( --wp--custom--radius-lg );
	overflow: hidden;
	border: 1px solid var( --wp--preset--color--border-dark );
}

.cc-deroule-media .cc-deroule-img {
	margin: 0;
	height: 100%;
}

.cc-deroule-media .cc-deroule-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cc-deroule-num {
	position: absolute;
	top: 14px;
	left: 14px;
	margin: 0;
	padding: 6px 12px;
	font-size: 13px;
	letter-spacing: 0.12em;
	color: var( --wp--preset--color--primary );
	background: color-mix( in oklch, var( --wp--preset--color--base ) 72%, transparent );
	backdrop-filter: blur( 6px );
	border: 1px solid color-mix( in oklch, var( --wp--preset--color--primary ) 40%, transparent );
	border-radius: 999px;
}

.cc-deroule-band h3 {
	font-size: clamp( 24px, 3vw, 34px );
	line-height: 1.12;
	letter-spacing: -0.01em;
}

/* -------------------------------------------------------------------------
 * Bloc cc/booking — billets Amelia en direct (réutilise le skin .cc-ticket)
 * ------------------------------------------------------------------------- */
.cc-booking-meta {
	margin: 0 0 24px;
	font-size: 13px;
	letter-spacing: 0.04em;
	color: var( --wp--preset--color--secondary );
}

.cc-booking-grid {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 20rem, 1fr ) );
	gap: 20px;
}

/* Steppers de quantité dans la carte billet */
.cc-ticket-foot .cc-qty {
	margin-top: 22px;
}

.cc-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid var( --wp--preset--color--border-dark );
	border-radius: 999px;
	overflow: hidden;
}

.cc-qty.is-active {
	border-color: color-mix( in oklch, var( --wp--preset--color--primary ) 45%, transparent );
}

.cc-qty-btn {
	width: 40px;
	height: 40px;
	border: 0;
	background: transparent;
	color: var( --wp--preset--color--main );
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}

.cc-qty-btn:hover {
	background: var( --wp--preset--color--surface-2 );
	color: var( --wp--preset--color--primary );
}

.cc-qty-val {
	min-width: 36px;
	text-align: center;
	font-family: var( --wp--preset--font-family--mono );
	font-size: 15px;
	color: var( --wp--preset--color--main );
}

.cc-ticket-complet {
	margin: 22px 0 0;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Barre récap : total + soumission */
.cc-booking-bar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px 24px;
	margin-top: 28px;
	padding: 20px clamp( 20px, 3vw, 32px );
	border: 1px solid var( --wp--preset--color--border-dark );
	border-radius: var( --wp--custom--radius );
	background: var( --wp--preset--color--surface );
}

.cc-booking-total {
	margin: 0;
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.cc-booking-total-lbl {
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var( --wp--preset--color--secondary );
}

.cc-booking-total-val {
	font-family: var( --wp--preset--font-family--display );
	font-weight: 700;
	font-size: clamp( 24px, 3vw, 30px );
	letter-spacing: -0.02em;
	color: var( --wp--preset--color--main );
}

.cc-booking-submit {
	margin-left: auto;
	padding: 15px 34px;
	border: 0;
	border-radius: 999px;
	font-family: var( --wp--preset--font-family--body );
	font-weight: 600;
	font-size: 16px;
	color: var( --wp--preset--color--accent-ink );
	background: var( --wp--preset--color--primary );
	cursor: pointer;
	box-shadow: 0 0 0 0 var( --wp--custom--glow ), 0 10px 30px -10px var( --wp--custom--glow );
	transition: transform .18s ease, box-shadow .18s ease, opacity .15s ease;
}

.cc-booking-submit:hover:not( [disabled] ) {
	transform: translateY( -2px );
	box-shadow: 0 0 28px -2px var( --wp--custom--glow ), 0 16px 40px -12px var( --wp--custom--glow );
}

.cc-booking-submit[disabled] {
	opacity: 0.45;
	cursor: not-allowed;
}

.cc-booking-submit.is-loading {
	opacity: 0.7;
	cursor: progress;
}

.cc-booking-msg {
	flex-basis: 100%;
	margin: 0;
	font-size: 14px;
	color: var( --wp--preset--color--coral );
}

.cc-booking-msg:empty {
	display: none;
}

/* -------------------------------------------------------------------------
 * Billetterie home adaptative (bloc acf/billetterie : teaser / résa / liste)
 * ------------------------------------------------------------------------- */
.cc-billetterie-head {
	margin-bottom: 40px;
}

.cc-billetterie-head .cc-section-title {
	margin-top: 4px;
}

.cc-billetterie-soon {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp( 28px, 5vw, 64px );
	align-items: center;
}

.cc-soon-text {
	max-width: 46ch;
}

.cc-newsletter {
	padding: clamp( 24px, 3vw, 34px );
	background: var( --wp--preset--color--surface );
	border: 1px solid var( --wp--preset--color--border-light );
	border-radius: var( --wp--custom--radius-lg );
}

@media ( max-width: 781px ) {
	.cc-billetterie-soon {
		grid-template-columns: 1fr;
	}
}

/* Form MailPoet rhabillé aux couleurs esport (surcharge des styles inline) */
.cc-newsletter .mailpoet_paragraph {
	margin: 0 0 12px;
}

.cc-newsletter .mailpoet_text {
	width: 100%;
	margin: 0 !important;
	padding: 13px 16px !important;
	background: var( --wp--preset--color--surface-2 ) !important;
	border: 1px solid var( --wp--preset--color--border-dark ) !important;
	border-radius: 12px !important;
	color: var( --wp--preset--color--main ) !important;
	font-family: var( --wp--preset--font-family--body ) !important;
	font-size: 15px !important;
}

.cc-newsletter .mailpoet_text::placeholder {
	color: var( --wp--preset--color--faint ) !important;
}

.cc-newsletter .mailpoet_text:focus {
	outline: none !important;
	border-color: var( --wp--preset--color--primary ) !important;
}

.cc-newsletter .mailpoet_submit {
	width: auto !important;
	margin: 4px 0 0 !important;
	padding: 14px 32px !important;
	background: var( --wp--preset--color--primary ) !important;
	color: var( --wp--preset--color--accent-ink ) !important;
	border: 0 !important;
	border-radius: 999px !important;
	font-family: var( --wp--preset--font-family--body ) !important;
	font-weight: 600 !important;
	font-size: 16px !important;
	cursor: pointer;
	box-shadow: 0 10px 30px -10px var( --wp--custom--glow );
	transition: transform .18s ease, box-shadow .18s ease;
}

.cc-newsletter .mailpoet_submit:hover {
	transform: translateY( -2px );
	box-shadow: 0 0 28px -2px var( --wp--custom--glow ), 0 16px 40px -12px var( --wp--custom--glow );
}

.cc-newsletter .mailpoet_message p {
	margin: 8px 0 0;
	font-size: 14px;
}

.cc-newsletter .mailpoet_validate_success {
	color: var( --wp--preset--color--primary-alt ) !important;
}

.cc-newsletter .mailpoet_validate_error {
	color: var( --wp--preset--color--coral ) !important;
}

.cc-newsletter-todo {
	padding: 18px 20px;
	border: 1px dashed var( --wp--preset--color--border-dark );
	border-radius: 12px;
	color: var( --wp--preset--color--secondary );
}

.cc-billetterie-more {
	margin-top: 56px;
	padding-top: 40px;
	border-top: 1px solid var( --wp--preset--color--border-light );
}

.cc-billetterie-more-title {
	margin: 0 0 24px;
	font-size: clamp( 18px, 2vw, 22px );
}

.cc-archive-grid {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 19rem, 1fr ) );
	gap: 20px;
}

/* -------------------------------------------------------------------------
 * Page Soirée — hero (image mise en avant native dans .cc-hero-media)
 * ------------------------------------------------------------------------- */
.cc-hero-media .wp-block-post-featured-image {
	margin: 0;
	height: 100%;
}

.cc-hero-media .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cc-hero-places {
	font-size: 13px;
	letter-spacing: 0.04em;
}

/* -------------------------------------------------------------------------
 * Programme de soirée — timeline synthétique (horaire → intitulé, filets)
 * ------------------------------------------------------------------------- */
.cc-prog-row {
	padding-block: 16px;
	border-bottom: 1px solid var( --wp--preset--color--border-light );
}

.cc-prog-row:first-child {
	border-top: 1px solid var( --wp--preset--color--border-light );
}

.cc-prog-time {
	flex: 0 0 auto;
	min-width: 128px;
	margin: 0;
	font-size: 14px;
	letter-spacing: 0.03em;
	color: var( --wp--preset--color--primary );
}

.cc-prog-title {
	margin: 0;
	font-family: var( --wp--preset--font-family--display );
	font-weight: 600;
	font-size: clamp( 17px, 2vw, 21px );
	color: var( --wp--preset--color--main );
	transition: color .15s ease;
}

.cc-prog-row:hover .cc-prog-title {
	color: var( --wp--preset--color--primary );
}

.cc-prog-win .cc-prog-time,
.cc-prog-win .cc-prog-title {
	color: var( --wp--preset--color--primary-alt );
}

/* -------------------------------------------------------------------------
 * Blocs ACF soirée — galerie / points forts / témoignages (rendu serveur)
 * ------------------------------------------------------------------------- */
.cc-gallery {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 180px, 1fr ) );
	gap: 12px;
}

.cc-gallery-img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 12px;
	border: 1px solid var( --wp--preset--color--border-light );
}

.cc-points-grid {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 16rem, 1fr ) );
	gap: 18px;
}

.cc-testi-grid {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 17rem, 1fr ) );
	gap: 18px;
}

/* Témoignages : ligne auteur (avatar + nom/rôle) */
.cc-quote-by {
	display: flex;
	align-items: center;
	gap: 12px;
}

.cc-quote-id {
	display: flex;
	flex-direction: column;
}

.cc-quote-av {
	overflow: hidden;
}

.cc-quote-av img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

/* -------------------------------------------------------------------------
 * Archive /soirees/ — cartes de soirée (query loop)
 * ------------------------------------------------------------------------- */
.cc-archive-card {
	overflow: hidden;
	border: 1px solid var( --wp--preset--color--border-light );
	border-radius: var( --wp--custom--radius-lg );
	background: var( --wp--preset--color--surface );
	transition: border-color .2s ease, transform .2s ease;
}

.cc-archive-card:hover {
	border-color: var( --wp--preset--color--border-dark );
	transform: translateY( -4px );
}

.cc-archive-media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.cc-archive-media .wp-block-post-featured-image,
.cc-archive-media .wp-block-post-featured-image a {
	margin: 0;
	height: 100%;
}

.cc-archive-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cc-archive-body {
	padding: 20px 22px 24px;
}

.cc-archive-meta {
	margin: 0;
	font-size: 13px;
	letter-spacing: 0.04em;
}

.cc-archive-title {
	margin: 0;
	font-size: clamp( 20px, 2.4vw, 26px );
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.cc-archive-title a {
	color: var( --wp--preset--color--main );
	text-decoration: none;
}

.cc-archive-title a:hover {
	color: var( --wp--preset--color--primary );
}

.cc-archive-places {
	margin: 0;
}

/* -------------------------------------------------------------------------
 * Compte à rebours soirée (bloc acf/countdown)
 * ------------------------------------------------------------------------- */
.cc-countdown {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.cc-cd-unit {
	min-width: 66px;
	padding: 12px 12px 10px;
	text-align: center;
	background: var( --wp--preset--color--surface );
	border: 1px solid var( --wp--preset--color--border-dark );
	border-radius: 12px;
}

.cc-cd-num {
	display: block;
	font-family: var( --wp--preset--font-family--display );
	font-weight: 700;
	font-size: clamp( 24px, 3vw, 34px );
	line-height: 1;
	letter-spacing: -0.02em;
	color: var( --wp--preset--color--primary );
	font-variant-numeric: tabular-nums;
}

.cc-cd-lbl {
	display: block;
	margin-top: 6px;
	font-family: var( --wp--preset--font-family--mono );
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var( --wp--preset--color--faint );
}
