/**
 * 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;
	border-bottom: 1px solid var( --wp--preset--color--border-light );
}

/* Le flou/fond est porté par un pseudo-élément, PAS par le header lui-même :
   backdrop-filter (comme transform/filter) crée un bloc conteneur pour les
   descendants en position:fixed. Or le menu mobile du bloc navigation s'ouvre
   en fixed:inset:0 ; posé sur le header, il resterait piégé dans la barre
   (74px) → une seule ligne visible, le reste sous le hero. Le pseudo n'étant
   pas un ancêtre de la nav, l'overlay se cale bien sur le viewport. */
header.wp-block-template-part::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	backdrop-filter: blur( 14px );
	background: color-mix( in oklch, var( --wp--preset--color--base ) 72%, transparent );
}

.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 );
}

/* Bandeau clients « Ils nous ont fait confiance » — défilement horizontal infini. */
.cc-logo-row .cc-marquee {
	flex: 0 0 100%;
	overflow: hidden;
}
.cc-marquee-track {
	display: flex;
	flex-wrap: nowrap;
	width: max-content;
	align-items: center;
	animation: cc-marquee-scroll 40s linear infinite;
}
.cc-marquee-track > * {
	margin: 0;
}
.cc-marquee:hover .cc-marquee-track {
	animation-play-state: paused;
}
.cc-marquee .cc-client-logo {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	white-space: nowrap;
}
.cc-marquee .cc-client-logo::after {
	content: "·";
	margin: 0 32px;
	font-weight: 400;
	color: var( --wp--preset--color--faint );
}
@keyframes cc-marquee-scroll {
	from { transform: translateX( 0 ); }
	to   { transform: translateX( -50% ); }
}
@media ( prefers-reduced-motion: reduce ) {
	.cc-marquee-track { animation: none; }
	.cc-marquee { overflow-x: auto; }
}

/* -------------------------------------------------------------------------
 * 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 );
}

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

/* -------------------------------------------------------------------------
 * Formulaire Forminator (section Réserver) — skin esport, calqué sur le
 * formulaire du HTML Claude Design. Surcharge des styles natifs Forminator
 * (!important nécessaire, comme pour le skin MailPoet).
 * ------------------------------------------------------------------------- */
.forminator-custom-form {
	background: transparent;
}

/* Labels : Space Mono, petit, capitales espacées (label.lab du design). */
.forminator-custom-form .forminator-label {
	margin-bottom: 8px !important;
	color: var( --wp--preset--color--secondary ) !important;
	font-family: var( --wp--preset--font-family--mono ) !important;
	font-size: 12px !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.forminator-custom-form .forminator-label .forminator-required {
	color: var( --wp--preset--color--primary );
}

/* Champs : fond navy profond, filet, radius 11px (.field input du design). */
.forminator-custom-form .forminator-input,
.forminator-custom-form .forminator-textarea {
	width: 100%;
	padding: 13px 15px !important;
	background: var( --wp--preset--color--base ) !important;
	border: 1px solid var( --wp--preset--color--border-dark ) !important;
	border-radius: 11px !important;
	color: var( --wp--preset--color--main ) !important;
	font-family: var( --wp--preset--font-family--body ) !important;
	font-size: 15px !important;
	box-shadow: none !important;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.forminator-custom-form .forminator-textarea {
	min-height: 92px !important;
	resize: vertical;
}

.forminator-custom-form .forminator-input::placeholder,
.forminator-custom-form .forminator-textarea::placeholder {
	color: var( --wp--preset--color--faint ) !important;
}

.forminator-custom-form .forminator-input:focus,
.forminator-custom-form .forminator-textarea:focus,
.forminator-custom-form .forminator-select2:focus {
	outline: none !important;
	border-color: var( --wp--preset--color--primary ) !important;
	box-shadow: 0 0 0 3px rgba( 42, 168, 255, 0.22 ) !important;
}

/* Select NATIF (mode d'affichage Forminator = « Aucun », pas de select2).
   Vraie classe = .forminator-select2 (et non .forminator-select). */
.forminator-custom-form .forminator-select2 {
	width: 100%;
	padding: 13px 38px 13px 15px !important;
	background-color: var( --wp--preset--color--base ) !important;
	border: 1px solid var( --wp--preset--color--border-dark ) !important;
	border-radius: 11px !important;
	color: var( --wp--preset--color--main ) !important;
	font-family: var( --wp--preset--font-family--body ) !important;
	font-size: 15px !important;
	line-height: 1.4 !important;
	box-shadow: none !important;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2392a6cc' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E" );
	background-repeat: no-repeat;
	background-position: right 14px center;
	transition: border-color .15s ease, box-shadow .15s ease;
}

/* Options dans le menu natif (rendu OS-dépendant, mais aide Chrome/Win). */
.forminator-custom-form .forminator-select2 option {
	background: var( --wp--preset--color--surface );
	color: var( --wp--preset--color--main );
}

/* Filet coral si le champ est en erreur (mode « Aucun » ne le stylise pas). */
.forminator-custom-form .forminator-has_error .forminator-input,
.forminator-custom-form .forminator-has_error .forminator-textarea,
.forminator-custom-form .forminator-has_error .forminator-select2 {
	border-color: var( --wp--preset--color--coral ) !important;
}

/* Champ date : icône calendrier positionnée DANS le champ (et non au-dessus). */
.forminator-custom-form .forminator-input-with-icon {
	position: relative;
}

.forminator-custom-form .forminator-input-with-icon [class*="forminator-icon"] {
	position: absolute;
	top: 50%;
	right: 14px;
	transform: translateY( -50% );
	color: var( --wp--preset--color--secondary );
	pointer-events: none;
}

.forminator-custom-form .forminator-input-with-icon .forminator-input {
	padding-right: 40px !important;
}

/* Bouton d'envoi : pilule accent + glow (cohérent avec les CTA du thème). */
.forminator-custom-form .forminator-button-submit,
.cc-book-form button.forminator-button-submit {
	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;
	box-shadow: 0 10px 30px -10px var( --wp--custom--glow );
	transition: transform .18s ease, box-shadow .18s ease;
}

.forminator-custom-form .forminator-button-submit:hover {
	transform: translateY( -2px );
	box-shadow: 0 0 28px -2px var( --wp--custom--glow ), 0 16px 40px -12px var( --wp--custom--glow );
}

/* Messages de validation / réponse. */
.forminator-custom-form .forminator-label--validation,
.forminator-custom-form .forminator-error-message {
	color: var( --wp--preset--color--coral ) !important;
	font-size: 13px;
}

.forminator-custom-form .forminator-response-message {
	margin-top: 12px;
	font-family: var( --wp--preset--font-family--mono );
	font-size: 13px;
}

/* -------------------------------------------------------------------------
 * 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: 23px;
	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-place {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 14px 0 0;
	font-size: 23px;
	letter-spacing: 0.02em;
}

.cc-billetterie-cta {
	margin-top: 20px;
}

.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 );
}

/* -------------------------------------------------------------------------
 * Sponsors permanents (page soirée) — pattern cc/sponsors
 * ------------------------------------------------------------------------- */
.cc-sponsors {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 240px, 1fr ) );
	gap: 24px;
	align-items: stretch;
}
/* Neutralise la marge de flux WP (is-layout-flow > * + *) qui désaligne les cartes en grille. */
.cc-sponsors > * {
	margin-block: 0;
}
.cc-sponsor-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 30px 28px;
	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;
}
/* Le gap gère l'espacement du groupe haut ; on neutralise les marges (flex = pas de collapse). */
.cc-sponsor-card > * {
	margin: 0;
}
.cc-sponsor-card:hover {
	border-color: var( --wp--preset--color--border-dark );
	transform: translateY( -3px );
}
.cc-sponsor-logo img {
	max-height: 100px;
	width: auto;
	object-fit: contain;
}
.cc-sponsor-name {
	font-size: 22px;
	line-height: 1.2;
}
.cc-sponsor-desc {
	font-size: 15px;
	line-height: 1.55;
}
.cc-sponsor-link {
	margin-top: auto;
}
.cc-sponsor-link a {
	color: var( --wp--preset--color--primary );
	text-decoration: none;
	font-size: 13px;
	letter-spacing: 0.04em;
}
.cc-sponsor-link a:hover {
	text-decoration: underline;
}
@media ( max-width: 781px ) {
	.cc-sponsors {
		grid-template-columns: 1fr;
	}
}

/* Page soirée « dormante » (pas d'event à venir) : masque le CTA/places du hero
 * et le header statique de la billetterie (le bloc cc/booking affiche son teaser). */
.cc-soiree-soon .cc-hero-sub,
.cc-soiree-soon .cc-hero-places,
.cc-soiree-soon .cc-hero .wp-block-buttons,
.cc-soiree-soon .cc-countdown {
	display: none !important;
}
.cc-soiree-soon #billets > .wp-block-group {
	display: none;
}

/* Mini-panier / récap checkout (blocs Woo) : le produit-pont « Masqué » n'a pas
 * de permalink → le composant ProductName rend un <a> sans href. On le rend en
 * texte simple (déjà non cliquable, on retire juste l'apparence de lien). */
a.wc-block-components-product-name:not( [href] ),
a.wc-block-components-product-name[href=""] {
	color: inherit;
	text-decoration: none;
	pointer-events: none;
	cursor: default;
}
