/* ==========================================================================
   Refonte 2026 : cartes, fiches artistes, page Musiciens
   Polices et couleur d'accent reprises du site (Libre Baskerville, Karla, Rubik, #19b6b2)
   ========================================================================== */

:root {
	--ostr-accent: #19b6b2;
	--ostr-accent-dark: #128c89;
	--ostr-ink: #1a1a1a;
	--ostr-text: #444;
	--ostr-line: #dcdcdc;
	--ostr-grey: #f7f7f5;
	--ostr-serif: 'Libre Baskerville', Georgia, serif;
	--ostr-sans: 'Karla', Helvetica, Arial, sans-serif;
	--ostr-ui: 'Rubik', Helvetica, Arial, sans-serif;
}

.ostr-container {
	max-width: 1260px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.ostr-artist-page .screen-reader-text,
.ostr-card-concert .screen-reader-text,
.ostr-card-artist .screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* --- Boutons et liens communs ------------------------------------------- */

.ostr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 8px 18px;
	border-radius: 999px;
	font-family: var(--ostr-ui);
	font-size: 15px;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
	transition: background-color .15s, color .15s, border-color .15s;
}
.ostr-btn--outline { border: 1.5px solid #cfcfcf; color: var(--ostr-ink); background: #fff; }
.ostr-btn--outline:hover { border-color: var(--ostr-accent); color: var(--ostr-accent-dark); }
.ostr-btn--solid { border: 1.5px solid var(--ostr-accent); background: var(--ostr-accent); color: #fff; font-weight: 700; }
.ostr-btn--solid:hover { background: var(--ostr-accent-dark); border-color: var(--ostr-accent-dark); color: #fff; }
.ostr-btn--disabled { border: 1.5px solid #e2e2e2; background: #efefef; color: #777; cursor: default; }

.ostr-link-more {
	font-family: var(--ostr-ui);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--ostr-accent);
}
.ostr-link-more:hover { color: var(--ostr-accent-dark); }

.ostr-pastille {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	padding: 3px 9px;
	border-radius: 4px;
	background: var(--pastille, var(--ostr-accent));
	color: #fff;
	font-family: var(--ostr-ui);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}

/* --- Grilles de cartes --------------------------------------------------- */

.ostr-cards { display: grid; gap: 28px; }
.ostr-cards--concerts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ostr-cards--musicians { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 20px; padding: 8px 0 32px; }

/* --- Carte de concert (la même partout) ---------------------------------- */

.ostr-card-concert {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1.5px solid var(--ostr-line);
}
.ostr-card-concert__image {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #eee;
}
.ostr-card-concert__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ostr-card-concert__status {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 10px;
	background: rgba(0, 0, 0, .72);
	color: #fff;
	font-family: var(--ostr-ui);
	font-weight: 700;
	letter-spacing: .08em;
	text-align: center;
	text-transform: uppercase;
}
.ostr-card-concert.is-termine .ostr-card-concert__image img,
.ostr-card-concert.is-annule .ostr-card-concert__image img { filter: grayscale(.6); }
.ostr-card-concert__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 16px 16px 18px;
}
.ostr-card-concert__title {
	margin: 0 0 22px;
	padding: 0;
	font-family: var(--ostr-serif);
	font-size: 21px;
	font-weight: 400;
	line-height: 1.3;
}
.ostr-card-concert__title a { color: var(--ostr-ink); }
.ostr-card-concert__title a:hover { color: var(--ostr-accent-dark); }
.ostr-card-concert__date {
	margin: 0 0 6px;
	padding: 0;
	color: var(--ostr-ink);
	font-family: var(--ostr-sans);
	font-size: 19px;
	line-height: 1.3;
}
.ostr-card-concert__venue {
	margin: 0;
	padding: 0;
	color: var(--ostr-text);
	font-size: 15px;
	line-height: 1.4;
}
.ostr-card-concert__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: auto;
	padding-top: 22px;
}

/* --- Carte d'artiste (portrait) ------------------------------------------ */

.ostr-card-artist {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1.5px solid var(--ostr-line);
	text-align: center;
}
.ostr-card-artist__photo { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #111; }
.ostr-card-artist__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ostr-card-artist__body { display: flex; flex: 1; flex-direction: column; align-items: center; padding: 16px 14px 18px; }
.ostr-card-artist .ostr-link-more { margin-top: auto; }

.ostr-photo-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, #e7f4f8 0%, #d9ecef 100%);
	color: #9cc6c9;
}
.ostr-photo-placeholder svg { width: 38%; height: auto; }
.ostr-card-artist__name {
	margin: 0 0 6px;
	padding: 0;
	font-family: var(--ostr-serif);
	font-size: 19px;
	font-weight: 400;
	line-height: 1.3;
	text-transform: uppercase;
}
.ostr-card-artist__name a { color: var(--ostr-ink); }
.ostr-card-artist__role { margin: 0 0 14px; padding: 0; color: var(--ostr-text); font-size: 16px; }

/* --- Fiche artiste -------------------------------------------------------- */

.ostr-breadcrumb { background: #000; }
.ostr-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 0;
	margin: 0 auto;
	padding-top: 26px;
	padding-bottom: 26px;
	list-style: none;
	font-family: var(--ostr-sans);
	font-size: 19px;
}
.ostr-breadcrumb li { color: #fff; padding: 0; }
.ostr-breadcrumb li + li::before { content: '>'; margin: 0 12px; color: #fff; }
.ostr-breadcrumb a { color: #fff; }
.ostr-breadcrumb a:hover { color: var(--ostr-accent); }
.ostr-breadcrumb [aria-current] { color: var(--ostr-accent); }

.ostr-artist {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 64px;
	align-items: start;
	padding-top: 44px;
	padding-bottom: 80px;
}
.ostr-back-link { display: inline-block; margin-bottom: 30px; color: var(--ostr-accent); font-size: 19px; }
.ostr-back-link:hover { color: var(--ostr-accent-dark); }
.ostr-artist__name {
	margin: 0 0 14px;
	padding: 0;
	color: var(--ostr-ink);
	font-family: var(--ostr-serif);
	font-size: 46px;
	font-weight: 400;
	line-height: 1.15;
}
.ostr-artist__role { margin: 0 0 30px; padding: 0; color: var(--ostr-accent); font-size: 20px; line-height: 1.45; }
.ostr-artist__role span { display: block; }
.ostr-artist__since {
	display: flex;
	align-items: center;
	gap: 22px;
	margin: 0 0 40px;
	padding: 0;
	color: var(--ostr-ink);
	font-size: 17px;
	line-height: 1.4;
}
.ostr-artist__since svg { flex: none; color: var(--ostr-accent); }
.ostr-artist__since strong { display: block; font-weight: 400; font-size: 19px; }
.ostr-artist__bio { border-top: 2px solid var(--ostr-accent); padding-top: 18px; }
.ostr-tab-title {
	display: inline-block;
	margin: 0 0 30px;
	padding: 0 0 14px;
	border-bottom: 4px solid var(--ostr-accent);
	color: var(--ostr-accent);
	font-family: var(--ostr-ui);
	font-size: 19px;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
}
.ostr-artist__bio p { color: var(--ostr-text); font-size: 16px; line-height: 1.65; padding-bottom: 1.1em; }
.ostr-artist__photo { border-radius: 14px; overflow: hidden; background: #111; }
.ostr-artist__photo img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }

/* --- Sections ------------------------------------------------------------- */

.ostr-section { padding: 72px 0; }
.ostr-section--grey { background: var(--ostr-grey); }
.ostr-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.ostr-section__title {
	margin: 0;
	padding: 0;
	color: var(--ostr-ink);
	font-family: var(--ostr-serif);
	font-size: 34px;
	font-weight: 400;
	line-height: 1.2;
}
.ostr-section__title--center { margin-bottom: 44px; text-align: center; }
.ostr-section__icon { display: block; margin: 0 auto 18px; color: var(--ostr-accent); }
.ostr-arrow-link { color: var(--ostr-accent); font-size: 30px; line-height: 1; text-decoration: none; }
.ostr-arrow-link:hover { color: var(--ostr-accent-dark); }

.ostr-other-musicians { text-align: center; }
.ostr-other-musicians .ostr-section__title { margin-bottom: 40px; }
.ostr-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 60px; margin: 0; padding: 0; list-style: none; }
.ostr-pills li { padding: 0; }
.ostr-pill {
	display: inline-block;
	padding: 16px 20px;
	border: 2px solid var(--ostr-accent);
	border-radius: 999px;
	background: #fff;
	color: var(--ostr-ink);
	font-size: 18px;
	text-transform: uppercase;
	transition: background-color .15s, color .15s;
}
.ostr-pill:hover, .ostr-pill:focus { background: var(--ostr-accent); color: #fff; }

/* --- Carrousel ------------------------------------------------------------ */

.ostr-carousel { position: relative; padding: 0 56px; }
.ostr-carousel__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 3 * 40px) / 4);
	gap: 40px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.ostr-carousel__track::-webkit-scrollbar { display: none; }
.ostr-carousel__track > * { scroll-snap-align: start; }
.ostr-carousel__next {
	position: absolute;
	top: 30%;
	right: 0;
	padding: 6px;
	border: 0;
	background: none;
	color: var(--ostr-accent);
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}
.ostr-carousel__dots { position: absolute; top: -40px; right: 56px; display: flex; gap: 10px; }
.ostr-carousel__dots button {
	width: 15px; height: 15px;
	padding: 0;
	border: 2px solid var(--ostr-accent);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}
.ostr-carousel__dots button[aria-current="true"] { background: var(--ostr-accent); }
.ostr-carousel.is-static .ostr-carousel__next,
.ostr-carousel.is-static .ostr-carousel__dots { display: none; }

/* --- Page Musiciens -------------------------------------------------------- */

/* En-tête (section Divi « En-tête », classe ostr-musicians-hero) */
.ostr-musicians-hero h1 {
	padding: 0 0 36px;
	color: #fff;
	font-family: var(--ostr-serif);
	font-size: 62px;
	font-weight: 400;
	line-height: 1.3;
}
.ostr-musicians-hero p { max-width: 520px; color: #fff; font-size: 24px; line-height: 1.5; }

/* Bandeau de chiffres (module Texte Divi : modifier les nombres dans l'onglet Texte) */
.ostr-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ostr-stat {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 8px 20px;
	color: var(--ostr-ink);
	font-size: 17px;
	line-height: 1.4;
}
.ostr-stat + .ostr-stat { border-left: 2px solid var(--ostr-accent); }
.ostr-stat::before {
	content: '';
	flex: none;
	width: 64px;
	height: 48px;
	background: var(--ostr-accent);
	-webkit-mask: var(--icon) center / contain no-repeat;
	mask: var(--icon) center / contain no-repeat;
}
.ostr-stat p { padding: 0; }
.ostr-stat strong { display: block; font-family: var(--ostr-sans); font-size: 44px; font-weight: 400; line-height: 1.05; }
.ostr-stat small { display: block; font-size: 13px; }
.ostr-stat--musiciens { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 48' fill='none' stroke='black' stroke-width='2.4'%3E%3Ccircle cx='36' cy='12' r='8'/%3E%3Ccircle cx='16' cy='16' r='6.5'/%3E%3Ccircle cx='56' cy='16' r='6.5'/%3E%3Cpath d='M20 46c0-9 7-16 16-16s16 7 16 16zM3 44c0-7 5.5-12.5 13-12.5 3 0 5.6.9 7.8 2.4M69 44c0-7-5.5-12.5-13-12.5-3 0-5.6.9-7.8 2.4'/%3E%3C/svg%3E"); }
.ostr-stat--familles { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.4'%3E%3Cpath d='M20 38V8l14 6'/%3E%3Cellipse cx='14' cy='38' rx='6' ry='5'/%3E%3C/svg%3E"); }
.ostr-stat--depuis { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4M7 14h2M11 14h2M15 14h2M7 17h2M11 17h2M15 17h2'/%3E%3C/svg%3E"); }
.ostr-stat--concerts { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3'%3E%3Cpath d='M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z'/%3E%3C/svg%3E"); }

.ostr-tabs {
	display: flex;
	justify-content: center;
	gap: 0 90px;
	margin: 0 0 48px;
	border-bottom: 1.5px solid #cfcfcf;
}
.ostr-tabs__tab {
	position: relative;
	padding: 18px 10px;
	color: var(--ostr-ink);
	font-family: var(--ostr-ui);
	font-size: 21px;
	font-weight: 700;
	text-transform: uppercase;
	white-space: nowrap;
}
.ostr-tabs__tab:hover { color: var(--ostr-accent-dark); }
.ostr-tabs__tab[aria-selected="true"] { color: var(--ostr-accent); }
.ostr-tabs__tab[aria-selected="true"]::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: -2px;
	height: 4px;
	background: var(--ostr-accent);
}
.ostr-musicians.is-enhanced .ostr-tabpanel[hidden] { display: none; }
.ostr-musicians:not(.is-enhanced) .ostr-tabpanel + .ostr-tabpanel { margin-top: 64px; }

.ostr-family-head {
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr);
	align-items: center;
	gap: 18px 28px;
	padding-bottom: 28px;
	border-bottom: 2px solid var(--ostr-accent);
}
.ostr-family-head__icon { color: var(--ostr-accent); }
.ostr-family-head__title {
	margin: 0 40px 0 0;
	padding: 0;
	color: var(--ostr-ink);
	font-family: var(--ostr-serif);
	font-size: 52px;
	font-weight: 400;
	line-height: 1;
}
.ostr-family-head__desc { max-width: 440px; margin: 0; padding: 0; color: var(--ostr-text); font-size: 16px; line-height: 1.5; }

.ostr-accordion__item { border-bottom: 1.5px solid var(--ostr-line); }
.ostr-accordion__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 0;
	list-style: none;
	cursor: pointer;
}
.ostr-accordion__head::-webkit-details-marker { display: none; }
.ostr-accordion__title {
	margin: 0;
	padding: 0;
	color: var(--ostr-ink);
	font-family: var(--ostr-serif);
	font-size: 25px;
	font-weight: 400;
}
.ostr-accordion__icon::before { content: '+'; color: #777; font-size: 22px; }
.ostr-accordion__item[open] .ostr-accordion__icon::before { content: '\2212'; }

.ostr-card-musician {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1.5px solid var(--ostr-line);
	background: #fff;
	color: var(--ostr-ink);
	transition: border-color .15s, box-shadow .15s;
}
a.ostr-card-musician:hover { border-color: var(--ostr-accent); box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }
.ostr-card-musician__photo { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #eaf6fb; }
.ostr-card-musician__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ostr-card-musician__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 1px 6px;
	border-radius: 3px;
	background: var(--ostr-accent);
	color: #fff;
	font-family: var(--ostr-ui);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.ostr-card-musician__body { position: relative; display: block; padding: 12px 40px 16px 12px; }
.ostr-card-musician__name { display: block; margin-bottom: 14px; font-weight: 700; font-size: 16px; line-height: 1.3; }
.ostr-card-musician__role { display: block; color: var(--ostr-text); font-size: 15px; }
.ostr-card-musician__plus {
	position: absolute;
	top: 14px;
	right: 10px;
	width: 20px; height: 20px;
	border: 1.5px solid #999;
	border-radius: 50%;
	color: #999;
	font-size: 15px;
	line-height: 17px;
	text-align: center;
}
a.ostr-card-musician:hover .ostr-card-musician__plus { border-color: var(--ostr-accent); color: var(--ostr-accent); }

/* --- Tablette et cellulaire ------------------------------------------------ */

@media (max-width: 980px) {
	.ostr-musicians-hero h1 { font-size: 44px; }
	.ostr-musicians-hero p { font-size: 19px; }
	.ostr-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; }
	.ostr-stat:nth-child(3) { border-left: 0; }
	.ostr-artist { grid-template-columns: 1fr; gap: 32px; }
	.ostr-artist__photo { order: -1; max-width: 520px; }
	.ostr-artist__photo img { aspect-ratio: 1 / 1; }
	.ostr-cards--concerts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ostr-carousel__track { grid-auto-columns: calc((100% - 2 * 24px) / 3); gap: 24px; }
	.ostr-tabs { justify-content: flex-start; gap: 0 32px; overflow-x: auto; }
	.ostr-family-head { grid-template-columns: auto minmax(0, 1fr); }
	.ostr-family-head__desc { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 640px) {
	.ostr-musicians-hero h1 { font-size: 34px; padding-bottom: 20px; }
	.ostr-musicians-hero p { font-size: 17px; }
	.ostr-stat { flex-direction: column; gap: 8px; padding: 4px 8px; text-align: center; font-size: 15px; }
	.ostr-stat::before { width: 48px; height: 36px; }
	.ostr-stat strong { font-size: 34px; }
	.ostr-container { padding: 0 16px; }
	.ostr-breadcrumb ol { font-size: 15px; padding-top: 16px; padding-bottom: 16px; }
	.ostr-breadcrumb li + li::before { margin: 0 8px; }
	.ostr-artist { padding-top: 24px; padding-bottom: 48px; }
	.ostr-artist__photo img { aspect-ratio: 4 / 3; object-position: center 20%; }
	.ostr-back-link { margin-bottom: 18px; font-size: 17px; }
	.ostr-artist__name { font-size: 34px; }
	.ostr-section { padding: 48px 0; }
	.ostr-section__title { font-size: 26px; }
	.ostr-cards--concerts { grid-template-columns: 1fr; }
	.ostr-cards--musicians { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.ostr-carousel { padding: 0; }
	.ostr-carousel__track { grid-auto-columns: 72%; gap: 16px; }
	.ostr-carousel__next { display: none; }
	.ostr-carousel__dots { position: static; justify-content: center; margin-top: 20px; }
	.ostr-pills { gap: 12px; }
	.ostr-pill { padding: 12px 16px; font-size: 15px; }
	.ostr-tabs { justify-content: space-between; gap: 0 8px; overflow: visible; margin-bottom: 32px; }
	.ostr-tabs__tab { font-size: 14px; padding: 12px 2px; }
	.ostr-family-head__title { font-size: 38px; margin-right: 0; }
	.ostr-accordion__title { font-size: 21px; }
	.ostr-card-musician__body { padding: 10px 32px 12px 10px; }
	.ostr-card-musician__name { font-size: 15px; margin-bottom: 8px; }
}
