/* Pompidou Events — base layout and the default style, "Quai".
 *
 * Every colour, typeface and shape comes from the tokens below. The other styles (styles.css) only redefine tokens
 * and add their one signature element, so the pages, content and structure stay identical whichever style is on.
 *
 * Quai: Saint-Brieuc in four materials — slate roofs, granite, the pink granite coast, the sea — and one loud element,
 * the station arrivals board in platform amber, because the venue sits next to the station.
 */

@font-face {
	font-family: "Bricolage Grotesque";
	font-style: normal; font-display: swap; font-weight: 200 800; font-stretch: 75% 100%;
	src: url(../fonts/bricolage-grotesque-latin-standard-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Bricolage Grotesque";
	font-style: normal; font-display: swap; font-weight: 200 800; font-stretch: 75% 100%;
	src: url(../fonts/bricolage-grotesque-latin-ext-standard-normal.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	/* Quai's materials (also read by the cookie banner) */
	--ardoise: #1f2b36;
	--granit: #eceeeb;
	--rose: #e8a598;
	--ecume: #2b6a6e;
	--ambre: #f2bf4a;

	/* page */
	--bg: #eceeeb;
	--bg-2: #dfe2de;            /* deeper band (venue) */
	--surface: #ffffff;         /* fields, menus */
	--text: #1f2b36;
	--text-2: #4a5661;
	--line: rgba(31, 43, 54, 0.18);
	--rule: #1f2b36;            /* the strong 1.5px rules over lists */
	--link: #2b6a6e;
	--focus: #2b6a6e;
	--accent: #e8a598;          /* closing band, secondary buttons */
	--accent-text: #1f2b36;
	--accent-soft: #f3d3cb;     /* quick-quote panel, notices */
	--num: #2b6a6e;             /* step numbers */
	--chip: #dfe2de;            /* small facts on the formats */

	/* buttons */
	--btn: #1f2b36;
	--btn-text: #eceeeb;
	--btn-hover: #2b6a6e;

	/* dark band (destination, footer) */
	--dark: #1f2b36;
	--dark-text: #eceeeb;
	--dark-text-2: rgba(236, 238, 235, 0.78);
	--dark-line: rgba(236, 238, 235, 0.14);
	--dark-link: #e8a598;

	/* the arrivals board */
	--board-bg: #1f2b36;
	--board-text: #f2bf4a;
	--board-text-2: rgba(236, 238, 235, 0.65);
	--board-head-2: #eceeeb;
	--board-you: #e8a598;
	--board-line: rgba(236, 238, 235, 0.08);

	/* type */
	--font-body: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
	--font-display: var(--font-body);
	--display-weight: 720;
	--display-stretch: 82%;
	--display-track: -0.015em;
	--display-lh: 1.04;
	--display-case: none;
	--body-weight: 400;

	/* shape */
	--r: 6px;                   /* buttons, fields, images */
	--r-lg: 12px;               /* panels */
	--r-pill: 99px;
	--shadow: 0 30px 60px -24px rgba(31, 43, 54, 0.55);

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--sec: clamp(72px, 9vw, 128px);
	--font: var(--font-body);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-weight: var(--body-weight);
	font-size: 1.125rem;
	line-height: 1.6;
	font-optical-sizing: auto;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--btn); color: var(--btn-text); padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.nowrap { white-space: nowrap; }

/* the extra elements each style brings; hidden unless their style turns them on */
.only-pompidou, .only-maree, .only-dossier, .only-gwenn { display: none; }

/* ---------- type ---------- */

h1, h2, h3, .display {
	margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch);
	line-height: var(--display-lh); letter-spacing: var(--display-track); text-transform: var(--display-case); text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5.6vw, 4.9rem); letter-spacing: calc(var(--display-track) - 0.01em); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.15; }
.lead { font-size: clamp(1.15rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--text-2); max-width: 36em; }
.small { font-size: 0.9rem; color: var(--text-2); }

.link { font-weight: 600; }
.link--light { color: var(--dark-link); }

/* ---------- buttons and fields ---------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
	min-height: 48px; padding: 0.7em 1.35em;
	border: 1.5px solid transparent; border-radius: var(--r);
	font: inherit; font-size: 1rem; font-weight: 640; line-height: 1.1; text-decoration: none; cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--dark { background: var(--btn); color: var(--btn-text); }
.btn--dark:hover { background: var(--btn-hover); }
.btn--rose { background: var(--accent); color: var(--accent-text); }
.btn--rose:hover { background: var(--accent-soft); }
.btn--line { border-color: var(--text); color: var(--text); background: transparent; }
.btn--line:hover { background: var(--text); color: var(--bg); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: 0.9rem; font-weight: 600; }
.field input, .field select, .field textarea {
	width: 100%; min-height: 48px; padding: 10px 12px;
	border: 1.5px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--text);
	font: inherit; font-size: 1rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--focus); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent); }

/* ---------- header ---------- */

.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head__in { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand, .nav__cta { flex: none; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--text); line-height: 1; margin-right: auto; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-stretch: calc(var(--display-stretch) - 4%); font-size: 1.55rem; letter-spacing: -0.02em; text-transform: var(--display-case); margin: 0; white-space: nowrap; }
.brand__place { font-size: 0.85rem; font-weight: 500; color: var(--text-2); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__top {
	display: inline-flex; align-items: center; gap: 6px; padding: 10px 10px; border: 0; border-radius: var(--r);
	background: none; color: var(--text); font: inherit; font-size: 0.95rem; font-weight: 560; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.nav__top:hover, .nav__top[aria-expanded="true"] { background: var(--bg-2); }
.nav__chev { width: 11px; height: 8px; transition: transform 0.15s; }
.nav__top[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.nav__sub {
	display: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px; padding: 10px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 18px 40px -18px rgba(31, 43, 54, 0.35);
}
.nav__top[aria-expanded="true"] + .nav__sub { display: block; }
.nav__sub a { display: block; padding: 9px 12px; border-radius: var(--r); color: var(--text); text-decoration: none; font-size: 0.98rem; }
.nav__sub a:hover { background: var(--bg); }
.nav__overview { font-weight: 650; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.nav__cta { margin-left: 6px; min-height: 44px; white-space: nowrap; }

.menu-btn { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--text); border-radius: var(--r); background: none; color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform 0.15s; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -6px; }
.menu-btn__bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
	.menu-btn { display: inline-flex; }
	.nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 72px); overflow-y: auto;
		flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 24px;
		background: var(--bg); border-bottom: 1px solid var(--line);
	}
	.nav.is-open { display: flex; }
	.nav__list { flex-direction: column; align-items: stretch; }
	.nav__top { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav__top:hover, .nav__top[aria-expanded="true"] { background: none; }
	.nav__sub { position: static; min-width: 0; padding: 4px 0 12px 12px; border: 0; border-radius: 0; box-shadow: none; background: none; }
	.nav__sub a { padding: 10px 4px; }
	.nav__overview { border-bottom: 0; margin: 0; }
	.nav__cta { margin: 20px 0 0; }
}

/* ---------- hero ---------- */

.hero { position: relative; padding-block: clamp(40px, 6vw, 88px) var(--sec); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__text h1 { max-width: 11em; }
.hero__text .lead { margin: 28px 0 32px; }
.hero__visual { position: relative; padding-bottom: 72px; }
.hero__photo { width: 82%; margin-left: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--r); }

/* the arrivals board */
.board {
	position: absolute; left: 0; bottom: 0; width: min(440px, 92%);
	background: var(--board-bg); color: var(--board-text); border-radius: 10px; padding: 16px 18px 14px;
	box-shadow: var(--shadow);
}
.board__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid color-mix(in srgb, var(--board-text) 25%, transparent); font-weight: 700; font-stretch: 75%; font-size: 1.05rem; letter-spacing: 0.06em; text-transform: uppercase; }
.board__head span:last-child { color: var(--board-head-2); }
.board__table { width: 100%; border-collapse: collapse; font-stretch: 75%; text-transform: uppercase; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.board__table th, .board__table td { padding: 9px 0; text-align: left; font-weight: 600; border-bottom: 1px solid var(--board-line); }
.board__table tr:last-child th, .board__table tr:last-child td { border-bottom: 0; }
.board__table th { font-size: 1.05rem; padding-right: 10px; }
.board__by { font-size: 0.82rem; color: var(--board-text-2); padding-right: 10px !important; white-space: nowrap; }
.board__time { text-align: right !important; white-space: nowrap; }
.board__br { display: none; }
.flaps { display: inline-flex; gap: 2px; }
.flap {
	display: inline-grid; place-items: center; width: 1.1em; height: 1.55em;
	background: linear-gradient(#25333f 0 49%, #10181f 49% 51%, #2b3a47 51% 100%);
	border-radius: 3px; font-size: 1.05rem; font-weight: 700; color: var(--board-text);
}
.flap--gap { width: 0.45em; background: none; }
.board__you th, .board__you .board__by { color: var(--board-you); }
.board__you .flap { color: var(--board-you); }
.board__note { margin-top: 8px; font-size: 0.78rem; line-height: 1.4; color: var(--board-text-2); }

@media (max-width: 900px) {
	.hero__grid { grid-template-columns: minmax(0, 1fr); }
	.hero__photo { width: 100%; aspect-ratio: 4 / 3; }
	.hero__visual { padding-bottom: 0; }
	.board { position: relative; width: auto; margin: -64px 12px 0; }
}

/* ---------- quick quote ---------- */

.quick { padding-bottom: var(--sec); }
.quick__form {
	display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.1fr) auto; gap: 16px; align-items: end;
	padding: clamp(20px, 3vw, 32px); background: var(--accent-soft); border-radius: var(--r-lg);
}
.quick__intro { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 8px 24px; flex-wrap: wrap; }
.quick__intro h2 { font-size: 1.6rem; }
.quick__intro p { margin: 0; font-size: 0.98rem; color: var(--text-2); }
.quick__go { min-height: 48px; }
@media (max-width: 1080px) {
	.quick__form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.quick__go { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .quick__form { grid-template-columns: minmax(0, 1fr); } }

/* ---------- section heads ---------- */

.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 32px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head p { margin: 0; color: var(--text-2); }
.sec-head--row { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; }
@media (max-width: 800px) { .sec-head { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

/* ---------- formats: an index, not a card grid ---------- */

.formats { padding-bottom: var(--sec); }
.formats__list { border-top: 1.5px solid var(--rule); }
.format { border-bottom: 1px solid var(--line); }
.format__link { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; padding: 22px 0; color: inherit; text-decoration: none; }
.format__img { width: 220px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.format__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto; gap: 8px 32px; align-items: baseline; }
.format__name { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.15rem); font-weight: var(--display-weight); font-stretch: calc(var(--display-stretch) - 2%); line-height: 1.05; letter-spacing: var(--display-track); text-transform: var(--display-case); }
.format__desc { color: var(--text-2); }
.format__fact { font-weight: 640; white-space: nowrap; padding: 4px 10px; border-radius: var(--r-pill); background: var(--chip); font-size: 0.92rem; }
.format__link:hover .format__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
@media (max-width: 900px) {
	.format__body { grid-template-columns: minmax(0, 1fr); }
	.format__fact { justify-self: start; }
}
@media (max-width: 600px) {
	.format__link { grid-template-columns: 96px minmax(0, 1fr); align-items: start; }
	.format__img { width: 96px; }
	.format__desc { font-size: 1rem; }
}

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

.venue { padding-block: var(--sec); background: var(--bg-2); }
.venue__intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.venue__intro .lead { margin: 24px 0 0; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1.5px solid var(--rule); }
.facts > div { padding: 16px 0 14px; border-bottom: 1px solid var(--line); }
.facts > div:nth-child(odd) { padding-right: 16px; }
.facts dt { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: var(--display-weight); font-stretch: calc(var(--display-stretch) - 2%); line-height: 1.05; text-transform: var(--display-case); }
.facts dd { margin: 4px 0 0; color: var(--text-2); font-size: 1rem; }
@media (max-width: 900px) { .venue__intro { grid-template-columns: minmax(0, 1fr); } }

.mosaic { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 12px; }
.mosaic figure { position: relative; overflow: hidden; border-radius: var(--r); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--dark) 85%, transparent); color: var(--dark-text); font-size: 0.85rem; font-weight: 560; }
.mosaic__a { grid-row: 1 / 3; }
.mosaic__b { grid-column: 2 / 4; }
@media (max-width: 800px) {
	.mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; }
	.mosaic__a { grid-row: auto; grid-column: 1 / 3; }
	.mosaic__b { grid-column: auto; }
	.mosaic__d { grid-column: 1 / 3; }
}

.rooms { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(48px, 6vw, 88px); }
.rooms__text h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 12px; }
.rooms__text > p { color: var(--text-2); max-width: 34em; }
.table-scroll { overflow-x: auto; margin: 20px 0 8px; }
.rooms__table { width: 100%; min-width: 420px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rooms__table th, .rooms__table td { padding: 12px 12px 12px 0; text-align: left; border-bottom: 1px solid var(--line); }
.rooms__table thead th { font-size: 0.9rem; font-weight: 600; color: var(--text-2); border-bottom: 1.5px solid var(--rule); }
.rooms__table tbody th { font-weight: 680; font-size: 1.1rem; }
.rooms__photo img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 900px) { .rooms { grid-template-columns: minmax(0, 1fr); } }

/* ---------- destination (dark) ---------- */

.dest { position: relative; background: var(--dark); color: var(--dark-text); padding-bottom: var(--sec); }
.dest__photo img { width: 100%; height: clamp(260px, 42vw, 560px); object-fit: cover; object-position: 50% 62%; }
.dest__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding-top: clamp(48px, 6vw, 80px); }
.dest .lead { color: var(--dark-text-2); margin: 24px 0; }
.dest__access h3 { margin-bottom: 12px; }
.dest__access ul { border-top: 1.5px solid var(--dark-link); margin-bottom: 16px; }
.dest__access li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--dark-line); color: var(--dark-text-2); }
.dest__access strong { color: var(--dark-text); font-weight: 640; }
.dest__acts-title { margin: clamp(56px, 7vw, 96px) 0 24px; }
.acts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 24px; }
.act img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); margin-bottom: 14px; }
.act__name { font-family: var(--font-display); font-size: 1.3rem; font-weight: var(--display-weight); font-stretch: calc(var(--display-stretch) + 3%); text-transform: var(--display-case); margin: 0 0 4px; }
.act__idea { margin: 0 0 6px; color: var(--dark-text-2); font-size: 1rem; line-height: 1.45; }
.act__time { margin: 0; color: var(--dark-link); font-size: 0.92rem; font-weight: 600; }
@media (max-width: 900px) {
	.dest__grid { grid-template-columns: minmax(0, 1fr); }
	.acts { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 70%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
	.act { scroll-snap-align: start; }
	.dest__access li { flex-direction: column; gap: 2px; }
}

/* ---------- steps (a real sequence) ---------- */

.steps { padding-block: var(--sec); }
.steps h2 { margin-bottom: clamp(32px, 4vw, 56px); }
.steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); counter-reset: step; }
.steps__list li { counter-increment: step; border-top: 1.5px solid var(--rule); padding-top: 20px; }
.steps__list li::before { content: counter(step); display: block; font-family: var(--font-display); font-size: 3.4rem; font-weight: 760; font-stretch: 75%; line-height: 1; color: var(--num); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.steps__list h3 { margin-bottom: 10px; }
.steps__list p { color: var(--text-2); margin: 0; }
@media (max-width: 800px) { .steps__list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- guides ---------- */

.guides { padding-bottom: var(--sec); }
.guides__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.guide a { display: block; color: inherit; text-decoration: none; }
.guide img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); margin-bottom: 16px; }
.guide__title { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: calc(var(--display-weight) - 40); font-stretch: calc(var(--display-stretch) + 6%); line-height: 1.2; margin-bottom: 8px; }
.guide__desc { display: block; color: var(--text-2); font-size: 1rem; }
.guide a:hover .guide__title { text-decoration: underline; text-decoration-thickness: 2px; }
@media (max-width: 800px) { .guides__list { grid-template-columns: minmax(0, 1fr); } .guide img { aspect-ratio: 16 / 9; } }

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

.faq { padding-block: var(--sec); border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); }
.faq__list { border-top: 1.5px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 1.2rem; font-weight: 640; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--link); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-2); max-width: 40em; padding-bottom: 8px; }
@media (max-width: 800px) { .faq__grid { grid-template-columns: minmax(0, 1fr); } }

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

.closing { background: var(--accent); color: var(--accent-text); padding-block: clamp(64px, 8vw, 112px); }
.closing__in h2 { max-width: 16em; }
.closing p:not(.actions) { font-size: 1.2rem; margin: 18px 0 28px; max-width: 34em; }
.closing .btn--line { border-color: var(--accent-text); color: var(--accent-text); }
.closing .btn--line:hover { background: var(--accent-text); color: var(--accent); }

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

.site-foot { background: var(--dark); color: var(--dark-text-2); padding-block: 72px 32px; font-size: 1rem; }
.site-foot a { color: var(--dark-text); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.site-foot__brand .brand__name { color: var(--dark-text); margin-bottom: 12px; }
.site-foot__brand p:not(.brand__name) { max-width: 22em; }
.site-foot__title { font-weight: 680; margin-bottom: 12px; color: var(--dark-text); }
.site-foot__col li { margin-bottom: 8px; }
.site-foot__col li a { color: var(--dark-text-2); }
.foot-btn { padding: 0; border: 0; background: none; color: var(--dark-text-2); font: inherit; text-align: left; cursor: pointer; }
.foot-btn:hover { color: var(--dark-text); text-decoration: underline; }
.site-foot__bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--dark-line); font-size: 0.9rem; }
.site-foot__bottom p { margin: 0; }
@media (max-width: 1000px) { .site-foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-foot__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-foot__top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- inner pages ---------- */

.page-head { padding-block: clamp(48px, 7vw, 96px); border-bottom: 1px solid var(--line); margin-bottom: clamp(40px, 5vw, 64px); }
.page-head h1 { max-width: 14em; }
.page-head .lead { margin: 24px 0 28px; }
.crumb { margin-bottom: 16px; font-weight: 600; }
.notice { display: inline-block; padding: 6px 12px; border-radius: var(--r-pill); background: var(--accent-soft); font-size: 0.95rem; font-weight: 600; margin-bottom: 28px; }
.related { padding-bottom: var(--sec); }
.related h2 { font-size: 1.6rem; margin-bottom: 16px; }
.related ul { border-top: 1.5px solid var(--rule); max-width: 640px; }
.related li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; font-weight: 560; color: var(--text); text-decoration: none; }
.related li a:hover, .related li a[aria-current] { color: var(--link); }
.prose { padding-bottom: var(--sec); }
.prose > * { max-width: 760px; }
.prose > .table-scroll { max-width: 860px; }

.devis { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-bottom: var(--sec); }
.devis fieldset { border: 0; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.devis legend { font-family: var(--font-display); font-size: 1.4rem; font-weight: var(--display-weight); font-stretch: calc(var(--display-stretch) + 3%); text-transform: var(--display-case); margin-bottom: 16px; padding: 0; }
.field--wide { grid-column: 1 / -1; }
.devis__demo { padding: 14px 16px; border-radius: var(--r); background: var(--accent-soft); font-weight: 560; }
.devis__aside { align-self: start; padding: 24px; border-radius: var(--r-lg); background: var(--bg-2); }
.devis__aside h2 { font-size: 1.5rem; margin-bottom: 12px; }
.devis__aside img { border-radius: var(--r); margin-top: 16px; }
@media (max-width: 900px) { .devis { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .devis fieldset { grid-template-columns: minmax(0, 1fr); } }

/* while the cookie banner is showing on a phone, the page can still be scrolled clear of it */
@media (max-width: 560px) { html.pck-has-banner body { padding-bottom: 300px; } }
