/*
Theme Name:   Respirer Ailleurs Child
Theme URI:    https://thrivingeveryseason.org
Description:  Blog de voyage nature et ressourcement en francais - theme enfant GeneratePress. Prototype Carte Topographique / Guide de Terrain. Literata + Commissioner ; palette craie / jade / basalte, courbes de niveau en CSS.
Author:       Respirer Ailleurs
Template:     generatepress
Version:      1.0.0
Text Domain:  thrivingeveryseason-child
*/

/* ============================================================
   RESPIRER AILLEURS - DESIGN SYSTEM
   Guide de terrain : hero panoramique 21:9 avec bloc titre en
   debord, courbes de niveau en repeating-radial-gradient,
   fiche de terrain sous chaque carte, selecteur de huit milieux,
   mosaique asymetrique, bandes sombres basalte.
   Aucun motif postal, aucun filet or, aucune bande de saison,
   aucun calendrier, aucun angle arrondi.
   ============================================================ */

:root {
  /* palette guide de terrain (semantique) */
  --craie:#F2EFE6; --carte:#FBF9F3; --panneau:#E8E4D8;
  --ink:#1E241F; --muted:#6B6F63; --line:#D6D2C4;
  --granit:#8C8A80;
  --jade:#1E8A6B; --jade-deep:#125742; --jade-soft:#9CCBB8;
  --dark:#1B2926; --dark-deep:#12201D;

  /* marqueur unique de la fiche de terrain (jamais un accent d'action) */
  --ambre:#9B6A2E;

  /* signature : courbes de niveau (anneaux concentriques, CSS pur, zero image) */
  --courbes:
    repeating-radial-gradient(ellipse 58% 44% at 18% 64%, transparent 0 20px, rgba(140,138,128,.42) 20px 21.5px),
    repeating-radial-gradient(ellipse 44% 62% at 82% 22%, transparent 0 26px, rgba(140,138,128,.30) 26px 27.5px);
  --courbes-dark:
    repeating-radial-gradient(ellipse 58% 44% at 16% 66%, transparent 0 22px, rgba(156,203,184,.20) 22px 23.5px),
    repeating-radial-gradient(ellipse 44% 62% at 84% 20%, transparent 0 28px, rgba(156,203,184,.13) 28px 29.5px);

  /* alias legacy (composants single / archive du socle) */
  --color-primary:#1E8A6B;
  --color-primary-dark:#125742;
  --color-primary-soft:#9CCBB8;
  --color-bg:#F2EFE6;
  --color-bg-deep:#E8E4D8;
  --color-accent:#1E8A6B;
  --color-accent-soft:#9CCBB8;
  --color-accent-deep:#125742;
  --color-charcoal:#28302A;
  --color-ink:#1E241F;
  --color-muted:#6B6F63;
  --color-line:#D6D2C4;
  --color-white:#FBF9F3;

  --font-serif:'Literata', Georgia, 'Times New Roman', serif;
  --font-sans:'Commissioner', 'Segoe UI', Tahoma, sans-serif;

  --max-w:1280px;
  --max-w-wide:1440px;
  --max-w-narrow:760px;
  /* un seul systeme de forme : angles francs (une carte topographique n'est pas arrondie) */
  --radius-sm:0; --radius-md:0; --radius-lg:0; --radius-xl:0;
}

/* ============================================================ GLOBAL */
body, .entry-content, .widget {
  font-family: var(--font-sans);
  color: var(--color-charcoal);
  background: var(--color-bg);
  font-size: 17px; line-height: 1.7;
}
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.006em; line-height: 1.16;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
a { color: var(--jade-deep); text-decoration: none; transition: color 0.18s; }
a:hover { color: var(--jade); }
p { margin: 0 0 1.2em; }
img { max-width: 100%; height: auto; }
figure { margin: 2em 0; }
figcaption { font-size: 0.92rem; color: var(--color-muted); margin-top: 0.5rem; font-style: italic; text-align: center; }

/* etiquette (kicker) - alias tb-eyebrow pour single / archive */
.tg-kicker, .tb-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--jade-deep); font-weight: 600;
}
.tg-kicker.on-dark, .tb-eyebrow.on-dark { color: var(--jade-soft); }
.tg-meta, .tg-date { font-family: var(--font-sans); font-size: 0.68rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted); font-weight: 500; }

/* SIGNATURE : fiche de terrain (donnees reelles uniquement : rubrique, date, duree de lecture) */
.tg-fiche { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem;
  margin-top: 0.7rem; padding-top: 0.55rem; border-top: 1px solid var(--line);
  font-family: var(--font-sans); font-size: 0.66rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); font-weight: 500; }
.tg-fiche b { color: var(--ink); font-weight: 600; }
.tg-fiche u { text-decoration: none; color: var(--ambre); font-weight: 600; }
.tg-fiche i { display: block; width: 1px; height: 11px; background: var(--line); flex: none; }
.tg-fiche.on-dark { border-top-color: rgba(255,255,255,.18); color: rgba(255,255,255,.55); }
.tg-fiche.on-dark b { color: var(--jade-soft); }
.tg-fiche.on-dark u { color: rgba(255,255,255,.62); }
.tg-fiche.on-dark i { background: rgba(255,255,255,.24); }

/* repli d'occupation (jamais de trou d'image) */
.tg-ph { display:block; width:100%; height:100%; min-height:190px;
  background: var(--panneau); background-image: var(--courbes); }

/* ============================================================ BANDEAU-TITRE */
.tg-mast { background: var(--craie); border-bottom: 1px solid var(--line); padding: 1.6rem 0 1.35rem; }
.tg-mast-in { max-width: var(--max-w); margin: 0 auto; padding: 0 1.8rem;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.tg-np { font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(1.65rem, 3.6vw, 2.5rem); letter-spacing: -0.015em; color: var(--ink); display: block; }
.tg-np:hover { color: var(--jade-deep); }
.tg-np-tag { font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-top: 0.45rem; }
.tg-locator { text-align: right; }
.tg-locator .tg-rule { display: block; width: 64px; height: 0; margin: 0 0 0.55rem auto;
  border-top: 2px solid var(--jade); border-bottom: 1px solid var(--granit); padding-bottom: 4px; }
.tg-locator b { display: block; font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; }
.tg-locator em { display: block; font-style: normal; font-family: var(--font-serif);
  font-size: 1.02rem; font-weight: 600; color: var(--ink); }
@media (max-width: 560px) {
  .tg-locator { text-align: left; }
  .tg-locator .tg-rule { margin-left: 0; }
}

/* ============================================================ LAYOUT / NAV */
.tg-main { display: block !important; width: 100%; }
.tg-main > * { width: 100%; }

.tg-nav { background: var(--panneau); border-bottom: 1px solid var(--line); width: 100%; }
.tg-nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 1.6rem; }
.tg-nav-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.tg-nav-menu li { list-style: none; margin: 0; padding: 0; }
.tg-nav-menu li a {
  display: block; padding: 0.9rem 0.8rem;
  font-family: var(--font-sans); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  border-bottom: 2px solid transparent; transition: color 0.15s, border-color 0.15s;
}
.tg-nav-menu li a:hover { color: var(--jade-deep); border-bottom-color: var(--jade); }
.tg-nav-menu li.current-menu-item > a { color: var(--jade-deep); border-bottom-color: var(--jade); }
@media (max-width: 640px) { .tg-nav-menu li a { padding: 0.7rem 0.6rem; font-size: 0.66rem; } }

/* ============================================================ COQUE DE SECTION */
.tg-sec { padding: 5rem 0; }
.tg-wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 1.8rem; }
.tg-sec-head { margin-bottom: 2.4rem; max-width: 62ch; }
.tg-sec-head .tg-kicker { display: block; margin-bottom: 0.55rem; }
.tg-sec-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.tg-sec-head p { color: var(--muted); margin: 0.7rem 0 0; font-size: 1.02rem; }
.tg-btn { display: inline-block; background: var(--jade); color: #fff;
  padding: 0.9rem 1.7rem; font-family: var(--font-sans);
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  border: 0; transition: background 0.18s; }
.tg-btn:hover { background: var(--jade-deep); color: #fff; }
.tg-more { display: inline-block; font-family: var(--font-sans); font-size: 0.72rem;
  letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600;
  color: var(--jade-deep); border-bottom: 1px solid var(--jade); padding-bottom: 2px; }

/* ============================================================ 1. HERO PANORAMIQUE */
.tg-hero { padding-bottom: 4.4rem; }
.tg-hero-img img, .tg-hero-img .tg-ph { width: 100%; aspect-ratio: 21/9; object-fit: cover; max-height: 560px; }
.tg-hero-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0;
  margin-top: -108px; position: relative; z-index: 2; }
.tg-hero-block { background: var(--craie); padding: 2.8rem 3rem 2.2rem 0; border-top: 3px solid var(--jade); }
.tg-hero-block h1 { font-size: clamp(2.05rem, 3.8vw, 3.15rem); margin: 0.85rem 0 1rem; max-width: 19ch; }
.tg-hero-block p { color: var(--muted); font-size: 1.06rem; max-width: 47ch; margin: 0 0 1.6rem; }
.tg-hero-side { background: var(--panneau); background-image: var(--courbes);
  padding: 2.4rem 2rem; border-left: 1px solid var(--line); align-self: end; }
.tg-hero-side .tg-note { font-family: var(--font-serif); font-size: 1.02rem; line-height: 1.5; margin: 0.7rem 0 0; }
.tg-hero-side .tg-sign { display: block; margin-top: 1.1rem; padding-top: 0.9rem;
  border-top: 1px solid var(--granit); font-size: 0.66rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ============================================================ 2. SELECTEUR DE TERRAIN (signature) */
.tg-terrains { background: var(--carte); background-image: var(--courbes);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 5rem 0; }
.tg-tgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.tg-tc { display: block; background: var(--craie); border: 1px solid var(--line); color: inherit;
  transition: border-color 0.18s; }
.tg-tc img, .tg-tc .tg-ph { width: 100%; aspect-ratio: 4/3; object-fit: cover; min-height: 0; }
.tg-tc-b { display: block; padding: 0.9rem 1rem 1.1rem; position: relative; }
.tg-tc-b::before { content: ""; position: absolute; left: 1rem; top: 0; width: 26px; height: 3px; background: var(--jade); }
.tg-tc-b strong { display: block; font-family: var(--font-serif); font-size: 1.1rem; font-weight: 600; margin-top: 0.55rem; }
.tg-tc-b em { display: block; font-style: normal; font-size: 0.86rem; color: var(--muted); line-height: 1.45; margin-top: 0.25rem; }
.tg-tc-b span { display: block; margin-top: 0.6rem; font-size: 0.64rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--granit); font-weight: 600; }
.tg-tc:hover { border-color: var(--jade); }
.tg-tc:hover strong { color: var(--jade-deep); }

/* ============================================================ 3. A LA UNE (split asymetrique) */
.tg-une { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.6rem; align-items: start; }
.tg-une-lead .tg-une-img { display: block; overflow: hidden; }
.tg-une-lead img, .tg-une-lead .tg-ph { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 0.5s; }
.tg-une-lead:hover img { transform: scale(1.03); }
.tg-une-lead h3 { font-size: clamp(1.5rem, 2.5vw, 2.05rem); margin: 0.9rem 0 0.7rem; }
.tg-une-lead h3 a { color: inherit; }
.tg-une-lead h3 a:hover { color: var(--jade-deep); }
.tg-une-lead p { color: var(--muted); margin: 0 0 1rem; }
.tg-une-side { border-top: 2px solid var(--ink); padding-top: 1.2rem;
  display: flex; flex-direction: column; gap: 1.4rem; }
.tg-mini { display: grid; grid-template-columns: 118px 1fr; gap: 1rem; color: inherit;
  padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.tg-mini:last-child { border-bottom: 0; padding-bottom: 0; }
.tg-mini img, .tg-mini .tg-ph { width: 118px; aspect-ratio: 1/1; object-fit: cover; min-height: 0; }
.tg-mini h4 { font-family: var(--font-serif); font-size: 1.08rem; line-height: 1.3; margin: 0.35rem 0 0; }
.tg-mini:hover h4 { color: var(--jade-deep); }
.tg-mini .tg-fiche { margin-top: 0.5rem; }

/* ============================================================ 4. QUI ECRIT ICI (module de confiance) */
.tg-auteure { background: var(--panneau); background-image: var(--courbes);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 4.6rem 0; }
.tg-auteure-in { display: grid; grid-template-columns: 320px 1fr; gap: 3rem; align-items: start; }
.tg-auteure-in > figure { margin: 0; border: 10px solid var(--carte); box-shadow: 0 18px 40px rgba(30,36,31,.13); }
.tg-auteure-in > figure img, .tg-auteure-in > figure .tg-ph { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.tg-auteure h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.9rem; }
.tg-auteure p { color: var(--muted); max-width: 60ch; }
.tg-engage { list-style: none; margin: 1.6rem 0 1.8rem; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; max-width: 760px; }
.tg-engage li { border-top: 2px solid var(--jade); padding-top: 0.7rem; margin: 0; list-style: none; }
.tg-engage strong { display: block; font-family: var(--font-serif); font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.tg-engage a { display: block; margin-top: 0.3rem; font-size: 0.68rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 600; }

/* ============================================================ 5. CITATION (bande sombre) */
.tg-quote { background: var(--dark); background-image: var(--courbes-dark);
  color: #fff; padding: 5.4rem 1.8rem; text-align: center; }
.tg-quote blockquote { max-width: 900px; margin: 0 auto 1.3rem; border: 0; background: transparent; padding: 0;
  font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.45rem, 2.9vw, 2.2rem);
  line-height: 1.4; color: #fff; }
.tg-quote .tg-sig { font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--jade-soft); font-weight: 600; }

/* ============================================================ 6. MOSAIQUE */
.tg-mos { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(110px, auto); gap: 1.5rem; }
.tg-mi { display: flex; flex-direction: column; background: var(--carte); border: 1px solid var(--line);
  overflow: hidden; color: inherit; transition: border-color 0.2s, transform 0.25s, box-shadow 0.25s; }
.tg-mi:hover { border-color: var(--jade); transform: translateY(-3px); box-shadow: 0 16px 32px rgba(30,36,31,.12); }
.tg-mi .tg-mi-ph { display: block; overflow: hidden; }
.tg-mi img, .tg-mi .tg-ph { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.4s; }
.tg-mi:hover img { transform: scale(1.04); }
.tg-mi.big { grid-row: span 2; }
.tg-mi.big img, .tg-mi.big .tg-ph { aspect-ratio: 4/5; }
.tg-mi.tall img, .tg-mi.tall .tg-ph { aspect-ratio: 3/4; }
.tg-mi.wide img, .tg-mi.wide .tg-ph { aspect-ratio: 16/9; }
.tg-mi-b { display: flex; flex-direction: column; padding: 1rem 1.1rem 1.2rem; flex: 1; }
.tg-mi-b h3 { font-size: 1.14rem; line-height: 1.25; }
.tg-mi.big .tg-mi-b h3 { font-size: 1.55rem; }
.tg-mi-b .tg-ex { font-size: 0.92rem; color: var(--muted); line-height: 1.5; margin-top: 0.45rem; }
.tg-mi-b .tg-fiche { margin-top: auto; }
.tg-mi:hover h3 { color: var(--jade-deep); }

/* ============================================================ 7. PAR TERRAIN (bande sombre) */
.tg-derniers { background: var(--dark-deep); background-image: var(--courbes-dark); color: #fff; padding: 5rem 0; }
.tg-derniers h2 { color: #fff; }
.tg-derniers .tg-sec-head p { color: rgba(255,255,255,.62); }
.tg-dgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.tg-dc { display: block; color: #fff; }
.tg-dc .tg-dc-ph { display: block; overflow: hidden; }
.tg-dc img, .tg-dc .tg-ph { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform 0.5s; }
.tg-dc:hover img { transform: scale(1.05); }
.tg-dc b { display: block; margin-top: 0.8rem; font-size: 0.64rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--jade-soft); font-weight: 600; }
.tg-dc h4 { font-family: var(--font-serif); font-size: 1.12rem; line-height: 1.3; margin-top: 0.4rem; color: #fff; }
.tg-dc:hover h4 { color: var(--jade-soft); }

/* ============================================================ 8. INFOLETTRE (split photo) */
.tg-news { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  background: var(--carte); border-top: 1px solid var(--line); }
.tg-news-img img, .tg-news-img .tg-ph { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.tg-news-body { padding: 4rem 3.4rem; }
.tg-news-body h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: 0.8rem; }
.tg-news-body p { color: var(--muted); max-width: 48ch; margin: 0 0 1.5rem; }
.tg-nform { display: flex; gap: 0.6rem; flex-wrap: wrap; max-width: 470px; }
.tg-nform input { flex: 1 1 220px; padding: 0.85rem 1.1rem; border: 1px solid var(--granit);
  background: var(--craie); font-family: var(--font-sans); font-size: 0.95rem; color: var(--ink); }
.tg-nform input::placeholder { color: #5F6459; }
.tg-nform button { background: var(--jade); color: #fff; border: 0; padding: 0.85rem 1.7rem;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.76rem; letter-spacing: 0.13em;
  text-transform: uppercase; cursor: pointer; transition: background 0.18s; }
.tg-nform button:hover { background: var(--jade-deep); }
.tg-note { font-size: 0.75rem; color: var(--muted); margin-top: 0.9rem; }
.tg-note a { text-decoration: underline; }

/* ============================================================ PIED DE PAGE */
.site-footer { background: var(--dark-deep); color: #fff; font-family: var(--font-sans); padding: 3.8rem 1.8rem 1.6rem; }
.tg-footer-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.4rem; }
.tg-footer-brand { font-family: var(--font-serif); font-weight: 700; font-size: 1.6rem; color: #fff; margin-bottom: 0.5rem; }
.tg-footer-blurb { font-size: 0.9rem; color: rgba(255,255,255,.66); line-height: 1.6; margin: 0.4rem 0 1rem; max-width: 40ch; }
.tg-footer-copy { font-size: 0.8rem; color: rgba(255,255,255,.45); margin: 0; }
.site-footer h5 { font-family: var(--font-sans); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--jade-soft); margin: 0 0 0.9rem; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; line-height: 2; }
.site-footer ul a { color: #fff; font-size: 0.92rem; text-decoration: none; }
.site-footer ul a:hover { color: var(--jade-soft); }
.tg-footer-rgpd { max-width: var(--max-w); margin: 2.4rem auto 0; padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.14); font-size: 0.76rem; color: rgba(255,255,255,.55);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.tg-footer-rgpd a { color: rgba(255,255,255,.78); text-decoration: underline; }

/* ============================================================ ARTICLE */
.single .entry-content, .page .entry-content {
  max-width: var(--max-w-narrow); margin: 0 auto; font-size: 18px; line-height: 1.8;
}
.single .entry-content > p:first-of-type { font-size: 1.16rem; line-height: 1.68; color: var(--ink); }
.tb-post-header { max-width: var(--max-w-narrow); margin: 2.5rem auto 1.5rem; padding: 0 1.8rem; }
.tb-breadcrumb { font-family: var(--font-sans); font-size: 0.78rem; color: var(--muted); letter-spacing: 0.06em; margin-bottom: 1rem; }
.tb-breadcrumb a { color: var(--jade-deep); text-decoration: none; }
.tb-breadcrumb a:hover { color: var(--jade); }
.tb-post-cat { display: inline-block; font-family: var(--font-sans); font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: #fff; background: var(--jade);
  padding: 0.35rem 0.85rem; text-decoration: none; font-weight: 600; margin-bottom: 1rem; }
.tb-post-cat:hover { background: var(--jade-deep); color: #fff; }
.tb-post-title { font-size: clamp(2rem, 3.8vw, 2.9rem); line-height: 1.14; margin: 0.3rem 0 1.2rem; }
.tb-post-meta { font-family: var(--font-sans); font-size: 0.88rem; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; align-items: center; }
.tb-post-meta strong { color: var(--color-charcoal); font-weight: 600; }
.tb-post-meta a { color: var(--jade-deep); }
.tb-post-cover { max-width: var(--max-w-wide); margin: 2rem auto 3rem; padding: 0 1.8rem; }
.tb-post-cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.ftc-disclosure { max-width: var(--max-w-narrow); margin: 0 auto 2.5rem; background: var(--panneau);
  border-left: 4px solid var(--jade); padding: 1rem 1.25rem;
  font-size: 0.94rem; color: var(--color-charcoal); }
.ftc-disclosure p { margin: 0; }
.ftc-disclosure a { color: var(--jade-deep); text-decoration: underline; }
.entry-content .ftc-disclosure { margin-left: 0; margin-right: 0; }

.single .entry-content blockquote { border-left: 4px solid var(--jade); background: var(--panneau);
  font-family: var(--font-serif); font-style: normal; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.45;
  color: var(--ink); padding: 1.6rem 1.8rem; margin: 2.5rem 0; border-radius: 0; }
.entry-content img { border-radius: 0; }

.tb-author-bio { max-width: var(--max-w-narrow); margin: 4rem auto 2rem; padding: 2rem;
  background: var(--carte); border: 1px solid var(--line); background-image: var(--courbes);
  display: grid; grid-template-columns: 96px 1fr; gap: 1.6rem; align-items: start; }
@media (max-width: 540px) { .tb-author-bio { grid-template-columns: 1fr; text-align: center; } }
.tb-author-avatar { width: 96px; height: 96px; background: var(--jade); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-weight: 700; font-size: 2rem; }
@media (max-width: 540px) { .tb-author-avatar { margin: 0 auto; } }
.tb-author-bio .tb-eyebrow { margin-bottom: 0.4rem; display: block; }
.tb-author-bio h4 { margin: 0 0 0.4rem; font-size: 1.3rem; }
.tb-author-bio p { font-size: 0.96rem; color: var(--muted); margin: 0 0 0.4rem; line-height: 1.6; }
.tb-author-bio a { font-family: var(--font-sans); font-size: 0.85rem; color: var(--jade-deep); }

.tb-related { max-width: var(--max-w); margin: 4rem auto 3rem; padding: 0 1.8rem; }
.tb-related h3 { font-size: 1.5rem; margin: 0 0 1.5rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); }
.tb-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 700px) { .tb-related-grid { grid-template-columns: 1fr; } }
.tb-related-card { text-decoration: none; color: inherit; display: block; }
.tb-related-card .tb-related-cover { aspect-ratio: 4/3; overflow: hidden; background: var(--panneau); margin-bottom: 0.8rem; }
.tb-related-cover img { width: 100%; height: 100%; object-fit: cover; }
.tb-related-card .tb-related-title { font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.3; margin: 0; }
.tb-related-card:hover .tb-related-title { color: var(--jade-deep); }

/* ============================================================ ARCHIVE */
.tb-archive-hero { background: var(--panneau); background-image: var(--courbes);
  padding: 4rem 1.8rem 3.5rem; border-bottom: 1px solid var(--line); }
.tb-archive-hero-in { max-width: var(--max-w); margin: 0 auto; }
.tb-archive-hero .tb-eyebrow { margin-bottom: 0.8rem; display: block; }
.tb-archive-hero h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin: 0 0 0.6rem; }
.tb-archive-hero p { max-width: 66ch; margin: 0; font-size: 1.02rem; color: var(--muted); line-height: 1.6; }
.tb-archive-count { font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--jade-deep); font-weight: 600; margin-bottom: 1rem; }
.tb-archive-feature { max-width: var(--max-w); margin: 3rem auto 0; padding: 0 1.8rem; }
.tb-archive-feature .tb-spread { padding: 0 0 3rem; border-bottom: 1px solid var(--line); }
.tb-spread { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 800px) { .tb-spread { grid-template-columns: 1fr; gap: 2rem; } }
.tb-spread-image { display: block; overflow: hidden; aspect-ratio: 16/10; background: var(--panneau); }
.tb-spread-image img { width: 100%; height: 100%; object-fit: cover; }
.tb-spread-text .tb-eyebrow { margin-bottom: 0.8rem; display: block; }
.tb-spread-text h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.18; margin: 0 0 1rem; }
.tb-spread-text h3 a { color: inherit; }
.tb-spread-text h3 a:hover { color: var(--jade-deep); }
.tb-spread-excerpt { font-size: 1.05rem; color: var(--muted); margin-bottom: 1.2rem; line-height: 1.65; }
.tb-spread-read { display: inline-block; font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--jade-deep); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--jade); padding-bottom: 2px; }
.tb-archive-grid { max-width: var(--max-w); margin: 3rem auto; padding: 0 1.8rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 900px) { .tb-archive-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tb-archive-grid { grid-template-columns: 1fr; } }
.tb-archive-card { text-decoration: none; color: inherit; display: block; }
.tb-archive-card .tb-archive-cover { aspect-ratio: 3/2; overflow: hidden; background: var(--panneau); margin-bottom: 1rem; }
.tb-archive-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.tb-archive-card:hover .tb-archive-cover img { transform: scale(1.04); }
.tb-archive-card .tb-archive-title { font-family: var(--font-serif); font-size: 1.28rem; line-height: 1.3; margin: 0 0 0.5rem; }
.tb-archive-card:hover .tb-archive-title { color: var(--jade-deep); }
.tb-archive-card .tb-archive-excerpt { font-size: 0.95rem; color: var(--muted); line-height: 1.55; }
.tb-archive-empty { max-width: 700px; margin: 4rem auto; text-align: center; padding: 0 1.8rem; color: var(--muted); }
.tb-archive-pagination { max-width: var(--max-w); margin: 2rem auto 4rem; padding: 0 1.8rem; text-align: center; }
.tb-archive-pagination a, .tb-archive-pagination .page-numbers { color: var(--jade-deep); }
.tb-archive-pagination .current { color: var(--ink); font-weight: 700; }

/* ============================================================ INFOLETTRE EN PIED D'ARTICLE */
.tg-post-news { background: var(--panneau); background-image: var(--courbes);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 3.6rem 1.8rem; }
.tg-post-news-in { max-width: var(--max-w-narrow); margin: 0 auto; }
.tg-post-news .tb-eyebrow { display: block; margin-bottom: 0.6rem; }
.tg-post-news h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 0.7rem; }
.tg-post-news p { color: var(--muted); max-width: 52ch; margin: 0 0 1.4rem; }

/* accessibilite : libelles reserves aux lecteurs d'ecran */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ============================================================ BARRE DE PROGRESSION */
@supports (animation-timeline: scroll()) {
  .tb-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%;
    background: var(--jade); transform-origin: left; transform: scaleX(0);
    animation: tb-progress linear; animation-timeline: scroll(root block); z-index: 9999; }
  @keyframes tb-progress { to { transform: scaleX(1); } }
}

/* ============================================================ RESPONSIVE */
@media (max-width: 1000px) {
  .tg-hero-in { grid-template-columns: 1fr; margin-top: -60px; }
  .tg-hero-block { padding: 2.2rem 1.6rem 1.6rem 0; }
  .tg-hero-side { border-left: 0; border-top: 1px solid var(--line); }
  .tg-tgrid { grid-template-columns: repeat(2, 1fr); }
  .tg-une { grid-template-columns: 1fr; gap: 2.2rem; }
  .tg-auteure-in { grid-template-columns: 1fr; gap: 2rem; }
  .tg-auteure-in > figure { max-width: 320px; }
  .tg-engage { grid-template-columns: 1fr; }
  .tg-mos { grid-template-columns: repeat(2, 1fr); }
  .tg-mi.big { grid-row: auto; }
  .tg-dgrid { grid-template-columns: repeat(2, 1fr); }
  .tg-news { grid-template-columns: 1fr; }
  .tg-news-body { padding: 2.6rem 1.8rem; }
  .tg-footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .tg-tgrid { grid-template-columns: 1fr; }
  .tg-mos { grid-template-columns: 1fr; }
  .tg-dgrid { grid-template-columns: 1fr; }
  .tg-mini { grid-template-columns: 88px 1fr; }
  .tg-mini img, .tg-mini .tg-ph { width: 88px; }
  .tg-sec { padding: 3.4rem 0; }
  .tg-terrains { padding: 3.4rem 0; }
  .tg-derniers { padding: 3.4rem 0; }
  .tg-auteure { padding: 3.4rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
