/* ==========================================================================
   France Reno, feuille de style du thème
   Sommaire : 1. Fondations  2. Mise en page  3. Typographie  4. En-tête
   5. Pied de page  6. Sections  7. Pages de texte  8. Adaptations écran
   ========================================================================== */

/* 1. Fondations ---------------------------------------------------------- */
:root {
	--fr-encre: #242324;
	--fr-or: #F8CC58;
	--fr-or-clair: #FDF3D6;
	--fr-pierre: #F7F2E9;
	--fr-pierre-fort: #EFE7D8;
	--fr-gris: #5C5A5B;
	--fr-gris-texte: #4A4849;
	--fr-gris-fonce: #3B393A;
	--fr-gris-legende: #6B696A;
	--fr-trait: #ECE5D9;
	--fr-trait-fort: #DCD2C1;
	--fr-trait-pierre: #D6CAB6;
	--fr-clair-sur-encre: #CFCBC6;
	--fr-serif: "Castoro FR", Georgia, serif;
	--fr-sans: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
	--fr-marge: clamp(20px, 5vw, 72px);
	--fr-pad: clamp(88px, 11vw, 152px);
	--fr-r-l: 12px;
	--fr-r: 8px;
	--fr-r-s: 6px;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }
a { text-underline-offset: 3px; }
a:hover { color: #000; }
:focus-visible { outline: 2px solid var(--fr-encre); outline-offset: 3px; }
.fr-section--encre :focus-visible, .fr-footer :focus-visible { outline-color: var(--fr-or); }

.fr-main { display: block; }

/* 2. Mise en page -------------------------------------------------------- */
.fr-wrap {
	max-width: 1360px;
	margin-inline: auto !important;
	padding-inline: var(--fr-marge);
	box-sizing: border-box;
}
.fr-section { margin: 0; }
.fr-section--pierre { background: var(--fr-pierre); }
.fr-section--encre { background: var(--fr-encre); color: #fff; }
.fr-section--or { background: var(--fr-or); }
.fr-section--trait { border-top: 1px solid var(--fr-trait); }
.fr-pad { padding-block: var(--fr-pad); }
.fr-pad-hero { padding-block: clamp(48px, 7vw, 104px) clamp(64px, 8vw, 120px); }
.fr-pad-secteur { padding-block: clamp(28px, 3.5vw, 44px) clamp(72px, 9vw, 128px); }
.fr-pad-bas { padding-bottom: var(--fr-pad); }
.fr-pad-or { padding-block: clamp(80px, 10vw, 136px); }

.fr-stack { display: flex; flex-direction: column; gap: 22px; }
.fr-stack--s { gap: 12px; }
.fr-stack--m { gap: 22px; }
.fr-stack--l { gap: 32px; }
.fr-stack > * { margin: 0; }

.fr-split {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: 32px;
	row-gap: 48px;
}
.fr-split > :nth-child(1) { grid-column: 1 / span 5; }
.fr-split > :nth-child(2) { grid-column: 7 / span 6; }
.fr-split > * { margin: 0; }
.fr-split--bas { align-items: start; }
/* Le haut des lettres du titre et celui du texte sur la même ligne */
.fr-split--bas > p.fr-texte { margin-top: -5px; }
.fr-split--bas > .fr-annee { margin-top: calc(0.045em + 4px); }
.fr-split--centre { align-items: center; }
.fr-split--titre-large { row-gap: clamp(24px, 3vw, 36px); }
.fr-split--titre-large > :nth-child(1) { grid-column: 1 / -1; max-width: 15em; }
.fr-split--titre-large > :nth-child(2) { grid-column: 1 / span 7; }
.fr-entete { margin-bottom: clamp(48px, 6vw, 80px) !important; }

.fr-ligne { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; }
.fr-ligne > * { margin: 0; }

/* 3. Typographie --------------------------------------------------------- */
.fr-h1, .fr-h2, .fr-h3 { font-family: var(--fr-serif); font-weight: 600; margin: 0; }
.fr-h1 { font-size: clamp(42px, 5.4vw, 80px); line-height: 1.03; letter-spacing: -0.015em; }
.fr-h2 { font-size: clamp(32px, 3.5vw, 52px); line-height: 1.08; letter-spacing: -0.01em; }
.fr-h2--xl { font-size: clamp(40px, 4.6vw, 68px); line-height: 1; letter-spacing: -0.015em; }
.fr-h2--m { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.1; }
.fr-h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; }
.fr-h3-sans { font-family: var(--fr-sans); font-size: 19px; font-weight: 600; line-height: 1.3; margin: 0; }
.fr-lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--fr-gris-texte); max-width: 34em; margin: 0; }
.fr-texte { font-size: 18px; line-height: 1.65; color: var(--fr-gris-fonce); margin: 0; }
.fr-texte-s { font-size: 16px; line-height: 1.6; color: var(--fr-gris-texte); margin: 0; }
.fr-mesure { max-width: 28em; }
.fr-label { font-size: 15px; font-weight: 500; color: var(--fr-gris); margin: 0; }
.fr-note { font-size: 16px; line-height: 1.6; color: var(--fr-gris); margin: 0; }
.fr-note--equipe { margin-top: clamp(28px, 3vw, 40px) !important; }
.fr-legende, .wp-element-caption { font-size: 13px; line-height: 1.4; color: var(--fr-gris-legende); }
.fr-chiffres { font-variant-numeric: lining-nums; }

a.fr-more, .fr-more a {
	display: inline-block;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 3px;
	font-size: 16px;
	font-weight: 500;
	color: inherit;
}
.fr-more--or a, a.fr-more--or { color: var(--fr-or); }
.fr-more--or a:hover { color: #fff; }
.fr-liens-inline { display: flex; flex-wrap: wrap; gap: 16px 32px; }

.fr-section--encre .fr-h2, .fr-section--encre .fr-h3 { color: #fff; }
.fr-section--encre .fr-texte, .fr-section--encre .fr-texte-s { color: var(--fr-clair-sur-encre); }


/* 4. En-tête ------------------------------------------------------------- */
.fr-header { background: #fff; position: relative; z-index: 50; }
.fr-header-inner { height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.fr-header-inner > * { margin: 0 !important; }
.fr-logo { display: inline-flex; }
.fr-logo img { display: block; width: 135px; height: auto; }

.fr-nav { font-size: 15px; font-weight: 500; }
.fr-nav .wp-block-navigation__container { gap: 40px; }
.fr-nav .wp-block-navigation-item__content { text-decoration: none; padding-block: 10px; border-bottom: 1px solid transparent; }
.fr-nav .wp-block-navigation-item__content:hover,
.fr-nav .fr-actif > .wp-block-navigation-item__content,
.fr-nav .current-menu-item > .wp-block-navigation-item__content { border-bottom-color: var(--fr-encre); }
.fr-nav .wp-block-navigation__submenu-icon { margin-left: 6px; width: 12px; height: 12px; }
.fr-nav .wp-block-navigation__submenu-container {
	border: 1px solid var(--fr-trait) !important;
	background: #fff !important;
	padding: 10px 0 !important;
	min-width: 260px !important;
	box-shadow: 0 18px 40px -24px rgba(36, 35, 36, 0.35);
}
.fr-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 10px 22px !important;
	border-bottom: 0;
	font-weight: 400;
}
.fr-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--fr-pierre); }
.fr-nav .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container { padding: 0 0 6px !important; border: 0 !important; box-shadow: none; position: static !important; opacity: 1 !important; visibility: visible !important; width: auto !important; height: auto !important; min-width: 0 !important; }
.fr-nav .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding-left: 38px !important; color: var(--fr-gris-texte); }
.fr-nav .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon { display: none; }
.fr-nav .wp-block-navigation__submenu-container .wp-block-navigation-item.has-child { flex-direction: column; align-items: stretch; }
.fr-nav .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon { display: none; }

.fr-nav .wp-block-navigation__responsive-container-open,
.fr-nav .wp-block-navigation__responsive-container-close { border: 1px solid var(--fr-trait-fort); width: 44px; height: 44px; align-items: center; justify-content: center; background: #fff; }
.fr-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { display: inline-flex; }
@media (max-width: 599px) { .fr-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: inline-flex; } }
.fr-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 24px var(--fr-marge) 40px; --navigation-layout-justification-setting: flex-start; }
.fr-nav .is-menu-open .wp-block-navigation__container, .fr-nav .is-menu-open .wp-block-navigation-item { align-items: flex-start !important; }
.fr-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 72px; }
.fr-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 6px; font-family: var(--fr-serif); font-size: 28px; font-weight: 600; }
.fr-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { font-family: var(--fr-sans); font-size: 17px; font-weight: 400; border: 0 !important; box-shadow: none; padding: 4px 0 12px !important; min-width: 0 !important; }
.fr-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 6px 0 !important; }
.fr-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding-left: 18px !important; }

/* 5. Pied de page -------------------------------------------------------- */
.fr-footer { background: var(--fr-encre); color: #fff; }
.fr-footer-inner { padding-block: clamp(72px, 8vw, 112px) 40px; }
.fr-footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 56px 72px; }
.fr-footer-brand { flex: 1 1 300px; max-width: 400px; }
.fr-footer-brand p { margin: 28px 0 0; font-size: 16px; line-height: 1.6; color: var(--fr-clair-sur-encre); }
.fr-footer-logo { display: block; height: 54px; width: auto; }
.fr-footer-cols { display: flex; flex-wrap: wrap; gap: 48px 80px; font-size: 15px; line-height: 1.5; }
.fr-footer-title { font-family: var(--fr-sans) !important; font-size: 14px !important; font-weight: 500 !important; color: var(--fr-or); margin: 0 0 18px !important; line-height: 1.4 !important; }
.fr-footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.fr-footer a { color: #fff; text-decoration: none; }
.fr-footer a:hover { color: var(--fr-or); }
.fr-footer-adresse { margin: 0; }
.fr-footer-muted { margin: 12px 0 0; color: var(--fr-clair-sur-encre); }
.fr-footer-bottom { margin-top: 72px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; font-size: 14px; color: #A9A5A0; }
.fr-footer-bottom p { margin: 0; }
.fr-footer-legal { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.fr-footer-legal a { color: #A9A5A0; }

/* 6. Sections ------------------------------------------------------------ */

/* Ouverture de l'accueil et des pages secteur */
.fr-hero { display: flex; flex-wrap: wrap; align-items: flex-end; gap: clamp(40px, 6vw, 96px); }
.fr-hero > * { margin: 0; }
.fr-hero-text { flex: 1 1 520px; min-width: 0; }
.fr-hero-text .fr-lead { margin-top: 32px; }
.fr-hero-photo { flex: 1 1 440px; min-width: 0; margin: 0; }
.fr-hero-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--fr-trait); border-radius: var(--fr-r-l); }
.fr-hero-photo--paysage img { aspect-ratio: 5 / 4; }
.fr-hero-photo figcaption { margin-top: 12px; }

.fr-facts {
	margin-top: 56px !important;
	padding-top: 28px;
	border-top: 1px solid var(--fr-trait);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 24px 32px;
}
.fr-fact > * { margin: 0; }
.fr-fact-v { font-family: var(--fr-serif); font-weight: 600; font-size: 24px; line-height: 1.2; font-variant-numeric: lining-nums; }
.fr-fact-l { margin-top: 8px !important; font-size: 15px; line-height: 1.45; color: var(--fr-gris); }
.fr-facts--grand { margin-top: clamp(56px, 7vw, 96px) !important; padding-top: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.fr-facts--grand .fr-fact-v { font-size: clamp(26px, 2.1vw, 30px); line-height: 1.1; }
.fr-facts--grand .fr-fact-l { margin-top: 10px !important; }

/* Intitulé au-dessus du bandeau de logos */
.fr-bandeau-titre { margin-bottom: 28px !important; }
.fr-bandeau-titre .fr-label { font-size: 15px; }
.fr-bandeau-titre .fr-more { font-size: 15px; }

/* Tuiles de marchés */
.fr-tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(48px, 5vw, 72px) 32px; }
.fr-tile { position: relative; display: flex; flex-direction: column; gap: 20px; }
.fr-tile > * { margin: 0; }
.fr-tile--7 { grid-column: span 7; }
.fr-tile--5 { grid-column: span 5; }
.fr-tile--4 { grid-column: span 4; }
.fr-tile--3 { grid-column: span 3; }
.fr-tile-img { overflow: hidden; background: var(--fr-trait); margin: 0; border-radius: var(--fr-r); }
.fr-tile-img a { display: block; }
.fr-tile-img img { display: block; width: 100%; object-fit: cover; height: clamp(240px, 23vw, 340px); transition: transform 0.7s ease; }
.fr-tile--7 .fr-tile-img img, .fr-tile--5 .fr-tile-img img { height: clamp(260px, 34vw, 500px); }
.fr-tiles--petites .fr-tile-img img { height: auto; aspect-ratio: 4 / 3; }
.fr-tile:hover .fr-tile-img img { transform: scale(1.03); }
.fr-tile-title { font-family: var(--fr-serif); font-weight: 600; font-size: clamp(24px, 2vw, 28px); line-height: 1.1; }
.fr-tile--7 .fr-tile-title, .fr-tile--5 .fr-tile-title { font-size: clamp(26px, 2.3vw, 34px); }
.fr-tiles--petites .fr-tile-title { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.15; }
.fr-tile-title a { color: inherit; text-decoration: none; }
.fr-tile-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.fr-tile-meta { margin-top: -8px !important; font-size: 15px; line-height: 1.5; color: var(--fr-gris); }
.fr-tile-meta strong { display: block; margin-bottom: 2px; color: var(--fr-encre); font-weight: 500; }
.fr-tiles--petites { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 40px clamp(16px, 2.5vw, 32px); }
.fr-tiles--petites .fr-tile { gap: 16px; }
.fr-tiles--petites .fr-tile-meta { margin-top: -6px !important; }

/* Cadrage des photos d'illustration */
.fr-img-public img { object-position: 50% 62%; }
.fr-img-retail img { object-position: 62% 72%; }
.fr-img-tertiaire img { object-position: 50% 55%; }
.fr-img-logistique img { object-position: 60% 50%; }
.fr-img-habitat img { object-position: 50% 40%; }
.fr-img-accueil img { object-position: 56% 50%; }

/* Bandeau Maintenance de l'accueil */
.fr-encart {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 32px 64px;
	padding: clamp(28px, 3.5vw, 44px) clamp(24px, 3.5vw, 48px);
	border: 1px solid var(--fr-trait-fort);
	border-radius: var(--fr-r-l);
	position: relative;
}
.fr-encart > * { margin: 0; }
.fr-encart-texte { flex: 1 1 420px; min-width: 0; }
.fr-encart-texte > * { margin: 0; }
.fr-encart-texte .fr-h3 { font-size: clamp(26px, 2.3vw, 34px); }
.fr-encart-texte .fr-h3 a { color: inherit; text-decoration: none; }
.fr-encart-texte .fr-h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.fr-encart-texte .fr-tile-meta { margin-top: 6px !important; }
.fr-encart-texte .fr-texte-s { margin-top: 10px; max-width: 34em; }

/* Liste des corps d'état sur fond encre */
.fr-lots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); column-gap: 40px; align-content: start; font-size: 18px; line-height: 1.4; }
.fr-lots li { padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.fr-lots li:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }

/* Méthode en étapes, numérotation automatique */
.fr-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 48px 32px; counter-reset: fr-etape; }
.fr-step { padding-top: 28px; border-top: 3px solid var(--fr-or); counter-increment: fr-etape; }
.fr-step::before { content: counter(fr-etape); display: block; font-family: var(--fr-serif); font-weight: 600; font-size: 44px; line-height: 1; font-variant-numeric: lining-nums; margin-bottom: 24px; }
.fr-step > * { margin: 0; }
.fr-step-titre { font-family: var(--fr-sans) !important; font-size: 20px; font-weight: 600; line-height: 1.3; margin: 0 0 10px !important; }
.fr-step-texte { font-size: 16px; line-height: 1.6; color: var(--fr-gris-texte); }
.fr-steps--sombre { gap: 56px 32px; }
.fr-steps--sombre .fr-step { border-top: 1px solid rgba(255, 255, 255, 0.22); }
.fr-steps--sombre .fr-step::before { color: var(--fr-or); font-size: 56px; margin-bottom: 28px; }
.fr-steps--sombre .fr-step-titre { color: #fff; font-size: 21px; margin-bottom: 12px !important; }
.fr-steps--sombre .fr-step-texte { color: var(--fr-clair-sur-encre); line-height: 1.65; }

/* Bloc 2015 de l'accueil */
.fr-annee { font-family: var(--fr-serif); font-weight: 600; font-size: clamp(112px, 15vw, 216px); line-height: 0.82; letter-spacing: -0.04em; font-variant-numeric: lining-nums; margin: 0; }
.fr-badge {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 12px 18px;
	border: 1px solid var(--fr-trait-pierre);
	border-radius: var(--fr-r-s);
	background: #fff;
	font-size: 15px;
	font-weight: 500;
	margin: 0;
}
.fr-badge::before {
	content: "";
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23242324' stroke-width='1.5'%3E%3Ccircle cx='10' cy='10' r='8'/%3E%3Cpath d='M6.5 10.2l2.4 2.3 4.6-4.9'/%3E%3C/svg%3E") center / contain no-repeat;
}
.fr-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; margin-top: 36px !important; }
.fr-badges > * { margin: 0; }

/* Lignes de contraintes ou de garanties */
.fr-rows { display: flex; flex-direction: column; }
.fr-rows > .fr-row { padding: 28px 0; border-top: 1px solid var(--fr-trait-fort); }
.fr-rows > .fr-row:last-child { border-bottom: 1px solid var(--fr-trait-fort); }
.fr-row > * { margin: 0; }
.fr-row .fr-h3 { font-size: clamp(22px, 1.9vw, 26px); line-height: 1.2; }
.fr-row .fr-texte-s { margin-top: 10px; font-size: 17px; }

.fr-cells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; align-content: start; }
.fr-cell { padding: 24px 0 28px; border-top: 1px solid var(--fr-trait-fort); }
.fr-section--pierre .fr-cell { border-top-color: var(--fr-trait-pierre); }
.fr-cell > * { margin: 0; }
.fr-cell .fr-texte-s { margin-top: 8px; }

.fr-cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.fr-col { padding-top: 24px; border-top: 1px solid var(--fr-encre); }
.fr-col > * { margin: 0; }
.fr-col .fr-texte-s { margin-top: 14px; font-size: 17px; }

/* Photo pleine largeur */
.fr-photo-bandeau { margin: 0; }
.fr-photo-bandeau img { display: block; width: 100%; height: clamp(300px, 40vw, 600px); object-fit: cover; object-position: 50% 62%; background: var(--fr-trait); }

/* Types de projets et corps d'état */
.fr-types { list-style: none; margin: 0; padding: 0; font-family: var(--fr-serif); font-weight: 600; font-size: clamp(22px, 2vw, 28px); line-height: 1.25; }
.fr-types li { padding: 20px 0; border-bottom: 1px solid var(--fr-trait-fort); }
.fr-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; font-size: 15px; line-height: 1.3; }
.fr-tags li { padding: 10px 14px; border: 1px solid var(--fr-trait-fort); border-radius: var(--fr-r-s); }
.fr-label + .fr-types { margin-top: 8px; }
.fr-types + .fr-label { margin-top: 56px; }
.fr-label + .fr-tags { margin-top: 18px; }

/* Bande or : phrase forte et pictogramme */
.fr-affirmation { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 48px 64px; }
.fr-affirmation::after {
	content: "";
	flex: 0 0 auto;
	width: clamp(96px, 13vw, 196px);
	aspect-ratio: 1;
	background: url("../img/icone-encre.svg") center / contain no-repeat;
}
.fr-affirmation-texte { flex: 1 1 560px; min-width: 0; }
.fr-affirmation-texte > * { margin: 0; }
.fr-affirmation-phrase { max-width: 21em; font-family: var(--fr-serif); font-weight: 600; font-size: clamp(30px, 3.7vw, 54px); line-height: 1.12; letter-spacing: -0.01em; color: var(--fr-encre); }
.fr-affirmation-meta { margin-top: 36px !important; font-size: 15px; font-weight: 500; font-variant-numeric: lining-nums; }
.fr-affirmation-texte .fr-texte { margin-top: 28px; max-width: 34em; color: var(--fr-encre); }

/* Listes de liens avec flèche */
.fr-liens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; border-bottom: 1px solid var(--fr-trait-fort); }
.fr-liens--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fr-lien { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 28px 52px 28px 16px; border-top: 1px solid var(--fr-trait-fort); }
.fr-lien > * { margin: 0; }
.fr-lien::before { content: ""; position: absolute; inset: 8px 0; z-index: -1; border-radius: var(--fr-r); background: var(--fr-pierre); opacity: 0; transition: opacity 0.25s ease; }
.fr-lien:hover::before { opacity: 1; }
.fr-section--pierre .fr-lien::before { background: var(--fr-pierre-fort); }
.fr-lien::after {
	content: "";
	position: absolute;
	right: 16px;
	top: 50%;
	width: 22px;
	height: 22px;
	margin-top: -11px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%23242324' stroke-width='1.5'%3E%3Cpath d='M4 11h14M12 5l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.fr-lien .fr-h3 { font-size: clamp(22px, 2vw, 28px); }
.fr-liens--2 .fr-lien .fr-h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; }
.fr-lien .fr-h3 a { color: inherit; text-decoration: none; }
.fr-lien .fr-h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.fr-lien .fr-texte-s { font-size: 15px; color: var(--fr-gris); }

/* Frise d'histoire */
.fr-frise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.fr-jalon { position: relative; padding-top: 32px; border-top: 1px solid var(--fr-encre); }
.fr-jalon::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--fr-or); border: 1px solid var(--fr-encre); box-sizing: border-box; }
.fr-jalon > * { margin: 0; }
.fr-jalon-annee { font-family: var(--fr-serif); font-weight: 600; font-size: clamp(48px, 4.8vw, 68px); line-height: 0.95; letter-spacing: -0.02em; font-variant-numeric: lining-nums; }
.fr-jalon .fr-texte-s { margin-top: 24px; max-width: 24em; font-size: 17px; color: var(--fr-gris-fonce); }

/* Adresse */
.fr-adresse { margin-top: 36px !important; padding-top: 24px; border-top: 1px solid var(--fr-trait-pierre); font-size: 16px; line-height: 1.6; }
.fr-adresse-titre { display: block; font-size: 14px; font-weight: 500; color: var(--fr-gris); margin-bottom: 6px; }

/* Page contact */
.fr-coordonnees { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 30em; }
.fr-coordonnee { padding: 24px 0 28px; border-top: 1px solid var(--fr-trait-fort); }
.fr-coordonnee > * { margin: 0; }
.fr-coordonnee .fr-texte { margin-top: 8px; color: var(--fr-encre); }
.fr-coordonnee a { color: inherit; }

/* Page 404 */
.fr-404-code { font-family: var(--fr-serif); font-weight: 600; font-size: 20px; color: var(--fr-gris); font-variant-numeric: lining-nums; }

/* 7. Pages de texte ------------------------------------------------------ */
.fr-texte-titre { padding-top: clamp(56px, 8vw, 112px); max-width: 16em; }
.fr-texte-corps { max-width: 46em; padding-block: clamp(40px, 5vw, 64px) var(--fr-pad); }
.fr-texte-corps h2 { font-size: clamp(24px, 2.2vw, 30px); margin: 48px 0 14px; }
.fr-texte-corps h3 { font-family: var(--fr-sans); font-size: 18px; font-weight: 600; margin: 28px 0 8px; }
.fr-texte-corps p, .fr-texte-corps li { font-size: 17px; line-height: 1.7; color: var(--fr-gris-fonce); }
.fr-texte-corps p { margin: 0 0 14px; }
.fr-texte-corps ul { margin: 0 0 14px; padding-left: 1.2em; }
.fr-texte-corps a { color: var(--fr-encre); }

/* Éditeur : rendre visibles les groupes de mise en page */
.editor-styles-wrapper .fr-section { min-height: 40px; }

/* 8. Adaptations écran --------------------------------------------------- */
@media (max-width: 960px) {
	.fr-split { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
	.fr-split > :nth-child(1), .fr-split > :nth-child(2) { grid-column: auto; }
	.fr-tiles { grid-template-columns: minmax(0, 1fr); }
	.fr-tile--7, .fr-tile--5, .fr-tile--4, .fr-tile--3 { grid-column: auto; }
	.fr-cols3, .fr-frise, .fr-liens { grid-template-columns: minmax(0, 1fr); }
	.fr-liens--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fr-lots li:nth-last-child(2) { border-bottom: 0; }
}
@media (max-width: 600px) {
	.fr-cells, .fr-liens--2 { grid-template-columns: minmax(0, 1fr); }
	.fr-header-inner { height: 76px; }
	.fr-logo img { width: 118px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
.fr-insecable { white-space: nowrap; }
/* Deux sections blanches qui se suivent : un filet les sépare */
.fr-section:not(.fr-section--pierre):not(.fr-section--encre):not(.fr-section--or) + .fr-methode { border-top: 1px solid var(--fr-trait); }
