/* ==========================================================================
   Fiche session (Enduro, Bike Park, randonnées…)
   ========================================================================== */

.sf { padding-bottom: 96px; }
.sf-wrap { max-width: var(--max); margin: 0 auto; }
.sf-wrap--narrow { max-width: 860px; }

/* -- Bandeau ---------------------------------------------------------------- */
.sf-hero {
	position: relative; display: flex; align-items: flex-end; overflow: hidden;
	min-height: 68svh; padding: clamp(110px, 12vw, 170px) var(--gutter) clamp(32px, 4vw, 60px);
	background: var(--navy-deep);
}
.sf-hero__bg { position: absolute; inset: 0; }
.sf-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.sf-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(32, 23, 71, .6) 0%, rgba(32, 23, 71, .2) 40%, var(--navy) 100%); }
.sf-hero__inner { position: relative; width: 100%; max-width: var(--max); margin: 0 auto; }
.sf-hero .eyebrow { margin-bottom: clamp(16px, 2.4vw, 30px); }
.sf-hero__title {
	font-family: var(--f-title); font-weight: 600; text-transform: uppercase; color: var(--ink);
	font-size: clamp(72px, 17vw, 300px); line-height: .84; letter-spacing: -.004em;
	overflow-wrap: anywhere;
}
.sf-hero__title--long { font-size: clamp(44px, 9vw, 150px); line-height: .9; }
.sf-hero__lead { max-width: 46ch; margin-top: clamp(20px, 3vw, 36px); color: var(--ink-2); font-size: clamp(19px, 1.6vw, 25px); line-height: 1.45; text-wrap: pretty; }

/* -- L'essentiel ------------------------------------------------------------ */
.sf-facts { background: var(--navy-deep); border-block: 1px solid var(--line); }
.sf-facts__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(50%, 170px), 1fr)); gap: 1px; background: var(--line); }
.sf-fact { padding: clamp(20px, 2.4vw, 32px) clamp(16px, 2vw, 26px); background: var(--navy-deep); }
.sf-fact dt { color: var(--ink-3); font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.sf-fact dd { margin-top: 12px; font-family: var(--f-title); font-weight: 600; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.05; letter-spacing: .03em; text-transform: uppercase; }
.sf-fact dd.accent { color: var(--accent-ink); }

/* -- Sections ---------------------------------------------------------------- */
.sf-section { padding: clamp(64px, 9vw, 140px) var(--gutter); }
.sf-section--deep { background: var(--navy-deep); border-block: 1px solid var(--line); padding-block: clamp(56px, 8vw, 120px); }
.sf-h2 { margin-bottom: clamp(28px, 3.5vw, 48px); font-size: clamp(38px, 5vw, 88px); line-height: .9; }
.sf-h2--sm { font-size: clamp(32px, 4vw, 64px); margin-bottom: clamp(26px, 3vw, 42px); }
.sf-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(40px, 6vw, 90px); max-width: var(--max); margin: 0 auto; align-items: start; }
.sf-cols--single { max-width: 860px; }
.sf-lede { margin: -12px 0 26px; color: var(--ink-3); font-size: 19px; line-height: 1.5; }
.sf-note { margin-top: 20px; color: var(--ink-3); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }

/* -- Déroulé ------------------------------------------------------------------ */
.sf-program { border-top: 1px solid var(--line); }
.sf-program li { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.sf-program__time { color: var(--accent-ink); font-size: 17px; font-weight: 600; letter-spacing: .1em; }
.sf-program__title { display: block; font-family: var(--f-title); font-weight: 600; font-size: 27px; letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; }
.sf-program__text { display: block; margin-top: 6px; color: var(--ink-3); font-size: 18px; line-height: 1.45; }

/* -- Niveaux ------------------------------------------------------------------- */
.sf-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.sf-tab {
	position: relative; min-height: 46px; padding: 0 20px;
	background: none; border: 1px solid var(--line-2); color: var(--ink-2);
	font-size: 15px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; cursor: pointer;
	transition: border-color .3s ease, color .3s ease;
}
.sf-tab:hover { border-color: var(--ink-3); color: var(--ink); }
.sf-tab[aria-selected="true"]::after { content: ""; position: absolute; inset: auto 0 -1px 0; height: 2px; background: var(--accent); }
.sf-levels { border: 1px solid var(--line); padding: clamp(22px, 2.6vw, 34px); }
.sf-level__title { margin-bottom: 18px; font-family: var(--f-title); font-weight: 600; font-size: clamp(28px, 2.8vw, 42px); line-height: 1; letter-spacing: .03em; }
.sf-level__points { display: flex; flex-direction: column; gap: 12px; }
.sf-level__points li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; color: var(--ink-2); font-size: 18px; line-height: 1.45; }
.sf-level__points li::before { content: "→"; color: var(--accent-ink); }
/* Sans JavaScript, tous les niveaux restent visibles. */
.js .sf-level:not(.is-on) { display: none; }
.sf-level + .sf-level { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.js .sf-level + .sf-level { margin-top: 0; padding-top: 0; border-top: 0; }
.sf-photo { margin-top: clamp(18px, 2vw, 26px); }

/* -- Matériel -------------------------------------------------------------------- */
.sf-gear { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(20px, 2.5vw, 40px); }
.sf-gear__card { padding-top: 22px; border-top: 2px solid var(--line-2); }
.sf-gear__card.is-accent { border-top-color: var(--accent); }
.sf-gear__title { margin-bottom: 16px; font-size: 14px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.sf-gear__text { margin-bottom: 14px; color: var(--ink-2); font-size: 18px; line-height: 1.45; }
.sf-gear__text.is-muted { color: var(--ink-3); }
.sf-gear__list { display: flex; flex-direction: column; gap: 11px; }
.sf-gear__list li { color: var(--ink-2); font-size: 18px; line-height: 1.4; }

/* -- Grille tarifaire ------------------------------------------------------------- */
.sf-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--navy); }
.sf-table { width: 100%; min-width: 560px; border-collapse: collapse; }
.sf-table th, .sf-table td { padding: clamp(14px, 1.6vw, 22px) clamp(14px, 2vw, 28px); border-bottom: 1px solid var(--line); text-align: center; }
.sf-table thead th { background: var(--accent); color: var(--on-accent); font-size: 15px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.sf-table th.is-first, .sf-table tbody th { text-align: left; }
.sf-table tbody th { color: var(--ink); font-size: clamp(17px, 1.4vw, 21px); font-weight: 500; line-height: 1.3; }
.sf-table td { font-family: var(--f-display); font-size: clamp(20px, 2vw, 32px); color: var(--ink); white-space: nowrap; }
.sf-table tbody tr:last-child th, .sf-table tbody tr:last-child td { border-bottom: 0; }
.sf-table tr.is-best td { color: var(--accent-ink); font-size: clamp(24px, 2.6vw, 42px); }
.sf-table tr.is-best th { background: var(--navy-soft); }
.sf-table tr.is-best td { background: var(--navy-soft); }
.sf-table__tag { display: inline-block; margin-left: 8px; padding: 4px 8px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; vertical-align: middle; }
.sf-pricing__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 22px; }
.sf-pricing__note { max-width: 62ch; color: var(--ink-2); font-size: 19px; line-height: 1.45; }

/* -- Fiche sans détail ------------------------------------------------------------ */
.sf-prose { color: var(--ink-2); font-size: clamp(19px, 1.5vw, 23px); line-height: 1.55; }
.sf-prose p + p { margin-top: 1em; }
.sf-notes { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.sf-notes li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; color: var(--ink-3); font-size: 18px; line-height: 1.5; }
.sf-notes li::before { content: "→"; color: var(--accent-ink); }

/* -- Et sinon ---------------------------------------------------------------------- */
.sf-others { border-top: 1px solid var(--line); }
.sf-others li { border-bottom: 1px solid var(--line); }
.sf-others a {
	display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: clamp(14px, 2vw, 30px);
	padding: clamp(16px, 2vw, 26px) 0; color: var(--ink-2);
	transition: padding-left .4s var(--ease), color .3s ease;
}
.sf-others a:hover { padding-left: 14px; color: var(--ink); }
.sf-others__name { font-family: var(--f-display); font-size: clamp(20px, 2.8vw, 44px); line-height: 1; text-transform: uppercase; }
.sf-others__price { color: var(--ink-3); font-size: 14px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
@media (max-width: 640px) { .sf-others a { grid-template-columns: minmax(0, 1fr) auto; } .sf-others__price { display: none; } }

/* -- Barre de réservation fixe ------------------------------------------------------ */
.sf-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 14px clamp(14px, 4vw, 56px);
	background: rgba(24, 16, 56, .94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
	border-top: 1px solid rgba(255, 255, 255, .14);
}
.sf-bar__info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sf-bar__label { color: var(--ink-3); font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-bar__price { font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 34px); line-height: 1; }
.sf-bar__price small { color: var(--ink-3); font-family: var(--f-body); font-size: 14px; font-weight: 500; letter-spacing: .12em; }
.sf-bar .btn { flex-shrink: 0; }
.single-session .site-footer { padding-bottom: 110px; }
