/* Pompidou Events — site design ("Verre opaque", chosen 2026-11-13).
 *
 * Palette and type from the Novotel Saint-Brieuc tools (novotel-base): navy #0D1B38, cream #F3EFE6, amber #F2B866,
 * gold #A0661A, grey #F3F4F7; Bodoni Moda for display, Manrope for everything else.
 * Photography carries the home page. Solid navy panels (.v-panel) float over photos and beside text: the menu capsule and its drop-downs, the
 * arrivals board, the key figures, the phone dock, the panel beside each page's text. Pages open on a photo title band.
 * One motion moment: the home photo settles as the page opens.
 */

@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(../fonts/bodoni-moda-latin-wght-normal.woff2) format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 900; font-display: swap; src: url(../fonts/bodoni-moda-latin-wght-italic.woff2) format("woff2"); }
@font-face { font-family: Manrope; font-weight: 400; font-display: swap; src: url(../fonts/manrope-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Manrope; font-weight: 500; font-display: swap; src: url(../fonts/manrope-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Manrope; font-weight: 600; font-display: swap; src: url(../fonts/manrope-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: Manrope; font-weight: 700; font-display: swap; src: url(../fonts/manrope-latin-700-normal.woff2) format("woff2"); }

:root {
	--navy: #0d1b38;
	--navy-2: #1c2c52;
	--navy-3: #0a1530;
	--cream: #f3efe6;
	--grey: #f3f4f7;
	--white: #ffffff;
	--amber: #f2b866;
	--amber-soft: #fbf3e4;
	--gold: #a0661a;
	--muted: #5d6579;
	--line: #e3e6ee;
	--display: "Bodoni Moda", Didot, "Times New Roman", serif;
	--ui: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1280px;
	--gutter: clamp(16px, 4vw, 48px);
	--sec: clamp(80px, 10vw, 140px);

	/* read by the cookie banner */
	--dark: var(--navy); --dark-text: var(--cream); --dark-text-2: rgba(243, 239, 230, 0.78); --dark-link: var(--amber);
	--font-body: var(--ui); --btn: var(--amber); --btn-text: var(--navy); --btn-hover: #f6cb8c; --rule: var(--navy);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--navy); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--grey); color: var(--navy); font: 500 1.0625rem/1.6 var(--ui); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 500; line-height: 1.06; letter-spacing: -0.01em; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.v-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--amber); color: var(--navy); }
.v-skip:focus { top: 12px; }
.v-wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- the floating panels: one recipe, used four times ---------- */

.v-panel {
	background: var(--navy);
	border: 1px solid rgba(243, 239, 230, 0.12);
	box-shadow: 0 24px 60px -24px rgba(5, 12, 28, 0.7);
	color: var(--cream);
}

/* ---------- buttons, links ---------- */

.v-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
	border: 1px solid transparent; border-radius: 999px; font: 700 0.95rem/1 var(--ui); letter-spacing: 0.01em;
	text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.v-btn--amber { background: var(--amber); color: var(--navy); }
.v-btn--amber:hover { background: #f6cb8c; }
.v-btn--ghost { border-color: rgba(243, 239, 230, 0.5); color: var(--cream); }
.v-btn--ghost:hover { background: var(--cream); color: var(--navy); }
.v-btn--block { width: 100%; }
.v-btn--navy { background: var(--navy); color: var(--cream); }
.v-btn--navy:hover { background: var(--navy-2); }

/* information still to fill in: the SEO draft's [X_…] placeholders, published as they are */
mark.ph { padding: 0.05em 0.35em; border-radius: 6px; background: var(--amber); color: var(--navy); font-weight: 700; font-size: 0.86em; overflow-wrap: anywhere; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.v-link { color: var(--gold); font-weight: 700; text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
.v-link:hover { text-decoration-thickness: 2px; }
.v-link--light { color: var(--amber); }

/* ---------- the menu capsule ---------- */

.v-navbar { position: sticky; top: 0; z-index: 60; height: 0; padding-inline: var(--gutter); }
.v-nav {
	display: flex; align-items: center; gap: 20px; max-width: calc(var(--wrap) - 2 * var(--gutter) + 16px); height: 64px; margin: 0 auto; transform: translateY(12px);
	padding: 0 8px 0 22px; border-radius: 999px;
}
.v-brand { display: grid; line-height: 1.1; text-decoration: none; color: var(--cream); margin-right: auto; }
.v-brand b { font: 700 0.68rem/1.2 var(--ui); letter-spacing: 0.2em; text-transform: uppercase; }
.v-brand i { font: italic 600 1.2rem/1.1 var(--display); color: var(--amber); }
.v-nav__links > ul { display: flex; gap: 2px; }
.v-nav__links > ul > li > a, .v-dd__btn {
	display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 0; border-radius: 999px; background: none;
	color: rgba(243, 239, 230, 0.88); font: 600 0.9rem/1.2 var(--ui); text-decoration: none; white-space: nowrap; cursor: pointer;
}
.v-nav__links > ul > li > a:hover, .v-dd__btn:hover, .v-dd__btn[aria-expanded="true"] { background: rgba(255, 255, 255, 0.12); color: #fff; }
.v-nav__links a[aria-current], .v-dd__btn.is-current { color: var(--amber); }
.v-dd { position: relative; }
.v-dd__btn::after { content: ""; width: 6px; height: 6px; margin-top: -3px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); opacity: 0.7; }
.v-dd__panel { position: absolute; top: calc(100% + 16px); left: -10px; display: none; min-width: 290px; padding: 10px; border-radius: 22px; }
.v-dd__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; } /* keeps the hover across the gap */
.v-dd__btn[aria-expanded="true"] + .v-dd__panel { display: block; }
@media (hover: hover) { .v-dd:hover .v-dd__panel { display: block; } }
.v-dd__panel a { display: block; padding: 11px 14px; border-radius: 14px; color: var(--cream); font-size: 0.95rem; font-weight: 600; text-decoration: none; }
.v-dd__panel a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.v-nav__cta { min-height: 48px; }
.v-menu-btn { display: none; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.14); color: var(--cream); font: 700 0.95rem var(--ui); cursor: pointer; }
.v-menu-btn span, .v-menu-btn span::before { display: block; width: 16px; height: 2px; background: currentColor; position: relative; }
.v-menu-btn span::before { content: ""; position: absolute; top: 5px; }
.v-menu-btn span { top: -2.5px; }
@media (max-width: 1240px) {
	.v-nav__links { display: none; }
	.v-menu-btn { display: inline-flex; }
}
@media (max-width: 560px) {
	.v-nav { gap: 8px; height: 58px; padding-left: 18px; }
	.v-nav__cta { display: none; }
}

/* the full menu */
.v-sheet { position: fixed; inset: 0; z-index: 55; overflow-y: auto; padding: 120px var(--gutter) 40px; background: var(--navy); color: var(--cream); }
.v-sheet[hidden] { display: none; }
.v-sheet nav { max-width: 720px; margin: 0 auto; display: grid; gap: 28px; }
.v-sheet__top { font: 500 1.9rem/1.1 var(--display); color: var(--cream); text-decoration: none; }
.v-sheet__group ul { margin-top: 10px; display: grid; gap: 6px; }
.v-sheet__group li a { color: rgba(243, 239, 230, 0.75); text-decoration: none; font-weight: 600; }
.v-sheet__top { margin: 0; }
.v-sheet__group li a:hover, a.v-sheet__top:hover, .v-sheet [aria-current] { color: var(--amber); }
.v-sheet .v-btn { justify-self: start; }
html.v-locked { overflow: hidden; }

/* ---------- hero: the station at dusk ---------- */

.v-hero { position: relative; min-height: max(680px, calc(100svh - 48px)); display: flex; flex-direction: column; overflow: hidden; color: var(--cream); background: var(--navy); }
.v-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 55%; animation: v-settle 2.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes v-settle { from { transform: scale(1.08); filter: brightness(0.7); } to { transform: scale(1); filter: none; } }
.v-hero__img { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 66%, rgba(0, 0, 0, 0.75) 78%, rgba(0, 0, 0, 0.35) 89%, rgba(0, 0, 0, 0.08) 96%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 66%, rgba(0, 0, 0, 0.75) 78%, rgba(0, 0, 0, 0.35) 89%, rgba(0, 0, 0, 0.08) 96%, transparent 100%); }
/* eased fade: the photo dissolves into the navy below, with no visible edge (2026-11-13) */
/* 1.3.3: the darkening starts lower, so the photo stays bright down to the heading; a soft shadow keeps the text readable */
.v-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 27, 56, 0.45) 0%, rgba(13, 27, 56, 0.04) 26%, rgba(13, 27, 56, 0.06) 50%, rgba(13, 27, 56, 0.16) 62%, rgba(13, 27, 56, 0.38) 72%, rgba(13, 27, 56, 0.64) 82%, rgba(13, 27, 56, 0.86) 90%, rgba(13, 27, 56, 0.97) 96%, #0d1b38 100%); }
.v-hero h1, .v-hero__lead { text-shadow: 0 2px 28px rgba(5, 12, 28, 0.55), 0 1px 3px rgba(5, 12, 28, 0.35); }
.v-hero__in { position: relative; z-index: 1; flex: 1; width: 100%; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 80px); align-items: end; padding-top: 150px; padding-bottom: 64px; }
.v-kicker { font-weight: 700; color: var(--amber); margin-bottom: 18px; }
.v-nowrap { white-space: nowrap; }
.v-hero h1 { font-size: clamp(2.7rem, 5.2vw, 4.7rem); line-height: 1.02; max-width: 11.5em; color: #fff; }
.v-hero .v-actions { margin-top: 30px; }
.v-hero__lead { margin: 26px 0 0; max-width: 34em; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: rgba(243, 239, 230, 0.88); }
.v-hero__scroll { position: absolute; z-index: 1; left: 50%; bottom: 18px; transform: translateX(-50%); padding-bottom: 26px; color: rgba(243, 239, 230, 0.7); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-decoration: none; }
.v-hero__scroll::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 18px; background: currentColor; }
@media (prefers-reduced-motion: reduce) { .v-hero__img { animation: none; } }

/* ---------- the arrivals board (back from 0.1, 2026-11-13) ---------- */

.v-board { justify-self: end; width: min(100%, 460px); margin: 0; padding: 22px 24px 18px; border-radius: 26px; background: #fff; border-color: transparent; color: var(--navy); box-shadow: 0 30px 70px -30px rgba(5, 12, 28, 0.8); }
.v-board__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid rgba(13, 27, 56, 0.12); font: 700 0.82rem/1 var(--ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.v-board__head span:last-child { color: var(--muted); }
.v-board__table { width: 100%; border-collapse: collapse; text-transform: uppercase; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.v-board__table th, .v-board__table td { padding: 11px 0; text-align: left; vertical-align: middle; border-bottom: 1px solid rgba(13, 27, 56, 0.08); }
.v-board__table tr:last-child th, .v-board__table tr:last-child td { border-bottom: 0; }
.v-board__table th { padding-right: 10px; font-size: 0.98rem; font-weight: 700; color: var(--navy); }
.v-board__by { padding-right: 10px; font-size: 0.74rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.v-board__time { text-align: right !important; white-space: nowrap; }
.flaps { display: inline-flex; gap: 3px; perspective: 240px; vertical-align: middle; } /* centred: a blank tile has no baseline, the row must not grow */
/* matte tiles: one flat colour, only the hinge line between the two halves */
.flap {
	display: inline-grid; place-items: center; width: 1.15em; height: 1.5em; border-radius: 3px;
	background: linear-gradient(var(--navy) 0 calc(50% - 1px), #050c1d calc(50% - 1px) calc(50% + 1px), var(--navy) calc(50% + 1px) 100%);
	font: 700 1.2rem/1 var(--ui); color: var(--amber); transform-origin: 50% 50%;
}
.flap.is-flip { animation: v-flap 0.08s linear; }
@keyframes v-flap { 0% { transform: rotateX(0); } 50% { transform: rotateX(-80deg); } 100% { transform: rotateX(0); } }
.flap--gap { width: 0.4em; background: none; }
.v-board__you th { color: var(--navy); }
.v-board__you .v-board__by { color: var(--gold); }
.v-board__you .flap { background: linear-gradient(var(--amber) 0 calc(50% - 0.5px), rgba(13, 27, 56, 0.14) calc(50% - 0.5px) calc(50% + 0.5px), var(--amber) calc(50% + 0.5px) 100%); color: var(--navy); }
.v-board__you .flap--gap { background: none; }
.v-board__note { margin-top: 10px; font-size: 0.78rem; line-height: 1.45; color: var(--muted); }

@media (max-width: 960px) {
	.v-hero { min-height: 0; }
	.v-hero__in { grid-template-columns: minmax(0, 1fr); padding-top: 120px; padding-bottom: 32px; }
	.v-hero__scroll { display: none; }
	.v-hero__img { object-position: 30% 50%; }
}
@media (max-width: 960px) { .v-board { justify-self: start; } }
@media (max-width: 420px) { .v-board { padding: 18px 16px 14px; } .v-board__table th { font-size: 0.86rem; } .flap { font-size: 1.05rem; } }

/* ---------- formats: tall photo cards ---------- */

.v-formats { padding-block: var(--sec); }
.v-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr); gap: 32px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.v-head h2 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
.v-head p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .v-head { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
.v-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.v-card a { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 22px; color: var(--cream); text-decoration: none; background: var(--navy); }
.v-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.v-card a:hover img { transform: scale(1.04); }
.v-card a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 27, 56, 0) 35%, rgba(13, 27, 56, 0.92) 100%); }
.v-card__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: grid; gap: 6px; padding: 22px; }
.v-card__name { font: 500 1.65rem/1.08 var(--display); color: #fff; }
.v-card__desc { font-size: 0.92rem; line-height: 1.45; color: rgba(243, 239, 230, 0.82); }
@media (max-width: 1000px) {
	.v-cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78%, 340px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
	.v-card { scroll-snap-align: start; }
}

/* ---------- venue ---------- */

.v-venue { padding-block: var(--sec); background: var(--white); }
.v-stage { position: relative; overflow: hidden; border-radius: 28px; background: var(--navy); }
.v-stage__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.v-rooms { position: absolute; right: 24px; bottom: 24px; width: min(460px, calc(100% - 48px)); padding: 22px 24px; border-radius: 22px; }
.v-rooms h3 { font-size: 1.45rem; color: #fff; margin-bottom: 10px; }
.v-figures { margin-bottom: 18px; }
.v-figures li { padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); color: rgba(243, 239, 230, 0.92); font-size: 0.97rem; }
@media (max-width: 760px) {
	.v-stage__img { aspect-ratio: 3 / 4; object-position: 50% 30%; }
	.v-rooms { right: 12px; bottom: 12px; width: calc(100% - 24px); padding: 18px; }
}

.v-bento { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 14px; margin-top: 14px; }
.v-bento figure { position: relative; overflow: hidden; border-radius: 22px; }
.v-bento img { width: 100%; height: 100%; object-fit: cover; }
.v-bento figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: var(--navy); color: var(--cream); font-size: 0.82rem; font-weight: 700; }
.v-bento__a { grid-row: 1 / 3; }
.v-bento__b { grid-column: 2 / 4; }
@media (max-width: 760px) {
	.v-bento { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 170px 170px; }
	.v-bento__a { grid-row: auto; grid-column: 1 / 3; }
	.v-bento__b { grid-column: 1 / 3; }
}

/* ---------- destination ---------- */

.v-dest { position: relative; min-height: clamp(460px, 78vh, 760px); display: flex; align-items: flex-end; overflow: hidden; color: var(--cream); background: var(--navy); }
.v-dest__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.v-dest__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 27, 56, 0) 30%, rgba(13, 27, 56, 0.6) 70%, var(--navy) 100%); }
.v-dest__in { position: relative; z-index: 1; width: 100%; padding-bottom: 56px; }
.v-dest h2 { font-size: clamp(2.3rem, 5vw, 4.6rem); max-width: 13em; color: #fff; }
.v-dest p { margin: 16px 0 0; max-width: 36em; font-size: 1.1rem; color: #fff; }
.v-dest h2, .v-dest p { text-shadow: 0 2px 24px rgba(5, 12, 28, 0.6), 0 1px 3px rgba(5, 12, 28, 0.4); }
.v-dest h2 + p { margin-top: 24px; }
.v-dest .v-actions { margin-top: 30px; }

/* ---------- FAQ ---------- */

.v-faq { padding-block: var(--sec); background: var(--white); }
.v-faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); }
.v-faq h2 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
.v-faq details { border-bottom: 1px solid var(--line); }
.v-faq details:first-child { border-top: 1px solid var(--line); }
.v-faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 1.1rem; font-weight: 700; cursor: pointer; list-style: none; }
.v-faq summary::-webkit-details-marker { display: none; }
.v-faq summary::after { content: "+"; flex: none; font: 400 1.6rem/1 var(--display); color: var(--gold); }
.v-faq details[open] summary::after { content: "–"; }
.v-faq details p { max-width: 40em; padding-bottom: 8px; color: var(--muted); }
@media (max-width: 800px) { .v-faq__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- closing ---------- */

.v-close { position: relative; overflow: hidden; color: var(--cream); background: var(--navy); }
.v-close__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.v-close__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 27, 56, 0.94) 0%, rgba(13, 27, 56, 0.72) 55%, rgba(13, 27, 56, 0.35) 100%); }
.v-close__in { position: relative; z-index: 1; padding-block: clamp(96px, 12vw, 168px); }
.v-close h2 { font-size: clamp(2.3rem, 4.8vw, 4.2rem); max-width: 11em; color: #fff; }
.v-close p { margin: 16px 0 0; max-width: 32em; font-size: 1.15rem; color: rgba(243, 239, 230, 0.86); }
.v-close h2 + p { margin-top: 22px; }
.v-close .v-actions { margin-top: 32px; }
.v-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- the phone dock ---------- */

.v-dock { position: fixed; z-index: 50; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 20px; border-radius: 999px; font-size: 0.86rem; font-weight: 700; line-height: 1.25; }
.v-dock[hidden] { display: none; }
@media (min-width: 761px) { .v-dock { display: none !important; } }

/* ---------- footer ---------- */

.v-foot { background: var(--navy-3); color: rgba(243, 239, 230, 0.72); padding-block: 72px 32px; font-size: 0.95rem; }
.v-foot a { color: rgba(243, 239, 230, 0.72); text-decoration: none; }
.v-foot a:hover { color: var(--amber); }
.v-foot__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.v-brand--foot { margin-bottom: 14px; }
.v-foot__title { margin-bottom: 12px; color: var(--cream); font-weight: 700; }
.v-foot li { margin-bottom: 8px; }
.v-foot__bottom { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(243, 239, 230, 0.14); font-size: 0.85rem; }
.v-foot__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; flex-basis: 100%; }
.v-foot__bottom p { margin: 0; }
.v-foot__about p { max-width: 30em; margin-bottom: 0.5em; }
.v-foot__contact { margin: 18px 0 0; }
.v-foot__contact div { margin-bottom: 4px; }
.v-foot__contact dt { display: inline; color: var(--cream); font-weight: 700; }
.v-foot__contact dd { display: inline; margin: 0 0 0 4px; }
.v-foot__btn { padding: 0; border: 0; background: none; color: rgba(243, 239, 230, 0.72); font: inherit; cursor: pointer; }
.v-foot__btn:hover { color: var(--amber); }
@media (max-width: 900px) { .v-foot__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .v-foot__top > div { grid-column: 1 / -1; } }
@media (max-width: 520px) { .v-foot__top { grid-template-columns: minmax(0, 1fr); } .v-foot { padding-bottom: 100px; } }

/* ---------- inner pages: a navy title band under the capsule, then the content on grey ---------- */

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.page-head { background: var(--navy); color: var(--cream); padding-block: 152px clamp(56px, 7vw, 88px); margin-bottom: clamp(48px, 6vw, 80px); }
.page-head h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); line-height: 1.04; max-width: 14em; color: #fff; }
.page-head .lead { margin: 24px 0 0; max-width: 36em; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: rgba(243, 239, 230, 0.86); }
.page-head .v-actions, .page-head p:last-child { margin-top: 28px; }
.page-gap { height: clamp(24px, 4vw, 48px); }
.lead { color: var(--muted); }
.small { font-size: 0.9rem; color: var(--muted); }
.table-scroll { overflow-x: auto; }

/* ---------- home: the introduction on navy ---------- */

.v-intro { background: var(--navy); color: var(--cream); padding-block: clamp(72px, 9vw, 120px); }
.v-intro .v-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.v-intro__first { margin: 0; font: 400 clamp(1.55rem, 2.8vw, 2.4rem)/1.3 var(--display); color: #fff; }
.v-intro__more p { color: rgba(243, 239, 230, 0.8); }
.v-intro__more p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .v-intro .v-wrap { grid-template-columns: minmax(0, 1fr); } }
.v-more { margin: 32px 0 0; }
.v-head--stack { align-items: start; }
.v-head--stack p { margin: 0 0 0.9em; }
.v-head--stack p:last-child { margin-bottom: 0; }

/* ---------- pages: photo title band, text beside a navy panel ---------- */

.pg-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(440px, 64vh, 640px); overflow: hidden; background: var(--navy); color: var(--cream); }
.pg-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pg-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 27, 56, 0.62) 0%, rgba(13, 27, 56, 0.15) 30%, rgba(13, 27, 56, 0.45) 60%, rgba(13, 27, 56, 0.95) 100%); }
.pg-hero__in { position: relative; z-index: 1; width: 100%; padding-top: 140px; padding-bottom: clamp(40px, 5vw, 64px); }
.pg-hero h1 { font-size: clamp(2.3rem, 4.8vw, 4.2rem); line-height: 1.05; max-width: 17em; color: #fff; }
.pg-hero__sub { margin: 20px 0 0; max-width: 32em; font: 400 clamp(1.2rem, 1.9vw, 1.6rem)/1.35 var(--display); color: rgba(243, 239, 230, 0.9); }
.pg-hero .v-actions { margin-top: 30px; }
.pg-hero--plain { min-height: 0; }
.pg-hero--plain .pg-hero__in { padding-top: 152px; }
@media (max-width: 560px) { .pg-hero__in, .pg-hero--plain .pg-hero__in { padding-top: 116px; } .pg-hero { min-height: 400px; } .pg-hero--plain { min-height: 0; } }

.crumb { margin-bottom: 18px; font-size: 0.9rem; font-weight: 700; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumb li { color: rgba(243, 239, 230, 0.75); }
.crumb li + li::before { content: "/"; margin: 0 10px; color: rgba(243, 239, 230, 0.45); }
.crumb a { color: var(--amber); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

.pg-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(40px, 6vw, 96px); padding-block: clamp(56px, 7vw, 96px) var(--sec); }
.pg-grid--solo { grid-template-columns: minmax(0, 1fr); }
.pg-main { max-width: 720px; }
@media (max-width: 900px) { .pg-grid { grid-template-columns: minmax(0, 1fr); } }

.pg-intro p { font-size: 1.12rem; }
.pg-intro p:first-child { font: 400 clamp(1.4rem, 2.2vw, 1.75rem)/1.38 var(--display); }
.pg-intro + .pg-body > h2:first-child { margin-top: 48px; }

.pg-body > :first-child { margin-top: 0; }
.pg-body h2 { margin: 56px 0 16px; font-size: clamp(1.7rem, 2.8vw, 2.3rem); scroll-margin-top: 100px; }
.pg-body h3 { margin: 30px 0 8px; font-size: 1.32rem; }
.pg-body h2 + h3 { margin-top: 20px; }
.pg-body p, .pg-body li { color: #27324d; }
.pg-body a:not(.v-btn) { color: var(--gold); font-weight: 700; }
.pg-body .list { margin: 0 0 1em; }
.pg-body .list li { position: relative; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); }
.pg-body .list li:first-child { border-top: 1px solid var(--line); }
.pg-body .list li::before { content: ""; position: absolute; left: 4px; top: 1.05em; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.pg-body .note { font-size: 0.92rem; font-style: italic; color: var(--muted); }
.pg-body .cta-inline { margin: 28px 0 8px; }
.pg-body .download { padding: 14px 18px; border: 1px dashed var(--gold); border-radius: 14px; font-weight: 700; }

/* facts: label, value */
.facts { margin: 8px 0 1em; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 4px 24px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; color: var(--navy); }
.facts dd { margin: 0; color: #27324d; overflow-wrap: anywhere; }
@media (max-width: 560px) { .facts div { grid-template-columns: minmax(0, 1fr); } }

/* a day's programme */
.timeline { position: relative; margin: 8px 0 1em; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.timeline li { position: relative; padding-bottom: 22px; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--grey); border: 2px solid var(--gold); }
.timeline .tl-time { display: block; font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; }
.pg-body .timeline h3 { margin: 2px 0 4px; font-size: 1.22rem; }
.timeline p { margin: 0; }

/* the navy panel beside the text */
.pg-aside { position: sticky; top: 100px; align-self: start; padding: 26px; border-radius: 24px; }
.pg-aside h2 { margin-bottom: 6px; font-size: 1.55rem; color: #fff; }
.pg-aside > p a { color: var(--amber); font-weight: 700; text-decoration: none; }
.pg-aside > p a:hover { text-decoration: underline; }
.pg-aside ul { margin: 6px 0 22px; }
.pg-aside li { padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); color: rgba(243, 239, 230, 0.9); font-size: 0.95rem; }
@media (max-width: 900px) { .pg-aside { position: static; } }

/* guides: title and summary, the whole entry is the link */
.guide-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 12px 0 1em; }
.guide-list a { display: block; height: 100%; padding: 20px 0 22px; border-top: 1px solid var(--line); text-decoration: none; }
.pg-body .guide-list a { font-weight: inherit; }
.guide-list h3 { margin: 0 0 8px; font-size: 1.3rem; color: var(--navy); transition: color 0.15s; }
.guide-list p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.guide-list a:hover h3 { color: var(--gold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
@media (max-width: 700px) { .guide-list { grid-template-columns: minmax(0, 1fr); } }
.pg-guides { padding-block: var(--sec); background: var(--white); }
.pg-guides h2 { margin-bottom: 24px; font-size: clamp(2rem, 3.6vw, 3rem); }
.pg-guides .guide-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .pg-guides .guide-list { grid-template-columns: minmax(0, 1fr); } }

/* the quote request form */
.devis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(40px, 6vw, 96px); padding-block: clamp(56px, 7vw, 96px) var(--sec); }
.devis__form { max-width: 760px; }
.devis .pg-intro { margin-bottom: 40px; }
.devis fieldset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; min-width: 0; margin: 0 0 40px; padding: 0; border: 0; }
.devis legend { margin-bottom: 18px; padding: 0; font: 500 1.7rem/1.1 var(--display); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: 0.88rem; font-weight: 700; color: var(--navy); }
.field input, .field select, .field textarea {
	width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid #d3d8e3; border-radius: 14px; background: var(--white); color: var(--navy); font: 600 1rem var(--ui);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(160, 102, 26, 0.18); }
.field--wide { grid-column: 1 / -1; }
.devis__choice { display: flex; gap: 10px; }
.devis__choice label, .devis__checks label { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 16px; border: 1px solid #d3d8e3; border-radius: 14px; background: var(--white); font-weight: 600; cursor: pointer; }
.devis__choice label { min-width: 110px; }
.devis__checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.devis input[type="radio"], .devis input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--navy); flex: none; }
.devis__done { margin-top: 28px; padding: 24px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); }
.devis__done:focus { outline: none; }
.devis__demo { margin-bottom: 18px; padding: 12px 16px; border-radius: 12px; background: var(--amber-soft); font-size: 0.92rem; font-weight: 600; }
.devis__done-title { font: 500 1.6rem/1.15 var(--display); }
.devis__aside p { color: rgba(243, 239, 230, 0.9); }
.devis__aside dl { margin: 18px 0 0; }
.devis__aside dl div { padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.devis__aside dt { font-weight: 700; color: #fff; font-size: 0.92rem; }
.devis__aside dd { margin: 4px 0 0; }
@media (max-width: 900px) { .devis { grid-template-columns: minmax(0, 1fr); } .devis__aside { order: -1; } }
@media (max-width: 560px) { .devis fieldset, .devis__checks { grid-template-columns: minmax(0, 1fr); } }

/* the cookie banner on phones: the page can still scroll clear of it, and the dock waits until it is gone */
@media (max-width: 560px) { html.pck-has-banner body { padding-bottom: 300px; } }
html.pck-has-banner .v-dock { display: none !important; }

/* ---------- versions bar (review only, remove before launch) and hero version B ---------- */

.v-versions { position: relative; z-index: 61; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 8px var(--gutter); background: #050c1d; color: rgba(243, 239, 230, 0.7); font: 700 0.78rem/1.2 var(--ui); }
.v-versions__label { margin-right: 4px; letter-spacing: 0.04em; }
.v-versions__pill { min-height: 30px; padding: 0 14px; border: 1px solid rgba(243, 239, 230, 0.28); border-radius: 999px; background: none; color: var(--cream); font: inherit; cursor: pointer; }
.v-versions__pill:hover { background: rgba(255, 255, 255, 0.08); }
.v-versions__pill[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--navy); }
.v-versions__pill:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

/* B: the photo dissolves into white instead of navy; the text keeps a navy veil above the fade */
html.pe-hero-b .v-hero { background: #fff; }
html.pe-hero-b .v-hero__in { padding-bottom: clamp(150px, 20vh, 230px); }
html.pe-hero-b .v-hero__img {
	-webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 320px), rgba(0, 0, 0, 0.82) calc(100% - 230px), rgba(0, 0, 0, 0.45) calc(100% - 140px), rgba(0, 0, 0, 0.12) calc(100% - 60px), transparent 100%);
	mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 320px), rgba(0, 0, 0, 0.82) calc(100% - 230px), rgba(0, 0, 0, 0.45) calc(100% - 140px), rgba(0, 0, 0, 0.12) calc(100% - 60px), transparent 100%);
}
html.pe-hero-b .v-hero__shade { background: linear-gradient(180deg, rgba(13, 27, 56, 0.6) 0%, rgba(13, 27, 56, 0.08) 28%, rgba(13, 27, 56, 0.3) 46%, rgba(13, 27, 56, 0.55) 62%, rgba(13, 27, 56, 0.6) calc(100% - 300px), rgba(13, 27, 56, 0.35) calc(100% - 190px), rgba(13, 27, 56, 0.1) calc(100% - 90px), rgba(13, 27, 56, 0) 100%); }
html.pe-hero-b .v-intro { background: #fff; color: var(--navy); }
html.pe-hero-b .v-intro__first { color: var(--navy); }
html.pe-hero-b .v-intro__more p { color: var(--muted); }
/* B: a black station board, white letters on charcoal tiles */
html.pe-hero-b .v-board { background: #111; border: 1px solid rgba(255, 255, 255, 0.06); color: #f3efe6; box-shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.75); }
html.pe-hero-b .v-board__head { color: var(--amber); border-bottom-color: rgba(255, 255, 255, 0.12); }
html.pe-hero-b .v-board__head span:last-child { color: rgba(255, 255, 255, 0.5); }
html.pe-hero-b .v-board__table th, html.pe-hero-b .v-board__table td { border-bottom-color: rgba(255, 255, 255, 0.07); }
html.pe-hero-b .v-board__table th { color: #f3efe6; }
html.pe-hero-b .v-board__by { color: rgba(255, 255, 255, 0.45); }
html.pe-hero-b .v-board__time .flap { background: linear-gradient(#262626 0 calc(50% - 0.5px), #000 calc(50% - 0.5px) calc(50% + 0.5px), #262626 calc(50% + 0.5px) 100%); color: #f3efe6; }
html.pe-hero-b .v-board__you th, html.pe-hero-b .v-board__you .v-board__by { color: var(--amber); }
html.pe-hero-b .v-board__you .flap { color: var(--amber); }
html.pe-hero-b .v-board__time .flap--gap { background: none; }
html.pe-hero-b .v-board__note { color: rgba(255, 255, 255, 0.5); }
@media (max-width: 960px) { html.pe-hero-b .v-hero__in { padding-bottom: 150px; } }


/* ======================================================================
   1.3 (2026-11-14): 0.5's sections with 0.6's text
   ====================================================================== */



/* the board's times stay out of sight until the script has built the tiles (with JavaScript only) */
.js .v-board__time > .flaps:not(.flaps--live) { visibility: hidden; }

/* from 0.5: outings and access times, then the three steps */
.v-acts { background: var(--navy); color: var(--cream); padding-bottom: var(--sec); }
.v-acts__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-top: 24px; }
.v-acts__list img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; margin-bottom: 16px; }
.v-acts__list h3 { font-size: 1.5rem; color: #fff; margin-bottom: 6px; }
.v-acts__list p { margin: 0 0 6px; color: rgba(243, 239, 230, 0.78); font-size: 0.98rem; }
.v-acts__list .v-acts__time { color: var(--amber); font-weight: 700; font-size: 0.88rem; }
.v-access { display: grid; grid-template-columns: minmax(0, 0.6fr) minmax(0, 2fr); gap: 16px 40px; align-items: start; margin-top: clamp(56px, 7vw, 96px); padding-top: 32px; border-top: 1px solid rgba(243, 239, 230, 0.18); }
.v-access h3 { font-size: 1.6rem; color: #fff; }
.v-access dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 32px; margin: 0; }
.v-access dt { font-weight: 700; color: #fff; }
.v-access dd { margin: 4px 0 0; color: rgba(243, 239, 230, 0.75); font-size: 0.95rem; }
.v-access .v-link { grid-column: 2; }
@media (max-width: 900px) {
	.v-acts__list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78%, 320px); overflow-x: auto; scroll-snap-type: x mandatory; }
	.v-acts__list li { scroll-snap-align: start; }
	.v-access { grid-template-columns: minmax(0, 1fr); }
	.v-access dl { grid-template-columns: minmax(0, 1fr); }
	.v-access .v-link { grid-column: 1; }
}
.v-link--light { color: var(--amber); }

.v-steps { padding-block: var(--sec); }
.v-steps h2 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); margin-bottom: clamp(32px, 4vw, 56px); }
.v-steps ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); counter-reset: step; }
.v-steps li { counter-increment: step; padding-top: 20px; border-top: 1px solid var(--line); }
.v-steps li::before { content: counter(step) "."; display: block; margin-bottom: 14px; font: italic 500 3.2rem/1 var(--display); color: var(--gold); }
.v-steps h3 { font-size: 1.45rem; margin-bottom: 10px; }
.v-steps p { margin: 0; color: var(--muted); }
@media (max-width: 800px) { .v-steps ol { grid-template-columns: minmax(0, 1fr); } }

/* later fixes kept: the logo on one line; the board's last row on small phones */
.v-brand { flex: none; white-space: nowrap; }
@media (max-width: 480px) {
	.v-board__table th { font-size: 0.84rem; }
	.v-board__by { padding-right: 6px; font-size: 0.66rem; letter-spacing: 0.02em; }
	.v-board .flaps { gap: 2px; }
	.v-board .flap { width: 1.05em; font-size: 1rem; }
}

/* pages on ice: a holding page */
.pg-ice { padding-block: clamp(48px, 6vw, 80px) var(--sec); }
.pg-ice > p { max-width: 36em; font-size: 1.12rem; color: #27324d; }
.pg-ice .v-actions { margin-top: 22px; }
.pg-ice .v-btn--line { border: 1px solid var(--navy); color: var(--navy); background: none; }
.pg-ice .v-btn--line:hover { background: var(--navy); color: var(--cream); }

/* 1.3.3: the board's rows keep one height whatever happens inside them (blank tiles, flips, the web font arriving) */
.v-board__table th, .v-board__table td { line-height: 1.35; }
.v-board__time { height: calc(1.8rem + 22px); } /* the tile (1.5em of 1.2rem) plus the cell's padding: same before and after the tiles exist */
@media (max-width: 480px) { .v-board__time { height: calc(1.5rem + 22px); } }
.v-board__time > .flaps { display: flex; justify-content: flex-end; }

/* ---------- theme 1.4 (2026-11-14): the hero redesigned, "Le quai" ----------
   Same station photo and navy fade at the bottom. No floating card: the title grows, and the arrivals board is laid
   flat along the bottom of the photo like a platform sign: "Arrivées / Saint-Brieuc" at the left, then one column per
   train, then your seminar, two minutes on foot, in amber. On phones the columns become rows. */
.v-hero__in { grid-template-columns: minmax(0, 1fr); align-content: end; gap: clamp(28px, 4.5vh, 56px); padding-bottom: 0; }
.v-hero h1 { font-size: clamp(3rem, 6.8vw, 6.2rem); line-height: 0.98; max-width: 8.5em; letter-spacing: -0.01em; }
.v-hero__lead { max-width: 30em; }
.v-hero .v-board {
	justify-self: stretch; width: auto; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px clamp(24px, 4vw, 56px);
	padding: 22px 0 26px; border: 0; border-top: 1px solid rgba(242, 184, 102, 0.55); border-radius: 0; background: none; box-shadow: none; color: var(--cream);
}
.v-hero .v-board__head { flex-direction: column; align-items: flex-start; gap: 6px; padding: 0; margin: 0; border: 0; color: var(--amber); }
.v-hero .v-board__head span:last-child { color: rgba(243, 239, 230, 0.6); }
.v-hero .v-board__table tbody { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); }
.v-hero .v-board__table tr { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "from by" "time time"; align-items: baseline; gap: 8px 10px; padding: 0 clamp(14px, 2vw, 26px); border-left: 1px solid rgba(243, 239, 230, 0.16); }
.v-hero .v-board__table th, .v-hero .v-board__table td { padding: 0; border: 0; color: var(--cream); }
.v-hero .v-board__table th { grid-area: from; font-size: 0.86rem; white-space: nowrap; }
.v-hero .v-board__by { grid-area: by; padding: 0; font-size: 0.7rem; color: rgba(243, 239, 230, 0.55); }
.v-hero .v-board__time { grid-area: time; text-align: left !important; }
.v-hero .v-board__time { height: auto; }
.v-hero .v-board__time > .flaps { justify-content: flex-start; }
/* the strip sits on its own navy band, full width, so it reads over any part of the photo */
.v-hero .v-board { position: relative; }
.v-hero .v-board::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: linear-gradient(180deg, rgba(13, 27, 56, 0.62), rgba(13, 27, 56, 0.94)); }
.v-hero .v-board .flap { background: linear-gradient(#1c2c52 0 calc(50% - 1px), #050c1d calc(50% - 1px) calc(50% + 1px), #1c2c52 calc(50% + 1px) 100%); color: var(--cream); font-size: 1.45rem; }
.v-hero .v-board__you th, .v-hero .v-board__you .v-board__by { color: var(--amber); }
.v-hero .v-board__you .flap { background: linear-gradient(var(--amber) 0 calc(50% - 0.5px), rgba(13, 27, 56, 0.2) calc(50% - 0.5px) calc(50% + 0.5px), var(--amber) calc(50% + 0.5px) 100%); color: var(--navy); }
.v-hero .v-board .flap--gap { background: none; }
.v-hero .v-board__note { grid-column: 1 / -1; margin: 6px 0 0; color: rgba(243, 239, 230, 0.55); }
@media (max-width: 1100px) {
	.v-hero .v-board { grid-template-columns: minmax(0, 1fr); }
	.v-hero .v-board__head { flex-direction: row; gap: 12px; }
	.v-hero .v-board__table tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
	.v-hero .v-board__table tr:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 960px) { .v-hero__in { padding-bottom: 0; } .v-hero .v-board { justify-self: stretch; } }
@media (max-width: 600px) {
	.v-hero .v-board__head { justify-content: space-between; }
	.v-hero .v-board__table tbody { display: block; }
	.v-hero .v-board__table tr, .v-hero .v-board__table tr:nth-child(odd) { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "from by time"; align-items: center; padding: 10px 0; border-left: 0; border-bottom: 1px solid rgba(243, 239, 230, 0.12); }
	.v-hero .v-board__table tr:last-child { border-bottom: 0; }
	.v-hero .v-board__table th { font-size: 0.8rem; white-space: normal; }
	.v-hero .v-board__time { text-align: right !important; }
	.v-hero .v-board__time > .flaps { justify-content: flex-end; }
	.v-hero .v-board .flap { font-size: 1.1rem; }
	.v-hero__in { padding-bottom: 8px; }
}

/* 1.4.1: a soft pool of shade behind the title and the line under it (concentric, not darker overall): the linear fade
   to navy stays as it was, this sits on top of it, centred on the text */
.v-hero__shade::after {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(ellipse 46% 34% at 26% 63%, rgba(13, 27, 56, 0.66) 0%, rgba(13, 27, 56, 0.5) 30%, rgba(13, 27, 56, 0.22) 62%, rgba(13, 27, 56, 0) 100%);
}
@media (max-width: 1100px) { .v-hero__shade::after { background: radial-gradient(ellipse 70% 34% at 32% 40%, rgba(13, 27, 56, 0.62) 0%, rgba(13, 27, 56, 0.44) 40%, rgba(13, 27, 56, 0.14) 70%, rgba(13, 27, 56, 0) 100%); } }
@media (max-width: 600px) { .v-hero__shade::after { background: radial-gradient(ellipse 95% 36% at 35% 34%, rgba(13, 27, 56, 0.6) 0%, rgba(13, 27, 56, 0.42) 45%, rgba(13, 27, 56, 0.12) 75%, rgba(13, 27, 56, 0) 100%); } }

/* 1.4.2: "Votre séminaire" ends on a request button instead of a time; tighter spacing between the first three sections */
.v-board__cta {
	display: inline-flex; align-items: center; min-height: 2.2rem; padding: 0 16px; border: 1px solid var(--amber); border-radius: 999px;
	color: var(--amber); font: 700 0.86rem/1 var(--ui); letter-spacing: 0; text-transform: none; text-decoration: none; white-space: nowrap;
	transition: background 0.15s, color 0.15s;
}
.v-board__cta:hover { background: var(--amber); color: var(--navy); }
.v-board__cta:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
/* 1.4.3: the seminar keeps its "2 MIN" on foot, and the request button sits beside it */
.v-hero .v-board__table tbody { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.95fr) minmax(0, 0.95fr) minmax(0, 1.9fr); }
.v-hero .v-board__table tr.v-board__you { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "from by go" "time time go"; column-gap: 14px; }
.v-hero .v-board__go { grid-area: go; align-self: end; padding: 0; border: 0; }
@media (max-width: 1100px) { .v-hero .v-board__table tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
	.v-hero .v-board__table tr.v-board__you, .v-hero .v-board__table tr.v-board__you:nth-child(odd) { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "from by time" "go go go"; row-gap: 12px; }
	.v-hero .v-board__go { justify-self: start; }
}
.v-intro { padding-block: clamp(36px, 4.5vw, 64px) clamp(36px, 4.5vw, 60px); }
.v-formats { padding-top: calc(var(--sec) / 2); }

/* 1.4.5: S1, the seminar's column: "À pied" at the top, "de la gare de Saint-Brieuc" beside the 2 MIN, both lined up
   on the left; the request button keeps its own column */
/* three lines, all on the left: the seminar and "À pied" / the 2 MIN and where from / the request button */
.v-hero .v-board__table tr.v-board__you { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "from by" "time note"; }
.v-hero .v-board__by, .v-hero .v-board__from { justify-self: start; text-align: left; }
.v-hero .v-board__from { grid-area: note; align-self: center; padding: 0; border: 0; font-size: 0.78rem; line-height: 1.3; color: rgba(243, 239, 230, 0.72) !important; }
.v-board__from { font-size: 0.78rem; }
@media (max-width: 600px) {
	.v-hero .v-board__table tr.v-board__you, .v-hero .v-board__table tr.v-board__you:nth-child(odd) { grid-template-areas: "from by time" "note note note"; row-gap: 8px; }
}

/* 1.4.5: S7, the bay at high and low tide (templates/maree.php, assets/js/tide.js) */
.v-tide { padding-block: var(--sec); background: var(--grey); }
.v-tide__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(28px, 3.5vw, 48px); }
.v-tide__head h2 { margin: 0; font-size: clamp(2.2rem, 4.2vw, 3.6rem); max-width: 12em; }
.v-tide__head p { margin: 0; max-width: 34em; color: var(--muted); font-size: 1.08rem; }
.v-tide__grid { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 18px; align-items: stretch; }
.v-tide__map { margin: 0; min-width: 0; }
.v-tide__stage { position: relative; aspect-ratio: 1000 / 649; overflow: hidden; border-radius: 24px; background: #2c5460; }
.v-tide__layer { position: absolute; inset: 0; }
.v-tide__layer > img, .v-tide__sea { position: absolute; inset: 0; width: 100%; height: 100%; display: block; max-width: none; }
.v-tide__layer > img { object-fit: cover; }
.v-tide__place { position: absolute; transform: translate(-50%, -50%); color: #fff; font: 700 0.78rem/1.2 var(--ui); letter-spacing: 0.04em; text-transform: uppercase; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85), 0 0 12px rgba(0, 0, 0, 0.6); white-space: nowrap; pointer-events: none; }
.v-tide__pin { position: absolute; display: flex; align-items: flex-start; gap: 7px; transform: translate(-7px, -7px); color: #fff; font: 700 0.8rem/1.2 var(--ui); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 12px rgba(0, 0, 0, 0.6); white-space: nowrap; pointer-events: none; }
.v-tide__pin i { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px rgba(13, 27, 56, 0.85), 0 0 0 7px rgba(242, 184, 102, 0.35); }

.v-tide__card { display: flex; flex-direction: column; gap: 14px; padding: 20px 18px; border-radius: 24px; background: var(--navy); color: var(--cream); }
.v-tide__label { margin: 0; color: var(--amber); font: 700 0.74rem/1.2 var(--ui); letter-spacing: 0.08em; text-transform: uppercase; }
.v-tide__gauge { position: relative; flex: 1; display: flex; flex-direction: column; min-height: 230px; margin-left: 6px; border-left: 2px solid rgba(243, 239, 230, 0.85); cursor: ns-resize; touch-action: none; user-select: none; border-radius: 0 6px 6px 0; }
.v-tide__gauge:focus-visible { outline: 2px solid var(--amber); outline-offset: 6px; }
.v-tide__tick { position: relative; z-index: 1; flex: 1; padding-left: 20px; font-size: 0.78rem; font-weight: 600; line-height: 1; transform: translateY(-0.45em); }
.v-tide__tick::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 8px; border-top: 1.5px solid rgba(243, 239, 230, 0.85); }
.v-tide__tick.is-major::before { width: 14px; }
.v-tide__tick.is-zero { flex: 0 0 0; height: 0; }
.v-tide__water { position: absolute; left: 0; bottom: 0; width: 12px; height: 15%; background: linear-gradient(180deg, #8fd0d2, #3f8f99); border-radius: 0 3px 0 0; }
.v-tide__water i { position: absolute; left: -1px; top: -7px; width: 30px; height: 14px; border-radius: 999px; background: var(--amber); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45); }
.v-tide__value { margin: 4px 0 0; font: 400 2.6rem/1 var(--display); color: #fff; }
.v-tide__read { margin: 0; min-height: 4.2em; font-size: 0.92rem; line-height: 1.4; color: rgba(243, 239, 230, 0.86); }
.v-tide__play { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid rgba(243, 239, 230, 0.35); border-radius: 999px; background: none; color: var(--cream); font: 600 0.8rem/1 var(--ui); cursor: pointer; }
.v-tide__play::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(243, 239, 230, 0.4); }
.v-tide__play[aria-pressed="true"]::before { background: #6fd3a0; box-shadow: 0 0 0 3px rgba(111, 211, 160, 0.25); }
.v-tide__play:hover { border-color: var(--amber); }
.v-tide__play:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

@media (max-width: 900px) {
	.v-tide__head { grid-template-columns: minmax(0, 1fr); }
	.v-tide__grid { grid-template-columns: minmax(0, 1fr); }
	/* the bay fills a taller frame, cropped at the sides around Saint-Brieuc and the head of the bay */
	.v-tide__stage { aspect-ratio: auto; height: min(115vw, 560px); border-radius: 20px; }
	.v-tide__layer { left: 50%; right: auto; width: auto; height: 100%; aspect-ratio: 1000 / 649; transform: translateX(-46%); }
	.v-tide__place--val, .v-tide__place--erquy, .v-tide__place--binic { display: none; }
	.v-tide__card { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "gauge label" "gauge value" "gauge read" "gauge play"; align-items: start; column-gap: 22px; row-gap: 8px; }
	.v-tide__gauge { grid-area: gauge; min-height: 210px; }
	.v-tide__label { grid-area: label; } .v-tide__value { grid-area: value; } .v-tide__read { grid-area: read; min-height: 0; } .v-tide__play { grid-area: play; }
}

/* 1.4.6: no request button on the board any more; the seminar's column is as wide as the others' */
.v-hero .v-board__table tbody { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.95fr) minmax(0, 0.95fr) minmax(0, 1.6fr); }
@media (max-width: 1100px) { .v-hero .v-board__table tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.v-access dt { font-size: 1.05rem; }
.v-access dd { line-height: 1.5; }

/* 1.4.6: S7 by night, the credit in a corner, the day / night label */
.v-tide__night { opacity: 0; will-change: opacity; }
.v-tide__sea { will-change: filter; }
.v-tide__stage { isolation: isolate; }
.v-tide__credit { position: absolute; right: 10px; bottom: 8px; z-index: 2; padding: 2px 7px; border-radius: 6px; background: rgba(13, 27, 56, 0.55); color: rgba(255, 255, 255, 0.8); font: 600 0.68rem/1.3 var(--ui); cursor: help; }
.v-tide__dn { display: inline-flex; align-items: center; gap: 8px; margin: -4px 0 0; color: rgba(243, 239, 230, 0.8); font: 600 0.82rem/1 var(--ui); }
.v-tide__dn::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #f5c35a; box-shadow: 0 0 0 3px rgba(245, 195, 90, 0.25); transition: background 0.4s, box-shadow 0.4s; }
.v-tide__dn[data-night="true"]::before { background: transparent; box-shadow: inset -4px -2px 0 0 #dfe6f2; }
@media (max-width: 900px) {
	.v-tide__card { grid-template-areas: "gauge label" "gauge value" "gauge dn" "gauge read" "gauge play"; }
	.v-tide__dn { grid-area: dn; margin: 0; }
}
