/**
 * Taxiboat Core - styles des widgets (BEM).
 *
 * Les tokens design (:root --tbc-*) sont extraits dans taxiboatcore-tokens.css,
 * charge globalement (le theme enfant rey-child consomme ces variables). Ce
 * fichier n'est charge que sur les pages portant un widget taxiboatcore
 * (get_style_depends), il ne definit donc plus les tokens lui-meme.
 */

/* prefers-reduced-motion - keep hover transitions snappy but remove
   keyframe animations and transform-based intros for users who opted out. */
   @media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 50ms !important;
		scroll-behavior: auto !important;
	}
}

/* tbc-route-hero
   ------------- */
.tbc-route-hero {
	color: var(--tbc-ink);
	font-family: var(--tbc-font-body);
}

.tbc-route-hero--placeholder {
	background: var(--tbc-hairline);
	border: 0.5px dashed var(--tbc-stone);
	border-radius: var(--tbc-radius-lg);
	color: var(--tbc-graphite);
	padding: var(--tbc-spacing-5);
}

.tbc-route-hero__placeholder {
	font-size: 13px;
	margin: 0;
}

.tbc-route-hero__pill {
	align-items: center;
	background: var(--tbc-sun-soft);
	border-radius: var(--tbc-radius-pill);
	color: var(--tbc-sun-deep);
	display: inline-flex;
	font-size: 12px;
	font-weight: 500;
	gap: 6px;
	margin-bottom: var(--tbc-spacing-3);
	padding: 4px 12px;
}

.tbc-route-hero__pill-icon {
	flex-shrink: 0;
}

.tbc-route-hero__title {
	/* Typo = step .tbc-display (echelle, tokens.css). Ici : layout seul. */
	margin: 0 0 var(--tbc-spacing-1);
}

.tbc-route-hero__subtitle {
	color: var(--tbc-graphite);
	font-size: 14px;
	line-height: 1.55;
	margin: 0 0 var(--tbc-spacing-4);
}

/* Image mise en avant (option). width/height viennent de WP (pas de CLS) ;
   hauteur plafonnee a 30vh, object-fit:cover pour recadrer sans deformer.
   Scope sous .tbc-route-hero (0,2,0) pour battre le reset Elementor
   `.elementor figure { margin:0 }` (0,1,1) qui ecrasait le margin-bottom. */
.tbc-route-hero .tbc-route-hero__media {
	margin: 0 0 var(--tbc-spacing-4);
}

/* Selecteur scope sous .tbc-route-hero (0,2,0) pour passer devant le reset
   Elementor `.elementor img { border-radius:0 }` (0,1,1). */
.tbc-route-hero .tbc-route-hero__media-img {
	border-radius: var(--tbc-radius-lg);
	display: block;
	height: auto;
	max-height: 30vh;
	object-fit: cover;
	width: 100%;
}

.tbc-route-hero__card {
	background: var(--tbc-canvas);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-lg);
	padding: var(--tbc-spacing-4);
}

.tbc-route-hero__selector {
	align-items: center;
	display: grid;
	gap: var(--tbc-spacing-3);
	grid-template-columns: 1fr auto 1fr;
}

.tbc-route-hero__field-label {
	color: var(--tbc-graphite);
	display: block;
	font-size: 12px;
	margin-bottom: 6px;
}

.tbc-route-hero__select {
	background: var(--tbc-hairline);
	border: 0;
	border-radius: var(--tbc-radius-pill);
	color: var(--tbc-ink);
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	height: var(--tbc-rs-h);
	padding: 0 var(--tbc-spacing-4);
	width: 100%;
}

.tbc-route-hero__select:focus-visible {
	box-shadow: var(--tbc-focus-ring);
	outline: none;
}

/* Peau = .tbc-btn--icon --quiet ; ne reste ici que la rotation au survol. */
.tbc-route-hero .tbc-route-hero__swap {
	transition: transform var(--tbc-transition-base), background-color var(--tbc-transition-base);
}

.tbc-route-hero .tbc-route-hero__swap:hover {
	transform: rotate(180deg);
}

.tbc-route-hero__action {
	display: flex;
	justify-content: flex-end;
	margin-top: var(--tbc-spacing-3);
}

.tbc-route-hero__metrics {
	display: grid;
	gap: var(--tbc-spacing-3);
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	margin: var(--tbc-spacing-4) 0 0;
}

.tbc-route-hero__metric {
	background: var(--tbc-fondsite);
	border-radius: var(--tbc-radius-sm);
	margin: 0;
	padding: 12px 14px;
}

.tbc-route-hero__metric-label {
	color: var(--tbc-graphite);
	font-size: 12px;
	margin: 0;
}

.tbc-route-hero__metric-value {
	font-family: var(--tbc-font-display);
	font-size: 20px;
	font-weight: 500;
	margin: 2px 0 0;
}

/* Mention d'etat de mer sous la duree : la fourchette n'a de sens que si on dit
   d'ou vient l'amplitude. Petite mention, volontairement hors echelle .tbc-hN. */
.tbc-route-hero__metric-note {
	color: var(--tbc-graphite);
	display: block;
	margin-top: 2px;
	font-family: var(--tbc-font-body);
	font-size: 10px;
	font-weight: 300;
	line-height: 1.4;
}

/* Mobile : prix (accent) pleine largeur, puis les 3 autres metriques sur une
   ligne de 3 (au lieu du auto-fit qui retombe a 2 par ligne). */
@media (max-width: 480px) {
	.tbc-route-hero__metrics {
		grid-template-columns: repeat(3, 1fr);
	}

	.tbc-route-hero__metric--accent {
		grid-column: 1 / -1;
	}
}

.tbc-route-hero__warn {
	background: var(--tbc-sun-soft);
	border-radius: var(--tbc-radius-sm);
	color: var(--tbc-sun-deep);
	font-size: 13px;
	margin: var(--tbc-spacing-3) 0 0;
	padding: 8px 12px;
}

/* Barres inline (lite, full, ville_bar, single) : le CTA prend la hauteur des
   pilules pour aligner la rangee. Le vertical garde son CTA .tbc-btn--lg,
   detache sous les champs. */
.tbc-route-hero:not(.tbc-route-hero--vertical) .tbc-route-hero__go {
	--tbc-btn-h: var(--tbc-rs-h);
}

/* Sur les barres inline, le CTA reprend sa largeur naturelle en desktop. Le
   vertical est exclu : son CTA reste pleine largeur sous les champs (--block). */
@media (min-width: 768px) {
	.tbc-route-hero:not(.tbc-route-hero--vertical) .tbc-route-hero__go {
		min-width: 200px;
		width: auto;
	}
}

/* Variante full : le bouton de recherche vit dans la grille du selecteur.
   La bascule se fait sur la largeur du HERO (container query), pas du viewport :
   le hero est souvent pose dans une colonne etroite ou une media query desktop
   mentirait. Scope --full, la variante single garde sa grille + bouton dessous.
   Etroit (defaut) : deux dropdowns + inversion, bouton pleine largeur dessous. */
.tbc-route-hero--full {
	container-type: inline-size;
}

.tbc-route-hero--full .tbc-route-hero__go {
	grid-column: 1 / -1;
	min-width: 0;
	width: 100%;
}

/* Une seule ligne des que le hero a la place : dropdowns + inversion + bouton. */
@container (min-width: 620px) {
	.tbc-route-hero--full .tbc-route-hero__selector {
		grid-template-columns: 1fr auto 1fr auto;
	}

	.tbc-route-hero--full .tbc-route-hero__go {
		grid-column: auto;
		width: auto;
	}
}

/* Colonne tres etroite : tout empile, inversion centree entre les deux champs. */
@container (max-width: 400px) {
	.tbc-route-hero--full .tbc-route-hero__selector {
		grid-template-columns: 1fr;
	}

	.tbc-route-hero--full .tbc-route-hero__swap {
		justify-self: center;
	}
}

@media (max-width: 480px) {
	.tbc-route-hero__selector {
		gap: var(--tbc-spacing-2);
		grid-template-columns: 1fr;
	}

	.tbc-route-hero__swap {
		justify-self: center;
	}
}

/* tbc-route-hero --lite
   ---------------------
   Barre de recherche autonome (home / archive) : selecteur + bouton inline
   dans une carte, sans le contenu specifique a une route. */
.tbc-route-hero--lite {
	background: var(--tbc-canvas);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-lg);
	padding: var(--tbc-spacing-4);
}

.tbc-route-hero__selector--lite {
	grid-template-columns: 1fr auto 1fr auto;
}

/* Bateau choisi avant le trajet : sa propre rangee au-dessus du trajet (la
   barre tient dans des colonnes de 600px, une 5e colonne ecrasait les villes). */
.tbc-route-hero__selector--lite:has(> .tbc-route-hero__field-row) {
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) auto minmax(0, 1fr) auto;
}

/* Barre trop etroite pour trois pilules (largeur de la BARRE, pas de l'ecran :
   elle depend du conteneur Elementor) : le bateau prend sa propre rangee. */
.tbc-route-hero--lite {
	container-name: tbc-lite;
	container-type: inline-size;
}

@container tbc-lite (max-width: 759px) {
	.tbc-route-hero__selector--lite:has(> .tbc-route-hero__field-row) {
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
	}

	.tbc-route-hero__selector--lite > .tbc-route-hero__field-row {
		grid-column: 1 / -1;
	}
}

/* Loupe seule, carree, pour laisser la place aux trois pilules. */
.tbc-route-hero--lite .tbc-route-hero__selector--lite:has(> .tbc-route-hero__field-row) > .tbc-route-hero__go {
	--tbc-btn-px: 0;
	min-width: 0;
	width: var(--tbc-rs-h);
}

.tbc-route-hero__selector--lite .tbc-route-hero__go {
	min-width: 0;
	width: auto;
}

.tbc-route-hero--lite .tbc-route-hero__warn {
	margin-top: var(--tbc-spacing-3);
}

@media (max-width: 600px) {
	.tbc-route-hero__selector--lite,
	.tbc-route-hero__selector--lite:has(> .tbc-route-hero__field-row) {
		grid-template-columns: 1fr;
	}

	.tbc-route-hero--lite .tbc-route-hero__selector--lite:has(> .tbc-route-hero__field-row) > .tbc-route-hero__go {
		width: 100%;
	}

	.tbc-route-hero__selector--lite .tbc-route-hero__swap {
		justify-self: center;
	}

	.tbc-route-hero__selector--lite .tbc-route-hero__go {
		width: 100%;
	}
}

/* tbc-route-hero --vertical
   -----------------------
   Variante verticale destinee aux hubs /routes/ et /ville/{slug}/ : carte
   etroite, champs empiles en pilule pleine (depart, arrivee, date, passagers)
   + CTA pleine largeur. Reutilise le dropdown partage .tbc-rs__* ; le
   calendrier est le .tbc-datepicker existant, pose dans un popover. Pilote par route-hero.js (mountVertical). */
.tbc-route-hero--vertical {
	color: var(--tbc-ink);
	font-family: var(--tbc-font-body);
	max-width: 380px;
}

.tbc-route-hero--vertical .tbc-route-hero__card {
	background: var(--tbc-canvas);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-lg);
	padding: var(--tbc-spacing-5);
}

.tbc-route-hero--vertical .tbc-route-hero__title {
	margin: 0 0 var(--tbc-spacing-4);
}

.tbc-route-hero__fields {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-2);
}

/* Ligne portant le swap en incrustation. */
.tbc-route-hero__field-row {
	position: relative;
}

.tbc-route-hero--vertical .tbc-route-hero__swap--inset,
.tbc-booking-widget--pills .tbc-route-hero__swap--inset {
	--tbc-btn-h: 32px;
	border: 0;
	position: absolute;
	right: var(--tbc-spacing-3);
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
}

.tbc-route-hero--vertical .tbc-route-hero__swap--inset:hover,
.tbc-booking-widget--pills .tbc-route-hero__swap--inset:hover {
	transform: translateY(-50%) rotate(180deg);
}

/* Peau des pilules : section .tbc-rs plus bas. Ne reste ici que le decalage
   du au bouton d'inversion incruste dans la premiere pilule. */
.tbc-route-hero--vertical .tbc-route-hero__field-row--swap .tbc-rs__control,
.tbc-booking-widget--pills .tbc-route-hero__field-row--swap .tbc-rs__control {
	padding-right: 52px;
}

/* Pilule pleine : champs simples (date, passagers, listes bateau et heure). */
.tbc-route-hero--vertical .tbc-route-hero__field,
.tbc-booking-widget--pills .tbc-route-hero__field,
.tbc-route-hero__field.tbc-route-hero__field--select {
	align-items: center;
	background: var(--tbc-fondsite);
	border: 0;
	border-radius: var(--tbc-radius-pill);
	color: var(--tbc-ink);
	cursor: pointer;
	display: flex;
	font-family: inherit;
	gap: var(--tbc-spacing-3);
	min-height: var(--tbc-rs-h);
	padding: 0 var(--tbc-spacing-5);
	text-align: left;
	transition: background var(--tbc-transition-fast);
	width: 100%;
}

.tbc-route-hero--vertical .tbc-route-hero__field:hover,
.tbc-booking-widget--pills .tbc-route-hero__field:hover,
.tbc-route-hero__field.tbc-route-hero__field--select:hover {
	background: var(--tbc-hairline);
}

.tbc-route-hero--vertical .tbc-route-hero__field:focus-visible,
.tbc-booking-widget--pills .tbc-route-hero__field:focus-visible,
.tbc-route-hero__field.tbc-route-hero__field--select:focus-within {
	box-shadow: var(--tbc-focus-ring);
	outline: none;
}

.tbc-route-hero__field-icon {
	color: var(--tbc-sun-deep);
	flex: none;
	height: 22px;
	width: 22px;
}

.tbc-route-hero__field-lab {
	color: var(--tbc-ink);
	display: block;
	font: var(--tbc-font-body-md-regular);
}

.tbc-route-hero__field-value {
	display: block;
	font: var(--tbc-font-body-sm-regular);
}

.tbc-route-hero__field-caret {
	color: var(--tbc-muted);
	flex: none;
	height: 14px;
	transition: transform var(--tbc-transition-fast);
	width: 14px;
}

.tbc-route-hero__field[aria-expanded="true"] .tbc-route-hero__field-caret {
	transform: rotate(180deg);
}

/* Pilule a liste native (devis et recherche) : un <select> invisible couvre la
   pilule et ouvre la liste du systeme (roue sur mobile). */
.tbc-route-hero__field.tbc-route-hero__field--select {
	position: relative;
}

.tbc-route-hero__field--select .tbc-route-hero__field-lab {
	margin: 0;
}

.tbc-route-hero__field--select .tbc-route-hero__native {
	appearance: none;
	border: 0;
	cursor: pointer;
	font-size: 16px; /* sous 16px, iOS zoome la page a l'ouverture de la liste */
	height: 100%;
	inset: 0;
	margin: 0;
	opacity: 0;
	padding: 0;
	position: absolute;
	width: 100%;
}

/* Garde-fou : un element marque [hidden] par le JS doit vraiment disparaitre.
   Le popover de date recoit la classe .tbc-datepicker (display: flex, (0,1,0))
   qui battait le display: none de [hidden] : le calendrier restait affiche
   apres le choix d'une date. Meme parade que dans le booking widget. */
.tbc-route-hero [hidden] {
	display: none !important;
}

/* Popover des champs simples : le calendrier .tbc-datepicker porte deja sa
   propre carte, ce conteneur ne fait que le positionner. Scope (0,2,0) car
   .tbc-datepicker (position: relative) est declare plus bas dans ce fichier. */
.tbc-route-hero--vertical .tbc-route-hero__field-row.is-up .tbc-route-hero__pop {
	bottom: calc(100% + 6px);
	top: auto;
}

.tbc-route-hero--vertical .tbc-route-hero__pop {
	left: var(--tbc-spacing-2);
	position: absolute;
	right: var(--tbc-spacing-2);
	top: calc(100% + 6px);
	z-index: 20;
}

/* Peau = .tbc-btn--primary --lg --block (ou --ink via le controle "style du CTA"). */
.tbc-route-hero--vertical .tbc-route-hero__go {
	margin-top: var(--tbc-spacing-4);
}

.tbc-route-hero__proof {
	margin-top: var(--tbc-spacing-4);
}

.tbc-route-hero__features {
	display: flex;
	flex-wrap: wrap;
	gap: var(--tbc-spacing-2) var(--tbc-spacing-5);
	margin-top: var(--tbc-spacing-3);
}

.tbc-route-hero__feature {
	align-items: center;
	color: var(--tbc-ink);
	display: flex;
	font-size: 14px;
	font-weight: 300;
	gap: 6px;
}

.tbc-route-hero__feature-icon {
	color: var(--tbc-lieu);
	flex: none;
	height: 18px;
	width: 18px;
}

@media (max-width: 480px) {
	.tbc-route-hero--vertical {
		max-width: none;
	}

	.tbc-route-hero--vertical .tbc-route-hero__card {
		padding: var(--tbc-spacing-4);
	}
}

/* tbc-route-hero --horizontal
   ---------------------------
   La carte verticale mise en rangee (bandeau large : depart, arrivee, date,
   passagers, CTA). L'element porte les DEUX classes de variante : --vertical
   fournit la peau des champs, ce bloc ne fait que la mise en ligne. Le CTA est
   rendu DANS .tbc-route-hero__fields (vue horizontal.php).
   La bascule en colonne se fait sur la largeur du HERO (container query) : il
   est souvent pose dans une colonne plus etroite que le viewport. */
.tbc-route-hero--horizontal {
	container-type: inline-size;
	max-width: none;
}

.tbc-route-hero--horizontal .tbc-route-hero__card {
	padding: var(--tbc-spacing-4);
}

@container (min-width: 860px) {
	.tbc-route-hero--horizontal .tbc-route-hero__fields {
		align-items: center;
		flex-direction: row;
	}

	.tbc-route-hero--horizontal .tbc-route-hero__field-row {
		flex: 1 1 0;
		min-width: 0;
	}

	/* Le stepper passagers ne se comprime pas : sa pilule garde sa largeur. */
	.tbc-route-hero--horizontal .tbc-route-hero__field-row:has(.tbc-route-hero__field--pax) {
		flex: 0 0 auto;
	}

	/* Popover du calendrier : ancre a gauche de sa colonne (la colonne est plus
	   etroite que le calendrier, l'etirer left/right le deformerait). */
	.tbc-route-hero--horizontal .tbc-route-hero__pop {
		left: 0;
		right: auto;
	}

	.tbc-route-hero--horizontal .tbc-route-hero__go {
		flex: 0 0 auto;
		min-width: 170px;
		width: auto;
	}
}

/* Peau = .tbc-btn--primary --block (ou --ink) ; la hauteur suit les pilules. */
.tbc-route-hero--horizontal .tbc-route-hero__go {
	--tbc-btn-h: var(--tbc-rs-h);

	margin-top: 0;
}

/* tbc-reviews-proof
   -----------------
   Bloc de preuve sociale reutilisable (Utils\Reviews_Proof / [tbc_reviews_proof]) :
   note agregee + nombre d'avis, lien vers la fiche Google configuree. Bloc
   autonome pour pouvoir etre insere ailleurs que dans le hero vertical. */
.tbc-reviews-proof {
	align-items: center;
	background: var(--tbc-sun-soft);
	border-radius: var(--tbc-radius-sm);
	color: var(--tbc-sun-deep);
	display: flex;
	font-size: 13px;
	font-weight: 500;
	gap: 6px;
	justify-content: center;
	min-height: 32px;
	padding: 6px var(--tbc-spacing-3);
	text-decoration: none;
}

a.tbc-reviews-proof:hover,
a.tbc-reviews-proof:focus-visible {
	background: var(--tbc-sun);
	color: var(--tbc-sun-deep);
}

a.tbc-reviews-proof:focus-visible {
	box-shadow: var(--tbc-focus-ring);
	outline: none;
}

.tbc-reviews-proof__star {
	flex: none;
	height: 14px;
	width: 14px;
}

.tbc-reviews-proof__count {
	color: var(--tbc-sun-deep);
	font-weight: 300;
}

/* Selecteur moderne .tbc-rs__* (peau unique du plugin)
   ----------------------------------------------------
   Dropdown custom : bouton-controle en pilule (epingle + libelle au-dessus de
   la valeur) + panneau (recherche + liste groupee par ville). Meme peau pour
   toutes les barres route-hero et pour le booking widget : hauteur --tbc-rs-h,
   fond paper, ouvert = sun-soft. Pilote par route-hero.js / booking-widget.js.
   Les <button>/<input> sont scopes sous .tbc-route-hero / .tbc-booking-widget
   (0,2,0) pour battre les resets button[type=*] du theme Rey / Elementor. */
.tbc-rs__dd {
	min-width: 0;
	position: relative;
}

.tbc-rs__lab {
	color: var(--tbc-graphite);
	display: block;
	font-size: 12px;
	line-height: 1.3;
	margin: 0;
}

.tbc-route-hero .tbc-rs__control,
.tbc-booking-widget .tbc-rs__control {
	align-items: center;
	background: var(--tbc-fondsite);
	border: 0;
	border-radius: var(--tbc-radius-pill);
	color: var(--tbc-ink);
	cursor: pointer;
	display: flex;
	font-family: inherit;
	gap: var(--tbc-spacing-3);
	min-height: var(--tbc-rs-h);
	padding: 0 var(--tbc-spacing-5);
	text-align: left;
	transition: background var(--tbc-transition-fast);
	width: 100%;
}

.tbc-route-hero .tbc-rs__control:hover,
.tbc-booking-widget .tbc-rs__control:hover {
	background: var(--tbc-hairline);
}

.tbc-rs__dd.is-open .tbc-rs__control {
	background: var(--tbc-sun-soft);
}

.tbc-route-hero .tbc-rs__control:focus-visible,
.tbc-booking-widget .tbc-rs__control:focus-visible {
	box-shadow: var(--tbc-focus-ring);
	outline: none;
}

/* Corps du controle : libelle au-dessus de la valeur. */
.tbc-rs__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
	text-align: left;
}

.tbc-rs__control-text {
	color: var(--tbc-ink);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tbc-rs__control:not(.is-filled) .tbc-rs__control-text {
	color: var(--tbc-muted);
	font-weight: 300;
}

.tbc-rs__pin {
	color: var(--tbc-sun-deep);
	flex: none;
	height: 22px;
	width: 22px;
}

.tbc-rs__panel {
	background: var(--tbc-canvas);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-md);
	box-shadow: 0 14px 36px rgba(10, 10, 10, 0.14);
	left: var(--tbc-spacing-2);
	padding: var(--tbc-spacing-2);
	position: absolute;
	right: var(--tbc-spacing-2);
	top: calc(100% + 6px);
	z-index: 20;
}

.tbc-route-hero .tbc-rs__search,
.tbc-booking-widget .tbc-rs__search {
	background: var(--tbc-canvas);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-sm);
	color: var(--tbc-ink);
	font-family: inherit;
	font-size: 13px;
	margin-bottom: 6px;
	outline: none;
	padding: 8px 10px;
	width: 100%;
}

/* Le champ de recherche des ports est un input du devis comme un autre : meme
   seuil de 16px (le hero, lui, garde sa taille compacte). */
.tbc-booking-widget .tbc-rs__search {
	font-size: var(--tbc-bw-control-fz);
	scroll-margin-block: var(--tbc-spacing-6);
}

.tbc-route-hero .tbc-rs__search:focus,
.tbc-booking-widget .tbc-rs__search:focus {
	border-color: var(--tbc-sun);
}

/* Retournement vers le haut : pose par window.TBC.placePanel() quand la place
   sous le declencheur est insuffisante (typiquement la modale bottom-sheet du
   booking, ou le panneau tomberait sous la ligne de visibilite). */
.tbc-rs__dd.is-up .tbc-rs__panel,
.tbc-route-hero__field-row.is-up .tbc-rs__panel {
	bottom: calc(100% + 6px);
	top: auto;
}

.tbc-rs__list {
	max-height: 210px;
	overflow: auto;
}

.tbc-rs__group {
	color: var(--tbc-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	padding: 8px 8px 4px;
	text-transform: uppercase;
}

/* Options : pilules du kit (.tbc-pill--sm --flat, vignette a gauche, coche
   a droite). Ne restent ici que l'option indisponible de la recherche et la
   coche, masquable (l'icone du kit est en inline-block). */
.tbc-route-hero .tbc-rs__opt.tbc-pill.is-disabled {
	background: transparent;
	color: var(--tbc-stone);
	cursor: not-allowed;
}

.tbc-rs__check {
	color: var(--tbc-sun-deep);
	flex: none;
}

.tbc-rs__check[hidden] {
	display: none;
}

.tbc-rs__empty {
	color: var(--tbc-muted);
	font-size: 13px;
	padding: 12px 8px;
}

/* Booking : panneau en overlay (comme partout ailleurs), pour ne plus pousser
   la hauteur de la carte a chaque ouverture. La carte wizard masque ses
   debordements : on lui rend overflow: visible le temps qu'un dropdown est
   deplie, sinon le panneau serait rogne. */
.tbc-booking-widget .tbc-rs__panel {
	z-index: 60;
}

.tbc-booking-widget--wizard:has(.tbc-rs__dd.is-open),
.tbc-booking-widget--pills:has(.tbc-route-hero__field-row.is-open) {
	overflow: visible;
	/* .tbc-wizard__panel porte un transform (transitions d'etape) : il ouvre un
	   contexte d'empilement qui enferme le z-index du panneau. C'est donc la
	   carte qui doit passer devant les blocs Elementor suivants. */
	z-index: 30;
}

/* Sous 1024px la carte n'est pas sticky : sans position, son z-index n'aurait
   aucun effet. Cible bornee au media pour ne pas ecraser le sticky desktop. */
@media (max-width: 1023px) {
	.tbc-booking-widget--wizard:has(.tbc-rs__dd.is-open),
	.tbc-booking-widget--pills:has(.tbc-route-hero__field-row.is-open) {
		position: relative;
	}
}

.tbc-booking-widget .tbc-rs__dd {
	width: 100%;
}

/* tbc-route-hero --single
   -----------------------
   Meme hero que full, mais le selecteur depart/arrivee est replie derriere
   le declencheur "Changer de trajet". Le trajet courant et les metriques
   restent toujours visibles ; seul le panneau .tbc-route-hero__panel se
   deplie. */
.tbc-route-hero__current {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--tbc-spacing-3);
	justify-content: space-between;
	margin-bottom: var(--tbc-spacing-3);
}

.tbc-route-hero__current-route {
	align-items: center;
	display: flex;
	font-size: 15px;
	font-weight: 500;
	gap: var(--tbc-spacing-2);
}

.tbc-route-hero__current-icon {
	color: var(--tbc-sun-deep);
	flex-shrink: 0;
}

.tbc-route-hero__current-arrow {
	color: var(--tbc-stone);
}

.tbc-route-hero__chevron {
	transition: transform var(--tbc-transition-base);
}

.tbc-route-hero__change[aria-expanded="true"] .tbc-route-hero__chevron {
	transform: rotate(180deg);
}

.tbc-route-hero__panel {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height var(--tbc-transition-base), opacity var(--tbc-transition-fast), margin var(--tbc-transition-base);
}

.tbc-route-hero__panel--open {
	margin-top: var(--tbc-spacing-3);
	max-height: 320px;
	opacity: 1;
}

.tbc-route-hero__panel-inner {
	border-top: 0.5px solid var(--tbc-hairline);
	padding-top: var(--tbc-spacing-4);
}

@media (prefers-reduced-motion: reduce) {
	.tbc-route-hero__panel,
	.tbc-route-hero__chevron {
		transition: none;
	}
}

/* tbc-route-hero --timer
   ----------------------
   Comparateur autonome "bateau vs voiture" : deux barres proportionnelles
   animees au scroll + badge de gain. Bloc independant pose librement dans
   une page route. Largeurs des barres pilotees par route-hero.js. */
.tbc-route-hero--timer {
	background: var(--tbc-canvas);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-lg);
	padding: var(--tbc-spacing-4);
}

/* Comparateur en section du hero single : separateur avant les metriques. */
.tbc-route-hero--single .tbc-route-hero__compare {
	border-bottom: 0.5px solid var(--tbc-hairline);
	margin-bottom: var(--tbc-spacing-4);
	padding-bottom: var(--tbc-spacing-4);
}

.tbc-route-hero__sr-only {
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.tbc-route-hero__compare-head {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--tbc-spacing-2);
	justify-content: space-between;
	margin-bottom: var(--tbc-spacing-3);
}

.tbc-route-hero__compare-title {
	color: var(--tbc-graphite);
	font-size: 13px;
	letter-spacing: 0.05em;
	margin: 0;
	text-transform: uppercase;
}

.tbc-route-hero__gain-badge {
	align-items: center;
	background: var(--tbc-sun-soft);
	border-radius: var(--tbc-radius-pill);
	color: var(--tbc-sun-deep);
	display: inline-flex;
	font-size: 14px;
	font-weight: 700;
	gap: 5px;
	padding: 4px 12px;
}

.tbc-route-hero__bar-row {
	align-items: center;
	display: flex;
	gap: var(--tbc-spacing-3);
	margin-bottom: 9px;
}

.tbc-route-hero__bar-row:last-child {
	margin-bottom: 0;
}

.tbc-route-hero__bar-ico {
	align-items: center;
	border-radius: 7px;
	display: flex;
	flex-shrink: 0;
	height: 30px;
	justify-content: center;
	width: 30px;
}

.tbc-route-hero__bar-ico--boat {
	background: var(--tbc-sun);
	color: var(--tbc-sun-deep);
}

.tbc-route-hero__bar-ico--car {
	background: var(--tbc-hairline);
	color: var(--tbc-graphite);
}

.tbc-route-hero__bar-ico-img {
	display: block;
	height: 20px;
	object-fit: contain;
	width: 20px;
}

.tbc-route-hero__bar-label {
	color: var(--tbc-graphite);
	flex-shrink: 0;
	font-size: 13px;
	width: 58px;
}

.tbc-route-hero__track {
	background: var(--tbc-hairline);
	border-radius: 6px;
	flex: 1;
	height: 24px;
	min-width: 0;
	overflow: hidden;
}

.tbc-route-hero__fill {
	align-items: center;
	border-radius: 6px;
	display: flex;
	font-size: 12px;
	font-weight: 500;
	height: 100%;
	/* Jamais plus etroit que la duree : evite la troncature des barres
	   courtes (trajets a fort gain) et garde la valeur lisible sans JS. */
	min-width: max-content;
	overflow: hidden;
	padding: 0 10px;
	transition: width 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
	white-space: nowrap;
	width: 0;
}

.tbc-route-hero__fill--boat {
	background: var(--tbc-sun);
	color: var(--tbc-ink);
}

.tbc-route-hero__fill--car {
	background: var(--tbc-stone);
	color: var(--tbc-ink);
}

/* Mention de fraicheur, affichee uniquement quand la duree voiture vient du
   calcul auto quotidien (trafic). */
.tbc-route-hero__compare-note {
	color: var(--tbc-graphite);
	font-size: 13px;
	font-weight: 500;
	margin: var(--tbc-spacing-3) 0 0;
}

.tbc-route-hero__compare-note strong {
	color: var(--tbc-ink);
	font-weight: 700;
}

@media (max-width: 480px) {
	.tbc-route-hero__bar-label {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tbc-route-hero__fill {
		transition: none;
	}
}

/* tbc-bullet-list
   ---------------
   Generic repeater-driven bullet list. Layout is driven by CSS custom
   properties the widget sets per breakpoint (--tbc-bl-cols, --tbc-bl-gap),
   so no column count is hard-coded in class names. Visual tokens come from
   the --tbc-* design system, matching the "Pourquoi ce trajet" mockup. */
.tbc-bullet-list {
	--tbc-bl-cols: 1;
	--tbc-bl-gap: var(--tbc-spacing-4);
	color: var(--tbc-ink);
	font-family: var(--tbc-font-body);
	list-style: none;
	margin: 0;
	padding: 0;
}

.tbc-bullet-list--placeholder {
	background: var(--tbc-hairline);
	border: 0.5px dashed var(--tbc-stone);
	border-radius: var(--tbc-radius-md);
	color: var(--tbc-graphite);
	padding: var(--tbc-spacing-4);
}

.tbc-bullet-list__placeholder {
	font-size: 13px;
	margin: 0;
}

.tbc-bullet-list__item {
	align-items: flex-start;
	display: flex;
	gap: var(--tbc-spacing-3);
}

/* Icon / media box - carre arrondi facon maquette (.tbc-arg .ico). */
.tbc-bullet-list__icon,
.tbc-bullet-list__media {
	align-items: center;
	background: var(--tbc-sun-soft);
	border-radius: var(--tbc-radius-sm);
	color: var(--tbc-sun-deep);
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 20px;
	height: auto;
	justify-content: center;
	line-height: 1;
	overflow: hidden;
	width: auto;
	padding: 5px;
}

.tbc-bullet-list__icon svg {
	fill: currentColor;
	height: 18px;
	width: 18px;
}

.tbc-bullet-list__icon--emoji {
	font-size: 40px;
}

.tbc-bullet-list__media-img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.tbc-bullet-list__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.tbc-bullet-list__title {
	/* Typo = step .tbc-h6. Ici : layout seul. */
	margin: 0;
}

.tbc-bullet-list__description {
	color: var(--tbc-graphite);
	font-size: 14px;
	font-weight: 300;
	line-height: 1.5;
}

/* Display modes. Columns and gap read the CSS vars set by the widget. */
.tbc-bullet-list--list {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-bl-gap);
}

.tbc-bullet-list--grid {
	display: grid;
	gap: var(--tbc-bl-gap);
	grid-template-columns: repeat(var(--tbc-bl-cols), minmax(0, 1fr));
}



/* Icone au-dessus du texte. */
.tbc-bullet-list--icon-top .tbc-bullet-list__item {
	flex-direction: column;
}

/* tbc-event-calendar
   ------------------
   Common shell styles, then variant-specific blocks. The list variant is
   the only active one in phase 1; horizontal and grid blocks will be
   appended below the list block when phase 2 ships them. */
.tbc-event-calendar {
	color: var(--tbc-ink);
	font-family: var(--tbc-font-body);
}

.tbc-event-calendar__header {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: var(--tbc-spacing-3);
}

.tbc-event-calendar__title-label {
	color: var(--tbc-ink);
	font-size: 12px;
	font-weight: 500;
}

.tbc-event-calendar__legend {
	display: flex;
	flex-wrap: wrap;
	gap: var(--tbc-spacing-3);
	list-style: none;
	margin: 0 0 var(--tbc-spacing-3);
	padding: 0;
}

.tbc-event-calendar__legend-item {
	align-items: center;
	color: var(--tbc-graphite);
	display: inline-flex;
	font-size: 13px;
	font-weight: 500;
	gap: var(--tbc-spacing-1);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.tbc-event-calendar__legend-dot {
	background: var(--tbc-graphite);
	border-radius: 50%;
	display: inline-block;
	height: 6px;
	width: 6px;
}

.tbc-event-calendar__legend-item--en_cours .tbc-event-calendar__legend-dot {
	background: var(--tbc-ink);
}

.tbc-event-calendar__legend-item--urgent .tbc-event-calendar__legend-dot {
	background: var(--tbc-sun);
}

.tbc-event-calendar__legend-item--a_venir .tbc-event-calendar__legend-dot {
	background: var(--tbc-ink);
	opacity: 0.5;
}

.tbc-event-calendar__legend-item--passe .tbc-event-calendar__legend-dot {
	background: var(--tbc-graphite);
	opacity: 0.5;
}

/* Item - shared between every variant */
.tbc-event-calendar__items {
	display: grid;
	gap: var(--tbc-spacing-2);
	list-style: none;
	margin: 0;
	padding: 0;
}

.tbc-event-calendar__row {
	margin: 0;
}

.tbc-event-calendar__item {
	align-items: center;
	border-radius: var(--tbc-radius-sm);
	color: inherit;
	display: grid;
	gap: var(--tbc-spacing-3);
	grid-template-columns: 36px 1fr auto;
	padding: var(--tbc-spacing-2) 10px;
	text-decoration: none;
	transition: background-color var(--tbc-transition-base), transform var(--tbc-transition-base);
}

.tbc-event-calendar__item:hover,
.tbc-event-calendar__item:focus-visible {
	background: var(--tbc-hairline);
}

.tbc-event-calendar__item:focus-visible {
	box-shadow: var(--tbc-focus-ring);
	outline: none;
}

.tbc-event-calendar__item:hover .tbc-event-calendar__chevron,
.tbc-event-calendar__item:focus-visible .tbc-event-calendar__chevron {
	transform: translateX(2px);
}

.tbc-event-calendar__date {
	display: flex;
	flex-direction: column;
	text-align: center;
}

.tbc-event-calendar__date-month {
	color: var(--tbc-graphite);
	font-size: 9px;
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 1;
}

.tbc-event-calendar__date-day {
	color: var(--tbc-ink);
	font-family: var(--tbc-font-display);
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	margin-top: 2px;
}

.tbc-event-calendar__body {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}

.tbc-event-calendar__title {
	align-items: center;
	color: var(--tbc-ink);
	display: inline-flex;
	font-size: 12px;
	font-weight: 500;
	gap: 6px;
}

.tbc-event-calendar__meta {
	color: var(--tbc-graphite);
	font-size: 10px;
	line-height: 1.4;
}

.tbc-event-calendar__chevron {
	align-items: center;
	color: var(--tbc-stone);
	display: inline-flex;
	flex: 0 0 auto;
	transition: transform var(--tbc-transition-base);
}

.tbc-event-calendar__pulse {
	background: var(--tbc-ink);
	border-radius: 50%;
	display: inline-block;
	height: 6px;
	width: 6px;
	animation: tbc-pulse 2s ease-in-out infinite;
}

@keyframes tbc-pulse {
	0%, 100% { opacity: 1; }
	50%      { opacity: 0.55; }
}

/* States */
.tbc-event-calendar__item--state-passe {
	opacity: 0.5;
}

.tbc-event-calendar__item--state-passe .tbc-event-calendar__title,
.tbc-event-calendar__item--state-passe .tbc-event-calendar__date-day {
	color: var(--tbc-graphite);
}

.tbc-event-calendar__item--state-urgent {
	background: var(--tbc-sun-soft);
	border-left: 3px solid var(--tbc-sun);
}

.tbc-event-calendar__item--state-urgent .tbc-event-calendar__title,
.tbc-event-calendar__item--state-urgent .tbc-event-calendar__meta,
.tbc-event-calendar__item--state-urgent .tbc-event-calendar__date-month,
.tbc-event-calendar__item--state-urgent .tbc-event-calendar__date-day,
.tbc-event-calendar__item--state-urgent .tbc-event-calendar__chevron {
	color: var(--tbc-sun-deep);
}

.tbc-event-calendar__item--state-urgent:hover,
.tbc-event-calendar__item--state-urgent:focus-visible {
	background: var(--tbc-sun);
}

.tbc-event-calendar__item--state-en_cours {
	background: var(--tbc-hairline);
}

/* List variant - shell */
.tbc-event-calendar--list {
	background: var(--tbc-canvas);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-md);
	padding: var(--tbc-spacing-4);
}

/* Cascade entrance animation, capped at 6 staggered items */
.tbc-event-calendar--list .tbc-event-calendar__row {
	animation: tbc-fade-in-up 280ms ease forwards;
	opacity: 0;
}

.tbc-event-calendar--list .tbc-event-calendar__row:nth-child(1) { animation-delay: 0ms; }
.tbc-event-calendar--list .tbc-event-calendar__row:nth-child(2) { animation-delay: 50ms; }
.tbc-event-calendar--list .tbc-event-calendar__row:nth-child(3) { animation-delay: 100ms; }
.tbc-event-calendar--list .tbc-event-calendar__row:nth-child(4) { animation-delay: 150ms; }
.tbc-event-calendar--list .tbc-event-calendar__row:nth-child(5) { animation-delay: 200ms; }
.tbc-event-calendar--list .tbc-event-calendar__row:nth-child(6) { animation-delay: 250ms; }
.tbc-event-calendar--list .tbc-event-calendar__row:nth-child(n+7) { animation-delay: 250ms; }

@keyframes tbc-fade-in-up {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Horizontal variant - 12-month timeline with positioned dots */
.tbc-event-calendar--horizontal {
	background: var(--tbc-canvas);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-md);
	padding: var(--tbc-spacing-4);
}

.tbc-event-calendar__timeline {
	height: 96px;
	margin-top: var(--tbc-spacing-4);
	position: relative;
}

.tbc-event-calendar__timeline-axis {
	color: var(--tbc-graphite);
	font-size: 9px;
	font-weight: 500;
	height: 14px;
	letter-spacing: 0.06em;
	position: relative;
	text-transform: uppercase;
}

.tbc-event-calendar__timeline-month {
	position: absolute;
	transform: translateX(-50%);
	white-space: nowrap;
}

.tbc-event-calendar__timeline-track {
	background: var(--tbc-hairline);
	height: 2px;
	left: 0;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}

.tbc-event-calendar__timeline-today {
	background: var(--tbc-sun);
	border: 2px solid var(--tbc-canvas);
	border-radius: 50%;
	box-shadow: 0 0 0 2px var(--tbc-sun-deep);
	height: 12px;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 12px;
	z-index: 2;
}

.tbc-event-calendar__timeline-dot {
	align-items: center;
	background: var(--tbc-ink);
	border: 2px solid var(--tbc-canvas);
	border-radius: 50%;
	box-shadow: 0 1px 4px rgba(10, 10, 10, 0.18);
	color: var(--tbc-canvas);
	display: inline-flex;
	height: 14px;
	justify-content: center;
	position: absolute;
	text-decoration: none;
	top: 50%;
	transform: translate(-50%, -50%);
	transition: transform var(--tbc-transition-base);
	width: 14px;
	z-index: 3;
}

.tbc-event-calendar__timeline-dot:hover,
.tbc-event-calendar__timeline-dot:focus-visible {
	transform: translate(-50%, -50%) scale(1.2);
}

.tbc-event-calendar__timeline-dot:focus-visible {
	box-shadow: var(--tbc-focus-ring);
	outline: none;
}

.tbc-event-calendar__timeline-dot.tbc-event-calendar__item--state-urgent {
	background: var(--tbc-sun);
	border-color: var(--tbc-sun-deep);
}

.tbc-event-calendar__timeline-dot.tbc-event-calendar__item--state-passe {
	background: var(--tbc-graphite);
	opacity: 0.5;
}

.tbc-event-calendar__timeline-dot-tooltip {
	background: var(--tbc-ink);
	border-radius: var(--tbc-radius-sm);
	bottom: calc(100% + 8px);
	color: var(--tbc-canvas);
	display: flex;
	flex-direction: column;
	gap: 2px;
	left: 50%;
	max-width: 220px;
	min-width: 140px;
	opacity: 0;
	padding: var(--tbc-spacing-2) var(--tbc-spacing-3);
	pointer-events: none;
	position: absolute;
	transform: translateX(-50%) translateY(4px);
	transition: opacity var(--tbc-transition-base), transform var(--tbc-transition-base);
	white-space: normal;
	z-index: 5;
}

.tbc-event-calendar__timeline-dot:hover .tbc-event-calendar__timeline-dot-tooltip,
.tbc-event-calendar__timeline-dot:focus-visible .tbc-event-calendar__timeline-dot-tooltip {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.tbc-event-calendar__timeline-dot-title {
	font-size: 12px;
	font-weight: 500;
}

.tbc-event-calendar__timeline-dot-meta {
	color: rgba(252, 252, 254, 0.7);
	font-size: 10px;
}

@media (max-width: 639px) {
	.tbc-event-calendar__timeline {
		overflow-x: auto;
	}
}

/* Grid variant - 4 col x 3 row monthly cells */
.tbc-event-calendar--grid {
	background: var(--tbc-canvas);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-md);
	padding: var(--tbc-spacing-4);
}

.tbc-event-calendar__grid {
	display: grid;
	gap: var(--tbc-spacing-2);
	grid-template-columns: 1fr;
	margin-top: var(--tbc-spacing-3);
}

@media (min-width: 480px) {
	.tbc-event-calendar__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 768px) {
	.tbc-event-calendar__grid {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

@media (min-width: 1024px) {
	.tbc-event-calendar__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.tbc-event-calendar__cell {
	border-radius: var(--tbc-radius-sm);
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-1);
	min-height: 88px;
	padding: var(--tbc-spacing-3);
}

.tbc-event-calendar__cell-month {
	color: var(--tbc-graphite);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.06em;
	margin-bottom: var(--tbc-spacing-1);
	text-transform: uppercase;
}

.tbc-event-calendar__cell--quiet {
	background: var(--tbc-hairline);
	border: 0.5px dashed var(--tbc-stone);
}

.tbc-event-calendar__cell-quiet {
	color: var(--tbc-stone);
	font-size: 13px;
	font-weight: 500;
}

.tbc-event-calendar__cell--filled {
	background: var(--tbc-canvas);
	border: 0.5px solid var(--tbc-hairline);
}

.tbc-event-calendar__cell--urgent {
	background: var(--tbc-sun-soft);
	border-color: var(--tbc-sun);
	position: relative;
}

.tbc-event-calendar__cell--urgent::after {
	background: var(--tbc-sun);
	border-radius: 50%;
	content: '';
	height: 6px;
	position: absolute;
	right: 8px;
	top: 8px;
	width: 6px;
}

.tbc-event-calendar__cell--urgent .tbc-event-calendar__cell-month {
	color: var(--tbc-sun-deep);
}

.tbc-event-calendar__cell-list {
	display: flex;
	flex-direction: column;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tbc-event-calendar__cell-event {
	color: inherit;
	display: block;
	text-decoration: none;
}

.tbc-event-calendar__cell-event-title {
	color: var(--tbc-ink);
	display: block;
	font-size: 9px;
	font-weight: 500;
}

.tbc-event-calendar__cell-event-meta {
	color: var(--tbc-graphite);
	display: block;
	font-size: 7px;
}

.tbc-event-calendar__cell-event:hover .tbc-event-calendar__cell-event-title {
	text-decoration: underline;
}

.tbc-event-calendar__cell--urgent .tbc-event-calendar__cell-event-title,
.tbc-event-calendar__cell--urgent .tbc-event-calendar__cell-event-meta {
	color: var(--tbc-sun-deep);
}

.tbc-event-calendar__cell-count {
	color: var(--tbc-graphite);
	font-size: 9px;
	margin-top: var(--tbc-spacing-1);
	opacity: 0.8;
}

.tbc-event-calendar__cell--urgent .tbc-event-calendar__cell-count {
	color: var(--tbc-sun-deep);
}

/* Maison (our own outing) badge + markers */
.tbc-event-calendar__badge {
	border-radius: var(--tbc-radius-pill);
	display: inline-block;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.5;
	padding: 1px 6px;
	text-transform: uppercase;
	vertical-align: middle;
}

.tbc-event-calendar__badge--maison {
	background: var(--tbc-night);
	color: var(--tbc-canvas);
}

.tbc-event-calendar__title .tbc-event-calendar__badge--maison {
	margin-left: var(--tbc-spacing-1);
}

.tbc-event-calendar__cell--maison {
	border-color: var(--tbc-night);
}

/* Urgency outranks ownership for the month-cell border. */
.tbc-event-calendar__cell--urgent.tbc-event-calendar__cell--maison {
	border-color: var(--tbc-sun);
}

.tbc-event-calendar__cell-event--maison {
	border-left: 2px solid var(--tbc-night);
	padding-left: 4px;
}

/* Quiet month -> privatisation hook */
.tbc-event-calendar__cell-cta {
	align-items: center;
	align-self: flex-start;
	color: var(--tbc-night);
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	margin-top: auto;
	min-height: 28px;
	padding: 4px 6px;
	text-decoration: none;
}

.tbc-event-calendar__cell-cta::after {
	content: ' \2192';
}

.tbc-event-calendar__cell-cta:hover {
	text-decoration: underline;
}

/* Rich empty state (any variant, whole calendar empty) */
.tbc-event-calendar--empty {
	background: var(--tbc-canvas);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-md);
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-3);
	padding: var(--tbc-spacing-5);
	text-align: center;
}

.tbc-event-calendar__empty-message {
	color: var(--tbc-graphite);
	font-size: 14px;
	margin: 0;
}

.tbc-event-calendar__empty-suggest {
	border-top: 0.5px solid var(--tbc-hairline);
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-2);
	padding-top: var(--tbc-spacing-3);
	text-align: left;
}

.tbc-event-calendar__empty-suggest-label {
	color: var(--tbc-graphite);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.tbc-event-calendar__empty-list {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-1);
	list-style: none;
	margin: 0;
	padding: 0;
}

.tbc-event-calendar__empty-item {
	align-items: baseline;
	color: inherit;
	display: flex;
	gap: var(--tbc-spacing-2);
	justify-content: space-between;
	text-decoration: none;
}

.tbc-event-calendar__empty-item-title {
	color: var(--tbc-ink);
	font-size: 13px;
	font-weight: 500;
}

.tbc-event-calendar__empty-item-meta {
	color: var(--tbc-graphite);
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
}

.tbc-event-calendar__empty-item:hover .tbc-event-calendar__empty-item-title {
	text-decoration: underline;
}

.tbc-event-calendar__empty-cta {
	align-self: center;
	background: var(--tbc-ink);
	border-radius: var(--tbc-radius-pill);
	color: var(--tbc-canvas);
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	padding: var(--tbc-spacing-2) var(--tbc-spacing-5);
	text-decoration: none;
	transition: background var(--tbc-transition-base);
}

.tbc-event-calendar__empty-cta:hover {
	background: var(--tbc-night);
}

/* tbc-booking-widget
   ------------------
   Inline layout: 5-col primary row (depart, arrivee, date, time, pax),
   stacked contact row, then actions (CTA + WhatsApp) and feedback. */
.tbc-booking-widget {
	background: var(--tbc-canvas);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-md);
	color: var(--tbc-ink);
	display: flex;
	flex-direction: column;
	font-family: var(--tbc-font-body);
	gap: var(--tbc-spacing-3);
	padding: var(--tbc-spacing-4);
}

.tbc-booking-widget--placeholder {
	background: var(--tbc-hairline);
	border-style: dashed;
	color: var(--tbc-graphite);
}

.tbc-booking-widget__placeholder {
	font-size: 13px;
	margin: 0;
}

.tbc-booking-widget__honeypot {
	height: 0;
	left: -9999px;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	width: 0;
}

/* Inline 2 etapes - barre de progression */
.tbc-booking-widget__steps {
	display: flex;
	gap: 8px;
	margin-bottom: var(--tbc-spacing-3);
}

.tbc-booking-widget__stepdot {
	background: var(--tbc-hairline);
	border-radius: 999px;
	flex: 1;
	height: 4px;
	transition: background var(--tbc-transition-fast);
}

.tbc-booking-widget__stepdot--on {
	background: var(--tbc-ink);
}

.tbc-booking-widget__steplabel {
	color: var(--tbc-graphite);
	font-size: 12px;
	margin: 0 0 var(--tbc-spacing-3);
}

.tbc-booking-widget__section-label {
	font-size: 13px;
	font-weight: 700;
	margin: var(--tbc-spacing-4) 0 var(--tbc-spacing-2);
}

.tbc-booking-widget__section-label--first {
	margin-top: 0;
}

/* Besoin (mode) en puces : radio masque + label stylise. */
.tbc-booking-widget__modes,
.tbc-booking-widget__opts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tbc-booking-widget__mode,
.tbc-booking-widget__opt {
	cursor: pointer;
	display: inline-flex;
	margin: 0;
}

.tbc-booking-widget__mode-input,
.tbc-booking-widget__opt-input {
	height: 1px;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	width: 1px;
}

.tbc-booking-widget__mode-label {
	align-items: center;
	background: var(--tbc-canvas);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: 999px;
	color: var(--tbc-ink);
	display: inline-flex;
	font-size: 13px;
	gap: 7px;
	padding: 9px 14px;
	transition: background var(--tbc-transition-fast), border-color var(--tbc-transition-fast), color var(--tbc-transition-fast);
}

.tbc-booking-widget__mode:hover .tbc-booking-widget__mode-label {
	background: var(--tbc-sun-soft);
	border-color: var(--tbc-sun);
}

.tbc-booking-widget__mode-input:checked + .tbc-booking-widget__mode-label {
	background: var(--tbc-ink);
	border-color: var(--tbc-ink);
	color: #fff;
}

.tbc-booking-widget__mode-input:focus-visible + .tbc-booking-widget__mode-label,
.tbc-booking-widget__opt-input:focus-visible + .tbc-booking-widget__opt-label {
	box-shadow: var(--tbc-focus-ring);
}

/* Options a bord en toggles : checkbox masque + label stylise. */
.tbc-booking-widget__opt-label {
	align-items: center;
	background: var(--tbc-canvas);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-sm);
	color: var(--tbc-ink);
	display: inline-flex;
	font-size: 13px;
	gap: 7px;
	padding: 8px 13px;
	transition: background var(--tbc-transition-fast), border-color var(--tbc-transition-fast), color var(--tbc-transition-fast);
}

.tbc-booking-widget__opt:hover .tbc-booking-widget__opt-label {
	border-color: var(--tbc-sun);
}

.tbc-booking-widget__opt-input:checked + .tbc-booking-widget__opt-label {
	background: var(--tbc-sun-soft);
	border-color: var(--tbc-sun);
	color: var(--tbc-sun-deep);
}

.tbc-booking-widget__textarea {
	min-height: 80px;
	resize: vertical;
}

.tbc-booking-widget__label--sr {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

/* Barre d'actions inter-etapes (Continuer / Retour + actions submit/WhatsApp). */
.tbc-booking-widget__step-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--tbc-spacing-3);
	justify-content: space-between;
	margin-top: var(--tbc-spacing-4);
}

.tbc-booking-widget__step-actions--end {
	justify-content: flex-end;
}

/* Pulse "voila, c'est rempli" a l'arrivee d'un auto-feed (scroll + halo). */
@keyframes tbc-booking-pulse {
	0% { box-shadow: 0 0 0 0 var(--tbc-sun); }
	30% { box-shadow: 0 0 0 4px var(--tbc-sun-soft); }
	100% { box-shadow: 0 0 0 0 transparent; }
}

.tbc-booking-widget--pulse {
	animation: tbc-booking-pulse 1.4s ease;
}

@media (prefers-reduced-motion: reduce) {
	.tbc-booking-widget--pulse {
		animation: none;
		box-shadow: 0 0 0 3px var(--tbc-sun-soft);
	}
}

.tbc-booking-widget__grid {
	display: grid;
	gap: var(--tbc-spacing-3);
	grid-template-columns: 1fr;
}

.tbc-booking-widget__contact {
	display: grid;
	gap: var(--tbc-spacing-3);
	grid-template-columns: 1fr;
}

.tbc-booking-widget__field {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-1);
	min-width: 0;
}

.tbc-booking-widget__label {
	color: var(--tbc-graphite);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.tbc-booking-widget .tbc-booking-widget__input {
	background: var(--tbc-canvas);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-sm);
	color: var(--tbc-ink);
	font-family: inherit;
	/* 16px mini : sous ce seuil iOS zoome sur le champ au focus. */
	font-size: var(--tbc-bw-control-fz);
	padding: 10px var(--tbc-spacing-3);
	/* Un champ focalise ne se colle pas au bord du clavier. */
	scroll-margin-block: var(--tbc-spacing-6);
	transition: border-color var(--tbc-transition-fast), box-shadow var(--tbc-transition-fast);
	width: 100%;
}

.tbc-booking-widget__input:focus-visible {
	border-color: var(--tbc-ink);
	box-shadow: var(--tbc-focus-ring);
	outline: none;
}

.tbc-booking-widget .tbc-booking-widget__input--invalid {
	border-color: var(--tbc-graphite);
}

.tbc-booking-widget__error {
	color: var(--tbc-graphite);
	display: block;
	font-size: 13px;
	font-weight: 500;
	min-height: 14px;
}

/* Champ verrouille : la pilule est figee (pas un bouton, pas de panneau). */
.tbc-booking-widget .tbc-rs__control--static {
	cursor: default;
}

.tbc-booking-widget .tbc-rs__control--static:hover {
	background: var(--tbc-hairline);
}

.tbc-booking-widget__field--locked .tbc-rs__lab::after {
	content: " (verrouille)";
	font-weight: 300;
	text-transform: none;
}

.tbc-booking-widget__field--pax {
	min-width: 110px;
}

.tbc-booking-widget__pax-stepper {
	align-items: center;
	background: var(--tbc-canvas);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-sm);
	display: flex;
	gap: var(--tbc-spacing-1);
}

.tbc-booking-widget__pax-input {
	background: transparent;
	border: 0;
	color: var(--tbc-ink);
	flex: 1 1 auto;
	font-family: var(--tbc-font-display);
	font-size: 16px;
	font-weight: 500;
	min-width: 0;
	padding: 0;
	text-align: center;
}

.tbc-booking-widget__pax-input::-webkit-outer-spin-button,
.tbc-booking-widget__pax-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.tbc-booking-widget__pax-input {
	-moz-appearance: textfield;
}

.tbc-booking-widget__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--tbc-spacing-3);
	justify-content: flex-end;
}

.tbc-booking-widget .tbc-booking-widget__submit {
	min-width: 200px;
	position: relative;
}

.tbc-booking-widget__submit--disabled {
	cursor: not-allowed;
	opacity: 0.45;
}

.tbc-booking-widget__submit-spinner {
	border: 2px solid rgba(252, 252, 254, 0.35);
	border-radius: 50%;
	border-top-color: var(--tbc-canvas);
	display: none;
	height: 14px;
	width: 14px;
	animation: tbc-spin 700ms linear infinite;
}

.tbc-booking-widget__submit--loading .tbc-booking-widget__submit-spinner {
	display: inline-block;
}

.tbc-booking-widget__submit--loading {
	cursor: wait;
}

@keyframes tbc-spin {
	to { transform: rotate(360deg); }
}

.tbc-booking-widget__feedback {
	border-radius: var(--tbc-radius-sm);
	font-size: 13px;
	min-height: 0;
	padding: 0;
}

.tbc-booking-widget__feedback--success {
	background: var(--tbc-hairline);
	color: var(--tbc-ink);
	padding: var(--tbc-spacing-3);
}

.tbc-booking-widget__feedback--error {
	background: var(--tbc-sun-soft);
	color: var(--tbc-sun-deep);
	padding: var(--tbc-spacing-3);
}

.tbc-booking-widget__feedback--info {
	background: var(--tbc-hairline);
	color: var(--tbc-graphite);
	padding: var(--tbc-spacing-3);
}

.tbc-booking-widget--submitted .tbc-booking-widget__grid,
.tbc-booking-widget--submitted .tbc-booking-widget__contact,
.tbc-booking-widget--submitted .tbc-booking-widget__actions {
	opacity: 0.5;
	pointer-events: none;
}

/* Inline layout responsive grid */
@media (min-width: 480px) {
	.tbc-booking-widget__grid {
		grid-template-columns: 1fr 1fr;
	}
	.tbc-booking-widget__contact {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1024px) {
	.tbc-booking-widget__grid {
		grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1fr;
	}
}

/* tbc-booking-widget --wizard
   --------------------------- */
.tbc-booking-widget--wizard {
	/* Padding de la carte expose en variable : les bandeaux full-bleed
	   (header, estimation) annulent EXACTEMENT ce padding par marge negative.
	   Changer le padding (mobile, modale) ne se fait qu'ici. */
	--tbc-wizard-pad: var(--tbc-spacing-6);
	background: var(--tbc-canvas);
	border: 1.5px solid var(--tbc-sun);
	border-radius: var(--tbc-radius-lg);
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-5);
	min-height: 520px;
	overflow: hidden;
	padding: var(--tbc-wizard-pad);
}

@media (min-width: 1024px) {
	.tbc-booking-widget--wizard {
		position: sticky;
		top: 96px; /* ajuster a la hauteur du header sticky du site */
	}
}

/* En-tete : plus de bandeau ni de trajet (la premiere pilule ou section le
   porte deja). Hors modale il sort du flux et ne garde que son titre, pour les
   lecteurs d'ecran ; en modale il ne montre que la croix (regles plus bas). */
.tbc-wizard__header {
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.tbc-wizard__header-top {
	align-items: center;
	display: flex;
	justify-content: flex-end;
}

.tbc-wizard__price {
	flex-shrink: 0;
	line-height: 1.1;
	margin: 0;
	text-align: right;
}

.tbc-wizard__price-from {
	color: var(--tbc-sun-deep);
	display: block;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.tbc-wizard__price-amount {
	color: var(--tbc-sun-deep);
	display: block;
	font-family: var(--tbc-font-display);
	font-size: 26px;
	font-weight: 500;
}

.tbc-wizard__price-unit {
	color: var(--tbc-graphite);
	display: block;
	font-size: 13px;
	font-weight: 500;
	margin-top: 2px;
}

@media (max-width: 420px) {
	.tbc-wizard__price {
		text-align: left;
	}
}

.tbc-wizard__title {
	/* Typo = step .tbc-h4. Ici : layout + couleur. */
	color: var(--tbc-ink);
	margin: 0;
}

/* ==========================================================================
   Composants partages entre widgets
   ==========================================================================

   Motifs d'interaction communs, poses A COTE de la classe BEM du widget, comme
   .tbc-btn et l'echelle .tbc-hN. Le BEM ne garde que ce qui lui est propre.

       <button class="tbc-xxx__row tbc-disclosure" aria-expanded="false">

   Specificite : double classe = (0,2,0), ce qui bat le reset Rey
   `button[type=*]` (0,1,1) sans !important et sans scoper par widget. Un widget
   qui doit surcharger le motif le fait APRES dans ce fichier, a specificite
   egale ou superieure (cf. .tbc-wizard__acc--open plus bas).
   ========================================================================== */

/* Repli : la ligne cliquable d'un contenu depliable. Le contenu, lui, reste
   dans le DOM et n'est masque que par l'attribut [hidden] (indexabilite). */
.tbc-disclosure.tbc-disclosure {
	align-items: center;
	background: var(--tbc-canvas);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-md);
	color: var(--tbc-ink);
	cursor: pointer;
	display: flex;
	font-family: inherit;
	gap: var(--tbc-spacing-3);
	justify-content: space-between;
	padding: var(--tbc-spacing-3) var(--tbc-spacing-4);
	text-align: left;
	transition: border-color var(--tbc-transition-fast), background-color var(--tbc-transition-fast);
	width: 100%;
}

.tbc-disclosure.tbc-disclosure:hover {
	border-color: var(--tbc-ink);
}

.tbc-disclosure.tbc-disclosure:focus-visible {
	box-shadow: var(--tbc-focus-ring);
	outline: none;
}

/* Segmente : un groupe d'options exclusives (radiogroup ou tablist).
   L'etat actif s'accroche a l'ARIA (aria-checked / aria-selected), que le
   markup et le JS maintiennent deja : aucune classe d'etat a synchroniser, et
   le motif marche pour un radiogroup comme pour des onglets. */
.tbc-segment {
	display: flex;
	gap: var(--tbc-spacing-2);
}

.tbc-segment__option.tbc-segment__option {
	background: var(--tbc-canvas);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-md);
	color: var(--tbc-graphite);
	cursor: pointer;
	flex: 1;
	font-family: inherit;
	font-size: 14px;
	padding: var(--tbc-spacing-3);
	transition: border-color var(--tbc-transition-fast), background-color var(--tbc-transition-fast), color var(--tbc-transition-fast);
}

.tbc-segment__option.tbc-segment__option:hover {
	border-color: var(--tbc-stone);
}

/* Etat choisi = celui du switch du kit (fond sun plein, texte ink), pas une
   peau a part. */
.tbc-segment__option.tbc-segment__option[aria-checked="true"],
.tbc-segment__option.tbc-segment__option[aria-selected="true"] {
	background: var(--tbc-sun);
	border-color: var(--tbc-sun);
	color: var(--tbc-ink);
	font-weight: 500;
}

.tbc-segment__option.tbc-segment__option:focus-visible {
	box-shadow: var(--tbc-focus-ring);
	outline: none;
}

/* Option pleine largeur : la pile verticale (creneaux horaires, listes). */
.tbc-segment__option--block.tbc-segment__option--block {
	flex: none;
	text-align: left;
	width: 100%;
}

/* Accordeon du wizard
   -------------------
   Une section par etape, une seule ouverte. Repliee et renseignee : ligne
   resume (pastille + valeur + « Modifier »). Repliee et vide : titre de la
   section + « Choisir ». Ouverte : le titre seul, sans boite, puis le panneau.
   Le bouton est scope sous .tbc-booking-widget (0,2,0) pour battre le reset
   button[type=*] du theme Rey. */
.tbc-wizard__acc {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-3);
}

/* Section ouverte : le resume redevient un simple titre de panneau. */
.tbc-wizard__acc--open .tbc-wizard__acc-sum,
.tbc-wizard__acc--open .tbc-wizard__acc-sum:hover {
	background: none;
	border-color: transparent;
	cursor: default;
	padding-left: 0;
	padding-right: 0;
}

.tbc-wizard__acc-sum-l {
	align-items: center;
	display: flex;
	gap: var(--tbc-spacing-2);
	min-width: 0;
}

/* Colonne valeur + complement : un trajet complet ne tient pas sur une ligne
   dans la carte du wizard (~330px), les passagers passent donc dessous. */
.tbc-wizard__acc-sum-txt {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.tbc-wizard__acc-sum-v {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	display: -webkit-box;
	font-size: 15px;
	font-weight: 500;
	line-clamp: 2;
	line-height: 1.35;
	overflow: hidden;
}

.tbc-wizard__acc-sum-k {
	color: var(--tbc-graphite);
	font-size: 12px;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Pastille de section renseignee ; absente tant que la section est vide. */
.tbc-wizard__acc-chk {
	color: var(--tbc-sun-deep);
	flex: none;
	visibility: hidden;
}

.tbc-wizard__acc--done .tbc-wizard__acc-chk {
	visibility: visible;
}

.tbc-wizard__acc--open .tbc-wizard__acc-chk {
	display: none;
}

.tbc-wizard__acc-edit {
	color: var(--tbc-graphite);
	flex: none;
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Section vide et repliee : titre en retrait, elle n'est pas encore remplie. */
.tbc-wizard__acc:not(.tbc-wizard__acc--done):not(.tbc-wizard__acc--open) .tbc-wizard__acc-sum-v {
	color: var(--tbc-graphite);
	font-weight: 400;
}

/* Wizard : les sections passent en fil d'Ariane tres petit en tete. Chaque
   section se dissout (display: contents) : les quatre resumes se rangent en
   ligne, seul le panneau ouvert s'affiche dessous. Memes boutons, memes clics,
   meme ARIA (aria-expanded / aria-controls) qu'en accordeon. */
.tbc-booking-widget[data-layout="wizard"] .tbc-wizard__form {
	align-items: center;
	flex-flow: row wrap;
	gap: var(--tbc-spacing-4) var(--tbc-spacing-2);
}

.tbc-booking-widget[data-layout="wizard"] .tbc-wizard__acc {
	display: contents;
}

.tbc-booking-widget[data-layout="wizard"] .tbc-wizard__panel,
.tbc-booking-widget[data-layout="wizard"] .tbc-wizard__nav,
.tbc-booking-widget[data-layout="wizard"] .tbc-wizard__feedback {
	flex: 1 1 100%;
	order: 1;
}

/* Une etape : texte seul (12 px) ; faite = encre + coche ; en cours = gras. */
.tbc-booking-widget[data-layout="wizard"] .tbc-wizard__acc-sum.tbc-disclosure {
	background: none;
	border: 0;
	border-radius: var(--tbc-radius-sm);
	color: var(--tbc-muted);
	flex: none;
	font: var(--tbc-font-body-sm-regular);
	gap: var(--tbc-spacing-1);
	justify-content: flex-start;
	min-height: var(--tbc-spacing-6);
	padding: 0;
	width: auto;
}

.tbc-booking-widget[data-layout="wizard"] .tbc-wizard__acc-sum.tbc-disclosure:hover {
	color: var(--tbc-ink);
}

.tbc-booking-widget[data-layout="wizard"] .tbc-wizard__acc--done .tbc-wizard__acc-sum.tbc-disclosure {
	color: var(--tbc-ink);
}

.tbc-booking-widget[data-layout="wizard"] .tbc-wizard__acc--open .tbc-wizard__acc-sum.tbc-disclosure {
	color: var(--tbc-ink);
	font: var(--tbc-font-label-sm-bold);
}

.tbc-booking-widget[data-layout="wizard"] .tbc-wizard__acc-sum::after {
	content: attr(data-acc-crumb);
}

.tbc-booking-widget[data-layout="wizard"] .tbc-wizard__acc + .tbc-wizard__acc .tbc-wizard__acc-sum::before {
	color: var(--tbc-stone);
	content: "›";
	content: "›" / "";
	margin-right: var(--tbc-spacing-1);
}

.tbc-booking-widget[data-layout="wizard"] .tbc-wizard__acc-sum-txt,
.tbc-booking-widget[data-layout="wizard"] .tbc-wizard__acc-edit,
.tbc-booking-widget[data-layout="wizard"] .tbc-wizard__acc:not(.tbc-wizard__acc--done) .tbc-wizard__acc-chk {
	display: none;
}

/* Route prefill banner (wizard step 2, route context) */
.tbc-wizard__route-banner {
	align-items: center;
	background: var(--tbc-hairline);
	border-radius: var(--tbc-radius-sm);
	display: flex;
	flex-wrap: wrap;
	font-size: 14px;
	gap: var(--tbc-spacing-2);
	padding: 10px var(--tbc-spacing-3);
}

.tbc-wizard__route-banner-icon {
	color: var(--tbc-sun-deep);
	flex-shrink: 0;
}

.tbc-wizard__route-banner-text {
	color: var(--tbc-ink);
	font-weight: 500;
}

.tbc-wizard__route-banner-arrow {
	color: var(--tbc-graphite);
	margin: 0 2px;
}

.tbc-wizard__route-banner-meta {
	color: var(--tbc-stone);
	font-size: 12px;
	margin-left: auto;
}

/* Garde-fou : tout element marque [hidden] par le JS doit reellement
   disparaitre, meme si une regle display: (flex/grid) le cible par ailleurs.
   Sans ca, form.hidden = true restait sans effet et l'etat "Demande envoyee"
   laissait le formulaire + le bouton "Envoi en cours..." visibles. */
.tbc-booking-widget [hidden] {
	display: none !important;
}

.tbc-wizard__form {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-4);
}

.tbc-wizard__panel {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-4);
	animation: tbc-fade-in-up 240ms ease forwards;
}

.tbc-wizard__panel[hidden] {
	display: none;
}

.tbc-wizard__panel-title {
	color: var(--tbc-ink);
	font-family: var(--tbc-font-display);
	font-size: 16px;
	font-weight: 500;
	margin: 0;
	text-align: center;
}

.tbc-wizard__modes {
	display: grid;
	gap: var(--tbc-spacing-2);
	grid-template-columns: 1fr;
}

@media (min-width: 480px) {
	.tbc-wizard__modes {
		grid-template-columns: 1fr 1fr;
	}
}

.tbc-wizard__mode-option {
	align-items: center;
	background: var(--tbc-canvas);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-sm);
	cursor: pointer;
	display: flex;
	font-size: 14px;
	gap: var(--tbc-spacing-2);
	padding: var(--tbc-spacing-3);
	transition: background-color var(--tbc-transition-base), border-color var(--tbc-transition-base);
}

.tbc-wizard__mode-option:hover {
	background: var(--tbc-hairline);
}

.tbc-wizard__mode-option input[type="radio"] {
	accent-color: var(--tbc-ink);
}

.tbc-wizard__mode-option input[type="radio"]:checked ~ span {
	font-weight: 500;
}

.tbc-wizard__mode-option:has(input[type="radio"]:checked) {
	background: var(--tbc-hairline);
	border-color: var(--tbc-ink);
}

/* Depart / arrivee empiles : la carte du wizard fait ~390px, deux pilules cote
   a cote y tronquaient le nom du port. Meme rythme que le hero vertical. */
.tbc-wizard__ports {
	display: grid;
	gap: var(--tbc-spacing-2);
	grid-template-columns: 1fr;
}

.tbc-wizard__row {
	display: grid;
	gap: var(--tbc-spacing-3);
	grid-template-columns: 1fr;
}

@media (min-width: 480px) {
	.tbc-wizard__row {
		grid-template-columns: 1fr 1fr;
	}
}

/* Bloc "Evenements ce jour-la" sous le calendrier (wizard step 2). Rempli par
   booking-widget.js a la selection d'une date qui porte un ou plusieurs events. */
.tbc-wizard__day-events {
	background: var(--tbc-sun-soft);
	border-radius: var(--tbc-radius-sm);
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: var(--tbc-spacing-2) var(--tbc-spacing-3);
}

.tbc-wizard__day-events[hidden] {
	display: none;
}

.tbc-wizard__day-events-title {
	color: var(--tbc-sun-deep);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.01em;
	margin: 0;
	text-transform: uppercase;
}

.tbc-wizard__day-events-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tbc-wizard__day-events-item {
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.tbc-wizard__day-events-name,
.tbc-wizard__day-events-link {
	color: var(--tbc-ink);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
}

.tbc-wizard__day-events-link {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tbc-wizard__day-events-link:hover,
.tbc-wizard__day-events-link:focus-visible {
	color: var(--tbc-event);
}

.tbc-wizard__day-events-period {
	color: var(--tbc-graphite);
	font-size: 12px;
	line-height: 1.3;
}

/* Passenger slider (wizard step 2) */
.tbc-wizard__pax-control {
	align-items: center;
	display: flex;
	gap: var(--tbc-spacing-3);
	min-height: 40px;
}

.tbc-wizard__pax-range {
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	cursor: pointer;
	flex: 1 1 auto;
	height: 20px;
	min-width: 130px;
}

.tbc-wizard__pax-range::-webkit-slider-runnable-track {
	background: var(--tbc-hairline);
	border-radius: var(--tbc-radius-pill);
	height: 4px;
}

.tbc-wizard__pax-range::-moz-range-track {
	background: var(--tbc-hairline);
	border-radius: var(--tbc-radius-pill);
	height: 4px;
}

.tbc-wizard__pax-range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	background: var(--tbc-ink);
	border: 0;
	border-radius: 50%;
	height: 18px;
	margin-top: -7px;
	width: 18px;
}

.tbc-wizard__pax-range::-moz-range-thumb {
	background: var(--tbc-ink);
	border: 0;
	border-radius: 50%;
	height: 18px;
	width: 18px;
}

.tbc-wizard__pax-range:focus-visible {
	outline: none;
}

.tbc-wizard__pax-range:focus-visible::-webkit-slider-thumb {
	box-shadow: var(--tbc-focus-ring);
}

.tbc-wizard__pax-range:focus-visible::-moz-range-thumb {
	box-shadow: var(--tbc-focus-ring);
}

.tbc-wizard__pax-output {
	color: var(--tbc-ink);
	font-family: var(--tbc-font-display);
	font-size: 15px;
	font-weight: 500;
	min-width: 92px;
	text-align: right;
	white-space: nowrap;
}

.tbc-wizard__options {
	border: 0;
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-2);
	margin: 0;
	padding: 0;
}

.tbc-wizard__option-checkbox {
	align-items: center;
	cursor: pointer;
	display: flex;
	font-size: 14px;
	gap: var(--tbc-spacing-2);
}

.tbc-wizard__option-checkbox input[type="checkbox"] {
	accent-color: var(--tbc-ink);
}

.tbc-wizard__option-text {
	align-items: baseline;
	display: flex;
	flex: 1;
	gap: var(--tbc-spacing-2);
	justify-content: space-between;
}

.tbc-wizard__option-price {
	color: var(--tbc-sun-deep);
	font-size: 12px;
	font-weight: 500;
	white-space: nowrap;
}

/* ============================================================================
   Wizard restructure : estimation indicative, pax stepper, sens du trajet,
   ligne trajet verrouille, cartes de port (contexte evenement), banniere event.
   ========================================================================= */

/* Estimation indicative, dans le pied du devis (.tbc-wizard__nav) : le montant
   au-dessus de sa legende, un filet vertical la separe du CTA. */
.tbc-wizard__estimate {
	align-items: flex-start;
	border-right: var(--tbc-hairline-width) solid var(--tbc-hairline);
	display: flex;
	flex: 1 1 0%;
	flex-direction: column-reverse;
	min-width: 0;
	padding-right: var(--tbc-spacing-3);
}

.tbc-wizard__estimate-text {
	display: flex;
	flex-wrap: wrap;
	gap: 0 var(--tbc-spacing-1);
}

.tbc-wizard__estimate-label {
	color: var(--tbc-sun-deep);
	font: var(--tbc-font-body-sm-regular);
}

.tbc-wizard__estimate-note {
	color: var(--tbc-muted);
	font: var(--tbc-font-body-sm-regular);
}

.tbc-wizard__estimate-note::before {
	content: "· ";
}

.tbc-wizard__estimate-amount {
	color: var(--tbc-ink);
	font: var(--tbc-font-label-xl-bold);
	white-space: nowrap;
}

/* Libelle tarif en mise a jour : du texte, pas un montant, il revient a la ligne dans sa colonne. */
.tbc-wizard__estimate-amount[data-pending] {
	max-width: 100%;
	white-space: normal;
}

/* Banniere evenement (contexte event, au-dessus de l'etape 1). */
.tbc-wizard__event-banner {
	align-items: flex-start;
	background: var(--tbc-hairline);
	border-radius: var(--tbc-radius-md);
	display: flex;
	gap: var(--tbc-spacing-3);
	margin-bottom: var(--tbc-spacing-4);
	padding: var(--tbc-spacing-3) var(--tbc-spacing-4);
}

.tbc-wizard__event-banner-icon {
	color: var(--tbc-graphite);
	flex-shrink: 0;
	margin-top: 1px;
}

.tbc-wizard__event-banner-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.tbc-wizard__event-banner-title {
	color: var(--tbc-ink);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
}

.tbc-wizard__event-banner-meta {
	color: var(--tbc-graphite);
	font-size: 12px;
}

/* Pax stepper +/- (etape 1, toutes contextes). */
.tbc-wizard__pax-stepper {
	align-items: center;
	display: flex;
	gap: var(--tbc-spacing-5);
	justify-content: center;
	margin: var(--tbc-spacing-2) 0 var(--tbc-spacing-3);
}

.tbc-wizard__pax-value {
	align-items: center;
	display: flex;
	flex-direction: column;
	min-width: 70px;
}

.tbc-route-hero .tbc-wizard__pax-number,
.tbc-booking-widget .tbc-wizard__pax-number {
	-moz-appearance: textfield;
	background: transparent;
	border: 0;
	color: var(--tbc-ink);
	font-family: var(--tbc-font-display);
	font-size: 32px;
	font-weight: 500;
	line-height: 1;
	padding: 0;
	text-align: center;
	width: 100%;
}

.tbc-wizard__pax-number::-webkit-outer-spin-button,
.tbc-wizard__pax-number::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.tbc-wizard__pax-number:focus-visible {
	outline: none;
}

.tbc-wizard__pax-caption {
	color: var(--tbc-graphite);
	font-size: 12px;
	margin-top: 2px;
}

/* Pas de ligne vide sous le stepper : le receptacle d'erreur pax ne reserve sa
   place que s'il porte vraiment un message (le stepper borne deja 1-12). */
.tbc-wizard__pax-stepper + .tbc-booking-widget__error:empty {
	display: none;
}

/* Champ passagers du hero vertical : meme stepper que le wizard, en version
   compacte alignee a droite dans la pilule (le champ n'est plus cliquable :
   ce sont les deux boutons qui agissent). */
.tbc-route-hero--vertical .tbc-route-hero__field--pax,
.tbc-booking-widget--pills .tbc-route-hero__field--pax {
	cursor: default;
}

.tbc-route-hero--vertical .tbc-wizard__pax-stepper,
.tbc-booking-widget--pills .tbc-wizard__pax-stepper {
	gap: var(--tbc-spacing-2);
	margin: 0 0 0 auto;
}

.tbc-route-hero--vertical .tbc-wizard__pax-value,
.tbc-booking-widget--pills .tbc-wizard__pax-value {
	min-width: 34px;
}

.tbc-route-hero .tbc-wizard__pax-btn,
.tbc-booking-widget--pills .tbc-wizard__pax-btn {
	--tbc-btn-h: 34px;
}

.tbc-route-hero .tbc-wizard__pax-number,
.tbc-booking-widget--pills .tbc-wizard__pax-number {
	font-size: 20px;
}

/* Toggle aller simple / aller-retour : le conteneur ne garde que sa marge, la
   peau des options est le composant partage .tbc-segment__option. */
.tbc-wizard__trip {
	margin-top: var(--tbc-spacing-3);
}


/* Multi-date : chips recap repliees (« liste de courses ») + bouton d'ajout.
   Clic sur la chip = rouvrir l'editeur (calendrier) pour modifier. */
.tbc-wizard__schedule {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-2);
	margin-top: var(--tbc-spacing-3);
}

.tbc-wizard__sched-box {
	align-items: stretch;
	background: var(--tbc-sun-soft);
	border: 0.5px solid var(--tbc-sun);
	border-radius: var(--tbc-radius-md);
	display: flex;
	overflow: hidden;
}

.tbc-booking-widget .tbc-wizard__sched-box-edit {
	align-items: center;
	background: transparent;
	border: 0;
	color: var(--tbc-ink);
	cursor: pointer;
	display: flex;
	flex: 1;
	font-family: inherit;
	font-size: 14px;
	gap: var(--tbc-spacing-2);
	justify-content: space-between;
	padding: var(--tbc-spacing-2) var(--tbc-spacing-3);
	text-align: left;
}

.tbc-booking-widget .tbc-wizard__sched-box-edit:hover .tbc-wizard__sched-box-hint {
	text-decoration: underline;
}

.tbc-wizard__sched-box-label {
	font-weight: 500;
}

.tbc-wizard__sched-box-hint {
	color: var(--tbc-sun-deep);
	flex-shrink: 0;
	font-size: 12px;
	font-weight: 500;
}

.tbc-booking-widget .tbc-wizard__sched-box-remove {
	background: transparent;
	border: 0;
	border-left: 0.5px solid var(--tbc-sun);
	color: var(--tbc-graphite);
	cursor: pointer;
	flex-shrink: 0;
	line-height: 1;
	padding: 0 var(--tbc-spacing-3);
}

.tbc-booking-widget .tbc-wizard__sched-box-remove:hover {
	color: var(--tbc-ink);
}

.tbc-booking-widget .tbc-wizard__sched-box-edit:focus-visible,
.tbc-booking-widget .tbc-wizard__sched-box-remove:focus-visible {
	box-shadow: var(--tbc-focus-ring);
	outline: none;
}

.tbc-wizard__sched-cal {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-3);
}

/* Peau = .tbc-btn--ghost --block ; ne reste que le lisere pointille. */
.tbc-booking-widget .tbc-wizard__add-date {
	--tbc-btn-bc: var(--tbc-hairline);
	--tbc-btn-fg: var(--tbc-sun-deep);
	border-radius: var(--tbc-radius-md);
	border-style: dashed;
	margin-top: var(--tbc-spacing-3);
}

.tbc-booking-widget .tbc-wizard__add-date:hover {
	--tbc-btn-bc: var(--tbc-sun);
}

/* Ligne trajet verrouille (route / event a route unique) : A -> B (-> A). */
.tbc-wizard__trajet-line {
	align-items: center;
	background: var(--tbc-hairline);
	border-radius: var(--tbc-radius-sm);
	color: var(--tbc-graphite);
	display: flex;
	font-size: 14px;
	gap: var(--tbc-spacing-2);
	margin-top: var(--tbc-spacing-2);
	padding: var(--tbc-spacing-3);
}

.tbc-wizard__trajet-icon {
	color: var(--tbc-sun-deep);
	flex-shrink: 0;
}

.tbc-wizard__trajet-text {
	align-items: center;
	color: var(--tbc-ink);
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
}

.tbc-wizard__trajet-arrow {
	color: var(--tbc-stone);
}

.tbc-wizard__trajet-return {
	align-items: center;
	display: inline-flex;
	gap: 4px;
}

/* Cartes de port de depart (contexte event, plusieurs routes liees). */
.tbc-wizard__port-cards {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-2);
}

.tbc-booking-widget .tbc-wizard__port-card {
	align-items: center;
	background: var(--tbc-canvas);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-md);
	cursor: pointer;
	display: flex;
	gap: var(--tbc-spacing-3);
	padding: var(--tbc-spacing-3) var(--tbc-spacing-4);
	text-align: left;
	transition: border-color var(--tbc-transition-fast), background-color var(--tbc-transition-fast);
	width: 100%;
}

.tbc-booking-widget .tbc-wizard__port-card:hover {
	border-color: var(--tbc-stone);
}

.tbc-booking-widget .tbc-wizard__port-card--on {
	background: var(--tbc-sun-soft);
	border-color: var(--tbc-sun);
}

.tbc-booking-widget .tbc-wizard__port-card:focus-visible {
	box-shadow: var(--tbc-focus-ring);
	outline: none;
}

.tbc-wizard__port-card-radio {
	border: 0.5px solid var(--tbc-stone);
	border-radius: 50%;
	flex: 0 0 auto;
	height: 16px;
	position: relative;
	width: 16px;
}

.tbc-wizard__port-card--on .tbc-wizard__port-card-radio {
	border-color: var(--tbc-ink);
}

.tbc-wizard__port-card--on .tbc-wizard__port-card-radio::after {
	background: var(--tbc-ink);
	border-radius: 50%;
	content: "";
	inset: 3px;
	position: absolute;
}

.tbc-wizard__port-card-info {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

.tbc-wizard__port-card-name {
	color: var(--tbc-ink);
	font-size: 14px;
}

.tbc-wizard__port-card-meta {
	color: var(--tbc-graphite);
	font-size: 12px;
}

.tbc-wizard__port-card-price {
	color: var(--tbc-ink);
	font-family: var(--tbc-font-display);
	font-size: 15px;
	font-weight: 500;
	white-space: nowrap;
}

/* Pied du devis, facon pied du menu mobile : estimation, filet, CTA compact.
   Sans estimation (pas encore de trajet), le CTA reprend toute la largeur. */
.tbc-wizard__nav {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--tbc-spacing-3);
	justify-content: space-between;
}

.tbc-booking-widget .tbc-wizard__nav-button {
	flex: 0 0 auto;
}

.tbc-booking-widget .tbc-wizard__estimate[hidden] ~ .tbc-wizard__nav-button {
	flex: 1 1 auto;
}

.tbc-wizard__nav-icon {
	flex-shrink: 0;
}

/* Peau = .tbc-btn ; l'ecart avec l'etape vient du pied, plus de marge ici. */

.tbc-wizard__nav-button--submit.tbc-booking-widget__submit--loading {
	cursor: wait;
}

.tbc-wizard__feedback {
	font-size: 13px;
	min-height: 0;
}

.tbc-wizard__feedback:empty {
	display: none;
}

.tbc-wizard__feedback.tbc-booking-widget__feedback--error {
	background: var(--tbc-sun-soft);
	border-radius: var(--tbc-radius-sm);
	color: var(--tbc-sun-deep);
	padding: var(--tbc-spacing-3);
}

.tbc-wizard__feedback.tbc-booking-widget__feedback--info {
	background: var(--tbc-hairline);
	border-radius: var(--tbc-radius-sm);
	color: var(--tbc-graphite);
	padding: var(--tbc-spacing-3);
}

/* Wizard success screen */
.tbc-wizard__success {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-3);
	min-height: 320px;
	justify-content: center;
	padding: var(--tbc-spacing-5);
	text-align: center;
}

.tbc-wizard__success[hidden] {
	display: none;
}

.tbc-wizard__success-check {
	color: var(--tbc-sun-deep);
}

.tbc-wizard__success-title {
	color: var(--tbc-ink);
	font-family: var(--tbc-font-display);
	font-size: 18px;
	font-weight: 500;
	margin: 0;
}

.tbc-wizard__success-recap {
	color: var(--tbc-graphite);
	font-size: 14px;
	margin: 0;
}

.tbc-wizard__success-link {
	background: var(--tbc-ink);
	border-radius: var(--tbc-radius-sm);
	color: var(--tbc-canvas);
	font-size: 14px;
	font-weight: 500;
	margin-top: var(--tbc-spacing-3);
	padding: 10px var(--tbc-spacing-5);
	text-decoration: none;
	transition: background-color var(--tbc-transition-base);
}

.tbc-wizard__success-link:hover,
.tbc-wizard__success-link:focus-visible {
	background: var(--tbc-ink);
}

/* Wizard recovery modal */
.tbc-wizard__recovery {
	background: var(--tbc-hairline);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-md);
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-3);
	padding: var(--tbc-spacing-4);
}

.tbc-wizard__recovery[hidden] {
	display: none;
}

.tbc-wizard__recovery-title {
	color: var(--tbc-ink);
	font-family: var(--tbc-font-display);
	font-size: 14px;
	font-weight: 500;
	margin: 0;
}

.tbc-wizard__recovery-meta {
	color: var(--tbc-graphite);
	font-size: 13px;
	margin: 0;
}

.tbc-wizard__recovery-actions {
	display: flex;
	gap: var(--tbc-spacing-2);
}

.tbc-wizard__recovery-resume,
.tbc-wizard__recovery-restart {
	background: var(--tbc-canvas);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-sm);
	color: var(--tbc-ink);
	cursor: pointer;
	font-family: inherit;
	font-size: 13px;
	padding: 8px var(--tbc-spacing-4);
	transition: background-color var(--tbc-transition-base);
}

.tbc-wizard__recovery-resume {
	background: var(--tbc-ink);
	border-color: var(--tbc-ink);
	color: var(--tbc-canvas);
	transition: opacity var(--tbc-transition-base);
}

.tbc-wizard__recovery-resume:hover,
.tbc-wizard__recovery-resume:focus-visible {
	opacity: 0.9;
}

.tbc-wizard__recovery-restart:hover,
.tbc-wizard__recovery-restart:focus-visible {
	background: var(--tbc-hairline);
}

/* Datepicker
   ---------- */
.tbc-datepicker {
	background: var(--tbc-canvas);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-md);
	color: var(--tbc-ink);
	display: flex;
	flex-direction: column;
	font-family: var(--tbc-font-body);
	gap: var(--tbc-spacing-2);
	padding: var(--tbc-spacing-3);
	position: relative;
	width: 100%;

	/* Hauteur d'une cellule : exposee en variable pour que la densite mobile
	   puisse la resserrer sans valeur en dur ailleurs. */
	--tbc-datepicker-day-h: 36px;
}

.tbc-datepicker__header {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

/* Peau = .tbc-btn--icon --ghost. */
.tbc-datepicker__nav {
	--tbc-btn-h: 32px;
	--tbc-btn-fg: var(--tbc-ink);
}

.tbc-datepicker__month-label {
	color: var(--tbc-ink);
	font-family: var(--tbc-font-display);
	font-size: 14px;
	font-weight: 500;
	text-transform: capitalize;
}

/* Mode `months` (plusieurs mois empiles) : chaque mois porte son libelle. */
.tbc-datepicker__month {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-2);
}

.tbc-datepicker__weekdays {
	color: var(--tbc-graphite);
	display: grid;
	font-size: 10px;
	font-weight: 500;
	grid-template-columns: repeat(7, 1fr);
	letter-spacing: 0.04em;
	text-align: center;
	text-transform: uppercase;
}

.tbc-datepicker__weekdays span {
	padding: 4px 0;
}

.tbc-datepicker__grid {
	display: grid;
	gap: 2px;
	grid-template-columns: repeat(7, 1fr);
}

.tbc-datepicker__day {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: var(--tbc-radius-sm);
	color: var(--tbc-ink);
	cursor: pointer;
	display: inline-flex;
	font-family: var(--tbc-font-body);
	font-size: 13px;
	height: var(--tbc-datepicker-day-h);
	justify-content: center;
	padding: 0;
	position: relative;
	transition: background-color var(--tbc-transition-fast);
}

.tbc-datepicker__day--blank {
	background: transparent;
	cursor: default;
}

.tbc-datepicker__day:hover:not(.tbc-datepicker__day--disabled):not(.tbc-datepicker__day--blank) {
	background: var(--tbc-hairline);
}

.tbc-datepicker__day:focus-visible {
	box-shadow: var(--tbc-focus-ring);
	outline: none;
}

.tbc-datepicker__day--today {
	font-weight: 500;
}

.tbc-datepicker__day--today::after {
	background: var(--tbc-ink);
	border-radius: 50%;
	bottom: 4px;
	content: '';
	height: 3px;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
	width: 3px;
}

.tbc-datepicker__day--selected,
.tbc-datepicker__day--selected:hover {
	background: var(--tbc-ink);
	color: var(--tbc-canvas);
}

.tbc-datepicker__day--selected.tbc-datepicker__day--today::after {
	background: var(--tbc-canvas);
}

.tbc-datepicker__day--flagged {
	background: var(--tbc-sun-soft);
	color: var(--tbc-sun-deep);
}

.tbc-datepicker__day--flagged.tbc-datepicker__day--selected {
	background: var(--tbc-sun);
	color: var(--tbc-sun-deep);
}

.tbc-datepicker__day--disabled {
	color: var(--tbc-stone);
	cursor: not-allowed;
	opacity: 0.5;
}

/* Pastille event sous le chiffre d'un jour flagge, couleur de la legende carte */
.tbc-datepicker__day-dot {
	background: var(--tbc-event);
	border-radius: 50%;
	bottom: 4px;
	height: 4px;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
	width: 4px;
}

/* Un jour flagge qui est aussi aujourd'hui montre la pastille event, pas le point du jour */
.tbc-datepicker__day--flagged.tbc-datepicker__day--today::after {
	display: none;
}

/* Popover hover/focus listant les events d'un jour flagge. Positionne par JS
   (left/top) dans le picker pour ne jamais deborder de la carte. Purement
   informatif : aria-hidden + pointer-events:none, le resume parle via
   l'aria-label du bouton jour. */
.tbc-datepicker__day-events {
	background: var(--tbc-canvas);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-sm);
	box-shadow: 0 6px 20px rgba(14, 42, 71, 0.16);
	display: flex;
	flex-direction: column;
	gap: 4px;
	max-width: 200px;
	padding: 8px 10px;
	pointer-events: none;
	position: absolute;
	z-index: 6;
}

.tbc-datepicker__day-events[hidden] {
	display: none;
}

.tbc-datepicker__day-events-item {
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.tbc-datepicker__day-events-title {
	color: var(--tbc-ink);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
}

.tbc-datepicker__day-events-period {
	color: var(--tbc-graphite);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
}

/* Wizard responsive: hauteur libre + padding reduit en mobile */
@media (max-width: 639px) {
	.tbc-booking-widget--wizard {
		--tbc-wizard-pad: var(--tbc-spacing-4);
		min-height: auto;

		/* Densite mobile : l'echelle d'espacement est REDEFINIE localement, elle
		   n'est pas contournee. Tout ce qui consomme --tbc-spacing-* dans la
		   carte (gouttieres, paddings, marges, popovers) se resserre d'un coup,
		   sans une seule valeur en dur dans les composants. */
		--tbc-spacing-1: 3px;
		--tbc-spacing-2: 6px;
		--tbc-spacing-3: 10px;
		--tbc-spacing-4: 12px;
		--tbc-spacing-5: 18px;
		--tbc-spacing-6: 24px;

		/* Calendrier : la hauteur de cellule etait la seule valeur en dur du
		   bloc, elle est passee en variable (cf. .tbc-datepicker) pour pouvoir
		   se resserrer ici. 6 lignes x 4px = 24px gagnes. */
		--tbc-datepicker-day-h: 32px;
	}
	/* Shrink mobile : scope sous .tbc-booking-widget = (0,2,0) pour battre le
	   step .tbc-h4 (0,1,0) quel que soit l'ordre de chargement. */
	.tbc-booking-widget .tbc-wizard__title {
		font-size: 18px;
	}
}

/* ---------------------------------------------------------------------------
   Theme hardening
   The active Rey theme resets every <button> to transparent background,
   transparent 1px border and padding:0 via
   `button[type=button],button[type=submit]{...}` (specificity 0,1,1), which
   outranks single-class component rules. Les boutons d'action passent
   desormais par le composant .tbc-btn (taxiboatcore-tokens.css), dont le
   selecteur double classe vaut (0,2,0) et bat ce reset sans !important ;
   les regles BEM restantes ne portent que le layout. Les elements qui ne
   sont pas des boutons d'action (cellules du calendrier ci-dessous, radios,
   chips) se defendent toujours en se scopant sous la racine du widget.
   --------------------------------------------------------------------------- */
.tbc-booking-widget--wizard .tbc-datepicker__day--selected,
.tbc-booking-widget--wizard .tbc-datepicker__day--selected:hover {
	background: var(--tbc-ink);
	color: var(--tbc-canvas);
}

.tbc-booking-widget--wizard .tbc-datepicker__day--flagged {
	background: var(--tbc-sun-soft);
	color: var(--tbc-sun-deep);
}

.tbc-booking-widget--wizard .tbc-datepicker__day--flagged.tbc-datepicker__day--selected {
	background: var(--tbc-sun);
	color: var(--tbc-sun-deep);
}

/* tbc-route-map
   ------------- */
.tbc-route-map {
	background: var(--tbc-hairline);
	border-radius: var(--tbc-radius-md);
	overflow: hidden;
	position: relative;
	width: 100%;
}

.tbc-route-map--placeholder,
.tbc-route-map--error {
	align-items: center;
	background: var(--tbc-hairline);
	border: 0.5px dashed var(--tbc-stone);
	display: flex;
	justify-content: center;
	min-height: 200px;
	padding: var(--tbc-spacing-4);
}

.tbc-route-map__placeholder,
.tbc-explore-map__placeholder {
	color: var(--tbc-graphite);
	font-family: var(--tbc-font-body);
	font-size: 13px;
	margin: 0;
	text-align: center;
}

.tbc-route-map__loading,
.tbc-explore-map__loading {
	align-items: center;
	background: var(--tbc-hairline);
	display: flex;
	height: 100%;
	justify-content: center;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 1;
}

.tbc-route-map__spinner,
.tbc-explore-map__spinner {
	border: 2px solid var(--tbc-hairline);
	border-radius: 50%;
	border-top-color: var(--tbc-ink);
	height: 22px;
	width: 22px;
	animation: tbc-spin 800ms linear infinite;
}

.tbc-route-map__marker {
	display: block;
	line-height: 0;
	pointer-events: auto;
	position: relative;
}

/* Mapbox positionne ses marqueurs DOM en absolute (ancres top/left:0 + transform
   = pixel projete de la coordonnee). La regle ci-dessus laisserait .tbc-route-map__marker
   en flux normal : chaque pin deriverait alors de l'empilement cumule des precedents
   (markers hors littoral, pire sur la carte ville). Specificite a 2 classes requise :
   un simple .tbc-route-map__marker { position: absolute } ne l'emporte pas. */
.tbc-route-map .mapboxgl-marker {
	position: absolute;
}

.tbc-route-map__marker-dot {
	background: var(--tbc-ink);
	border: 2px solid var(--tbc-canvas);
	border-radius: 50%;
	box-shadow: 0 1px 4px rgba(10, 10, 10, 0.25);
	display: block;
	height: 14px;
	width: 14px;
}

/* Source ville : pastilles tricolores (ports / destinations / evenements) */
.tbc-route-map__marker--ville .tbc-route-map__marker-dot {
	background: var(--tbc-night);
	cursor: pointer;
}

.tbc-route-map__marker--dest .tbc-route-map__marker-dot {
	background: var(--tbc-sun);
	cursor: pointer;
}

.tbc-route-map__marker--event .tbc-route-map__marker-dot {
	background: var(--tbc-event);
	cursor: pointer;
	height: 16px;
	width: 16px;
}

/* Pin "centre ville" : plus gros et cercle nuit cercle d'or pour le distinguer
   des petites pastilles ports/destinations - c'est le repere de la ville. */
.tbc-route-map__marker--center .tbc-route-map__marker-dot {
	background: var(--tbc-night);
	border: 3px solid var(--tbc-sun);
	box-shadow: 0 2px 8px rgba(10, 10, 10, 0.35);
	cursor: pointer;
	height: 24px;
	width: 24px;
}

/* Source evenements : "cet evenement" (page courante) = pin corail plus gros,
   cercle blanc + anneau nuit pour ressortir parmi les autres pins evenements. */
.tbc-route-map__marker--event-current .tbc-route-map__marker-dot {
	background: var(--tbc-event);
	border: 3px solid var(--tbc-canvas);
	box-shadow: 0 2px 8px rgba(10, 10, 10, 0.35), 0 0 0 2px var(--tbc-night);
	cursor: pointer;
	height: 26px;
	width: 26px;
}

/* Onde autour du pin courant : il reste le repere de la carte sans bulle
   ouverte. Sous la pastille (le transform Mapbox cree le contexte). */
.tbc-route-map .tbc-route-map__marker--event-current::before {
	animation: tbc-route-map-pulse 2.4s ease-out infinite;
	background: var(--tbc-pin-event, var(--tbc-event));
	border-radius: 50%;
	content: "";
	inset: 0;
	position: absolute;
	z-index: -1;
}

@keyframes tbc-route-map-pulse {
	from { opacity: 0.45; transform: scale(1); }
	to { opacity: 0; transform: scale(2.6); }
}

/* Bulle d'apercu au-dessus du pin courant : disque (image, date ou icone)
   + puce de compte a rebours. Fait partie du marqueur : suit le pin et
   ouvre le meme popup au clic. */
.tbc-route-map .tbc-route-map__bubble {
	align-items: center;
	bottom: calc(100% + 12px);
	cursor: pointer;
	display: flex;
	flex-direction: column;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
}

.tbc-route-map .tbc-route-map__bubble-disc {
	align-items: center;
	background: var(--tbc-night) center / cover no-repeat;
	border: 3px solid var(--tbc-canvas);
	border-radius: 50%;
	box-shadow: 0 4px 14px rgba(10, 10, 10, 0.3), 0 0 0 2px var(--tbc-pin-event, var(--tbc-event));
	color: var(--tbc-canvas);
	display: flex;
	flex-direction: column;
	height: 60px;
	justify-content: center;
	position: relative;
	width: 60px;
}

/* Pointe vers le pin, couleur de l'anneau. */
.tbc-route-map .tbc-route-map__bubble-disc::after {
	border: 7px solid transparent;
	border-bottom: 0;
	border-top-color: var(--tbc-canvas);
	content: "";
	left: 50%;
	position: absolute;
	top: calc(100% + 1px);
	transform: translateX(-50%);
}

.tbc-route-map .tbc-route-map__bubble-day,
.tbc-route-map .tbc-route-map__bubble-month {
	display: block;
	text-align: center;
}

/* Icone de pin reglee en options : dessinee pour un fond clair. */
.tbc-route-map .tbc-route-map__bubble-disc--icon {
	background: var(--tbc-canvas);
}

.tbc-route-map .tbc-route-map__bubble-icon {
	border-radius: 0;
	height: 26px;
	object-fit: contain;
	width: 26px;
}

.tbc-route-map .tbc-route-map__bubble-chip {
	background: var(--tbc-sun);
	border-radius: 999px;
	box-shadow: 0 2px 6px rgba(10, 10, 10, 0.2);
	color: var(--tbc-ink);
	left: 50%;
	padding: 1px 8px;
	position: absolute;
	top: -12px;
	transform: translateX(-50%);
	white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
	.tbc-route-map .tbc-route-map__marker--event-current::before {
		animation: none;
		opacity: 0;
	}
}

/* Source route, contenus lies : pin lieu remarquable (couleur lieu en inline
   depuis pin_styles) - legerement plus gros que les pastilles ports. */
.tbc-route-map__marker--lieu .tbc-route-map__marker-dot {
	cursor: pointer;
	height: 15px;
	width: 15px;
}

/* Source route, contenus lies : pin "ville desservie" (couleur ville/soleil en
   inline) - repere distinct des petites pastilles, cercle canvas + ombre. */
.tbc-route-map__marker--ville-center .tbc-route-map__marker-dot {
	border: 3px solid var(--tbc-canvas);
	box-shadow: 0 2px 8px rgba(10, 10, 10, 0.3);
	cursor: pointer;
	height: 22px;
	width: 22px;
}

.tbc-route-map .mapboxgl-popup-content,
.tbc-explore-map .mapboxgl-popup-content {
	border-radius: var(--tbc-radius-sm);
	color: var(--tbc-ink);
	font-family: var(--tbc-font-body);
	font-size: 13px;
	padding: 8px 12px;
}

/* Popup d'un trajet (A -> B) : titre simple */
.tbc-route-map__popup-title {
	display: block;
	font-weight: 700;
	color: var(--tbc-ink);
	text-decoration: none;
}

.tbc-route-map__popup-title:hover {
	color: var(--tbc-night);
}

/* Popup evenement enrichi : media pleine largeur, donc on retire le padding
   par defaut du conteneur mapbox pour CE popup uniquement. */
.tbc-event-popup .mapboxgl-popup-content {
	padding: 0;
	overflow: hidden;
	border-radius: 14px;
	width: 280px;
}

.tbc-route-map__popup-media {
	position: relative;
	height: 128px;
	overflow: hidden;
	background: linear-gradient(135deg, #1a3a5c, var(--tbc-night));
}

.tbc-route-map__popup-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tbc-route-map__popup-grad {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(14, 42, 71, 0.55), transparent 55%);
}

.tbc-route-map__popup-badges {
	position: absolute;
	top: 10px;
	left: 10px;
	right: 36px;
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.tbc-route-map__popup-badge {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 4px 9px;
	border-radius: var(--tbc-radius-pill);
	background: var(--tbc-sun);
	color: var(--tbc-sun-deep);
	box-shadow: 0 1px 4px rgba(10, 10, 10, 0.18);
}

/* Forte demande = jaune soleil ; Coup de cœur = nuit, blanc, avec un cœur. */
.tbc-route-map__popup-badge--forte-demande {
	background: var(--tbc-sun);
	color: var(--tbc-sun-deep);
}

.tbc-route-map__popup-badge--coup-de-coeur {
	background: var(--tbc-night);
	color: #fff;
}

.tbc-route-map__popup-badge--coup-de-coeur::before {
	content: "\2665";
	margin-right: 5px;
}

.tbc-route-map__popup-body {
	padding: 13px 15px 15px;
}

.tbc-route-map__popup--event .tbc-route-map__popup-title {
	font-size: 15px;
	line-height: 1.25;
	margin-bottom: 9px;
}

.tbc-route-map__popup-rows {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 12px;
}

.tbc-route-map__popup-row {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	color: var(--tbc-graphite);
}

.tbc-route-map__popup-row svg {
	color: var(--tbc-sun-deep);
	flex-shrink: 0;
}

.tbc-route-map__popup-row strong {
	font-weight: 500;
	color: var(--tbc-ink);
}

.tbc-route-map__popup-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	height: 38px;
	border-radius: var(--tbc-radius-sm);
	background: var(--tbc-night);
	color: #fff;
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	padding: 0 14px;
	transition: opacity var(--tbc-transition-fast);
}

.tbc-route-map__popup-cta:hover {
	opacity: 0.9;
	color: #fff;
}

/* Barre d'actions du popup evenement : "Estimer" (principal) + "Détails". */
.tbc-route-map__popup-actions {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}

/* "Estimer" = action principale, pre-remplit le booking de la page.
   Peau = .tbc-btn--night --sm ; ne reste que le partage de largeur. */
.tbc-event-popup .tbc-route-map__popup-estimate {
	flex: 1 1 auto;
}

/* Dans la barre d'actions, "Détails" passe en secondaire (contour). */
.tbc-route-map__popup-actions .tbc-route-map__popup-cta {
	background: transparent;
	border: 1px solid var(--tbc-hairline, rgba(10, 10, 10, 0.14));
	color: var(--tbc-ink, #0A0A0A);
	flex: 0 0 auto;
	margin-top: 0;
}

.tbc-route-map__popup-actions .tbc-route-map__popup-cta:hover {
	background: var(--tbc-paper, rgba(10, 10, 10, 0.04));
	color: var(--tbc-ink, #0A0A0A);
	opacity: 1;
}

/* Le bouton fermer natif mapbox doit rester lisible par-dessus le media. */
.tbc-event-popup .mapboxgl-popup-close-button {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--tbc-ink);
	font-size: 16px;
	line-height: 1;
	top: 8px;
	right: 8px;
}

/* Legende sous la carte ville */
.tbc-route-map__legend {
	display: flex;
	flex-wrap: wrap;
	gap: var(--tbc-spacing-4);
	margin-top: 10px;
	font-size: 12px;
	color: var(--tbc-graphite);
}

.tbc-route-map__legend-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.tbc-route-map__legend-dot {
	display: inline-block;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	border: 2px solid var(--tbc-canvas);
	box-shadow: 0 0 0 1px rgba(10, 10, 10, 0.2);
}

/* Pastilles = couleurs des pins (Map_Pin_Styles, :root --tbc-pin-*), memes
   types que createDotMarkerEl : ports et destinations prennent la couleur port.
   Repli sur les tokens de marque si la feuille inline manque. */
.tbc-route-map__legend-dot--center { background: var(--tbc-night); border: 2px solid var(--tbc-sun); }
.tbc-route-map__legend-dot--ville { background: var(--tbc-pin-port, var(--tbc-night)); }
.tbc-route-map__legend-dot--dest  { background: var(--tbc-pin-port, var(--tbc-night)); }
.tbc-route-map__legend-dot--event { background: var(--tbc-pin-event, var(--tbc-event)); }
.tbc-route-map__legend-dot--event-current { background: var(--tbc-pin-event, var(--tbc-event)); box-shadow: 0 0 0 2px var(--tbc-night); }
.tbc-route-map__legend-dot--lieu { background: var(--tbc-pin-lieu, var(--tbc-lieu)); }
.tbc-route-map__legend-dot--ville-center { background: var(--tbc-pin-ville, var(--tbc-sun)); }

.tbc-route-map__legend-line {
	display: inline-block;
	width: 18px;
	height: 0;
	border-top: 2px dashed var(--tbc-graphite);
}

/* Trajet courant dans la legende route : trait plein (vs pointille des autres). */
.tbc-route-map__legend-line--solid {
	border-top-style: solid;
	border-top-color: var(--tbc-ink);
}

/* Liste laterale des pins (source evenements) : bouton en haut a gauche,
   panneau ancre a gauche de la carte (volet bas sur mobile, cf. LIST_SHEET_MQ
   de route-map.js). Les boutons sont remis a zero sous 2 classes : les resets
   Elementor / Rey sur button gagnent sinon. */
.tbc-route-map .tbc-route-map__list-toggle,
.tbc-route-map .tbc-route-map__list-close {
	align-items: center;
	background: var(--tbc-canvas);
	border: 1px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-sm);
	box-shadow: none;
	color: var(--tbc-ink);
	cursor: pointer;
	display: inline-flex;
	justify-content: center;
	margin: 0;
	min-height: 0;
	padding: 0;
	transition: background var(--tbc-transition-fast), border-color var(--tbc-transition-fast);
}

.tbc-route-map .tbc-route-map__list-toggle {
	box-shadow: 0 2px 8px rgba(10, 10, 10, 0.16);
	height: 38px;
	left: 10px;
	position: absolute;
	top: 10px;
	width: 38px;
	z-index: 3;
}

.tbc-route-map .tbc-route-map__list-toggle:hover,
.tbc-route-map .tbc-route-map__list-close:hover,
.tbc-route-map.is-list-open .tbc-route-map__list-toggle {
	background: var(--tbc-paper);
	border-color: var(--tbc-stone);
	color: var(--tbc-ink);
}

.tbc-route-map .tbc-route-map__list-toggle:focus-visible,
.tbc-route-map .tbc-route-map__list-close:focus-visible,
.tbc-route-map .tbc-route-map__list-item:focus-visible,
.tbc-route-map .tbc-route-map__marker--group:focus-visible {
	outline: 2px solid var(--tbc-night);
	outline-offset: 2px;
}

.tbc-route-map .tbc-route-map__list {
	background: var(--tbc-canvas);
	border: 1px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-md);
	bottom: 10px;
	box-shadow: 0 6px 20px rgba(10, 10, 10, 0.16);
	display: flex;
	flex-direction: column;
	font-family: var(--tbc-font-body);
	left: 10px;
	overflow: hidden;
	position: absolute;
	top: 58px;
	width: 300px;
	max-width: calc(100% - 20px);
	z-index: 4;
}

.tbc-route-map .tbc-route-map__list[hidden] {
	display: none;
}

/* La liste couvre le coin de la carte bateau : on la masque le temps de la
   lecture. */
.tbc-route-map.is-list-open .tbc-route-boat-card {
	display: none;
}

.tbc-route-map__list-head {
	align-items: center;
	border-bottom: 1px solid var(--tbc-hairline);
	display: flex;
	gap: 8px;
	justify-content: space-between;
	padding: 10px 10px 10px 14px;
}

.tbc-route-map__list-title {
	color: var(--tbc-ink);
	font-size: 13px;
	font-weight: 600;
	margin: 0;
}

.tbc-route-map .tbc-route-map__list-close {
	height: 28px;
	width: 28px;
}

/* position: relative = offsetParent des lignes (defilement vers la ligne
   active, cf. scrollToActive). */
.tbc-route-map__list-items {
	flex: 1 1 auto;
	list-style: none;
	margin: 0;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 6px;
	position: relative;
}

.tbc-route-map__list-items li {
	margin: 0;
	padding: 0;
}

.tbc-route-map .tbc-route-map__list-item {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: var(--tbc-radius-sm);
	box-shadow: none;
	color: var(--tbc-ink);
	cursor: pointer;
	display: flex;
	font: inherit;
	gap: 10px;
	letter-spacing: normal;
	margin: 0;
	min-height: 0;
	padding: 8px;
	text-align: left;
	text-transform: none;
	transition: background var(--tbc-transition-fast);
	width: 100%;
}

.tbc-route-map .tbc-route-map__list-item:hover,
.tbc-route-map .tbc-route-map__list-item.is-near {
	background: var(--tbc-paper);
	color: var(--tbc-ink);
}

.tbc-route-map .tbc-route-map__list-item.is-active {
	background: var(--tbc-paper);
	box-shadow: inset 3px 0 0 var(--tbc-pin-event, var(--tbc-event));
}

.tbc-route-map__list-dot {
	background: var(--tbc-event);
	border: 2px solid var(--tbc-canvas);
	border-radius: 50%;
	box-shadow: 0 0 0 1px var(--tbc-hairline);
	flex: 0 0 auto;
	height: 12px;
	width: 12px;
}

.tbc-route-map__list-item--current .tbc-route-map__list-dot {
	box-shadow: 0 0 0 2px var(--tbc-night);
}

.tbc-route-map__list-text {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.tbc-route-map__list-name {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
}

.tbc-route-map__list-meta {
	color: var(--tbc-graphite);
	font-size: 12px;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tbc-route-map__list-dist {
	color: var(--tbc-graphite);
	flex: 0 0 auto;
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.tbc-route-map__list-item--current .tbc-route-map__list-dist {
	color: var(--tbc-night);
	font-weight: 600;
}

/* Pin de groupe (evenements au meme lieu) : pastille plus grosse au total ;
   sur le pin courant, simple puce « +N » en haut a droite. */
.tbc-route-map .tbc-route-map__marker--group {
	cursor: pointer;
}

.tbc-route-map .tbc-route-map__marker--group .tbc-route-map__marker-dot {
	height: 26px;
	width: 26px;
}

.tbc-route-map .tbc-route-map__marker-count {
	color: var(--tbc-canvas);
	font-family: var(--tbc-font-body);
	font-size: 13px;
	font-weight: 700;
	left: 50%;
	line-height: 1;
	pointer-events: none;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
}

.tbc-route-map .tbc-route-map__marker--event-current .tbc-route-map__marker-count {
	background: var(--tbc-night);
	border: 1.5px solid var(--tbc-canvas);
	border-radius: var(--tbc-radius-pill);
	left: auto;
	padding: 2px 4px;
	right: -10px;
	top: -6px;
	transform: none;
}

@media (max-width: 767px) {
	.tbc-route-map .tbc-route-map__list {
		border-radius: var(--tbc-radius-md) var(--tbc-radius-md) 0 0;
		bottom: 0;
		left: 0;
		max-height: 60%;
		max-width: none;
		top: auto;
		width: 100%;
	}
}

/* Carte quai (source port) : grammaire de la carte de recherche Airbnb,
   mesuree sur la page. Pastilles blanches 28px, pin du quai a l'encre,
   apercu en carte de 327px, controles ronds de 40px en haut a droite. */
.tbc-route-map .tbc-route-map__ctrl {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-4); /* source : 16px */
	position: absolute;
	right: var(--tbc-spacing-4); /* source : 16px */
	top: var(--tbc-spacing-4);
	z-index: 3;
}

.tbc-route-map .tbc-route-map__ctrl-btn {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 50%;
	box-shadow: none;
	color: var(--tbc-ink); /* source : #222222 */
	cursor: pointer;
	display: flex;
	height: 40px; /* source : 40px */
	justify-content: center;
	margin: 0;
	min-height: 0;
	padding: 0;
	transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1); /* source */
	width: 40px;
}

.tbc-route-map .tbc-route-map__ctrl-btn:hover {
	background: transparent;
	color: var(--tbc-ink);
}

.tbc-route-map .tbc-route-map__ctrl-btn:active {
	transform: scale(0.92);
}

.tbc-route-map .tbc-route-map__ctrl-btn:focus-visible,
.tbc-route-map .tbc-route-map__pin:focus-visible,
.tbc-port-card-popup .tbc-port-card__close:focus-visible {
	outline: 2px solid var(--tbc-ink);
	outline-offset: 2px;
}

.tbc-route-map .tbc-route-map__ctrl-btn--full,
.tbc-route-map .tbc-route-map__ctrl-btn--full:hover,
.tbc-route-map .tbc-route-map__ctrl-zoom {
	background: color-mix(in srgb, var(--tbc-canvas) 92.5%, transparent); /* source : rgba(255,255,255,.925) */
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02), 0 8px 24px rgba(0, 0, 0, 0.1); /* source */
}

.tbc-route-map .tbc-route-map__ctrl-zoom {
	border-radius: 20px; /* source : 20px */
	display: flex;
	flex-direction: column;
	gap: 1px; /* source : 41px de pas pour 40px de bouton */
}

.tbc-route-map .tbc-route-map__ctrl-zoom .tbc-route-map__ctrl-btn + .tbc-route-map__ctrl-btn {
	box-shadow: 0 -1px 0 var(--e-global-color-tbchairline, #E5E5E2);
}

.tbc-route-map.is-fullscreen {
	border-radius: 0;
}

/* Pins. Le transform de position appartient a Mapbox (.mapboxgl-marker) :
   grossissement et couleur sur l'enfant. */
.tbc-route-map .tbc-route-map__pin {
	cursor: pointer;
	line-height: 0;
}

.tbc-route-map .tbc-route-map__pin:hover,
.tbc-route-map .tbc-route-map__pin.is-active {
	z-index: 2;
}

.tbc-route-map__pill {
	align-items: center;
	background: var(--tbc-canvas);
	border-radius: 28px; /* source : 28px */
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.08); /* source */
	color: var(--tbc-ink);
	display: flex;
	font-family: var(--tbc-font-body);
	font-size: 14px; /* = .tbc-text-sm ; source : 14px */
	font-weight: 700; /* source : 700 */
	height: 28px; /* source : 28px */
	line-height: 1.3; /* source : 18px */
	padding: 0 var(--tbc-spacing-2); /* source : 0 8px */
	transition: background-color 0.2s cubic-bezier(0.2, 0, 0, 1), color 0.2s cubic-bezier(0.2, 0, 0, 1), transform 0.2s cubic-bezier(0.2, 0, 0, 1); /* source */
	white-space: nowrap;
}

.tbc-route-map__home {
	align-items: center;
	background: var(--tbc-ink);
	border: 2px solid var(--tbc-canvas);
	border-radius: 50%;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.08); /* ombre des pastilles source */
	color: var(--tbc-canvas);
	display: flex;
	height: 44px;
	justify-content: center;
	transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1);
	width: 44px;
}

.tbc-route-map__pin:hover .tbc-route-map__pill,
.tbc-route-map__pin:hover .tbc-route-map__home,
.tbc-route-map__pin.is-active .tbc-route-map__home {
	transform: scale(1.077); /* source : matrix(1.077) au survol */
}

.tbc-route-map__pin.is-active .tbc-route-map__pill {
	background: var(--tbc-ink); /* source : actif #222222, texte blanc */
	color: var(--tbc-canvas);
	transform: scale(1.077);
}

/* Apercu : carte blanche rayon 20, image 327x212 en tete, sans pointe. */
.tbc-port-card-popup .mapboxgl-popup-tip {
	display: none;
}

/* Au-dessus des controles (z-index 3) : le bouton fermer passait dessous. */
.tbc-route-map .tbc-port-card-popup {
	z-index: 4;
}

.tbc-port-card-popup .mapboxgl-popup-content {
	background: var(--tbc-canvas);
	border-radius: 20px; /* source : 20px */
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); /* source */
	overflow: hidden;
	padding: 0;
	width: min(327px, calc(100vw - 32px)); /* source : 327px */
}

.tbc-port-card {
	font-family: var(--tbc-font-body);
	position: relative;
}

.tbc-port-card__media {
	aspect-ratio: 327 / 212; /* source : 327x212 */
	background: var(--e-global-color-tbchairline, #E5E5E2); /* source : #DDDDDD */
	color: var(--tbc-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

/* 2 classes : .elementor img { height: auto } ecraserait la hauteur. */
/* Ecart source : la carte quai fait 300px de haut sur mobile, l'image en
   327x212 ne laissait pas tenir l'apercu. */
@media (max-width: 767px) {
	.tbc-port-card__media {
		aspect-ratio: 2 / 1;
	}
}

.tbc-port-card .tbc-port-card__img {
	border-radius: 0;
	display: block;
	height: 100%;
	max-width: none;
	object-fit: cover;
	width: 100%;
}

.tbc-port-card-popup .tbc-port-card__close {
	align-items: center;
	background: color-mix(in srgb, var(--tbc-canvas) 90%, transparent); /* source : rgba(255,255,255,.9) */
	border: 0;
	border-radius: 50%;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18); /* source */
	color: var(--tbc-ink);
	cursor: pointer;
	display: flex;
	height: 32px; /* source : 32px */
	justify-content: center;
	margin: 0;
	min-height: 0;
	padding: 0;
	position: absolute;
	right: var(--tbc-spacing-3); /* source : 12px */
	top: var(--tbc-spacing-3);
	width: 32px;
}

.tbc-port-card-popup .tbc-port-card__close:hover {
	background: var(--tbc-canvas);
	color: var(--tbc-ink);
}

.tbc-port-card__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: var(--tbc-spacing-3) var(--tbc-spacing-4) var(--tbc-spacing-4);
}

.tbc-port-card__title {
	color: var(--tbc-ink); /* source : #222222 */
	font-size: 16px; /* = .tbc-text-md ; source : 15px */
	font-weight: 500; /* source : 500 */
	line-height: 1.25; /* source : 19px */
	text-decoration: none;
}

.tbc-port-card-popup a.tbc-port-card__title:hover {
	color: var(--tbc-ink);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tbc-port-card__meta {
	color: var(--tbc-muted); /* source : #6C6C6C */
	font-size: 16px; /* = .tbc-text-md ; source : 15px */
	line-height: 1.25;
}

/* Overlay « Le bateau de ce trajet » : carte ancree en bas a gauche du
   conteneur Mapbox (coin libre : zoom en haut a droite, attribution en bas a
   droite restent visibles). Superposition pure, n'intercepte le pointeur que
   sur elle-meme. */
.tbc-route-boat-card {
	position: absolute;
	bottom: 40px;
	left: 14px;
	z-index: 2;
	width: 264px;
	max-width: calc(100% - 28px);
	background: var(--tbc-canvas);
	border: 1px solid var(--tbc-hairline, rgba(10, 10, 10, 0.12));
	border-radius: var(--tbc-radius-md);
	box-shadow: 0 6px 20px rgba(10, 10, 10, 0.16);
	padding: 12px;
	font-family: var(--tbc-font-body);
	pointer-events: auto;
}

/* Variante autonome (widget Fiche bateau) : meme carte, hors carte Mapbox.
   Repositionnee en bloc statique, ombre allegee, largeur pilotee par la colonne
   (plafonnee pour rester lisible). */
.tbc-route-boat-card--standalone {
	position: static;
	bottom: auto;
	left: auto;
	width: 100%;
	max-width: 340px;
	box-shadow: 0 2px 10px rgba(10, 10, 10, 0.08);
	pointer-events: auto;
}

.tbc-route-boat-card__eyebrow {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 500;
	color: var(--tbc-graphite);
}

.tbc-route-boat-card__body {
	display: flex;
	gap: 10px;
}

.tbc-route-boat-card__media {
	position: relative;
	flex: 0 0 auto;
	width: 72px;
	height: 72px;
	border-radius: var(--tbc-radius-sm);
	background: var(--tbc-paper, rgba(10, 10, 10, 0.04));
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--tbc-graphite);
}

/* 2 classes : .elementor img { height: auto } (0,1,1) ecrasait la hauteur,
   l'image 3:2 laissait des bandes vides dans la vignette carree. */
.tbc-route-boat-card__media .tbc-route-boat-card__img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	display: block;
	transition: transform var(--tbc-transition-fast, 0.15s ease);
}

.tbc-route-boat-card:hover .tbc-route-boat-card__img {
	transform: scale(1.05);
}

.tbc-route-boat-card__info {
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.tbc-route-boat-card__name {
	font-size: 15px;
	font-weight: 500;
	color: var(--tbc-ink);
	line-height: 1.2;
}

.tbc-route-boat-card__specs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 6px;
	font-size: 12px;
	color: var(--tbc-ink);
}

.tbc-route-boat-card__spec {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.tbc-route-boat-card__spec svg {
	color: var(--tbc-graphite);
	flex-shrink: 0;
}

.tbc-route-boat-card__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid var(--tbc-hairline, rgba(10, 10, 10, 0.12));
	font-size: 13px;
	color: var(--tbc-graphite);
	text-decoration: none;
}

.tbc-route-boat-card__link:hover {
	color: var(--tbc-ink);
}

.tbc-route-boat-card__link svg {
	flex-shrink: 0;
	transition: transform var(--tbc-transition-fast, 0.15s ease);
}

.tbc-route-boat-card__link:hover svg {
	transform: translateX(2px);
}

/* Carte bateau d'une fiche trajet accordee au devis : un bloc par bateau, le
   bouton « Changer de bateau » rouvre le choix du devis. */
.tbc-route-boat-card__choice[hidden] {
	display: none;
}
.tbc-route-boat-card .tbc-route-boat-card__change {
	margin-top: var(--tbc-spacing-2);
}

/* Choix du bateau en cartes (Has_Select_Pill::render_boat_pill) : panneau
   .tbc-rs__panel, chaque option reprend le corps de .tbc-route-boat-card. */
.tbc-rs__panel.tbc-boat-picker {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-1);
	max-height: min(70vh, var(--tbc-panel-space, 70vh));
	min-width: min(420px, calc(100vw - 32px));
	overflow-y: auto;
}
.tbc-rs__panel.tbc-boat-picker[hidden] {
	display: none;
}
/* Pas la place a droite (carte devis en colonne) : le panneau s'ouvre vers la gauche. */
.tbc-rs__panel.tbc-boat-picker.is-end {
	left: auto;
}
.tbc-boat-picker .tbc-boat-pick {
	position: relative;
	background: transparent;
	border: 1px solid transparent;
	border-radius: var(--tbc-radius-md);
	color: inherit;
	cursor: pointer;
	display: block;
	flex-shrink: 0; /* le panneau defile, les cartes ne s'ecrasent pas */
	font: inherit;
	height: auto;
	letter-spacing: normal;
	min-height: 0;
	padding: var(--tbc-spacing-2);
	text-align: left;
	text-transform: none;
	width: 100%;
}
.tbc-boat-picker .tbc-boat-pick:hover,
.tbc-boat-picker .tbc-boat-pick:focus {
	background: var(--tbc-fondsite);
	color: inherit;
}
.tbc-boat-picker .tbc-boat-pick:focus-visible {
	box-shadow: var(--tbc-focus-ring);
	outline: none;
}
.tbc-boat-picker .tbc-boat-pick[aria-selected="true"] {
	border-color: var(--tbc-ink);
}
.tbc-boat-pick--advice .tbc-boat-pick__badge {
	background: var(--tbc-sun-soft);
	color: var(--tbc-ink);
}

/* Option compacte : vignette 48px, nom puis caracteristiques sur la meme ligne. */
.tbc-boat-picker .tbc-route-boat-card__body {
	align-items: center;
}
.tbc-boat-picker .tbc-route-boat-card__media {
	height: 48px;
	width: 48px;
}
/* Ligne du titre : nom, capacite, longueur ; le type seul dessous. Dans la
   liste le nom cede (...), dans la carte Mapbox (264px) la ligne se replie. */
.tbc-boat-picker .tbc-route-boat-card__info,
.tbc-route-boat-card__choice .tbc-route-boat-card__info {
	flex: 1 1 auto;
	gap: 2px;
}
.tbc-route-boat-card__head {
	align-items: baseline;
	column-gap: var(--tbc-spacing-2);
	display: flex;
	flex-wrap: wrap;
	min-width: 0;
}
.tbc-boat-picker .tbc-route-boat-card__head {
	flex-wrap: nowrap;
}
.tbc-route-boat-card__type {
	color: var(--tbc-graphite);
	font-size: 12px; /* meme pas que les specs d'origine de la carte */
}
.tbc-boat-picker .tbc-route-boat-card__name {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
@media (max-width: 767px) {
	/* Panneau a la largeur de la pilule : min-width 420px sortait de l'ecran. */
	.tbc-rs__panel.tbc-boat-picker,
	.tbc-rs__panel.tbc-boat-picker.is-end {
		left: var(--tbc-spacing-2);
		max-height: min(50vh, var(--tbc-panel-space, 50vh));
		min-width: 0;
		right: var(--tbc-spacing-2);
	}
	.tbc-boat-picker .tbc-route-boat-card__head {
		flex-wrap: wrap;
	}
	.tbc-boat-picker .tbc-route-boat-card__media {
		height: 40px;
		width: 40px;
	}
	.tbc-boat-picker .tbc-route-boat-card__name {
		white-space: normal;
	}
}
.tbc-boat-picker .tbc-route-boat-card__specs,
.tbc-route-boat-card__choice .tbc-route-boat-card__specs {
	color: var(--tbc-graphite);
	flex: none;
	flex-wrap: nowrap;
	font-size: 11px; /* caracteristiques secondaires, sous le pas typo le plus petit */
	gap: 6px;
	white-space: nowrap;
}
.tbc-boat-picker .tbc-route-boat-card__specs,
.tbc-route-boat-card__choice .tbc-route-boat-card__specs {
	margin-top: 0;
}
.tbc-boat-picker .tbc-route-boat-card__spec svg,
.tbc-route-boat-card__choice .tbc-route-boat-card__spec svg {
	height: 12px;
	width: 12px;
}

/* Accroche en infobulle : pastille « i » a droite, bulle au survol / focus. */
.tbc-boat-pick__info {
	align-items: center;
	border: 1px solid var(--tbc-hairline);
	border-radius: 50%;
	color: var(--tbc-graphite);
	display: inline-flex;
	flex: none;
	font-size: 11px; /* glyphe de la pastille */
	font-style: italic;
	height: 18px;
	justify-content: center;
	width: 18px;
}
.tbc-boat-pick__tip {
	background: var(--tbc-ink);
	border-radius: var(--tbc-radius-sm);
	bottom: calc(100% - 4px);
	color: var(--tbc-canvas);
	font-size: 12px; /* bulle d'aide */
	line-height: 1.4;
	opacity: 0;
	padding: var(--tbc-spacing-2) var(--tbc-spacing-3);
	pointer-events: none;
	position: absolute;
	right: var(--tbc-spacing-2);
	transition: opacity var(--tbc-transition-fast);
	visibility: hidden;
	width: min(260px, 80%);
	z-index: 2;
}
.tbc-boat-pick:hover .tbc-boat-pick__tip,
.tbc-boat-pick:focus-visible .tbc-boat-pick__tip {
	opacity: 1;
	visibility: visible;
}
.tbc-boat-picker .tbc-boat-picker__later {
	align-self: center;
}

/* Source "evenement (transfert)" : empile la carte de transfert (et la carte
   bateau optionnelle) dans le coin bas-gauche, meme slot que la carte bateau des
   trajets. Conteneur ancre ; les cartes redeviennent statiques pour s'empiler. */
.tbc-route-overlay-stack {
	position: absolute;
	bottom: 40px;
	left: 14px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: calc(100% - 28px);
	pointer-events: none;
}

.tbc-route-overlay-stack .tbc-route-boat-card,
.tbc-route-overlay-stack .tbc-route-event-card {
	position: static;
	bottom: auto;
	left: auto;
	width: 264px;
	max-width: 100%;
	pointer-events: auto;
}

/* Carte de transfert evenement : meme grammaire que la carte bateau (canvas,
   hairline, ombre), eyebrow + nom + meta (dates / lieu) + pied avec dispo et CTA. */
.tbc-route-event-card {
	width: 264px;
	max-width: calc(100% - 28px);
	background: var(--tbc-canvas);
	border: 1px solid var(--tbc-hairline, rgba(10, 10, 10, 0.12));
	border-radius: var(--tbc-radius-md);
	box-shadow: 0 6px 20px rgba(10, 10, 10, 0.16);
	padding: 14px;
	font-family: var(--tbc-font-body);
}

.tbc-route-event-card__eyebrow {
	margin: 0 0 3px;
	font-size: 13px;
	font-weight: 500;
	color: var(--tbc-graphite);
}

.tbc-route-event-card__name {
	margin: 0;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--tbc-ink);
}

.tbc-route-event-card__meta {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 7px 0 0;
	font-size: 13px;
	color: var(--tbc-ink);
}

.tbc-route-event-card__meta svg {
	flex-shrink: 0;
	margin-top: 1px;
	color: var(--tbc-graphite);
}

.tbc-route-event-card__foot {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--tbc-hairline, rgba(10, 10, 10, 0.12));
}

.tbc-route-event-card__avail {
	margin: 0 0 10px;
	font-size: 12px;
	color: var(--tbc-graphite);
}

/* Marqueur secondaire "port de depart" (source transfert) : pastille discrete
   blanche cerclee nuit, distincte du point evenement en avant. */
.tbc-route-map__marker--port-converge .tbc-route-map__marker-dot {
	background: var(--tbc-canvas);
	border: 2px solid var(--tbc-night);
	cursor: pointer;
	height: 12px;
	width: 12px;
}

.tbc-route-map__legend-dot--port-converge {
	background: var(--tbc-canvas);
	border: 2px solid var(--tbc-night);
	box-shadow: none;
}

/* Overlay « Bateau ou voiture ? » : carte ancree en haut a gauche du conteneur
   Mapbox (coin libre : zoom en haut a droite, attribution en bas a droite).
   Superposition pure, n'intercepte le pointeur que sur elle-meme. */
.tbc-route-compare {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	width: 200px;
	max-width: calc(100% - 28px);
	background: var(--tbc-canvas);
	border: 1px solid var(--tbc-hairline, rgba(10, 10, 10, 0.12));
	border-radius: var(--tbc-radius-md);
	box-shadow: 0 6px 20px rgba(10, 10, 10, 0.16);
	padding: 12px;
	font-family: var(--tbc-font-body);
	pointer-events: auto;
}

.tbc-route-compare__eyebrow {
	margin: 0 0 9px;
	font-size: 13px;
	font-weight: 500;
	color: var(--tbc-graphite);
}

.tbc-route-compare__row {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
}

.tbc-route-compare__row + .tbc-route-compare__row {
	margin-top: 7px;
}

.tbc-route-compare__label {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--tbc-graphite);
}

.tbc-route-compare__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	flex: 0 0 auto;
}

/* Icones bateau/auto inlinees (fill absent -> herite currentColor du label). */
.tbc-route-compare__ico svg {
	display: block;
	width: 16px;
	height: auto;
	fill: currentColor;
}

.tbc-route-compare__value {
	margin-left: auto;
	color: var(--tbc-graphite);
}

/* Ligne bateau mise en avant (valeur en primaire) ; voiture reste en gris. */
.tbc-route-compare__value--primary {
	font-size: 14px;
	font-weight: 500;
	color: var(--tbc-ink);
}

.tbc-route-compare__footer {
	margin: 9px 0 0;
	padding-top: 9px;
	border-top: 1px solid var(--tbc-hairline, rgba(10, 10, 10, 0.12));
	font-size: 13px;
	font-weight: 500;
	color: var(--tbc-graphite);
}

.tbc-route-map__marker-visual {
	display: block;
}

.tbc-route-map__marker-visual > img,
.tbc-route-map__marker-visual > svg {
	display: block;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.tbc-route-map__marker-visual > i {
	color: var(--tbc-ink);
	display: block;
	font-size: inherit;
	line-height: 1;
	text-align: center;
}

.tbc-route-map__marker-label {
	background: var(--tbc-canvas);
	border-radius: var(--tbc-radius-pill);
	bottom: calc(100% + 6px);
	color: var(--tbc-ink);
	font-family: var(--tbc-font-body);
	font-size: 13px;
	font-weight: 500;
	left: 50%;
	letter-spacing: 0.02em;
	line-height: 1.2;
	opacity: 0;
	padding: 4px 10px;
	pointer-events: none;
	position: absolute;
	transform: translateX(-50%) translateY(-2px);
	transition: opacity var(--tbc-transition-base), transform var(--tbc-transition-base);
	white-space: nowrap;
}

.tbc-route-map__marker:hover .tbc-route-map__marker-label,
.tbc-route-map__marker:focus-within .tbc-route-map__marker-label {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

/* Mapbox GL overrides to match the canvas aesthetic */
.tbc-route-map .mapboxgl-ctrl-attrib,
.tbc-route-map .mapboxgl-ctrl-logo,
.tbc-explore-map .mapboxgl-ctrl-attrib,
.tbc-explore-map .mapboxgl-ctrl-logo {
	font-size: 10px;
}

/* tbc-explore-map
   ---------------
   Carte d'exploration du catalogue : meme langage visuel que tbc-route-map
   (tokens, popups, spinner partages ci-dessus). Les pins/clusters sont des
   layers WebGL colores cote JS (tokens --tbc-*) : seul le conteneur et la
   barre de filtres vivent ici. */
.tbc-explore-map {
	--tbc-glass: rgba(252, 252, 254, 0.86);
	font-family: var(--tbc-font-body);
	position: relative;
}

.tbc-explore-map__canvas {
	background: var(--tbc-hairline);
	border-radius: var(--tbc-radius-md);
	height: 480px;
	overflow: hidden;
	position: relative;
	width: 100%;
}

@media (max-width: 768px) {
	.tbc-explore-map__canvas {
		height: 380px;
	}
}

.tbc-explore-map__canvas--error {
	align-items: center;
	border: 0.5px dashed var(--tbc-stone);
	display: flex;
	justify-content: center;
	padding: var(--tbc-spacing-4);
}

/* Barre de filtres par type : chips pastille + libelle + compteur, posee
   au-dessus de la carte. Scope (0,2,0) pour battre le reset Rey
   button[type="button"] (0,1,1), comme le bouton Estimer des popups. */
.tbc-explore-map__filters {
	display: flex;
	gap: var(--tbc-spacing-2);
	position: absolute;
	z-index: 20;
}

.tbc-explore-map__filters .tbc-explore-map__filter {
	align-items: center;
	background: var(--tbc-canvas);
	border: 1px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-pill);
	color: var(--tbc-ink);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 12px;
	font-weight: 500;
	gap: 6px;
	padding: 6px 12px;
	transition: border-color var(--tbc-transition-fast), opacity var(--tbc-transition-fast);
}

.tbc-explore-map__filters .tbc-explore-map__filter:hover {
	border-color: var(--tbc-stone);
}

.tbc-explore-map__filters .tbc-explore-map__filter:focus-visible {
	box-shadow: var(--tbc-focus-ring);
	outline: none;
}

/* Type masque : chip estompee, pastille grisee. */
.tbc-explore-map__filters .tbc-explore-map__filter--off {
	opacity: 0.45;
}

/* Pastilles aux couleurs des types (memes tokens que les pins WebGL et les
   legendes route-map). */
.tbc-explore-map__filter-dot {
	border: 2px solid var(--tbc-canvas);
	border-radius: 50%;
	box-shadow: 0 0 0 1px rgba(10, 10, 10, 0.2);
	display: inline-block;
	height: 10px;
	width: 10px;
}

.tbc-explore-map__filter--ports .tbc-explore-map__filter-dot { background: var(--tbc-night); }
.tbc-explore-map__filter--events .tbc-explore-map__filter-dot { background: var(--tbc-event); }
.tbc-explore-map__filter--villes .tbc-explore-map__filter-dot { background: var(--tbc-sun); }
.tbc-explore-map__filter--lieux .tbc-explore-map__filter-dot { background: var(--tbc-lieu); }
.tbc-explore-map__filter--partners .tbc-explore-map__filter-dot { background: var(--tbc-sponsor); }

/* Trajets = trait pointille graphite, pas une pastille (cf. legende). */
.tbc-explore-map__filter--routes .tbc-explore-map__filter-dot {
	background: transparent;
	border: 0;
	border-radius: 0;
	border-top: 2px dashed var(--tbc-graphite);
	box-shadow: none;
	height: 0;
	width: 14px;
}

.tbc-explore-map__filter-count {
	color: var(--tbc-graphite);
	font-weight: 300;
}

.tbc-explore-map__filter-count:empty {
	display: none;
}

/* Controles flottants en surimpression (rework immersif facon Apple Plans /
   Navily) : barre de zone, filtres (chips ou compact), bouton localiser. Verre
   depoli sobre (charte noir/jaune, hairlines). Skin pilote par
   .tbc-explore-map--skin-*. Les couleurs de pins restent cote resolveur. */

/* Le zoom Mapbox (haut-droite) descend sous la barre de zone pour ne pas la
   chevaucher quand elle est presente. */
.tbc-explore-map--has-zone .mapboxgl-ctrl-top-right {
	top: 60px;
}

/* Barre de zone (haut) : region en petit, zone en gras, bouton Explorer. */
.tbc-explore-map__zonebar {
	align-items: center;
	background: var(--tbc-glass);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-radius: var(--tbc-radius-md);
	box-shadow: var(--tbc-glass-shadow);
	display: flex;
	gap: 10px;
	left: 14px;
	padding: 10px 12px;
	position: absolute;
	right: 14px;
	top: 14px;
	z-index: 21;
}

.tbc-explore-map__zonebar-ic {
	align-items: center;
	background: var(--tbc-sun-soft);
	border-radius: 9px;
	color: var(--tbc-sun-deep);
	display: flex;
	flex-shrink: 0;
	height: 30px;
	justify-content: center;
	width: 30px;
}

.tbc-explore-map__zonebar-ic svg {
	height: 16px;
	width: 16px;
}

.tbc-explore-map__zonebar-txt {
	flex: 1;
	min-width: 0;
}

.tbc-explore-map__zonebar-region {
	color: var(--tbc-graphite);
	display: block;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
}

.tbc-explore-map__zonebar-city {
	color: var(--tbc-ink);
	display: block;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Peau = .tbc-btn--link. */
.tbc-explore-map .tbc-explore-map__zonebar-action {
	--tbc-btn-fg: var(--tbc-ink);
}

/* Boutons ronds flottants (localiser bas-gauche, toggle filtres bas-droite).
   Peau = .tbc-btn--icon ; ne reste que la position et le verre. */
.tbc-explore-map .tbc-explore-map__locate,
.tbc-explore-map .tbc-explore-map__filters-toggle {
	--tbc-btn-h: 46px;
	border-radius: var(--tbc-radius-md);
	bottom: 24px;
	box-shadow: var(--tbc-glass-shadow);
	position: absolute;
	z-index: 20;
}

.tbc-explore-map .tbc-explore-map__locate {
	--tbc-btn-bg: var(--tbc-glass);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	left: 16px;
}

.tbc-explore-map__locate svg {
	height: 21px;
	width: 21px;
}

.tbc-explore-map__locate[aria-busy="true"] {
	opacity: 0.6;
	pointer-events: none;
}

.tbc-explore-map .tbc-explore-map__filters-toggle {
	--tbc-btn-bg: var(--tbc-ink);
	--tbc-btn-fg: var(--tbc-canvas);
	right: 16px;
}

.tbc-explore-map__filters-toggle svg {
	height: 20px;
	width: 20px;
}

/* Skin CHIPS (defaut) : filtres en pastilles glass horizontales scrollables,
   sous la barre de zone (ou en haut si absente), toujours visibles. */
.tbc-explore-map--skin-chips .tbc-explore-map__filters {
	left: 14px;
	overflow-x: auto;
	padding: 2px 0;
	right: 14px;
	scrollbar-width: none;
	top: 14px;
}

.tbc-explore-map--skin-chips.tbc-explore-map--has-zone .tbc-explore-map__filters {
	top: 70px;
}

.tbc-explore-map--skin-chips .tbc-explore-map__filters::-webkit-scrollbar {
	display: none;
}

.tbc-explore-map--skin-chips .tbc-explore-map__filter {
	background: var(--tbc-glass);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-color: transparent;
	box-shadow: var(--tbc-glass-shadow);
	flex: 0 0 auto;
}

/* Skin COMPACT : filtres replies dans un panneau glass deplie par le bouton
   bas-droite ; rangees plates a l'interieur. */
.tbc-explore-map--skin-compact .tbc-explore-map__filters {
	background: var(--tbc-glass);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-radius: var(--tbc-radius-md);
	bottom: 78px;
	box-shadow: var(--tbc-glass-shadow);
	flex-direction: column;
	gap: 2px;
	opacity: 0;
	padding: 8px;
	pointer-events: none;
	right: 16px;
	transform: translateY(8px) scale(0.96);
	transform-origin: bottom right;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	visibility: hidden;
}

.tbc-explore-map--skin-compact .tbc-explore-map__filters.is-open {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0) scale(1);
	visibility: visible;
}

.tbc-explore-map--skin-compact .tbc-explore-map__filter {
	background: transparent;
	border-color: transparent;
	border-radius: 10px;
	box-shadow: none;
	justify-content: flex-start;
	width: 100%;
}

.tbc-explore-map--skin-compact .tbc-explore-map__filter:hover {
	background: rgba(10, 10, 10, 0.04);
	border-color: transparent;
}

.tbc-explore-map--skin-compact .tbc-explore-map__filter-label {
	flex: 1;
	text-align: left;
}

/* Point bleu "ma position" (geolocalisation du bouton localiser). */
.tbc-explore-map__userdot {
	background: #1e73e8;
	border: 2px solid var(--tbc-canvas);
	border-radius: 50%;
	box-shadow: 0 0 0 4px rgba(30, 115, 232, 0.25);
	display: block;
	height: 14px;
	width: 14px;
}

@media (prefers-reduced-motion: reduce) {
	.tbc-explore-map--skin-compact .tbc-explore-map__filters {
		transition: none;
	}
}

/* Marqueurs DOM photo des lieux remarquables (non clusterises). Vignette dans
   un anneau couleur lieu, pointe sous le cadre ; repli pastille + glyphe oeil
   sans image. Couleur posee en inline (--tbc-lieu-pin) depuis le resolveur. */
.tbc-explore-map__lieu {
	cursor: pointer;
	line-height: 0;
	position: relative;
}

.tbc-explore-map__lieu-frame {
	background: var(--tbc-canvas) center / cover no-repeat;
	border: 3px solid var(--tbc-lieu);
	border-radius: 50%;
	box-shadow: 0 4px 10px rgba(10, 10, 10, 0.3);
	display: block;
	height: 46px;
	transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
	width: 46px;
}

.tbc-explore-map__lieu-frame--empty {
	align-items: center;
	display: flex;
	justify-content: center;
}

.tbc-explore-map__lieu-frame--empty svg {
	fill: none;
	height: 20px;
	stroke: var(--tbc-canvas);
	stroke-width: 2;
	width: 20px;
}

.tbc-explore-map__lieu::after {
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	border-top: 9px solid var(--tbc-lieu-pin, var(--tbc-lieu));
	bottom: -6px;
	content: '';
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
}

.tbc-explore-map__lieu-tag {
	align-items: center;
	background: var(--tbc-lieu);
	border: 2px solid var(--tbc-canvas);
	border-radius: 50%;
	display: flex;
	height: 19px;
	justify-content: center;
	position: absolute;
	right: -6px;
	top: -6px;
	width: 19px;
}

.tbc-explore-map__lieu-tag svg {
	fill: none;
	height: 10px;
	stroke: var(--tbc-canvas);
	stroke-width: 2;
	width: 10px;
}

.tbc-explore-map__lieu:hover .tbc-explore-map__lieu-frame {
	transform: scale(1.12);
}

.tbc-explore-map__lieu--sel .tbc-explore-map__lieu-frame {
	animation: tbc-lieu-bounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes tbc-lieu-bounce {
	0% { transform: translateY(0) scale(1); }
	40% { transform: translateY(-8px) scale(1.12); }
	100% { transform: translateY(0) scale(1.12); }
}

.tbc-explore-map__lieu:focus-visible {
	outline: none;
}

.tbc-explore-map__lieu:focus-visible .tbc-explore-map__lieu-frame {
	box-shadow: var(--tbc-focus-ring);
}

@media (prefers-reduced-motion: reduce) {
	.tbc-explore-map__lieu-frame {
		transition: none;
	}

	.tbc-explore-map__lieu--sel .tbc-explore-map__lieu-frame {
		animation: none;
	}
}

/* Marqueurs DOM photo des partenaires (non clusterises, comme les lieux) :
   vignette dans un anneau couleur sponsor, pointe sous le cadre, pastille
   etincelle = signal sponsorise (distinct de l'oeil des lieux). Couleur posee
   inline (--tbc-partner-pin) depuis la palette. */
.tbc-explore-map__partner {
	cursor: pointer;
	line-height: 0;
	position: relative;
}

.tbc-explore-map__partner-frame {
	background: var(--tbc-canvas) center / cover no-repeat;
	border: 3px solid var(--tbc-sponsor);
	border-radius: 50%;
	box-shadow: 0 4px 10px rgba(10, 10, 10, 0.3);
	display: block;
	height: 46px;
	transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
	width: 46px;
}

.tbc-explore-map__partner-frame--empty {
	align-items: center;
	display: flex;
	justify-content: center;
}

.tbc-explore-map__partner-frame--empty svg {
	fill: none;
	height: 20px;
	stroke: var(--tbc-canvas);
	stroke-width: 2;
	width: 20px;
}

.tbc-explore-map__partner::after {
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	border-top: 9px solid var(--tbc-partner-pin, var(--tbc-sponsor));
	bottom: -6px;
	content: '';
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
}

.tbc-explore-map__partner-tag {
	align-items: center;
	background: var(--tbc-sponsor);
	border: 2px solid var(--tbc-canvas);
	border-radius: 50%;
	display: flex;
	height: 19px;
	justify-content: center;
	position: absolute;
	right: -6px;
	top: -6px;
	width: 19px;
}

.tbc-explore-map__partner-tag svg {
	fill: var(--tbc-canvas);
	height: 11px;
	width: 11px;
}

.tbc-explore-map__partner:hover .tbc-explore-map__partner-frame {
	transform: scale(1.12);
}

.tbc-explore-map__partner--sel .tbc-explore-map__partner-frame {
	animation: tbc-lieu-bounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tbc-explore-map__partner:focus-visible {
	outline: none;
}

.tbc-explore-map__partner:focus-visible .tbc-explore-map__partner-frame {
	box-shadow: var(--tbc-focus-ring);
}

@media (prefers-reduced-motion: reduce) {
	.tbc-explore-map__partner-frame {
		transition: none;
	}

	.tbc-explore-map__partner--sel .tbc-explore-map__partner-frame {
		animation: none;
	}
}

/* Panneau slide-up de detail (remplace le popup natif au clic d'un pin).
   Calque sur le mockup explore-map-complet.html : hero + badge + titre + type
   + onglets (A propos / Trajets) + corps + barre CTA. Bottom-sheet fixe au
   viewport (au-dessus de tbc-map-sheet z-index 9999), centre et borne en
   largeur sur grand ecran. Monte par map-detail.js. */
/* Couche = composant .tbc-modal --sheet (scrim, slide-up, Echap, piege de focus,
   verrou de defilement). Ne reste ici que le gabarit du panneau. */
.tbc-explore-map__sheet-root {
	font-family: var(--tbc-font-body);
}

.tbc-explore-map__sheet-root .tbc-modal__panel {
	--tbc-modal-w: 520px;
}

.tbc-explore-map__sheet-handle {
	background: var(--tbc-hairline);
	border: 0;
	border-radius: 2px;
	cursor: pointer;
	flex: none;
	height: 4px;
	margin: 9px auto 0;
	padding: 0;
	width: 38px;
}

.tbc-explore-map__sheet-hero {
	background: var(--tbc-hairline) center / cover no-repeat;
	flex: none;
	height: 230px;
	position: relative;
}

.tbc-explore-map__sheet-hero--noimg {
	background: linear-gradient(135deg, #3a3a3e, #1b1b1f);
}

/* Overlay degrade noir->transparent vers le HAUT : assoit le titre blanc en
   surimpression en bas du hero (lisibilite garantie meme sur image claire). */
.tbc-explore-map__sheet-hero-grad {
	background: linear-gradient(to top, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0.45) 35%, rgba(10, 10, 10, 0) 65%);
	inset: 0;
	position: absolute;
}

.tbc-explore-map__sheet-cc {
	align-items: center;
	background: var(--tbc-sun);
	border-radius: var(--tbc-radius-pill);
	color: var(--tbc-sun-deep);
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	gap: 6px;
	left: 14px;
	letter-spacing: 0.01em;
	padding: 5px 11px;
	position: absolute;
	top: 14px;
	z-index: 2;
}

.tbc-explore-map__sheet-cc svg {
	display: block;
	height: 13px;
	width: 13px;
}

/* Croix de fermeture posee sur le hero : peau = .tbc-btn--icon, recoloree en
   pastille sombre translucide. */
.tbc-explore-map__sheet .tbc-explore-map__sheet-close {
	--tbc-btn-h: 30px;
	--tbc-btn-fz: 17px;
	--tbc-btn-bg: rgba(20, 20, 22, 0.5);
	--tbc-btn-fg: #fff;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	position: absolute;
	right: 13px;
	top: 13px;
	z-index: 2;
}

/* Titre + type en surimpression en bas du hero, blancs sur l'overlay. */
.tbc-explore-map__sheet-head {
	bottom: 14px;
	color: #fff;
	left: 18px;
	position: absolute;
	right: 18px;
	z-index: 2;
}

.tbc-explore-map__sheet-title {
	color: #fff;
	font-family: var(--tbc-font-display);
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.05;
	margin: 0;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

.tbc-explore-map__sheet-type {
	align-items: center;
	color: #fff;
	display: inline-flex;
	font-size: 12px;
	font-weight: 500;
	gap: 6px;
	margin: 0 0 5px;
	opacity: 0.92;
}

.tbc-explore-map__sheet-type-dot {
	background: var(--tbc-sun);
	border-radius: 50%;
	height: 8px;
	width: 8px;
}

.tbc-explore-map__sheet-tabs {
	border-bottom: 0.5px solid var(--tbc-hairline);
	display: flex;
	flex: none;
	gap: 2px;
	overflow-x: auto;
	padding: 12px 12px 0;
}

.tbc-explore-map__sheet-tabs .tbc-explore-map__sheet-tab {
	background: none;
	border: 0;
	color: var(--tbc-graphite);
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	padding: 8px 10px 11px;
	position: relative;
	white-space: nowrap;
}

.tbc-explore-map__sheet-tabs .tbc-explore-map__sheet-tab[aria-selected="true"] {
	color: var(--tbc-ink);
	font-weight: 500;
}

.tbc-explore-map__sheet-tabs .tbc-explore-map__sheet-tab[aria-selected="true"]::after {
	background: var(--tbc-sun);
	border-radius: 2px;
	bottom: -1px;
	content: '';
	height: 2.5px;
	left: 10px;
	position: absolute;
	right: 10px;
}

.tbc-explore-map__sheet-tab:focus-visible {
	box-shadow: var(--tbc-focus-ring);
	border-radius: var(--tbc-radius-sm);
	outline: none;
}

.tbc-explore-map__sheet-body {
	-webkit-overflow-scrolling: touch;
	flex: 1;
	overflow-y: auto;
	padding: 15px 18px;
}

.tbc-explore-map__sheet-pane {
	display: none;
}

.tbc-explore-map__sheet-pane.is-active {
	animation: tbc-sheet-fade 0.25s ease;
	display: block;
}

@keyframes tbc-sheet-fade {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: none; }
}

.tbc-explore-map__sheet-stats {
	display: flex;
	gap: 8px;
	margin-bottom: 13px;
}

.tbc-explore-map__sheet-stat {
	background: var(--tbc-hairline);
	border-radius: 12px;
	flex: 1;
	padding: 9px 6px;
	text-align: center;
}

.tbc-explore-map__sheet-stat b {
	display: block;
	font-size: 16px;
	font-weight: 700;
}

.tbc-explore-map__sheet-stat span {
	color: var(--tbc-graphite);
	font-size: 9.5px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.tbc-explore-map__sheet-vis {
	align-items: center;
	background: rgba(46, 125, 107, 0.1);
	border-radius: 8px;
	color: var(--tbc-lieu);
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	gap: 6px;
	margin-bottom: 11px;
	padding: 6px 10px;
}

.tbc-explore-map__sheet-vis svg {
	display: block;
	height: 14px;
	width: 14px;
}

.tbc-explore-map__sheet-accroche {
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0 0 8px;
}

.tbc-explore-map__sheet-desc {
	color: var(--tbc-ink);
	font-size: 13px;
	line-height: 1.55;
}

.tbc-explore-map__sheet-desc p {
	margin: 0 0 8px;
}

.tbc-explore-map__sheet-desc p:last-child {
	margin-bottom: 0;
}

.tbc-explore-map__sheet-dates {
	font-size: 13px;
	font-weight: 500;
	margin: 0 0 8px;
}

.tbc-explore-map__sheet-gallery {
	display: grid;
	gap: 6px;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 13px;
}

.tbc-explore-map__sheet-gallery-img {
	aspect-ratio: 1;
	border-radius: 9px;
	object-fit: cover;
	width: 100%;
}

.tbc-explore-map__sheet-rcard {
	align-items: center;
	border-bottom: 0.5px solid var(--tbc-hairline);
	display: flex;
	gap: 11px;
	padding: 11px 0;
	text-decoration: none;
}

.tbc-explore-map__sheet-rcard:last-child {
	border-bottom: 0;
}

.tbc-explore-map__sheet-rcard:focus-visible {
	box-shadow: var(--tbc-focus-ring);
	border-radius: var(--tbc-radius-sm);
	outline: none;
}

.tbc-explore-map__sheet-rcard-icon {
	align-items: center;
	background: var(--tbc-sun-soft);
	border-radius: 9px;
	color: var(--tbc-sun-deep);
	display: flex;
	flex: none;
	height: 36px;
	justify-content: center;
	width: 36px;
}

/* Icone configurable (SVG inline, Map_Icons) : on ne force ni fill ni stroke -
   le SVG porte sa propre peinture ; un glyphe ecrit en currentColor herite de
   la couleur du cadre (--tbc-sun-deep). Taille fixe quelle que soit la source. */
.tbc-explore-map__sheet-rcard-icon svg {
	display: block;
	height: 18px;
	width: 18px;
}

.tbc-explore-map__sheet-rcard-body {
	flex: 1;
	min-width: 0;
}

.tbc-explore-map__sheet-rcard-title {
	color: var(--tbc-ink);
	font-size: 13.5px;
	font-weight: 300;
	margin: 0;
}

.tbc-explore-map__sheet-rcard-meta {
	color: var(--tbc-graphite);
	font-size: 11.5px;
	margin: 1px 0 0;
}

.tbc-explore-map__sheet-rcard-price {
	color: var(--tbc-ink);
	font-size: 12.5px;
	font-weight: 500;
	white-space: nowrap;
}

.tbc-explore-map__sheet-rcard-cc {
	color: var(--tbc-event);
	flex: none;
}

.tbc-explore-map__sheet-rcard-cc svg {
	display: block;
	height: 16px;
	width: 16px;
}

.tbc-explore-map__sheet-empty {
	color: var(--tbc-stone);
	font-size: 13px;
	font-style: italic;
	padding: 14px 0;
}

.tbc-explore-map__sheet-cta {
	border-top: 0.5px solid var(--tbc-hairline);
	display: flex;
	flex: none;
	gap: 8px;
	padding: 11px 16px 16px;
}

/* Peau = .tbc-btn--sm (--quiet ou --primary) ; ne reste que le partage de
   largeur dans la rangee. */
.tbc-explore-map__sheet-cta .tbc-explore-map__sheet-btn {
	flex: 1;
}

.tbc-explore-map__sheet-cta .tbc-explore-map__sheet-btn--pri {
	flex: 1.5;
}

.tbc-explore-map__sheet-btn svg {
	display: block;
	height: 15px;
	width: 15px;
}

.tbc-explore-map__sheet-spinner {
	animation: tbc-spin 0.8s linear infinite;
	border: 2px solid var(--tbc-hairline);
	border-radius: 50%;
	border-top-color: var(--tbc-ink);
	height: 26px;
	margin: 40px auto;
	width: 26px;
}

@media (prefers-reduced-motion: reduce) {
	.tbc-explore-map__sheet-pane.is-active {
		animation: none;
	}
}

/* Hero plus court en bottom-sheet mobile : 230px mangerait trop des 86vh. */
@media (max-width: 480px) {
	.tbc-explore-map__sheet-hero {
		height: 190px;
	}

	.tbc-explore-map__sheet-title {
		font-size: 23px;
	}
}

/* Variante partenaire du panneau slide-up : meme coquille (scrim, slide-up,
   a11y) mais hero / tete / onglets / barre CTA standard masques — la card
   partenaire (composant partnerCard : media/carousel + corps + actions) occupe
   tout le corps, pleine largeur, sans double bordure ni ombre. */
.tbc-explore-map__sheet-root--partner .tbc-explore-map__sheet-hero,
.tbc-explore-map__sheet-root--partner .tbc-explore-map__sheet-head,
.tbc-explore-map__sheet-root--partner .tbc-explore-map__sheet-tabs,
.tbc-explore-map__sheet-root--partner .tbc-explore-map__sheet-cta {
	display: none;
}

.tbc-explore-map__sheet-root--partner .tbc-explore-map__sheet-body {
	padding: 0;
}

.tbc-explore-map__sheet-root--partner .tbc-pcard {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	max-width: none;
}

/* Croix flottante de la variante partenaire (le hero standard, qui porte la
   croix habituelle, est masque) : posee par-dessus le media de la card. */
.tbc-explore-map__sheet .tbc-explore-map__sheet-pclose {
	-webkit-appearance: none;
	appearance: none;
	align-items: center;
	background: rgba(20, 20, 22, 0.5);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border: 0;
	border-radius: 50%;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	display: flex;
	font-size: 17px;
	height: 30px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	position: absolute;
	right: 13px;
	top: 16px;
	width: 30px;
	z-index: 4;
}

.tbc-explore-map__sheet-pclose[hidden] {
	display: none;
}

.tbc-explore-map__sheet-pclose:focus-visible {
	box-shadow: var(--tbc-focus-ring);
	outline: none;
}

/* tbc-route-arguments
   ------------------- */
.tbc-route-arguments {
	font-family: var(--tbc-font-body);
}

.tbc-route-arguments--placeholder {
	background: var(--tbc-hairline);
	border: 0.5px dashed var(--tbc-stone);
	border-radius: var(--tbc-radius-md);
	color: var(--tbc-graphite);
	padding: var(--tbc-spacing-4);
}

.tbc-route-arguments__placeholder {
	font-size: 13px;
	margin: 0;
}

.tbc-route-arguments__heading {
	font-family: var(--tbc-font-display);
	font-size: 18px;
	font-weight: 500;
	margin: 0 0 var(--tbc-spacing-4);
}

.tbc-route-arguments__grid {
	display: grid;
	gap: var(--tbc-spacing-4);
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.tbc-route-arguments__item {
	align-items: flex-start;
	display: flex;
	gap: var(--tbc-spacing-3);
}

.tbc-route-arguments__icon {
	align-items: center;
	background: var(--tbc-sun-soft);
	border-radius: var(--tbc-radius-sm);
	color: var(--tbc-sun-deep);
	display: flex;
	flex-shrink: 0;
	font-size: 20px;
	height: 38px;
	justify-content: center;
	width: 38px;
}

.tbc-route-arguments__title {
	/* Typo = step .tbc-h6. Ici : layout seul. */
	margin: 0 0 2px;
}

.tbc-route-arguments__description {
	color: var(--tbc-graphite);
	font-size: 13px;
	line-height: 1.5;
	margin: 0;
}

/* tbc-route-ports - quais du trajet
   --------------------------------
   Deux dispositions, un seul jeu de classes. Les motifs d'interaction viennent
   des composants partages : `.tbc-disclosure` (la ligne repliable),
   `.tbc-segment__option` (les onglets), `.tbc-rs__panel` (le panneau de
   detail). Ici : layout, groupes, badges. Aucune ombre (pas de token d'ombre
   dans le plugin), bordures seules. */
.tbc-route-ports {
	background: var(--tbc-canvas);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-lg);
	color: var(--tbc-ink);
	font-family: var(--tbc-font-body);
	padding: var(--tbc-spacing-5);
}

.tbc-route-ports--placeholder {
	background: var(--tbc-hairline);
	border: 0.5px dashed var(--tbc-stone);
	color: var(--tbc-graphite);
	padding: var(--tbc-spacing-4);
}

.tbc-route-ports__placeholder {
	/* Typo = step .tbc-text-sm (pose dans le markup). Ici : layout seul. */
	margin: 0;
}

.tbc-route-ports__heading {
	/* Typo = step choisi en Style (defaut .tbc-h3b). Ici : layout seul. */
	margin: 0 0 var(--tbc-spacing-1);
}

.tbc-route-ports__intro {
	color: var(--tbc-graphite);
	margin: 0 0 var(--tbc-spacing-4);
}

/* ── Groupe : l'appartenance est portee UNE fois, en en-tete ── */
.tbc-route-ports__group + .tbc-route-ports__group {
	margin-top: var(--tbc-spacing-5);
}

.tbc-route-ports__group-head {
	align-items: center;
	display: flex;
	gap: var(--tbc-spacing-2);
	margin-bottom: var(--tbc-spacing-2);
}

.tbc-route-ports__group-ico {
	align-items: center;
	background: var(--tbc-sun-soft);
	border-radius: var(--tbc-radius-sm);
	color: var(--tbc-sun-deep);
	display: flex;
	flex: none;
	height: 22px;
	justify-content: center;
	width: 22px;
}

.tbc-route-ports__group-lab {
	/* Typo = step .tbc-h6b (pose dans le markup). Ici : decor de kicker. */
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.tbc-route-ports__group-count {
	color: var(--tbc-muted);
	margin-left: auto;
}

/* ── Ligne de quai ─────────────────────────────────────────── */
/* La peau du bouton vient de .tbc-disclosure ; on n'ajuste que l'interieur.
   Selecteur a 2 classes (0,2,0) pour rester au-dessus du reset Rey. */
.tbc-route-ports .tbc-route-ports__row {
	align-items: center;
	gap: var(--tbc-spacing-3);
	padding: var(--tbc-spacing-3);
}

.tbc-route-ports__item + .tbc-route-ports__item {
	margin-top: var(--tbc-spacing-2);
}

.tbc-route-ports__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	text-align: left;
}

.tbc-route-ports__name {
	/* Typo = step choisi en Style (defaut .tbc-h5b). Ici : layout + couleur. */
	color: var(--tbc-ink);
	margin: 0;
}

.tbc-route-ports__sub {
	color: var(--tbc-graphite);
}

.tbc-route-ports__chevron {
	align-items: center;
	color: var(--tbc-graphite);
	display: flex;
	flex: none;
	justify-content: center;
	transition: transform var(--tbc-transition-fast);
}

.tbc-route-ports__row[aria-expanded="true"] .tbc-route-ports__chevron:not(.tbc-route-ports__chevron--right) {
	transform: rotate(180deg);
}

/* ── Badge de notice datee ─────────────────────────────────── */
/* Masque par defaut : route-ports.js revele la fenetre du jour. Sans lui,
   aucun badge n'apparait, et le detail reste lisible dans le panneau. */
.tbc-route-ports__alerts {
	display: flex;
	flex-wrap: wrap;
	gap: var(--tbc-spacing-1);
	margin-top: var(--tbc-spacing-1);
}

/* Micro-labels : l'echelle typo s'arrete a 14px (.tbc-text-sm / .tbc-h6), il
   n'existe pas de step en dessous. Meme choix que .tbc-rs__group (10px) et
   .tbc-wizard__acc-sum-k (12px) plus haut dans ce fichier. */
.tbc-route-ports__alert,
.tbc-route-ports__alert-more {
	align-items: center;
	border-radius: var(--tbc-radius-sm);
	display: inline-flex;
	font-size: 11.5px;
	font-weight: 500;
	gap: 5px;
	line-height: 1.3;
	padding: 3px 7px;
}

.tbc-route-ports__alert[hidden],
.tbc-route-ports__alert-more[hidden] {
	display: none;
}

.tbc-route-ports__alert--info {
	background: var(--tbc-paper);
	color: var(--tbc-graphite);
}

.tbc-route-ports__alert--vigilance {
	background: var(--tbc-sun-soft);
	color: var(--tbc-sun-deep);
}

.tbc-route-ports__alert--bloquant {
	background: var(--tbc-sun);
	color: var(--tbc-sun-deep);
}

.tbc-route-ports__alert-more {
	background: transparent;
	color: var(--tbc-muted);
	padding-left: 0;
}

/* ── Panneau deplie (disposition A) ────────────────────────── */
.tbc-route-ports__panel {
	padding: var(--tbc-spacing-2) var(--tbc-spacing-3) var(--tbc-spacing-3);
}

.tbc-route-ports__panel[hidden],
.tbc-route-ports__sheet[hidden],
.tbc-route-ports__stage[hidden] {
	display: none;
}

.tbc-route-ports__notice {
	color: var(--tbc-ink);
	margin: 0 0 var(--tbc-spacing-2);
}

.tbc-route-ports__notice-lbl {
	color: var(--tbc-sun-deep);
	font-weight: 500;
	margin-right: var(--tbc-spacing-1);
}

.tbc-route-ports__meta {
	align-items: flex-start;
	display: flex;
	gap: var(--tbc-spacing-2);
	padding: var(--tbc-spacing-2) 0;
}

.tbc-route-ports__meta + .tbc-route-ports__meta {
	border-top: 0.5px solid var(--tbc-hairline);
}

/* Icone calee en haut, centree sur la ligne du libelle (18px), a cote du texte. */
.tbc-route-ports__meta-ico {
	color: var(--tbc-stone);
	margin-top: 2px;
}

.tbc-route-ports__meta-text {
	min-width: 0;
}

.tbc-route-ports__meta-lbl {
	color: var(--tbc-muted);
	display: block;
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.tbc-route-ports__meta-val {
	color: var(--tbc-ink);
	display: block;
	margin-top: 2px;
}

.tbc-route-ports__link {
	align-items: center;
	color: var(--tbc-ink);
	display: inline-flex;
	font-weight: 500;
	gap: 5px;
	margin-top: var(--tbc-spacing-2);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ── Onglets et panneau (disposition B) ────────────────────── */
.tbc-route-ports__tabs {
	margin-bottom: var(--tbc-spacing-3);
}

.tbc-route-ports .tbc-route-ports__tab {
	line-height: 1.25;
	text-align: left;
}

.tbc-route-ports__tab-lab {
	/* Typo = step .tbc-text-sm (pose dans le markup). Ici : layout seul. */
	display: block;
	font-weight: 500;
}

.tbc-route-ports__tab-count {
	color: var(--tbc-muted);
	display: block;
	font-size: 13px;
	font-weight: 500;
	margin-top: 1px;
}

/* La zone garde une hauteur stable : le panneau se pose PAR-DESSUS la liste
   (composant .tbc-rs__panel, position absolue), il ne pousse rien. La hauteur
   du plus grand contenu est mesuree au montage par route-ports.js et posee en
   min-height : aucune hauteur en dur ici, et rien ne deborde. */
.tbc-route-ports__stage {
	overflow: hidden;
	position: relative;
}

.tbc-route-ports__sheet {
	left: 0;
	max-height: 100%;
	overflow-y: auto;
	right: 0;
	top: 0;
}

.tbc-route-ports__sheet-head {
	align-items: flex-start;
	display: flex;
	gap: var(--tbc-spacing-2);
	margin-bottom: var(--tbc-spacing-2);
}

.tbc-route-ports__sheet-title {
	min-width: 0;
}

.tbc-route-ports .tbc-route-ports__sheet-close {
	margin-left: auto;
}

@media (max-width: 480px) {
	.tbc-route-ports {
		padding: var(--tbc-spacing-4);
	}
}

/* tbc-event-access - quand et ou debarquer (single event)
   --------------------------------------------------------
   La racine porte .tbc-route-ports ET .tbc-event-access : groupes, lignes,
   badges et typo viennent des quais du trajet. Ici seulement la pastille de
   date, la notice et l'etat d'un quai. Couleurs d'etat = tokens existants :
   --tbc-lieu (vert) pour un quai conseille, --tbc-event (rouge) pour un quai
   contraint, aucun nouveau token. */
.tbc-event-access__edition {
	align-items: center;
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-md);
	display: flex;
	gap: var(--tbc-spacing-3);
	padding: var(--tbc-spacing-3);
}

.tbc-event-access__date {
	align-items: center;
	background: var(--tbc-sun-soft);
	border-radius: var(--tbc-radius-md);
	color: var(--tbc-sun-deep);
	display: flex;
	flex: none;
	flex-direction: column;
	height: 56px;
	justify-content: center;
	width: 56px;
}

/* Micro-label sous le jour : l'echelle s'arrete a 14px, meme choix que
   .tbc-route-ports__meta-lbl. */
.tbc-event-access__month {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.tbc-event-access__notice {
	align-items: flex-start;
	border-left: 3px solid var(--tbc-stone);
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-2);
	padding: var(--tbc-spacing-1) 0 var(--tbc-spacing-1) var(--tbc-spacing-3);
}

.tbc-event-access__notice--vigilance {
	border-left-color: var(--tbc-sun);
}

.tbc-event-access__notice--bloquant {
	border-left-color: var(--tbc-event);
}

.tbc-event-access__notice-text {
	color: var(--tbc-ink);
	margin: 0;
}

/* Ligne-lien : la peau vient de .tbc-disclosure. (0,2,0) pour battre le
   soulignement des liens du theme. */
.tbc-event-access .tbc-event-access__row {
	text-decoration: none;
}

.tbc-event-access__state {
	align-items: center;
	border-radius: var(--tbc-radius-pill);
	display: flex;
	flex: none;
	height: 24px;
	justify-content: center;
	width: 24px;
}

.tbc-event-access__row--ok .tbc-event-access__state {
	background: color-mix(in srgb, var(--tbc-lieu) 14%, transparent);
	color: var(--tbc-lieu);
}

.tbc-event-access__row--ko .tbc-event-access__state {
	background: color-mix(in srgb, var(--tbc-event) 14%, transparent);
	color: var(--tbc-event);
}

/* ==========================================================================
   Bouton partager (tbc-share-button)
   ========================================================================== */

/* Wrapper bouton + bloc IA. La grille 2 colonnes (1/2) ne s'active qu'avec le
   bloc IA ; sur mobile, une colonne (empile). */
.tbc-share-widget--with-ai {
	align-items: start;
	column-gap: var(--tbc-spacing-5);
	display: grid;
	grid-template-columns: 1fr 2fr;
	row-gap: var(--tbc-spacing-4);
}

@media (max-width: 768px) {
	.tbc-share-widget--with-ai {
		grid-template-columns: 1fr;
	}
}

.tbc-share {
	color: var(--tbc-ink);
	display: inline-flex;
	font-family: var(--tbc-font-body);
	position: relative;
}

.tbc-share--placeholder {
	background: var(--tbc-hairline);
	border: 0.5px dashed var(--tbc-stone);
	border-radius: var(--tbc-radius-lg);
	color: var(--tbc-graphite);
	display: block;
	padding: var(--tbc-spacing-5);
}

.tbc-share__placeholder {
	font-size: 14px;
	margin: 0;
}

/* Peau = .tbc-btn--quiet ; seule la hauteur du declencheur est locale. */
.tbc-share .tbc-share__btn {
	--tbc-btn-h: 42px;
}

/* Scope + dimensions/fill explicites : certains themes (Rey) ou Elementor
   forcent svg{width:auto;height:auto;fill:...}, ce qui faisait disparaitre
   l'icone. On verrouille taille et couleur sous .tbc-share. */
/* Le theme applique padding:0.525rem 1rem a tout [class*="btn-"], ce qui
   matche .tbc-share__btn-icon / .tbc-share__btn-label et ecrasait l'icone
   (contenu reduit a 0 en box-sizing:border-box). On remet padding:0. */
.tbc-share .tbc-share__btn-icon {
	display: block;
	fill: none;
	stroke: currentColor;
	flex: 0 0 auto;
	height: 16px;
	width: 16px;
	padding: 0;
}

.tbc-share .tbc-share__btn-label {
	padding: 0;
}

.tbc-share .tbc-share__btn-icon path {
	fill: none;
	stroke: currentColor;
}

/* Mobile : ne garder que l'icone (label masque). */
@media (max-width: 767px) {
	.tbc-share .tbc-share__btn {
		gap: 0;
		padding: 0;
		width: 42px;
		justify-content: center;
	}

	.tbc-share__btn-label {
		display: none;
	}
}

/* PC : pas de fond ni de bordure, icone de la meme couleur que le texte. */
@media (min-width: 768px) {
	.tbc-share .tbc-share__btn {
		background: transparent;
		border-color: transparent;
		padding-left: 0;
		padding-right: 0;
	}

	.tbc-share .tbc-share__btn:hover {
		background: transparent;
		border-color: transparent;
		color: var(--tbc-sun-deep);
	}
}

.tbc-share__popup {
	background: var(--tbc-canvas);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-lg);
	box-shadow: 0 12px 40px rgba(14, 42, 71, 0.16);
	left: 0;
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
	position: absolute;
	top: calc(100% + var(--tbc-spacing-2));
	transform: translateY(-6px) scale(0.98);
	transition: opacity var(--tbc-transition-base), transform var(--tbc-transition-base);
	width: 280px;
	z-index: 60;
}

.tbc-share__popup.is-open {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0) scale(1);
}

.tbc-share__head {
	align-items: center;
	border-bottom: 0.5px solid var(--tbc-hairline);
	display: flex;
	justify-content: space-between;
	padding: 14px 16px;
}

/* Peau = .tbc-btn--icon --ghost. */
.tbc-share .tbc-share__close {
	--tbc-btn-h: 28px;
	border-radius: var(--tbc-radius-sm);
}

/* Lignes : <a> et <button> partagent .tbc-share__row, scope (0,2,0) pour
   neutraliser le reset bouton/lien du theme. */
.tbc-share .tbc-share__row {
	align-items: center;
	background: none;
	border: none;
	color: var(--tbc-ink);
	cursor: pointer;
	display: flex;
	font-family: inherit;
	font-size: 14px;
	font-weight: 300;
	gap: var(--tbc-spacing-3);
	justify-content: flex-start;
	padding: 13px 16px;
	text-align: left;
	text-decoration: none;
	transition: background 130ms ease;
	width: 100%;
}

.tbc-share__row:not(:last-child) {
	border-bottom: 0.5px solid var(--tbc-hairline);
}

.tbc-share__row:hover {
	background: var(--tbc-hairline);
}

.tbc-share__row:focus-visible {
	box-shadow: var(--tbc-focus-ring);
	outline: none;
}

.tbc-share__row-label {
	color: inherit;
}

.tbc-share__ico {
	align-items: center;
	background: var(--tbc-hairline);
	border-radius: var(--tbc-radius-sm);
	color: var(--tbc-ink);
	display: flex;
	flex-shrink: 0;
	height: 34px;
	justify-content: center;
	width: 34px;
}

.tbc-share__ico svg {
	display: block;
	height: 17px;
	width: 17px;
}

.tbc-share__ico--copy-link {
	background: var(--tbc-sun-soft);
	color: var(--tbc-sun-deep);
}

.tbc-share__ico--email {
	background: var(--tbc-night);
	color: #fff;
}

.tbc-share__ico--whatsapp {
	background: var(--tbc-wa);
	color: #fff;
}

.tbc-share__ico--facebook {
	background: #1877f2;
	color: #fff;
}

.tbc-share__ico--x {
	background: var(--tbc-ink);
	color: #fff;
}

.tbc-share__ico--linkedin {
	background: #0a66c2;
	color: #fff;
}

.tbc-share__ico--telegram {
	background: #229ed9;
	color: #fff;
}

.tbc-share__ico--sms {
	background: var(--tbc-night);
	color: #fff;
}

.tbc-share__ico--custom-link {
	background: var(--tbc-hairline);
	color: var(--tbc-ink);
}

.tbc-share__toast {
	background: var(--tbc-ink);
	border-radius: var(--tbc-radius-sm);
	color: var(--tbc-canvas);
	font-size: 13px;
	left: 50%;
	opacity: 0;
	padding: 8px 16px;
	pointer-events: none;
	position: absolute;
	top: calc(100% + var(--tbc-spacing-2));
	transform: translateX(-50%) translateY(-4px);
	transition: opacity var(--tbc-transition-base), transform var(--tbc-transition-base);
	white-space: nowrap;
	z-index: 70;
}

.tbc-share__toast.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.tbc-share__popup,
	.tbc-share__toast {
		transition: opacity var(--tbc-transition-fast);
	}

	.tbc-share__popup {
		transform: none;
	}

	.tbc-share__popup.is-open {
		transform: none;
	}
}

/* Canal "Demander a une IA" dans le popup */
.tbc-share__ico--share-to-ai {
	background: var(--tbc-ink);
	color: #fff;
}

/* Bloc logos IA (colonne 2 de la grille ; espacement gere par le gap). */
.tbc-share-ai {
	min-width: 0;
}

.tbc-share-ai__label {
	color: var(--tbc-graphite);
	display: block;
	font-size: 12px;
	font-weight: 500;
	margin-bottom: var(--tbc-spacing-2);
}

.tbc-share-ai__list {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--tbc-spacing-2);
}

.tbc-share-ai__item {
	align-items: center;
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-sm);
	display: inline-flex;
	justify-content: center;
	padding: 8px 10px;
	text-decoration: none;
	transition: background var(--tbc-transition-fast), border-color var(--tbc-transition-fast);
}

.tbc-share-ai__item:hover {
	background: var(--tbc-hairline);
	border-color: var(--tbc-stone);
}

.tbc-share-ai__item:focus-visible {
	box-shadow: var(--tbc-focus-ring);
	outline: none;
}

.tbc-share-ai__logo {
	display: block;
	height: 22px;
	width: auto;
}

/* Variante "logo seul" : pastille carree compacte */
.tbc-share-ai--mark .tbc-share-ai__item {
	padding: 8px;
}

.tbc-share-ai--mark .tbc-share-ai__logo {
	height: 24px;
	width: 24px;
}

/* Variante texte blanc : pensee pour un fond sombre */
.tbc-share-ai--text-white .tbc-share-ai__item {
	border-color: rgba(255, 255, 255, 0.18);
}

.tbc-share-ai--text-white .tbc-share-ai__item:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.32);
}

.tbc-share-ai--text-white .tbc-share-ai__label {
	color: rgba(255, 255, 255, 0.72);
}

/* tbc-wizard event selector (enriched dropdown)
   Buttons scoped under .tbc-booking-widget to beat the Rey button[type] reset.
   --------------------------------------------- */
.tbc-wizard__evsel {
	position: relative;
	font-family: var(--tbc-font-body);
}

.tbc-booking-widget .tbc-wizard__evsel-trigger {
	width: 100%;
	min-height: 54px;
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-md);
	background: var(--tbc-canvas);
	padding: 8px 44px 8px 14px;
	font-size: 14px;
	font-family: inherit;
	color: var(--tbc-ink);
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 12px;
	text-align: left;
	transition: border-color var(--tbc-transition-fast), box-shadow var(--tbc-transition-fast);
}

.tbc-booking-widget .tbc-wizard__evsel-trigger:hover {
	border-color: var(--tbc-sun);
}

.tbc-booking-widget .tbc-wizard__evsel-trigger--open {
	border-color: var(--tbc-ink);
	box-shadow: 0 0 0 3px var(--tbc-sun-soft);
}

.tbc-wizard__evsel-label {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tbc-wizard__evsel-label--placeholder {
	color: var(--tbc-stone);
}

.tbc-wizard__evsel-chevron {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: var(--tbc-graphite);
	transition: transform var(--tbc-transition-base);
	display: inline-flex;
}

.tbc-wizard__evsel-trigger--open .tbc-wizard__evsel-chevron {
	transform: translateY(-50%) rotate(180deg);
}

.tbc-wizard__evsel-menu {
	/* Portalled to <body> and positioned by JS (top/left/width) so it
	   escapes the wizard card's overflow:hidden slide clip. */
	position: fixed;
	background: var(--tbc-canvas);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-md);
	box-shadow: 0 14px 44px rgba(14, 42, 71, 0.16);
	overflow-y: auto;
	max-height: 340px;
	z-index: 9999;
	opacity: 0;
	transform: translateY(-6px);
	pointer-events: none;
	transition: opacity var(--tbc-transition-base), transform var(--tbc-transition-base);
}

.tbc-wizard__evsel-menu--open {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.tbc-wizard__evsel-menu .tbc-wizard__evsel-option {
	display: flex;
	align-items: center;
	gap: 13px;
	padding: 12px 16px;
	width: 100%;
	border: none;
	background: none;
	font-family: inherit;
	text-align: left;
	cursor: pointer;
	transition: background var(--tbc-transition-fast);
}

.tbc-wizard__evsel-menu .tbc-wizard__evsel-option:hover,
.tbc-wizard__evsel-menu .tbc-wizard__evsel-option:focus-visible {
	background: var(--tbc-sun-soft);
	outline: none;
}

.tbc-wizard__evsel-menu .tbc-wizard__evsel-option:not(:last-child) {
	border-bottom: 0.5px solid var(--tbc-hairline);
}

.tbc-wizard__evsel-menu .tbc-wizard__evsel-option--none {
	font-size: 14px;
	color: var(--tbc-graphite);
}

.tbc-wizard__evsel-date {
	width: 46px;
	flex-shrink: 0;
	text-align: center;
	background: var(--tbc-hairline);
	border-radius: var(--tbc-radius-sm);
	padding: 6px 0;
}

.tbc-wizard__evsel-day {
	display: block;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	color: var(--tbc-ink);
}

.tbc-wizard__evsel-month {
	display: block;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--tbc-graphite);
	margin-top: 2px;
}

.tbc-wizard__evsel-info {
	flex: 1;
	min-width: 0;
}

.tbc-wizard__evsel-name {
	display: block;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.25;
	color: var(--tbc-ink);
}

.tbc-wizard__evsel-meta {
	display: flex;
	align-items: center;
	gap: 5px;
	flex-wrap: wrap;
	font-size: 12px;
	color: var(--tbc-graphite);
	margin-top: 2px;
}

.tbc-wizard__evsel-badge {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 2px 7px;
	border-radius: var(--tbc-radius-pill);
	background: var(--tbc-sun-soft);
	color: var(--tbc-sun-deep);
}

.tbc-wizard__evsel-badge--soon {
	background: var(--tbc-ink);
	color: #fff;
}

/* tbc-cartes-route
   --------------- */
.tbc-cartes-route {
	--tbc-vr-sun: var(--sun, var(--tbc-sun));
	--tbc-vr-sun-deep: var(--sun-deep, var(--tbc-sun-deep));
	--tbc-vr-sun-soft: var(--sun-soft, var(--tbc-sun-soft));
	color: var(--color-text-primary, var(--tbc-ink));
	font-family: var(--tbc-font-display);
}

.tbc-cartes-route--placeholder {
	background: var(--color-background-secondary, var(--tbc-hairline));
	border: 0.5px dashed var(--color-border-tertiary, var(--tbc-stone));
	border-radius: var(--border-radius-lg, var(--tbc-radius-md));
	color: var(--color-text-secondary, var(--tbc-graphite));
	padding: var(--tbc-spacing-4);
}

.tbc-cartes-route__placeholder {
	font-size: 13px;
	margin: 0;
}

.tbc-cartes-route__head {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: var(--tbc-spacing-2) var(--tbc-spacing-3);
	justify-content: space-between;
	margin-bottom: var(--tbc-spacing-4);
}

.tbc-cartes-route__title {
	/* Typo = step .tbc-h3b. Ici : layout seul. */
	margin: 0;
}

.tbc-cartes-route__count {
	color: var(--color-text-tertiary, var(--tbc-stone));
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.tbc-cartes-route__empty {
	color: var(--color-text-secondary, var(--tbc-graphite));
	font-size: 14px;
	margin: 0;
}

.tbc-cartes-route__grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.tbc-cartes-route__item {
	margin: 0;
}

/* Pied de page (modele Rey 2947) : logo en version claire (SVG currentColor
   rendu en <img>, donc noir), compteurs contre le titre de leur liste. */
.tbc-logo-light img {
	filter: brightness(0) invert(1);
}
.tbc-footer-cols .tbc-cartes-route__head,
.tbc-footer-cols .tbc-cartes__head {
	justify-content: flex-start;
}

/* Filtres depart / arrivee / duree : trois pilules a liste du kit en rangee,
   detachees du fond de page (couleurs reglables, onglet Style « Filtres »). */
.tbc-cartes-route__filters .tbc-route-hero__field.tbc-route-hero__field--select {
	background: var(--tbc-canvas);
	border: 1px solid var(--tbc-hairline);
}
.tbc-cartes-route__filters .tbc-route-hero__field.tbc-route-hero__field--select:hover {
	border-color: var(--tbc-ink);
}

.tbc-cartes-route__filters {
	display: grid;
	gap: var(--tbc-spacing-3);
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: var(--tbc-spacing-5);
}

.tbc-cartes-route__filters + .tbc-cartes-route__empty:not([hidden]) {
	margin-bottom: var(--tbc-spacing-5);
}

.tbc-cartes-route__item[hidden] {
	display: none;
}

@media (max-width: 767px) {
	.tbc-cartes-route__filters {
		grid-template-columns: 1fr;
	}
}

.tbc-cartes-route__card {
	background: var(--color-background-primary, var(--tbc-canvas));
	border: 0.5px solid var(--color-border-tertiary, var(--tbc-hairline));
	border-radius: var(--border-radius-lg, var(--tbc-radius-lg));
	color: inherit;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tbc-cartes-route__card:hover {
	border-color: var(--tbc-vr-sun);
	box-shadow: 0 12px 30px rgba(14, 42, 71, 0.10);
	transform: translateY(-3px);
}

.tbc-cartes-route__card:focus-within {
	border-color: var(--tbc-vr-sun);
	box-shadow: 0 12px 30px rgba(14, 42, 71, 0.10);
}

.tbc-cartes-route__link {
	color: inherit;
	display: block;
	text-decoration: none;
}

.tbc-cartes-route__link:focus-visible {
	outline: none;
	box-shadow: var(--tbc-focus-ring);
}

.tbc-cartes-route__route {
	/* Nom de trajet : balise configurable (route_name_tag, h1-h6). Neutralise
	   les defauts de titre pour que la typo reste portee par les enfants. */
	font: inherit;
	margin: 0;
	align-items: center;
	display: flex;
	gap: 10px;
	padding: 16px 16px 14px;
}

.tbc-cartes-route__city {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}
/* titre de ce genre en 500 pas 600! */
.tbc-cartes-route__city-name {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tbc-cartes-route__city-port {
	color: var(--color-text-tertiary, var(--tbc-stone));
	font-size: 13px;
	font-weight: 500;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tbc-cartes-route__foot {
	align-items: center;
	display: flex;
	justify-content: space-between;
	padding: 0 16px 12px;
}

.tbc-cartes-route__duration {
	align-items: center;
	color: var(--color-text-secondary, var(--tbc-graphite));
	display: inline-flex;
	font-size: 13px;
	gap: 6px;
}

.tbc-cartes-route__price {
	align-items: baseline;
	color: var(--color-text-secondary, var(--tbc-graphite));
	display: flex;
	font-size: 12px;
	gap: 4px;
	margin-left: auto;
}

.tbc-cartes-route__price strong {
	color: var(--color-text-primary, var(--tbc-ink));
	font-size: 16px;
	font-weight: 700;
}

.tbc-cartes-route__actions {
	border-top: 0.5px solid var(--color-border-tertiary, var(--tbc-hairline));
	display: grid;
	grid-template-columns: 1fr auto;
	margin-top: auto;
}

/* Scoped under .tbc-cartes-route (0,2,0) so the Rey theme reset on
   button[type="button"] (0,1,1) cannot strip the ink background/padding. */
.tbc-cartes-route .tbc-cartes-route__estimate {
	align-items: center;
	border: 0;
	color: var(--tbc-ink);
	cursor: pointer;
	display: flex;
	font: inherit;
	font-size: 13px;
	font-weight: 300;
	gap: 7px;
	justify-content: center;
	padding: 12px;
	text-decoration: none;
	transition: opacity 150ms ease;
}

.tbc-cartes-route .tbc-cartes-route__estimate:hover {
	opacity: 0.88;
}

.tbc-cartes-route .tbc-cartes-route__estimate:focus-visible {
	box-shadow: var(--tbc-focus-ring);
	outline: none;
}

.tbc-cartes-route__detail {
	align-items: center;
	border-left: 0.5px solid var(--color-border-tertiary, var(--tbc-hairline));
	color: var(--color-text-secondary, var(--tbc-graphite));
	display: flex;
	font-size: 13px;
	gap: 5px;
	padding: 12px 16px;
	text-decoration: none;
	transition: color 150ms ease, background 150ms ease;
	white-space: nowrap;
}

.tbc-cartes-route__detail:hover {
	background: var(--color-background-secondary, var(--tbc-hairline));
	color: var(--color-text-primary, var(--tbc-ink));
}

.tbc-cartes-route__detail:focus-visible {
	box-shadow: var(--tbc-focus-ring);
	outline: none;
}

/* Un seul CTA visible (show_estimate XOR show_detail) : la barre d'actions
   passe en une colonne pleine largeur ; le lien Details perd sa separation
   verticale et se centre comme le bouton Estimer. */
.tbc-cartes-route__actions--single {
	grid-template-columns: 1fr;
}

.tbc-cartes-route__actions--single .tbc-cartes-route__detail {
	border-left: 0;
	justify-content: center;
}

/* tbc-cartes-route - variantes de style (controle card_style)
   -----------------------------------------------------------
   « epure » est la base ci-dessus : --style-epure n'a aucun override. Les
   variantes ne redefinissent que le layout interne ; elles heritent du tonus
   commun (carte hairline, hover lift, tokens --color-*/--tbc-*). */

/* --- Style « media » : en-tete image + degrade de repli --- */
.tbc-cartes-route__card--media .tbc-cartes-route__route {
	padding-top: 12px;
}

.tbc-cartes-route__media {
	background: linear-gradient(135deg, #2a6f97, #163b56);
	display: block;
	height: 150px;
	overflow: hidden;
	position: relative;
}

/* Scoped (0,2,0) pour battre le reset Elementor .elementor img{border-radius:0}. */
.tbc-cartes-route .tbc-cartes-route__media-img {
	border-radius: 0;
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.tbc-cartes-route__media-grad {
	background: linear-gradient(to top, rgba(10, 10, 10, 0.45), transparent 60%);
	inset: 0;
	position: absolute;
}

.tbc-cartes-route__media-chip {
	align-items: center;
	backdrop-filter: blur(4px);
	background: rgba(252, 252, 254, 0.92);
	border-radius: var(--tbc-radius-pill);
	bottom: 10px;
	color: var(--tbc-ink);
	display: inline-flex;
	font-size: 12px;
	font-weight: 500;
	gap: 5px;
	left: 10px;
	padding: 3px 9px;
	position: absolute;
}

.tbc-cartes-route__media-chip .tbc-icon {
	color: var(--tbc-vr-sun-deep);
}

/* --- Style « rangee » : liste dense en une colonne --- */
.tbc-cartes-route--style-rangee .tbc-cartes-route__grid {
	grid-template-columns: 1fr;
}

.tbc-cartes-route__card--rangee {
	align-items: center;
	flex-direction: row;
	gap: 12px;
	padding: 10px 12px;
}

.tbc-cartes-route__thumb {
	background: linear-gradient(135deg, #2a6f97, #163b56);
	border-radius: var(--border-radius-md, var(--tbc-radius-sm));
	flex: 0 0 auto;
	height: 46px;
	overflow: hidden;
	width: 46px;
}

.tbc-cartes-route .tbc-cartes-route__thumb img {
	border-radius: 0;
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.tbc-cartes-route__link--rangee {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.tbc-cartes-route__rowtitle {
	/* Nom de trajet (rangee) : balise configurable. Neutralise les defauts de
	   titre ; la typo reste portee par les enfants .tbc-cartes-route__city-name. */
	font: inherit;
	margin: 0;
	align-items: center;
	display: flex;
	gap: 6px;
	min-width: 0;
}

.tbc-cartes-route__rowtitle .tbc-cartes-route__city-name {
	flex: 0 1 auto;
}

.tbc-cartes-route__rowarrow {
	align-items: center;
	color: var(--tbc-vr-sun-deep);
	display: inline-flex;
	flex: 0 0 auto;
}

.tbc-cartes-route__rowmeta {
	color: var(--color-text-tertiary, var(--tbc-stone));
	font-size: 12px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tbc-cartes-route__rowactions {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	gap: 6px;
	margin-left: auto;
}

/* Peau = .tbc-btn--icon --sm, recoloree par la palette locale du widget. */
.tbc-cartes-route .tbc-cartes-route__estimate-icon {
	--tbc-btn-bg: var(--tbc-vr-sun);
	--tbc-btn-bc: var(--tbc-vr-sun);
	--tbc-btn-fg: var(--tbc-vr-sun-deep);
}

.tbc-cartes-route__chevron {
	align-items: center;
	color: var(--color-text-tertiary, var(--tbc-stone));
	display: flex;
	flex: 0 0 auto;
	text-decoration: none;
}

.tbc-cartes-route__chevron:hover {
	color: var(--color-text-primary, var(--tbc-ink));
}

.tbc-cartes-route__chevron:focus-visible {
	border-radius: var(--border-radius-sm, var(--tbc-radius-sm));
	box-shadow: var(--tbc-focus-ring);
	outline: none;
}

/* --- Style « donnees » : prix en gros chiffre --- */
.tbc-cartes-route__route--donnees {
	gap: 6px;
	padding-bottom: 4px;
}

.tbc-cartes-route__route--donnees .tbc-cartes-route__city-name {
	color: var(--color-text-secondary, var(--tbc-graphite));
	font-size: 13px;
}

.tbc-cartes-route__stats {
	align-items: flex-end;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding: 0 16px 14px;
}

.tbc-cartes-route__price-hero {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.tbc-cartes-route__price-hero strong {
	color: var(--color-text-primary, var(--tbc-ink));
	font-size: 26px;
	font-weight: 700;
}

.tbc-cartes-route__price-hero small {
	color: var(--color-text-tertiary, var(--tbc-stone));
	font-size: 13px;
	font-weight: 500;
	margin-top: 2px;
}

.tbc-cartes-route__spec {
	align-items: center;
	color: var(--color-text-secondary, var(--tbc-graphite));
	display: inline-flex;
	font-size: 13px;
	gap: 6px;
}

.tbc-cartes-route__spec .tbc-icon {
	color: var(--color-text-tertiary, var(--tbc-stone));
}

/* Offset so a card-triggered prefill scroll doesn't tuck the booking widget
   under sticky headers. */
.tbc-booking-widget {
	scroll-margin-top: 96px;
}

/* Prenom et nom cote a cote dans l'ecran 2 des pilules. */
.tbc-pills__identity {
	display: grid;
	gap: var(--tbc-spacing-3, 12px);
	grid-template-columns: 1fr 1fr;
}

/* Mention RGPD sous les coordonnees (wizard etape 4). */
.tbc-booking-widget__privacy {
	margin: var(--tbc-spacing-3, 12px) 0 0;
	color: var(--tbc-muted);
	font: var(--tbc-font-body-sm-regular);
}

.tbc-booking-widget__privacy a {
	color: inherit;
	text-decoration: underline;
}

/* WhatsApp-only action row (wizard step 4: no submit button alongside it). */
.tbc-booking-widget__actions--whatsapp-only {
	margin-top: var(--tbc-spacing-3, 12px);
}

/* tbc-bottom-nav
   -------------- */
/* La barre vit en flux normal (position relative) : fixed, z-index global
   et visibilite responsive sont geres hors widget, dans la page. */
.tbc-bottom-nav {
	align-items: flex-end;
	background: var(--tbc-canvas);
	border-top: 1px solid var(--tbc-hairline);
	color: var(--tbc-ink);
	display: flex;
	font-family: var(--tbc-font-body);
	padding: 9px 8px 16px;
	position: relative;
	width: 100%;
}

.tbc-bottom-nav--placeholder {
	background: var(--tbc-hairline);
	border: 0.5px dashed var(--tbc-stone);
	border-radius: var(--tbc-radius-md);
	color: var(--tbc-graphite);
	padding: var(--tbc-spacing-4);
}

.tbc-bottom-nav__placeholder {
	font-size: 13px;
	margin: 0;
}

.tbc-bottom-nav__tabs {
	align-items: flex-end;
	display: flex;
	flex: 1;
	min-width: 0;
}

.tbc-bottom-nav__tab {
	align-items: center;
	color: var(--tbc-graphite);
	cursor: pointer;
	display: flex;
	flex: 1;
	flex-direction: column;
	font-size: 10px;
	gap: 3px;
	justify-content: flex-end;
	min-height: 44px;
	min-width: 0;
	text-decoration: none;
	transition: color 0.25s ease;
	-webkit-tap-highlight-color: transparent;
}

.tbc-bottom-nav__tab:hover {
	color: var(--tbc-graphite);
	text-decoration: none;
}

.tbc-bottom-nav__tab:focus-visible {
	border-radius: var(--tbc-radius-sm);
	box-shadow: var(--tbc-focus-ring);
	outline: none;
}

.tbc-bottom-nav__icon {
	align-items: center;
	display: flex;
	height: 20px;
	justify-content: center;
	transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
	width: 20px;
}

.tbc-bottom-nav__icon svg {
	display: block;
	fill: none;
	height: 20px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
	width: 20px;
}

/* Les icones Font Awesome inlinees par Elementor (e-font-icon-svg) sont
   fill-based : on leur rend leur remplissage, le trace stroke 1.7 du mockup
   ne vaut que pour les SVG maison dessines en stroke. */
.tbc-bottom-nav__icon svg.e-font-icon-svg {
	fill: currentColor;
	stroke: none;
}

.tbc-bottom-nav__icon i {
	font-size: 20px;
	line-height: 1;
}

.tbc-bottom-nav__tab:active .tbc-bottom-nav__icon {
	transform: scale(0.85);
}

.tbc-bottom-nav__label {
	line-height: 1.2;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tbc-bottom-nav__tab--active {
	color: var(--tbc-sun-deep);
}

.tbc-bottom-nav__tab--active:hover {
	color: var(--tbc-sun-deep);
}

.tbc-bottom-nav__tab--active .tbc-bottom-nav__label {
	font-weight: 700;
}

.tbc-bottom-nav__tab--active .tbc-bottom-nav__icon {
	transform: translateY(-2px);
}

.tbc-bottom-nav__spacer {
	flex: 1.15;
}

/* L'anneau canvas 54px cree l'encoche visuelle ; absolu par rapport a la
   barre (le nav est le contexte positionne), pas au viewport. */
.tbc-bottom-nav__center {
	align-items: center;
	background: var(--tbc-canvas);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	height: 54px;
	justify-content: center;
	left: 50%;
	padding: 0;
	position: absolute;
	text-decoration: none;
	top: 0;
	transform: translate(-50%, -52%);
	width: 54px;
	-webkit-tap-highlight-color: transparent;
}

.tbc-bottom-nav__center:focus-visible {
	box-shadow: var(--tbc-focus-ring);
	outline: none;
}

.tbc-bottom-nav__center-inner {
	align-items: center;
	animation: tbc-bottom-nav-breathe 3.2s ease-in-out infinite;
	background: var(--tbc-sun);
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(74, 62, 10, 0.28);
	color: var(--tbc-sun-deep);
	display: flex;
	height: 46px;
	justify-content: center;
	transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
	width: 46px;
}

.tbc-bottom-nav__center:active .tbc-bottom-nav__center-inner {
	transform: scale(0.88);
}

.tbc-bottom-nav__center-inner svg {
	display: block;
	fill: none;
	height: 22px;
	stroke: var(--tbc-sun-deep);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	width: 22px;
}

.tbc-bottom-nav__center-inner svg.e-font-icon-svg {
	fill: var(--tbc-sun-deep);
	stroke: none;
}

.tbc-bottom-nav__center-inner i {
	color: var(--tbc-sun-deep);
	font-size: 22px;
	line-height: 1;
}

@keyframes tbc-bottom-nav-breathe {
	0%,
	100% {
		box-shadow: 0 4px 12px rgba(74, 62, 10, 0.28);
	}
	50% {
		box-shadow: 0 4px 20px rgba(255, 218, 57, 0.65);
	}
}

@media (prefers-reduced-motion: reduce) {
	.tbc-bottom-nav__tab,
	.tbc-bottom-nav__icon,
	.tbc-bottom-nav__center-inner {
		animation: none;
		transition: none;
	}

	.tbc-bottom-nav__tab:active .tbc-bottom-nav__icon,
	.tbc-bottom-nav__center:active .tbc-bottom-nav__center-inner {
		transform: none;
	}

	.tbc-bottom-nav__tab--active .tbc-bottom-nav__icon {
		transform: none;
	}
}

/* tbc-map-sheet
   -------------
   Slide-up plein ecran de la carte d'exploration, declenche par le bouton
   central de tbc-bottom-nav (mode "Evenement JS"). Monte par map-sheet.js a la
   premiere ouverture. visibility (pas display:none) une fois ouvert : Mapbox
   garde un conteneur dimensionne, et la transition de fermeture reste visible
   grace au delai sur la visibility. z-index tres haut pour passer au-dessus de
   la barre basse fixe (positionnee hors widget, dans la page). */
/* Couche = composant .tbc-modal --sheet (scrim, slide-up, Echap, focus, verrou
   de defilement). Ne reste ici que le gabarit du panneau et son contenu. */
.tbc-map-sheet .tbc-modal__panel {
	--tbc-modal-w: 760px;
	--tbc-modal-h: 88vh;

	height: var(--tbc-modal-h);
}

.tbc-map-sheet__header {
	align-items: center;
	display: flex;
	flex: none;
	flex-direction: column;
	padding: 0 12px 6px;
}

/* La poignee EST le bouton de fermeture (cf. mockup : pas de croix, on tape
   la poignee). Cible tactile elargie autour du trait visuel. Scope (0,2,0)
   pour battre le reset button[type="button"] du theme. */
.tbc-map-sheet .tbc-map-sheet__close {
	background: none;
	border: 0;
	cursor: pointer;
	display: block;
	padding: 10px 20px 4px;
}

.tbc-map-sheet .tbc-map-sheet__close:focus-visible {
	border-radius: var(--tbc-radius-sm);
	box-shadow: var(--tbc-focus-ring);
	outline: none;
}

.tbc-map-sheet__grip {
	background: var(--tbc-hairline);
	border-radius: 2px;
	display: block;
	height: 4px;
	width: 38px;
}

.tbc-map-sheet__title {
	/* Typo = step .tbc-h6b. Ici : layout + couleur + alignement. */
	color: var(--tbc-ink);
	margin: 0;
	text-align: center;
}

/* L'hote recoit le clone du <template> : conteneur flex qui laisse la carte
   remplir le panneau sous l'en-tete. */
.tbc-map-sheet__host {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
}

.tbc-map-sheet .tbc-explore-map {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
	padding: 0 12px 12px;
}

/* La hauteur fixe du canvas (480/380px hors slide-up) cede la place a un canvas
   qui occupe toute la hauteur restante du panneau. */
.tbc-map-sheet .tbc-explore-map__canvas {
	flex: 1;
	height: auto;
	min-height: 0;
}

/* ===========================================================================
   Partner card - card « partenaire sponsorise » (partner-card.js).
   Calque sur partner_cards.html (design valide), porte sur les tokens --tbc-*.
   Classes prefixees tbc-pcard* (convention plugin ; .pcard/.iconbtn bruts
   auraient collisionne sur le front). Mini-carousel scroll-snap natif.
   =========================================================================== */
.tbc-pcard {
	background: var(--tbc-canvas);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-lg);
	color: var(--tbc-ink);
	display: flex;
	flex-direction: column;
	font-family: var(--tbc-font-body);
	max-width: 340px;
	overflow: hidden;
	width: 100%;
}

/* --- Media + carousel --- */
.tbc-pcard__media {
	height: 158px;
	overflow: hidden;
	position: relative;
}

.tbc-pcard__media--restaurant { background: linear-gradient(135deg, #c98a3e, #7a4a1e); }
.tbc-pcard__media--activite { background: linear-gradient(135deg, #2a6f97, #163b56); }
.tbc-pcard__media--evenement { background: linear-gradient(135deg, #1c1c2e, #0a0a14); }

.tbc-pcard__carousel {
	inset: 0;
	position: absolute;
}

.tbc-pcard__track {
	-webkit-overflow-scrolling: touch;
	display: flex;
	height: 100%;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.tbc-pcard__track::-webkit-scrollbar { display: none; }

.tbc-pcard__track:focus-visible {
	box-shadow: var(--tbc-focus-ring);
	outline: none;
}

.tbc-pcard__slide {
	flex: 0 0 100%;
	height: 100%;
	scroll-snap-align: center;
}

.tbc-pcard__img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.tbc-pcard__media-grad {
	background: linear-gradient(to top, rgba(10, 10, 10, 0.5), transparent 55%);
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

/* Fleches de carousel : discretes, revelees au survol (desktop a hover).
   Peau = .tbc-btn--icon, recoloree en pastille claire. */
.tbc-pcard__nav {
	--tbc-btn-h: 28px;
	--tbc-btn-bg: rgba(252, 252, 254, 0.92);
	box-shadow: 0 2px 8px rgba(10, 10, 10, 0.18);
	opacity: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	transition: opacity var(--tbc-transition-fast);
	z-index: 3;
}

.tbc-pcard__nav svg { height: 16px; width: 16px; stroke-width: 2; }
.tbc-pcard__nav--prev { left: 8px; }
.tbc-pcard__nav--next { right: 8px; }
.tbc-pcard__nav[disabled] { opacity: 0 !important; pointer-events: none; }

@media (hover: hover) {
	.tbc-pcard__media:hover .tbc-pcard__nav { opacity: 1; }
}

.tbc-pcard__nav:focus-visible {
	opacity: 1;
}

/* Points indicateurs. */
.tbc-pcard__dots {
	bottom: 9px;
	display: flex;
	gap: 5px;
	justify-content: center;
	left: 0;
	position: absolute;
	right: 0;
	z-index: 3;
}

.tbc-pcard__dot {
	background: rgba(252, 252, 254, 0.6);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	height: 5px;
	padding: 0;
	transition: width var(--tbc-transition-fast), background var(--tbc-transition-fast);
	width: 5px;
}

.tbc-pcard__dot.is-active {
	background: var(--tbc-canvas);
	width: 14px;
}

.tbc-pcard__dot:focus-visible {
	box-shadow: var(--tbc-focus-ring);
	outline: none;
}

/* Badge sponsorise (discret, en haut a gauche). */
.tbc-pcard__sponsor {
	align-items: center;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	background: rgba(255, 255, 255, 0.92);
	border-radius: 999px;
	color: var(--tbc-ink);
	display: inline-flex;
	font-size: 10.5px;
	font-weight: 700;
	gap: 5px;
	left: 11px;
	letter-spacing: 0.03em;
	padding: 4px 9px;
	position: absolute;
	top: 11px;
	z-index: 2;
}

.tbc-pcard__sponsor-dot {
	background: var(--tbc-sponsor);
	border-radius: 50%;
	height: 6px;
	width: 6px;
}

/* Note Google. */
.tbc-pcard__rating {
	align-items: center;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	background: rgba(10, 10, 10, 0.55);
	border-radius: 999px;
	bottom: 12px;
	color: #fff;
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	gap: 5px;
	padding: 4px 9px;
	position: absolute;
	right: 12px;
	z-index: 2;
}

.tbc-pcard__rating svg { fill: var(--tbc-sun); height: 12px; width: 12px; }

/* Avatar / initiales (chevauche le media). */
.tbc-pcard__avatar {
	align-items: center;
	background: var(--tbc-canvas);
	border: 2px solid var(--tbc-canvas);
	border-radius: 13px;
	bottom: -22px;
	box-shadow: 0 4px 14px rgba(10, 10, 10, 0.16);
	color: var(--tbc-ink);
	display: flex;
	font-size: 20px;
	font-weight: 700;
	height: 54px;
	justify-content: center;
	left: 16px;
	overflow: hidden;
	position: absolute;
	width: 54px;
	z-index: 2;
}

.tbc-pcard__avatar--y { background: var(--tbc-sun); color: var(--tbc-sun-deep); }
.tbc-pcard__avatar--d { background: var(--tbc-ink); color: var(--tbc-sun); }

/* --- Corps --- */
.tbc-pcard__body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 30px 16px 16px;
}

.tbc-pcard__cat {
	align-items: center;
	color: var(--tbc-graphite);
	display: flex;
	font-size: 13px;
	font-weight: 700;
	gap: 7px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.tbc-pcard__cat-ico { color: var(--tbc-sun-deep); display: inline-flex; }
.tbc-pcard__cat-ico svg { height: 13px; stroke-width: 1.7; width: 13px; }

.tbc-pcard__name {
	font-family: var(--tbc-font-display);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	margin: 2px 0 0;
}

.tbc-pcard__where {
	align-items: center;
	color: var(--tbc-graphite);
	display: flex;
	font-size: 12.5px;
	gap: 5px;
	margin-top: 3px;
}

.tbc-pcard__where svg { color: var(--tbc-stone); height: 13px; stroke-width: 1.5; width: 13px; }

.tbc-pcard__hours {
	align-items: center;
	display: inline-flex;
	font-size: 12.5px;
	gap: 6px;
	margin-top: 8px;
}

.tbc-pcard__pin { border-radius: 50%; height: 7px; width: 7px; }
.tbc-pcard__hours--open { color: var(--tbc-success, #1c7d4d); }
.tbc-pcard__hours--open .tbc-pcard__pin { background: var(--tbc-success, #1c7d4d); }
.tbc-pcard__hours--closed { color: var(--tbc-event); }
.tbc-pcard__hours--closed .tbc-pcard__pin { background: var(--tbc-event); }
.tbc-pcard__hours small { color: var(--tbc-stone); font-weight: 300; }

.tbc-pcard__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 11px;
}

.tbc-pcard__tag {
	background: var(--tbc-hairline);
	border-radius: 999px;
	color: var(--tbc-graphite);
	font-size: 13px;
	font-weight: 500;
	padding: 4px 10px;
}

.tbc-pcard__desc {
	color: var(--tbc-graphite);
	font-size: 12.5px;
	line-height: 1.5;
	margin: 8px 0 0;
}

/* --- Rangee d'actions : icones + CTA principal --- */
.tbc-pcard__actions {
	align-items: center;
	border-top: 0.5px solid var(--tbc-hairline);
	display: flex;
	gap: 8px;
	padding: 13px 16px;
}

.tbc-pcard__icons { display: flex; gap: 7px; }

/* Peau = .tbc-btn--icon --quiet. */
.tbc-pcard__iconbtn {
	--tbc-btn-h: 38px;
	border-radius: var(--tbc-radius-md);
}
.tbc-pcard__iconbtn svg { fill: none; height: 17px; stroke: currentColor; stroke-width: 1.7; width: 17px; }
.tbc-pcard__iconbtn--ig svg { stroke-width: 1.6; }

/* Peau = .tbc-btn--ink --sm. */
.tbc-pcard__cta {
	--tbc-btn-h: 38px;
	border-radius: var(--tbc-radius-md);
	margin-left: auto;
}
.tbc-pcard__cta svg { fill: none; height: 15px; stroke: currentColor; stroke-width: 1.8; width: 15px; }

@media (prefers-reduced-motion: reduce) {
	.tbc-pcard__track { scroll-behavior: auto; }
}

/* tbc-route-hero --villebar
   -------------------------
   Barre "au depart d'une ville" : reprend le design de la barre lite (carte +
   rangee inline depart / destination / bouton), sans bouton d'inversion car le
   sens est ancre sur la ville. L'apercu duree/prix et le compteur de destinations
   s'affichent en ligne discrete sous la barre. Le fond de carte, la grille
   .tbc-route-hero__selector--lite et le bouton .tbc-route-hero__go sont herites
   de --lite (l'element porte les deux classes). Pilote par mountVilleBar. */
.tbc-route-hero--villebar {
	background: var(--tbc-canvas);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-lg);
	padding: var(--tbc-spacing-4);
}

/* Trois colonnes (pas de swap) : depart, destination, bouton. */
.tbc-route-hero__selector--villebar {
	grid-template-columns: 1fr 1fr auto;
}

.tbc-route-hero__villebar-info {
	align-items: baseline;
	color: var(--tbc-graphite);
	display: flex;
	flex-wrap: wrap;
	font-size: 13px;
	gap: 4px var(--tbc-spacing-3);
	margin: var(--tbc-spacing-3) 0 0;
	min-height: 1.2em;
}

.tbc-route-hero__villebar-meta {
	color: var(--tbc-ink);
	font-weight: 500;
}

.tbc-route-hero__villebar-meta:empty {
	display: none;
}

/* Comme la barre lite : la rangee s'empile en une colonne en mobile. */
@media (max-width: 600px) {
	.tbc-route-hero__selector--villebar {
		grid-template-columns: 1fr;
	}
}

/* tbc-cartes - cartes de villes (widget Villes, style hero photo)
   --------------------------------------------------------------- */
.tbc-cartes {
	color: var(--color-text-primary, var(--tbc-ink));
	font-family: var(--tbc-font-display);
}

.tbc-cartes__head {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: var(--tbc-spacing-2) var(--tbc-spacing-3);
	justify-content: space-between;
	margin-bottom: var(--tbc-spacing-4);
}

.tbc-cartes__title {
	/* Typo = step .tbc-h5b. Ici : layout seul. */
	margin: 0;
}

.tbc-cartes__count {
	color: var(--color-text-tertiary, var(--tbc-stone));
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.tbc-cartes__empty {
	color: var(--color-text-secondary, var(--tbc-graphite));
	font-size: 14px;
	margin: 0;
}

.tbc-cartes__grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.tbc-cartes__item {
	margin: 0;
}

.tbc-cartes__card {
	background: var(--color-background-primary, var(--tbc-canvas));
	border: 0.5px solid var(--color-border-tertiary, var(--tbc-hairline));
	border-radius: var(--border-radius-lg, var(--tbc-radius-lg));
	color: inherit;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tbc-cartes__card:hover {
	border-color: var(--sun, var(--tbc-sun));
	box-shadow: 0 12px 30px rgba(14, 42, 71, 0.10);
	transform: translateY(-3px);
}

.tbc-cartes__card:focus-visible {
	border-color: var(--sun, var(--tbc-sun));
	box-shadow: var(--tbc-focus-ring);
	outline: none;
}

.tbc-cartes__hero {
	background: linear-gradient(135deg, #2a6f97, #163b56);
	display: block;
	height: 150px;
	overflow: hidden;
	position: relative;
}

/* Scoped (0,2,0) pour battre le reset Elementor .elementor img{border-radius:0}. */
.tbc-cartes .tbc-cartes__hero-img {
	border-radius: 0;
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	width: 100%;
}

.tbc-cartes__hero-grad {
	background: linear-gradient(to top, rgba(10, 10, 10, 0.55), transparent 60%);
	inset: 0;
	position: absolute;
}

.tbc-cartes__hd {
	bottom: 12px;
	color: #fff;
	left: 16px;
	position: absolute;
	right: 16px;
}

.tbc-cartes__type {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.05em;
	opacity: 0.85;
	text-transform: uppercase;
}

/* (0,2,0) : bat le h3 du kit Elementor (.elementor-kit-6 h3, noir) sans
   passer devant le reglage « Titre de carte » du widget. */
.tbc-cartes__hd .tbc-cartes__name {
	color: inherit;
}

.tbc-cartes__name {
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.1;
	margin: 3px 0 0;
}

.tbc-cartes__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 14px 16px;
}

.tbc-cartes__metas {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.tbc-cartes__meta {
	align-items: center;
	color: var(--color-text-secondary, var(--tbc-graphite));
	display: flex;
	font-size: 13px;
	gap: 8px;
}

.tbc-cartes__meta strong {
	color: var(--color-text-primary, var(--tbc-ink));
	font-weight: 500;
}

.tbc-cartes__meta .tbc-cartes__icon {
    display: inline-flex;
    box-sizing: border-box;
    color: var(--tbc-sun-deep);
    flex-shrink: 0;
    background-color: var(--tbc-sun-soft);
    padding: 4px;
    border-radius: 5px;
    height: 24px;
    width: auto;
}

.tbc-cartes__preview {
	border-top: 0.5px solid var(--color-border-tertiary, var(--tbc-hairline));
	color: var(--color-text-tertiary, var(--tbc-stone));
	font-size: 12px;
	padding-top: 10px;
}

/* tbc-cartes - variantes de style (controle card_style)
   -----------------------------------------------------
   « media » (hero photo) est la base ci-dessus : --style-media n'a aucun
   override. Les variantes ne redefinissent que le layout interne ; elles
   heritent du tonus commun (carte hairline, hover lift, tokens --color-*/--tbc-*). */

/* --- Style « epure » : carte sobre sans photo, en-tete texte --- */
.tbc-cartes__hd--epure {
	color: inherit;
	padding: 16px 16px 0;
	position: static;
}

.tbc-cartes__type--epure {
	color: var(--color-text-tertiary, var(--tbc-stone));
	opacity: 1;
}

.tbc-cartes__name--epure {
	color: var(--color-text-primary, var(--tbc-ink));
	font-size: 18px;
}

/* --- Style « rangee » : liste dense en une colonne --- */
.tbc-cartes--style-rangee .tbc-cartes__grid {
	grid-template-columns: 1fr;
}

.tbc-cartes__card--rangee {
	align-items: center;
	flex-direction: row;
	gap: 12px;
	padding: 10px 12px;
}

.tbc-cartes__thumb {
	background: linear-gradient(135deg, #2a6f97, #163b56);
	border-radius: var(--border-radius-md, var(--tbc-radius-sm));
	flex: 0 0 auto;
	height: 52px;
	overflow: hidden;
	width: 52px;
}

/* Scoped (0,2,0) pour battre le reset Elementor .elementor img{border-radius:0}. */
.tbc-cartes .tbc-cartes__thumb img {
	border-radius: 0;
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.tbc-cartes__rowbody {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.tbc-cartes__rowtitle {
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tbc-cartes__rowmeta {
	color: var(--color-text-tertiary, var(--tbc-stone));
	font-size: 12px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tbc-cartes__chevron {
	align-items: center;
	color: var(--color-text-tertiary, var(--tbc-stone));
	display: flex;
	flex: 0 0 auto;
	transition: color 150ms ease;
}

.tbc-cartes__card--rangee:hover .tbc-cartes__chevron {
	color: var(--tbc-sun-deep);
}

/* --- Style « donnees » : nombre de destinations en gros chiffre --- */
.tbc-cartes__hd--donnees {
	color: inherit;
	padding: 16px 16px 0;
	position: static;
}

.tbc-cartes__name--donnees {
	color: var(--color-text-primary, var(--tbc-ink));
	font-size: 16px;
}

.tbc-cartes__stats {
	align-items: flex-end;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding: 8px 16px 16px;
}

.tbc-cartes__count-hero {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.tbc-cartes__count-hero strong {
	color: var(--color-text-primary, var(--tbc-ink));
	font-size: 30px;
	font-weight: 700;
}

.tbc-cartes__count-hero small {
	color: var(--color-text-tertiary, var(--tbc-stone));
	font-size: 13px;
	font-weight: 500;
	margin-top: 2px;
}

.tbc-cartes__specs {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.tbc-cartes__spec {
	align-items: center;
	color: var(--color-text-secondary, var(--tbc-graphite));
	display: inline-flex;
	font-size: 12px;
	gap: 6px;
}

.tbc-cartes__spec .tbc-cartes__icon {
	display: inline-flex;
	color: var(--tbc-sun-deep);
	flex-shrink: 0;
}

/* --- Style « bateau » (Listes Bateaux) : cadre commun des listes ; dedans les
   codes du kit (surtitre .tbc-eyebrow, icones HugeIcons, jetons de police) et le
   pied « Voir le bateau » de la carte bateau du booking widget. Aucune taille en
   dur : les reglages Style du widget (titre, metas) gardent la main. --- */
.tbc-cartes__hero--bateau {
	aspect-ratio: 3 / 2;
	height: auto;
}
.tbc-cartes__hero--bateau.tbc-cartes__hero--empty {
	align-items: center;
	background: var(--tbc-paper);
	color: var(--tbc-graphite);
	display: flex;
	justify-content: center;
}
.tbc-cartes .tbc-cartes__hero--bateau .tbc-cartes__hero-img {
	transition: transform var(--tbc-transition-base);
}
.tbc-cartes__card--bateau:hover .tbc-cartes__hero-img {
	transform: scale(1.04);
}
/* Type du bateau : surtitre du kit pose dans le coin de la photo. */
.tbc-cartes__boat-type {
	left: var(--tbc-spacing-3);
	position: absolute;
	top: var(--tbc-spacing-3);
}
.tbc-cartes__body--bateau {
	flex: 1;
	gap: var(--tbc-spacing-2);
	padding: var(--tbc-spacing-4);
}
/* (0,2,0) : bat le h3 du kit Elementor (.elementor-kit-6 h3) et la taille
   commune des cartes. Jeton 18 gras, le pas h5b. */
.tbc-cartes__card--bateau .tbc-cartes__name--bateau {
	color: var(--tbc-ink);
	font: var(--tbc-font-body-xl-bold);
	margin: 0;
}
.tbc-cartes__boat-facts {
	display: flex;
	flex-wrap: wrap;
	gap: var(--tbc-spacing-1) var(--tbc-spacing-4);
}
.tbc-cartes__card--bateau .tbc-cartes__spec {
	color: var(--tbc-ink);
	font: var(--tbc-font-body-md-regular);
	gap: var(--tbc-spacing-2);
}
.tbc-cartes__card--bateau .tbc-cartes__spec .tbc-icon {
	color: var(--tbc-sun-deep);
}
/* Accroche sur deux lignes : les cartes d'une rangee gardent le meme rythme. */
.tbc-cartes__card--bateau .tbc-cartes__preview--bateau {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	border-top: 0;
	color: var(--tbc-graphite);
	display: -webkit-box;
	font: var(--tbc-font-body-md-regular);
	overflow: hidden;
	padding-top: 0;
}
.tbc-cartes__boat-link {
	align-items: center;
	border-top: var(--tbc-hairline-width) solid var(--tbc-hairline);
	color: var(--tbc-graphite);
	display: flex;
	font: var(--tbc-font-label-md-bold);
	gap: var(--tbc-spacing-2);
	justify-content: space-between;
	margin-top: auto;
	padding-top: var(--tbc-spacing-3);
}
.tbc-cartes__boat-link .tbc-icon {
	transition: transform var(--tbc-transition-fast);
}
.tbc-cartes__card--bateau:hover .tbc-cartes__boat-link {
	color: var(--tbc-ink);
}
.tbc-cartes__card--bateau:hover .tbc-cartes__boat-link .tbc-icon {
	transform: translateX(2px);
}




/* single templates css */

.details-specifications__highlight {
    color: var(--tbc-sun);
} 

.specifications.elementor-widget.elementor-widget-icon-list .elementor-icon-list-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 4px;
    background-color: var(--tbc-sun-soft);
    border-radius: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}
.specifications__why_list li.elementor-icon-list-item.elementor-inline-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    background-color: var(--tbc-canvas);
    border-radius: 2rem;
    box-sizing: border-box;
    flex-shrink: 0;
}
.specifications__why_list.elementor-widget .elementor-icon-list-items.elementor-inline-items {
	row-gap: inherit
}

/* ---------------------------------------------------------------------------
   Widget « Titre double » (tbc-dual-title) : prefixe + A + connecteur + B +
   suffixe, sur une ligne qui peut passer a la ligne. Layout seul : la typo
   vient des classes d'echelle .tbc-<step> posees par le widget, la couleur est
   heritee. Le widget expose en Style l'espacement, la mise en ligne du groupe
   central et, par fente, une couleur et une typo Elementor.
   --------------------------------------------------------------------------- */
.tbc-dual-title {
	/* Bloc de TEXTE, pas une grille : les espaces de jointure emis entre les
	   spans sont des caracteres reels. En flex ils ne generent aucune boite et
	   disparaitraient (« CannesMonaco »), et la copie du titre serait fausse.
	   Le repli de ligne, l'alignement et la selection viennent donc du flux
	   inline normal. */
	display: block;
	margin: 0;
}

.tbc-dual-title__prefix,
.tbc-dual-title__a,
.tbc-dual-title__sep,
.tbc-dual-title__b,
.tbc-dual-title__suffix {
	display: inline;
}

/* Groupe central A + connecteur + B : c'est LUI que vise « garder sur la meme
   ligne », pas le titre entier (les affixes gardent le droit de se replier). */
.tbc-dual-title__pair {
	display: inline;
}

/* Prefixe replie en accroche : la ligne entiere lui est reservee. Meme decor
   que le kicker de l'ancien titre de ville, dont ce widget reprend les cas. */
.tbc-dual-title-stack-yes .tbc-dual-title__prefix {
	display: block;
	margin-bottom: var(--tbc-spacing-2);
	color: var(--tbc-graphite);
	letter-spacing: 0.08em;
}

.tbc-dual-title__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	vertical-align: middle;
	color: var(--tbc-sun);
	font-size: 0.9em;
	line-height: 0;
	margin-inline-end: var(--tbc-spacing-3);
}

.tbc-dual-title__icon:last-child {
	margin-inline: var(--tbc-spacing-3) 0;
}

.tbc-dual-title__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.tbc-dual-title__icon i {
	font-size: inherit;
	line-height: 1;
}

.tbc-dual-title__icon--view-stacked,
.tbc-dual-title__icon--view-framed {
	border-radius: var(--tbc-radius-pill);
	padding: 0.5em;
}

.tbc-dual-title__icon--view-framed {
	border: 2px solid currentColor;
}

/* Le lien d'une valeur liee ne se distingue pas du titre : c'est un titre qui
   se trouve etre cliquable, pas un lien de corps de texte. */
.tbc-dual-title a {
	color: inherit;
	text-decoration: none;
}

.tbc-dual-title a:hover {
	text-decoration: underline;
}

/* Avertissement H1 multiple : rendu UNIQUEMENT dans le canevas et l'apercu
   Elementor (garde cote PHP), jamais pour un visiteur. */
.tbc-dual-title__notice {
	display: block;
	width: 100%;
	margin: 0 0 var(--tbc-spacing-2);
	padding: var(--tbc-spacing-2) var(--tbc-spacing-3);
	border-radius: var(--tbc-radius-sm);
	background: var(--tbc-sun-soft);
	color: var(--tbc-sun-deep);
	font-family: var(--tbc-font-body);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.4;
}

/* tbc-service - shortcodes des champs relationnels / repeaters de tb_service
   ----------------------------------------------------------------------- */

/* [tb_service_inclus] : liste a puces avec icone optionnelle. */
.tbc-service-inclus {
	display: grid;
	gap: var(--tbc-spacing-2);
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.tbc-service-inclus__item {
	align-items: center;
	color: var(--tbc-ink);
	display: flex;
	font-family: var(--tbc-font-body);
	gap: var(--tbc-spacing-2);
}

.tbc-service-inclus__icon {
	flex: 0 0 auto;
	height: 22px;
	object-fit: contain;
	width: 22px;
}

.tbc-service-inclus__label {
	font-size: 15px;
	line-height: 1.35;
}

/* [tb_service_arguments] : cartes titre + icone + description. */
.tbc-service-arguments {
	display: grid;
	gap: var(--tbc-spacing-3);
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.tbc-service-arguments__item {
	background: var(--tbc-hairline);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-lg);
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-2);
	padding: var(--tbc-spacing-4);
}

.tbc-service-arguments__icon {
	height: 40px;
	object-fit: contain;
	width: 40px;
}

.tbc-service-arguments__body {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-1);
}

.tbc-service-arguments__title {
	color: var(--tbc-ink);
	font-family: var(--tbc-font-display);
	font-size: 17px;
	line-height: 1.25;
	margin: 0;
}

.tbc-service-arguments__desc {
	color: var(--tbc-graphite);
	font-family: var(--tbc-font-body);
	font-size: 14px;
	line-height: 1.45;
	margin: 0;
}

/* [tb_service_villes|partners|lieux|routes|boat] : grille de cartes liees. */
.tbc-service-rel {
	display: grid;
	gap: var(--tbc-spacing-3);
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.tbc-service-rel__item {
	margin: 0;
}

.tbc-service-rel__card {
	background: var(--tbc-hairline);
	border: 0.5px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-lg);
	color: var(--tbc-ink);
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	text-decoration: none;
	transition: transform var(--tbc-transition-fast), box-shadow var(--tbc-transition-fast);
}

.tbc-service-rel__card:hover,
.tbc-service-rel__card:focus-visible {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.tbc-service-rel__media {
	aspect-ratio: 4 / 3;
	display: block;
	overflow: hidden;
}

.tbc-service-rel__img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.tbc-service-rel__body {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-1);
	padding: var(--tbc-spacing-3);
}

.tbc-service-rel__title {
	font-family: var(--tbc-font-display);
	font-size: 16px;
	line-height: 1.25;
}

.tbc-service-rel__excerpt {
	color: var(--tbc-graphite);
	font-family: var(--tbc-font-body);
	font-size: 13px;
	line-height: 1.45;
}


/* tbsvc-faq - accordeon FAQ ([tb_faq] / [tb_service_faq])
   ----------------------------------------------------------------------
   <details>/<summary> natif (accessible clavier, sans JS). Grammaire des
   listes Airbnb, mesuree sur une fiche logement : ni carte ni fond, un filet
   entre les lignes (#DDDDDD), encre sur blanc, aucun accent de couleur. */

/* rey-child/style.css ecrase --tbc-hairline (#F7F7F7, filet invisible) et
   --tbc-stone (#FCFCFE) en :root. Ces sections relisent les valeurs du kit
   Elementor (post 6), qui restent celles de taxiboatcore-tokens.css. */
.tbsvc-faq,
.tbc-boat__fleet,
.tbc-boat__reviews,
.tbc-port__reviews {
	--tbc-hairline: var(--e-global-color-tbchairline, #E5E5E2);
	--tbc-stone: var(--e-global-color-tbcstone, #B4B2A9);
}

.tbsvc-faq {
	border-bottom: 1px solid var(--tbc-hairline); /* source : 1px solid #DDDDDD */
	display: flex;
	flex-direction: column;
}

.tbsvc-faq__item {
	border-top: 1px solid var(--tbc-hairline);
}

.tbsvc-faq__q {
	align-items: center;
	color: var(--tbc-ink); /* source : #222222 */
	cursor: pointer;
	display: flex;
	font-family: var(--tbc-font-body);
	font-size: 16px; /* = .tbc-text-md ; source : 16px */
	font-weight: 500; /* source : 500 */
	gap: var(--tbc-spacing-4);
	justify-content: space-between;
	line-height: 1.4;
	list-style: none;
	padding: var(--tbc-spacing-5) 0; /* source : 24px (pas des lignes) */
}

/* masque le marqueur natif du <summary> (triangle) */
.tbsvc-faq__q::-webkit-details-marker {
	display: none;
}

.tbsvc-faq__q-text {
	flex: 1 1 auto;
}

.tbsvc-faq__q:hover .tbsvc-faq__q-text {
	text-decoration: underline;
	text-underline-offset: 2px; /* source : liens Airbnb, 1px a 2px */
}

.tbsvc-faq__q:focus-visible {
	border-radius: var(--tbc-radius-sm);
	outline: 2px solid var(--tbc-ink);
	outline-offset: 2px;
}

/* Chevron dessine en CSS : la police Tabler (ti-chevron-down) n'est pas
   chargee sur toutes les pages, l'icone y tombait a 0x0. */
.tbsvc-faq__icon {
	border-bottom: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	color: var(--tbc-ink);
	flex: 0 0 auto;
	height: 8px;
	margin: 0 4px 4px 0;
	transform: rotate(45deg);
	transition: transform var(--tbc-transition-base), margin var(--tbc-transition-base);
	width: 8px;
}

.tbsvc-faq__icon::before {
	content: none;
}

.tbsvc-faq__item[open] .tbsvc-faq__icon {
	margin: 4px 4px 0 0;
	transform: rotate(-135deg);
}

.tbsvc-faq__a {
	color: var(--tbc-graphite);
	font-size: 16px; /* = .tbc-text-md ; source : 16px */
	line-height: 1.5; /* source : 24px */
	max-width: 68ch;
	padding: 0 0 var(--tbc-spacing-5);
}

/* ---------------------------------------------------------------------------
   tbc-modal — couche modale UNIQUE du plugin

   Remplace les trois mecaniques qui coexistaient (modale du devis, fiche de la
   carte d'exploration, slide-up de la barre basse). Pilotee par
   window.TBC.modal.open/close : scrim, piege de focus, Echap, verrou de
   defilement avec restauration de la position, retour du focus.

   Markup :
       <div class="tbc-modal" hidden>
         <div class="tbc-modal__scrim" data-tbc-modal-close></div>
         <div class="tbc-modal__panel"> ... </div>
       </div>

   Presentations :
       (defaut)  centree en desktop, bottom-sheet sous --tbc-bp-tablet
       --sheet   bottom-sheet a toutes les largeurs (les deux couches de la
                 carte etaient deja des slide-up en desktop, on ne les deplace pas)
       --inline  hors ouverture le contenu coule dans la page (colonne desktop
                 du devis) ; le panneau n'est alors pas une boite du tout

   Largeur et hauteur du panneau par prop, valeurs reprises des composants
   remplaces (520px / 86vh) : il n'existe pas de token de gabarit de panneau.
   --------------------------------------------------------------------------- */
.tbc-modal {
	display: none;
	inset: 0;
	position: fixed;
	z-index: 100000;
}

.tbc-modal.is-open {
	align-items: center;
	display: flex;
	justify-content: center;
}

.tbc-modal[hidden] {
	display: none;
}

.tbc-modal--inline:not(.is-open) {
	display: contents;
}

@media (max-width: 767px) {
	.tbc-modal--inline:not(.is-open) {
		display: none;
	}
}

/* Verrou de defilement : body fixe, position restauree a la fermeture. */
body.tbc-modal-open {
	overflow: hidden;
	position: fixed;
	top: var(--tbc-modal-scroll-y, 0px);
	width: 100%;
}

.tbc-modal__scrim {
	background: rgba(10, 10, 10, 0.45);
	cursor: pointer;
	inset: 0;
	opacity: 0;
	position: absolute;
	transition: opacity var(--tbc-transition-base);
}

.tbc-modal.is-open .tbc-modal__scrim {
	opacity: 1;
}

.tbc-modal__panel {
	--tbc-modal-w: 520px;
	/* Unite DYNAMIQUE : avec le clavier logiciel ouvert, `vh` garde la hauteur
	   du viewport de mise en page et la feuille depasse sous le clavier. */
	--tbc-modal-h: 86dvh;

	background: var(--tbc-canvas);
	border-radius: var(--tbc-radius-lg);
	box-shadow: 0 10px 40px rgba(10, 10, 10, 0.2);
	display: flex;
	flex-direction: column;
	max-height: var(--tbc-modal-h);
	max-width: var(--tbc-modal-w);
	opacity: 0;
	overflow: hidden;
	position: relative;
	transform: translateY(var(--tbc-spacing-5));
	transition: opacity var(--tbc-transition-base), transform var(--tbc-transition-base);
	width: 100%;
}

/* Bottom-sheet : sous tablette pour la presentation par defaut, partout pour
   --sheet. Le panneau colle en bas, coins hauts arrondis, entree par le bas. */
@media (max-width: 767px) {
	.tbc-modal.is-open {
		align-items: flex-end;
	}

	.tbc-modal__panel {
		border-radius: var(--tbc-radius-lg) var(--tbc-radius-lg) 0 0;
		max-width: none;
		opacity: 1;
		transform: translateY(100%);
	}
}

.tbc-modal--sheet.is-open {
	align-items: flex-end;
}

.tbc-modal--sheet .tbc-modal__panel {
	border-radius: var(--tbc-radius-lg) var(--tbc-radius-lg) 0 0;
	opacity: 1;
	transform: translateY(100%);
}

/* Etat ouvert : declare en dernier pour annuler les deux etats d'entree. */
.tbc-modal.is-open .tbc-modal__panel {
	opacity: 1;
	transform: none;
}

/* Hors ouverture la variante --inline n'a pas de panneau : son contenu coule
   dans la page. Sans ca, opacity/transform/max-height du panneau ecraseraient
   la colonne desktop du devis. */
.tbc-modal--inline:not(.is-open) .tbc-modal__panel {
	display: contents;
}

@media (prefers-reduced-motion: reduce) {
	.tbc-modal__scrim,
	.tbc-modal__panel {
		transition: none;
	}
}

/* ---------------------------------------------------------------------------
   tbc-bw-launch — presentation du devis

   Desktop : le devis coule dans la page (variante --inline de .tbc-modal), la
   barre declencheuse est masquee. Mobile : barre sticky + bottom-sheet. Depuis
   l'unification, la couche (scrim, Echap, focus, verrou de scroll) appartient a
   .tbc-modal ; il ne reste ici que ce qui est propre au devis.
   --------------------------------------------------------------------------- */
.tbc-bw-launch { display: contents; }

/* Presentation « Fenetre seulement » : rien dans la page hors ouverture. */
.tbc-bw-launch--modal .tbc-modal--inline:not(.is-open) { display: none; }

/* Le devis porte deja sa carte (fond canvas, bordure sun) : le panneau de la
   modale ne lui apporte que la fenetre, pas une seconde peau. */
.tbc-bw-modal .tbc-modal__panel {
	background: none;
	border-radius: 0;
	box-shadow: none;
	/* La carte du devis borne elle-meme sa hauteur et son defilement. */
	max-height: none;
	overflow: visible;
}

.tbc-bw-bar { display: none; }
/* Close masque + titre = libelle (pas la barre trajet) en desktop. */
.tbc-booking-widget--wizard .tbc-wizard__close { display: none; }
.tbc-wizard__title-trip { display: none; }
.tbc-bw-modal__title { display: block; flex: 1 1 auto; min-width: 0; }

/* ---- Devis ouvert en modale : vrai a toutes les largeurs depuis que la barre
   de recherche peut l'ouvrir en desktop. La carte devient la feuille : scroll
   interne, entete collante, coins hauts. ---------------------------------- */
.tbc-bw-modal.is-open .tbc-booking-widget--wizard {
	border-radius: var(--tbc-radius-lg);
	border-width: 0;
	box-shadow: 0 10px 40px rgba(10, 10, 10, 0.2);
	margin: 0;
	/* Colonne flex bornee en unites dynamiques : l'entete et le pied restent
	   dans le flux (sticky), seul le corps defile. Aucun `position: fixed` :
	   le clavier iOS le decolle du bas, c'est ce qui faisait deborder. */
	max-height: 86dvh;

	/* Hauteur du pied collant = le CTA (.tbc-btn--lg, 56px) plus ses deux
	   gouttieres. Le corps la reserve en bas de sa zone de defilement, sinon un
	   champ amene au focus s'arrete SOUS le pied. */
	--tbc-wizard-foot-h: calc(56px + var(--tbc-spacing-2) + var(--tbc-spacing-3));
	scroll-padding-block-end: calc(var(--tbc-wizard-foot-h) + env(safe-area-inset-bottom, 0px));
	max-width: none;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	padding-top: 0;
	position: relative;
	width: 100%;
	z-index: 1;
}

/* Un popover de pilule est plus haut que la carte : tant qu'il est ouvert, la
   carte ET le panneau de la modale cessent de rogner, sinon son haut est coupe
   (la carte borne sa hauteur et masque ses debordements). Le geste existait
   deja pour la carte hors modale ; il lui fallait juste la specificite pour
   passer devant `overflow-y: auto`. La carte ne defile pas pendant ce temps :
   le popover est la seule chose a lire. */
.tbc-bw-modal.is-open .tbc-modal__panel:has(.tbc-route-hero__field-row.is-open),
.tbc-bw-modal.is-open .tbc-booking-widget--pills:has(.tbc-route-hero__field-row.is-open) {
	overflow: visible;
}

/* L'entete est collante : un element sticky ne peut pas remonter au-dessus du
   scrollport (le padding-box de la carte), sa marge negative haute etait donc
   annulee et laissait une bande blanche. En modale on retire le padding haut de
   la carte et la marge negative correspondante. */
.tbc-bw-modal.is-open .tbc-wizard__header {
	background: var(--tbc-canvas);
	clip-path: none;
	height: auto;
	margin: 0 calc(var(--tbc-wizard-pad) * -1);
	overflow: visible;
	padding: var(--tbc-spacing-2) var(--tbc-spacing-3) 0;
	position: sticky;
	top: 0;
	white-space: normal;
	width: auto;
	z-index: 3;
}

/* En modale, le titre reste aux lecteurs d'ecran : la croix suffit a l'oeil. */
.tbc-bw-modal.is-open .tbc-bw-modal__title {
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

/* Pilules : le titre redevient visible, en page comme en fenetre. Sans lui, on
   ne comprend pas que le bloc sert a estimer son trajet (Elliot, 10/11). */
.tbc-booking-widget--pills .tbc-wizard__header {
	clip-path: none;
	height: auto;
	margin-bottom: var(--tbc-spacing-2);
	overflow: visible;
	position: static;
	white-space: normal;
	width: auto;
}

.tbc-bw-modal.is-open .tbc-booking-widget--pills .tbc-bw-modal__title {
	clip-path: none;
	height: auto;
	overflow: visible;
	position: static;
	white-space: normal;
	width: auto;
}

/* Pied : meme geste que l'entete, colle en bas du scrollport de la carte. Le
   fond est indispensable, le contenu defile DERRIERE. La reserve basse suit
   l'encoche du telephone. */
.tbc-bw-modal.is-open .tbc-wizard__nav {
	background: var(--tbc-canvas);
	/* `sticky` se cale sur la BOITE DE PADDING du scrollport : sans ce decalage
	   negatif, le pied s'arrete un padding avant le bas de la carte et une bande
	   de contenu defile en dessous. */
	bottom: calc(var(--tbc-wizard-pad) * -1);
	/* Full-bleed comme l'entete : les marges negatives annulent EXACTEMENT le
	   padding de la carte. */
	margin: 0 calc(var(--tbc-wizard-pad) * -1) calc(var(--tbc-wizard-pad) * -1);
	padding: var(--tbc-spacing-2) var(--tbc-wizard-pad) calc(var(--tbc-spacing-3) + env(safe-area-inset-bottom, 0px));
	position: sticky;
	z-index: 2;
}

@media (max-width: 767px) {
	.tbc-bw-modal.is-open .tbc-booking-widget--wizard {
		border-radius: var(--tbc-radius-lg) var(--tbc-radius-lg) 0 0;
		box-shadow: 0 -12px 48px rgba(10, 10, 10, 0.24);
		max-height: 92dvh;
	}
}

/* Barre : conteneur + inner. Le bloc trajet sert aussi de titre en mobile. */
.tbc-bw-bar__info {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.tbc-bw-bar__kicker {
	color: var(--tbc-muted);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.tbc-bw-bar__name {
	color: var(--tbc-ink);
	font-family: var(--tbc-font-display);
	font-size: 15px;
	font-weight: 500;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.tbc-bw-bar__trip {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	padding-left: 16px;
	position: relative;
}
.tbc-bw-bar__trip::before {
	background: var(--tbc-stone);
	bottom: 9px;
	content: "";
	left: 3px;
	position: absolute;
	top: 9px;
	width: 1.5px;
}
.tbc-bw-bar__stop { min-width: 0; position: relative; }
.tbc-bw-bar__stop-name {
	color: var(--tbc-ink);
	display: block;
	font-family: var(--tbc-font-display);
	font-size: 13px;
	font-weight: 500;
	line-height: 18px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.tbc-bw-bar__stop--from .tbc-bw-bar__stop-name { color: var(--tbc-muted); }
.tbc-bw-bar__dot {
	border-radius: 50%;
	height: 8px;
	left: -16px;
	position: absolute;
	top: 9px;
	transform: translateY(-50%);
	width: 8px;
	z-index: 1;
}
.tbc-bw-bar__stop--from .tbc-bw-bar__dot { background: var(--tbc-muted); }
.tbc-bw-bar__stop--to .tbc-bw-bar__dot {
	background: var(--tbc-canvas);
	border: 2px solid var(--tbc-ink);
}
/* Peau = .tbc-btn--primary ; le CTA ne s'etire ni ne se compresse dans la barre. */
.tbc-bw-bar .tbc-bw-bar__cta {
	flex: 0 0 auto;
}

.tbc-bw-bar .tbc-bw-bar__wa {
	align-items: center;
	background: var(--tbc-wa);
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	flex: 0 0 auto;
	height: 44px;
	justify-content: center;
	width: 44px;
}
.tbc-bw-bar .tbc-bw-bar__wa:hover { background: var(--tbc-wa-deep); }
.tbc-bw-bar .tbc-bw-bar__wa:focus-visible { box-shadow: var(--tbc-focus-ring); outline: none; }

/* ---- Mobile : barre sticky + modale bottom-sheet -------------------------- */
@media (max-width: 767px) {
	.tbc-bw-bar {
		align-items: center;
		background: var(--tbc-canvas);
		border-top: 1px solid var(--tbc-hairline);
		bottom: 0;
		box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
		display: flex;
		gap: var(--tbc-spacing-3);
		justify-content: space-between;
		left: 0;
		padding: var(--tbc-spacing-4) var(--tbc-spacing-5) calc(var(--tbc-spacing-4) + env(safe-area-inset-bottom, 0px));
		position: fixed;
		right: 0;
		z-index: 99990;
	}
	
	.tbc-bw-modal.is-open ~ .tbc-bw-bar { display: none; }

	
}

/* Croix visible des que le devis est en modale, quelle que soit la largeur :
   en desktop c'est le seul moyen de refermer au clavier autrement qu'Echap. */
.tbc-bw-modal.is-open .tbc-wizard__close {
	--tbc-btn-h: 34px;

	display: inline-flex;
}

.tbc-bw-modal.is-open .tbc-wizard__close svg {
	height: 18px;
	width: 18px;
}

/* ==========================================================================
   Hero Slider (tbc-hero-slider) - placement du design de ref, typo = kit,
   couleurs = tokens. La typo (taille/graisse/famille) vient des classes
   .tbc-display/.tbc-hN/.tbc-text-* : ne rien hardcoder ici.
   ========================================================================== */
.tbc-hero-slider {
	--hs-line: rgba(255, 255, 255, 0.22);
	position: relative;
	overflow: hidden;
	isolation: isolate;
	min-height: clamp(520px, 86vh, 760px);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	color: #fff;
}
.tbc-hero-slider__bg { position: absolute; inset: 0; z-index: -1; }
.tbc-hero-slider__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1s ease;
}
.tbc-hero-slider__img.is-active { opacity: 1; animation: tbcHsKen 6s ease-out forwards; }
@keyframes tbcHsKen { from { transform: scale(1.08); } to { transform: scale(1); } }
.tbc-hero-slider__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(14, 42, 71, 0.15) 0%, rgba(14, 42, 71, 0.05) 35%, rgba(14, 42, 71, 0.82) 100%),
		linear-gradient(90deg, rgba(14, 42, 71, 0.55) 0%, rgba(14, 42, 71, 0) 60%);
}

.tbc-hero-slider__content {
	padding: 0 clamp(20px, 5vw, 64px) clamp(18px, 3vw, 28px);
	max-width: 820px;
}
.tbc-hero-slider__kicker {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	opacity: 0.92;
	margin-bottom: 14px;
	padding: 6px 12px;
	border: 1px solid var(--hs-line);
	border-radius: 100px;
	backdrop-filter: blur(4px);
}
.tbc-hero-slider__title { margin: 0; color: #fff; text-wrap: balance; }
.tbc-hero-slider__sub { margin: 14px 0 0; max-width: 46ch; opacity: 0.92; }
.tbc-hero-slider__route {
	display: flex;
	align-items: baseline;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid var(--hs-line);
}
.tbc-hero-slider__route-label { color: #fff; }
.tbc-hero-slider__route-label b { color: var(--tbc-sun); padding: 0 2px; }
.tbc-hero-slider__arrow { color: var(--tbc-sun); padding: 0 2px; }
.tbc-hero-slider__route-meta { opacity: 0.85; font-variant-numeric: tabular-nums; }

.tbc-hero-slider__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
/* Peau = .tbc-btn--lg ; sur fond photo, les deux variantes ne changent que
   les couleurs du composant. */
.tbc-hero-slider__btn:active { transform: translateY(1px); }
.tbc-hero-slider .tbc-hero-slider__btn--primary { --tbc-btn-fg: var(--tbc-night); }
.tbc-hero-slider .tbc-hero-slider__btn--ghost {
	--tbc-btn-bg: rgba(255, 255, 255, 0.06);
	--tbc-btn-bc: var(--hs-line);
	--tbc-btn-fg: #fff;
	backdrop-filter: blur(4px);
}
.tbc-hero-slider .tbc-hero-slider__btn--ghost:hover {
	--tbc-btn-bg: rgba(255, 255, 255, 0.12);
	--tbc-btn-bc: #fff;
}

.tbc-hero-slider .tbc-hero-slider__nav {
	--tbc-btn-h: 46px;
	--tbc-btn-fz: 26px;
	--tbc-btn-bg: rgba(14, 42, 71, 0.35);
	--tbc-btn-bc: var(--hs-line);
	--tbc-btn-fg: #fff;
	backdrop-filter: blur(4px);
	position: absolute;
	top: 44%;
	transform: translateY(-50%);
}
.tbc-hero-slider .tbc-hero-slider__nav:hover { --tbc-btn-bg: rgba(14, 42, 71, 0.6); }
.tbc-hero-slider__nav--prev { left: 16px; }
.tbc-hero-slider__nav--next { right: 16px; }

.tbc-hero-slider__chips {
	display: flex;
	gap: 10px;
	padding: 0 clamp(20px, 5vw, 64px) clamp(20px, 5vw, 64px);
	overflow-x: auto;
	scrollbar-width: none;
}
.tbc-hero-slider__chips::-webkit-scrollbar { display: none; }
.tbc-hero-slider .tbc-hero-slider__chip {
	position: relative;
	flex: 1 1 0;
	min-width: 200px;
	text-align: left;
	cursor: pointer;
	padding: 14px 16px 16px;
	border-radius: 10px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid var(--hs-line);
	color: #fff;
	backdrop-filter: blur(6px);
	transition: background 0.2s ease, border-color 0.2s ease;
}
.tbc-hero-slider .tbc-hero-slider__chip:hover { background: rgba(255, 255, 255, 0.14); }
.tbc-hero-slider .tbc-hero-slider__chip.is-active { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.5); }
.tbc-hero-slider__chip-route { display: block; }
.tbc-hero-slider__chip-meta { display: block; margin-top: 4px; opacity: 0.8; font-variant-numeric: tabular-nums; }
.tbc-hero-slider__chip-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--tbc-sun); }
.tbc-hero-slider__chip-bar[data-run="true"] { animation-name: tbcHsFill; animation-timing-function: linear; }
@keyframes tbcHsFill { from { width: 0; } to { width: 100%; } }

.tbc-hero-slider--placeholder {
	min-height: 0;
	color: var(--tbc-ink);
	padding: 24px;
	border: 1px dashed var(--tbc-line, #ddd);
	border-radius: 12px;
}

/* Fleches du hero : meme SVG que la navigation partagee, pointe a droite. */
.tbc-hero-slider__nav--prev .tbc-slider-nav__icon {
	transform: rotate(180deg);
}

@media (max-width: 640px) {
	.tbc-hero-slider .tbc-hero-slider__nav { display: none; }
	.tbc-hero-slider__chip { min-width: 78%; }
}
@media (prefers-reduced-motion: reduce) {
	.tbc-hero-slider__img,
	.tbc-hero-slider__img.is-active { animation: none; transition: opacity 0.3s ease; }
	.tbc-hero-slider__chip-bar[data-run="true"] { animation: none; }
}

/* ==========================================================================
   Hub Slider (tbc-hub-slider) - rail horizontal generique. Typo = kit,
   couleurs = tokens. Fix : la 1re carte s'aligne sur le body (pas de sur-padding
   gauche), le rail deborde seulement a DROITE.
   ========================================================================== */
.tbc-hub-slider {
	--hub-pad: clamp(20px, 5vw, 56px);
	--hub-radius: 14px;
	color: var(--tbc-ink);
	padding: clamp(22px, 4vw, 40px) var(--hub-pad) clamp(28px, 4vw, 44px);
}
.tbc-hub-slider__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 22px;
}
.tbc-hub-slider__head-text { max-width: 640px; }
.tbc-hub-slider__kicker {
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--tbc-muted);
}
.tbc-hub-slider__title { margin: 10px 0 0; text-wrap: balance; }
.tbc-hub-slider__sub { margin: 10px 0 0; max-width: 52ch; color: var(--tbc-muted); }


/* Rail : debord des DEUX cotes (off-canvas), la 1re carte reste alignee sur la
   gouttiere du body via scroll-padding ; peek symetrique au scroll. */
.tbc-hub-slider__track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-block: 4px;
	padding-inline: var(--hub-pad);
	margin-inline: calc(-1 * var(--hub-pad));
	scroll-padding-inline: var(--hub-pad);
}
.tbc-hub-slider__track::-webkit-scrollbar { display: none; }
.tbc-hub-slider .tbc-slider-nav {
	margin-top: var(--tbc-spacing-4); /* meme ecart que la source entre carrousel et indicateur */
}

.tbc-hub-slider__card {
	flex: 0 0 clamp(240px, 26vw, 300px);
	scroll-snap-align: start;
	text-decoration: none;
	color: inherit;
}
.tbc-hub-slider__media {
	display: block;
	border-radius: var(--hub-radius);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #f2f2f2;
}
.tbc-hub-slider__media--empty { background: linear-gradient(135deg, var(--tbc-night), #16406b); }
.tbc-hub-slider__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}
.tbc-hub-slider__card:hover .tbc-hub-slider__media img { transform: scale(1.04); }
.tbc-hub-slider__body { display: flex; flex-direction: column; padding: 12px 2px 0; }
.tbc-hub-slider__card-title { color: var(--tbc-ink); }
.tbc-hub-slider__card-meta { margin-top: 3px; color: var(--tbc-muted); font-variant-numeric: tabular-nums; }

.tbc-hub-slider .tbc-hub-slider__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 26px;
	color: var(--tbc-ink);
	text-decoration: none;
	border-bottom: 1px solid var(--tbc-ink);
	padding-bottom: 2px;
	transition: gap 0.15s ease;
}
.tbc-hub-slider .tbc-hub-slider__cta:hover { gap: 12px; }

.tbc-hub-slider--placeholder {
	padding: 24px;
	border: 1px dashed var(--tbc-line, #ddd);
	border-radius: 12px;
	color: var(--tbc-muted);
}

@media (max-width: 640px) {
	.tbc-hub-slider { --hub-pad: 16px; padding-top: 20px; padding-bottom: 24px; }
	.tbc-hub-slider__head { margin-bottom: 16px; gap: 12px; }
	.tbc-hub-slider__sub { max-width: none; }
	/* Carte : 82% de la fenetre => la suivante « peek » a droite, la gouttiere a
	   gauche laisse deviner l'off-canvas. Borne pour ne jamais deborder. */
	.tbc-hub-slider__card { flex-basis: min(82%, 300px); }
}
@media (prefers-reduced-motion: reduce) {
	.tbc-hub-slider__media img { transition: none; }
}

/* ==========================================================================
   Listes Villes / Listes Ports - mode « slider » (rail horizontal partage).
   Reprend les memes cartes ; seule la disposition change (grid -> rail).
   ========================================================================== */
.tbc-cartes--slider .tbc-cartes__rail {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	list-style: none;
	margin: 0;
	padding: 4px 0;
}
.tbc-cartes--slider .tbc-cartes__rail::-webkit-scrollbar { display: none; }
.tbc-cartes .tbc-slider-nav,
.tbc-cartes-route .tbc-slider-nav {
	margin-top: var(--tbc-spacing-4); /* meme ecart que la source entre carrousel et indicateur */
}
.tbc-cartes--slider .tbc-cartes__item {
	flex: 0 0 clamp(240px, 26vw, 300px);
	scroll-snap-align: start;
	margin: 0;
}
@media (max-width: 640px) {
	.tbc-cartes--slider .tbc-cartes__item { flex-basis: 78%; }
}

/* Ville routes - meme mode slider (rail horizontal). */
.tbc-cartes-route--slider .tbc-cartes-route__rail {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	list-style: none;
	margin: 0;
	padding: 4px 0;
}
.tbc-cartes-route--slider .tbc-cartes-route__rail::-webkit-scrollbar { display: none; }
.tbc-cartes-route--slider .tbc-cartes-route__item {
	flex: 0 0 clamp(240px, 26vw, 300px);
	scroll-snap-align: start;
	margin: 0;
}
@media (max-width: 640px) {
	.tbc-cartes-route--slider .tbc-cartes-route__item { flex-basis: 78%; }
}

/* tbc-cartes - placeholder editeur partage (villes/ports/events) : parite avec
   la variante route (tbc-cartes-route--placeholder). */
.tbc-cartes--placeholder {
	background: var(--color-background-secondary, var(--tbc-hairline));
	border: 0.5px dashed var(--color-border-tertiary, var(--tbc-stone));
	border-radius: var(--border-radius-lg, var(--tbc-radius-md));
	color: var(--color-text-secondary, var(--tbc-graphite));
	padding: var(--tbc-spacing-4);
}

.tbc-cartes__placeholder {
	font-size: 13px;
	margin: 0;
}

/* ==========================================================================
   Specifications bateau (tbc-boat-specs)
   Calque visuel de .tbc-route-hero__metrics : une boite par KPI. La typo vient
   des classes d'echelle posees dans le markup (.tbc-h4 / .tbc-text-sm), jamais
   d'ici.
   ========================================================================== */

.tbc-boat-specs__heading {
	/* Typo = step .tbc-h3b (cf. render_heading). Ici : layout seul. */
	margin: 0 0 var(--tbc-spacing-4);
}

.tbc-boat-specs__grid {
	display: grid;
	gap: var(--tbc-spacing-3);
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	margin: 0;
}

/* Une boite = icone + libelle + valeur + note. L'icone est un enfant DIRECT
   (pas dans le dt) : la grille la pose au-dessus ou sur le cote, et elle peut
   recevoir fond / bordure / rayon / marge interne comme l'image d'une Image Box.
   Les trois reglages exposes en Style passent par variables. */
.tbc-boat-specs__item {
	--tbc-specs-icon-gap: 6px;
	--tbc-specs-text-gap: 2px;
	background: var(--tbc-hairline);
	border-radius: var(--tbc-radius-sm);
	display: grid;
	grid-template-columns: 1fr;
	margin: 0;
	padding: 12px 14px;
}

.tbc-boat-specs__label {
	color: var(--tbc-graphite);
	margin: 0;
}

.tbc-boat-specs__icon {
	--tbc-specs-icon-size: 16px;
	align-items: center;
	color: var(--tbc-sun-deep);
	display: inline-flex;
	flex: none;
	justify-content: center;
	justify-self: start;
	line-height: 0;
}

.tbc-boat-specs__icon svg {
	fill: currentColor;
	height: var(--tbc-specs-icon-size);
	width: var(--tbc-specs-icon-size);
}

.tbc-boat-specs__icon i {
	font-size: var(--tbc-specs-icon-size);
	line-height: 1;
}

.tbc-boat-specs__value {
	color: var(--tbc-ink);
	margin: var(--tbc-specs-text-gap) 0 0;
}

.tbc-boat-specs__note {
	color: var(--tbc-stone);
	margin: var(--tbc-specs-text-gap) 0 0;
}

/* Place de l'icone : au-dessus (defaut), ou dans sa propre colonne a gauche /
   a droite, sur toute la hauteur du texte. */
.tbc-boat-specs--icon-top .tbc-boat-specs__icon {
	margin-bottom: var(--tbc-specs-icon-gap);
}

.tbc-boat-specs--icon-left .tbc-boat-specs__item {
	grid-template-columns: auto 1fr;
	/* Lignes EXPLICITES : sans elles, `grid-row: 1 / -1` sur l'icone ne
	   couvre qu'une ligne (les index negatifs ignorent la grille implicite).
	   3 lignes = libelle + valeur + note ; une ligne vide ne prend rien. */
	grid-template-rows: repeat(3, auto);
}

.tbc-boat-specs--icon-left .tbc-boat-specs__icon {
	align-self: start;
	grid-column: 1;
	grid-row: 1 / -1;
	margin-right: var(--tbc-specs-icon-gap);
}

.tbc-boat-specs--icon-left .tbc-boat-specs__label,
.tbc-boat-specs--icon-left .tbc-boat-specs__value,
.tbc-boat-specs--icon-left .tbc-boat-specs__note {
	grid-column: 2;
}

.tbc-boat-specs--icon-right .tbc-boat-specs__item {
	grid-template-columns: 1fr auto;
	/* Lignes EXPLICITES : sans elles, `grid-row: 1 / -1` sur l'icone ne
	   couvre qu'une ligne (les index negatifs ignorent la grille implicite).
	   3 lignes = libelle + valeur + note ; une ligne vide ne prend rien. */
	grid-template-rows: repeat(3, auto);
}

.tbc-boat-specs--icon-right .tbc-boat-specs__icon {
	align-self: start;
	grid-column: 2;
	grid-row: 1 / -1;
	margin-left: var(--tbc-specs-icon-gap);
}

.tbc-boat-specs--icon-right .tbc-boat-specs__label,
.tbc-boat-specs--icon-right .tbc-boat-specs__value,
.tbc-boat-specs--icon-right .tbc-boat-specs__note {
	grid-column: 1;
}

/* Variante « ligne » : une entree par ligne, icone + libelle a gauche, valeur
   puis note a droite (bloc facon capacite de rangement). Espacements explicites
   (pas de gap horizontal) pour garder l'icone collee a son libelle. */
.tbc-boat-specs--ligne .tbc-boat-specs__grid {
	grid-template-columns: 1fr;
}

.tbc-boat-specs--ligne .tbc-boat-specs__item {
	align-items: center;
	column-gap: 0;
	display: flex;
	flex-wrap: wrap;
	row-gap: 4px;
}

.tbc-boat-specs--ligne .tbc-boat-specs__icon {
	margin: 0 var(--tbc-specs-icon-gap) 0 0;
}

.tbc-boat-specs--ligne .tbc-boat-specs__label {
	flex: 1 1 auto;
}

.tbc-boat-specs--ligne .tbc-boat-specs__value,
.tbc-boat-specs--ligne .tbc-boat-specs__note {
	margin: 0 0 0 var(--tbc-spacing-3);
}

.tbc-boat-specs__placeholder {
	color: var(--tbc-graphite);
	margin: 0;
}

/* ---------------------------------------------------------------------------
   tbc-booking-widget --pills

   Layout « pilules » de la carte de devis (data-layout="pills") : une pile de
   pilules a popover (trajet, date, passagers, besoin) puis un ecran
   coordonnees. La carte, l'entete, le bandeau d'estimation, la nav et l'ecran de
   succes sont ceux du wizard : rien n'est redessine ici.

   AUCUNE PEAU dans ce bloc. La pilule est .tbc-route-hero__field (les regles du
   hero vertical ont recu le selecteur .tbc-booking-widget--pills en plus, plus
   haut dans ce fichier), le popover est .tbc-rs__panel (position, retournement
   .is-up et z-index deja definis avec le composant), le calendrier
   .tbc-datepicker, le stepper .tbc-wizard__pax-stepper et les boutons
   .tbc-btn. Ne restent ici que
   des empilements, des gouttieres et deux neutralisations de marge.

   Pilote par booking-widget.js (mountWizard, coquille pills).
   --------------------------------------------------------------------------- */
.tbc-pills__screen {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-4);
}

.tbc-pills__stack {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-2);
}

.tbc-booking-widget--pills .tbc-pills__pop {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-3);
}

/* Liste des besoins : 6 entrees, elles tiennent sans la zone de defilement que
   le composant reserve aux listes de ports. Enfant DIRECT du popover : les
   listes de ports vivent un cran plus bas (.tbc-rs__dd > .tbc-rs__panel) et
   gardent leur hauteur bornee. */
.tbc-booking-widget--pills .tbc-pills__pop > .tbc-rs__list {
	max-height: none;
}

/* Les gouttieres du popover remplacent les marges des blocs herites du wizard. */
.tbc-booking-widget--pills .tbc-pills__pop .tbc-wizard__trip {
	margin-top: 0;
}

.tbc-booking-widget--pills .tbc-pills__ports {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-2);
}

/* Plusieurs dates + calendrier deplie = un contenu qui peut depasser l'ecran :
   le popover borne sa hauteur sur le viewport VISIBLE (dvh) et defile a
   l'interieur au lieu de sortir du cadre. */
.tbc-booking-widget--pills .tbc-pills__pop--date {
	max-height: min(70dvh, var(--tbc-panel-space, 70dvh));
	overflow-y: auto;
	overscroll-behavior: contain;
}

/* En-tete de la sous-vue mobile : n'existe qu'en mobile (le popover desktop
   garde le titre de l'etape). */
.tbc-booking-widget--pills .tbc-pills__subhead {
	display: none;
}

/* Mobile : le popover date devient une sous-vue plein ecran posee sur la
   modale (facon Airbnb) : en-tete retour + titre, puis la liste de mois a
   defiler (datepicker en mode `months`). En-tete et jours de semaine restent
   colles en haut pendant le defilement. Le retournement .is-up du popover n'a
   plus de sens ici, d'ou le second selecteur. */
@media (max-width: 767px) {
	.tbc-booking-widget--pills .tbc-pills__pop--date,
	.tbc-booking-widget--pills .tbc-route-hero__field-row.is-up .tbc-pills__pop--date {
		--tbc-pills-subhead-h: 56px;
		border: 0;
		border-radius: 0;
		bottom: 0;
		box-shadow: none;
		gap: 0;
		left: 0;
		max-height: none;
		padding: 0 max(var(--tbc-spacing-4), env(safe-area-inset-right, 0px)) max(var(--tbc-spacing-6), env(safe-area-inset-bottom, 0px)) max(var(--tbc-spacing-4), env(safe-area-inset-left, 0px));
		position: fixed;
		right: 0;
		top: 0;
		width: auto;
		z-index: 100;
	}

	.tbc-booking-widget--pills .tbc-pills__subhead {
		align-items: center;
		background: var(--tbc-canvas);
		display: flex;
		flex: none;
		height: var(--tbc-pills-subhead-h);
		justify-content: center;
		padding-top: env(safe-area-inset-top, 0px);
		position: sticky;
		top: 0;
		z-index: 2;
	}

	.tbc-booking-widget--pills .tbc-pills__back {
		left: 0;
		position: absolute;
	}

	.tbc-booking-widget--pills .tbc-pills__subhead-title {
		margin: 0;
	}

	/* L'en-tete porte le titre : celui de l'etape ferait doublon. */
	.tbc-booking-widget--pills .tbc-pills__pop--date .tbc-wizard__sched-editor > .tbc-wizard__panel-title {
		display: none;
	}

	/* Calendrier a plat sur toute la largeur, cellules au doigt. */
	.tbc-booking-widget--pills .tbc-pills__pop--date .tbc-datepicker {
		--tbc-datepicker-day-h: 44px;
		border: 0;
		gap: var(--tbc-spacing-5);
		padding: 0;
	}

	.tbc-booking-widget--pills .tbc-pills__pop--date .tbc-datepicker__weekdays {
		background: var(--tbc-canvas);
		border-bottom: 0.5px solid var(--tbc-hairline);
		position: sticky;
		top: calc(var(--tbc-pills-subhead-h) + env(safe-area-inset-top, 0px));
		z-index: 1;
	}
}

/* Desktop : la colonne de devis est etroite (popover a ~270px), le calendrier et
   les creneaux s'y serraient. Le popover date deborde a gauche de la pilule. */
@media (min-width: 1025px) {
	.tbc-booking-widget--pills .tbc-pills__pop--date {
		left: auto;
		width: max(calc(100% - 2 * var(--tbc-spacing-2)), 360px);
	}
}

/* L'etape « Quand » n'a plus le .tbc-wizard__panel qui l'espacait. */
.tbc-booking-widget--pills .tbc-wizard__sched-editor {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-3);
}

/* Valeur pas encore renseignee : meme traitement que le controle
   .tbc-rs__control:not(.is-filled) du dropdown. */
.tbc-booking-widget--pills .tbc-route-hero__field-value.is-empty,
.tbc-route-hero__field--select .tbc-route-hero__field-value.is-empty {
	color: var(--tbc-muted);
	font-weight: 300;
}

/* Ligne de contexte de l'auto-feed : peau .tbc-wizard__trajet-line, l'ecran
   fournit deja la gouttiere. */
.tbc-booking-widget--pills .tbc-pills__ack {
	margin-top: 0;
}

/* Recap de l'ecran 2 : c'est LE declencheur de retour, donc un <button> a peau
   .tbc-wizard__trajet-line. Les proprietes reprises ici (fond, rayon, padding)
   sont celles de cette peau : elles doivent etre redeclarees en (0,2,0) pour
   battre le reset button[type=*] du theme Rey. */
.tbc-booking-widget--pills .tbc-pills__recap {
	background: var(--tbc-fondsite);
	border: var(--tbc-hairline-width) solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-md);
	color: var(--tbc-ink);
	cursor: pointer;
	display: flex;
	flex-direction: column;
	font-family: inherit;
	gap: var(--tbc-spacing-3);
	margin-top: 0;
	padding: var(--tbc-spacing-3) var(--tbc-spacing-4);
	text-align: left;
	width: 100%;
}

.tbc-pills__recap-head {
	align-items: center;
	display: flex;
	gap: var(--tbc-spacing-2);
	justify-content: space-between;
}

.tbc-pills__recap-title {
	font: var(--tbc-font-label-md-bold);
}

.tbc-pills__recap-edit {
	align-items: center;
	display: inline-flex;
	font: var(--tbc-font-body-sm-regular);
	gap: var(--tbc-spacing-1);
}

.tbc-booking-widget--pills .tbc-pills__recap:hover .tbc-pills__recap-edit {
	text-decoration: underline;
}

.tbc-pills__recap-list {
	display: grid;
	gap: var(--tbc-spacing-2) var(--tbc-spacing-3);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tbc-pills__recap-item {
	align-items: flex-start;
	display: flex;
	font: var(--tbc-font-body-md-regular);
	gap: var(--tbc-spacing-2);
	min-width: 0;
}

/* Icone calee sur la premiere ligne de texte (20px), pas sur le bloc. */
.tbc-pills__recap-item > .tbc-icon {
	margin-top: 2px;
}

.tbc-pills__recap-item--trajet {
	grid-column: 1 / -1;
}

.tbc-pills__recap-value {
	align-items: center;
	display: inline-flex;
	flex-wrap: wrap;
	gap: var(--tbc-spacing-1);
	min-width: 0;
}

.tbc-pills__recap-arrow {
	color: var(--tbc-muted);
}

.tbc-pills__recap-tag {
	background: var(--tbc-white);
	border: var(--tbc-hairline-width) solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-pill);
	font: var(--tbc-font-body-sm-regular);
	padding: 0 var(--tbc-spacing-2);
}

/* Icones du widget en noir (demande utilisateur), pas en sun. */
.tbc-booking-widget--pills .tbc-route-hero__field-icon,
.tbc-booking-widget--pills .tbc-route-hero__field-caret,
.tbc-booking-widget--pills .tbc-wizard__trajet-icon,
.tbc-booking-widget--pills .tbc-wizard__event-banner-icon {
	color: var(--tbc-ink);
}

.tbc-booking-widget--pills .tbc-pills__recap:focus-visible {
	box-shadow: var(--tbc-focus-ring);
	outline: none;
}

/* CTA « Continuer sur WhatsApp » (canal WhatsApp de l'ecran 2) : vert de
   marque. La peau .tbc-btn est pilotee par ses variables, pas par des
   declarations concurrentes. */
.tbc-booking-widget .tbc-wizard__nav-button--whatsapp.tbc-btn {
	--tbc-btn-bg: var(--tbc-wa);
	--tbc-btn-bc: var(--tbc-wa);
	--tbc-btn-fg: #fff;
}

.tbc-booking-widget .tbc-wizard__nav-button--whatsapp.tbc-btn:hover {
	--tbc-btn-bg: var(--tbc-wa-deep);
	--tbc-btn-bc: var(--tbc-wa-deep);
}

/* Receptacle d'erreur vide : pas de ligne reservee dans les colonnes a
   gouttiere (meme geste que le stepper passagers du wizard). */
.tbc-booking-widget--pills .tbc-booking-widget__error:empty {
	display: none;
}

/* Canal du devis (ecran 2) : peau .tbc-segment, options icone + libelle. Les
   coordonnees n'apparaissent que pour l'e-mail ([hidden] pose par le JS). */
.tbc-booking-widget--pills .tbc-pills__channel {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-2);
}

.tbc-booking-widget--pills .tbc-pills__channel-opt {
	align-items: center;
	display: inline-flex;
	gap: var(--tbc-spacing-2);
	justify-content: center;
}

.tbc-booking-widget--pills .tbc-pills__channel-opt[data-channel="whatsapp"] .tbc-icon {
	color: var(--tbc-wa);
}

.tbc-booking-widget--pills .tbc-pills__contact {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-4);
}

/* =========================================================================
   Fiche bateau (widget tbc-boat-page), refonte 2026-10-29 sur le modele de la
   fiche quai : hero galerie + fiche, chapitres separes d'un filet 0.5px, pistes
   de cartes, banniere de privatisation. Les regles hero, cartes et banniere sont
   la copie du bloc .tbc-port sous prefixe tbc-boat (candidates kit).

   Le modele Elementor 2311 pose le widget en plusieurs instances (tete, corps,
   pied) ; le devis natif colle a droite du corps. Aucune propriete de police
   ici : la typo vient des classes .tbc-hN / .tbc-text-* posees dans les vues.
   ========================================================================= */

.tbc-boat {
	/* Pas entre deux chapitres, filet compris : celui de la fiche quai. */
	--tbc-boat-chapter: 30px;
	/* Mesure de prose. L'unite `ch` vaut la largeur du zero (~10px ici) alors
	   qu'un caractere moyen de buenos-aires en fait 8,1 : 55ch rend 68
	   caracteres par ligne, mesures au canvas, pas estimes. */
	--tbc-boat-measure: 55ch;
	--tbc-boat-radius: var(--tbc-radius-md);
	--tbc-boat-line: var(--tbc-hairline-width) solid var(--tbc-hairline);
	--tbc-boat-card-border: var(--tbc-boat-line);

	display: block;
	color: var(--tbc-ink);
}

.tbc-boat [hidden] {
	display: none !important;
}

.tbc-boat__section {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-5);
	min-width: 0;
}

/* Chapitres : un filet et un pas fixe entre deux blocs, jamais avant le
   premier d'une instance (le conteneur Elementor espace les instances). */
.tbc-boat__main > * + .tbc-boat__section,
.tbc-boat > * + .tbc-boat__section {
	margin-top: var(--tbc-boat-chapter);
	padding-top: var(--tbc-boat-chapter);
	border-top: var(--tbc-boat-line);
}

.tbc-boat__section-title {
	margin: 0;
}

/* Zone 1 : tete -------------------------------------------------------------
   Fil d'ariane, galerie, titre : trois blocs qui se lisent d'un seul tenant,
   donc serres entre eux et separes du corps par le pas de chapitre. */

.tbc-boat__crumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--tbc-spacing-2);
	margin-bottom: var(--tbc-spacing-4);
	color: var(--tbc-muted);
}

.tbc-boat__crumb-link {
	color: inherit;
	text-decoration: none;
}

.tbc-boat__crumb-link:hover {
	color: var(--tbc-ink);
	text-decoration: underline;
}

/* Glyphe purement decoratif (aria-hidden) : rung des glyphes, pas celui du
   texte. Neutre : le token --tbc-stone porte un cast chaud (180/178/169,
   11 points d'ecart entre canaux) visible a cote d'encre neutre. */
.tbc-boat__crumb-sep {
	color: rgb(0 0 0 / 44%);
}

.tbc-boat__crumb-current {
	color: var(--tbc-ink);
}

/* Galerie en mosaique (copie de .tbc-port__gallery) : une dominante a gauche,
   jusqu'a quatre vignettes a droite, coins arrondis sur l'exterieur du bloc. */

.tbc-boat__gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: var(--tbc-spacing-2);
	aspect-ratio: 2 / 1;
	border-radius: var(--tbc-boat-radius);
	overflow: hidden;
}

.tbc-boat__gallery-main {
	grid-column: 1 / 3;
	grid-row: 1 / 3;
	min-height: 0;
}

.tbc-boat__gallery-thumb {
	min-height: 0;
}

.tbc-boat__gallery--0 {
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: minmax(0, 1fr);
	aspect-ratio: 21 / 9;
}

.tbc-boat__gallery--0 .tbc-boat__gallery-main {
	grid-column: 1 / -1;
	grid-row: 1;
}

.tbc-boat__gallery--1 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: minmax(0, 1fr);
	aspect-ratio: 21 / 9;
}

.tbc-boat__gallery--1 .tbc-boat__gallery-main {
	grid-column: 1;
	grid-row: 1;
}

.tbc-boat__gallery--2,
.tbc-boat__gallery--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tbc-boat__gallery--2 .tbc-boat__gallery-main {
	grid-column: 1 / 3;
}

.tbc-boat__gallery--3 .tbc-boat__gallery-main {
	grid-column: 1 / 3;
	grid-row: 1 / 3;
}

.tbc-boat__gallery--3 .tbc-boat__gallery-thumb:nth-child(4) {
	grid-column: 3;
	grid-row: 1 / 3;
}

/* Reset du theme Rey : `.elementor figure` porte une marge et `.elementor img`
   un rayon, tous deux scopes sous la classe racine pour rester en (0,2,0). */
.tbc-boat .tbc-boat__gallery-main,
.tbc-boat .tbc-boat__gallery-thumb {
	margin: 0;
}

.tbc-boat .tbc-boat__gallery-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

/* Hero (copie de .tbc-port__hero) ------------------------------------------- */

.tbc-boat__hero {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-5);
}

.tbc-boat__hero-head {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-2);
}

.tbc-boat__hero-title {
	margin: 0;
}

/* La categorie prolonge le nom sans le concurrencer : meme taille, meme
   ligne de base, un cran d'encre en dessous. */
.tbc-boat__qualifier {
	color: rgb(0 0 0 / 56%);
}

.tbc-boat .tbc-boat__hero-rating {
	display: inline-flex;
	align-items: center;
	gap: var(--tbc-spacing-1);
	color: var(--tbc-graphite);
	text-decoration: none;
}

.tbc-boat .tbc-boat__hero-rating:hover,
.tbc-boat .tbc-boat__hero-rating:focus-visible {
	color: var(--tbc-ink);
	text-decoration: underline;
}

/* Media et fiche a parts egales ; la galerie s'etire sur la hauteur de la fiche. */
.tbc-boat__hero-body {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--tbc-spacing-6);
	align-items: stretch;
}

.tbc-boat__hero-media {
	display: flex;
	min-width: 0;
}

/* Dans le hero la galerie n'a que la moitie de la largeur : une mosaique y
   recadre chaque photo en laniere. Une seule image, comme la fiche quai. */
.tbc-boat__hero-media .tbc-boat__gallery {
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: minmax(0, 1fr);
	aspect-ratio: 3 / 2;
}

.tbc-boat__hero-media .tbc-boat__gallery-main {
	grid-column: 1 / -1;
	grid-row: 1;
}

.tbc-boat__hero-media .tbc-boat__gallery-thumb {
	display: none;
}

/* Hauteur fixe a 45vh (Elliot, 10/11) : sans elle, le ratio de la photo fixait
   la rangee (portrait = 650 px) et la fiche voisine s'etirait a vide. Une fiche
   plus haute que 45vh garde la main via min-height. */
@media (min-width: 1129px) {
	.tbc-boat__hero-media .tbc-boat__gallery {
		flex: 1 1 auto;
		aspect-ratio: auto;
		height: 45vh;
		min-height: 100%;
	}
}

.tbc-boat__hero-card {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-5);
	padding: var(--tbc-spacing-5);
	border: var(--tbc-boat-line);
	border-radius: var(--tbc-boat-radius);
	background: var(--tbc-white);
}

.tbc-boat__hero-facts {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-4);
	margin: 0;
}

.tbc-boat__hero-fact {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: var(--tbc-spacing-3);
	align-items: start;
	color: var(--tbc-graphite);
}

.tbc-boat__hero-fact .tbc-icon {
	grid-row: span 2;
	color: var(--tbc-ink);
}

.tbc-boat__hero-fact-label,
.tbc-boat__hero-fact-value {
	margin: 0;
}

.tbc-boat__hero-fact-value {
	color: var(--tbc-ink);
}

.tbc-boat__hero-actions {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-2);
	margin-top: auto; /* les boutons se calent en bas de la fiche, quelle que soit sa hauteur */
}

/* Corps ---------------------------------------------------------------------- */

.tbc-boat__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

.tbc-boat__main {
	min-width: 0;
}

/* Toute prose de la colonne tient dans la mesure, quelle que soit la largeur
   disponible ; les grilles, elles, prennent la colonne entiere. */
.tbc-boat__main .tbc-boat__intro,
.tbc-boat__main .tbc-boat__section > p {
	max-width: var(--tbc-boat-measure);
}

.tbc-boat__intro {
	color: var(--tbc-graphite);
}

.tbc-boat__intro > :first-child {
	margin-top: 0;
}

.tbc-boat__intro > :last-child {
	margin-bottom: 0;
}

/* Ce que ca change a bord ---------------------------------------------------- */

.tbc-boat__aboard-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--tbc-spacing-5);
}

.tbc-boat__aboard-item {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-2);
	padding: var(--tbc-spacing-4);
	border: var(--tbc-boat-card-border);
	border-radius: var(--tbc-radius-lg);
	background: var(--tbc-canvas);
}

/* Pastille d'icone du hero route (.tbc-route-hero__bar-ico) : carre arrondi,
   fond sun-soft, glyphe sun-deep. */
.tbc-boat .tbc-boat__aboard-icon,
.tbc-boat .tbc-boat__aboard-media,
.tbc-boat .tbc-boat__safety-icon {
	width: 30px;
	height: 30px;
	padding: 5px;
	object-fit: contain;
	border-radius: 7px;
	background: var(--tbc-sun-soft);
	margin-bottom: var(--tbc-spacing-1);
}

.tbc-boat__aboard-title,
.tbc-boat__aboard-text {
	margin: 0;
}

.tbc-boat__aboard-text {
	color: var(--tbc-graphite);
}

/* Fiche technique ------------------------------------------------------------
   Une seule mecanique de separation : des filets entre rangees. Les zebrures
   d'origine s'y ajoutaient, ce qui dessinait deux fois la meme limite et
   posait en prime l'encre secondaire sur un fond teinte. */

.tbc-boat__specs-list {
	margin: 0;
}

.tbc-boat__specs-row {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: var(--tbc-spacing-5);
	padding: var(--tbc-spacing-3) 0;
	border-top: 1px solid var(--tbc-hairline);
}

.tbc-boat__specs-row:last-child {
	border-bottom: 1px solid var(--tbc-hairline);
}

.tbc-boat__specs-label {
	margin: 0;
	color: rgb(0 0 0 / 56%);
}

.tbc-boat__specs-value {
	margin: 0;
}

/* Equipements ---------------------------------------------------------------- */

.tbc-boat__equipment-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--tbc-spacing-3) var(--tbc-spacing-5);
}

/* La pastille jaune du composant bullet-list est ici de la decoration : elle
   n'encode rien et repetait un accent sur chaque ligne. Le glyphe redescend
   sur l'echelle d'encre du texte. */
.tbc-boat__equipment-list .tbc-bullet-list__icon {
	width: auto;
	height: auto;
	padding: 0;
	background: none;
	border-radius: 0;
	color: var(--tbc-ink); /* meme encre que les icones de la fiche du hero */
}

/* Securite et conformite ------------------------------------------------------ */

.tbc-boat__safety-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--tbc-spacing-5);
}

.tbc-boat__safety-item {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-2);
	padding: var(--tbc-spacing-4);
	border-radius: var(--tbc-radius-lg);
	background: var(--tbc-paper);
}

.tbc-boat__safety-title,
.tbc-boat__safety-text {
	margin: 0;
}

.tbc-boat__safety-text {
	color: var(--tbc-graphite);
}

/* Le lien de verification est la valeur du bloc : souligne, jamais deguise en
   bouton (il sort du site). */
.tbc-boat__safety-link {
	margin-top: auto;
	padding-top: var(--tbc-spacing-1);
	color: var(--tbc-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Usages professionnels -------------------------------------------------------
   L'image delimite la carte : une bordure par-dessus dessinerait la meme
   limite deux fois. */

.tbc-boat__pro-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--tbc-spacing-5);
}

.tbc-boat__pro-item {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-2);
	color: inherit;
	text-decoration: none;
}

.tbc-boat .tbc-boat__pro-img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: var(--tbc-radius-md);
	margin-bottom: var(--tbc-spacing-1);
}

.tbc-boat__pro-item:hover .tbc-boat__pro-title {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tbc-boat__pro-text {
	color: var(--tbc-graphite);
}

/* Trajets, excursions, services : cartes de piste (copie des cartes .tbc-port) */

.tbc-boat .tbc-boat__route,
.tbc-boat .tbc-boat__card {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-2);
	height: 100%;
	margin: 0;
	padding: var(--tbc-spacing-4);
	border: var(--tbc-boat-line);
	border-radius: var(--tbc-boat-radius);
	background: var(--tbc-card-bg);
	color: var(--tbc-ink);
	text-decoration: none;
	transition: border-color var(--tbc-transition-fast);
}

.tbc-boat .tbc-boat__route:hover,
.tbc-boat .tbc-boat__route:focus-visible,
.tbc-boat .tbc-boat__card:hover,
.tbc-boat .tbc-boat__card:focus-visible {
	border-color: var(--tbc-ink);
}

.tbc-boat__route-dest {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tbc-boat__route-meta,
.tbc-boat__card-meta {
	display: inline-flex;
	align-items: center;
	gap: var(--tbc-spacing-1);
	color: var(--tbc-graphite);
	white-space: nowrap;
}

.tbc-boat__route-price {
	margin-top: auto;
	color: var(--tbc-ink);
}

.tbc-boat__card-media {
	display: block;
	aspect-ratio: 3 / 2;
	margin: calc(var(--tbc-spacing-4) * -1) calc(var(--tbc-spacing-4) * -1) var(--tbc-spacing-2);
	overflow: hidden;
	border-radius: var(--tbc-boat-radius) var(--tbc-boat-radius) 0 0;
	background: var(--tbc-paper);
}

/* Image distante servie sans width/height : le ratio vient du cadre. */
.tbc-boat .tbc-boat__card-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

/* Titres d'excursion de 3 a 5 lignes : clampes a 2, cartes de meme rythme. */
.tbc-boat__card-name {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.tbc-boat__card-text {
	display: -webkit-box;
	overflow: hidden;
	color: var(--tbc-graphite);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.tbc-boat__excursions-note {
	margin: 0;
	color: rgb(0 0 0 / 56%);
}

.tbc-boat__services-all {
	align-self: flex-start;
}

/* Villes : famille de pilules reservee aux etiquettes, distincte des boutons
   d'action de la page. */
.tbc-boat__cities-list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--tbc-spacing-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.tbc-boat__cities-pill {
	display: inline-flex;
	align-items: center;
	padding: var(--tbc-spacing-2) var(--tbc-spacing-4);
	border: 1px solid var(--tbc-hairline);
	border-radius: var(--tbc-radius-pill);
	color: inherit;
	text-decoration: none;
	transition: background var(--tbc-transition-base), border-color var(--tbc-transition-base);
}

.tbc-boat__cities-pill:hover {
	background: rgb(0 0 0 / 5%);
	border-color: rgb(0 0 0 / 18%);
	color: inherit;
}

/* Comparatif de flotte : grammaire de l'« Evaluation globale » Airbnb
   (mesuree sur une fiche) : colonnes separees par un filet vertical, rail de
   4px (#DDDDDD) rempli d'encre, valeur ecrite a cote du nom et non dans la
   barre. Le bateau de la fiche est a l'encre, les autres en pierre : deux
   valeurs franches, plus de ton sur ton. */

.tbc-boat__fleet-groups {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tbc-boat__fleet-group {
	padding: 0 var(--tbc-spacing-5) var(--tbc-spacing-1); /* source : 0 24px 4px */
	border-left: 1px solid var(--tbc-hairline); /* source : 1px solid #DDDDDD */
}

.tbc-boat__fleet-group:first-child {
	padding-left: 0;
	border-left: 0;
}

.tbc-boat__fleet-group:last-child {
	padding-right: 0;
}

.tbc-boat__fleet-criterion {
	margin: 0 0 var(--tbc-spacing-4);
	color: var(--tbc-ink);
}

.tbc-boat__fleet-row {
	display: grid;
	gap: 6px;
	margin-bottom: var(--tbc-spacing-4);
}

.tbc-boat__fleet-row:last-child {
	margin-bottom: 0;
}

.tbc-boat__fleet-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--tbc-spacing-2);
	color: var(--tbc-muted); /* source : #6C6C6C */
	line-height: 1.3;
}

.tbc-boat__fleet-name {
	min-width: 0;
}

.tbc-boat__fleet-value {
	flex: none;
	font-variant-numeric: tabular-nums;
}

.tbc-boat__fleet-row.is-current .tbc-boat__fleet-head {
	color: var(--tbc-ink);
	font-weight: 500;
}

.tbc-boat__fleet-name a {
	color: inherit;
	text-decoration: none;
}

.tbc-boat__fleet-name a:hover {
	color: var(--tbc-ink);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tbc-boat__fleet-track {
	display: block;
	height: 4px; /* source : 4px */
	border-radius: 2px; /* source : 2px */
	background: var(--tbc-hairline); /* source : #DDDDDD */
	overflow: hidden;
}

.tbc-boat__fleet-fill {
	display: block;
	width: 0;
	height: 100%;
	background: var(--tbc-stone);
	transition: width 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tbc-boat__fleet-row.is-current .tbc-boat__fleet-fill {
	background: var(--tbc-ink); /* source : #222222 */
}

.tbc-boat__fleet-note {
	margin: 0;
	color: var(--tbc-muted);
}

@media (prefers-reduced-motion: reduce) {
	.tbc-boat__fleet-fill {
		transition: none;
	}
}

/* Empilees, les colonnes passent du filet vertical au filet horizontal. */
@media (max-width: 1024px) {
	.tbc-boat__fleet-groups {
		gap: var(--tbc-spacing-5);
	}

	.tbc-boat__fleet-group,
	.tbc-boat__fleet-group:first-child {
		padding: var(--tbc-spacing-5) 0 0;
		border-left: 0;
		border-top: 1px solid var(--tbc-hairline);
	}

	.tbc-boat__fleet-group:first-child {
		padding-top: 0;
		border-top: 0;
	}
}

/* Privatisation (copie de .tbc-port__charter) : la racine est le <button>,
   grille vignette | texte | action ; container query sur la carte elle-meme. */
.tbc-boat .tbc-boat__charter {
	container-type: inline-size;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	column-gap: var(--tbc-spacing-4);
	row-gap: var(--tbc-spacing-3);
	width: 100%;
	margin: var(--tbc-boat-chapter) 0 0;
	padding: var(--tbc-spacing-4);
	border: 0;
	border-radius: var(--tbc-radius-lg);
	background: var(--tbc-paper);
	box-shadow: none;
	color: var(--tbc-ink);
	text-align: left;
	cursor: pointer;
	transition: background-color var(--tbc-transition-fast);
}

.tbc-boat .tbc-boat__charter:hover {
	background: var(--tbc-canvas);
}

.tbc-boat .tbc-boat__charter:hover .tbc-boat__charter-action {
	--tbc-btn-bg: var(--tbc-paper);
}

.tbc-boat__charter--no-media {
	grid-template-columns: minmax(0, 1fr) auto;
}

.tbc-boat .tbc-boat__charter-media {
	flex: none;
	width: 96px;
	height: 96px;
	border-radius: var(--tbc-radius-md);
	object-fit: cover;
	rotate: -3deg;
}

.tbc-boat__charter-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--tbc-spacing-1);
	min-width: 0;
}

.tbc-boat__charter-tag {
	display: inline-flex;
	align-items: center;
	gap: var(--tbc-spacing-1);
	padding: calc(var(--tbc-spacing-1) / 2) var(--tbc-spacing-2);
	border-radius: var(--tbc-radius-pill);
	background: var(--tbc-canvas);
	color: var(--tbc-muted);
}

.tbc-boat__charter-title {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tbc-boat__charter-desc {
	display: -webkit-box;
	overflow: hidden;
	color: var(--tbc-graphite);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.tbc-boat__charter-action {
	margin-inline-start: auto;
	white-space: nowrap;
}

@container (max-width: 639px) {
	.tbc-boat .tbc-boat__charter-media {
		width: 64px;
		height: 64px;
		align-self: start;
	}

	.tbc-boat__charter-action {
		grid-column: 1 / -1;
		width: 100%;
		margin-inline-start: 0;
	}
}

/* Focus clavier : l'anneau du plugin, pas le contour par defaut du navigateur
   (1px auto), quasi invisible sur des liens desormais sans bordure. */
.tbc-boat a:focus-visible,
.tbc-boat button:focus-visible {
	outline: 2px solid var(--tbc-ink);
	outline-offset: 2px;
	border-radius: var(--tbc-radius-sm);
}

/* Avis : grammaire des commentaires Airbnb (mesuree sur une fiche) : note en
   tete, deux colonnes sans carte ni filet, auteur (avatar 48px rond, nom,
   lieu), etoiles d'encre de 9px, texte 16/24. */

.tbc-boat__reviews-score {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: var(--tbc-ink);
	font-weight: 500;
}

.tbc-boat__reviews-star {
	flex: none;
}

.tbc-boat__reviews-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px calc(var(--tbc-spacing-6) * 2); /* source : 40px entre avis ; ~10% de colonne entre les deux */
	margin: 0;
	padding: 0;
	list-style: none;
}

.tbc-boat__review {
	margin: 0;
}

.tbc-boat__review-figure {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-2);
	margin: 0;
}

.tbc-boat__review-author {
	display: flex;
	align-items: center;
	gap: var(--tbc-spacing-3); /* source : 12px */
	margin-bottom: var(--tbc-spacing-1); /* source : 4px */
}

.tbc-boat .tbc-boat__review-avatar {
	width: 48px; /* source : 48px */
	height: 48px;
	flex: none;
	object-fit: cover;
	border-radius: var(--tbc-radius-pill);
}

.tbc-boat__review-avatar--initial {
	display: grid;
	place-items: center;
	background: var(--tbc-ink);
	color: var(--tbc-canvas);
	font-size: 16px; /* = .tbc-text-md */
	font-weight: 500;
	text-transform: uppercase;
}

.tbc-boat__review-id {
	display: flex;
	flex-direction: column;
	gap: 2px; /* source : 2px */
	min-width: 0;
	line-height: 1.3; /* source : 18px */
}

/* (0,2,0) : .tbc-text-sm pose un poids de 300. */
.tbc-boat .tbc-boat__review-name {
	color: var(--tbc-ink);
	font-weight: 500; /* source : 500 */
}

.tbc-boat__review-place {
	color: var(--tbc-muted); /* source : #6C6C6C */
}

.tbc-boat__review-stars {
	display: flex;
	gap: 1px; /* source : 10px de pas pour 9px d'etoile */
	margin: 0;
	color: var(--tbc-ink); /* source : #222222 */
}

/* Le theme Rey habille <blockquote> (filet, italique, marges) : on reprend la
   main en (0,2,0), comme sur la fiche quai. Cinq lignes au plus, la grille
   garde un rythme regulier. */
.tbc-boat .tbc-boat__review-text {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
	line-clamp: 5;
	overflow: hidden;
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--tbc-ink);
	font-style: normal;
	line-height: 1.5; /* source : 24px */
	quotes: none;
}

.tbc-boat .tbc-boat__review-text::before,
.tbc-boat .tbc-boat__review-text::after {
	content: none;
}

/* Editeur seul : le widget hors d'un single bateau. */
.tbc-boat__notice {
	padding: var(--tbc-spacing-4);
	border: 1px dashed rgb(0 0 0 / 18%);
	border-radius: var(--tbc-radius-md);
	color: var(--tbc-muted);
}

@media (max-width: 1128px) {
	.tbc-boat__hero-body {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 1024px) {
	.tbc-boat__fleet-groups,
	.tbc-boat__reviews-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 768px) {
	.tbc-boat {
		--tbc-boat-chapter: 24px;
	}

	/* Mosaique repliee : une seule image, en 3/2, bord a bord de l'ecran. */
	.tbc-boat__gallery,
	.tbc-boat__hero-media .tbc-boat__gallery {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: minmax(0, 1fr);
		aspect-ratio: 3 / 2;
		min-height: 0;
		border-radius: 0;
		margin-inline: calc(50% - 50vw);
	}

	.tbc-boat__gallery-main,
	.tbc-boat__gallery--3 .tbc-boat__gallery-main {
		grid-column: 1 / -1;
		grid-row: 1;
	}

	.tbc-boat__gallery-thumb {
		display: none;
	}

	.tbc-boat__aboard-grid,
	.tbc-boat__safety-grid,
	.tbc-boat__pro-grid,
	.tbc-boat__equipment-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.tbc-boat__specs-row {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--tbc-spacing-1);
	}
}
/* =========================================================================
   Fiche quai (widget tbc-port-page), refonte 2026-10-28
   Plan : /var/www/taxiboat/docs/port-page/PLAN.md. Style Airbnb : blanc,
   filet 0.5px, une couleur d'accent, pas d'ombre, rayons rares.

   La classe BEM ne porte que le layout. Typo = classes .tbc-hN / .tbc-text-*
   posees dans les vues ; boutons = .tbc-btn ; couleurs, rayons, espacements
   = tokens. Les listes d'items sont des .tbc-track (composants partages, cf.
   taxiboatcore-tokens.css).
   ========================================================================= */

.tbc-port {
	/* Pas entre deux chapitres, filet compris : celui de la fiche route
	   (divider 20 px + gap de conteneur 10 px de part et d'autre du filet). */
	--tbc-port-chapter: 30px;
	--tbc-port-measure: 62ch;
	--tbc-port-radius: var(--tbc-radius-md);
	--tbc-port-line: var(--tbc-hairline-width) solid var(--tbc-hairline);

	display: block;
	color: var(--tbc-ink);
}

.tbc-port [hidden] {
	display: none !important;
}

.tbc-port a:focus-visible,
.tbc-port button:focus-visible {
	outline: none;
	box-shadow: var(--tbc-focus-ring);
}

/* Chapitres : un filet et un pas fixe entre deux sections, jamais autour du
   premier d'une instance (le conteneur Elementor espace les instances). */
.tbc-port__section {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-5);
	min-width: 0;
}

.tbc-port__main > .tbc-port__section + .tbc-port__section,
.tbc-port > .tbc-port__section {
	margin-top: var(--tbc-port-chapter);
	padding-top: var(--tbc-port-chapter);
	border-top: var(--tbc-port-line);
}

.tbc-port > .tbc-port__section:first-child,
.tbc-port__main > .tbc-port__section[hidden]:first-child + .tbc-port__section {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.tbc-port__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

.tbc-port__main {
	min-width: 0;
}

.tbc-port__section-title {
	margin: 0;
}

/* Hero ----------------------------------------------------------------------- */

.tbc-port__hero {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-5);
}

.tbc-port__hero-head {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-2);
}

.tbc-port__hero-title {
	margin: 0;
}

.tbc-port .tbc-port__hero-rating {
	display: inline-flex;
	align-items: center;
	gap: var(--tbc-spacing-1);
	color: var(--tbc-graphite);
	text-decoration: none;
}

.tbc-port .tbc-port__hero-rating:hover,
.tbc-port .tbc-port__hero-rating:focus-visible {
	color: var(--tbc-ink);
	text-decoration: underline;
}

.tbc-port__hero-body {
	display: grid;
	/* Media et fiche a parts egales : meme largeur, meme hauteur (la galerie
	   s'etire sur la hauteur de la fiche, cf. plus bas). */
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--tbc-spacing-6);
	align-items: start;
}

.tbc-port__hero-body {
	align-items: stretch;
}

.tbc-port__hero-media {
	display: flex;
	min-width: 0;
}

/* Deux colonnes : la galerie remplit la hauteur de la fiche au lieu de
   laisser un blanc sous une photo seule. */
@media (min-width: 1129px) {
	.tbc-port__hero-media .tbc-port__gallery {
		flex: 1 1 auto;
		aspect-ratio: auto;
		min-height: 100%;
	}
}

.tbc-port__hero-card {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-5);
	padding: var(--tbc-spacing-5);
	border: var(--tbc-port-line);
	border-radius: var(--tbc-port-radius);
	background: var(--tbc-white);
}

.tbc-port__hero-facts {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-4);
	margin: 0;
}

.tbc-port__hero-fact {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: var(--tbc-spacing-3);
	align-items: start;
	color: var(--tbc-graphite);
}

.tbc-port__hero-fact .tbc-icon {
	grid-row: span 2;
	color: var(--tbc-ink);
}

.tbc-port__hero-fact--alert .tbc-icon {
	color: var(--tbc-event);
}

.tbc-port__hero-fact-label,
.tbc-port__hero-fact-value {
	margin: 0;
}

.tbc-port__hero-fact-value {
	color: var(--tbc-ink);
}

.tbc-port__hero-actions {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-2);
	margin-top: auto; /* le bouton devis se cale en bas de la fiche, quelle que soit sa hauteur */
}

/* Barre de stats ------------------------------------------------------------- */

.tbc-port__stats {
	--tbc-card-bg: var(--tbc-white); /* posees sur le fond du site : cartes blanches */
	grid-auto-columns: minmax(0, 1fr);
	gap: var(--tbc-spacing-3);
	padding: 0;
}

.tbc-port__stat {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: var(--tbc-spacing-2);
	row-gap: var(--tbc-spacing-1);
	align-items: center;
	justify-items: start;
	padding: var(--tbc-spacing-4) var(--tbc-spacing-5);
	white-space: nowrap;
}

.tbc-port__stat {
	border: var(--tbc-port-line);
}

.tbc-port__stat-label {
	grid-column: 1 / -1;
}

.tbc-port__stat-label {
	color: var(--tbc-graphite);
}

.tbc-port__stat.tbc-verdict--ok .tbc-port__stat-value,
.tbc-port__stat.tbc-verdict--watch .tbc-port__stat-value,
.tbc-port__stat.tbc-verdict--no .tbc-port__stat-value,
.tbc-port__stat.tbc-verdict--watch .tbc-port__stat-icon,
.tbc-port__stat.tbc-verdict--no .tbc-port__stat-icon {
	color: var(--tbc-verdict);
}

/* Signal mer hors favorable : meme mise en avant que .tbc-signal (fond a 20 %). */
.tbc-port__stat.tbc-verdict--watch,
.tbc-port__stat.tbc-verdict--no {
	background: color-mix(in srgb, var(--tbc-verdict) 20%, transparent);
}

/* Barre d'ancres (collee par le reglage Sticky d'Elementor de son instance) - */

.tbc-port__nav {
	border-bottom: var(--tbc-port-line);
	background: var(--tbc-white);
}

.tbc-port__nav-list {
	gap: var(--tbc-spacing-5);
	padding: 0;
	scrollbar-width: none;
}

.tbc-port__nav-list::-webkit-scrollbar {
	display: none;
}

.tbc-port .tbc-port__nav-link {
	display: block;
	padding: var(--tbc-spacing-4) 0;
	border-bottom: calc(var(--tbc-spacing-1) / 2) solid transparent;
	color: var(--tbc-graphite);
	text-decoration: none;
	white-space: nowrap;
	transition: color var(--tbc-transition-fast), border-color var(--tbc-transition-fast);
}

.tbc-port .tbc-port__nav-link:hover,
.tbc-port .tbc-port__nav-link:focus-visible,
.tbc-port .tbc-port__nav-link.is-active {
	color: var(--tbc-ink);
}

.tbc-port .tbc-port__nav-link.is-active {
	border-bottom-color: var(--tbc-sun);
}

/* Infos pratiques ------------------------------------------------------------ */

.tbc-port__infos-text {
	margin: 0;
	color: var(--tbc-graphite);
}

/* Trajets, quais, bateaux : cartes de piste ---------------------------------- */

.tbc-port .tbc-port__route,
.tbc-port .tbc-port__sibling,
.tbc-port .tbc-port__boats-link,
.tbc-port .tbc-port__review {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-2);
	height: 100%;
	margin: 0;
	padding: var(--tbc-spacing-4);
	border: var(--tbc-port-line);
	border-radius: var(--tbc-port-radius);
	background: var(--tbc-card-bg);
	color: var(--tbc-ink);
	text-decoration: none;
	transition: border-color var(--tbc-transition-fast);
}

.tbc-port .tbc-port__route:hover,
.tbc-port .tbc-port__route:focus-visible,
.tbc-port .tbc-port__sibling:hover,
.tbc-port .tbc-port__sibling:focus-visible,
.tbc-port .tbc-port__boats-link:hover,
.tbc-port .tbc-port__boats-link:focus-visible {
	border-color: var(--tbc-ink);
}

.tbc-port__route-dest {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tbc-port__route-meta,
.tbc-port__sibling-meta,
.tbc-port__boats-meta {
	display: inline-flex;
	align-items: center;
	gap: var(--tbc-spacing-1);
	color: var(--tbc-graphite);
	white-space: nowrap;
}

.tbc-port__sibling-meta {
	align-items: flex-start;
	white-space: normal;
}

.tbc-port__sibling-media,
.tbc-port__boats-media {
	display: block;
	aspect-ratio: 3 / 2;
	margin: calc(var(--tbc-spacing-4) * -1) calc(var(--tbc-spacing-4) * -1) var(--tbc-spacing-2);
	overflow: hidden;
	border-radius: var(--tbc-port-radius) var(--tbc-port-radius) 0 0;
	background: var(--tbc-paper);
}

.tbc-port .tbc-port__sibling-img,
.tbc-port .tbc-port__boats-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

.tbc-port__boats-body {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-1);
}

/* Carte et acces ------------------------------------------------------------- */

/* La carte n'a pas de CSS genere par element (instanciee en PHP) : sa hauteur
   est posee ici, scopee sous la fiche pour rester en (0,2,0). */
.tbc-port .tbc-route-map {
	height: 420px;
}

.tbc-port__location-map {
	overflow: hidden;
	border-radius: var(--tbc-port-radius);
}

.tbc-port__location-note {
	max-width: var(--tbc-port-measure);
	margin: 0;
	color: var(--tbc-graphite);
}

.tbc-port__access-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--tbc-spacing-2);
}

/* Avis ----------------------------------------------------------------------- */

.tbc-port__reviews-summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--tbc-spacing-5);
	align-items: start;
}

.tbc-port__reviews-score {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--tbc-spacing-2);
	margin: 0;
	color: var(--tbc-graphite);
}

.tbc-port__reviews-dist {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-1);
	margin: 0;
	padding: 0;
	list-style: none;
}

.tbc-port__reviews-dist-row {
	display: grid;
	grid-template-columns: var(--tbc-spacing-4) minmax(0, 1fr) var(--tbc-spacing-6);
	gap: var(--tbc-spacing-2);
	align-items: center;
	color: var(--tbc-graphite);
}

.tbc-port__reviews-dist-count {
	text-align: right;
}

/* Avis : surface blanche, cartes fondsite (regle de surface du kit). Selecteur
   (0,3,0) : passe devant le pas de chapitre `.tbc-port__main > section + section`. */
.tbc-port .tbc-port__section.tbc-port__reviews {
	--tbc-card-bg: var(--tbc-fondsite);
	padding: var(--tbc-spacing-5);
	border-top: 0; /* carte a part entiere : le filet de chapitre ferait un bord droit sur un coin arrondi */
	border-radius: var(--tbc-port-radius);
	background: var(--tbc-white);
}

.tbc-port__review-stars {
	display: flex;
	gap: 2px;
	margin: 0;
}

/* Cinq lignes suffisent a juger d'un avis. Le theme Rey habille <blockquote>
   (filet a gauche, italique, marges) : on reprend la main en (0,2,0). */
.tbc-port .tbc-port__review-text {
	display: -webkit-box;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 0;
	color: var(--tbc-graphite);
	font-style: normal;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
}

.tbc-port .tbc-port__review-text::before,
.tbc-port .tbc-port__review-text::after {
	content: none;
}

.tbc-port__review-author {
	display: flex;
	flex-direction: column;
	margin-top: auto;
}

.tbc-port__review-place {
	color: var(--tbc-muted);
}

/* Privatisation : banniere horizontale, modele carte sponsorisee Tripadvisor.
   La racine est le <button> (toute la carte cliquable), en grille vignette |
   texte | action ; container query sur la carte elle-meme : seuls ses enfants
   changent de place sous 640 px, la grille de la racine reste la meme. */
.tbc-port .tbc-port__charter {
	container-type: inline-size;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	column-gap: var(--tbc-spacing-4);
	row-gap: var(--tbc-spacing-3);
	width: 100%;
	margin: var(--tbc-port-chapter) 0 0;
	padding: var(--tbc-spacing-4);
	border: 0;
	border-radius: var(--tbc-radius-lg);
	background: var(--tbc-paper);
	box-shadow: none;
	color: var(--tbc-ink);
	text-align: left;
	cursor: pointer;
	transition: background-color var(--tbc-transition-fast);
}

.tbc-port .tbc-port__charter:hover {
	background: var(--tbc-canvas);
}

.tbc-port .tbc-port__charter:hover .tbc-port__charter-action {
	--tbc-btn-bg: var(--tbc-paper);
}

.tbc-port .tbc-port__charter:focus-visible {
	outline: none;
	box-shadow: var(--tbc-focus-ring);
}

.tbc-port__charter--no-media {
	grid-template-columns: minmax(0, 1fr) auto;
}

.tbc-port .tbc-port__charter-media {
	flex: none;
	width: 96px;
	height: 96px;
	border-radius: var(--tbc-radius-md);
	object-fit: cover;
	rotate: -3deg;
}

.tbc-port__charter-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--tbc-spacing-1);
	min-width: 0;
}

.tbc-port__charter-tag {
	display: inline-flex;
	align-items: center;
	gap: var(--tbc-spacing-1);
	padding: calc(var(--tbc-spacing-1) / 2) var(--tbc-spacing-2);
	border-radius: var(--tbc-radius-pill);
	background: var(--tbc-canvas);
	color: var(--tbc-muted);
}

.tbc-port__charter-title {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tbc-port__charter-desc {
	display: -webkit-box;
	overflow: hidden;
	color: var(--tbc-muted);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.tbc-port__charter-action {
	margin-inline-start: auto;
	white-space: nowrap;
}

@container (max-width: 639px) {
	.tbc-port .tbc-port__charter-media {
		width: 64px;
		height: 64px;
		align-self: start;
	}

	.tbc-port__charter-action {
		grid-column: 1 / -1;
		width: 100%;
		margin-inline-start: 0;
	}
}

.tbc-port__charter-desc {
	color: var(--tbc-graphite);
}

/* Galerie (vue galerie, posee dans le hero) --------------------------------- */

/* Galerie en mosaique : une dominante a gauche, jusqu'a quatre vignettes a
   droite. Les coins ne sont arrondis que sur l'exterieur du bloc, comme le
   modele : arrondir chaque tuile ferait cinq cartes au lieu d'une image. */

.tbc-port__gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: var(--tbc-spacing-2);
	aspect-ratio: 2 / 1;
	border-radius: var(--tbc-port-radius);
	overflow: hidden;
}

.tbc-port__gallery-main {
	grid-column: 1 / 3;
	grid-row: 1 / 3;
	margin: 0;
	min-height: 0;
}

.tbc-port__gallery-thumb {
	margin: 0;
	min-height: 0;
}

/* Moins de quatre vignettes : la composition se resserre au lieu de laisser
   une case vide. Une seule image = une banniere pleine largeur. */
.tbc-port__gallery--0 {
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: minmax(0, 1fr);
	aspect-ratio: 21 / 9;
}

.tbc-port__gallery--0 .tbc-port__gallery-main {
	grid-column: 1 / -1;
	grid-row: 1;
}

.tbc-port__gallery--1 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: minmax(0, 1fr);
	aspect-ratio: 21 / 9;
}

.tbc-port__gallery--1 .tbc-port__gallery-main {
	grid-column: 1;
	grid-row: 1;
}

.tbc-port__gallery--2 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tbc-port__gallery--2 .tbc-port__gallery-main {
	grid-column: 1 / 3;
}

.tbc-port__gallery--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tbc-port__gallery--3 .tbc-port__gallery-main {
	grid-column: 1 / 3;
	grid-row: 1 / 3;
}

.tbc-port__gallery--3 .tbc-port__gallery-thumb:nth-child(4) {
	grid-column: 3;
	grid-row: 1 / 3;
}

/* Reset du theme Rey : `.elementor figure` porte une marge et `.elementor img`
   un rayon, tous deux scopes sous la classe racine pour rester en (0,2,0). */
.tbc-port .tbc-port__gallery-main,
.tbc-port .tbc-port__gallery-thumb {
	margin: 0;
}

.tbc-port .tbc-port__gallery-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

/* Notices datees : un encart borde, en tete de colonne, quand une fenetre
   couvre la date du navigateur. */

.tbc-port__notices {
	gap: var(--tbc-spacing-4);
	padding: var(--tbc-spacing-5);
	border: var(--tbc-port-line);
	border-radius: var(--tbc-port-radius);
	background: var(--tbc-paper);
}

.tbc-port__notice {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--tbc-spacing-2);
}

.tbc-port__notice-detail {
	max-width: var(--tbc-port-measure);
	margin: 0;
	color: var(--tbc-graphite);
}

/* Adaptations ----------------------------------------------------------------- */

@media (max-width: 1128px) {
	.tbc-port__hero-body {
		grid-template-columns: minmax(0, 1fr);
	}

	.tbc-port__stats {
		grid-auto-columns: max-content;
	}
}

@media (max-width: 768px) {
	.tbc-port {
		--tbc-port-chapter: 24px;
	}

	/* Stats : grille 2 x 2 au lieu d'une piste. */
	.tbc-port__stats.tbc-track {
		grid-auto-flow: row;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		overflow: visible;
	}

	.tbc-port__stat {
		white-space: normal;
	}

	/* Mosaique repliee : une seule image, en 3/2, bord a bord de l'ecran. */
	.tbc-port__gallery,
	.tbc-port__hero-media .tbc-port__gallery {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: minmax(0, 1fr);
		aspect-ratio: 3 / 2;
		min-height: 0;
		border-radius: 0;
		margin-inline: calc(50% - 50vw);
	}

	.tbc-port__gallery-main {
		grid-column: 1 / -1;
		grid-row: 1;
	}

	.tbc-port__gallery-thumb {
		display: none;
	}

	.tbc-port__reviews-summary {
		grid-template-columns: minmax(0, 1fr);
	}

	.tbc-port .tbc-route-map {
		height: 300px;
	}
}

@media (max-width: 767px) {
	/* Sous 767 px, le tunnel de devis devient la barre fixe du bas. */
	.tbc-port__side,
	.tbc-port__nav-item--quote {
		display: none;
	}
}
/* =========================================================================
   Widgets Meteo (tbc-port-weather) et Meteo marine (tbc-port-marine).
   Import a l'identique de meteo.franceinfo.fr (#hourly-forecast et
   .marine-weather, page Nice, 2026-10-28) : geometrie et comportement de la
   source, branches sur nos jetons. Valeur source en commentaire.

   Couleurs (consigne utilisateur) : primaire rgb(76,106,240) / rgb(57,81,239)
   -> --tbc-sun ; #2f3dda -> --tbc-sun-deep ; #f5f7ff -> --tbc-sun-soft. Gris :
   rgb(32,32,32) -> ink, rgb(66|65|50) -> graphite, rgb(92,92,92) -> muted,
   rgb(145,145,145) -> stone, rgb(220,222,232) -> hairline, blanc -> --tbc-white.
   Typo : raccourcis --tbc-font-* du kit (police, graisse, taille, interligne en
   une ligne) ; seuls les titres gardent .tbc-h3b / .tbc-h1 dans les vues.
   ========================================================================= */

/* Meteo heure par heure (source : .hourly-slider.svelte-8vzaqa et enfants) - */

.tbc-wx-hourly__slider {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-4); /* source : 16px */
}

.tbc-wx-hourly__title {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.tbc-wx-hourly__heading {
	margin: 0;
	overflow-wrap: break-word;
	color: var(--tbc-ink); /* source : rgb(32, 32, 32) */
}

/* Lien d'evitement : invisible tant qu'il n'a pas le focus (source button.svelte-9ejhfw). */
.tbc-wx-hourly .tbc-wx-hourly__skip {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
	background-color: var(--tbc-sun); /* source : rgb(76, 106, 240) */
	color: var(--tbc-ink); /* source : blanc, Écart kit : lisibilite sur le jaune */
}

.tbc-wx-hourly .tbc-wx-hourly__skip:focus {
	font: var(--tbc-font-body-md-regular); /* source : 0.875rem / 1.25rem */
	position: static;
	width: auto;
	height: auto;
	overflow: auto;
	clip: auto;
	padding: 10px var(--tbc-spacing-4); /* source : 0.625rem 1rem */
	border-radius: var(--tbc-spacing-5); /* source : 1.5rem */
	outline: 2px solid var(--tbc-sun-deep); /* source : rgb(57, 81, 239) */
	outline-offset: 2px;
}

.tbc-wx-hourly__options {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-2); /* source : 0.5rem */
	width: 100%;
}

.tbc-wx-hourly__switch {
	margin-top: var(--tbc-spacing-2); /* source : 8px */
}

/* Bascule Aujourd'hui / N jours sous 768 px : 35 % / 65 % comme la source. */
@media (max-width: 767px) {
	.tbc-wx-hourly__switch .tbc-switch__btn:first-child {
		flex: 0 0 calc(35% - 8px);
	}

	.tbc-wx-hourly__switch .tbc-switch__btn:last-child {
		flex: 0 0 calc(65% - 8px);
	}
}

.tbc-wx-hourly__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* relative : les textes de lecteur d'ecran (.tbc-wx-hourly__sr, absolus) restent
   dans la piste au lieu d'elargir la page. */
.tbc-wx-hourly__track {
	position: relative;
	overflow-x: scroll;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.tbc-wx-hourly__track::-webkit-scrollbar {
	display: none;
}

.tbc-wx-hourly__label {
	font: var(--tbc-font-body-md-regular); /* source : system-ui 14px, 500 */
	padding: var(--tbc-spacing-1) 6px; /* source : 4px 6px */
	color: var(--tbc-ink); /* source : rgb(32, 32, 32) */
	text-transform: capitalize;
}

.tbc-wx-hourly__label.is-selected {
	border-radius: var(--tbc-spacing-1); /* source : 4px */
	background-color: var(--tbc-sun); /* source : rgb(214, 224, 255), teinte claire du primaire ; Écart kit : primaire */
}

.tbc-wx-hourly .tbc-wx-hourly__icon {
	display: block;
	z-index: 0;
	width: 60px;
	height: 60px;
	margin: 0 auto;
}

.tbc-wx-hourly__temp {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--tbc-spacing-1); /* source : 4px */
	padding-top: var(--tbc-spacing-2); /* source : 8px */
	color: var(--tbc-ink); /* source : rgb(32, 32, 32) */
}

.tbc-wx-hourly__thermometer {
	font: var(--tbc-font-label-lg-bold); /* source : Brown 16px, 700 */
	display: flex;
	align-items: center;
	gap: var(--tbc-spacing-1); /* source : 4px */
}

/* Picto thermometre de la source en masque, declare une fois : pas un SVG
   par case de la matrice. Couleur = celle du texte. */
.tbc-wx-hourly__thermometer::before {
	content: "";
	flex: none;
	width: 16px; /* source : svg 16 x 16 */
	height: 16px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 14.3334C7.16756 14.3334 6.45944 14.0415 5.87567 13.4577C5.29189 12.874 5 12.1659 5 11.3334C5 10.8257 5.11772 10.3552 5.35317 9.92192C5.58872 9.48858 5.91544 9.13003 6.33333 8.84625V3.33341C6.33333 2.86764 6.49467 2.47341 6.81733 2.15075C7.14 1.82808 7.53422 1.66675 8 1.66675C8.46578 1.66675 8.86 1.82808 9.18267 2.15075C9.50533 2.47341 9.66667 2.86764 9.66667 3.33341V8.84625C10.0846 9.13003 10.4113 9.48858 10.6468 9.92192C10.8823 10.3552 11 10.8257 11 11.3334C11 12.1659 10.7081 12.874 10.1243 13.4577C9.54056 14.0415 8.83244 14.3334 8 14.3334ZM7.33333 7.46158H8.66667V6.62825H8V6.03858H8.66667V4.62825H8V4.03858H8.66667V3.33341C8.66667 3.14453 8.60278 2.98619 8.475 2.85841C8.34722 2.73064 8.18889 2.66675 8 2.66675C7.81111 2.66675 7.65278 2.73064 7.525 2.85841C7.39722 2.98619 7.33333 3.14453 7.33333 3.33341V7.46158Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 14.3334C7.16756 14.3334 6.45944 14.0415 5.87567 13.4577C5.29189 12.874 5 12.1659 5 11.3334C5 10.8257 5.11772 10.3552 5.35317 9.92192C5.58872 9.48858 5.91544 9.13003 6.33333 8.84625V3.33341C6.33333 2.86764 6.49467 2.47341 6.81733 2.15075C7.14 1.82808 7.53422 1.66675 8 1.66675C8.46578 1.66675 8.86 1.82808 9.18267 2.15075C9.50533 2.47341 9.66667 2.86764 9.66667 3.33341V8.84625C10.0846 9.13003 10.4113 9.48858 10.6468 9.92192C10.8823 10.3552 11 10.8257 11 11.3334C11 12.1659 10.7081 12.874 10.1243 13.4577C9.54056 14.0415 8.83244 14.3334 8 14.3334ZM7.33333 7.46158H8.66667V6.62825H8V6.03858H8.66667V4.62825H8V4.03858H8.66667V3.33341C8.66667 3.14453 8.60278 2.98619 8.475 2.85841C8.34722 2.73064 8.18889 2.66675 8 2.66675C7.81111 2.66675 7.65278 2.73064 7.525 2.85841C7.39722 2.98619 7.33333 3.14453 7.33333 3.33341V7.46158Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.tbc-wx-hourly__min-temp {
	font: var(--tbc-font-body-sm-regular); /* source : system-ui 12px */
	padding-top: 2px;
	color: var(--tbc-muted); /* source : rgb(92, 92, 92) */
}

.tbc-wx-hourly [hidden] {
	display: none !important;
}

/* En-tete : titre et segment de lieu sur une ligne (le controle vit dans
   l'en-tete du module qu'il pilote), le segment passe dessous s'il manque
   de place. */
.tbc-wx-hourly .tbc-wx-hourly__title {
	flex-wrap: wrap;
	gap: var(--tbc-spacing-3);
}

/* Bloc blanc : cartes, traversee et matrice. Padding et rayon de son voisin
   .tbc-wx-marine__content ; titre, segment et switch restent sur le fond du site. */
.tbc-wx-hourly__content {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-4);
	padding: var(--tbc-spacing-5);
	border-radius: var(--tbc-radius-sm);
}

/* Cartes « maintenant », une par lieu : peau .tbc-track__item (fond de carte
   de la surface blanche du bloc). */
.tbc-wx-hourly__now {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: var(--tbc-spacing-3);
}

/* Tout en haut a gauche, sauf le signal mer pousse a droite (il passe dessous,
   toujours a droite, quand la carte manque de place). */
.tbc-wx-hourly__now-card {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: var(--tbc-spacing-3);
	padding: var(--tbc-spacing-3);
}

.tbc-wx-hourly__now-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.tbc-wx-hourly__now-values {
	display: flex;
	align-items: baseline;
	gap: var(--tbc-spacing-2);
}

.tbc-wx-hourly__now-place {
	color: var(--tbc-muted);
}

/* Le picto de la matrice est centre (margin auto) : dans la carte, ces marges
   auto mangeaient l'espace libre et decalaient tout vers le centre. */
.tbc-wx-hourly__now-card .tbc-wx-hourly__icon {
	margin: 0;
}

.tbc-wx-hourly__now-card .tbc-wx-hourly__verdict {
	align-self: center;
	margin-left: auto;
}

/* Signal mer du header : badge seul, plus rempli que dans la carte meteo ;
   lien optionnel sans peau de lien. */
.tbc-sea-signal {
	--tbc-signal-fill: 32%;
}

a.tbc-sea-signal,
a.tbc-sea-signal:hover {
	text-decoration: none;
}

.tbc-wx-hourly__crossing {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--tbc-spacing-2);
	margin: 0;
}

/* Matrice heures (ou jours) x lieux : chaque ligne est une grille aux memes
   colonnes, donc les lieux restent alignes ; la matrice defile, ne se replie
   jamais. Colonne = largeur de carte de la source ; gouttiere des noms collee
   a gauche pendant le defilement. */
.tbc-wx-hourly {
	--tbc-wx-col: 127px; /* source : carte min-width 127px */
	--tbc-wx-gutter: 96px;
}

.tbc-wx-hourly--multi .tbc-wx-hourly__track {
	scroll-padding-left: var(--tbc-wx-gutter);
}

.tbc-wx-hourly__matrix {
	display: grid;
	width: max-content;
	min-width: 100%;
}

.tbc-wx-hourly__row {
	display: grid;
	grid-auto-columns: minmax(var(--tbc-wx-col), 1fr);
	grid-auto-flow: column;
}

.tbc-wx-hourly--multi .tbc-wx-hourly__row {
	grid-template-columns: var(--tbc-wx-gutter);
}

.tbc-wx-hourly__row:not(.tbc-wx-hourly__row--head) + .tbc-wx-hourly__row {
	border-top: var(--tbc-hairline-width) solid var(--tbc-hairline);
}

.tbc-wx-hourly__cell {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: var(--tbc-spacing-4) 11px; /* source carte : 1rem 11px */
	background-color: var(--tbc-white);
}

.tbc-wx-hourly__row--head .tbc-wx-hourly__cell {
	padding-bottom: 0;
	scroll-snap-align: start;
}

.tbc-wx-hourly__gutter {
	position: sticky;
	left: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: var(--tbc-spacing-1);
	padding-right: var(--tbc-spacing-2);
	background-color: var(--tbc-white);
	color: var(--tbc-ink);
}

@media (min-width: 768px) {
	.tbc-wx-hourly__options {
		flex-direction: row;
		justify-content: flex-start;
		align-items: center;
		gap: var(--tbc-spacing-4); /* source : 1rem */
		width: auto;
	}
}


/* Meteo marine (source : .marine-weather.svelte-1mq1nd6 et enfants) -------- */

/* Lieux meteo (Has_Weather_Places), Meteo marine a plusieurs lieux : un
   en-tete commun (titre + switch de lieu, comme le module Meteo) au-dessus des
   panneaux ; meme rythme que .tbc-wx-marine. */
.tbc-wx-places {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-5);
}

.tbc-wx-places__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: var(--tbc-spacing-3);
}

.tbc-wx-places__heading {
	margin: 0;
	color: var(--tbc-ink);
}

.tbc-wx-marine {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-5); /* source : 1.5rem */
}

.tbc-wx-marine__heading {
	margin: 0;
	overflow-wrap: break-word;
	color: var(--tbc-ink); /* source : rgb(32, 32, 32) */
}

.tbc-wx-marine__content {
	container-type: inline-size;
	padding: var(--tbc-spacing-5); /* source : 1.5rem */
	border-radius: var(--tbc-radius-sm); /* source : 0.5rem */
	background-color: var(--tbc-white); /* source : blanc */
}

.tbc-wx-marine__navs {
	display: flex;
	flex-direction: column;
	gap: var(--tbc-spacing-4); /* source : 1rem */
	margin-bottom: var(--tbc-spacing-6); /* source : 2rem */
}

.tbc-wx-marine__info {
	outline: 2px solid transparent;
	outline-offset: 2px;
}

.tbc-wx-marine__info-title {
	font: var(--tbc-font-label-lg-bold); /* source : Brown 700 */
	padding: var(--tbc-spacing-6) 0 var(--tbc-spacing-4); /* source : 2rem 0 1rem */
	color: var(--tbc-ink); /* source : rgb(32, 32, 32) */
}

.tbc-wx-marine__tabs {
	display: flex;
	justify-content: center;
	width: 100%;
	margin: 0;
	padding: 0 var(--tbc-spacing-2); /* source : 0 0.5rem */
	border-radius: var(--tbc-radius-sm); /* source : 0.5rem */
	background-color: var(--tbc-sun-soft); /* source : #f5f7ff */
	list-style: none;
}

.tbc-wx-marine__tab {
	font: var(--tbc-font-label-md-regular); /* source : Brown 0.875rem / 1.25rem */
	align-self: center;
	padding: var(--tbc-spacing-2) 0; /* source : 0.5rem 0 */
	color: var(--tbc-graphite); /* source : rgb(66, 66, 66) */
	cursor: pointer;
}

.tbc-wx-marine .tbc-wx-marine__tab-btn {
	font: var(--tbc-font-label-md-regular); /* source : herite du li ; le theme impose 600 aux button */
	margin: 0;
	padding: var(--tbc-spacing-2); /* source : 0.5rem */
	border: 0;
	background: transparent;
	color: inherit;
	text-transform: capitalize;
	white-space: nowrap; /* Écart kit : notre police est plus large, un onglet ne passe pas a la ligne */
	cursor: pointer;
}

.tbc-wx-marine .tbc-wx-marine__tab-btn.is-active {
	border-radius: var(--tbc-spacing-1); /* source : 0.25rem */
	background-color: var(--tbc-white); /* source : blanc */
	color: var(--tbc-sun-deep); /* source : #2f3dda */
	font: var(--tbc-font-label-md-bold); /* source : etat actif, 700 */
}

.tbc-wx-marine__max {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: auto 1.5rem auto auto;
	row-gap: var(--tbc-spacing-1); /* source : 0.25rem */
	margin: 0;
}

.tbc-wx-marine__value {
	font: var(--tbc-font-label-lg-regular); /* source : Brown 16px / 24px */
	margin: 0;
}

/* Valeurs de la periode (source : composant Marine, m2, dl.svelte-skqrmj). */
.tbc-wx-marine__periodic {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: auto 2.5rem auto auto;
	row-gap: var(--tbc-spacing-2); /* source : 0.5rem */
	margin: 0;
}

.tbc-wx-marine__periodic[hidden] {
	display: none;
}

.tbc-wx-marine__item {
	display: flex;
	align-items: center;
	column-gap: var(--tbc-spacing-2); /* source : 0.5rem */
	margin: 0;
}

.tbc-wx-marine__badge {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
}

/* SVG de la source : seules les couleurs passent sur nos jetons. */
.tbc-wx-marine__glyph {
	fill: var(--tbc-sun-deep); /* source : #3951EF / #4C6AF0 ; Écart kit : primaire en trace = sun-deep, lisible */
}

.tbc-wx-marine__stop {
	stop-color: var(--tbc-sun-soft); /* source : #EBF0FF */
}

.tbc-wx-marine__item-value {
	font: var(--tbc-font-label-xl-regular); /* source : Brown 1.25rem / 1.75rem */
	margin: 0;
	color: var(--tbc-ink);
}

.tbc-wx-marine__item-label {
	font: var(--tbc-font-label-sm-regular); /* source : 0.75rem / 1rem */
	margin: 0;
	color: var(--tbc-muted); /* source : #5c5c5c */
}

.tbc-wx-marine__periodic > dt:nth-of-type(-n+2) { grid-row: 1; }
.tbc-wx-marine__periodic > dd:nth-of-type(-n+2) { grid-row: 2; }
.tbc-wx-marine__periodic > dt:nth-of-type(n+3) { grid-row: 3; }
.tbc-wx-marine__periodic > dd:nth-of-type(n+3) { grid-row: 4; }

@media (min-width: 768px) {
	.tbc-wx-marine__periodic {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		column-gap: var(--tbc-spacing-4); /* source : 1rem */
	}

	.tbc-wx-marine__periodic > dt {
		grid-row: 1;
	}

	.tbc-wx-marine__periodic > dd {
		grid-row: 2;
		font: var(--tbc-font-label-md-regular); /* source : 0.875rem / 1.25rem */
	}
}

.tbc-wx-marine__label {
	font: var(--tbc-font-label-sm-regular); /* source : 0.75rem / 125% */
	margin: 0;
	color: var(--tbc-muted); /* source : rgb(92, 92, 92) */
}

.tbc-wx-marine__max > dt:nth-of-type(-n+2) {
	grid-row: 1;
}

.tbc-wx-marine__max > dd:nth-of-type(-n+2) {
	grid-row: 2;
}

.tbc-wx-marine__max > dt:nth-of-type(n+3) {
	grid-row: 3;
}

.tbc-wx-marine__max > dd:nth-of-type(n+3) {
	grid-row: 4;
}

.tbc-wx-marine__note {
	padding-top: var(--tbc-spacing-5); /* source : 1.5rem */
}

.tbc-wx-marine__prep {
	font: var(--tbc-font-label-lg-bold); /* source : Brown 700 */
	color: var(--tbc-ink); /* source : rgb(32, 32, 32) */
}

.tbc-wx-marine__text {
	font: var(--tbc-font-label-md-regular); /* source : 0.875rem / 145% */
	margin: 0;
	padding-top: var(--tbc-spacing-2); /* source : 0.5rem */
	color: var(--tbc-graphite); /* source : rgb(66, 66, 66) */
}

/* Écart : la source passe ses deux groupes d'onglets en ligne a 768 px d'ECRAN
   (colonne de 787 px) ; ici la colonne fait 557 px : on bascule sur la largeur
   du bloc, avec le padding etroit de la source les deux groupes y tiennent. */
@container (min-width: 500px) {
	.tbc-wx-marine__navs {
		flex-direction: row;
		column-gap: var(--tbc-spacing-4); /* source : 1rem */
	}
}

/* Padding large de la source seulement quand les deux groupes tiennent avec. */
@container (min-width: 640px) {
	.tbc-wx-marine .tbc-wx-marine__tab-btn {
		padding: 10px var(--tbc-spacing-4); /* source : 0.625rem 1rem */
	}
}

@media screen and (min-width: 768px) {
	.tbc-wx-marine__max {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.tbc-wx-marine__max > dt {
		grid-row: 1;
	}

	.tbc-wx-marine__max > dd {
		grid-row: 2;
	}
}

/* =========================================================================
   Widget Affichage taxonomie (.tbc-taxdisp) : port du widget BlackTenders
   bt-taxonomy-display v2. Les regles de variante passent par :where() pour
   rester a (0,1,0) : les controles Elementor ({{WRAPPER}} ..., 0,2,0)
   l'emportent toujours, quel que soit l'ordre de chargement des feuilles.
   ========================================================================= */
.tbc-taxdisp {
	--tbc-taxdisp-text-secondary: #6b7280;
	--tbc-taxdisp-text-tertiary: #9ca3af;
	--tbc-taxdisp-bg-primary: #ffffff;
	--tbc-taxdisp-bg-secondary: #f5f5f4;
	--tbc-taxdisp-border: #e5e7eb;
	--tbc-taxdisp-accent: #185fa5;
	--tbc-taxdisp-accent-bg: #e6f1fb;
	--tbc-taxdisp-accent-border: #b5d4f4;
	display: block;
}

.tbc-taxdisp__section-title {
	margin: 0 0 8px;
}

.tbc-taxdisp__section-desc {
	margin: 0 0 12px;
}

.tbc-taxdisp__list {
	margin: 0;
}

.tbc-taxdisp__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	line-height: 1;
}

.tbc-taxdisp__icon svg,
.tbc-taxdisp__icon img {
	display: block;
	width: 16px;
	height: 16px;
	object-fit: contain;
}

.tbc-taxdisp__body {
	display: inline-flex;
	flex-direction: column;
}

.tbc-taxdisp__desc {
	display: block;
	margin-top: 2px;
}

/* A : pastilles */
.tbc-taxdisp--pills,
.tbc-taxdisp--tags {
	display: flex;
	flex-wrap: wrap;
	row-gap: 10px;
	column-gap: 10px;
}

:where(.tbc-taxdisp--pills) .tbc-taxdisp__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: 100px;
	border: 1px solid var(--tbc-taxdisp-border);
	background: var(--tbc-taxdisp-bg-secondary);
	color: var(--tbc-taxdisp-text-secondary);
	line-height: 1;
}

:where(.tbc-taxdisp--pills) .tbc-taxdisp__desc {
	color: var(--tbc-taxdisp-text-tertiary);
}

/* B : tags accent */
:where(.tbc-taxdisp--tags) .tbc-taxdisp__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 6px;
	border: 1px solid var(--tbc-taxdisp-accent-border);
	background: var(--tbc-taxdisp-accent-bg);
	color: var(--tbc-taxdisp-accent);
	line-height: 1;
}

:where(.tbc-taxdisp--tags) .tbc-taxdisp__icon :is(img, svg) {
	width: 14px;
	height: 14px;
}

:where(.tbc-taxdisp--tags) .tbc-taxdisp__desc {
	color: var(--tbc-taxdisp-accent);
	opacity: 0.8;
}

/* C : grille de cartes (icone + nom empiles) */
.tbc-taxdisp--grid-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
	row-gap: 10px;
	column-gap: 10px;
}

:where(.tbc-taxdisp--grid-cards) .tbc-taxdisp__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 12px 8px;
	border-radius: 8px;
	border: 1px solid var(--tbc-taxdisp-border);
	background: var(--tbc-taxdisp-bg-primary);
	text-align: center;
}

:where(.tbc-taxdisp--grid-cards) .tbc-taxdisp__icon {
	width: 24px;
	height: 24px;
}

:where(.tbc-taxdisp--grid-cards) .tbc-taxdisp__icon :is(img, svg) {
	width: 20px;
	height: 20px;
}

:where(.tbc-taxdisp--grid-cards) .tbc-taxdisp__label {
	color: var(--tbc-taxdisp-text-secondary);
	line-height: 1.3;
}

:where(.tbc-taxdisp--grid-cards) .tbc-taxdisp__desc {
	color: var(--tbc-taxdisp-text-tertiary);
	line-height: 1.3;
}

/* D : en ligne, separateur entre les items */
.tbc-taxdisp--inline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	row-gap: 6px;
	column-gap: 0;
}

:where(.tbc-taxdisp--inline) .tbc-taxdisp__item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--tbc-taxdisp-text-secondary);
	line-height: 1.4;
}

:where(.tbc-taxdisp--inline) .tbc-taxdisp__icon :is(img, svg) {
	width: 14px;
	height: 14px;
}

:where(.tbc-taxdisp--inline) .tbc-taxdisp__body {
	flex-direction: row;
	align-items: baseline;
	gap: 4px;
}

:where(.tbc-taxdisp--inline) .tbc-taxdisp__desc {
	margin-top: 0;
	color: var(--tbc-taxdisp-text-tertiary);
}

:where(.tbc-taxdisp--inline) .tbc-taxdisp__sep {
	display: inline-flex;
	align-items: center;
	margin: 0 6px;
	color: var(--tbc-taxdisp-text-tertiary);
	user-select: none;
	line-height: 1;
}

/* Zones tactiles mobiles : 44 px minimum (WCAG 2.5.8). La marge negative compense
   le padding pour que l'en-tete Rey ne bouge pas. */
@media (max-width: 1024px) {
	.rey-mainNavigation-mobileBtn {
		box-sizing: content-box;
		margin: -17px -4px;
		padding: 17px 4px;
	}

	.rey-langSwitcher-mobile a {
		align-items: center;
		display: inline-flex;
		justify-content: center;
		min-height: 44px;
		min-width: 44px;
	}
}
