/* ============================================================
   theocatho-strasbourg.fr
   « Cathédrale grès rose & vitrail »
   Magazine culture chrétienne et patrimoine catholique alsacien
   ============================================================ */

:root {
  /* Palette principale */
  --gres: #C2877C;
  --vitrail: #3A5F7D;
  --or: #C9A659;
  --sapin: #2F4938;
  --parchemin: #F4EDE0;
  --encre: #1A1F2E;

  /* Dérivés opacité encre */
  --encre-80: rgba(26, 31, 46, 0.80);
  --encre-65: rgba(26, 31, 46, 0.65);
  --encre-40: rgba(26, 31, 46, 0.40);
  --encre-20: rgba(26, 31, 46, 0.20);
  --encre-10: rgba(26, 31, 46, 0.10);
  --encre-06: rgba(26, 31, 46, 0.06);

  /* Dérivés autres */
  --gres-30: rgba(194, 135, 124, 0.30);
  --gres-15: rgba(194, 135, 124, 0.15);
  --or-60: rgba(201, 166, 89, 0.60);
  --or-30: rgba(201, 166, 89, 0.30);
  --vitrail-15: rgba(58, 95, 125, 0.15);
  --parchemin-95: rgba(244, 237, 224, 0.95);
  --parchemin-75: rgba(244, 237, 224, 0.75);
  --parchemin-40: rgba(244, 237, 224, 0.40);

  /* Polices */
  --ff-display: 'EB Garamond', Georgia, serif;
  --ff-quote: 'Cormorant Garamond', Georgia, serif;
  --ff-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Mesures */
  --measure-article: 680px;
  --measure-wide: 1280px;
  --measure-hero: 1440px;
  --gutter: clamp(1rem, 4vw, 2rem);

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 300ms;
  --dur: 500ms;
  --dur-slow: 700ms;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--encre);
  background: var(--parchemin);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, video, svg { display: block; max-width: 100%; height: auto; }

/* Anti-distorsion wrappers — CODEX REGLE 14 */
.img-hero     { aspect-ratio: 16/9; overflow: hidden; }
.img-card     { aspect-ratio: 3/2;  overflow: hidden; }
.img-body     { aspect-ratio: 3/2;  overflow: hidden; }
.img-portrait { aspect-ratio: 1/1;  overflow: hidden; border-radius: 50%; }

.img-hero img, .img-card img, .img-body img, .img-portrait img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
a { color: inherit; text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--vitrail); }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul, ol { list-style: none; }

/* ============================================================
   TYPOGRAPHIE
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--encre);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); letter-spacing: -0.005em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

.kicker {
  font-family: var(--ff-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vitrail);
  display: inline-block;
}

.chapeau, .article-summary {
  font-family: var(--ff-quote);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.55;
  color: var(--encre-80);
}

blockquote, .pull-quote {
  font-family: var(--ff-quote);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--encre-80);
  padding: 1.2rem 0 1.2rem 1.4rem;
  border-left: 3px solid var(--or);
  margin: 2rem 0;
}

/* H2 underline doré */
.article-body h2,
.page-body h2 {
  margin-top: 3rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.6rem;
}
.article-body h2::after,
.page-body h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 2px;
  background: var(--or);
  transform-origin: left;
}

.article-body h3,
.page-body h3 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  color: var(--vitrail);
}

.article-body p,
.page-body p {
  margin-bottom: 1.2rem;
  max-width: var(--measure-article);
}

.article-body ul,
.page-body ul,
.article-body ol,
.page-body ol {
  margin: 0 0 1.2rem 1.6rem;
  list-style: disc;
  max-width: var(--measure-article);
}
.article-body ol,
.page-body ol { list-style: decimal; }
.article-body li,
.page-body li { margin-bottom: 0.5rem; }

.article-body a,
.page-body a {
  color: var(--vitrail);
  border-bottom: 1px solid var(--vitrail-15);
  transition: border-color var(--dur-fast) var(--ease);
}
.article-body a:hover,
.page-body a:hover { border-bottom-color: var(--vitrail); }

/* Lettrine premier paragraphe */
.article-body > p:first-of-type::first-letter,
.page-body > p:first-of-type::first-letter {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 4.5em;
  line-height: 0.9;
  float: left;
  padding: 0.05em 0.15em 0 0;
  color: var(--or);
}

/* ============================================================
   LAYOUT GENERAL
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section-tight { padding: clamp(2rem, 4vw, 3.5rem) 0; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem 0;
  background: transparent;
  transition: background var(--dur-fast) var(--ease), padding var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.site-header.scrolled {
  background: var(--parchemin-95);
  backdrop-filter: blur(8px);
  padding: 0.7rem 0;
  box-shadow: 0 1px 0 var(--encre-10);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--encre);
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
}
.nav-primary { display: flex; align-items: center; gap: 1.8rem; }
.nav-primary a, .nav-primary button {
  font-family: var(--ff-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--encre-80);
  position: relative;
}
.nav-primary a:hover, .nav-primary button:hover { color: var(--vitrail); }
.nav-primary .dropdown { position: relative; }
.nav-primary .dropdown-menu {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: -1rem;
  background: var(--parchemin);
  border: 1px solid var(--encre-10);
  border-top: 2px solid var(--or);
  box-shadow: 0 16px 40px var(--encre-10);
  padding: 0.8rem 0;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--dur-fast) var(--ease);
}
.nav-primary .dropdown:hover .dropdown-menu,
.nav-primary .dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 0.55rem 1.2rem;
  font-size: 0.95rem;
  color: var(--encre-80);
  white-space: nowrap;
}
.dropdown-menu a:hover { background: var(--gres-15); color: var(--vitrail); }

.nav-toggle {
  display: none;
  width: 32px;
  height: 24px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--encre);
  transition: all var(--dur-fast) var(--ease);
}
.nav-toggle span:nth-child(1) { top: 4px; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 18px; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-primary {
    position: fixed;
    inset: 0;
    background: var(--parchemin);
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
  }
  body.nav-open .nav-primary { transform: translateX(0); }
  body.nav-open .nav-toggle span:nth-child(1) { transform: rotate(45deg); top: 11px; }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: rotate(-45deg); top: 11px; }
  .nav-primary a, .nav-primary button { font-size: 1.4rem; font-family: var(--ff-display); font-weight: 700; }
  .nav-primary .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0.8rem 0 0;
    min-width: 0;
  }
  .dropdown-menu a { padding: 0.4rem 0; font-size: 1rem; text-align: center; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(420px, 70vh, 720px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--encre);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, var(--encre-40) 0%, var(--encre-65) 100%),
    radial-gradient(ellipse at top right, var(--gres-30) 0%, transparent 60%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--measure-hero);
  margin: 0 auto;
  padding: 8rem var(--gutter) 4rem;
  color: var(--parchemin);
}
.hero .kicker { color: var(--or); }
.hero h1 {
  color: var(--parchemin);
  margin: 0.8rem 0 1.2rem;
  max-width: 820px;
}
.hero-description {
  font-family: var(--ff-quote);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.55;
  color: var(--parchemin-75);
  max-width: 700px;
  margin-bottom: 2rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--parchemin-75);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: bounce 2.5s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* Hero article (plus court) */
.hero-article {
  min-height: clamp(360px, 55vh, 540px);
  align-items: flex-end;
}
.hero-article .hero-inner { padding: 7rem var(--gutter) 3rem; }
.hero-breadcrumb {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 1.2rem;
}
.hero-breadcrumb a { color: var(--parchemin-75); }
.hero-breadcrumb a:hover { color: var(--or); }
.hero-meta {
  display: flex;
  gap: 1.2rem;
  font-size: 0.88rem;
  color: var(--parchemin-75);
  margin-top: 1.4rem;
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  border: 1px solid;
  transition: all var(--dur-fast) var(--ease);
}
.btn-primary {
  background: var(--or);
  color: var(--encre);
  border-color: var(--or);
}
.btn-primary:hover {
  background: transparent;
  color: var(--or);
}
.btn-ghost {
  background: transparent;
  color: var(--parchemin);
  border-color: var(--parchemin-40);
}
.btn-ghost:hover {
  border-color: var(--or);
  color: var(--or);
}
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--vitrail);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}
.btn-link::after {
  content: '→';
  transition: transform var(--dur-fast) var(--ease);
}
.btn-link:hover::after { transform: translateX(4px); }

/* ============================================================
   GRILLE GUIDES ASYMETRIQUE
   ============================================================ */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.4rem;
}
.guide-card {
  position: relative;
  background: var(--parchemin);
  border: 1px solid var(--encre-10);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px var(--encre-10);
}
.guide-card a { display: block; height: 100%; }
.guide-card-img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.guide-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.guide-card:hover .guide-card-img img { transform: scale(1.04); }
.guide-card-body { padding: 1.3rem 1.4rem 1.5rem; }
.guide-card .kicker { margin-bottom: 0.4rem; }
.guide-card h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.guide-card-desc {
  font-size: 0.92rem;
  color: var(--encre-65);
  line-height: 1.5;
}

/* Pattern asymétrique 12 colonnes (8 cards) */
.guide-card.span-sq { grid-column: span 3; }
.guide-card.span-po { grid-column: span 3; }
.guide-card.span-po .guide-card-img { aspect-ratio: 3 / 4; }
.guide-card.span-feature { grid-column: span 6; }
.guide-card.span-feature .guide-card-img { aspect-ratio: 16 / 9; }
.guide-card.span-feature h3 { font-size: 1.6rem; font-family: var(--ff-display); }

@media (max-width: 880px) {
  .guides-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .guide-card.span-sq,
  .guide-card.span-po,
  .guide-card.span-feature { grid-column: span 1; }
  .guide-card.span-po .guide-card-img,
  .guide-card.span-feature .guide-card-img { aspect-ratio: 3 / 2; }
}
@media (max-width: 540px) {
  .guides-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CARDS BLOG
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.6rem;
}
.blog-card {
  background: var(--parchemin);
  border: 1px solid var(--encre-10);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px var(--encre-10);
}
.blog-card-img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 1.4rem 1.4rem 1.6rem; }
.blog-card .kicker {
  margin-bottom: 0.5rem;
  color: var(--or);
}
.blog-card h3 {
  font-size: 1.25rem;
  font-family: var(--ff-display);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.blog-card-excerpt {
  font-size: 0.92rem;
  color: var(--encre-65);
  line-height: 1.5;
  margin-bottom: 0.8rem;
}
.blog-card-date {
  font-size: 0.8rem;
  color: var(--encre-40);
  letter-spacing: 0.04em;
}

/* ============================================================
   SECTION INTRO EDITORIALE
   ============================================================ */
.intro-section { background: var(--parchemin); padding: clamp(4rem, 8vw, 7rem) 0; }
.intro-section .kicker { color: var(--vitrail); margin-bottom: 1rem; }
.intro-section h2 {
  max-width: 760px;
  margin-bottom: 1.5rem;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
}
.intro-section p {
  font-family: var(--ff-quote);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.6;
  color: var(--encre-80);
  max-width: 720px;
}

/* ============================================================
   SECTION IMMERSIVE
   ============================================================ */
.immersive-section {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.immersive-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.immersive-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.immersive-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, var(--encre-80) 0%, var(--encre-65) 60%, transparent 100%),
    radial-gradient(circle at top left, var(--vitrail-15) 0%, transparent 40%);
}
.immersive-section .container { position: relative; z-index: 2; }
.immersive-section .kicker { color: var(--or); }
.immersive-section h2 {
  color: var(--parchemin);
  max-width: 720px;
  margin: 1rem 0 1.4rem;
}
.immersive-section p {
  color: var(--parchemin-75);
  max-width: 620px;
  font-family: var(--ff-quote);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.55;
  margin-bottom: 1.8rem;
}

/* ============================================================
   ARTICLE-WRAPPER + TOC + BODY
   ============================================================ */
.article-wrapper {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter);
  align-items: start;
}
.article-wrapper:not(:has(.article-toc)) {
  grid-template-columns: 1fr;
}
.article-toc {
  position: sticky;
  top: 96px;
  align-self: start;
  background: var(--parchemin-95);
  border-left: 2px solid var(--or);
  padding: 1.2rem 1.4rem;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.article-toc-title {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vitrail);
  margin-bottom: 0.8rem;
}
.article-toc ul { display: flex; flex-direction: column; gap: 0.4rem; }
.article-toc li { font-size: 0.92rem; line-height: 1.4; }
.article-toc a {
  color: var(--encre-65);
  padding-left: 1rem;
  position: relative;
}
.article-toc a::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--or);
  font-weight: 600;
}
.article-toc a:hover { color: var(--vitrail); }

.article-summary, .page-summary {
  font-family: var(--ff-quote);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.55;
  color: var(--encre-80);
  border-bottom: 1px solid var(--encre-10);
  padding-bottom: 1.6rem;
  margin-bottom: 2rem;
  max-width: var(--measure-article);
}

.article-body, .page-body {
  max-width: var(--measure-article);
  font-size: 1.06rem;
}
.article-body img, .page-body img {
  margin: 2rem 0;
  border: 1px solid var(--encre-10);
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.article-body p:has(> img:only-child),
.page-body p:has(> img:only-child) { margin: 0; }

/* Separateur ornemental */
.separator-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 3rem auto;
  max-width: 240px;
  color: var(--or);
}
.separator-ornament::before,
.separator-ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--or-30);
}
.separator-ornament span { font-size: 1.4rem; line-height: 1; }

@media (max-width: 980px) {
  .article-wrapper { grid-template-columns: 1fr; }
  .article-toc { position: static; max-height: none; margin-bottom: 1.5rem; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  max-width: var(--measure-article);
  margin: 3rem 0 1rem;
}
.faq-title {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}
.faq-item {
  border-top: 1px solid var(--encre-10);
}
.faq-item:last-child { border-bottom: 1px solid var(--encre-10); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 0;
  text-align: left;
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--encre);
}
.faq-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-body);
  font-size: 1.4rem;
  color: var(--or);
  transition: transform var(--dur-fast) var(--ease);
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur) var(--ease);
}
.faq-item.open .faq-answer { max-height: 1200px; }
.faq-answer p { padding: 0 0 1.2rem; color: var(--encre-65); }

/* ============================================================
   RELATED ARTICLES
   ============================================================ */
.related-section { background: var(--encre-06); padding: clamp(3rem, 6vw, 5rem) 0; }
.related-section .kicker { color: var(--vitrail); }
.related-section h2 { margin: 0.6rem 0 2rem; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.4rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--encre);
  color: var(--parchemin-75);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-col h4 {
  font-family: var(--ff-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 1rem;
}
.footer-col p, .footer-col a {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--parchemin-75);
}
.footer-col ul li { margin-bottom: 0.4rem; }
.footer-col a:hover { color: var(--or); }
.footer-brand .brand {
  color: var(--parchemin);
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
}
.footer-slogan {
  font-family: var(--ff-quote);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--parchemin-75);
  max-width: 320px;
}
.footer-bottom {
  border-top: 1px solid var(--encre-65);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--parchemin-40);
}
.footer-heritage {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--parchemin-40);
  font-style: italic;
  max-width: 760px;
}

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================================
   ANIMATIONS REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   BLOG INDEX FILTRES
   ============================================================ */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 2.5rem;
}
.blog-filter {
  padding: 0.5rem 1rem;
  border: 1px solid var(--encre-20);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--encre-65);
  transition: all var(--dur-fast) var(--ease);
}
.blog-filter:hover,
.blog-filter.active {
  background: var(--vitrail);
  color: var(--parchemin);
  border-color: var(--vitrail);
}

/* ============================================================
   PAGE 404 + 410 (utilitaire)
   ============================================================ */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
}
.error-page h1 { font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 1rem; }
.error-page p { margin: 0 auto 2rem; max-width: 540px; font-family: var(--ff-quote); font-style: italic; font-size: 1.2rem; }
.error-page .cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-email {
  border: 1px solid var(--encre-10);
  background: var(--parchemin);
  padding: 1.8rem;
  max-width: 540px;
}
.contact-email p { margin-bottom: 0.8rem; }
.contact-email p:last-child { margin-bottom: 0; }

/* ============================================================
   UTILITAIRES
   ============================================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.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;
}
