/* =========================================================================
   Au Cambodge Gourmand · main.css
   Design system du carnet editorial voyage, cuisines et cultures.
   Aucun framework, aucun CDN. Variables CSS, mobile first.

   Parti pris : carnet de voyage contemporain. Papier sable, encre profonde,
   un seul accent energique en terre cuite, et des sections contrastees en
   vert profond. La texture cartographique reste a l'etat de trace, en
   degrades CSS a tres faible opacite, jamais en image et jamais en pastiche
   de guide papier ancien.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. POLICES AUTO-HEBERGEES
   Fraunces pour les titres, IBM Plex Sans pour le texte. En leur absence,
   la pile de repli systeme assure un rendu correct et aucun preload n'est
   genere par inc/enqueue.php.
   ---------------------------------------------------------------------- */
@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-600.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-700.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Plex Sans";
	src: url("../fonts/plex-sans-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Plex Sans";
	src: url("../fonts/plex-sans-500.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

/* -------------------------------------------------------------------------
   2. TOKENS
   Contrastes mesures, pas estimes. Sur le papier #FBF8F2 : encre 16,3:1,
   secondaire 6,6:1, terre cuite 5,6:1. Sur le blanc : terre cuite 5,9:1.
   Sur le vert profond #1E3A31 : texte clair 10,6:1, safran 5,5:1,
   gris pale 6,9:1. Blanc sur bouton terre cuite 5,9:1.
   Tous au-dessus du seuil AA en texte normal.
   ---------------------------------------------------------------------- */
:root {
	--cg-paper: #FBF8F2;       /* fond general, sable tres clair */
	--cg-surface: #FFFFFF;     /* cartes et encadres */
	--cg-ink: #1C1B17;         /* titres et texte fort */
	--cg-muted: #5F594E;       /* texte secondaire */
	--cg-line: #E5DFD2;        /* filets */

	/* Terre cuite : unique couleur energique du site. Elle porte
	   l'interaction, les liens et les boutons. */
	--cg-accent: #A8452A;
	--cg-accent-hover: #8B3722;
	--cg-accent-soft: #F6E9E2;

	/* Vert profond : sections contrastees, pied de page. Ce n'est pas un
	   second accent, c'est un fond. */
	--cg-dark: #1E3A31;
	--cg-dark-ink: #F2EEE4;
	--cg-dark-accent: #E0A15C;
	--cg-dark-muted: #B9C4BC;

	--cg-font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--cg-font-text: "Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--cg-maxw: 1240px;
	--cg-maxw-read: 720px;
	--cg-gap: clamp(1rem, 3vw, 2.2rem);
	--cg-section-y: clamp(2.75rem, 7vw, 5.5rem);
	--cg-radius: 3px;
}

/* -------------------------------------------------------------------------
   2 bis. NEUTRALISATION DU THEME PARENT

   Hello Elementor plafonne a 1140 px, dans des media queries, les selecteurs
   .site-header:not(.dynamic-header), .site-footer:not(.dynamic-footer),
   .page-header .entry-title et body:not([class*=elementor-page-]) .site-main.
   Consequence : le pied de page vert et les sections contrastees seraient
   centres a 1140 px au lieu de filer d'un bord a l'autre, leur aplat
   s'arreterait donc en plein milieu de l'ecran.

   Ici la largeur est geree par .wrap, qui centre le contenu a l'interieur de
   sections pleine largeur. On rend donc leur largeur aux conteneurs.

   Les selecteurs ci-dessous reprennent EXACTEMENT ceux du parent : a
   specificite egale, c'est l'ordre de chargement qui tranche, et cette
   feuille est chargee apres theme.css par la chaine de dependances declaree
   dans inc/enqueue.php. Ne les simplifiez pas, ils cesseraient de gagner.
   ---------------------------------------------------------------------- */
.site-header:not(.dynamic-header),
.site-footer:not(.dynamic-footer),
.page-header .entry-title {
	max-width: none;
}
body:not([class*="elementor-page-"]) .site-main {
	max-width: none;
}
/* Filet de securite si header-footer.css du parent revenait un jour : il pose
   display:flex sur .site-header et des marges internes sur les deux blocs. */
.site-header { display: block; }
.site-header, .site-footer { padding-block: 0; }

/* -------------------------------------------------------------------------
   3. BASE
   ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--cg-paper);
	color: var(--cg-ink);
	font-family: var(--cg-font-text);
	font-size: 17px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	font-family: var(--cg-font-display);
	color: var(--cg-ink);
	line-height: 1.18;
	margin: 0 0 .5em;
	font-weight: 600;
	letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1.1; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.15rem); }
h3 { font-size: clamp(1.18rem, 2.4vw, 1.42rem); }

p { margin: 0 0 1.25em; }

a { color: var(--cg-accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--cg-accent-hover); }

img { max-width: 100%; height: auto; display: block; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
	outline: 2px solid var(--cg-accent);
	outline-offset: 3px;
}

.screen-reader-text, .sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* -------------------------------------------------------------------------
   4. LAYOUT
   ---------------------------------------------------------------------- */
.wrap {
	width: 100%; max-width: var(--cg-maxw);
	margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem);
}
.wrap--read { max-width: var(--cg-maxw-read); }

.section { padding-block: var(--cg-section-y); }
.section--soft { background: var(--cg-surface); border-block: 1px solid var(--cg-line); }

/* Section contrastee. La trace cartographique est un degre de lignes tres
   pales, purement CSS, sans image ni requete supplementaire. */
.section--dark {
	background: var(--cg-dark);
	color: var(--cg-dark-ink);
	background-image: repeating-linear-gradient(
		115deg,
		rgba(242, 238, 228, .035) 0 1px,
		transparent 1px 34px
	);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--cg-dark-ink); }
.section--dark a { color: var(--cg-dark-accent); }
.section--dark p, .section--dark .section__chapo { color: var(--cg-dark-muted); }

.section__head {
	display: flex; align-items: flex-end; justify-content: space-between;
	gap: 1.2rem; flex-wrap: wrap; margin-bottom: 1.8rem;
	padding-bottom: .9rem; border-bottom: 1px solid var(--cg-line);
}
.section--dark .section__head { border-bottom-color: rgba(242, 238, 228, .18); }
.section__head h2 { margin: 0; }
.section__chapo { margin: .4rem 0 0; color: var(--cg-muted); font-size: .97rem; max-width: 60ch; }
.section__all { font-weight: 500; font-size: .92rem; white-space: nowrap; }

.grid { display: grid; gap: var(--cg-gap); grid-template-columns: 1fr; }
@media (min-width: 40em) { .grid--3, .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62em) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.eyebrow {
	text-transform: uppercase; letter-spacing: .16em; font-size: .72rem;
	font-weight: 500; color: var(--cg-accent); margin: 0 0 .7rem;
}
.eyebrow--sur-fonce { color: var(--cg-dark-accent); }

/* -------------------------------------------------------------------------
   5. BOUTONS ET BADGES
   ---------------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 46px; padding: 0 1.5rem; border-radius: var(--cg-radius);
	font-weight: 500; font-size: .95rem; text-decoration: none;
	border: 1px solid transparent; cursor: pointer;
	font-family: var(--cg-font-text);
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn--accent { background: var(--cg-accent); color: #fff; }
.btn--accent:hover { background: var(--cg-accent-hover); color: #fff; }
.btn--ghost { background: transparent; color: var(--cg-ink); border-color: var(--cg-line); }
.btn--ghost:hover { border-color: var(--cg-accent); color: var(--cg-accent); }
.section--dark .btn--ghost { color: var(--cg-dark-ink); border-color: rgba(242, 238, 228, .3); }

.badge {
	display: inline-block; font-size: .68rem; font-weight: 500;
	text-transform: uppercase; letter-spacing: .13em;
	padding: .22rem .5rem; border-radius: var(--cg-radius);
	background: var(--cg-accent-soft); color: var(--cg-accent-hover);
	text-decoration: none;
}
.badge:hover { background: var(--cg-accent); color: #fff; }

/* -------------------------------------------------------------------------
   6. EN-TETE
   ---------------------------------------------------------------------- */
.site-header {
	background: var(--cg-paper);
	border-top: 3px solid var(--cg-accent);
	border-bottom: 1px solid var(--cg-line);
}
.site-header__inner {
	max-width: var(--cg-maxw); margin-inline: auto;
	padding: 1rem clamp(1.1rem, 4vw, 2rem);
	display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.brand {
	font-family: var(--cg-font-display); font-weight: 600;
	font-size: 1.32rem; letter-spacing: .01em; text-decoration: none;
	color: var(--cg-ink); margin-right: auto; line-height: 1;
}
.brand__accent { color: var(--cg-accent); }
.brand:hover { color: var(--cg-ink); }

.nav-toggle {
	display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
	width: 46px; height: 46px; padding: 0 11px;
	background: transparent; border: 1px solid var(--cg-line);
	border-radius: var(--cg-radius); cursor: pointer;
}
.nav-toggle__bar { display: block; height: 1px; background: var(--cg-ink); }

.site-nav { width: 100%; }
.site-nav ul { list-style: none; margin: .7rem 0 0; padding: 0; display: none; flex-direction: column; gap: .1rem; }
.site-nav.is-open ul { display: flex; }
.site-nav a {
	display: block; padding: .65rem .3rem; text-decoration: none;
	color: var(--cg-ink); font-size: .93rem;
}
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--cg-accent); }

@media (min-width: 62em) {
	.nav-toggle { display: none; }
	.site-nav { width: auto; }
	.site-nav ul { display: flex; flex-direction: row; margin: 0; gap: 1.3rem; }
	.site-nav a { padding: .3rem 0; }
}

/* -------------------------------------------------------------------------
   7. HERO
   ---------------------------------------------------------------------- */
.hero { padding-block: clamp(2.2rem, 6vw, 4.5rem); }
.hero__inner {
	max-width: var(--cg-maxw); margin-inline: auto;
	padding-inline: clamp(1.1rem, 4vw, 2rem);
	display: grid; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center;
}
.hero__title { margin-bottom: .7rem; }
.hero__lead { color: var(--cg-muted); font-size: 1.08rem; max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero__media img { width: 100%; border-radius: var(--cg-radius); }
@media (min-width: 60em) { .hero__inner { grid-template-columns: 1.02fr .98fr; } }

/* -------------------------------------------------------------------------
   8. REPERES PRATIQUES
   ---------------------------------------------------------------------- */
.reperes__grille { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 40em) { .reperes__grille { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62em) { .reperes__grille { grid-template-columns: repeat(4, 1fr); } }

.repere { border-top: 2px solid var(--cg-dark-accent); padding-top: .9rem; }
.repere__label {
	font-size: .72rem; text-transform: uppercase; letter-spacing: .14em;
	color: var(--cg-dark-accent); margin: 0 0 .5rem;
}
.repere__texte { color: var(--cg-dark-ink); margin: 0 0 .6rem; font-size: .98rem; line-height: 1.55; }
.repere__source { font-size: .8rem; color: var(--cg-dark-muted); margin: 0; }

/* -------------------------------------------------------------------------
   9. SILOS
   ---------------------------------------------------------------------- */
.silos-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 40em) { .silos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62em) { .silos-grid { grid-template-columns: repeat(3, 1fr); } }

.silo { display: block; text-decoration: none; color: inherit; }
.silo__media { display: block; line-height: 0; overflow: hidden; border-radius: var(--cg-radius); margin-bottom: .8rem; }
.silo__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s ease; }
.silo:hover .silo__media img { transform: scale(1.03); }
.silo__name {
	display: block; font-family: var(--cg-font-display); font-weight: 600;
	font-size: 1.18rem; color: var(--cg-ink); margin-bottom: .25rem;
}
.silo:hover .silo__name { color: var(--cg-accent); }
.silo__desc { display: block; color: var(--cg-muted); font-size: .92rem; }
.silo--nomedia {
	padding: 1.3rem 1.4rem; background: var(--cg-surface);
	border: 1px solid var(--cg-line); border-radius: var(--cg-radius);
}

/* -------------------------------------------------------------------------
   10. CARTES D'ARTICLE
   ---------------------------------------------------------------------- */
.card { display: flex; flex-direction: column; background: transparent; }
.card__media { line-height: 0; overflow: hidden; display: block; border-radius: var(--cg-radius); }
.card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__media--empty { display: block; width: 100%; aspect-ratio: 3 / 2; background: var(--cg-accent-soft); border-radius: var(--cg-radius); }
.card__body { padding: .9rem 0 0; display: flex; flex-direction: column; gap: .45rem; }
.card__title { font-size: 1.14rem; margin: .15rem 0; line-height: 1.3; }
.card__title a { color: var(--cg-ink); text-decoration: none; }
.card__title a:hover { color: var(--cg-accent); }
.card__excerpt { font-size: .92rem; color: var(--cg-muted); margin: 0; }
.card__meta { font-size: .8rem; color: var(--cg-muted); margin: 0; }
.card--compact .card__body { padding-top: 0; }
.card--compact .card__title { font-size: 1rem; }
.section--dark .card__title a { color: var(--cg-dark-ink); }
.section--dark .card__excerpt, .section--dark .card__meta { color: var(--cg-dark-muted); }

/* -------------------------------------------------------------------------
   11. FIL D'ARIANE
   ---------------------------------------------------------------------- */
.crumb { padding-top: 1.3rem; font-size: .82rem; color: var(--cg-muted); }
.crumb__list { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumb__list li + li::before { content: "/"; margin-right: .4rem; color: var(--cg-line); }
.crumb a, .crumb__list a { color: var(--cg-muted); text-decoration: none; }
.crumb a:hover { color: var(--cg-accent); }
.crumb [aria-current="page"] { color: var(--cg-ink); }

/* -------------------------------------------------------------------------
   12. ARTICLE : MISE EN PAGE A TROIS COLONNES
   ---------------------------------------------------------------------- */
.single { padding-bottom: var(--cg-section-y); }
.single__head { padding-top: 1.2rem; }
.single__head .wrap { padding-inline: 0; }
.single__title { margin-bottom: .7rem; }
.single__meta { color: var(--cg-muted); font-size: .87rem; }
.single__chapo { font-size: 1.14rem; color: var(--cg-muted); margin: 1.4rem 0 0; }
.single__media { margin: 2rem 0; }
.single__media .wrap { padding-inline: 0; }
.single__media img { width: 100%; border-radius: var(--cg-radius); }

.single-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	/* Colonnes etirees sur toute la hauteur : indispensable pour que les
	   colonnes en position sticky aient de la place pour coulisser. Avec
	   align-items: start, elles se reduisent a la hauteur de leur contenu
	   et l'adherence ne se voit jamais. */
	align-items: stretch;
}
@media (min-width: 62em) {
	.single-layout { grid-template-columns: 230px minmax(0, 1fr) 300px; gap: 2.8rem; }
	.single-toc > .toc { position: sticky; top: 1.5rem; }
	.single-aside { position: sticky; top: 1.5rem; }
}

/* Sommaire */
.single-toc[hidden] { display: none; }
.toc {
	padding: .3rem 1.1rem .9rem;
	background: var(--cg-surface); border: 1px solid var(--cg-line); border-radius: var(--cg-radius);
}
.toc__summary {
	font-family: var(--cg-font-display); font-weight: 600; font-size: 1rem;
	cursor: pointer; padding: .8rem 0; list-style: none;
	display: flex; align-items: center; gap: .5rem;
}
.toc__summary::-webkit-details-marker { display: none; }
.toc__summary::before { content: ""; width: 18px; height: 2px; background: var(--cg-accent); flex: 0 0 auto; }
.toc__list { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.toc__list a {
	display: block; padding: .3rem 0 .3rem .7rem; color: var(--cg-muted); text-decoration: none;
	border-left: 2px solid transparent; line-height: 1.4;
}
.toc__list li.toc__sub a { padding-left: 1.6rem; font-size: .86rem; }
.toc__list a:hover { color: var(--cg-accent); }
.toc__list a.is-active { color: var(--cg-accent); border-left-color: var(--cg-accent); }

/* Colonne de droite */
.widget + .widget { margin-top: 1.8rem; }
.widget__titre {
	font-size: .74rem; text-transform: uppercase; letter-spacing: .14em;
	font-family: var(--cg-font-text); font-weight: 500; color: var(--cg-muted);
	margin: 0 0 .9rem; padding-bottom: .5rem; border-bottom: 1px solid var(--cg-line);
}
.widget__liste { list-style: none; margin: 0; padding: 0; }
.widget__liste li + li { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--cg-line); }
.widget__liste a {
	display: block; color: var(--cg-ink); text-decoration: none;
	font-weight: 500; font-size: .95rem; line-height: 1.4;
}
.widget__liste a:hover { color: var(--cg-accent); }
.widget__meta { display: block; font-size: .78rem; color: var(--cg-muted); margin-top: .25rem; }
.widget__lien { display: inline-block; margin-top: 1rem; font-size: .87rem; font-weight: 500; }
.widget--methode {
	background: var(--cg-accent-soft); padding: 1.1rem 1.2rem;
	border-radius: var(--cg-radius);
}
.widget--methode p { font-size: .89rem; color: var(--cg-muted); margin: 0; }
.widget--methode .widget__titre { border-bottom-color: rgba(168, 69, 42, .2); }

/* Corps de l'article */
.single__content { font-size: 1.06rem; }
.single__content h2 { margin-top: 2.4rem; scroll-margin-top: 1.5rem; }
.single__content h3 { margin-top: 1.7rem; scroll-margin-top: 1.5rem; }
.single__content ul, .single__content ol { padding-left: 1.3rem; }
.single__content li { margin-bottom: .45rem; }
.single__content img { border-radius: var(--cg-radius); margin: 1.8rem 0; }
.single__content blockquote {
	margin: 1.8rem 0; padding: .2rem 0 .2rem 1.4rem;
	border-left: 2px solid var(--cg-accent);
	font-family: var(--cg-font-display); font-size: 1.18rem; line-height: 1.5;
}

/* Bloc A lire aussi insere dans le corps */
.a-lire {
	margin: 2.2rem 0; padding: 1.1rem 1.2rem;
	background: var(--cg-surface);
	border: 1px solid var(--cg-line);
	border-left: 3px solid var(--cg-accent);
	border-radius: var(--cg-radius);
}
.a-lire__label {
	font-size: .7rem; text-transform: uppercase; letter-spacing: .14em;
	color: var(--cg-accent); margin: 0 0 .35rem; font-weight: 500;
}
.a-lire__titre { margin: 0; font-family: var(--cg-font-display); font-size: 1.05rem; line-height: 1.35; }
.a-lire__titre a { color: var(--cg-ink); text-decoration: none; }
.a-lire__titre a:hover { color: var(--cg-accent); }
.a-lire__meta { margin: .35rem 0 0; font-size: .78rem; color: var(--cg-muted); }

/* Blocs editoriaux */
.essentiel {
	margin: 0 0 2rem; padding: 1.2rem 1.4rem;
	background: var(--cg-accent-soft); border-radius: var(--cg-radius);
}
.essentiel__titre { font-size: 1.05rem; margin: 0 0 .6rem; }
.essentiel ul { margin: 0; padding-left: 1.2rem; }
.essentiel li { margin-bottom: .4rem; }

.verifier {
	margin: 2.4rem 0; padding: 1.2rem 1.4rem;
	background: var(--cg-surface); border: 1px solid var(--cg-line);
	border-top: 3px solid var(--cg-accent); border-radius: var(--cg-radius);
}
.verifier__titre { font-size: 1.08rem; margin: 0 0 .5rem; }
.verifier__date { font-size: .84rem; color: var(--cg-muted); margin: 0 0 .8rem; }
.verifier ul { margin: 0; padding-left: 1.2rem; }
.verifier li { margin-bottom: .4rem; }

.sources {
	margin: 2.2rem 0; padding: 1.2rem 1.4rem;
	background: var(--cg-surface); border: 1px solid var(--cg-line); border-radius: var(--cg-radius);
}
.sources h2 { font-size: 1.05rem; margin-top: 0; }
.sources__date { font-size: .84rem; color: var(--cg-muted); margin: 0 0 .7rem; }
.sources ul { margin: 0; padding-left: 1.2rem; font-size: .91rem; color: var(--cg-muted); }

.prudence {
	margin: 1.8rem 0; padding: 1rem 1.2rem; font-size: .91rem; color: var(--cg-muted);
	background: var(--cg-accent-soft); border-left: 2px solid var(--cg-accent);
	border-radius: var(--cg-radius);
}

.disclaimer { font-size: .83rem; color: var(--cg-muted); }
.disclaimer--footer { margin-top: 1.1rem; color: var(--cg-dark-muted); }
.disclaimer--page { margin-top: 2rem; padding: 1rem 1.2rem; border: 1px solid var(--cg-line); border-radius: var(--cg-radius); }

.author-box {
	margin-top: 2.4rem; padding: 1.5rem; display: flex; gap: 1.2rem; align-items: flex-start;
	background: var(--cg-surface); border: 1px solid var(--cg-line); border-radius: var(--cg-radius);
}
.author-box__name { font-family: var(--cg-font-display); font-weight: 600; font-size: 1.08rem; margin: 0; }
.author-box__role { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--cg-accent); margin: 0 0 .55rem; }
.author-box__bio { font-size: .92rem; color: var(--cg-muted); margin: 0 0 .6rem; }
.author-box__link { font-weight: 500; font-size: .89rem; }

.mono {
	flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
	width: 58px; height: 58px; border-radius: 50%;
	background: var(--cg-accent-soft); color: var(--cg-accent-hover);
	font-family: var(--cg-font-display); font-weight: 600; font-size: 1.15rem;
}

/* Tableaux responsives */
.table-scroll {
	margin: 1.8rem 0; max-width: 100%; overflow-x: auto;
	border: 1px solid var(--cg-line); border-radius: var(--cg-radius);
}
.single__content table, .page-single__content table { width: 100%; border-collapse: collapse; margin: 0; font-size: .94rem; }
.single__content th, .single__content td, .page-single__content th, .page-single__content td {
	padding: .75rem .95rem; border-bottom: 1px solid var(--cg-line);
	border-right: 1px solid var(--cg-line); text-align: left; vertical-align: top;
}
.single__content th:last-child, .single__content td:last-child,
.page-single__content th:last-child, .page-single__content td:last-child { border-right: 0; }
.single__content thead th, .page-single__content thead th {
	background: var(--cg-accent-soft); font-family: var(--cg-font-display); font-weight: 600;
}
.single__content tbody tr:last-child td { border-bottom: 0; }

/* -------------------------------------------------------------------------
   13. ARCHIVES ET PAGINATION
   ---------------------------------------------------------------------- */
.archive-head { padding-block: clamp(1.6rem, 4vw, 2.8rem) 0; }
.archive-head__intro { color: var(--cg-muted); font-size: 1.02rem; }
.archive { padding-block: clamp(1.6rem, 4vw, 2.8rem) var(--cg-section-y); }
.empty-note { color: var(--cg-muted); }

.navigation.pagination { margin-top: 2.8rem; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.navigation.pagination .page-numbers {
	display: inline-flex; min-width: 44px; min-height: 44px;
	align-items: center; justify-content: center; padding: 0 .8rem;
	border: 1px solid var(--cg-line); border-radius: var(--cg-radius);
	text-decoration: none; color: var(--cg-ink); background: var(--cg-surface);
}
.navigation.pagination .page-numbers.current { background: var(--cg-accent); color: #fff; border-color: var(--cg-accent); }

/* -------------------------------------------------------------------------
   14. FORMULAIRE
   ---------------------------------------------------------------------- */
.tool {
	background: var(--cg-surface); border: 1px solid var(--cg-line);
	border-radius: var(--cg-radius); padding: clamp(1.3rem, 3vw, 2rem);
}
.tool__title { margin-top: 0; }
.tool__intro { color: var(--cg-muted); font-size: .95rem; }
.tool__form { display: grid; gap: 1rem; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 48em) { .tool__form--contact { grid-template-columns: repeat(3, 1fr); } }

.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 500; font-size: .88rem; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
	min-height: 46px; padding: .6rem .8rem; border-radius: var(--cg-radius);
	border: 1px solid var(--cg-line); background: var(--cg-paper);
	color: var(--cg-ink); font-size: 1rem; font-family: var(--cg-font-text);
}
.field textarea { min-height: 150px; line-height: 1.6; }
.field-honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tool__resume { font-weight: 500; margin: 0 0 .5rem; color: #2F6B45; }
.tool__error { color: #A8322A; margin: 0 0 .5rem; font-weight: 500; }
.tool__disclaimer { margin: 1.3rem 0 0; font-size: .83rem; color: var(--cg-muted); }

/* -------------------------------------------------------------------------
   15. PIED DE PAGE
   ---------------------------------------------------------------------- */
.site-footer {
	background: var(--cg-dark); color: var(--cg-dark-muted);
	margin-top: var(--cg-section-y);
	background-image: repeating-linear-gradient(
		115deg,
		rgba(242, 238, 228, .03) 0 1px,
		transparent 1px 34px
	);
}
.site-footer__inner {
	max-width: var(--cg-maxw); margin-inline: auto;
	padding: clamp(2.6rem, 6vw, 3.8rem) clamp(1.1rem, 4vw, 2rem);
	display: grid; gap: var(--cg-gap); grid-template-columns: 1fr;
}
.site-footer__inner--bas { padding-block: 0; grid-template-columns: 1fr; }
.site-footer .brand, .site-footer .brand__mark { color: var(--cg-dark-ink); }
.site-footer .brand__accent { color: var(--cg-dark-accent); }
.site-footer__baseline { color: var(--cg-dark-muted); font-size: .92rem; }
.site-footer__title {
	font-size: .74rem; text-transform: uppercase; letter-spacing: .14em;
	margin-bottom: .9rem; color: var(--cg-dark-ink);
	font-family: var(--cg-font-text); font-weight: 500;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: var(--cg-dark-muted); text-decoration: none; font-size: .92rem; }
.site-footer a:hover { color: var(--cg-dark-accent); }
.site-footer__bottom { border-top: 1px solid rgba(242, 238, 228, .14); }
.site-footer__bottom p { margin: 0; padding-block: 1.2rem; font-size: .79rem; color: #8FA096; }
@media (min-width: 48em) { .site-footer__inner { grid-template-columns: 2fr 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); } }

/* -------------------------------------------------------------------------
   16. ACCORDEON
   ---------------------------------------------------------------------- */
.accordion { border: 1px solid var(--cg-line); border-radius: var(--cg-radius); overflow: hidden; background: var(--cg-surface); }
.accordion__item + .accordion__item { border-top: 1px solid var(--cg-line); }
.accordion__trigger {
	width: 100%; text-align: left; background: transparent; border: 0;
	padding: 1.1rem 1.3rem; font: 500 1rem/1.4 var(--cg-font-text);
	color: var(--cg-ink); display: flex; justify-content: space-between;
	align-items: center; gap: 1rem; cursor: pointer;
}
.accordion__trigger::after { content: "+"; font-size: 1.3rem; color: var(--cg-accent); }
.accordion__trigger[aria-expanded="true"]::after { content: "\2212"; }
.accordion__panel { padding: 0 1.3rem 1.2rem; color: var(--cg-muted); }
.accordion__panel[hidden] { display: none; }

/* -------------------------------------------------------------------------
   17. PAGE STANDARD
   ---------------------------------------------------------------------- */
.page-single { padding-bottom: var(--cg-section-y); }
.page-single__head { padding-top: 1.2rem; }
.page-single__content { font-size: 1.04rem; }
.page-single__content h2 { margin-top: 2.2rem; }
.page-single__content h3 { margin-top: 1.6rem; }
.page-single__content ul, .page-single__content ol { padding-left: 1.3rem; }
.page-single__content li { margin-bottom: .45rem; }

/* -------------------------------------------------------------------------
   18. PREFERENCES DE MOUVEMENT
   ---------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	* { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
