@charset "UTF-8";
/* Component-specific CSS goes here, one block per component. Each addition should be referenced in docs/components/<component>.md */

/* Component: Header — see docs/components/header.md */
.site-header-inner {
	position: sticky;
	top: 0;
	z-index: 100;
	background-color: var(--wp--preset--color--background);
	align-items: center;
	padding: 16px 32px;
}

/* `flex-shrink: 0` is the whole of the logo bug. The header is a `nowrap` flex row
   and the logo was the only item in it that could give — the CTA already declares
   `flex-shrink: 0` and the burger has a `min-width`. So every pixel the row was
   short came off the logo's WIDTH while `height: 80px` below held: at 406px the
   1201×1201 mark rendered **38 × 80**, squashed to less than half its width.

   A logo is never the thing that yields. Site-wide, not lab-scoped: the defect is
   in the shared header and shows on all 39 pages. */
.site-header-logo {
	margin: 0;
	flex-shrink: 0;
}

.site-header-logo img {
	display: block;
	width: 80px;
	height: 80px;
}

.site-header-inner .wp-block-navigation a {
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}

/* `:active` alongside `:hover` so the label answers a tap too — on a touch screen
   there is no hover state to give the press any feedback.
   Matched on `a`, not `a[href]`: "Nos Services" has carried no url since its landing
   page was deleted on 2026-09-01, so core renders it as an `<a>` with no `href`, and
   it still answers the pointer here because hovering it opens the submenu. What it
   must not do is *look* like a link — see the cursor below and the underline rule in
   design-lab.css. See docs/components/nos-services-page.md. */
.site-header-inner .wp-block-navigation a:hover,
.site-header-inner .wp-block-navigation a:active {
	color: var(--wp--preset--color--accent);
}

/* A label with nowhere to go must not offer a hand cursor it cannot honour. */
.site-header-inner .wp-block-navigation a:not([href]) {
	cursor: default;
}

/* Dropdown items stay on one line ("Fiscalité de l'innovation" was wrapping) */
.site-header-inner .wp-block-navigation__submenu-container {
	width: auto;
	min-width: max-content;
}

.site-header-inner .wp-block-navigation__submenu-container a {
	white-space: nowrap;
}

.header-cta-wrap {
	margin: 0 0 0 24px;
	flex-shrink: 0;
}

.header-cta-button .wp-block-button__link {
	padding: 10px 20px;
	font-size: 0.875rem;
}

/* --- The bar has to FIT once the logo stops yielding ----------------------
   `flex-shrink: 0` above fixes the squash, and on its own it would trade one bug
   for another: with nothing left to give, the row overflows its box instead. It
   does — measured on `/contact/`, a page with none of the sandbox's rules:
   **25px of overflow at 400px wide**, and more below that. Above 600px there is
   no overflow to fix, because core has collapsed the nav to a burger below that
   and the desktop nav simply wraps to a second line above it.

   So the two belong together. Budget at 320px, the narrowest width this site is
   held to:

       320 − 32 padding = 288 available
       logo 48 + CTA 165 + burger 44 + 2 gaps 24 = 281, 7px to spare

   The CTA's 165 is measured, not guessed: "Testez votre éligibilité" sets to
   137px at 13px/700 in Neue Haas Grotesk, plus 14px of padding a side.

   600px is core's own `overlayMenu: mobile` breakpoint, so this changes nothing
   at any width where the desktop nav is shown. It also closes the pre-existing
   320px overflow that has been on the pending list since 2026-08-27. */
@media (max-width: 599px) {
	.site-header-inner {
		padding: 12px 16px;
		gap: 12px;
	}

	.site-header-logo img {
		width: 48px;
		height: 48px;
	}

	/* logo · CTA · burger. `space-between` on three items puts the toggle in the
	   MIDDLE of the bar; an auto margin does the pushing instead, which leaves
	   `space-between` no free space to distribute — the two do not fight. */
	.site-header-inner .header-cta-wrap {
		order: 2;
		margin-left: auto;
	}

	.site-header-inner .wp-block-navigation {
		order: 3;
	}

	/* Both selectors on purpose. `.cta-button-filled .wp-block-button__link` sits
	   LATER in this file at the same specificity, so a single `.header-cta-button`
	   rule loses to it however deep in a media query it is written — media queries
	   add no specificity. This cost the button its padding once already: it kept
	   `14px 32px` and measured 205px instead of 165, eating the right gutter. The
	   second selector is the one that actually lands; the first stays so a header
	   CTA that is not `cta-button-filled` is still covered. */
	.header-cta-button .wp-block-button__link,
	.header-cta-button.cta-button-filled .wp-block-button__link {
		padding: 12px 14px;
		font-size: 13px;
	}
}

/* Component: Generic Page Template — see docs/components/eligibility-page.md */

/* The side gutter scales with the viewport instead of staying at 96px. A flat 96px cost
   a 375px phone 192px — more than half its screen — which left headings breaking
   mid-word. Written as a clamp rather than a breakpoint so there is no width at which the
   content jumps.

   The vw factor is chosen so the clamp reaches its maximum at 1200px: every desktop width
   keeps exactly the 96px it had before, and only narrower screens change. Same reasoning
   for the two overrides further down (64px and 36px, both reaching their max at 1200px)
   and for .homepage-main.

   It is a variable because anything that bleeds out to the page edge has to cancel the
   exact same value — see .a-propos-contact-cta. A hard-coded -96px there was how this
   went wrong once already. */
:root {
	--page-gutter: clamp(20px, 8vw, 96px);
}

.page-main {
	padding: 64px var(--page-gutter) 96px;
}

.page-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0 0 24px;
}

/* Component: Footer — see docs/components/footer.md */
.site-footer {
	border-top: 1px solid #e5e5e5;
	margin-top: 96px;
}

/* Primary link columns: services, resources, company. The expertise tree lives in its
   own quieter band below, so it doesn't crowd these out (32 flat links did). */
/* --- Le pied de page prend la mesure de la page — 2026-09-10 ----------------
   Demande : que tout le bas tienne sur une seule ligne sur grand écran.

   C'est de l'arithmétique, pas un réglage. Les quatre éléments mesurent
   **logo 48 + copyright 302 + mentions 305 + recherche 280 + 3 écarts de 24 =
   1007px**, et la rangée n'offrait que **736px** (800 de boîte moins 64 de
   rembourrage). Aucun rétrécissement ne comble 271px : la boîte devait grandir.

   Élargir la seule rangée du bas l'aurait fait dépasser des colonnes de 160px de
   chaque côté, ce qui se lit comme une erreur. Les deux blocs prennent donc la
   **même mesure que le contenu de la page** — `max-width: 1200px` et la gouttière
   du site — ce qui aligne enfin le pied de page sur ce qu'il y a au-dessus.

   Au passage, ça corrige un décalage qui existait déjà : les colonnes couvraient
   256→1120 et la rangée 288→1088, parce que l'une était en `content-box` et
   l'autre en `border-box` avec le même `max-width: 800px`. Les deux sont
   désormais en `border-box`, sans rembourrage propre, et se superposent au pixel.

   Mesuré à 1375px de fenêtre : les deux blocs font 1183px et couvrent 96→1279,
   comme `.entry-content`. Contenu utile 1183px pour 1007 nécessaires. */
/* Les trois blocs du pied de page, pas seulement deux : `.site-footer-expertises`
   en faisait partie et l'oublier l'a laissé à 864px pendant que les deux autres
   passaient à 1183 — « Nos expertises » se retrouvait rentré de 160px sous les
   colonnes. Vu à l'écran juste après le changement. */
.site-footer-columns,
.site-footer-expertises,
.site-footer-inner {
	box-sizing: border-box;
	width: 100%;
	max-width: 1200px;
	padding-inline: 0;
}

.site-footer {
	padding-inline: var(--page-gutter);
}

.site-footer-columns {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px;
	padding-top: 48px;
}

.site-footer-heading {
	color: var(--wp--preset--color--primary);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin: 0 0 16px;
}

.site-footer-columns ul,
.site-footer-expertises ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer-columns li {
	margin: 0 0 10px;
}

.site-footer-columns a,
.site-footer-heading a {
	color: var(--wp--preset--color--primary);
	opacity: 0.75;
	font-size: 0.875rem;
	text-decoration: none;
}

/* The expertise band: same links, deliberately one step back from the columns above —
   smaller type, lower contrast, separated by a rule. */
/* The 32px gutter is padding, not margin, on purpose: the footer is a "constrained"
   group and core rewrites every direct child's horizontal margin to `auto !important`.
   Above 864px that resolves to centring and the margin is never seen; below it, auto
   resolves to 0 and the band went flush to the window edge. Padding survives both.
   Matches .site-footer-columns, which had it right by accident. */
/* Rembourrage horizontal retiré le 2026-09-10 : la gouttière est portée par
   `.site-footer` depuis que les trois blocs prennent la mesure de la page. Le
   `padding-inline: 0` de la règle groupée plus haut ne suffisait pas — elle vient
   AVANT celle-ci dans le fichier et porte la même spécificité, donc ce raccourci
   l'emportait et « Nos expertises » restait rentré de 32px. */
.site-footer-expertises {
	border-top: 1px solid #e5e5e5;
	margin: 48px 0 0;
	padding: 32px 0 0;
}

.site-footer-expertises-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px 32px;
	margin-top: 24px;
}

.site-footer-subheading {
	font-size: 0.8125rem;
	font-weight: 700;
	margin: 0 0 10px;
}

.site-footer-subheading a {
	color: var(--wp--preset--color--primary);
	opacity: 0.85;
	text-decoration: none;
}

.site-footer-expertises li {
	margin: 0 0 8px;
}

.site-footer-expertises li a {
	color: var(--wp--preset--color--primary);
	opacity: 0.6;
	font-size: 0.8125rem;
	text-decoration: none;
}

.site-footer-columns a:hover,
.site-footer-heading a:hover,
.site-footer-subheading a:hover,
.site-footer-expertises li a:hover {
	opacity: 1;
	color: var(--wp--preset--color--accent);
}

/* --- One line: logo · copyright · legal links · search ---------------------
   2026-08-31 : la demande était ces éléments « au même niveau et bien centrés
   verticalement ». `align-items: center` était déjà là ; ce qui a changé, c'est que
   la recherche est entrée dans la rangée.

   Le copyright, lui, en était sorti, et c'était de l'arithmétique : la boîte de
   contenu faisait **736px** (800px de largeur contrainte moins 2 × 32px de
   rembourrage) alors que les quatre éléments en réclament **1007** :

       logo 48 + copyright 302 + mentions 305 + recherche 280 + 3 × 24 de gouttière

   2026-09-10 : la demande est devenue « tout sur la même ligne sur grand écran ».
   Aucune réduction ne comble un déficit de 271px, donc c'est la boîte qui a grandi :
   les trois blocs du pied de page (`.site-footer-columns`, `.site-footer-expertises`,
   `.site-footer-inner`) prennent désormais la mesure de la page, 1200px, et la
   gouttière est portée par `.site-footer` lui-même. Élargir la seule rangée du bas
   l'aurait fait dépasser de 160px de chaque côté des colonnes au-dessus.

   Effet de bord bienvenu : l'ancien décalage entre les colonnes (mesurées en
   content-box, 256..1120) et la rangée (en border-box, 288..1088) a disparu ; tout
   s'aligne maintenant sur un seul bord gauche.

   Le repli sous grand écran est laissé à flex (`.site-footer-copyright` en
   `0 1 auto`), sans requête média : mesuré, la ligne tient jusqu'à 1200px de
   fenêtre (1008px utiles) et se coupe d'elle-même en dessous. */
.site-footer-inner {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px 24px;
	padding-block: 32px;
	margin-top: 16px;
	border-top: 1px solid #e5e5e5;
}

/* --- What was actually breaking the centring -----------------------------
   `align-items: center` centres each item's **margin box**, so a child with a top
   margin and no bottom margin lands half that margin too low. `.site-footer-inner`
   is a `wp-block-group-is-layout-flow`, and core gives every child but the first a
   `margin-block-start: 24px` through `:root :where(.is-layout-flow) > *` — so the
   legal nav sat **12px** below the logo and the search, measured. The logo looked
   right only because it is the first child and is therefore exempt.

   Zeroed for the whole row rather than per item: the next block added here would
   have inherited the same 12px drop and the cause would have been invisible. */
.site-footer-inner > * {
	margin-block-start: 0;
}

/* --- Le copyright revient dans la rangée — 2026-09-10 -----------------------
   `flex: 0 0 100%` avec `order: 1` le **forçait** sur sa propre ligne : c'était la
   réponse au fait que les 1007px nécessaires n'entraient pas dans les 736
   disponibles. La rangée s'étant élargie (voir `.site-footer-columns` /
   `.site-footer-inner` plus bas), la contrainte n'a plus lieu d'être.

   `0 1 auto` plutôt qu'une largeur fixe : c'est flex qui décide. Une ligne tant
   que ça rentre, un repli quand ça ne rentre plus — donc **aucune requête média
   n'est nécessaire** pour le comportement « sur grand écran ». En dessous de
   ~1200px de fenêtre le contenu utile repasse sous 1007px et la ligne se coupe
   d'elle-même, exactement comme avant. */
.site-footer-copyright {
	flex: 0 1 auto;
	margin: 0;
}

/* Legal links sit opposite the copyright rather than in a column of their own. */
.site-footer-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin-left: auto;
}

.site-footer-legal a {
	color: var(--wp--preset--color--primary);
	opacity: 0.6;
	font-size: 0.875rem;
	text-decoration: none;
}

.site-footer-legal a:hover {
	opacity: 1;
	color: var(--wp--preset--color--accent);
}

@media (max-width: 781px) {
	.site-footer-columns {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.site-footer-expertises-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* Stacked, and the auto margins have to stop pushing or they open gaps that
	   read as mistakes once each item is on its own line. */
	.site-footer-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.site-footer-legal {
		margin-left: 0;
		width: 100%;
	}

	/* `order` only matters while the three share a line. */
	.site-footer-copyright {
		order: 0;
	}
}

.site-footer-logo {
	margin: 0;
}

.site-footer-logo img {
	display: block;
	width: 48px;
	height: 48px;

	/* --- The monochrome mark, derived rather than shipped -------------------
	   The footer takes the same file as the header, flattened to one ink. That is
	   safe here for a reason worth writing down: **the mark carries no information
	   in its colour.** Sampled from the PNG, every opaque pixel is one continuous
	   red→orange ramp — R 230–243, G 40–145, B 41–45 — and the frame's counters and
	   the gaps between the bars are transparent, not painted. So the shape survives
	   a flat fill intact; there is nothing for the colour to be holding apart.

	   **`grayscale(1)` would be the wrong tool**, and this is the trap. A luminance
	   conversion maps that ramp to greys **80–158**, so the orange end lands near
	   `#9E9E9E` — about **2.6:1 on the white footer** — and the mark fades out
	   across itself, dark at one corner and nearly gone at the other. "Noir et
	   blanc" here has to mean one flat ink, not a luminance conversion.

	   `brightness(0)` takes every pixel to black and keeps the alpha; `invert(0.2)`
	   then lifts pure black to exactly `rgb(51,51,51)` — `--ink`, the same value as
	   the copyright line beside it, rather than a harder black next to it.

	   If the brand kit ever supplies an official monochrome file, replace the `src`
	   and delete this filter: a designed mono version can thicken strokes for small
	   sizes, which a filter cannot. */
	filter: brightness(0) invert(0.2);
}

.site-footer-copyright {
	color: var(--wp--preset--color--primary);
	opacity: 0.6;
	font-size: 0.875rem;
	margin: 0;
}

/* RGPD notice printed after the contact form by inc/contact-privacy.php (2026-11-25).
   Not scoped to .contact-form-wrap: the same form also opens in the CTA modal. #555 on white
   is 7.5:1, comfortably above the 4.5:1 floor for small text. */
.form-privacy-notice {
	margin: 16px 0 0;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: #555555;
}

.form-privacy-notice a {
	color: inherit;
	text-decoration: underline;
}

/* Component: Contact Form — see docs/components/contact-page.md
   Fluent Forms ships its own stylesheet; these rules only bring it in line with the
   site's type, spacing and accent colour rather than restyling the plugin. */
.contact-intro {
	max-width: 640px;
	line-height: 1.7;
	margin: 0 0 40px;
}

.contact-form-wrap .ff-el-group {
	margin-bottom: 20px;
}

.contact-form-wrap .ff-el-input--label label {
	font-weight: 600;
	color: var(--wp--preset--color--primary);
}

.contact-form-wrap .ff-el-form-control {
	border: 1px solid #d8d6d3;
	border-radius: 2px;
	padding: 12px 14px;
	font-size: 1rem;
	font-family: inherit;
	color: var(--wp--preset--color--primary);
	background-color: #fff;
}

.contact-form-wrap .ff-el-form-control:focus {
	border-color: var(--wp--preset--color--accent);
	box-shadow: none;
	outline: 2px solid rgba(255, 147, 30, 0.25);
}

/* Encre sur l'orange, pas blanc — 2026-09-07. Fluent Forms peint son bouton d'envoi en
   blanc sur l'accent, ce qui mesure **2,2:1**. C'était le dernier endroit du site à le
   faire avec le simulateur : les CTA du thème sont en `#333` sur l'orange depuis
   longtemps (5,70:1). `!important` parce que la règle du plugin porte sa propre couleur
   et qu'on ne contrôle pas son ordre de chargement. */
.contact-form-wrap .ff-btn-submit {
	padding: 14px 32px;
	font-size: 1rem;
	font-weight: 600;
	border-radius: 2px;
	cursor: pointer;
	color: var(--wp--preset--color--primary, #333333) !important;
}

/* The confirmation dialog shown before the message is actually sent. */
.contact-confirm {
	border: none;
	border-radius: 4px;
	padding: 32px;
	max-width: 560px;
	width: calc(100% - 48px);
	color: var(--wp--preset--color--primary);
	box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
}

.contact-confirm::backdrop {
	background: rgba(0, 0, 0, 0.45);
}

.contact-confirm-title {
	font-size: 1.375rem;
	font-weight: 700;
	margin: 0 0 8px;
}

.contact-confirm-intro {
	margin: 0 0 24px;
	opacity: 0.75;
	font-size: 0.9375rem;
}

.contact-confirm-summary {
	display: grid;
	grid-template-columns: minmax(90px, auto) 1fr;
	gap: 8px 20px;
	margin: 0 0 28px;
	font-size: 0.9375rem;
}

.contact-confirm-summary dt {
	font-weight: 600;
}

.contact-confirm-summary dd {
	margin: 0;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

.contact-confirm-summary dd.is-empty {
	opacity: 0.45;
}

.contact-confirm-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: flex-end;
}

.contact-confirm-actions button {
	padding: 12px 24px;
	border-radius: 2px;
	font-size: 0.9375rem;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
}

.contact-confirm-back {
	background: none;
	border: 1px solid #d8d6d3;
	color: var(--wp--preset--color--primary);
}

.contact-confirm-send {
	background-color: var(--wp--preset--color--accent);
	border: 1px solid var(--wp--preset--color--accent);
	color: #fff;
}

.contact-confirm-send:hover {
	background-color: #fff;
	color: var(--wp--preset--color--accent);
}

/* Component: Legal Pages — see docs/components/legal-pages.md
   Legal text is read in long runs, so the section headings are smaller and tighter
   than `service-section-heading`'s 2rem/48px, which is sized for marketing pages. */
.legal-heading {
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--wp--preset--color--primary);
	margin: 40px 0 12px;
}

/* --- Typographie de lecture + fond orangé — 2026-09-10 ---------------------
   Ces deux pages ne portaient aucune règle de texte : elles héritaient du 16px et
   surtout du `line-height: normal` du navigateur, soit ~1,2 sur des paragraphes de
   cinq à six lignes. C'est le seul vrai défaut de lisibilité qu'elles avaient.

   Les valeurs ne sont pas inventées ici : ce sont **exactement celles de la page
   article** (`.single-article-content`, 1,0625rem / 1,75), qui est l'autre page de
   texte long du site. Deux pages de lecture, une seule mesure typographique. Elles
   sont recopiées plutôt que partagées dans un sélecteur commun parce que les deux
   gabarits n'ont pas la même largeur de colonne (800 contre 760) et que les fusionner
   ferait dépendre l'une des choix de l'autre.

   `.is-legal-page` vient de custom_site_theme_wide_page_body_class(). */
body.is-legal-page .entry-content {
	font-size: 1.0625rem;
	line-height: 1.75;
}

/* Les liens étaient le bleu par défaut du navigateur (#0000EE), mesuré : personne ne
   les avait jamais habillés, parce que c'est la seule page du site dont le corps de
   texte contient des liens hors gabarit dédié. Même traitement que dans un article :
   encre pleine + soulignement, l'orange lisible au survol (4,76:1 sur la teinte). */
body.is-legal-page .entry-content a {
	color: var(--wp--preset--color--primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.is-legal-page .entry-content a:hover,
body.is-legal-page .entry-content a:focus-visible {
	color: var(--accent);
}

/* Le fond : 7 % de l'orange de marque dans du blanc. Assez pour qu'on voie que la
   page a un fond, assez peu pour que ça reste une feuille blanche.

   La teinte est posée sur `.page-main`, qui est pleine largeur, et **pas sur `body`** :
   `.site-footer` n'a pas de fond à lui, donc teinter le corps aurait teinté le pied de
   page de ces deux pages seulement. La marge de 96px du pied est annulée en même temps,
   sinon la teinte s'arrête et laisse une bande blanche de 96px avant le filet du pied,
   qui se lit comme une erreur.

   Contraste mesuré sur #FFF7EF : encre #333 **11,91:1**, `--accent` **4,76:1**. Les
   deux tiennent le seuil de 4,5. Toute teinte plus soutenue demande de remesurer
   l'orange, qui est celui des deux qui a le moins de marge. */
body.is-legal-page .page-main {
	background-color: #FFF7EF;
}

/* Les DEUX marges, pas une. Il y a un `<footer class="wp-block-template-part">` autour
   de `.site-footer`, et il porte 24px venant de l'écart de blocs de `.wp-site-blocks` :
   n'annuler que celle de `.site-footer` laissait une bande blanche de 24px, mesurée.
   Même paire que la règle `:has(.latest-articles)` de design-lab.css. */
body.is-legal-page footer.wp-block-template-part,
body.is-legal-page .site-footer {
	margin-top: 0;
}

/* --- Sous-parties de la politique de confidentialité — 2026-09-14 -----------
   La politique a trois niveaux (section / catégorie de personnes / finalités,
   bases légales…). La convention du site interdit le h4, donc le troisième niveau
   est un paragraphe `.legal-label` en gras, et c'est lui qui se colle à la liste
   qu'il annonce : les 24px d'écart de blocs de core l'en séparaient autant que du
   bloc précédent, et on ne voyait plus à quoi l'étiquette se rapportait. */
body.is-legal-page .entry-content h3 {
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 36px 0 0;
}

body.is-legal-page .entry-content .legal-label {
	font-weight: 700;
}

body.is-legal-page .entry-content .legal-label + * {
	margin-top: 4px;
}

/* Component: Homepage Hero Title — see docs/components/homepage-hero-title.md */
.homepage-main {
	padding: 64px var(--page-gutter) 96px;
}

.homepage-hero-title {
	font-weight: 700;
	line-height: 1.05;
	margin: 0;
	text-align: left;
}

/* The preset xx-large is a flat 4rem, which with the nowrap below ran the headline off
   the side of anything narrower than a laptop — "Votre expert du" was being cut mid-word.
   The clamp only bites below ~985px, so the desktop rendering is unchanged. */
/* !important is required, not sloppiness: WordPress prints its font-size preset classes
   with !important in the global stylesheet, so `.has-xx-large-font-size` cannot be
   overridden by specificity alone. Without it the headline stays at a flat 64px. */
.homepage-hero-title.has-xx-large-font-size {
	font-size: clamp(2rem, 6.5vw, 4rem) !important;
	/* Safety net: a single word longer than the line would otherwise run off the edge.
	   It only ever fires on a word too long to fit, so normal copy is untouched. */
	overflow-wrap: break-word;
}

/* Each half of the headline holds its own line, offset like a staircase. */
.homepage-hero-title .hero-title-line {
	display: block;
	white-space: nowrap;
}

.homepage-hero-title .hero-title-line-2 {
	margin-left: 4em;
}

/* No width on a phone can hold "financement non-dilutif" on one line at any readable
   size, so the staircase gives way to ordinary wrapped text rather than being clipped. */
@media (max-width: 781px) {
	.homepage-hero-title .hero-title-line {
		white-space: normal;
	}

	.homepage-hero-title .hero-title-line-2 {
		margin-left: 0;
	}
}

.homepage-hero-title .hero-title-accent {
	color: var(--wp--preset--color--accent);
}

/* Component: Homepage Three Pillars — see docs/components/homepage-three-pillars.md */
.homepage-three-pillars {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	margin-top: 32px;
	/* Fluid, not fixed: "Investissement" is a single unbreakable word rendered at
	   1.4em of this value, and at a flat 1.75rem it measured 290px inside a 269px
	   box on a 320px screen. The clamp reaches its maximum at 480px, so every real
	   phone and up keeps the original size. */
	font-size: clamp(1.15rem, 5.2vw, 1.75rem);
	font-weight: 700;
	color: var(--wp--preset--color--primary);
}

.homepage-three-pillars .pillar-word:nth-child(2) {
	margin-left: 1.2em;
}

.homepage-three-pillars .pillar-word:nth-child(3) {
	margin-left: 2.4em;
}

.homepage-three-pillars .pillar-initial {
	font-size: 1.6em;
	font-weight: 700;
}

/* Innovation (top): orange → International (bottom): red, per the brand reference image */
.homepage-three-pillars .pillar-word:nth-child(1) .pillar-initial {
	color: #FF931E;
}

.homepage-three-pillars .pillar-word:nth-child(2) .pillar-initial {
	color: #F65821;
}

.homepage-three-pillars .pillar-word:nth-child(3) .pillar-initial {
	color: #ED1C24;
}

.homepage-three-pillars .pillar-rest {
	font-size: 1.4em;
}

/* Component: Homepage Hero CTA (eligibility) — see docs/components/homepage-hero-cta.md */
.hero-cta-wrap {
	justify-content: center;
	margin-top: 48px;
}

.cta-button-filled .wp-block-button__link {
	display: inline-block;
	background: var(--wp--preset--color--accent);
	border: 2px solid var(--wp--preset--color--accent);
	color: var(--wp--preset--color--background);
	font-weight: 700;
	padding: 14px 32px;
	border-radius: 0;
	text-decoration: none;
}

.cta-button-filled .wp-block-button__link:hover {
	background: var(--wp--preset--color--background);
	color: var(--wp--preset--color--accent);
}

/* Component: Homepage Offerings — see docs/components/homepage-offerings.md */
.homepage-offerings {
	margin-top: 80px;
	gap: 64px;
}

.homepage-offerings .offering-box {
	position: relative;
	background-color: #F5F4F2;
	border-top: 4px solid var(--wp--preset--color--accent);
	padding: 40px;
	cursor: pointer;
}

.offering-box-link {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.offering-arrow {
	display: block;
	margin-top: 24px;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--wp--preset--color--accent);
}

/* Hover animation on .offering-box intentionally not implemented yet — deferred to the decorations pass */

.homepage-offerings .offering-title {
	color: var(--wp--preset--color--primary);
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 16px;
}

.homepage-offerings .offering-desc {
	color: var(--wp--preset--color--primary);
	opacity: 0.75;
	line-height: 1.5;
	margin: 0;
}

/* Component: Homepage Trust Section — see docs/components/homepage-trust.md */
.homepage-trust {
	margin-top: 96px;
	padding-top: 64px;
	border-top: 1px solid #e5e5e5;
}

.homepage-trust .trust-heading {
	font-size: 2rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0 0 16px;
}

.homepage-trust .trust-desc {
	color: var(--wp--preset--color--primary);
	opacity: 0.75;
	line-height: 1.5;
	max-width: 640px;
	margin: 0 0 48px;
}

.client-logo-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

@media (max-width: 900px) {
	.client-logo-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
	}
}

@media (max-width: 600px) {
	.client-logo-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.client-logo-grid .client-logo-cell {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #e5e5e5;
	padding: 24px;
	margin: 0;
	min-height: 100px;
}

.client-logo-grid .client-logo-cell img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Component: Homepage Process ("Notre accompagnement") — see docs/components/homepage-process.md */
.homepage-process {
	margin-top: 96px;
	padding-top: 64px;
	border-top: 1px solid #e5e5e5;
	gap: 64px;
}

.process-sticky-inner {
	position: sticky;
	top: 128px;
}

.process-intro-title {
	font-size: 2rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0 0 16px;
}

.process-intro-text {
	font-size: 1.25rem;
	line-height: 1.5;
	color: var(--wp--preset--color--primary);
	margin: 0;
}

.process-step {
	margin-bottom: 80px;
}

.process-step:last-child {
	margin-bottom: 0;
}

.step-label {
	color: var(--wp--preset--color--accent);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.875rem;
	margin: 0 0 8px;
}

.step-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0 0 16px;
}

.step-list {
	margin: 0;
	padding-left: 20px;
	color: var(--wp--preset--color--primary);
	opacity: 0.75;
	line-height: 1.6;
}

.step-list li {
	margin-bottom: 8px;
}

/* Component: Homepage Stats — see docs/components/homepage-stats.md */
.homepage-stats {
	margin-top: 96px;
	padding-top: 64px;
	border-top: 1px solid #e5e5e5;
}

.stats-heading {
	font-size: 2rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0 0 24px;
}

.stats-subheading {
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--wp--preset--color--primary);
	max-width: 860px;
	margin: 0 0 48px;
}

.stats-grid {
	gap: 32px;
}

.stat-box {
	background-color: #F5F4F2;
	border-top: 4px solid var(--wp--preset--color--accent);
	padding: 32px;
}

.stat-number {
	font-size: 3rem;
	font-weight: 700;
	color: var(--wp--preset--color--accent);
	line-height: 1;
	margin: 0 0 12px;
}

.stat-label {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0;
}

/* Component: Homepage Why Us — see docs/components/homepage-why.md */
.homepage-why {
	margin-top: 96px;
	padding-top: 64px;
	border-top: 1px solid #e5e5e5;
}

.why-heading {
	font-size: 2rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0 0 32px;
}

/* minmax(0, 1fr) rather than 1fr: a bare `1fr` track has an automatic minimum, so it
   refuses to shrink below its content and the boxes push off the right of a phone
   screen instead of narrowing. Then one column once two would be too cramped to read. */
.why-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

@media (max-width: 781px) {
	.why-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.why-box {
		padding: 28px 24px;
	}
}

.why-box {
	background-color: #F5F4F2;
	border-top: 4px solid var(--wp--preset--color--accent);
	padding: 40px;
}

.why-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0 0 16px;
}

.why-divider {
	border: none;
	border-top: 1px solid #d8d6d3;
	margin: 0 0 16px;
}

.why-desc {
	color: var(--wp--preset--color--primary);
	opacity: 0.75;
	line-height: 1.6;
	margin: 0;
}

.why-cta-wrap {
	justify-content: center;
	margin-top: 48px;
}

/* Shared: Outline CTA Button — reused by why-cta-button, articles-cta-button */
.cta-button-outline .wp-block-button__link {
	display: inline-block;
	background: transparent;
	border: 2px solid var(--wp--preset--color--accent);
	color: var(--wp--preset--color--accent);
	font-weight: 700;
	padding: 14px 32px;
	border-radius: 0;
	text-decoration: none;
}

.cta-button-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--background);
}

/* Component: Latest Articles — see docs/components/latest-articles.md */
.latest-articles {
	margin-top: 96px;
	padding-top: 64px;
	border-top: 1px solid #e5e5e5;
}

.articles-heading {
	font-size: 2rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0 0 32px;
}

.latest-articles-query {
	margin-bottom: 48px;
}

/* minmax(0, 1fr), never a bare 1fr: a bare `1fr` track refuses to shrink below its
   content's minimum size, so the three columns kept their width and pushed the grid
   past the viewport. Breakpoints match .blog-grid so the two article grids on the site
   collapse at the same widths. */
ul.articles-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (max-width: 900px) {
	ul.articles-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	ul.articles-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* `margin: 0` is not decoration: core's flow layout puts `margin-block-start: 24px` on
   every item except the first, so card 1 in each row sat 24px above its neighbours.
   Same fix as ul.blog-grid > li. */
.articles-grid > li {
	list-style: none;
	margin: 0;
}

/* --- Toutes les cartes d'une rangée ont la même hauteur — 2026-09-10 ----------
   Le `<li>` est une cellule de grille, donc il s'étire déjà à la hauteur de la
   rangée ; **la carte, elle, ne suivait pas** et s'arrêtait à son contenu. Sur un
   fond coloré, ça se voit : deux cartes qui descendent plus bas qu'une troisième.

   `height: 100%` sur la carte plutôt que sur le `<li>` : c'est elle qui porte le
   fond, c'est donc elle qui doit remplir la cellule. */
/* --- Le même traitement partout — 2026-09-10 ---------------------------------
   Les angles arrondis n'existaient que sur les pages du build `test-design-1`
   (les trois dispositifs et /eligibilite/) : partout ailleurs, et sur l'accueil,
   les cartes étaient carrées. Signalé par l'utilisateur, qui voulait le même
   traitement sur tout le site. La règle descend donc dans la base, où elle
   s'applique à toutes les instances du bloc.

   `overflow: hidden` n'est pas décoratif : sans lui l'image garde ses angles
   droits et dépasse du rayon de la carte. */
.article-card {
	height: 100%;
	border-radius: 14px;
	overflow: hidden;
	background-color: #F5F4F2;

	/* --- L'air sous le texte est un rembourrage, pas une marge — 2026-09-10 -----
	   `.article-excerpt` déclare `margin-bottom: 24px` et **n'en obtient aucun** :
	   la carte est un groupe `is-layout-flow`, et core imprime pour ce conteneur un
	   `margin-block-end: 0` sur chaque enfant, en CSS inline qu'aucune feuille ne
	   surclasse. Mesuré : marge calculée à 0, texte collé au bord bas de la carte.

	   Un rembourrage sur la carte échappe aux deux problèmes : core ne le touche
	   pas, et il ne peut pas s'effondrer hors de la boîte comme le ferait la marge
	   d'un dernier enfant. C'est la carte qui porte le fond, c'est donc à elle de
	   porter son propre retrait. */
	padding-bottom: 28px;
}

/* Le visuel prend un rapport fixe, comme sur l'index du blog (`.blog-card-media img`,
   qui fait la même chose avec une hauteur fixe). Sans ça l'égalité des hauteurs tient
   uniquement parce que le placeholder fait 800×450 pour tout le monde : le jour où de
   vraies images à la une arrivent, chacune imposerait la sienne et les blocs de texte
   repartiraient de hauteurs différentes. */
.article-image img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	object-fit: cover;
}

.article-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 16px 24px 12px;
}

.article-title a {
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}

/* Marges horizontales seulement : le retrait du bas appartient à la carte, voir
   la note sur `.article-card`. En écrire un ici ne ferait rien. */
.article-excerpt {
	color: var(--wp--preset--color--primary);
	opacity: 0.75;
	line-height: 1.5;
	margin: 0 24px;
}

.articles-cta-wrap {
	justify-content: center;
}

/* Component: Blog Archive ("/blog") — see docs/components/latest-articles.md */
.blog-archive-main {
	padding: 64px 96px 96px;
}

.blog-archive-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0 0 48px;
}

ul.blog-post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	list-style: none;
	margin: 0 0 48px;
	padding: 0;
}

.blog-post-grid > li {
	list-style: none;
}

.blog-post-card {
	background-color: #F5F4F2;
}

.blog-post-image img {
	width: 100%;
	height: auto;
	display: block;
}

.blog-post-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 16px 24px 12px;
}

.blog-post-title a {
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}

.blog-post-excerpt {
	color: var(--wp--preset--color--primary);
	opacity: 0.75;
	line-height: 1.5;
	margin: 0 24px 24px;
}

.blog-pagination {
	display: flex;
	gap: 16px;
	justify-content: center;
}

/* Component: À propos Intro Panels — see docs/components/a-propos-page.md */
.a-propos-intro {
	gap: 64px;
	align-items: flex-start;
	margin: 0 0 48px;
}

.a-propos-intro-heading {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0;
}

.a-propos-intro-heading-accent {
	color: var(--wp--preset--color--accent);
}

.a-propos-intro-right p {
	color: var(--wp--preset--color--primary);
	line-height: 1.6;
	margin: 0 0 16px;
}

.a-propos-story-heading {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0 0 20px;
}

.a-propos-story-separator {
	margin: 0 0 32px;
	border-top: 2px solid var(--wp--preset--color--primary);
	opacity: 0.15;
	width: 64px;
}

.a-propos-story-text {
	max-width: 760px;
	color: var(--wp--preset--color--primary);
	line-height: 1.6;
	margin: 0 0 16px;
}

.a-propos-story-text em {
	opacity: 0.6;
}

.a-propos-network-intro {
	max-width: 760px;
	color: var(--wp--preset--color--primary);
	line-height: 1.6;
	margin: 0 0 40px;
}

.a-propos-network-grid {
	gap: 32px;
	margin: 0 0 64px;
}

.a-propos-network-panel {
	background-color: #F5F4F2;
	border-top: 4px solid var(--wp--preset--color--accent);
	padding: 32px;
}

.a-propos-network-panel-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0 0 16px;
}

.a-propos-network-panel-text {
	color: var(--wp--preset--color--primary);
	opacity: 0.75;
	line-height: 1.5;
	margin: 0 0 16px;
}

.a-propos-network-panel-todo {
	color: var(--wp--preset--color--primary);
	opacity: 0.6;
	font-style: italic;
	line-height: 1.5;
	margin: 0;
}

.a-propos-bu-intro {
	max-width: 760px;
	color: var(--wp--preset--color--primary);
	line-height: 1.6;
	margin: 0 0 12px;
}

.a-propos-bu-grid {
	gap: 32px;
	margin: 40px 0 64px;
}

/* Same trap as .a-propos-values-grid below: core's grid layout holds all three columns
   at every width. At 320px that left 68px tracks with 32px of padding on each side —
   4px of text. Two class names to beat core's generated `.wp-container-…` rule on
   specificity rather than with !important. */
@media (max-width: 781px) {
	.a-propos-bu-grid.is-layout-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.a-propos-bu-box {
		padding: 28px 24px;
	}
}

.a-propos-bu-box {
	background-color: #F5F4F2;
	border-top: 4px solid var(--wp--preset--color--accent);
	padding: 32px;
}

.a-propos-bu-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0 0 16px;
}

.a-propos-bu-todo {
	color: var(--wp--preset--color--primary);
	opacity: 0.6;
	font-style: italic;
	line-height: 1.5;
	margin: 0 0 8px;
}

.a-propos-bu-todo:last-child {
	margin-bottom: 0;
}

.a-propos-values-grid {
	gap: 32px;
	margin: 0 0 64px;
}

/* Core's grid layout holds all three columns whatever the width, which on a phone left
   83px tracks with 40px of padding inside them — the dividers hung out of the boxes.
   Two class names so this beats core's generated `.wp-container-…` rule on specificity
   rather than with !important. */
@media (max-width: 781px) {
	.a-propos-values-grid.is-layout-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.a-propos-value-box {
		padding: 28px 24px;
	}
}

.a-propos-value-box {
	background-color: #F5F4F2;
	border-top: 4px solid var(--wp--preset--color--accent);
	padding: 40px;
}

.a-propos-value-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0 0 16px;
}

.a-propos-value-divider {
	border: none;
	border-top: 1px solid #d8d6d3;
	margin: 0 0 16px;
}

.a-propos-value-desc {
	color: var(--wp--preset--color--primary);
	opacity: 0.75;
	line-height: 1.6;
	margin: 0;
}

/* Bleeds out to the page edge, so its side margins must cancel the page gutter exactly.
   Reads the variable rather than repeating the value — with a hard-coded -96px it hung
   66px off the side of a phone once the gutter started scaling. */
.a-propos-contact-cta {
	text-align: center;
	background-color: #F5F4F2;
	padding: 64px 32px;
	margin: 0 calc(-1 * var(--page-gutter)) -96px;
}

.a-propos-contact-cta-heading {
	font-size: 2rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0 0 12px;
}

.a-propos-contact-cta-text {
	color: var(--wp--preset--color--primary);
	opacity: 0.75;
	margin: 0 0 32px;
}

.a-propos-contact-cta-wrap {
	justify-content: center;
}

/* Component: Clients Page — see docs/components/clients-page.md
   `is-clients-page` comes from custom_site_theme_wide_page_body_class(), not from
   WordPress's automatic `page-id-…` class: a page recreated in wp-admin gets a new ID and
   would silently lose these gutters. */
body.is-clients-page .page-main {
	padding-left: clamp(16px, 3vw, 36px);
	padding-right: clamp(16px, 3vw, 36px);
}

body.is-clients-page .entry-content {
	max-width: 100%;
}

.clients-category-row {
	align-items: flex-start;
	gap: 24px;
	margin: 0 0 56px;
	padding-top: 40px;
	border-top: 1px solid #e5e5e5;
}

.clients-category-heading {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0;
}

.clients-subcats-row {
	align-items: flex-start;
	gap: 24px;
}

.clients-subcat-col {
	min-width: 0;
}

.clients-subcategory-heading {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--wp--preset--color--accent);
	margin: 0 0 12px;
	min-height: 2.6em;
}

.clients-vlist {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.clients-cell {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #e5e5e5;
	padding: 12px;
	min-height: 90px;
	text-align: center;
}

.clients-cell-name {
	color: var(--wp--preset--color--primary);
	font-weight: 600;
	font-size: 0.9375rem;
	line-height: 1.3;
	margin: 0;
}

/* A logo replaces the name in the cell. The height is FIXED, not capped: a cap only
   shrinks, so an SVG whose own size is 126x24 (Electra) stayed 24px tall. With a fixed
   height and max-width, `contain` keeps proportions and letterboxes the very wide ones.
   The 12 clients without a logo keep their name in `.clients-cell-name`. */
.clients-cell-logo {
	margin: 0;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* A logo with a website is wrapped in a link to it. Full width, so the image's
   max-width: 100% still resolves against the cell and not against a shrink-to-fit link. */
.clients-cell-logo a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.clients-cell-logo a:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 6px;
}

.clients-cell-logo img {
	display: block;
	width: auto;
	height: 44px;
	max-width: 100%;
	object-fit: contain;
}

/* Between the columns' stacking point (782px) and 1200px, five subcategory columns inside
   an 80% panel leave cells about 130px wide, and a long wordmark (Wandercraft, Oh My Cream)
   fell to 7px tall. Here the category name goes above its panel, so the five columns get
   the full width back. The inline `flex-basis` set by the Columns block needs !important. */
@media (min-width: 782px) and (max-width: 1199px) {
	.clients-category-row.wp-block-columns {
		flex-wrap: wrap !important;
		row-gap: 16px;
	}

	.clients-category-row > .clients-category-label-col,
	.clients-category-row > .clients-category-content-col {
		flex-basis: 100% !important;
	}
}

.clients-flat-grid {
	gap: 16px;
}

/* Five columns held at every width squeezed the client names to 58px. */
@media (max-width: 900px) {
	.clients-flat-grid.is-layout-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.clients-flat-grid.is-layout-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Component: Expertise Clients — see docs/components/clients-page.md, « Les clients sur les pages d'expertise »
   Up to three cells from /nos-clients/, copied block for block, so they inherit
   .clients-cell / .clients-cell-logo / .clients-cell-name. Always three tracks: one or two
   clients sit at a third of the width each instead of stretching across the page. */
.expertise-clients {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 32px;
}

.expertise-clients .clients-cell {
	min-height: 120px;
	padding: 20px;
}

/* 56px tall, but no wider than 180px: a 5:1 wordmark (Electra) at full height would be
   290px wide and outweigh a 2:1 logo (Waat) next to it. The width cap shrinks the long
   ones; `contain` keeps their proportions. */
.expertise-clients .clients-cell-logo img {
	height: 56px;
	max-width: min(100%, 180px);
}

@media (max-width: 600px) {
	.expertise-clients {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}
}

/* Component: Service Page Intro — see docs/components/service-page-intro.md
   Shared two-panel intro for the four "Nos Services" pages. */
.service-intro {
	gap: 64px;
	align-items: flex-start;
	margin: 0 0 64px;
}

.service-intro-heading {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--wp--preset--color--primary);
	margin: 0;
}

.service-intro-heading-accent {
	color: var(--wp--preset--color--accent);
}

/* Specificity has to beat core's `.wp-block-separator:not(.is-style-wide):not(.is-style-dots) { width: 100px }` */
.service-intro-left .wp-block-separator.service-intro-divider {
	width: 100%;
	max-width: none;
	height: 0;
	background: none;
	border: none;
	border-top: 1px solid #d8d6d3;
	opacity: 1;
	margin: 28px 0;
}

.service-intro-right p {
	color: var(--wp--preset--color--primary);
	line-height: 1.6;
	margin: 0 0 20px;
}

.service-intro-right p:last-child {
	margin-bottom: 0;
}

/* Component: Service Financers Rows — see docs/components/service-financers-rows.md
   Alternating text/image rows, used under a service page's section heading. */
.service-section-heading {
	font-size: 2rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0 0 48px;
}

.financer-row {
	gap: 56px;
	align-items: center;
	margin: 0 0 72px;
}

.financer-row:last-child {
	margin-bottom: 0;
}

/* Only flip above WP's own columns breakpoint, so stacked mobile rows always read text-first */
@media (min-width: 782px) {
	.financer-row.financer-row-reversed {
		flex-direction: row-reverse;
	}
}

.financer-name {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0 0 16px;
}

.financer-text p {
	color: var(--wp--preset--color--primary);
	line-height: 1.6;
	margin: 0 0 16px;
}

.financer-text p:last-child {
	margin-bottom: 0;
}

.financer-image .wp-block-image {
	margin: 0;
}

.financer-image img {
	display: block;
	width: 100%;
	height: auto;
}

/* Service and expertise pages run at the same gutter as the homepage instead of the page
   template's 800px constrained width. The `is-wide-page` class is added in functions.php
   (custom_site_theme_wide_page_body_class) so new expertise pages at any depth are
   covered automatically — see docs/components/service-page-intro.md */
body.is-wide-page .entry-content,
body.is-wide-page .page-title {
	max-width: 100%;
}

body.is-wide-page .page-main {
	padding-left: clamp(20px, 5.35vw, 64px);
	padding-right: clamp(20px, 5.35vw, 64px);
}

/* Component: Service Case Studies — see docs/components/service-case-studies.md */
.service-cases {
	margin-top: 96px;
	padding-top: 64px;
	border-top: 1px solid #e5e5e5;
}

.service-cases .service-section-heading {
	margin-bottom: 20px;
}

.service-cases-intro {
	max-width: 900px;
	color: var(--wp--preset--color--primary);
	opacity: 0.75;
	line-height: 1.6;
	margin: 0 0 48px;
}

.case-cards {
	gap: 32px;
}

.case-card {
	display: flex;
	flex-direction: column;
	background-color: #F5F4F2;
	border-top: 4px solid var(--wp--preset--color--accent);
	padding: 32px;
}

.case-card-logo {
	margin: 0 0 24px;
}

.case-card-logo img {
	display: block;
	max-width: 140px;
	height: auto;
}

.case-card-name {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0 0 12px;
}

/* flex-grow keeps every card's button on the same baseline whatever the summary length */
.case-card-summary {
	flex-grow: 1;
	color: var(--wp--preset--color--primary);
	opacity: 0.75;
	line-height: 1.5;
	margin: 0 0 24px;
}

.case-card-button .wp-block-button__link {
	padding: 10px 20px;
	font-size: 0.875rem;
}

/* Component: Team Section — see docs/components/team-section.md */
.service-team {
	margin-top: 96px;
	padding-top: 64px;
	border-top: 1px solid #e5e5e5;
}

.service-team .service-section-heading {
	margin-bottom: 20px;
}

.service-team-intro {
	max-width: 900px;
	color: var(--wp--preset--color--primary);
	opacity: 0.75;
	line-height: 1.6;
	margin: 0 0 48px;
}

/* Auto-fill grid rather than fixed columns, so the row absorbs however many
   members a given page's team ends up having without a layout change */
.team-grid {
	gap: 32px;
}

.team-member-photo {
	margin: 0 0 16px;
}

.team-member-photo img {
	display: block;
	width: 100%;
	height: auto;
}

.team-member-name {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0 0 4px;
}

.team-member-role {
	color: var(--wp--preset--color--primary);
	opacity: 0.7;
	font-size: 0.9375rem;
	line-height: 1.4;
	margin: 0;
}

/* Component: FAQ — see docs/components/faq.md */
.faq-section {
	margin-top: 96px;
	padding-top: 64px;
	border-top: 1px solid #e5e5e5;
}

.faq-intro {
	max-width: 900px;
	color: var(--wp--preset--color--primary);
	opacity: 0.75;
	line-height: 1.6;
	margin: 0 0 32px;
}

.faq-search {
	max-width: 560px;
	margin: 0 0 48px;
}

.faq-search-input {
	width: 100%;
	box-sizing: border-box;
	padding: 14px 18px;
	font: inherit;
	font-size: 1rem;
	color: var(--wp--preset--color--primary);
	background: var(--wp--preset--color--background);
	border: 1px solid #d8d6d3;
	border-radius: 0;
}

.faq-search-input:focus {
	outline: none;
	border-color: var(--wp--preset--color--accent);
}

.faq-search-input::placeholder {
	color: var(--wp--preset--color--primary);
	opacity: 0.5;
}

.faq-search-empty {
	color: var(--wp--preset--color--primary);
	opacity: 0.7;
	font-style: italic;
	margin: 0 0 32px;
}

.faq-search-empty a {
	color: var(--wp--preset--color--accent);
	font-weight: 700;
}

/* Top-level "Services" / "Expertises" sections on the FAQ page */
.faq-supergroup {
	border-top: 2px solid var(--wp--preset--color--primary);
	margin: 0 0 8px;
}

.faq-supergroup > summary {
	cursor: pointer;
	list-style: none;
	position: relative;
	padding: 24px 48px 24px 0;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
}

.faq-supergroup > summary::-webkit-details-marker {
	display: none;
}

.faq-supergroup > summary::after {
	content: "+";
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 2rem;
	font-weight: 400;
	line-height: 1;
	color: var(--wp--preset--color--accent);
}

.faq-supergroup[open] > summary::after {
	/* Escaped for the same reason as the arrow in `design-lab.css`: the server sends
	   no charset with `text/css`. `\2013` is an en dash and is encoding-proof. */
	content: "\2013";
}

.faq-supergroup > summary:hover {
	color: var(--wp--preset--color--accent);
}

.faq-supergroup-inner {
	padding: 8px 0 32px;
}

.faq-group {
	margin: 0 0 48px;
}

.faq-group:last-child {
	margin-bottom: 0;
}

.faq-group-heading {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--wp--preset--color--accent);
	margin: 0 0 16px;
}

.faq-list {
	max-width: 900px;
}

.faq-item {
	border-bottom: 1px solid #e5e5e5;
	padding: 0;
}

.faq-item > summary {
	cursor: pointer;
	list-style: none;
	padding: 20px 40px 20px 0;
	position: relative;
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
}

.faq-item > summary::-webkit-details-marker {
	display: none;
}

/* Own marker so the open/closed affordance matches the brand rather than the browser default */
.faq-item > summary::after {
	content: "+";
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1;
	color: var(--wp--preset--color--accent);
}

.faq-item[open] > summary::after {
	/* Escaped for the same reason as the arrow in `design-lab.css`: the server sends
	   no charset with `text/css`. `\2013` is an en dash and is encoding-proof. */
	content: "\2013";
}

.faq-item > summary:hover {
	color: var(--wp--preset--color--accent);
}

.faq-item p {
	color: var(--wp--preset--color--primary);
	opacity: 0.8;
	line-height: 1.6;
	margin: 0 0 20px;
	padding-right: 40px;
}

/* Sits under the question list, aligned with it rather than centred on the page,
   because the list is capped at 900px inside a much wider content area */
/* "Voir la page" under an answer on the FAQ page — links to the page, not to the
   question on it, so no anchor and no scroll */
.faq-item-link {
	margin: 0 0 20px;
}

.faq-item-link a {
	display: inline-block;
	color: var(--wp--preset--color--accent);
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid var(--wp--preset--color--accent);
	padding: 6px 14px;
}

.faq-item-link a:hover {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--background);
}

.faq-cta-wrap {
	margin: 32px 0 0;
}

/* Component: Service Text Blocks — see docs/components/service-text-blocks.md
   The no-image variant of [[service-financers-rows]]: title + prose, full width. */
.service-text-block {
	max-width: 900px;
	margin: 0 0 48px;
}

.service-text-block:last-child {
	margin-bottom: 0;
}

.service-text-block-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0 0 16px;
}

.service-text-block p {
	color: var(--wp--preset--color--primary);
	line-height: 1.7;
	margin: 0 0 16px;
}

.service-text-block p:last-child {
	margin-bottom: 0;
}

/* Optional intro paragraph under the "Nos derniers articles" heading (service pages
   have one, the homepage doesn't) — see docs/components/latest-articles.md */
.articles-intro {
	max-width: 900px;
	color: var(--wp--preset--color--primary);
	opacity: 0.75;
	line-height: 1.6;
	margin: 0 0 40px;
}

.latest-articles:has(.articles-intro) .articles-heading {
	margin-bottom: 16px;
}

/* Wide visual instead of a logo in a case card — see docs/components/service-case-studies.md */
.case-card-visual {
	margin: 0 0 24px;
}

.case-card-visual img {
	display: block;
	width: 100%;
	height: auto;
}

/* Sub-heading + lead inside a larger section (e.g. "Nos accompagnements spécifiques"
   inside "Ce que nous faisons pour vous") — see docs/components/pilotage-financier-page.md */
.service-subsection-heading {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 72px 0 12px;
}

.service-subsection-intro {
	max-width: 900px;
	color: var(--wp--preset--color--primary);
	opacity: 0.75;
	line-height: 1.6;
	margin: 0 0 48px;
}

/* Component: Expertise Category Page — see docs/components/expertise-category-page.md */
.expertise-intro {
	max-width: 1000px;
	color: var(--wp--preset--color--primary);
	line-height: 1.7;
	margin: 0 0 48px;
}

/* Shared button row: categories on the /expertises/ landing page, subcategories on a
   category page. Wraps rather than scrolls, since the counts differ. */
.expertise-subcats,
.expertise-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0 0 64px;
}

.expertise-subcats .wp-block-button,
.expertise-categories .wp-block-button {
	margin: 0;
}

.expertise-subcats .wp-block-button__link,
.expertise-categories .wp-block-button__link {
	padding: 14px 28px;
}

/* "Explorez nos offres" under the hero text on every subcategory page */
/* The 17 expertise sub-pages ended their hero with one button, "Explorez nos offres >",
   pointing at a landing page whose only content was three links. Since 2026-09-01 the
   three destinations sit here instead — one click instead of two.
   See docs/components/nos-services-page.md.

   Three outline buttons were tried first and did not fit: the hero's right column is
   609px and the buttons measured 238 + 230 + 250 plus two 24px gaps = 766px, so they
   wrapped 2 + 1. This is the homepage hero's own `.hero-shortcuts` line rebuilt for a
   white ground — the same shape the user asked to see reused across the site.

   The selector is doubled because `.subcat-hero-text p` (0,1,1) sets `margin: 0` and
   outranks a lone class; the second form is 0,2,0 and wins wherever it sits in the
   file. Source order has cost this project six rules already. */
.subcat-hero-shortcuts,
.subcat-hero-text .subcat-hero-shortcuts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
	margin: 28px 0 0;
	font-size: 0.875rem;
	line-height: 1.4;
}

.subcat-hero-shortcuts strong {
	font-weight: 600;
	color: var(--ink-soft, rgba(51, 51, 51, 0.68));
}

.subcat-hero-shortcuts a {
	padding-bottom: 2px;
	border-bottom: 1px solid rgba(255, 147, 30, 0.55);
	color: var(--wp--preset--color--primary);
	text-decoration: none;
	transition: color 0.28s ease, border-color 0.28s ease;
}

/* `--accent` is the readable orange (#A85B00, 5.05:1 on white), not the brand's
   #FF931E, which is 2.22:1 and unreadable as text. The fallback repeats the value so
   this rule holds even if main.css is ever loaded without design-lab.css. */
.subcat-hero-shortcuts a:hover,
.subcat-hero-shortcuts a:focus-visible {
	color: var(--accent, #A85B00);
	border-bottom-color: var(--accent, #A85B00);
}

/* Impact's category page introduces its subcategory row with a heading and a lead-in
   line; the other three categories go straight from intro to buttons. The heading's
   default 48px gap is too wide when a line of its own text follows it. */
.expertise-subcats-heading {
	margin-bottom: 12px;
}

.expertise-subcats-lead {
	max-width: 1000px;
	color: var(--wp--preset--color--primary);
	line-height: 1.7;
	margin: 0 0 32px;
}

/* A section whose heading arrived without its content. Kept visible and obviously
   unfinished rather than dropped, per the standing "leave odd copy in place" rule.
   Was `.expertise-subcats-placeholder`, renamed when Énergie & Transition needed the
   same treatment for its empty "Ils nous ont fait confiance" band. */
.reserved-slot {
	color: var(--wp--preset--color--primary);
	opacity: 0.6;
	font-style: italic;
	border: 1px dashed #d8d6d3;
	padding: 24px;
	margin: 0 0 64px;
}

/* Component: Expertise Subcategory Page — see docs/components/expertise-subcategory-page.md */
.subcat-hero {
	gap: 64px;
	align-items: flex-start;
	margin: 0 0 80px;
}

.subcat-hero-title {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--wp--preset--color--primary);
	margin: 0;
}

.subcat-hero-text p {
	color: var(--wp--preset--color--primary);
	line-height: 1.7;
	margin: 0;
}

/* Key figures: number in accent above its label, panels equal width */
.subcat-stats {
	gap: 32px;
	margin: 0 0 80px;
}

.subcat-stat {
	background-color: #F5F4F2;
	border-top: 4px solid var(--wp--preset--color--accent);
	padding: 32px;
}

.subcat-stat-number {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.1;
	color: var(--wp--preset--color--accent);
	margin: 0 0 12px;
}

/* Some "figures" are a phrase rather than a number ("Accélérateur Aéronautique"), which
   breaks mid-word at 2.5rem. Add this class to those. */
.subcat-stat-number.is-text {
	font-size: 1.5rem;
	line-height: 1.25;
}

.subcat-stat-label {
	color: var(--wp--preset--color--primary);
	opacity: 0.75;
	line-height: 1.5;
	margin: 0;
}

/* "Publics cibles" / "Acteurs de la chaîne" pair */
.subcat-audience {
	gap: 32px;
	margin: 40px 0 80px;
}

.subcat-audience-panel {
	background-color: #F5F4F2;
	border-left: 4px solid var(--wp--preset--color--accent);
	padding: 28px 32px;
}

/* Four panels in one row get narrow and force their titles to wrap. `is-grid-2` lays
   them out 2×2 instead.

   Switching the container to grid rather than fighting core's flex rules: core sets
   `.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: 0 }`
   at the same specificity as anything reasonable here, and wins on source order. Grid
   items ignore flex-basis outright, so the layout stops depending on that battle. */
.subcat-audience.is-grid-2 {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
}

@media (max-width: 781px) {
	.subcat-audience.is-grid-2 {
		grid-template-columns: 1fr;
	}
}

.subcat-audience-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0 0 12px;
}

.subcat-audience-text {
	color: var(--wp--preset--color--primary);
	opacity: 0.8;
	line-height: 1.6;
	margin: 0;
}

.subcat-list {
	max-width: 900px;
	margin: 0 0 24px;
	padding-left: 22px;
	color: var(--wp--preset--color--primary);
	line-height: 1.7;
}

.subcat-list li {
	margin-bottom: 16px;
}

/* Component: Blog Index — see docs/components/blog-page.md */

.blog-intro {
	max-width: 780px;
	line-height: 1.7;
	margin: 0 0 40px;
}

/* Real links, one per thème, so a filtered view has its own address. */
.blog-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 32px;
}

.blog-filter {
	padding: 8px 18px;
	border: 1px solid #d8d6d3;
	border-radius: 999px;
	color: var(--wp--preset--color--primary);
	font-size: 0.875rem;
	text-decoration: none;
	transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.blog-filter:hover,
.blog-filter:focus-visible {
	border-color: var(--wp--preset--color--accent);
}

.blog-filter.is-active {
	border-color: var(--wp--preset--color--accent);
	background-color: var(--wp--preset--color--accent);
	color: #fff;
}

/* minmax(0, 1fr), never a bare 1fr — see the responsive floor in design-tokens.md */
.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px 32px;
	margin: 0 0 48px;
}

.blog-card-media {
	display: block;
	margin-bottom: 16px;
}

.blog-card-media img {
	display: block;
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.blog-card-theme {
	margin: 0 0 8px;
	color: var(--wp--preset--color--accent);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.blog-card-title {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 10px;
}

.blog-card-title a {
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}

.blog-card-title a:hover,
.blog-card-title a:focus-visible {
	color: var(--wp--preset--color--accent);
}

.blog-card-synopsis {
	margin: 0;
	color: var(--wp--preset--color--primary);
	opacity: 0.75;
	line-height: 1.6;
}

.blog-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: center;
	margin-bottom: 32px;
}

.blog-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border-radius: 4px;
	color: var(--wp--preset--color--primary);
	font-size: 0.9375rem;
	text-decoration: none;
}

.blog-pagination a.page-numbers:hover,
.blog-pagination a.page-numbers:focus-visible {
	background-color: #f5f4f2;
	color: var(--wp--preset--color--accent);
}

.blog-pagination .page-numbers.current {
	background-color: var(--wp--preset--color--accent);
	color: #fff;
	font-weight: 700;
}

.blog-pagination .page-numbers.dots {
	min-width: 0;
	padding: 0 2px;
	opacity: 0.5;
}

.blog-empty {
	padding: 32px;
	border: 1px dashed #d8d6d3;
	color: var(--wp--preset--color--primary);
	opacity: 0.7;
	font-style: italic;
}

@media (max-width: 900px) {
	.blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.blog-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}
}

/* ------------------------------------------------------------------------- */
/* Component: Article, archive, search and 404 templates                      */
/* See docs/components/article-and-fallback-templates.md                      */
/*                                                                            */
/* These four templates exist because making blog articles clickable created  */
/* four addresses with no template of their own: an article, a category       */
/* archive, a search result page and a 404. All of them fell back to a bare   */
/* index.html — no gutter, no layout, text flush against the window edge.     */
/* ------------------------------------------------------------------------- */

/* --- Shared: listing pages (archive, search, index fallback) --- */

.listing-title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	line-height: 1.2;
	color: var(--wp--preset--color--primary);
	margin: 0 0 24px;
}

/* wp:query-title prints the label ("Catégorie :") in a span it gives no class. */
.listing-title span {
	font-weight: 400;
	opacity: 0.6;
}

.listing-back {
	margin: 40px 0 0;
}

.listing-back a,
.single-article-back a {
	color: var(--wp--preset--color--primary);
	font-size: 0.9375rem;
	text-decoration: none;
	opacity: 0.7;
}

.listing-back a:hover,
.listing-back a:focus-visible,
.single-article-back a:hover,
.single-article-back a:focus-visible {
	color: var(--wp--preset--color--accent);
	opacity: 1;
}

/* The archive and index templates reuse the blog index's card, built from core
   blocks rather than the shortcode. These fill the gaps between the two. */
.blog-card-media.wp-block-post-featured-image {
	margin: 0 0 16px;
}

.blog-card-synopsis .wp-block-post-excerpt__excerpt {
	margin: 0;
}

/* Prev/next are not `.page-numbers`, so the blog pagination rules miss them. */
.blog-pagination .wp-block-query-pagination-previous,
.blog-pagination .wp-block-query-pagination-next {
	color: var(--wp--preset--color--primary);
	font-size: 0.9375rem;
	text-decoration: none;
}

.blog-pagination .wp-block-query-pagination-previous:hover,
.blog-pagination .wp-block-query-pagination-previous:focus-visible,
.blog-pagination .wp-block-query-pagination-next:hover,
.blog-pagination .wp-block-query-pagination-next:focus-visible {
	color: var(--wp--preset--color--accent);
}

/* --- Single article --- */

.single-article-back {
	margin: 0 0 32px;
}

.single-article-theme {
	margin: 0 0 12px;
	color: var(--wp--preset--color--accent);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.single-article-theme a {
	color: inherit;
	text-decoration: none;
}

.single-article-theme a:hover,
.single-article-theme a:focus-visible {
	text-decoration: underline;
}

.single-article-title {
	font-size: clamp(1.875rem, 5vw, 3rem);
	font-weight: 700;
	line-height: 1.15;
	color: var(--wp--preset--color--primary);
	margin: 0 0 16px;
}

.single-article-date {
	margin: 0 0 40px;
	color: var(--wp--preset--color--primary);
	font-size: 0.875rem;
	opacity: 0.6;
}

.single-article-image {
	margin: 0 0 48px;
}

.single-article-image img {
	display: block;
	width: 100%;
	height: auto;
}

.single-article-content {
	font-size: 1.0625rem;
	line-height: 1.75;
}

.single-article-content > * {
	margin-top: 0;
	margin-bottom: 24px;
}

.single-article-content h2 {
	font-size: 1.625rem;
	font-weight: 700;
	line-height: 1.3;
	margin-top: 48px;
	margin-bottom: 16px;
}

.single-article-content h3 {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.35;
	margin-top: 36px;
	margin-bottom: 12px;
}

.single-article-content a {
	color: var(--wp--preset--color--primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.single-article-content a:hover,
.single-article-content a:focus-visible {
	color: var(--wp--preset--color--accent);
}

.single-article-content img {
	max-width: 100%;
	height: auto;
}

.single-article-content blockquote {
	margin: 32px 0;
	padding-left: 24px;
	border-left: 3px solid var(--wp--preset--color--accent);
	font-style: italic;
}

.single-article-nav {
	gap: 24px;
	margin-top: 64px;
	padding-top: 32px;
	border-top: 1px solid #e5e3e0;
}

.single-article-nav .wp-block-post-navigation-link {
	/* minmax(0, …) in spirit: without this the two links refuse to wrap and
	   overflow the measure on a phone. */
	flex: 1 1 240px;
	min-width: 0;
	font-size: 0.9375rem;
}

.single-article-nav .post-navigation-link-next {
	text-align: right;
}

.single-article-nav a {
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}

.single-article-nav a:hover,
.single-article-nav a:focus-visible {
	color: var(--wp--preset--color--accent);
}

/* --- Search --- */

/* There is no search box in the header, so this form is the only way in.
   See docs/components/article-and-fallback-templates.md

   No max-width. In a "constrained" layout every child is centred with
   `margin-inline: auto !important`, so a child narrower than the column centres
   itself *inside* the column and stops lining up with the heading above it —
   and !important means no override wins. Matching the column is the fix. */
.site-search-form {
	display: flex;
	margin: 0 0 48px;
}

.site-search-form .wp-block-search__input {
	padding: 12px 16px;
	border: 1px solid #d8d6d3;
	border-radius: 4px 0 0 4px;
	color: var(--wp--preset--color--primary);
	font-family: inherit;
	font-size: 1rem;
	min-width: 0;
}

.site-search-form .wp-block-search__input:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 1px;
}

.site-search-form .wp-block-search__button {
	margin-left: 0;
	padding: 12px 24px;
	border: 0;
	border-radius: 0 4px 4px 0;
	background-color: var(--wp--preset--color--primary);
	color: #fff;
	font-family: inherit;
	font-size: 0.9375rem;
	cursor: pointer;
}

.site-search-form .wp-block-search__button:hover,
.site-search-form .wp-block-search__button:focus-visible {
	background-color: var(--wp--preset--color--accent);
}

ul.search-results-list {
	list-style: none;
	margin: 0 0 48px;
	padding: 0;
}

.search-results-list > li {
	list-style: none;
}

.search-result {
	padding: 24px 0;
	border-bottom: 1px solid #e5e3e0;
}

.search-result-title {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 8px;
}

.search-result-title a {
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}

.search-result-title a:hover,
.search-result-title a:focus-visible {
	color: var(--wp--preset--color--accent);
}

.search-result-excerpt,
.search-result-excerpt .wp-block-post-excerpt__excerpt {
	margin: 0;
	color: var(--wp--preset--color--primary);
	opacity: 0.75;
	line-height: 1.6;
}

/* --- 404 --- */

.error-404-main {
	padding-top: 96px;
	padding-bottom: 128px;
}

.error-404-code {
	margin: 0 0 12px;
	color: var(--wp--preset--color--accent);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.error-404-title {
	font-size: clamp(1.875rem, 5vw, 3rem);
	font-weight: 700;
	line-height: 1.15;
	color: var(--wp--preset--color--primary);
	margin: 0 0 20px;
}

.error-404-text {
	/* No max-width — see the note on .site-search-form above. */
	margin: 0 0 40px;
	line-height: 1.7;
	opacity: 0.8;
}

/* `.error-404-links` (the five page links) removed with them on 2026-11-26. The 404
   now runs the build look: design-lab.css S14. */



/* The archive/index templates render the grid with core's Post Template block, which
   emits a <ul>. The shortcode on the blog page emits a <div>, so the blog-index rules
   never had to cover list semantics — these two fill that gap.
   The 24px top margin is core's flow-layout rule, and it lands on every item except the
   first, so one card in each row sat 24px higher than its neighbours. */
ul.blog-grid {
	list-style: none;
	padding: 0;
}

ul.blog-grid > li {
	list-style: none;
	margin: 0;
}

/* wp:post-terms renders each thème as a link; without this it arrives as default
   browser blue with an underline, in a row meant to read as a small orange label. */
.blog-card-theme a {
	color: inherit;
	text-decoration: none;
}

.blog-card-theme a:hover,
.blog-card-theme a:focus-visible {
	text-decoration: underline;
}

/* The footer search field and its rules were removed on 2026-11-26 (user request).
   See docs/components/footer.md. */
