/*
Theme Name: The Tour Baby
Description: Thème maison de thetourbaby.com. Charpente de magazine sportif : blanc, noir, filets gris, titres Anton en capitales, texte Inter Tight. Le jaune maillot en bandeau et en soulignés, rien d'autre en couleur.
Version: 2.3.0
Author: La rédaction
Text Domain: thetourbaby
*/

:root {
	--ttb-ink: #111111;
	--ttb-ink-2: #5E5E5E;
	--ttb-rule: #E2E2E0;
	--ttb-soft: #F3F3F1;
	--ttb-white: #FFFFFF;
	--ttb-yellow: #FFCC00;
	--ttb-display: "TTB Display", "Arial Narrow", sans-serif;
	--ttb-text: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
	--ttb-wrap: 1240px;
	--ttb-text-w: 720px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--ttb-white);
	color: var(--ttb-ink);
	font-family: var(--ttb-text);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.ttb-skip { position: absolute; left: -999px; top: 0; background: var(--ttb-yellow); padding: 8px 14px; z-index: 50; }
.ttb-skip:focus { left: 8px; }

.ttb-wrap { width: 100%; max-width: var(--ttb-wrap); margin: 0 auto; padding: 0 32px; }
.ttb-wrap--text { max-width: calc(var(--ttb-text-w) + 64px); }

/* Titres : Anton en capitales */
.ttb-logo, .ttb-hero__title, .ttb-split, .ttb-h2, .ttb-article__title, .ttb-arch__title,
.ttb-arch__big, .ttb-rubs__name, .ttb-content h2, .ttb-callout__title, .ttb-footer__mark {
	font-family: var(--ttb-display);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0;
}

.ttb-arrow { display: inline-block; flex: none; transition: transform .15s; }

/* ------------------------------------------------------------ BANDEAU ET EN-TÊTE */
.ttb-header { background: var(--ttb-white); position: relative; z-index: 20; border-top: 4px solid var(--ttb-yellow); border-bottom: 1px solid var(--ttb-rule); }
.ttb-header__in { display: flex; align-items: center; gap: 32px; min-height: 78px; }
.ttb-brand { text-decoration: none; flex: none; }
.ttb-logo { font-size: 30px; line-height: 1; white-space: nowrap; display: inline-flex; align-items: center; gap: .4em; }
.ttb-logo__mark { height: 1.4em; width: auto; flex: none; }
.ttb-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.ttb-nav ul { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.ttb-nav a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 4px 0; text-decoration-line: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.ttb-nav a:hover, .ttb-nav a[aria-current] { text-decoration-color: var(--ttb-yellow); }
.ttb-hsearch { display: flex; align-items: center; border-bottom: 1px solid var(--ttb-ink); }
.ttb-hsearch input { border: 0; background: transparent; padding: 6px 4px; width: 150px; font-size: 14px; }
.ttb-hsearch input:focus { outline: none; }
.ttb-hsearch button { border: 0; background: transparent; padding: 6px 0 6px 6px; cursor: pointer; }
.ttb-burger { display: none; margin-left: auto; background: none; border: 0; padding: 10px 0 10px 10px; cursor: pointer; }
.ttb-burger span { display: block; width: 26px; height: 2px; background: var(--ttb-ink); margin: 6px 0; }

/* ------------------------------------------------------------ COMMUNS */
.ttb-section { padding: 96px 0; }
.ttb-section--tight { padding: 56px 0 96px; }
.ttb-section--rule { border-top: 1px solid var(--ttb-rule); }
.ttb-h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; margin: 0 0 36px; }
.ttb-split { display: flex; justify-content: space-between; gap: 24px; font-size: clamp(60px, 12.5vw, 176px); line-height: .86; margin: 0 0 56px; }
.ttb-more { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-weight: 600; font-size: 15px; text-decoration: none; }
.ttb-more:hover .ttb-arrow, .ttb-pill:hover .ttb-arrow, .ttb-rubs a:hover .ttb-arrow { transform: translateX(4px); }
.ttb-kicker { font-weight: 600; text-decoration: none; }
.ttb-kicker:hover { text-decoration: underline; text-decoration-color: var(--ttb-yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ------------------------------------------------------------ ACCUEIL */
.ttb-hero { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; color: var(--ttb-white); overflow: hidden; background: var(--ttb-ink); }
.ttb-hero__bg, .ttb-hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ttb-hero__bg img { object-fit: cover; object-position: 60% 55%; }
.ttb-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.85) 0%, rgba(10,10,10,.7) 35%, rgba(10,10,10,.15) 62%, rgba(10,10,10,0) 75%), linear-gradient(0deg, rgba(10,10,10,.7) 0%, rgba(10,10,10,0) 55%); z-index: 1; }
.ttb-hero__in { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 72px; }
.ttb-hero__kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 15px; font-weight: 500; }
.ttb-hero__kicker span { background: var(--ttb-yellow); color: var(--ttb-ink); font-weight: 700; padding: 4px 10px; }
.ttb-hero__title { font-family: var(--ttb-display); font-weight: 400; text-transform: uppercase; font-size: clamp(44px, 5vw, 72px); line-height: 1.08; margin: 0; max-width: 600px; }
.ttb-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ttb-btn.ttb-btn--ghost { background: transparent; color: var(--ttb-white); box-shadow: inset 0 0 0 2px var(--ttb-white); }
.ttb-btn.ttb-btn--ghost:hover { background: var(--ttb-white); color: var(--ttb-ink); }
.ttb-hero__title a { text-decoration: none; }
.ttb-hero__title a:hover { text-decoration: underline; text-decoration-color: var(--ttb-yellow); text-decoration-thickness: 5px; text-underline-offset: 8px; }
.ttb-hero__excerpt { margin: 20px 0 30px; max-width: 520px; font-size: 18px; color: rgba(255,255,255,.88); }
.ttb-btn { display: inline-flex; align-items: center; gap: 12px; background: var(--ttb-yellow); color: var(--ttb-ink); text-decoration: none; font-weight: 700; font-size: 16px; padding: 15px 26px; transition: background .15s; }
.ttb-btn:hover { background: var(--ttb-white); }
.ttb-btn:hover .ttb-arrow { transform: translateX(4px); }

/* Coureurs en portraits */
.ttb-riders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 24px; }
.ttb-rider { display: flex; flex-direction: column; text-decoration: none; }
.ttb-rider__photo { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--ttb-soft); }
.ttb-rider__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .4s; }
.ttb-rider:hover .ttb-rider__photo img { transform: scale(1.04); }
.ttb-rider__line { display: flex; flex-direction: column; gap: 2px; padding: 14px 0 10px; border-bottom: 1px solid var(--ttb-rule); }
.ttb-rider__name { font-family: var(--ttb-display); text-transform: uppercase; font-size: 26px; line-height: 1.1; }
.ttb-rider__team { font-size: 15px; font-weight: 600; line-height: 1.3; }
.ttb-rider__facts { font-size: 14px; color: var(--ttb-ink-2); padding-top: 10px; line-height: 1.4; }
.ttb-rider:hover .ttb-rider__line { border-bottom-color: var(--ttb-yellow); }
.ttb-riders + .ttb-more { margin-top: 40px; }

/* Derniers articles */
.ttb-latest { display: grid; grid-template-columns: 1.6fr 1fr; gap: 72px; align-items: start; }
.ttb-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ttb-ink); }
.ttb-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; padding: 22px 0 24px; border-bottom: 1px solid var(--ttb-rule); }
.ttb-row__head { display: flex; flex-direction: column; gap: 6px; }
.ttb-row__cat { font-size: 13px; color: var(--ttb-ink-2); }
.ttb-row__title { font-weight: 600; font-size: 19px; line-height: 1.3; text-decoration: none; }
.ttb-row__title:hover { text-decoration: underline; text-decoration-color: var(--ttb-yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.ttb-row__excerpt { margin: 0; font-size: 15px; color: var(--ttb-ink-2); line-height: 1.5; }
.ttb-latest__photo { display: block; text-decoration: none; }
.ttb-latest__label { display: block; font-weight: 600; font-size: 15px; padding: 0 0 12px; margin-bottom: 16px; border-bottom: 1px solid var(--ttb-ink); }
.ttb-latest__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ttb-latest__photo--tall img { aspect-ratio: 4 / 5; object-position: center 20%; }

/* La saison : calendrier */
.ttb-section--dark { background: var(--ttb-ink); color: var(--ttb-white); }
.ttb-sechead { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 36px; }
.ttb-sechead .ttb-h2 { margin: 0; }
.ttb-sechead p { margin: 0; max-width: 380px; color: rgba(255,255,255,.7); }
.ttb-calendar__fallback { margin: 0; padding-left: 20px; color: rgba(255,255,255,.8); line-height: 1.7; }
.ttb-calendar.is-ready { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.ttb-calendar__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.ttb-calendar__title { font-family: var(--ttb-display); font-weight: 400; text-transform: uppercase; font-size: 34px; line-height: 1.1; margin: 0; }
.ttb-calendar__arrow { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.35); background: transparent; color: var(--ttb-white); font-size: 20px; cursor: pointer; }
.ttb-calendar__arrow:hover:not(:disabled) { background: var(--ttb-white); color: var(--ttb-ink); }
.ttb-calendar__arrow:disabled { opacity: .25; cursor: default; }
.ttb-calendar__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.ttb-calendar__tabs button { border: 1px solid rgba(255,255,255,.25); background: transparent; color: rgba(255,255,255,.75); font: inherit; font-size: 14px; font-weight: 600; padding: 7px 12px; cursor: pointer; }
.ttb-calendar__tabs button:hover { color: var(--ttb-white); border-color: var(--ttb-white); }
.ttb-calendar__tabs button.is-on { background: var(--ttb-yellow); border-color: var(--ttb-yellow); color: var(--ttb-ink); }
.ttb-calendar__days, .ttb-calendar__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.ttb-calendar__days span { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.55); padding: 0 8px 8px; text-transform: uppercase; letter-spacing: .04em; }
.ttb-calendar__grid { border-top: 1px solid rgba(255,255,255,.25); border-left: 1px solid rgba(255,255,255,.12); }
.ttb-day { min-height: 92px; padding: 6px 0 8px; border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ttb-day.is-pad { background: rgba(255,255,255,.03); }
.ttb-day__n { font-size: 13px; color: rgba(255,255,255,.6); padding: 0 8px; line-height: 20px; }
.ttb-day.is-today .ttb-day__n { color: var(--ttb-ink); background: var(--ttb-yellow); font-weight: 700; align-self: flex-start; margin-left: 4px; padding: 0 6px; }
.ttb-chip { display: block; height: 24px; min-width: 0; border: 0; padding: 0; margin: 0 -1px 0 0; position: relative; font: inherit; text-align: left; cursor: pointer; background: transparent; color: var(--ttb-ink); }
.ttb-chip.is-start { margin-left: 4px; }
.ttb-chip.is-end { margin-right: 4px; }
.ttb-chip.is-sel { z-index: 2; }
.ttb-chip.is-empty { cursor: default; }
.ttb-chip span { display: block; font-size: 12px; font-weight: 700; line-height: 24px; padding: 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ttb-chip--gt { background: var(--ttb-yellow); }
.ttb-chip--mon { background: var(--ttb-white); }
.ttb-chip--mondial, .ttb-chip--femmes, .ttb-chip--autre { background: rgba(255,255,255,.16); color: var(--ttb-white); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -1px 0 rgba(255,255,255,.45); }
.ttb-chip--mondial.is-start, .ttb-chip--femmes.is-start, .ttb-chip--autre.is-start { box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -1px 0 rgba(255,255,255,.45), inset 1px 0 0 rgba(255,255,255,.45); }
.ttb-chip--mondial.is-end, .ttb-chip--femmes.is-end, .ttb-chip--autre.is-end { box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -1px 0 rgba(255,255,255,.45), inset -1px 0 0 rgba(255,255,255,.45); }
.ttb-chip--mondial.is-start.is-end, .ttb-chip--femmes.is-start.is-end, .ttb-chip--autre.is-start.is-end { box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); }
.ttb-chip.is-sel::after { content: ""; position: absolute; inset: -3px 0; border-top: 2px solid var(--ring, var(--ttb-yellow)); border-bottom: 2px solid var(--ring, var(--ttb-yellow)); pointer-events: none; }
.ttb-chip.is-sel.is-start::after { left: -3px; border-left: 2px solid var(--ring, var(--ttb-yellow)); }
.ttb-chip.is-sel.is-end::after { right: -3px; border-right: 2px solid var(--ring, var(--ttb-yellow)); }
.ttb-chip--gt { --ring: var(--ttb-white); }
.ttb-chip:focus-visible { outline: 2px solid var(--ttb-white); outline-offset: 2px; }
.ttb-calendar__list { list-style: none; margin: 20px 0 0; padding: 0; display: none; }
.ttb-calendar__item { width: 100%; display: grid; grid-template-columns: 14px 1fr; gap: 2px 12px; align-items: center; text-align: left; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.12); color: var(--ttb-white); font: inherit; padding: 12px 0; cursor: pointer; }
.ttb-calendar__item b { font-weight: 600; font-size: 16px; }
.ttb-calendar__item small { grid-column: 2; font-size: 13px; color: rgba(255,255,255,.6); }
.ttb-calendar__swatch { width: 14px; height: 14px; background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); }
.ttb-calendar__item--gt .ttb-calendar__swatch { background: var(--ttb-yellow); box-shadow: none; }
.ttb-calendar__item--mon .ttb-calendar__swatch { background: var(--ttb-white); box-shadow: none; }
.ttb-calendar__item.is-sel b { text-decoration: underline; text-decoration-color: var(--ttb-yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ttb-calendar__panel { position: sticky; top: 24px; background: var(--ttb-white); color: var(--ttb-ink); border-top: 4px solid var(--ttb-yellow); padding: 26px 26px 28px; }
.ttb-calendar__kicker { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--ttb-ink-2); }
.ttb-calendar__kicker em { font-style: normal; color: var(--ttb-ink); }
.ttb-calendar__name { font-family: var(--ttb-display); font-weight: 400; text-transform: uppercase; font-size: 34px; line-height: 1.1; margin: 0 0 6px; }
.ttb-calendar__when { font-weight: 700; font-size: 17px; margin: 0 0 18px; }
.ttb-calendar__facts { margin: 0 0 18px; border-top: 1px solid var(--ttb-rule); }
.ttb-calendar__facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ttb-rule); font-size: 15px; }
.ttb-calendar__facts dt { color: var(--ttb-ink-2); }
.ttb-calendar__facts dd { margin: 0; font-weight: 600; }
.ttb-calendar__facts a { text-decoration-color: var(--ttb-yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ttb-calendar__desc { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ttb-ink-2); }
.ttb-calendar__panel .ttb-more { margin-top: 18px; color: var(--ttb-ink); }
.ttb-calendar__legend span { display: inline-flex; align-items: center; gap: 8px; }
.ttb-calendar__legend { display: flex; flex-wrap: wrap; gap: 20px; margin: 16px 0 0; font-size: 13px; color: rgba(255,255,255,.7); }
.ttb-cal__foot { margin-top: 28px; }
.ttb-cal__foot .ttb-more { margin-top: 0; color: var(--ttb-white); }

/* Rubriques : tuiles photo */
.ttb-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ttb-rubs__note { margin: 32px 0 0; max-width: 720px; color: var(--ttb-ink-2); font-size: 16px; line-height: 1.6; }
.ttb-rubs__note a { color: var(--ttb-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--ttb-yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ttb-tile { position: relative; display: flex; align-items: flex-end; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ttb-ink); color: var(--ttb-white); text-decoration: none; }
.ttb-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ttb-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,10,.85) 0%, rgba(10,10,10,.35) 50%, rgba(10,10,10,.05) 100%); }
.ttb-tile:hover img { transform: scale(1.05); }
.ttb-tile__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; padding: 24px 64px 24px 24px; }
.ttb-tile__name { font-family: var(--ttb-display); text-transform: uppercase; font-size: 38px; line-height: 1.05; }
.ttb-tile__desc { font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.85); }
.ttb-tile__go { position: absolute; z-index: 1; right: 20px; bottom: 24px; width: 40px; height: 40px; display: grid; place-items: center; background: var(--ttb-yellow); color: var(--ttb-ink); }
.ttb-tile:hover .ttb-tile__go .ttb-arrow { transform: translateX(3px); }

/* ------------------------------------------------------------ CARTES */
.ttb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; }
.ttb-grid--after { margin-top: 72px; }
.ttb-card { display: flex; flex-direction: column; }
.ttb-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ttb-soft); margin-bottom: 4px; }
.ttb-card--tall .ttb-card__media { aspect-ratio: 4 / 5; }
.ttb-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .4s; }
.ttb-card:hover .ttb-card__media img { transform: scale(1.03); }
.ttb-card__line { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 12px 0 10px; border-bottom: 1px solid var(--ttb-rule); font-size: 14px; }
.ttb-card__line span { color: var(--ttb-ink-2); }
.ttb-card__title { font-weight: 600; font-size: 21px; line-height: 1.28; margin: 14px 0 0; }
.ttb-card__title a { text-decoration: none; }
.ttb-card__title a:hover { text-decoration: underline; text-decoration-color: var(--ttb-yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.ttb-card__excerpt { margin: 10px 0 0; font-size: 15px; color: var(--ttb-ink-2); line-height: 1.5; }

/* ------------------------------------------------------------ ARTICLE */
.ttb-article__head { padding-top: 56px; padding-bottom: 48px; }
.ttb-crumbs { margin: 0 0 20px; font-size: 14px; color: var(--ttb-ink-2); }
.ttb-crumbs a { text-decoration: none; }
.ttb-crumbs a:hover { color: var(--ttb-ink); }
.ttb-article__title { font-size: clamp(40px, 5.2vw, 72px); line-height: 1.12; margin: 0; max-width: 16em; }
.ttb-article__meta { margin: 22px 0 0; font-size: 14px; color: var(--ttb-ink-2); }
.ttb-article__portrait { margin: 0; }
.ttb-article__portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.ttb-article__portrait figcaption { font-size: 12px; margin-top: 10px; color: var(--ttb-ink-2); }
.ttb-article__portrait figcaption a, .ttb-article__cover figcaption a { color: inherit; }
.ttb-article__cover { margin: 0 auto; max-width: var(--ttb-wrap); padding: 0 32px; }
.ttb-article__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ttb-article__cover figcaption { font-size: 12px; margin-top: 10px; color: var(--ttb-ink-2); padding: 0; }

/* Carte d'identité : liste à filets */
.ttb-id { margin: 40px 0 0; border-top: 1px solid var(--ttb-ink); max-width: 640px; }
.ttb-id__row { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--ttb-rule); }
.ttb-id dt { font-size: 15px; color: var(--ttb-ink-2); }
.ttb-id dd { margin: 0; font-weight: 600; font-size: 17px; line-height: 1.35; }
.ttb-id dd small { display: block; font-weight: 400; font-size: 14px; color: var(--ttb-ink-2); margin-top: 2px; }

/* Contenu */
.ttb-content > * { max-width: var(--ttb-text-w); }
.ttb-content { padding-top: 56px; padding-bottom: 96px; font-size: 18px; line-height: 1.7; }
/* Colonne de lecture centrée ; en-tête d'article aligné dessus (hors fiche coureur, qui garde ses deux colonnes). */
.ttb-content { max-width: calc(var(--ttb-text-w) + 64px); }
.ttb-article__head { max-width: calc(820px + 64px); }
.ttb-article .ttb-article__title { max-width: none; font-size: clamp(40px, 4.6vw, 62px); }
.ttb-article__card { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; margin-top: 40px; }
.ttb-article__card .ttb-id { margin: 0; max-width: none; }
.ttb-article--rider .ttb-content { padding-top: 64px; }
.ttb-article--rider .ttb-article__head { padding-bottom: 8px; }
.ttb-content > * + * { margin-top: 1.1em; }
.ttb-content p { margin: 0; }
.ttb-content p + p { margin-top: 1em; }
.ttb-content h2 { font-size: 44px; line-height: 1.14; margin: 1.7em 0 .5em; }
.ttb-content h3 { font-weight: 700; font-size: 23px; line-height: 1.3; margin: 1.5em 0 .4em; }
.ttb-content a { text-decoration-color: var(--ttb-yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.ttb-content a:hover { background: var(--ttb-yellow); }
.ttb-content ul, .ttb-content ol { padding-left: 1.2em; }
.ttb-content li + li { margin-top: .4em; }
.ttb-content ol li::marker { font-weight: 700; }
.ttb-content img { height: auto; }
.ttb-content figure { margin: 2.2em 0; }
.ttb-content figcaption { font-size: 13px; color: var(--ttb-ink-2); margin-top: 10px; }
.ttb-content blockquote { margin: 1.8em 0; padding: 2px 0 2px 24px; border-left: 4px solid var(--ttb-yellow); font-size: 22px; font-weight: 500; line-height: 1.45; }
.ttb-content strong { font-weight: 700; }

/* Encadré : un seul style */
.ttb-callout, .ttb-content .ttb-callout { background: var(--ttb-soft); padding: 26px 30px 28px; margin: 2em 0; border-left: 4px solid var(--ttb-yellow); }
.ttb-callout__title { margin: 0 0 8px !important; font-size: 26px; line-height: 1; }
.ttb-callout p { margin: 0; }
.ttb-callout p + p, .ttb-callout ul { margin-top: .6em; }

/* Tableaux */
.ttb-table { overflow-x: auto; margin: 2em 0; -webkit-overflow-scrolling: touch; }
.ttb-content table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 480px; line-height: 1.45; }
.ttb-content th { text-align: left; padding: 0 16px 10px 0; font-size: 14px; font-weight: 600; color: var(--ttb-ink-2); border-bottom: 1px solid var(--ttb-ink); vertical-align: bottom; }
.ttb-content td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--ttb-rule); vertical-align: top; }
.ttb-content td:first-child { font-weight: 600; }

/* ------------------------------------------------------------ ARCHIVES */
.ttb-arch { padding: 64px 0 56px; border-bottom: 1px solid var(--ttb-rule); }
.ttb-arch__in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 72px; align-items: end; }
.ttb-arch__title { font-size: clamp(44px, 5.4vw, 76px); line-height: 1.08; margin: 0; }
.ttb-arch__desc { font-size: 17px; color: var(--ttb-ink-2); max-width: 460px; }
.ttb-arch__desc p { margin: 0; }
.ttb-arch__desc p + p, .ttb-arch__desc .ttb-search { margin-top: 18px; }
.ttb-arch__big { font-size: clamp(100px, 18vw, 240px); line-height: .8; margin: 0 0 16px; }
.ttb-arch--404 .ttb-arch__title { font-size: clamp(40px, 5vw, 72px); line-height: .95; }
.ttb-empty { font-size: 18px; color: var(--ttb-ink-2); }
.ttb-search { display: flex; max-width: 520px; border-bottom: 1px solid var(--ttb-ink); }
.ttb-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 0; font-size: 17px; color: var(--ttb-ink); }
.ttb-search input:focus { outline: none; }
.ttb-search button { border: 0; background: none; padding: 0 0 0 16px; font-weight: 600; font-size: 15px; cursor: pointer; color: var(--ttb-ink); }
.ttb-pagination { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 64px; }
.ttb-pagination a, .ttb-pagination span { padding: 8px 15px; border: 1px solid var(--ttb-rule); text-decoration: none; font-weight: 600; font-size: 15px; }
.ttb-pagination a:hover { border-color: var(--ttb-ink); }
.ttb-pagination .current { background: var(--ttb-yellow); border-color: var(--ttb-yellow); }

/* ------------------------------------------------------------ PIED */
.ttb-footer { padding: 0 0 28px; overflow: hidden; }
.ttb-footer__profil { margin-bottom: 56px; }
.ttb-footer__profil .ttb-profil { display: block; width: 100%; height: 64px; border-bottom: 1px solid var(--ttb-ink); }
.ttb-footer__profil .ttb-profil__fill { fill: var(--ttb-soft); }
.ttb-footer__cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.ttb-footer__brand .ttb-logo { font-size: 34px; }
.ttb-footer__about { margin: 14px 0 0; font-size: 16px; line-height: 1.5; max-width: 360px; color: var(--ttb-ink-2); }
.ttb-footer__title { font-size: 14px; color: var(--ttb-ink-2); margin: 0 0 14px; }
.ttb-footer ul { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.ttb-footer li + li { margin-top: 8px; }
.ttb-footer a { text-decoration: none; }
.ttb-footer a:hover { text-decoration: underline; text-decoration-color: var(--ttb-yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ttb-footer__base { margin: 48px 0 0; padding-top: 16px; border-top: 1px solid var(--ttb-rule); font-size: 13px; color: var(--ttb-ink-2); }

/* ------------------------------------------------------------ RESPONSIVE */
@media (max-width: 1120px) {
	.ttb-nav ul { gap: 16px; }
	.ttb-nav a { font-size: 14px; }
	.ttb-hsearch input { width: 110px; }
}
@media (max-width: 980px) {
	.ttb-calendar.is-ready { grid-template-columns: 1fr; gap: 28px; }
	.ttb-calendar__panel { position: static; }
	.ttb-burger { display: block; }
	.ttb-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ttb-white);
		flex-direction: column; align-items: stretch; gap: 0; padding: 4px 32px 24px; border-bottom: 1px solid var(--ttb-ink);
	}
	.ttb-nav.is-open { display: flex; }
	.ttb-nav ul { flex-direction: column; gap: 0; }
	.ttb-nav li a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--ttb-rule); }
	.ttb-hsearch { margin-top: 18px; width: 100%; }
	.ttb-hsearch input { width: 100%; }
	.ttb-arch__in { grid-template-columns: 1fr; gap: 32px; }
	.ttb-latest { grid-template-columns: 1fr; gap: 40px; }
	.ttb-grid, .ttb-tiles { grid-template-columns: repeat(2, 1fr); }
	.ttb-riders { grid-template-columns: repeat(2, 1fr); }
	.ttb-latest__photo { max-width: 460px; }
	.ttb-article__card { grid-template-columns: 220px 1fr; gap: 28px; }
	.ttb-footer__cols { grid-template-columns: 1fr 1fr; }
	.ttb-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.ttb-article__card { grid-template-columns: 1fr; gap: 24px; }
	.ttb-article__card .ttb-article__portrait { max-width: 320px; }
	.ttb-calendar__title { font-size: 28px; }
	.ttb-calendar__days span { padding: 0 0 6px; text-align: center; font-size: 11px; }
	.ttb-day { min-height: 54px; padding: 4px 0 6px; gap: 3px; }
	.ttb-day__n { font-size: 12px; padding: 0 4px; line-height: 18px; }
	.ttb-chip { height: 7px; }
	.ttb-chip.is-start { margin-left: 2px; }
	.ttb-chip.is-end { margin-right: 2px; }
	.ttb-chip span { display: none; }
	.ttb-chip.is-sel::after { inset: -2px 0; border-width: 1px !important; }
	.ttb-calendar__list { display: block; }
	.ttb-calendar__panel { padding: 22px 18px 24px; }
	.ttb-calendar__name { font-size: 28px; }
	.ttb-calendar__facts div { grid-template-columns: 96px 1fr; }
	body { font-size: 16px; }
	.ttb-wrap { padding: 0 16px; }
	.ttb-article__cover { padding: 0 16px; }
	.ttb-nav { padding: 4px 16px 20px; }
	.ttb-header__in { min-height: 64px; }
	.ttb-logo { font-size: 26px; }
	.ttb-section { padding: 64px 0; }
	.ttb-section--tight { padding: 40px 0 64px; }
	.ttb-split { flex-direction: column; gap: 0; font-size: 64px; line-height: .98; margin-bottom: 36px; }
	.ttb-h2 { font-size: 32px; margin-bottom: 28px; }
	.ttb-hero { min-height: 640px; }
	.ttb-hero__bg img { object-position: 62% 50%; }
	.ttb-hero::after { background: linear-gradient(0deg, rgba(10,10,10,.88) 0%, rgba(10,10,10,.55) 45%, rgba(10,10,10,.1) 75%); }
	.ttb-hero__in { padding-bottom: 40px; }
	.ttb-hero__title { font-size: 44px; }
	.ttb-hero__excerpt { font-size: 16px; margin: 14px 0 24px; }
	.ttb-riders { gap: 32px 12px; }
	.ttb-rider__name { font-size: 21px; }
	.ttb-rider__team { font-size: 14px; }
	.ttb-rider__facts { font-size: 13px; }
	.ttb-grid, .ttb-tiles { grid-template-columns: 1fr; }
	.ttb-grid { gap: 44px; }
	.ttb-tile { aspect-ratio: 16 / 10; }
	.ttb-tile__name { font-size: 32px; }
	.ttb-row { grid-template-columns: 1fr; gap: 8px; padding: 18px 0 20px; }
	.ttb-article__head { padding-top: 36px; padding-bottom: 36px; }
	.ttb-article__title { font-size: 40px; }
	.ttb-id__row { grid-template-columns: 110px 1fr; gap: 12px; }
	.ttb-content { padding-top: 40px; padding-bottom: 64px; font-size: 17px; }
	.ttb-content h2 { font-size: 34px; }
	.ttb-content h3 { font-size: 20px; }
	.ttb-callout, .ttb-content .ttb-callout { padding: 20px 20px 22px; }
	.ttb-arch { padding: 44px 0 36px; }
	.ttb-arch__title { font-size: 44px; }
	.ttb-footer__cols { grid-template-columns: 1fr; gap: 32px; }
}

/* ------------------------------------------------------------ PROFIL D'ÉTAPE (signature) */
.ttb-profil__fill { fill: var(--ttb-rule); }
.ttb-profil__line { fill: none; stroke: var(--ttb-ink); stroke-width: 1.5; stroke-linejoin: round; }
.ttb-hero { padding-bottom: 0; }
.ttb-hero__profil { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 64px; z-index: 2; }
.ttb-hero__profil .ttb-profil__fill { fill: var(--ttb-white); }
.ttb-hero__profil .ttb-profil__line { stroke: none; }
.ttb-hero__in { padding-bottom: 112px; }
.ttb-stage { position: sticky; top: 0; z-index: 15; background: var(--ttb-white); border-bottom: 1px solid var(--ttb-rule); }
.ttb-stage__in { display: flex; align-items: flex-end; gap: 16px; height: 52px; padding-bottom: 0; }
.ttb-stage__lbl { flex: none; margin-bottom: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ttb-ink-2); line-height: 1; }
.ttb-stage__lbl i { width: 12px; height: 12px; background: conic-gradient(var(--ttb-ink) 25%, var(--ttb-white) 0 50%, var(--ttb-ink) 0 75%, var(--ttb-white) 0); background-size: 6px 6px; box-shadow: 0 0 0 1px var(--ttb-ink); }
.ttb-stage__track { position: relative; flex: 1; height: 40px; }
.ttb-stage__track .ttb-profil { position: absolute; inset: 0; width: 100%; height: 100%; }
.ttb-stage__base .ttb-profil__fill { fill: var(--ttb-rule); }
.ttb-stage__base .ttb-profil__line { stroke: var(--ttb-ink-2); }
.ttb-stage__done { clip-path: inset(0 calc(100% - var(--p, 0%)) 0 0); }
.ttb-stage__done .ttb-profil__fill { fill: var(--ttb-yellow); }
.ttb-stage__rider { position: absolute; left: var(--p, 0%); bottom: var(--y, 10%); width: 12px; height: 12px; margin: 0 0 -6px -6px; border-radius: 50%; background: var(--ttb-ink); box-shadow: 0 0 0 2px var(--ttb-white); }
@media (max-width: 640px) {
	.ttb-stage__lbl { display: none; }
	.ttb-stage__in { height: 36px; }
	.ttb-stage__track { height: 24px; }
	.ttb-hero__profil { height: 40px; }
	.ttb-hero__in { padding-bottom: 80px; }
	.ttb-footer__profil .ttb-profil { height: 44px; }
}
