/* ==========================================================================
   Maquette « Cyanotype » : le tirage au bleu de Prusse (procédé de 1842).
   Chargée après base.css, dont elle reprend la structure.
   - une seule famille, Archivo : titres en largeur étendue (125 %) et très gras,
     texte courant en largeur normale ; aucune capitale ni machine à écrire ;
   - bleu de Prusse + couleurs de Lille (brique, ocre, vert, rose) : pas de
     noir ; chaque couleur a un rôle (aplats de section, activités, étiquettes) ;
   - les archives sont virées au bleu et reprennent leurs couleurs au survol ;
     les photos des membres, elles, restent en couleurs d'origine.
   ========================================================================== */
body.maquette-cyanotype {
	/* Palette du logo du club (relevée sur logo.jpeg le 03/12/2026) :
	   le bleu nuit du fond et les six lames du diaphragme.
	   Les teintes « -f » sont un peu foncées pour porter du texte blanc (AA). */
	--lp-bleu: #00358f;      /* bleu du logo : titres, boutons, liens */
	--lp-nuit: #001334;      /* bleu nuit du logo : pied de page, texte */
	--lp-rouge: #d03d11;     /* lame rouge (blanc dessus : 4,8:1) */
	--lp-orange: #e39c34;    /* lame orange : toujours avec texte nuit */
	--lp-vert-logo: #008b54;
	--lp-vert: #007a4a;      /* lame verte, foncée (blanc : 5,4:1) */
	--lp-cyan-logo: #0085c8;
	--lp-cyan: #0072ab;      /* lame bleue, foncée (blanc : 5,3:1) */
	--lp-violet: #781594;    /* lame violette (blanc : 9:1) */
	--lp-rose-logo: #d05281;
	--lp-framboise: #b8406c; /* lame rose, foncée (blanc : 5,3:1) */
	--lp-diaphragme: linear-gradient(90deg, var(--lp-rose-logo) 0 16.66%, var(--lp-rouge) 0 33.33%, var(--lp-orange) 0 50%, var(--lp-vert-logo) 0 66.66%, var(--lp-cyan-logo) 0 83.33%, var(--lp-violet) 0);
	/* Anciens noms gardés pour le reste de la feuille */
	--lp-brique: var(--lp-rouge);
	--lp-ocre: var(--lp-orange);
	--lp-rose: color-mix(in srgb, var(--lp-rose-logo) 13%, #fff);  /* fond de la sélection */
	--lp-ciel: color-mix(in srgb, var(--lp-cyan-logo) 12%, #fff);   /* encadrés pratiques */
	--wp--preset--color--noir: var(--lp-bleu);   /* fond des boutons */
	--wp--preset--color--encre: var(--lp-nuit);
	--wp--preset--color--papier: #f6f8fc;
	--wp--preset--color--carton: var(--lp-ciel);
	--wp--preset--color--blanc: #ffffff;
	--wp--preset--color--gris: #4c5878;
	--wp--preset--color--labo: var(--lp-bleu);
	--wp--preset--font-family--mono: var(--wp--preset--font-family--sans);
	--lp-line: color-mix(in srgb, var(--wp--preset--color--encre) 14%, transparent);
	--lp-gap: clamp(8px, 1.2vw, 18px);
	font-size: 1.04rem;
	line-height: 1.55;
}

/* Aplats de couleur : on retourne les jetons, tout ce qui est dedans suit.
   Une lame du logo par section : rouge par défaut (stages), violet pour le
   centenaire (accueil et page 100 ans), pied de page au bleu nuit du logo. */
.maquette-cyanotype .has-carton-background-color {
	--lp-aplat: var(--lp-brique);
	--wp--preset--color--carton: var(--lp-aplat);
	--wp--preset--color--blanc: var(--lp-aplat);
	--wp--preset--color--encre: #ffffff;
	--wp--preset--color--noir: #ffffff;
	--wp--preset--color--papier: var(--lp-aplat);
	--wp--preset--color--gris: color-mix(in srgb, var(--lp-aplat) 15%, #fff);
	--wp--preset--color--labo: #ffffff;
	--lp-line: rgba(255, 255, 255, .3);
	color: #fff;
}
body.maquette-cyanotype:is(.home, .lp-page-100-ans) .has-carton-background-color:not(footer) { --lp-aplat: var(--lp-violet); }
.maquette-cyanotype footer.has-carton-background-color {
	--lp-aplat: var(--lp-nuit); --wp--preset--color--gris: #c9d3ea;
	background: linear-gradient(120deg, var(--lp-bleu), var(--lp-nuit) 55%, #00091a) !important;
	border-top: 6px solid transparent; border-image: var(--lp-diaphragme) 1;
}
/* Logo rond du club en tête du pied de page */
.maquette-cyanotype footer .wp-block-columns > .wp-block-column:first-child::before {
	content: ""; display: block; width: clamp(88px, 9vw, 120px); aspect-ratio: 1; margin-bottom: 1.25rem;
	background: url(../assets/images/logo-rond.png) center / contain no-repeat;
}
.maquette-cyanotype .has-carton-background-color a:not(.wp-element-button) { color: inherit; }
.maquette-cyanotype .has-carton-background-color ::selection { background: #fff; color: var(--lp-aplat); }
.maquette-cyanotype .has-carton-background-color .wp-social-link { color: #fff !important; }
.maquette-cyanotype .has-carton-background-color .wp-block-button__link:hover { background: var(--lp-aplat) !important; color: #fff !important; box-shadow: inset 0 0 0 2px #fff; }

/* Bandeau rendez-vous : ocre, texte bleu nuit */
.maquette-cyanotype .lp-rdv {
	--wp--preset--color--blanc: var(--lp-ocre);
	--wp--preset--color--labo: var(--wp--preset--color--encre);
	background: var(--lp-ocre) !important; color: var(--wp--preset--color--encre);
}
/* La sélection qui suit le bandeau : fond rose */
.maquette-cyanotype .lp-rdv + .wp-block-group.alignfull,
.maquette-cyanotype .lp-rdv + .wp-block-group.alignfull + .is-style-film { background: var(--lp-rose); margin-top: 0 !important; }

/* --- Titres : Archivo étendu ------------------------------------------------ */
.maquette-cyanotype :is(h1, h2, h3, h4, .lp-wordmark, .wp-block-site-title, .lp-compteur b) {
	font-family: var(--wp--preset--font-family--display);
	font-stretch: 125%;
}
.maquette-cyanotype :is(h1, h2) { font-weight: 760; letter-spacing: -.035em; line-height: .95; color: var(--wp--preset--color--encre); }
.maquette-cyanotype :is(h3, h4) { font-weight: 650; font-stretch: 112%; letter-spacing: -.015em; }
.maquette-cyanotype :is(h1, h2) mark { color: inherit !important; font-style: normal; font-weight: inherit; }
.maquette-cyanotype ::selection { background: var(--lp-bleu); color: #fff; }
.maquette-cyanotype a { text-decoration-thickness: 2px; text-underline-offset: .2em; }
.maquette-cyanotype :focus-visible { outline: 3px solid var(--lp-bleu); outline-offset: 3px; }
.maquette-cyanotype .has-carton-background-color :focus-visible { outline-color: #fff; }

/* --- Petites mentions : casse normale, demi-gras, pas de mono -------------- */
.maquette-cyanotype :is(
	.lp-kicker, .lp-kicker.has-labo-color, .lp-header-date, .lp-index-n, .lp-fiche td:first-child,
	.wp-block-table th, .lp-timeline .has-labo-color, .lp-compteur span, .lp-journal .wp-block-post-date,
	.wp-block-image figcaption, .has-mono-font-family
) {
	font-family: var(--wp--preset--font-family--sans) !important;
	text-transform: none !important; letter-spacing: 0 !important;
}
.maquette-cyanotype .lp-kicker, .maquette-cyanotype .lp-kicker.has-labo-color {
	font-size: .95rem !important; font-weight: 600; color: var(--wp--preset--color--labo) !important;
}
.maquette-cyanotype .lp-kicker.has-labo-color::before { display: none; }
.maquette-cyanotype :is(.lp-fiche td:first-child, .wp-block-table th, .lp-journal .wp-block-post-date) {
	font-size: .88rem !important; font-weight: 600; color: var(--wp--preset--color--gris);
}

/* --- En-tête ---------------------------------------------------------------- */
.maquette-cyanotype .lp-header {
	background: color-mix(in srgb, var(--wp--preset--color--papier) 90%, transparent) !important;
	border-bottom: 4px solid transparent; border-image: var(--lp-diaphragme) 1;
}
.maquette-cyanotype .lp-header .wp-block-site-title { font-size: 1.35rem !important; font-weight: 800; letter-spacing: -.03em; color: var(--lp-bleu); }
/* Logo du club (bandeau02.jpeg, partie gauche) à la place du titre texte */
.maquette-cyanotype .lp-header .wp-block-site-title a {
	display: block; width: calc(var(--lp-logo-h) * 2.62); height: var(--lp-logo-h);
	background: url(../assets/images/logo-lille-photo.jpg) center / contain no-repeat;
	color: transparent; overflow: hidden; white-space: nowrap; text-indent: 110%;
}
.maquette-cyanotype .lp-header { --lp-logo-h: 3.25rem; }
@media (max-width: 600px) { .maquette-cyanotype .lp-header { --lp-logo-h: 2.6rem; } }
.maquette-cyanotype .lp-header-date { font-size: .78rem !important; font-weight: 500; line-height: 1.2 !important; }
.maquette-cyanotype .lp-header .wp-block-navigation { font-size: .95rem; font-weight: 550; }
.maquette-cyanotype .lp-header .wp-block-navigation a { opacity: 1; }
.maquette-cyanotype .lp-header .wp-block-navigation a:hover { color: var(--lp-bleu); text-decoration: underline; }

/* --- Boutons : rectangles pleins, étendus ----------------------------------- */
.maquette-cyanotype .wp-block-button__link {
	border-radius: 0 !important; font-weight: 650; font-stretch: 112%; letter-spacing: 0;
	transition: background-color .2s, color .2s;
}
.maquette-cyanotype .wp-block-button:not(.is-style-crayon):not(.is-style-outline) .wp-block-button__link:hover { background: var(--wp--preset--color--encre); }
.maquette-cyanotype :is(.is-style-crayon, .is-style-outline) .wp-block-button__link { border-width: 2px; padding: calc(.85rem - 2px) calc(1.5rem - 2px); }
.maquette-cyanotype .lp-header .is-style-crayon .wp-block-button__link {
	background: var(--lp-bleu) !important; color: #fff !important; border-color: var(--lp-bleu); padding: .6rem 1.15rem;
}
.maquette-cyanotype .lp-header .is-style-crayon .wp-block-button__link:hover { background: var(--wp--preset--color--encre) !important; border-color: var(--wp--preset--color--encre); }

/* --- Ouverture : titre pleine largeur, puis chapeau | photo ----------------- */
.maquette-cyanotype .lp-hero .wp-block-columns {
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	grid-template-rows: auto auto auto 1fr;
	column-gap: clamp(2rem, 5vw, 5rem); row-gap: var(--wp--preset--spacing--40); align-items: start;
}
.maquette-cyanotype .lp-hero .wp-block-columns > .wp-block-column:first-child { display: contents; }
.maquette-cyanotype .lp-hero .wp-block-columns > .wp-block-column:first-child > * { margin: 0 !important; }
.maquette-cyanotype .lp-hero h1 {
	grid-column: 1 / -1; grid-row: 1;
	font-size: clamp(2.5rem, 9.2vw, 9.6rem) !important; line-height: .96 !important;
	font-weight: 800; letter-spacing: -.045em; color: var(--lp-bleu); hyphens: manual;
}
.maquette-cyanotype .lp-hero .has-large-font-size { grid-column: 1; grid-row: 2; font-size: clamp(1.15rem, 1.5vw, 1.35rem) !important; line-height: 1.5; max-width: 34em; }
.maquette-cyanotype .lp-hero .wp-block-buttons { grid-column: 1; grid-row: 3; }
.maquette-cyanotype .lp-hero .wp-block-columns > .wp-block-column:last-child { grid-column: 2; grid-row: 2 / -1; margin: 0 !important; }
.maquette-cyanotype .lp-hero .wp-block-image.is-style-tirage img { aspect-ratio: 3 / 2; }
@media (max-width: 781px) {
	.maquette-cyanotype .lp-hero .wp-block-columns { grid-template-columns: 1fr; }
	.maquette-cyanotype .lp-hero .wp-block-columns > .wp-block-column:last-child { grid-column: 1; grid-row: auto; }
	.maquette-cyanotype .lp-hero .wp-block-image.is-style-tirage img { aspect-ratio: 4 / 5; }
}

/* Légendes : titre en demi-gras, auteur en gris */
.maquette-cyanotype .wp-block-image figcaption { font-size: .86rem; margin-top: .6rem; }
.maquette-cyanotype .wp-block-image figcaption strong { font-weight: 650; font-size: .98rem; }

/* Photo du mois : étiquette bleue carrée */
.maquette-cyanotype .wp-block-image.is-style-pick::after {
	content: "Photo du mois"; top: 0; left: 0; border-radius: 0; box-shadow: none;
	background: var(--lp-ocre); color: var(--wp--preset--color--encre); padding: .55rem .8rem;
	font: 650 .8rem/1 var(--wp--preset--font-family--sans); font-stretch: 112%; letter-spacing: 0; text-transform: none;
}

/* --- Sélection : une rangée de même hauteur, sans numéros ------------------- */
.maquette-cyanotype .wp-block-group.is-style-film { align-items: flex-end; }
.maquette-cyanotype .wp-block-group.is-style-film > .wp-block-image,
.maquette-cyanotype .wp-block-group.is-style-film > .wp-block-image:nth-child(n) { flex-basis: auto; margin-top: 0 !important; }
.maquette-cyanotype .wp-block-group.is-style-film > .wp-block-image img,
.maquette-cyanotype .wp-block-group.is-style-film > .wp-block-image:nth-child(n) img { height: clamp(280px, 52vh, 540px); width: auto; max-width: none; }
.maquette-cyanotype .wp-block-group.is-style-film > .wp-block-image figcaption { max-width: 22rem; }
.maquette-cyanotype :is(.is-style-film, .is-style-planche) > .wp-block-image figcaption::before { content: none; }

/* --- Galerie : grille serrée de 3 ------------------------------------------- */
.maquette-cyanotype .wp-block-group.is-style-planche { gap: 2rem var(--lp-gap); }
.maquette-cyanotype .wp-block-group.is-style-planche > .wp-block-image:nth-child(n) { transform: none; }
.maquette-cyanotype .wp-block-group.is-style-planche > .wp-block-image img { aspect-ratio: 1; }

/* --- Archives virées au cyanotype ------------------------------------------- */
.maquette-cyanotype .lp-negatif img {
	filter: grayscale(1) sepia(1) hue-rotate(178deg) saturate(3.2) brightness(.92) contrast(1.08);
	transition: filter .9s;
}
@media (hover: hover) { .maquette-cyanotype .lp-negatif:hover img { filter: none; } }
@media (prefers-reduced-motion: reduce) { .maquette-cyanotype .lp-negatif img { transition: none; } }

/* --- Intros de page ---------------------------------------------------------- */
.maquette-cyanotype .lp-intro h1 { font-size: clamp(2.35rem, 6.4vw, 6.6rem) !important; font-weight: 800; letter-spacing: -.045em; line-height: .98; color: var(--lp-bleu); }
/* Chapeau aligné à gauche sous le titre (la mise en page « constrained » le centrait), avec un peu d'air */
.maquette-cyanotype .lp-intro .has-large-font-size { color: var(--wp--preset--color--encre); max-width: 36em; margin-left: max(0px, calc((100% - 1280px) / 2)) !important; margin-top: clamp(1.25rem, 2.5vw, 2.25rem) !important; }
/* Titres des modèles par défaut (Mentions légales, Actualités) : même bleu que les intros */
.maquette-cyanotype :is(.wp-block-post-title, .wp-block-query-title, main > h1.wp-block-heading):is(h1) { color: var(--lp-bleu); font-weight: 800; letter-spacing: -.045em; line-height: .98; }
.maquette-cyanotype main h1.wp-block-heading.has-huge-font-size:not(.lp-intro h1, .lp-hero h1) { font-size: clamp(2.35rem, 6.4vw, 6.6rem) !important; }
.maquette-cyanotype h1.wp-block-post-title.has-xx-large-font-size { font-size: clamp(2.35rem, 5vw, 4.5rem) !important; }
.maquette-cyanotype h1.wp-block-post-title { margin-bottom: clamp(1.5rem, 3vw, 2.75rem) !important; }
/* Mobile : les intertitres restent nettement plus petits que le titre de page */
@media (max-width: 600px) {
	.maquette-cyanotype h2.wp-block-heading:is(.has-huge-font-size, .has-xx-large-font-size, .has-x-large-font-size) { font-size: clamp(1.6rem, 7.4vw, 2rem) !important; }
	.maquette-cyanotype main h2.wp-block-heading:not([class*="-font-size"]) { font-size: 1.75rem; }
}
.maquette-cyanotype .wp-block-heading.has-xx-large-font-size { font-weight: 780; }

/* --- Bandeau rendez-vous : barre bleue -------------------------------------- */
.maquette-cyanotype .lp-rdv { border: 0; font-weight: 500; }
.maquette-cyanotype .lp-rdv time { font-weight: 700; }
.maquette-cyanotype .lp-rdv a { color: inherit; text-decoration: underline; }
.maquette-cyanotype .lp-rdv a:hover { color: inherit; text-decoration-thickness: 3px; }

/* --- Activités -------------------------------------------------------------- */
.maquette-cyanotype .lp-index { border-top: 2px solid var(--wp--preset--color--encre); }
.maquette-cyanotype .lp-index-n { font-size: .85rem !important; font-weight: 600; }
.maquette-cyanotype .lp-index h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 700; font-stretch: 125%; letter-spacing: -.03em; }
.maquette-cyanotype .lp-index > .wp-block-group:hover h3 a { color: var(--lp-bleu); }
.maquette-cyanotype .lp-index .lp-kicker { font-size: .88rem !important; }

/* --- Compteur du centenaire ------------------------------------------------- */
.maquette-cyanotype .lp-compteur b { font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.maquette-cyanotype .lp-compteur span { font-size: .95rem; font-weight: 600; }

/* --- Journal ---------------------------------------------------------------- */
.maquette-cyanotype .lp-journal .wp-block-post-template { border-top: 2px solid var(--wp--preset--color--encre); }
.maquette-cyanotype .lp-journal .wp-block-post-title { font-weight: 700; font-stretch: 112%; letter-spacing: -.025em; }
.maquette-cyanotype .lp-journal li:hover .wp-block-post-title a { color: var(--lp-bleu); }

/* --- Infos pratiques -------------------------------------------------------- */
.maquette-cyanotype .lp-note { background: var(--wp--preset--color--carton); border-radius: 0; }
.maquette-cyanotype .lp-note > p:first-child { font-weight: 750 !important; font-stretch: 125%; letter-spacing: -.03em; color: var(--lp-bleu); }
.maquette-cyanotype .lp-qr h3 { font-size: 1.15rem; }
.maquette-cyanotype .lp-qr p { color: var(--wp--preset--color--encre); }

/* --- Frise, cartes ---------------------------------------------------------- */
.maquette-cyanotype .lp-timeline { border-left: 2px solid var(--lp-bleu); }
.maquette-cyanotype .lp-timeline > .wp-block-group::before { left: calc(-1.6rem - 6px); width: 10px; height: 10px; border-radius: 0; background: var(--lp-bleu); }
.maquette-cyanotype .lp-timeline .has-labo-color { font-size: 1.1rem !important; font-weight: 750; font-stretch: 125%; }
.maquette-cyanotype .lp-card { border-top: 2px solid var(--wp--preset--color--encre); }
.maquette-cyanotype .lp-card .has-display-font-family { font-weight: 800 !important; font-stretch: 125%; letter-spacing: -.04em; }

/* --- Pied de page : logotype blanc pleine largeur --------------------------- */
.maquette-cyanotype .lp-bord { display: none; }
/* Pas de liseré clair entre le dernier aplat et le pied de page */
.maquette-cyanotype .wp-site-blocks > footer.wp-block-template-part { margin-block-start: 0; }
.maquette-cyanotype .lp-wordmark {
	font-weight: 800 !important; letter-spacing: -.05em; line-height: .82 !important;
	font-size: clamp(2.6rem, 14.2vw, 13rem) !important; color: #fff;
}
.maquette-cyanotype .lp-wordmark mark { color: inherit !important; }

/* --- Touches de couleur ------------------------------------------------------ */
/* Photo d'ouverture : aplat ocre décalé derrière le tirage */
.maquette-cyanotype .lp-hero .wp-block-image.is-style-tirage img { box-shadow: calc(-1 * clamp(.8rem, 1.6vw, 1.5rem)) clamp(.8rem, 1.6vw, 1.5rem) 0 var(--lp-ocre); }
.maquette-cyanotype .lp-hero .wp-block-image.is-style-tirage figcaption { margin-top: clamp(1.4rem, 2.4vw, 2.2rem); }
/* Archive du centenaire : aplat décalé (le filtre cyanotype de l'image le vire au bleu clair, sur fond violet) */
.maquette-cyanotype .lp-negatif img { box-shadow: -1.2rem 1.2rem 0 var(--lp-orange); }
.maquette-cyanotype .lp-negatif figcaption { margin-top: 1.9rem; }

/* Activités : une couleur par activité */
.maquette-cyanotype .lp-index > .wp-block-group { --lp-c: var(--lp-rouge); }
.maquette-cyanotype .lp-index > .wp-block-group:nth-child(6n+2) { --lp-c: var(--lp-vert); }
.maquette-cyanotype .lp-index > .wp-block-group:nth-child(6n+3) { --lp-c: var(--lp-cyan); }
.maquette-cyanotype .lp-index > .wp-block-group:nth-child(6n+4) { --lp-c: var(--lp-violet); }
.maquette-cyanotype .lp-index > .wp-block-group:nth-child(6n+5) { --lp-c: var(--lp-framboise); }
.maquette-cyanotype .lp-index > .wp-block-group:nth-child(6n+6) { --lp-c: #8a5a00; }
.maquette-cyanotype .lp-index-n {
	display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem;
	background: var(--lp-c); color: #fff !important; font-weight: 700; font-stretch: 112%;
}
.maquette-cyanotype .lp-index > .wp-block-group:nth-child(6n+6) .lp-index-n { background: var(--lp-orange); color: var(--wp--preset--color--encre) !important; }
.maquette-cyanotype .lp-index .lp-kicker { color: var(--lp-c) !important; }
.maquette-cyanotype .lp-index > .wp-block-group:hover h3 a { color: var(--lp-c); }

/* Journal : date en vert, filet de survol brique */
.maquette-cyanotype .lp-journal .wp-block-post-date { color: var(--lp-vert); }
.maquette-cyanotype .lp-journal li:hover .wp-block-post-title a { color: var(--lp-framboise); }

/* Infos pratiques : encadré bleu ciel, bouton vert */
.maquette-cyanotype .lp-note { background: var(--lp-ciel); }
.maquette-cyanotype .lp-note .wp-block-button__link { background: var(--lp-vert); }

/* Frise : jalons alternés */
.maquette-cyanotype .lp-timeline > .wp-block-group:nth-child(6n+1)::before { background: var(--lp-rose-logo); }
.maquette-cyanotype .lp-timeline > .wp-block-group:nth-child(6n+2)::before { background: var(--lp-rouge); }
.maquette-cyanotype .lp-timeline > .wp-block-group:nth-child(6n+3)::before { background: var(--lp-orange); }
.maquette-cyanotype .lp-timeline > .wp-block-group:nth-child(6n+4)::before { background: var(--lp-vert-logo); }
.maquette-cyanotype .lp-timeline > .wp-block-group:nth-child(6n+5)::before { background: var(--lp-cyan-logo); }
.maquette-cyanotype .lp-timeline > .wp-block-group:nth-child(6n)::before { background: var(--lp-violet); }
