/**
 * « Entre terre et ciel » — site stylesheet
 * Christiane Najjar — official website
 *
 * Reads every colour, font, duration and curve from tokens.css (loaded first).
 * Class names keep the historical fl- prefix used by the PHP templates;
 * cn- classes are the graphic signs (arch, light ray, monogram, icons).
 */

/* ==========================================================================
   1. BASE
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    background: var(--c-bg);
}

body {
    font-family: var(--font-texte);
    font-size: var(--texte-taille);
    line-height: var(--texte-interligne);
    background: var(--c-bg);
    color: var(--c-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100dvh;
    font-synthesis: none;      /* Marcellus has one weight: never fake a bold */
    text-rendering: optimizeLegibility;
}

::selection {
    background: var(--c-accent);
    color: var(--c-on-accent);
}

/* The browser's own parts wear the palette too */
:root {
    scrollbar-color: var(--c-line) var(--c-bg-deep);
    accent-color: var(--c-accent);
}

input, textarea, [contenteditable] {
    caret-color: var(--c-accent);
}

/* reCAPTCHA v3 badge: hidden; the contact and booking forms show Google's notice instead */
.grecaptcha-badge {
    visibility: hidden;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

img {
    object-fit: cover;
    object-position: center 20%;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Running-text links: gold, underlined with a hairline */
p a:not([class]), .fl-prose a {
    color: var(--c-accent-text);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

:focus-visible {
    outline: 1px solid var(--c-focus);
    outline-offset: 4px;
}

/* Titles: Marcellus, spaced capitals, never bold */
h1, h2, h3, h4,
.fl-titre {
    font-family: var(--font-titre);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: var(--titre-tracking);
    line-height: 1.15;
    color: var(--c-text);
}

strong, b {
    font-weight: 500;
}

em, i, cite,
blockquote,
.fl-citation {
    font-style: italic;
}

/* Arabic: Amiri at the same size as Latin; joined letters must never be
   spaced out, uppercased or slanted */
:lang(ar) {
    font-family: var(--font-arabe);
}

:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) h4,
h1:lang(ar), h2:lang(ar), h3:lang(ar), h4:lang(ar),
:lang(ar) .fl-titre, .fl-titre:lang(ar) {
    font-family: var(--font-arabe);
    letter-spacing: 0;
    text-transform: none;
}

:lang(ar) em, :lang(ar) i, :lang(ar) cite, :lang(ar) blockquote,
em:lang(ar), cite:lang(ar), blockquote:lang(ar) {
    font-style: normal;
}

/* Latin lettering inside an Arabic page keeps its own faces */
:lang(ar) :lang(en), :lang(ar) :lang(fr) {
    font-family: var(--font-texte);
}

/* ==========================================================================
   2. UTILITIES & GRAPHIC SIGNS
   ========================================================================== */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.hidden {
    display: none !important;
}

.skip-link {
    position: absolute;
    inset-inline-start: 16px;
    top: -100px;
    z-index: 300;
    background: var(--c-accent);
    color: var(--c-on-accent);
    padding: 10px 16px;
}

.skip-link:focus {
    top: 12px;
}

.cn-icon {
    display: inline-block;
    flex-shrink: 0;
    vertical-align: -0.125em;
}

/* Arrows follow the reading direction */
.cn-icon--back,
[dir="rtl"] .cn-icon--arrow {
    transform: scaleX(-1);
}

[dir="rtl"] .cn-icon--arrow.cn-icon--back {
    transform: none;
}

/* The arch: every photo and video sits under one.
   Put cn-arch (portrait) or cn-arch--large (16:9) on the media or its frame. */
.cn-arch {
    border-radius: var(--arche-radius);
    overflow: hidden;
}

/* Landscape media (16:9): a lower, segmental arch so the picture stays readable */
.cn-arch--large {
    border-radius: var(--arche-radius-large);
    overflow: hidden;
}

/* The light ray: 1px vertical line, gold fading out, between sections */
.cn-rai {
    display: block;
    width: 1px;
    height: clamp(56px, 9vw, 112px);
    margin: 0 auto;
    border: 0;
    background: var(--rai);
}

/* Between two sections the ray falls from the top edge of the second one */
.fl-main > section + section:not(.fl-hero) {
    position: relative;
}

.fl-main > section + section:not(.fl-hero)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: min(calc(var(--section-y) * 0.75), 96px);
    background: var(--rai);
    pointer-events: none;
}

/* The CN monogram */
.cn-monogram {
    display: inline-block;
    width: auto;
    height: 1em;
    color: var(--c-accent);
    overflow: visible;
}

/* Platforms are named, not pictured: small spaced capitals (includes/platforms.php) */
.cn-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    list-style: none;
}

.cn-platforms a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    font-family: var(--font-titre);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--c-accent-text);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur-1) var(--ease);
}

.cn-platforms a:hover,
.cn-platforms a:focus-visible {
    border-bottom-color: currentColor;
}

.cn-platforms .cn-icon {
    font-size: 0.85em;
    opacity: 0.7;
}

[dir="rtl"] .cn-platforms .cn-icon--external {
    transform: scaleX(-1);
}

/* Larger: a list of hairline-separated rows (music and press pages) */
.cn-platforms--large {
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--c-line-soft);
    margin-top: 24px;
}

.cn-platforms--large li {
    border-bottom: 1px solid var(--c-line-soft);
}

.cn-platforms--large a {
    display: flex;
    justify-content: space-between;
    min-height: 56px;
    font-size: 15px;
    border-bottom: 0;
}

.cn-platforms--large a:hover {
    color: var(--c-text);
}

.cn-platforms--center {
    max-width: 30rem;
    margin-inline: auto;
}

.fl-track__link {
    font-family: var(--font-titre);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-accent-text);
}

/* ==========================================================================
   3. HEADER & FULL-SCREEN MENU
   ========================================================================== */
.fl-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--c-bg);
    background: color-mix(in srgb, var(--c-bg) 86%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--c-line-soft);
}

.fl-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px var(--gutter);
    max-width: var(--page-max);
    margin: 0 auto;
}

.fl-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-titre);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--c-text);
}

.fl-header__brand .cn-monogram {
    font-size: 34px;
}

/* Small sizes: heavier strokes so the monogram does not vanish */
.fl-header__brand .cn-monogram g {
    stroke-width: 2.6;
}

.fl-header__tools {
    display: flex;
    align-items: center;
    gap: 20px;
}

.fl-header__langs {
    display: flex;
    gap: 14px;
    font-family: var(--font-titre);
    font-size: 12px;
    letter-spacing: 0.12em;
}

.fl-header__langs a {
    color: var(--c-text-2);
    padding: 4px 0;
    border-bottom: 1px solid transparent;
    transition: color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}

.fl-header__langs a:hover,
.fl-header__langs a[aria-current] {
    color: var(--c-accent-text);
    border-bottom-color: currentColor;
}

.fl-header__menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-titre);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--c-accent-text);
    padding: 6px 0;
    border-bottom: 1px solid currentColor;
}

.fl-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    border: none;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(30, 53, 112, 0.55), transparent 70%),
        var(--c-bg);
    color: var(--c-text);
}

.fl-menu::backdrop {
    background: transparent;
}

.fl-menu[open] {
    animation: fl-menu-in var(--dur-1) var(--ease);
}

@keyframes fl-menu-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

body:has(.fl-menu[open]) {
    overflow: hidden;
}

.fl-menu__inner {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 14px var(--gutter) 32px;
}

.fl-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fl-menu__nav {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 48px 0;
}

.fl-menu__nav ol {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fl-menu__nav a {
    font-family: var(--font-titre);
    font-size: clamp(30px, 7vw, 64px);
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-text);
    transition: color var(--dur-1) var(--ease);
}

.fl-menu__nav a:lang(ar),
:lang(ar) .fl-menu__nav a {
    letter-spacing: 0;
}

.fl-menu__nav a:hover,
.fl-menu__nav a:focus-visible,
.fl-menu__nav a[aria-current="page"] {
    color: var(--c-accent-text);
}

.fl-menu__foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    font-size: var(--fs-sm);
    color: var(--c-text-2);
    border-top: 1px solid var(--c-line);
    padding-top: 20px;
}

.fl-menu__langs {
    display: flex;
    gap: 20px;
}

.fl-menu__foot a:hover,
.fl-menu__foot a[aria-current] {
    color: var(--c-accent-text);
}

/* Room for the fixed header */
.fl-main {
    padding-top: 58px;
}

/* ==========================================================================
   4. AUDIO PLAYER — docked to the bottom edge; body reserves its height
   ========================================================================== */
:root {
    --fl-player-h: 56px;
}

body {
    padding-bottom: calc(var(--fl-player-h) + env(safe-area-inset-bottom, 0px));
}

.fl-audio-player {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 90;
    background: var(--c-bg-deep);
    color: var(--c-text);
    border-top: 1px solid var(--c-line);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.fl-audio-player__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: var(--fl-player-h);
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.fl-audio-player__info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

.fl-audio-player__title {
    font-family: var(--font-titre);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fl-audio-player__artist {
    font-size: var(--fs-xs);
    font-style: italic;
    color: var(--c-text-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fl-audio-player__controls {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.fl-audio-player__btn {
    background: none;
    border: none;
    color: var(--c-text-2);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 50%;
    transition: color var(--dur-1) var(--ease);
}

.fl-audio-player__btn:hover,
.fl-audio-player__btn:focus-visible {
    color: var(--c-accent-text);
}

.fl-audio-player__btn--play {
    color: var(--c-text);
    box-shadow: inset 0 0 0 1px var(--c-line);
}

.fl-audio-player__btn--play .cn-icon--pause,
.fl-audio-player__btn--play.is-playing .cn-icon--play {
    display: none;
}

.fl-audio-player__btn--play.is-playing .cn-icon--pause {
    display: inline;
}

[dir="rtl"] .fl-audio-player__btn .cn-icon--prev,
[dir="rtl"] .fl-audio-player__btn .cn-icon--next {
    transform: scaleX(-1);
}

.fl-audio-player__progress {
    position: absolute;
    inset-inline: 0;
    top: -1px;
    height: 1px;
    overflow: hidden;
}

.fl-audio-player__progress span {
    display: block;
    height: 100%;
    background: var(--c-accent);
    transform: scaleX(0);
    transform-origin: left;
}

[dir="rtl"] .fl-audio-player__progress span {
    transform-origin: right;
}

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */
.fl-btn,
.fl-timeline__btn,
.fl-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 12px 26px;
    border: 1px solid transparent;
    border-radius: var(--radius-s);
    font-family: var(--font-titre);
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    transition:
        background-color var(--dur-1) var(--ease),
        color var(--dur-1) var(--ease),
        border-color var(--dur-1) var(--ease);
}

/* Primary: gold fill */
.fl-btn--primary,
.fl-form__submit {
    background: var(--c-accent);
    color: var(--c-on-accent);
    border-color: var(--c-accent);
}

.fl-btn--primary:hover,
.fl-form__submit:hover {
    background: transparent;
    color: var(--c-accent-text);
}

/* Secondary: gold hairline */
.fl-btn--secondary,
.fl-timeline__btn {
    background: transparent;
    color: var(--c-accent-text);
    border-color: var(--c-line);
}

.fl-btn--secondary:hover,
.fl-timeline__btn:hover {
    border-color: var(--c-accent);
    background: transparent;
    color: var(--c-accent-text);
}

/* Outline on dark imagery */
.fl-btn--outline {
    background: transparent;
    color: var(--c-text);
    border-color: rgba(241, 230, 204, 0.45);
}

.fl-btn--outline:hover {
    border-color: var(--c-text);
}

/* The rare one: Book (cinabre) */
.fl-btn--rare {
    background: var(--c-rare);
    color: var(--c-on-rare);
    border-color: var(--c-rare);
}

.fl-btn--rare:hover {
    background: transparent;
    color: var(--c-text);
}

/* Play/pause buttons (the excerpt button) show one icon at a time */
[data-cn-excerpt] .cn-icon--pause,
[data-cn-excerpt][aria-pressed="true"] .cn-icon--play {
    display: none;
}

[data-cn-excerpt][aria-pressed="true"] .cn-icon--pause {
    display: inline;
}

.fl-form__submit {
    width: 100%;
}

/* With motion on, presses spring instead (assets/js/motion.js) */
:root:not(.cn-motion) :is(.fl-form__submit, .fl-btn):active {
    transform: translateY(1px);
}

/* ==========================================================================
   6. HEROES
   ========================================================================== */

/* Text laid over a photograph keeps the night inks, whatever the theme */
.fl-hero {
    --c-text: var(--cire);
    --c-text-2: var(--pierre);
    --c-accent-text: var(--or);
    --c-on-accent: var(--nuit);
}

/* Inner pages: the picture stands in a wide arch, the title below its crown */
.fl-hero {
    position: relative;
    height: 72vh;
    min-height: 440px;
    max-height: 820px;
    margin: 0 var(--gutter);
    padding-top: var(--gutter);
}

.fl-hero__bg {
    position: absolute;
    inset: var(--gutter) 0 0;
    background-size: cover;
    background-position: center 20%;
    border-radius: var(--arche-radius-large);
    overflow: hidden;
}

.fl-hero__overlay {
    position: absolute;
    inset: var(--gutter) 0 0;
    border-radius: var(--arche-radius-large);
    background: linear-gradient(to top, var(--nuit) 0%, rgba(13, 20, 40, 0.55) 35%, transparent 70%);
}

.fl-hero__content {
    position: absolute;
    bottom: 40px;
    inset-inline: 0;
    padding: 0 var(--gutter);
    text-align: center;
}

.fl-hero__title {
    font-size: var(--fs-2xl);
    color: var(--c-text);
    margin-bottom: 12px;
}

.fl-hero__subtitle {
    font-style: italic;
    font-size: var(--fs-md);
    color: var(--c-text);
    max-width: 32rem;
    margin: 0 auto;
}

/* ==========================================================================
   7. SECTIONS
   ========================================================================== */
.fl-section {
    padding: var(--section-y) var(--gutter);
    max-width: calc(var(--page-max) * 0.8);
    margin: 0 auto;
}

/* Depth: a lapis glow rising from the night */
.fl-section--dark {
    max-width: none;
    background:
        radial-gradient(ellipse 90% 70% at 50% 100%, rgba(30, 53, 112, 0.6), transparent 70%),
        var(--c-bg);
    color: var(--c-text);
}

.fl-section--dark .fl-section__inner,
.fl-section__inner {
    max-width: calc(var(--page-max) * 0.8);
    margin: 0 auto;
}

.fl-section__title {
    font-size: var(--fs-xl);
    margin-bottom: 16px;
}

.fl-section__subtitle {
    font-size: var(--fs-md);
    color: var(--c-text-2);
    max-width: var(--measure);
}

/* ==========================================================================
   8. EVENTS: next-event card, timeline, filter pills
   ========================================================================== */
.fl-event-card {
    position: relative;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-s);
    padding: clamp(24px, 4vw, 40px);
}

.fl-event-card__header {
    margin-bottom: 20px;
}

.fl-event-card__label {
    font-family: var(--font-titre);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--c-accent-text);
}

.fl-event-card__sublabel {
    font-size: var(--fs-sm);
    font-style: italic;
    color: var(--c-text-2);
}

.fl-event-card__item {
    padding: 16px 0;
    border-bottom: 1px solid var(--c-line-soft);
}

.fl-event-card__item:last-child {
    border-bottom: none;
}

.fl-event-card__name {
    font-family: var(--font-titre);
    font-size: var(--fs-lg);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.fl-event-card__detail {
    font-size: var(--fs-sm);
    color: var(--c-text-2);
    margin-top: 4px;
}

.fl-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--c-line-soft);
}

.fl-timeline__item {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--c-line-soft);
}

.fl-timeline__date {
    min-width: 64px;
    text-align: center;
}

.fl-timeline__day {
    font-family: var(--font-titre);
    font-size: 36px;
    line-height: 1;
    color: var(--c-text);
}

.fl-timeline__month {
    font-family: var(--font-titre);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--c-accent-text);
}

.fl-timeline__content {
    flex: 1;
    border-inline-start: 1px solid var(--c-line);
    padding-inline-start: 24px;
}

.fl-timeline__title {
    font-family: var(--font-titre);
    font-size: var(--fs-md);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.3;
    margin-bottom: 4px;
    transition: color var(--dur-1) var(--ease);
}

.fl-timeline__item:hover .fl-timeline__title {
    color: var(--c-accent-text);
}

.fl-timeline__venue {
    font-size: var(--fs-sm);
    color: var(--c-text-2);
    margin-bottom: 12px;
}

.fl-timeline__btn {
    min-height: 36px;
    padding: 8px 16px;
    font-size: 11px;
}

/* Holy Week: the one place cinabre marks a date (as a rule, never as text) */
.fl-timeline__item--semaine-sainte .fl-timeline__content {
    border-inline-start: 2px solid var(--c-rare);
}

.fl-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.fl-pills::-webkit-scrollbar {
    display: none;
}

.fl-pill {
    flex-shrink: 0;
    min-height: 40px;
    padding: 8px 18px;
    border-radius: 999px;
    font-family: var(--font-titre);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    border: 1px solid var(--c-line-soft);
    background: transparent;
    color: var(--c-text-2);
    transition: color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}

.fl-pill:hover {
    color: var(--c-text);
    border-color: var(--c-line);
}

.fl-pill--active {
    color: var(--c-accent-text);
    border-color: var(--c-accent);
}

/* ==========================================================================
   9. SHARED BLOCKS: testimonials, video, call to action
   ========================================================================== */
.fl-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 1px;
    background: var(--c-line-soft);   /* hairlines between the cells */
    border: 1px solid var(--c-line-soft);
}

.fl-testimonial {
    background: var(--c-bg);
    padding: clamp(24px, 3vw, 36px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.fl-testimonial__text {
    font-size: var(--fs-md);
    font-style: italic;
    line-height: 1.55;
    color: var(--c-text);
}

.fl-testimonial__text:lang(ar) {
    font-style: normal;
}

/* Quote marks follow the language of the comment, not the page */
.fl-testimonial__text { quotes: "\201C" "\201D"; }
.fl-testimonial__text:lang(fr) { quotes: "\00AB\00A0" "\00A0\00BB"; }
.fl-testimonial__text:lang(ar) { quotes: "\00AB" "\00BB"; }
.fl-testimonial__text p::before { content: open-quote; color: var(--c-accent-text); }
.fl-testimonial__text p::after  { content: close-quote; color: var(--c-accent-text); }

.fl-testimonial__cite {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: var(--fs-sm);
}

.fl-testimonial__author {
    font-family: var(--font-titre);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-text);
}

.fl-testimonial__author:lang(ar),
.fl-testimonial__author[dir="rtl"] {
    letter-spacing: 0;
}

.fl-testimonial__source {
    color: var(--c-text-2);
}

.fl-testimonial__source:hover,
.fl-testimonial__source:focus-visible {
    color: var(--c-accent-text);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.fl-testimonial__date {
    font-size: var(--fs-xs);
    color: var(--c-text-2);
}

.fl-video {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--c-surface);
}

.fl-video iframe,
.fl-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.fl-cta {
    padding: var(--section-y) var(--gutter);
    text-align: center;
    background:
        radial-gradient(ellipse 80% 90% at 50% 100%, rgba(30, 53, 112, 0.7), transparent 75%),
        var(--c-bg);
    border-top: 1px solid var(--c-line-soft);
}

.fl-cta h2 {
    font-size: var(--fs-xl);
    max-width: 40rem;
    margin: 0 auto 20px;
}

.fl-cta p {
    color: var(--c-text-2);
    max-width: var(--measure);
    margin: 0 auto 32px;
}

.fl-cta__buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.fl-footer {
    background: var(--c-bg-deep);
    color: var(--c-text);
    padding: var(--section-y) var(--gutter) 40px;
    border-top: 1px solid var(--c-line);
}

.fl-footer__inner {
    max-width: var(--page-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}

.fl-footer__brand h3 {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: var(--fs-lg);
    margin-bottom: 16px;
}

.fl-footer__brand h3 .cn-monogram {
    font-size: 44px;
}

.fl-footer__brand p {
    color: var(--c-text-2);
    font-size: var(--fs-sm);
    max-width: 30rem;
    margin-bottom: 20px;
}

.fl-footer__links h4 {
    font-size: 12px;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
    color: var(--c-accent-text);
}

.fl-footer__links ul {
    list-style: none;
}

.fl-footer__links li {
    margin-bottom: 8px;
}

.fl-footer__links a {
    color: var(--c-text-2);
    font-size: var(--fs-sm);
    text-decoration: none;
    transition: color var(--dur-1) var(--ease);
}

.fl-footer__links a:hover {
    color: var(--c-text);
}

.fl-footer__bottom {
    max-width: var(--page-max);
    margin: 48px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--c-line-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--fs-xs);
    color: var(--c-text-2);
    flex-wrap: wrap;
    gap: 12px;
}

/* ==========================================================================
   11. MUSIC: tracks, tabs, video cards, gallery
   ========================================================================== */
.fl-track {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 4px;
    border-bottom: 1px solid var(--c-line-soft);
    cursor: pointer;
    transition: background-color var(--dur-1) var(--ease);
}

.fl-track:hover {
    background: var(--c-surface);
}

/* A single with no recording on the site: listed, not playable */
.fl-track--static {
    cursor: default;
}

.fl-track--static:hover {
    background: transparent;
}

.fl-track__cover {
    width: 44px;
    height: 56px;
    border-radius: var(--arche-radius);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--c-surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-accent-text);
}

.fl-track__cover img {
    width: 100%;
    height: 100%;
}

.fl-track__info {
    flex: 1;
    min-width: 0;
}

.fl-track__name {
    font-family: var(--font-titre);
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-text);
}

.fl-track__meta {
    font-size: var(--fs-xs);
    color: var(--c-text-2);
}

.fl-tabs {
    display: flex;
    border-bottom: 1px solid var(--c-line-soft);
    gap: 28px;
    overflow-x: auto;
    scrollbar-width: none;
}

.fl-tabs::-webkit-scrollbar {
    display: none;
}

.fl-tab {
    padding: 14px 0;
    font-family: var(--font-titre);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--c-text-2);
    cursor: pointer;
    white-space: nowrap;
    background: none;
    border: none;
    border-bottom: 1px solid transparent;
    margin-bottom: -1px;
    transition: color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}

.fl-tab:hover {
    color: var(--c-text);
}

.fl-tab--active {
    color: var(--c-accent-text);
    border-bottom-color: var(--c-accent);
}

.fl-video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.fl-video-card__thumb {
    position: relative;
    margin-bottom: 10px;
}

.fl-video-card__thumb img,
.fl-video-card__thumb iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.fl-video-card__title {
    font-size: var(--fs-sm);
    color: var(--c-text-2);
}

.fl-gallery-slider {
    position: relative;
    overflow: hidden;
    margin-top: 24px;
}

.fl-gallery-track {
    display: flex;
    transition: transform var(--dur-2) var(--ease);
}

.fl-gallery-prev,
.fl-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--c-line);
    background: rgba(13, 20, 40, 0.7);
    color: var(--c-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--dur-1) var(--ease);
}

.fl-gallery-prev { inset-inline-start: 12px; }
.fl-gallery-next { inset-inline-end: 12px; }

.fl-gallery-prev:hover,
.fl-gallery-next:hover {
    border-color: var(--c-accent);
}

.fl-gallery-dots {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0;
}

/* 24 px touch target (WCAG 2.5.8) around an 8 px dot */
.fl-gallery-dot {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.fl-gallery-dot::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid var(--c-text);
    background: transparent;
}

.fl-gallery-dot.active::before {
    background: var(--c-accent);
    border-color: var(--c-accent);
}

/* ==========================================================================
   12. FORMS
   ========================================================================== */
.fl-form__group {
    margin-bottom: 20px;
}

.fl-form__label {
    display: block;
    font-family: var(--font-titre);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--c-text-2);
    margin-bottom: 8px;
}

.fl-form__input,
.fl-form__textarea,
.fl-section select {
    width: 100%;
    min-height: 48px;
    background: var(--c-surface-2);
    border: 1px solid var(--c-line-soft);
    border-radius: var(--radius-s);
    padding: 12px 14px;
    font-family: var(--font-texte);
    font-size: var(--fs-md);
    color: var(--c-text);
    transition: border-color var(--dur-1) var(--ease);
}

.fl-form__input::placeholder,
.fl-form__textarea::placeholder {
    color: var(--c-text-2);
    opacity: 1;
}

.fl-form__input:focus,
.fl-form__textarea:focus,
.fl-section select:focus {
    outline: none;
    border-color: var(--c-accent);
    box-shadow: 0 0 0 1px var(--c-accent);
}

.fl-form__textarea {
    resize: vertical;
    min-height: 140px;
}

.fl-form__notice {
    border: 1px solid var(--c-line);
    border-radius: var(--radius-s);
    padding: 20px 24px;
    text-align: center;
    background: var(--c-surface);
}

.fl-form__notice--success {
    border-color: var(--c-success);
}

.fl-form__notice--error {
    border-color: var(--c-error);
}

.fl-booking-box {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-s);
    padding: 32px;
}

.fl-booking-box h3 {
    font-size: var(--fs-lg);
    margin-bottom: 10px;
}

.fl-booking-box p {
    color: var(--c-text-2);
    margin-bottom: 20px;
}

.fl-contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
}

/* ==========================================================================
   13. BIOGRAPHY
   ========================================================================== */
.fl-bio-philosophy {
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
}

.fl-bio-philosophy h2 {
    font-size: var(--fs-lg);
    margin-bottom: 16px;
}

.fl-bio-philosophy__quote {
    font-size: var(--fs-lg);
    font-style: italic;
    color: var(--c-text);
}

.fl-bio-philosophy p {
    color: var(--c-text-2);
    max-width: 34rem;
    margin-inline: auto;
}

.fl-divider {
    height: 1px;
    border: 0;
    background: linear-gradient(to right, transparent, var(--c-accent), transparent);
    margin: 36px auto;
    max-width: 240px;
}

.fl-traditions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 1px;
    background: var(--c-line-soft);
    border: 1px solid var(--c-line-soft);
}

.fl-tradition-card {
    background: var(--c-bg);
    padding: 32px;
}

.fl-tradition-card h3 {
    font-size: var(--fs-md);
    color: var(--c-accent-text);
    margin-bottom: 10px;
}

.fl-tradition-card p {
    font-size: var(--fs-sm);
    color: var(--c-text-2);
}

/* Event map, loaded on request (events.php) */
.cn-map {
    margin-top: 16px;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-s);
    overflow: hidden;
    background: var(--c-surface);
}

.cn-map iframe {
    display: block;
    width: 100%;
    height: clamp(240px, 45vw, 380px);
    border: 0;
}

/* Press kit for presenters (press.php#programmateurs) */
.cn-epk__inner {
    max-width: 1080px;
    margin: 0 auto;
}

.cn-epk__titre {
    font-size: var(--fs-xl, 32px);
    margin: 8px 0 12px;
}

.cn-epk__intro {
    max-width: 40rem;
    color: var(--c-text-2);
    margin-bottom: 40px;
}

.cn-epk__grille {
    display: grid;
    gap: 48px;
}

@media (min-width: 900px) {
    .cn-epk__grille {
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    }
}

.cn-epk h3 {
    font-family: var(--font-titre);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-accent-text);
    margin: 0 0 12px;
}

.cn-epk__textes p + h3 {
    margin-top: 32px;
}

.cn-epk__liste {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    border-top: 1px solid var(--c-line);
}

.cn-epk__liste li {
    border-bottom: 1px solid var(--c-line);
}

.cn-epk__liste a,
.cn-epk__liste li > span {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    min-height: 44px;
    padding: 12px 0;
    color: var(--c-text);
    text-decoration: none;
}

.cn-epk__liste a:hover,
.cn-epk__liste a:focus-visible {
    color: var(--c-accent-text);
}

.cn-epk__meta {
    font-size: 13px;
    color: var(--c-text-2);
    white-space: nowrap;
}

.cn-epk__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ==========================================================================
   14. CONTENT VISIBLE AT REST
   (motion comes in phase 4; nothing waits hidden for an observer)
   ========================================================================== */
.fl-animate,
.fl-page-enter {
    opacity: 1;
    transform: none;
}

/* ==========================================================================
   15. RESPONSIVE
   ========================================================================== */
@media (max-width: 767px) {
    .fl-contact-grid,
    .fl-video-grid,
    .fl-footer__inner {
        grid-template-columns: 1fr;
    }

    .fl-footer__inner {
        gap: 32px;
    }

    .fl-footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .fl-hero {
        height: 62vh;
        min-height: 380px;
    }


    .fl-timeline__item {
        gap: 16px;
    }

    .fl-timeline__content {
        padding-inline-start: 16px;
    }
}

/* ==========================================================================
   16. PRINT (light "pierre" values come from tokens.css)
   ========================================================================== */
@media print {
    .fl-header,
    .fl-menu,
    .fl-audio-player,
    .skip-link {
        display: none !important;
    }

    body {
        padding: 0;
    }

    .fl-main {
        padding-top: 0;
    }
}
