/*
Theme Name: Facette
Theme URI: https://www.freelendease.fr/
Author: Arold A.
Description: Thème sur mesure de Freelendease : magazine de conseils en finance, entreprise, immobilier, formation et marketing. Reprend la géométrie du losange du logo, bleu nuit et bleus de la marque, sans dépendance à une extension de mise en page.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: facette-fld
Tags: blog, news, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
Update URI: false
*/

/* ==========================================================================
   1. Polices servies par le thème
   ========================================================================== */

@font-face {
  font-family: "Syne";
  src: url("assets/fonts/syne-700.woff2") format("woff2");
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken-400-italique.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ==========================================================================
   2. Jetons
   ========================================================================== */

:root {
  --fld-nuit: #062A47;
  --fld-nuit-clair: #0B3C63;
  --fld-bleu: #005FA6;
  --fld-clair: #3A9CEE;
  --fld-glace: #EAF3FB;
  --fld-glace-pale: #F5FAFE;
  --fld-blanc: #FFFFFF;
  --fld-encre: #0C2030;
  --fld-encre-douce: #4C6C88;
  --fld-trait: #D9E6F2;
  --fld-trait-pale: #ECF3F9;

  --fld-titre: "Syne", "Trebuchet MS", "Segoe UI", sans-serif;
  --fld-texte: "Hanken Grotesk", -apple-system, "Segoe UI", Roboto, sans-serif;

  --fld-large: 1180px;
  --fld-lecture: 68ch;
  --fld-gouttiere: 24px;
  --fld-biseau: 1.1rem;
  --fld-ombre: 0 1px 2px rgba(6, 42, 71, .05), 0 14px 30px -20px rgba(6, 42, 71, .28);
}

/* ==========================================================================
   3. Base
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--fld-blanc);
  color: var(--fld-encre);
  font-family: var(--fld-texte);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; }

a { color: var(--fld-bleu); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--fld-nuit); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--fld-titre);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.02em;
  color: var(--fld-encre);
  text-wrap: balance;
  margin: 0 0 .5em;
}

p, ul, ol, blockquote, figure, table, pre { margin: 0 0 1.1em; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--fld-clair);
  outline-offset: 2px;
  border-radius: 2px;
}

.fld-invisible {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

.fld-evitement {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--fld-nuit);
  color: #fff;
  padding: .7rem 1.1rem;
}
.fld-evitement:focus { left: .5rem; top: .5rem; color: #fff; }

/* ==========================================================================
   4. Squelette
   ========================================================================== */

.fld-large,
.fld-moyen {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--fld-gouttiere);
}
.fld-large { max-width: var(--fld-large); }
.fld-moyen { max-width: 920px; }

@media (max-width: 480px) {
  :root { --fld-gouttiere: 16px; }
}

.fld-section { padding-block: clamp(2.2rem, 5vw, 3.4rem); }
.fld-section--glace { background: var(--fld-glace-pale); border-block: 1px solid var(--fld-trait-pale); }

/* losange, signature du thème */
.fld-losange {
  display: inline-block;
  width: .5em;
  height: .5em;
  background: var(--fld-clair);
  transform: rotate(45deg);
  flex: none;
}

/* biseau : coin inférieur droit coupé */
.fld-biseau {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--fld-biseau)), calc(100% - var(--fld-biseau)) 100%, 0 100%);
}

/* ==========================================================================
   5. En-tête
   ========================================================================== */

.fld-entete {
  background: var(--fld-nuit);
  color: #fff;
  position: relative;
  z-index: 20;
}
.fld-entete::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: -8%;
  width: 22%;
  background: linear-gradient(135deg, rgba(58, 156, 238, .16), rgba(58, 156, 238, 0));
  transform: skewX(-22deg);
  pointer-events: none;
}
.fld-entete__interieur {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-height: 76px;
  position: relative;
  z-index: 2;
}

.fld-marque { display: flex; align-items: center; gap: .8rem; flex: none; }
.fld-marque a { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: #fff; }
.fld-marque img,
.fld-marque .custom-logo {
  display: block;
  width: auto;
  max-height: 42px;
  /* le logo de la marque est bleu : rendu blanc pour l'en-tête nuit */
  filter: brightness(0) invert(1);
}
.fld-marque__texte {
  font-family: var(--fld-titre);
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.fld-marque__devise {
  display: none;
  font-size: .78rem;
  color: #A8CDEB;
  border-left: 1px solid rgba(255, 255, 255, .22);
  padding-left: .9rem;
  margin: 0;
  line-height: 1.3;
  max-width: 24ch;
}
@media (min-width: 1320px) { .fld-marque__devise { display: block; } }

/* navigation */
.fld-nav { margin-left: auto; }
.fld-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.fld-nav li { position: relative; }
.fld-nav a {
  color: #CFE4F6;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  padding: .35rem 0;
  display: inline-block;
  position: relative;
}
.fld-nav a:hover { color: #fff; }
.fld-nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -.3rem;
  width: .4rem; height: .4rem;
  background: var(--fld-clair);
  transform: translateX(-50%) rotate(45deg) scale(0);
  transition: transform .18s ease;
}
.fld-nav a:hover::after,
.fld-nav .current-menu-item > a::after,
.fld-nav .current-menu-parent > a::after,
.fld-nav .current-menu-ancestor > a::after { transform: translateX(-50%) rotate(45deg) scale(1); }
.fld-nav .current-menu-item > a,
.fld-nav .current-menu-parent > a,
.fld-nav .current-menu-ancestor > a { color: #fff; font-weight: 600; }

/* sous-menus */
.fld-nav ul ul {
  position: absolute;
  top: 100%;
  left: -.9rem;
  display: block;
  min-width: 14rem;
  background: var(--fld-nuit-clair);
  padding: .5rem 0;
  border-top: 2px solid var(--fld-clair);
  box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.fld-nav li:hover > ul,
.fld-nav li:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
.fld-nav ul ul li { display: block; }
.fld-nav ul ul a { display: block; padding: .45rem 1.1rem; font-size: .9rem; }
.fld-nav ul ul a::after { display: none; }

/* recherche de l'en-tête */
.fld-entete__outils { display: flex; align-items: center; gap: .6rem; flex: none; }
.fld-bouton-icone {
  width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .20);
  color: #fff;
  cursor: pointer;
  padding: 0;
}
.fld-bouton-icone:hover { background: var(--fld-clair); border-color: var(--fld-clair); color: var(--fld-nuit); }
.fld-bouton-icone svg { width: 1.05rem; height: 1.05rem; fill: currentColor; }

.fld-tiroir-recherche {
  background: var(--fld-nuit-clair);
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 1rem;
  position: relative;
  z-index: 2;
}
.fld-tiroir-recherche[hidden] { display: none !important; }

/* menu mobile */
.fld-bascule { display: none; }
@media (max-width: 960px) {
  .fld-bascule { display: grid; }
  .fld-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--fld-nuit-clair);
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: .6rem 0 1rem;
    display: none;
  }
  .fld-nav.est-ouvert { display: block; }
  .fld-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .fld-nav li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .fld-nav a { display: block; padding: .75rem var(--fld-gouttiere); font-size: 1rem; }
  .fld-nav a::after { left: var(--fld-gouttiere); transform: rotate(45deg) scale(0); }
  .fld-nav a:hover::after,
  .fld-nav .current-menu-item > a::after { transform: rotate(45deg) scale(1); }
  .fld-nav ul ul {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: 0;
    background: rgba(0, 0, 0, .18);
    padding: 0;
    min-width: 0;
  }
  .fld-nav ul ul a { padding-left: calc(var(--fld-gouttiere) + 1.1rem); }
}

/* ==========================================================================
   6. Rail des rubriques
   ========================================================================== */

.fld-rail {
  background: var(--fld-glace);
  border-bottom: 1px solid var(--fld-trait);
}
.fld-rail__interieur {
  display: flex;
  flex-wrap: wrap;
  padding-inline: 0;
}
.fld-rail a {
  flex: 1 1 9rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--fld-encre);
  text-decoration: none;
  border-right: 1px solid var(--fld-trait);
}
.fld-rail a:first-child { padding-left: var(--fld-gouttiere); }
.fld-rail a:last-child { border-right: 0; }
.fld-rail a:hover { background: #fff; color: var(--fld-bleu); }
.fld-rail b {
  margin-left: auto;
  font-weight: 500;
  font-size: .82rem;
  color: var(--fld-encre-douce);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 640px) {
  .fld-rail__interieur { overflow-x: auto; flex-wrap: nowrap; }
  .fld-rail a { flex: 0 0 auto; }
}

/* ==========================================================================
   7. Étiquettes de rubrique
   ========================================================================== */

.fld-etiquette {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--fld-bleu);
  text-decoration: none;
}
.fld-etiquette::before {
  content: "";
  width: .4rem; height: .4rem;
  background: currentColor;
  transform: rotate(45deg);
  flex: none;
}
.fld-etiquette:hover { color: var(--fld-nuit); }

.fld-etiquette--plein {
  background: var(--fld-bleu);
  color: #fff;
  padding: .32rem .62rem;
  letter-spacing: .1em;
}
.fld-etiquette--plein:hover { background: var(--fld-nuit); color: #fff; }
.fld-etiquette--plein::before { background: rgba(255, 255, 255, .8); }

/* nuances par rubrique, toutes dans la famille du logo */
.fld-cat-finance { --fld-teinte: #005FA6; }
.fld-cat-entreprise { --fld-teinte: #0E4E77; }
.fld-cat-immobilier { --fld-teinte: #0F6E6A; }
.fld-cat-formation-emploi { --fld-teinte: #2F4A9C; }
.fld-cat-marketing { --fld-teinte: #1E7AB8; }
[class*="fld-cat-"] .fld-etiquette { color: var(--fld-teinte, var(--fld-bleu)); }
[class*="fld-cat-"] .fld-etiquette--plein { background: var(--fld-teinte, var(--fld-bleu)); color: #fff; }

/* ==========================================================================
   8. Une de l'accueil
   ========================================================================== */

.fld-une {
  background: var(--fld-nuit);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.fld-une__grille {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  align-items: stretch;
  gap: 0;
}
.fld-une__texte {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding: clamp(1.6rem, 4vw, 3rem) clamp(1.2rem, 3vw, 2.4rem) clamp(1.6rem, 4vw, 3rem) var(--fld-gouttiere);
  position: relative;
  z-index: 2;
}
.fld-une__texte > * { flex: 0 0 auto; }
.fld-une__oeil {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #8FC8F4;
}
.fld-une__oeil a { color: inherit; text-decoration: none; }
.fld-une__oeil a:hover { color: #fff; }
.fld-une h2,
.fld-une .fld-une__titre {
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  font-weight: 800;
  line-height: 1.08;
  margin: 0;
  color: #fff;
}
.fld-une__titre a { color: #fff; text-decoration: none; }
.fld-une__titre a:hover { color: #8FC8F4; }
.fld-une__resume { margin: 0; color: #BFD8EC; font-size: 1.02rem; }
.fld-une__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  font-size: .82rem;
  color: #92B4CF;
  font-variant-numeric: tabular-nums;
}
.fld-une__image {
  position: relative;
  min-height: 15rem;
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
  background: var(--fld-nuit-clair);
  align-self: stretch;
}
.fld-une__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 860px) {
  .fld-une__grille { grid-template-columns: 1fr; }
  .fld-une__image { clip-path: none; min-height: 0; aspect-ratio: 16 / 9; order: -1; }
  .fld-une__texte { padding-inline: var(--fld-gouttiere); }
}

.fld-lien-bouton {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--fld-clair);
  color: var(--fld-nuit);
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  padding: .62rem 1.1rem;
  clip-path: polygon(0 0, 100% 0, 100% 68%, calc(100% - .62rem) 100%, 0 100%);
}
.fld-lien-bouton:hover { background: #fff; color: var(--fld-nuit); }

/* ==========================================================================
   9. Titres de section
   ========================================================================== */

.fld-titre-section {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 0 0 1.4rem;
}
.fld-titre-section h2,
.fld-titre-section h1 {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.fld-titre-section h2 a { color: inherit; text-decoration: none; }
.fld-titre-section__trait { flex: 1; height: 1px; background: var(--fld-trait); }
.fld-titre-section__compte {
  font-size: .78rem;
  color: var(--fld-encre-douce);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.fld-titre-section__lien {
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

/* ==========================================================================
   10. Cartes d'articles
   ========================================================================== */

.fld-grille {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
}
.fld-grille--trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fld-grille--quatre { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) {
  .fld-grille--trois,
  .fld-grille--quatre { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .fld-grille,
  .fld-grille--trois,
  .fld-grille--quatre { grid-template-columns: 1fr; }
}

.fld-carte {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--fld-trait);
  padding-bottom: 1rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--fld-biseau)), calc(100% - var(--fld-biseau)) 100%, 0 100%);
  transition: border-color .16s ease, transform .16s ease;
}
.fld-carte:hover { border-color: var(--fld-clair); transform: translateY(-2px); }
.fld-carte__image {
  aspect-ratio: 1.9 / 1;
  overflow: hidden;
  background: var(--fld-glace);
  margin-bottom: .85rem;
}
.fld-carte__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fld-carte__corps {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding-inline: 1rem;
  flex: 1;
}
.fld-carte__corps > * { flex: 0 0 auto; }
.fld-carte h3,
.fld-carte h2 {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.28;
  letter-spacing: -.015em;
}
.fld-carte h3 a,
.fld-carte h2 a { color: var(--fld-encre); text-decoration: none; }
.fld-carte h3 a:hover,
.fld-carte h2 a:hover { color: var(--fld-bleu); }
.fld-carte__resume {
  margin: 0;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--fld-encre-douce);
}
.fld-carte__meta {
  margin-top: auto;
  padding-top: .3rem;
  font-size: .78rem;
  color: var(--fld-encre-douce);
  font-variant-numeric: tabular-nums;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.fld-carte__meta span + span::before { content: "· "; }

/* carte allongée, pour les listes */
.fld-ligne {
  display: grid;
  grid-template-columns: 13rem 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--fld-trait);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--fld-biseau)), calc(100% - var(--fld-biseau)) 100%, 0 100%);
  transition: border-color .16s ease;
}
.fld-ligne:hover { border-color: var(--fld-clair); }
.fld-ligne__image { overflow: hidden; background: var(--fld-glace); aspect-ratio: 1.9 / 1; }
.fld-ligne__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fld-ligne__corps {
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.fld-ligne__corps > * { flex: 0 0 auto; }
.fld-ligne h2,
.fld-ligne h3 { margin: 0; font-size: 1.12rem; line-height: 1.26; }
.fld-ligne h2 a,
.fld-ligne h3 a { color: var(--fld-encre); text-decoration: none; }
.fld-ligne h2 a:hover,
.fld-ligne h3 a:hover { color: var(--fld-bleu); }
.fld-ligne__resume { margin: 0; font-size: .92rem; color: var(--fld-encre-douce); line-height: 1.6; }
.fld-ligne__meta {
  margin-top: auto;
  font-size: .78rem;
  color: var(--fld-encre-douce);
  font-variant-numeric: tabular-nums;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.fld-ligne__meta span + span::before { content: "· "; }
.fld-liste { display: grid; gap: 1rem; }
@media (max-width: 720px) {
  .fld-ligne { grid-template-columns: 1fr; }
  .fld-ligne__image { aspect-ratio: 16 / 9; }
}

/* liste sans image, pour les colonnes de rubrique */
.fld-titres { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.fld-titres li { border-bottom: 1px dotted var(--fld-trait); }
.fld-titres li:last-child { border-bottom: 0; }
.fld-titres a {
  display: flex;
  gap: .6rem;
  align-items: baseline;
  padding: .55rem 0;
  color: var(--fld-encre);
  text-decoration: none;
  font-size: .96rem;
  line-height: 1.35;
}
.fld-titres a:hover { color: var(--fld-bleu); }
.fld-titres a::before {
  content: "";
  width: .38rem; height: .38rem;
  background: var(--fld-clair);
  transform: rotate(45deg);
  flex: none;
  margin-top: .45em;
}

/* colonne de rubrique de l'accueil */
.fld-colonnes {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.fld-colonne {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.fld-colonne__entete {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--fld-teinte, var(--fld-bleu));
}
.fld-colonne__entete h2 {
  margin: 0;
  font-size: 1.02rem;
  letter-spacing: -.01em;
}
.fld-colonne__entete h2 a { color: var(--fld-encre); text-decoration: none; }
.fld-colonne__entete h2 a:hover { color: var(--fld-teinte, var(--fld-bleu)); }
.fld-colonne__entete b {
  margin-left: auto;
  font-size: .76rem;
  font-weight: 500;
  color: var(--fld-encre-douce);
  font-variant-numeric: tabular-nums;
}
.fld-colonne__phare { display: grid; gap: .45rem; }
.fld-colonne__phare .fld-carte__image { aspect-ratio: 1.9 / 1; margin-bottom: .2rem; }
.fld-colonne__phare h3 { margin: 0; font-size: 1rem; line-height: 1.28; }
.fld-colonne__phare h3 a { color: var(--fld-encre); text-decoration: none; }
.fld-colonne__phare h3 a:hover { color: var(--fld-teinte, var(--fld-bleu)); }

/* ==========================================================================
   11. Bandeau de page et fil d'Ariane
   ========================================================================== */

.fld-bandeau {
  background: var(--fld-nuit);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding-block: clamp(1.5rem, 4vw, 2.6rem);
}
.fld-bandeau::after {
  content: "";
  position: absolute;
  right: -5rem; top: -5rem;
  width: 16rem; height: 16rem;
  border: 1px solid rgba(58, 156, 238, .34);
  transform: rotate(45deg);
  pointer-events: none;
}
.fld-bandeau > * { position: relative; z-index: 2; }
.fld-bandeau h1 {
  color: #fff;
  font-size: clamp(1.55rem, 3.6vw, 2.4rem);
  font-weight: 800;
  margin: .3rem 0 .6rem;
  max-width: 28ch;
}
.fld-bandeau--article h1 { max-width: 34ch; }
.fld-bandeau__description {
  margin: 0;
  color: #BFD8EC;
  max-width: 62ch;
  font-size: 1rem;
}
.fld-bandeau__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: .85rem;
  color: #A8CDEB;
  font-variant-numeric: tabular-nums;
}
.fld-bandeau__meta strong { color: #fff; font-weight: 600; }
.fld-bandeau__signature { display: flex; align-items: center; gap: .6rem; }
.fld-bandeau__signature img { width: 2.2rem; height: 2.2rem; border-radius: 50%; display: block; }

.fld-fil {
  font-size: .8rem;
  color: #A8CDEB;
  margin: 0 0 .2rem;
}
.fld-fil a { color: #A8CDEB; text-decoration: none; }
.fld-fil a:hover { color: #fff; text-decoration: underline; }
.fld-fil .fld-fil__separateur { opacity: .55; margin-inline: .35rem; }
.fld-fil--clair { color: var(--fld-encre-douce); }
.fld-fil--clair a { color: var(--fld-bleu); }
.fld-fil--clair a:hover { color: var(--fld-nuit); }

/* ==========================================================================
   12. Article
   ========================================================================== */

.fld-article__image {
  margin-block: 0;
  background: var(--fld-glace);
}
.fld-article__image img {
  width: 100%;
  display: block;
  max-height: 26rem;
  object-fit: cover;
}
@media (max-width: 720px) {
  .fld-article__image img { max-height: 15rem; }
}
.fld-article__image figcaption {
  font-size: .8rem;
  color: var(--fld-encre-douce);
  padding: .5rem var(--fld-gouttiere);
}

.fld-article__grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17rem;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
  padding-block: clamp(1.8rem, 4vw, 2.8rem);
}
@media (max-width: 900px) {
  .fld-article__grille { grid-template-columns: 1fr; }
}

.fld-contenu { max-width: var(--fld-lecture); font-size: 1.08rem; }
.fld-contenu > *:first-child { margin-top: 0; }
.fld-contenu p { margin: 0 0 1.15em; }
.fld-contenu > p:first-of-type {
  font-size: 1.16rem;
  line-height: 1.6;
  color: #17314A;
}
.fld-contenu h2 {
  font-size: clamp(1.26rem, 2.4vw, 1.52rem);
  margin: 2em 0 .55em;
  display: flex;
  align-items: center;
  gap: .6rem;
  scroll-margin-top: 1.5rem;
}
.fld-contenu h2::before {
  content: "";
  width: .46rem; height: .46rem;
  background: var(--fld-clair);
  transform: rotate(45deg);
  flex: none;
}
.fld-contenu h3 {
  font-size: 1.14rem;
  margin: 1.7em 0 .5em;
  scroll-margin-top: 1.5rem;
}
.fld-contenu h4 { font-size: 1.04rem; margin: 1.5em 0 .4em; }
.fld-contenu ul,
.fld-contenu ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.fld-contenu li { margin-bottom: .5em; }
.fld-contenu ul { list-style: none; padding-left: 1.1em; }
.fld-contenu ul > li { position: relative; }
.fld-contenu ul > li::before {
  content: "";
  position: absolute;
  left: -1.1em;
  top: .62em;
  width: .34rem; height: .34rem;
  background: var(--fld-clair);
  transform: rotate(45deg);
}
.fld-contenu ol > li::marker { color: var(--fld-bleu); font-weight: 700; }
.fld-contenu a { color: var(--fld-bleu); text-decoration: underline; }
.fld-contenu a:hover { color: var(--fld-nuit); }
.fld-contenu strong, .fld-contenu b { font-weight: 700; color: #0A1C2B; }
.fld-contenu u { text-decoration: none; font-weight: 600; }
.fld-contenu img { display: block; height: auto; }
.fld-contenu figure { margin: 1.6em 0; }
.fld-contenu figcaption { font-size: .85rem; color: var(--fld-encre-douce); margin-top: .45em; }
.fld-contenu blockquote {
  margin: 1.6em 0;
  padding: .2em 0 .2em 1.2em;
  border-left: 3px solid var(--fld-clair);
  font-size: 1.06rem;
  color: #17314A;
}
.fld-contenu blockquote p:last-child { margin-bottom: 0; }
.fld-contenu hr { border: 0; border-top: 1px solid var(--fld-trait); margin: 2em 0; }
.fld-contenu table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.fld-contenu :where(th, td) { border: 1px solid var(--fld-trait); padding: .55rem .7rem; text-align: left; }
.fld-contenu th { background: var(--fld-glace); font-weight: 700; }
.fld-contenu iframe { max-width: 100%; }

/* tableaux et intégrations larges : pas de débordement de page */
.fld-defilement { overflow-x: auto; }

/* encadré à retenir */
.fld-retenir {
  background: var(--fld-glace);
  border-left: 3px solid var(--fld-clair);
  padding: 1rem 1.2rem;
  margin: 1.8em 0;
}
.fld-retenir > strong,
.fld-retenir__titre {
  display: block;
  font-family: var(--fld-titre);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--fld-bleu);
  margin-bottom: .45rem;
}
.fld-retenir p:last-child { margin-bottom: 0; }

/* sommaire */
.fld-sommaire {
  background: var(--fld-nuit);
  color: #fff;
  padding: 1.1rem 1.2rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--fld-biseau)), calc(100% - var(--fld-biseau)) 100%, 0 100%);
}
.fld-sommaire__titre {
  font-family: var(--fld-titre);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: #8FC8F4;
  margin: 0 0 .7rem;
}
.fld-sommaire ol { list-style: none; margin: 0; padding: 0; counter-reset: fld-somm; }
.fld-sommaire li { margin-bottom: .5rem; }
.fld-sommaire li:last-child { margin-bottom: 0; }
.fld-sommaire a {
  display: flex;
  gap: .55rem;
  color: #DCEAF7;
  text-decoration: none;
  font-size: .88rem;
  line-height: 1.4;
}
.fld-sommaire a::before {
  content: "";
  width: .34rem; height: .34rem;
  background: var(--fld-clair);
  transform: rotate(45deg);
  flex: none;
  margin-top: .48em;
}
.fld-sommaire a:hover { color: #fff; }
.fld-sommaire a:hover::before { background: #fff; }

/* colonne d'appui */
.fld-appui {
  display: grid;
  gap: 1.2rem;
  align-content: start;
  position: sticky;
  top: 1.2rem;
}
@media (max-width: 900px) {
  .fld-appui { position: static; }
}
.fld-bloc-appui {
  background: #fff;
  border: 1px solid var(--fld-trait);
  padding: 1rem 1.1rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--fld-biseau)), calc(100% - var(--fld-biseau)) 100%, 0 100%);
}
.fld-bloc-appui__titre {
  font-family: var(--fld-titre);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--fld-encre-douce);
  margin: 0 0 .7rem;
}
.fld-bloc-appui .fld-titres a { font-size: .92rem; }
.fld-auteur { display: flex; gap: .8rem; align-items: flex-start; }
.fld-auteur img { width: 3rem; height: 3rem; border-radius: 50%; flex: none; display: block; }
.fld-auteur b { display: block; font-family: var(--fld-titre); font-size: 1rem; }
.fld-auteur p { margin: .2rem 0 0; font-size: .86rem; color: var(--fld-encre-douce); line-height: 1.5; }

/* notation kk Star Ratings, redessinée */
.fld-contenu .kk-star-ratings,
.fld-notation .kk-star-ratings { margin: 1.6em 0; }
.kk-star-ratings .kksr-stars .kksr-star { padding-right: 2px; }
.kk-star-ratings .kksr-legend {
  font-size: .85rem !important;
  color: var(--fld-encre-douce) !important;
  font-family: var(--fld-texte) !important;
}

/* partage */
.fld-partage { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 2rem; }
.fld-partage__titre {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--fld-encre-douce);
}
.fld-partage a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--fld-nuit);
  background: var(--fld-glace);
  border: 1px solid var(--fld-trait);
  padding: .35rem .7rem;
}
.fld-partage a:hover { background: var(--fld-clair); border-color: var(--fld-clair); color: var(--fld-nuit); }

/* voisins */
.fld-voisins {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
}
@media (max-width: 640px) { .fld-voisins { grid-template-columns: 1fr; } }
.fld-voisins a {
  display: block;
  border: 1px solid var(--fld-trait);
  padding: .9rem 1rem;
  text-decoration: none;
  background: #fff;
}
.fld-voisins a:hover { border-color: var(--fld-clair); }
.fld-voisins span {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--fld-encre-douce);
  margin-bottom: .3rem;
}
.fld-voisins strong {
  display: block;
  font-family: var(--fld-titre);
  font-size: .98rem;
  line-height: 1.3;
  color: var(--fld-encre);
}
.fld-voisins a:hover strong { color: var(--fld-bleu); }
.fld-voisins .fld-voisins__suivant { text-align: right; }

/* ==========================================================================
   13. Commentaires
   ========================================================================== */

.fld-commentaires { padding-block: 2rem 3rem; border-top: 1px solid var(--fld-trait); }
.fld-commentaires__liste { list-style: none; margin: 0 0 2rem; padding: 0; }
.fld-commentaires__liste ol { list-style: none; padding-left: 1.4rem; }
.fld-commentaires .comment-body {
  border: 1px solid var(--fld-trait);
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
  background: #fff;
}
.fld-commentaires .comment-author { display: flex; align-items: center; gap: .6rem; font-size: .92rem; }
.fld-commentaires .comment-author img { border-radius: 50%; }
.fld-commentaires .comment-author .fn { font-family: var(--fld-titre); font-weight: 700; font-style: normal; }
.fld-commentaires .comment-metadata { font-size: .78rem; color: var(--fld-encre-douce); margin-bottom: .6rem; }
.fld-commentaires .comment-metadata a { color: var(--fld-encre-douce); text-decoration: none; }
.fld-commentaires .reply { font-size: .84rem; }
.fld-commentaires .comment-respond { background: var(--fld-glace-pale); border: 1px solid var(--fld-trait); padding: 1.2rem; }
.fld-commentaires label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .25rem; }
.fld-commentaires :where(input[type="text"], input[type="email"], input[type="url"], textarea) { width: 100%; }
.fld-commentaires .comment-form-cookies-consent { display: flex; gap: .5rem; align-items: flex-start; font-size: .86rem; }
.fld-commentaires .comment-form-cookies-consent input { width: auto; }
.fld-commentaires .comment-form-cookies-consent label { font-weight: 400; }

:where(input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], textarea, select) {
  font-family: inherit;
  font-size: 1rem;
  color: var(--fld-encre);
  background: #fff;
  border: 1px solid var(--fld-trait);
  padding: .6rem .75rem;
  max-width: 100%;
}
textarea { min-height: 8rem; }

:where(button, input[type="submit"], .fld-bouton) {
  font-family: var(--fld-titre);
  font-weight: 700;
  font-size: .92rem;
  color: #fff;
  background: var(--fld-bleu);
  border: 0;
  padding: .65rem 1.2rem;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% 68%, calc(100% - .55rem) 100%, 0 100%);
}
:where(button, input[type="submit"], .fld-bouton):hover { background: var(--fld-nuit); color: #fff; }
.fld-bouton-icone { clip-path: none; }

/* ==========================================================================
   14. Recherche
   ========================================================================== */

.fld-recherche { display: flex; gap: .5rem; width: 100%; }
.fld-recherche input[type="search"] { flex: 1; min-width: 0; }
.fld-recherche--nuit input[type="search"] {
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .25);
  color: #fff;
}
.fld-recherche--nuit input[type="search"]::placeholder { color: #A8CDEB; }
.fld-recherche--nuit button { background: var(--fld-clair); color: var(--fld-nuit); }
.fld-recherche--nuit button:hover { background: #fff; }

.fld-suggestions { margin-top: .9rem; font-size: .86rem; color: #A8CDEB; }
.fld-suggestions a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.fld-suggestions a:hover { border-color: var(--fld-clair); }

/* ==========================================================================
   15. Pagination
   ========================================================================== */

.fld-pagination { margin-block: 2.2rem 0; }
.fld-pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.fld-pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding-inline: .6rem;
  border: 1px solid var(--fld-trait);
  color: var(--fld-encre);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  background: #fff;
}
.fld-pagination .page-numbers:hover { border-color: var(--fld-clair); color: var(--fld-bleu); }
.fld-pagination .page-numbers.current { background: var(--fld-nuit); border-color: var(--fld-nuit); color: #fff; }
.fld-pagination .page-numbers.dots { border-color: transparent; background: none; }

/* ==========================================================================
   16. Page, recherche vide, 404
   ========================================================================== */

.fld-page { padding-block: clamp(1.8rem, 4vw, 2.8rem); }
.fld-vide {
  padding-block: clamp(2.4rem, 6vw, 4rem);
  text-align: center;
}
.fld-vide__losange {
  width: 3.2rem; height: 3.2rem;
  margin: 0 auto 1.4rem;
  background: var(--fld-glace);
  border: 1px solid var(--fld-clair);
  transform: rotate(45deg);
  display: grid;
  place-items: center;
}
.fld-vide__losange span {
  transform: rotate(-45deg);
  font-family: var(--fld-titre);
  font-weight: 800;
  color: var(--fld-bleu);
  font-size: 1.1rem;
}
.fld-vide h1 { font-size: clamp(1.4rem, 3.2vw, 2rem); }
.fld-vide p { max-width: 54ch; margin-inline: auto; color: var(--fld-encre-douce); }
.fld-vide .fld-recherche { max-width: 26rem; margin: 1.6rem auto 0; }
.fld-vide__pistes { margin-top: 2.4rem; text-align: left; }

/* ==========================================================================
   17. Pied de page
   ========================================================================== */

.fld-pied {
  background: var(--fld-nuit);
  color: #BFD8EC;
  position: relative;
  overflow: hidden;
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
}
.fld-pied::before {
  content: "";
  position: absolute;
  left: -6rem; bottom: -8rem;
  width: 20rem; height: 20rem;
  border: 1px solid rgba(58, 156, 238, .22);
  transform: rotate(45deg);
  pointer-events: none;
}
.fld-pied__interieur { position: relative; z-index: 2; padding-block: clamp(2rem, 4vw, 3rem) 1.2rem; }
.fld-pied__grille {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 820px) { .fld-pied__grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fld-pied__grille { grid-template-columns: 1fr; } }
.fld-pied h2 {
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: #8FC8F4;
  margin: 0 0 .9rem;
}
.fld-pied img,
.fld-pied .custom-logo { max-height: 36px; width: auto; filter: brightness(0) invert(1); margin-bottom: .8rem; }
.fld-pied p { font-size: .92rem; line-height: 1.6; margin: 0 0 .8rem; max-width: 42ch; }
.fld-pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.fld-pied a { color: #BFD8EC; text-decoration: none; font-size: .92rem; }
.fld-pied a:hover { color: #fff; }
.fld-pied li a { display: flex; align-items: baseline; gap: .5rem; }
.fld-pied li a::before {
  content: "";
  width: .32rem; height: .32rem;
  background: var(--fld-clair);
  transform: rotate(45deg);
  flex: none;
  margin-top: .45em;
}
.fld-pied__bas {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 1rem 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  align-items: center;
  font-size: .84rem;
}
.fld-pied__bas p { margin: 0; }
.fld-pied__bas nav { margin-left: auto; }
.fld-pied__bas nav ul { display: flex; flex-wrap: wrap; gap: 1rem; }
.fld-pied__bas nav li a::before { display: none; }

/* ==========================================================================
   18. Blocs Gutenberg utilisés dans les contenus
   ========================================================================== */

.wp-block-image { margin: 1.6em 0; }
.wp-block-image img { display: block; height: auto; }
.wp-block-image figcaption { font-size: .85rem; color: var(--fld-encre-douce); margin-top: .45em; }
.alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
.aligncenter { margin-inline: auto; }
.wp-block-image.aligncenter { text-align: center; }
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 1.6em; margin-bottom: 1.4em; }
.wp-block-column { flex: 1 1 14rem; min-width: 0; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: .6em; list-style: none; padding: 0; }
.wp-block-button__link {
  display: inline-block;
  background: var(--fld-bleu);
  color: #fff;
  text-decoration: none;
  font-family: var(--fld-titre);
  font-weight: 700;
  padding: .6rem 1.1rem;
  clip-path: polygon(0 0, 100% 0, 100% 68%, calc(100% - .55rem) 100%, 0 100%);
}
.wp-block-button__link:hover { background: var(--fld-nuit); color: #fff; }
.wp-block-separator { border: 0; border-top: 1px solid var(--fld-trait); margin: 2em 0; }
.wp-block-quote { margin: 1.6em 0; padding-left: 1.2em; border-left: 3px solid var(--fld-clair); }
.wp-block-embed { margin: 1.6em 0; }
.wp-block-embed__wrapper { position: relative; }
.wp-block-embed.wp-has-aspect-ratio .wp-block-embed__wrapper { aspect-ratio: 16 / 9; }
.wp-block-embed.wp-has-aspect-ratio iframe { width: 100%; height: 100%; position: absolute; inset: 0; }
.wp-block-table { overflow-x: auto; }
.wp-block-list { margin-bottom: 1.2em; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .85rem; color: var(--fld-encre-douce); }
.sticky, .gallery-caption, .bypostauthor { }

/* ==========================================================================
   19. Plan du site
   ========================================================================== */

.fld-plan { margin-top: .5rem; }
.fld-plan__rubrique {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  font-size: 1.12rem;
  margin: 2rem 0 .6rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--fld-trait);
}
.fld-plan__rubrique:first-child { margin-top: 0; }
.fld-plan__rubrique a { color: var(--fld-encre); text-decoration: none; }
.fld-plan__rubrique a:hover { color: var(--fld-bleu); }
.fld-plan__rubrique span {
  margin-left: auto;
  font-family: var(--fld-texte);
  font-size: .82rem;
  font-weight: 400;
  color: var(--fld-encre-douce);
  font-variant-numeric: tabular-nums;
}
.fld-plan .fld-titres { columns: 2; column-gap: 2.2rem; }
.fld-plan .fld-titres li { break-inside: avoid; }
@media (max-width: 720px) {
  .fld-plan .fld-titres { columns: 1; }
}

/* ==========================================================================
   20. Bandeau cookies de Cookie Notice, accordé au thème
   ========================================================================== */

#cookie-notice {
  font-family: var(--fld-texte) !important;
}
#cookie-notice .cookie-notice-container {
  background: var(--fld-nuit) !important;
  color: #DCEAF7 !important;
  font-size: .9rem;
}
#cookie-notice .cn-button {
  font-family: var(--fld-titre) !important;
  font-weight: 700 !important;
  background: var(--fld-clair) !important;
  color: var(--fld-nuit) !important;
  border-radius: 0 !important;
}

/* ==========================================================================
   21. Impression
   ========================================================================== */

@media print {
  .fld-entete, .fld-rail, .fld-pied, .fld-appui, .fld-partage, .fld-voisins,
  .fld-commentaires, #cookie-notice { display: none !important; }
  body { font-size: 11pt; color: #000; background: #fff; }
  .fld-bandeau { background: none; color: #000; padding-block: 0; }
  .fld-bandeau h1, .fld-bandeau__meta, .fld-fil { color: #000; }
  .fld-article__grille { display: block; }
  .fld-contenu { max-width: none; }
  a { color: #000; }
}
