/* ============================================================
   PRADELLES — Magazine patrimonial rural
   Framework : CSS Grid + Flexbox pur
   Archétype index : E — Immersif pleine largeur avec overlay
   ============================================================ */

/* ── IMPORTS GOOGLE FONTS ─────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

/* ── VARIABLES CSS ─────────────────────────────────────────── */
:root {
  --color-primary:    #2C3E2D;
  --color-secondary:  #8B6F47;
  --color-accent:     #C8A96E;
  --color-text:       #2A2420;
  --color-bg:         #F7F3EE;
  --color-bg-warm:    #EDE8E0;
  --color-bg-dark:    #1E2A1F;
  --color-border:     #D4C9B8;
  --color-muted:      #7A6E65;
  --color-white:      #FDFAF6;

  --font-display:     'Playfair Display', Georgia, serif;
  --font-body:        'Lora', 'Times New Roman', serif;

  --radius-sm:        4px;
  --radius-md:        8px;
  --radius-lg:        16px;

  --shadow-sm:        0 1px 4px rgba(42,36,32,0.08);
  --shadow-md:        0 4px 16px rgba(42,36,32,0.12);
  --shadow-lg:        0 8px 32px rgba(42,36,32,0.18);

  --max-content:      740px;
  --max-wide:         1200px;
  --max-full:         1400px;

  --transition:       0.25s ease;
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent);
}

ul, ol {
  list-style: none;
}

/* ── TYPOGRAPHIE GLOBALE ────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--color-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

p { margin-bottom: 1.25rem; }

blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--color-bg-warm);
  font-style: italic;
  color: var(--color-secondary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ── CONTENEURS ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--wide {
  width: 100%;
  max-width: var(--max-full);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── LIGNE DÉCORATIVE ───────────────────────────────────────── */
.ornament {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.ornament-text {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-style: italic;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  white-space: nowrap;
}

/* ── LABEL CATÉGORIE ────────────────────────────────────────── */
.label-category {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-secondary);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.label-category:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ── HEADER / NAV ───────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(28, 38, 29, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(200, 169, 110, 0.2);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(28, 38, 29, 0.99);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  max-width: var(--max-full);
  margin: 0 auto;
  gap: 2rem;
}

/* Logo */
.nav-logo a {
  display: flex;
  align-items: center;
  line-height: 0;
}

.nav-logo img {
  height: 72px;
  width: auto;
  display: block;
  filter: brightness(1.05);
}

/* Menu desktop */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-menu a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253, 250, 246, 0.85);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-accent);
  background: rgba(200, 169, 110, 0.1);
}

/* Bouton menu mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
  outline: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Drawer mobile */
.nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--color-bg-dark);
  z-index: 1100;
  flex-direction: column;
  padding: 5rem 2rem 2rem;
  gap: 0.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.nav-drawer.open {
  transform: translateX(0);
}

.nav-drawer a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(253, 250, 246, 0.85);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(200, 169, 110, 0.12);
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.nav-drawer a:hover {
  color: var(--color-accent);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1050;
}

.nav-overlay.open {
  display: block;
}

/* ── HERO IMMERSIF (INDEX) ──────────────────────────────────── */
.hero-immersive {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-immersive__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Voile dégradé complexe (bas gauche) */
.hero-immersive::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(30, 42, 31, 0.92) 0%,
      rgba(30, 42, 31, 0.65) 35%,
      rgba(30, 42, 31, 0.15) 65%,
      transparent 100%
    ),
    linear-gradient(
      to right,
      rgba(30, 42, 31, 0.55) 0%,
      transparent 60%
    );
  z-index: 1;
}

.hero-immersive__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 1.5rem 5rem;
  max-width: var(--max-full);
  margin: 0 auto;
}

.hero-immersive__eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-immersive__eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--color-accent);
}

.hero-immersive__h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--color-white);
  max-width: 700px;
  margin-bottom: 1.25rem;
  text-align: left;
}

.hero-immersive__h1 em {
  font-style: italic;
  color: var(--color-accent);
}

.hero-immersive__baseline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-style: italic;
  color: rgba(253, 250, 246, 0.8);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.55;
  text-align: left;
}

.hero-immersive__scroll {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(253, 250, 246, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.hero-immersive__scroll-line {
  width: 40px;
  height: 1px;
  background: rgba(253, 250, 246, 0.3);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { width: 40px; opacity: 0.3; }
  50% { width: 60px; opacity: 0.7; }
}

/* ── SECTION ÉDITO (contenu accueil) ────────────────────────── */
.section-edito {
  background: var(--color-white);
  padding: 5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.section-edito__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-edito__label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-edito__label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-accent);
}

.section-edito .content-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text);
}

.section-edito .content-body p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  line-height: 0.8;
  padding-right: 0.15em;
  padding-top: 0.1em;
  color: var(--color-primary);
}

/* ── SHOWCASE / GRILLE D'ARTICLES ───────────────────────────── */
.section-showcase {
  background: var(--color-bg);
  padding: 5rem 0;
}

.section-showcase__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-primary);
}

.section-showcase__title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-primary);
}

.section-showcase__link {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition), gap var(--transition);
}

.section-showcase__link::after {
  content: '→';
  transition: transform var(--transition);
}

.section-showcase__link:hover {
  color: var(--color-accent);
  gap: 0.75rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ── CARTE ARTICLE (post-loop) ──────────────────────────────── */
.post-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.post-card__thumb {
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--color-bg-warm);
}

.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.post-card:hover .post-card__thumb img {
  transform: scale(1.05);
}

.post-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.post-card__date {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--color-muted);
  letter-spacing: 0.06em;
}

.post-card__title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  margin: 0.25rem 0;
  flex: 1;
}

.post-card__title a {
  color: inherit;
  transition: color var(--transition);
}

.post-card__title a:hover {
  color: var(--color-secondary);
}

.post-card__excerpt {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__read {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition), gap var(--transition);
}

.post-card__read::after {
  content: '→';
}

.post-card__read:hover {
  color: var(--color-accent);
  gap: 0.75rem;
}

/* ── POST-LIST PAGE ─────────────────────────────────────────── */
.page-banner {
  background: var(--color-primary);
  padding: 7rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40%;
  background: rgba(200, 169, 110, 0.08);
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.page-banner__eyebrow {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.page-banner__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.1;
  text-align: left;
}

.page-banner__desc {
  font-family: var(--font-body);
  font-style: italic;
  color: rgba(253, 250, 246, 0.7);
  margin-top: 1rem;
  max-width: 540px;
  font-size: 1rem;
}

.post-list-section {
  padding: 4rem 0 5rem;
}

.post-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

/* Pagination */
.pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.pagination-wrap .page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  text-decoration: none;
}

.pagination-wrap .page:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.pagination-wrap .page.active,
.pagination-wrap .active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* ── PAGE ARTICLE ───────────────────────────────────────────── */

/* Breadcrumb */
.breadcrumb-bar {
  background: var(--color-bg-warm);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-muted);
}

.breadcrumb a {
  color: var(--color-secondary);
  font-weight: 500;
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb-sep {
  color: var(--color-border);
}

/* Article header */
.post-header {
  background: var(--color-primary);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.post-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--color-bg);
  clip-path: polygon(0 100%, 100% 100%, 100% 30%, 0 100%);
}

.post-header__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.post-header__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.post-header__date {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(253, 250, 246, 0.6);
  letter-spacing: 0.1em;
}

.post-header__reading-time {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(253, 250, 246, 0.5);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.post-header__reading-time::before {
  content: '·';
  color: var(--color-accent);
}

.post-header__h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 1rem;
  text-align: left;
}

/* Image principale article */
.post-thumbnail {
  max-width: var(--max-content);
  margin: 2.5rem auto;
  padding: 0 1.5rem;
}

.post-thumbnail img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* Corps article */
.post-body {
  padding: 0 0 4rem;
}

.post-body .container--narrow {
  padding-top: 1rem;
}

.article-content {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text);
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent);
}

.article-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 2rem 0 0.75rem;
}

.article-content h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin: 1.5rem 0 0.5rem;
}

.article-content p {
  margin-bottom: 1.4rem;
}

.article-content ul,
.article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.4rem;
}

.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }

.article-content li {
  margin-bottom: 0.4rem;
}

.article-content a {
  color: var(--color-secondary);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 3px;
}

.article-content a:hover {
  color: var(--color-accent);
}

.article-content img {
  width: 100%;
  border-radius: var(--radius-sm);
  margin: 2rem 0;
}

.article-content blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 1.25rem 1.75rem;
  margin: 2.5rem 0;
  background: var(--color-bg-warm);
  font-style: italic;
  color: var(--color-secondary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article-content blockquote p {
  margin: 0;
  font-size: 1.1rem;
}

/* Séparateur article */
.post-divider {
  border: none;
  height: 1px;
  background: var(--color-border);
  margin: 3rem auto;
  max-width: var(--max-content);
  padding: 0 1.5rem;
}

/* Bloc auteur */
.post-signatory {
  max-width: var(--max-content);
  margin: 2.5rem auto;
  padding: 1.5rem;
  background: var(--color-bg-warm);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-secondary);
}

.post-signatory__label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

/* Articles liés */
.post-related {
  background: var(--color-bg-warm);
  padding: 4rem 0;
  border-top: 1px solid var(--color-border);
}

.post-related__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.post-related__title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ── TABLE DES MATIÈRES ──────────────────────────────────────── */
.toc-box {
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}

.toc-box__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc-box__title::before {
  content: '§';
  color: var(--color-accent);
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(253, 250, 246, 0.7);
  padding: 3rem 0 1.5rem;
  border-top: 3px solid var(--color-secondary);
}

.footer-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(200, 169, 110, 0.15);
  flex-wrap: wrap;
}

.footer-brand__logo img {
  height: 60px;
  width: auto;
  opacity: 0.85;
  filter: brightness(0.9);
}

.footer-brand__tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.85rem;
  color: rgba(253, 250, 246, 0.5);
  margin-top: 0.5rem;
}

.footer-info {
  text-align: right;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(253, 250, 246, 0.5);
  line-height: 1.8;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: rgba(253, 250, 246, 0.35);
  text-align: center;
}

.footer-bottom a {
  color: rgba(253, 250, 246, 0.45);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--color-accent);
}

.footer-bottom-sep {
  color: rgba(200, 169, 110, 0.3);
}

/* ── UTILITAIRES ─────────────────────────────────────────────── */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-muted); }
.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;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */

/* ≤ 1199px : large tablette */
@media (max-width: 1199px) {
  .showcase-grid,
  .post-list-grid,
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ≤ 991px : tablette */
@media (max-width: 991px) {
  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-immersive__h1 {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .section-showcase__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-info {
    text-align: left;
  }
}

/* ≤ 767px : mobile large */
@media (max-width: 767px) {
  html { font-size: 16px; }

  .showcase-grid,
  .post-list-grid,
  .related-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-immersive {
    min-height: 100svh;
  }

  .hero-immersive__content {
    padding-bottom: 4rem;
  }

  .section-edito {
    padding: 3rem 0;
  }

  .section-showcase {
    padding: 3rem 0;
  }

  .post-header {
    padding: 4rem 0 3rem;
  }

  .post-related {
    padding: 3rem 0;
  }

  .page-banner {
    padding: 6rem 0 2.5rem;
  }
}

/* ≤ 479px : mobile */
@media (max-width: 479px) {
  .nav-logo img {
    height: 52px;
  }

  .nav-inner {
    padding: 0.75rem 1rem;
  }

  .hero-immersive__h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .post-card__body {
    padding: 1.25rem;
  }

  .pagination-wrap .page {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }
}

/* ≤ 319px : très petit */
@media (max-width: 319px) {
  .nav-logo img {
    height: 48px;
  }

  html { font-size: 15px; }
}
