/* ============================================================
   letempsdypenser.fr — Design Q4b : Lumière & contemplation
   Cormorant Garamond + Lora + Montserrat | Bordeaux & Or
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Lora:ital,wght@0,400;0,500;1,400&family=Montserrat:wght@400;500;600&display=swap');

/* ── Tokens ──────────────────────────────────────────────── */
:root {
  --ivoire:      #FAFAF7;
  --parchemin:   #F0EEE8;
  --bordeaux:    #6B1E2E;
  --or:          #B8962E;
  --encre:       #1C1A18;
  --corps:       #3D3A35;
  --muet:        #8A847A;

  --bordeaux-80: rgba(107, 30, 46, 0.80);
  --bordeaux-60: rgba(107, 30, 46, 0.60);
  --bordeaux-20: rgba(107, 30, 46, 0.20);
  --bordeaux-08: rgba(107, 30, 46, 0.08);

  --ivoire-95:   rgba(250, 250, 247, 0.95);
  --ivoire-80:   rgba(250, 250, 247, 0.80);

  --ff-display:  'Cormorant Garamond', Georgia, serif;
  --ff-body:     'Lora', Georgia, serif;
  --ff-meta:     'Montserrat', system-ui, sans-serif;

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

  --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; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  font-size: clamp(1rem, 1.05vw, 1.125rem);
  line-height: 1.8;
  color: var(--corps);
  background: var(--ivoire);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--encre);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); font-weight: 600; margin-top: 2.5rem; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 600; margin-top: 2rem; }
p { margin-top: 1.1rem; }

/* ── Kicker ──────────────────────────────────────────────── */
.kicker {
  font-family: var(--ff-meta);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--or);
  display: block;
  margin-bottom: 0.6rem;
}
.kicker--bordeaux { color: var(--bordeaux); }

/* ── Container ───────────────────────────────────────────── */
.container {
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--article { max-width: var(--measure-article); }

/* ══════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--ivoire-95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bordeaux-20);
  transition: box-shadow var(--dur-fast) var(--ease);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.header-inner {
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.site-logo {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--encre);
  line-height: 1.1;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo span { display: block; font-size: 0.65rem; font-family: var(--ff-meta); font-weight: 400; letter-spacing: 0.08em; color: var(--muet); text-transform: uppercase; margin-top: 2px; }

/* Nav */
.site-nav { display: flex; gap: 0.25rem; align-items: center; }
.site-nav a {
  font-family: var(--ff-meta);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--corps);
  padding: 0.45rem 0.8rem;
  border-radius: 4px;
  transition: color var(--dur-fast), background var(--dur-fast);
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--bordeaux); background: var(--bordeaux-08); }
.nav-cta {
  background: var(--bordeaux) !important;
  color: var(--ivoire) !important;
  padding: 0.45rem 1.1rem !important;
  border-radius: 4px;
}
.nav-cta:hover { background: var(--encre) !important; }

/* Hamburger mobile */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--encre);
  border-radius: 2px;
  transition: transform var(--dur-fast), opacity var(--dur-fast);
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .site-nav {
    display: none;
    position: fixed;
    inset: 70px 0 0;
    background: var(--ivoire);
    flex-direction: column;
    padding: 2rem var(--gutter);
    gap: 0.5rem;
    overflow-y: auto;
    border-top: 1px solid var(--bordeaux-20);
  }
  .nav-open .site-nav { display: flex; }
  .site-nav a { font-size: 1rem; padding: 0.75rem 1rem; }
  .nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .hamburger span:nth-child(2) { opacity: 0; }
  .nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(28, 26, 24, 0.7) 0%,
    rgba(28, 26, 24, 0.4) 50%,
    rgba(28, 26, 24, 0.2) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: calc(70px + 4rem) var(--gutter) 4rem;
  color: var(--ivoire);
}
.hero-content .kicker { color: var(--or); }
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--ivoire);
  line-height: 1.1;
  margin-bottom: 1.2rem;
  max-width: 750px;
}
.hero-subtitle {
  font-family: var(--ff-body);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(250,250,247,0.88);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  font-family: var(--ff-meta);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  transition: all var(--dur-fast) var(--ease);
  display: inline-block;
}
.btn-primary { background: var(--bordeaux); color: var(--ivoire); }
.btn-primary:hover { background: var(--encre); transform: translateY(-2px); }
.btn-outline { border: 1.5px solid var(--ivoire-80); color: var(--ivoire); }
.btn-outline:hover { background: var(--ivoire-80); color: var(--encre); }
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-meta);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250,250,247,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2s ease-in-out infinite;
}
.scroll-indicator::after {
  content: '';
  width: 1px;
  height: 40px;
  background: rgba(250,250,247,0.4);
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* Hero article (non-home) */
.hero--article { min-height: 55vh; }
.hero-breadcrumb {
  font-family: var(--ff-meta);
  font-size: 0.72rem;
  color: rgba(250,250,247,0.7);
  margin-bottom: 1rem;
}
.hero-breadcrumb a { color: rgba(250,250,247,0.7); }
.hero-breadcrumb a:hover { color: var(--ivoire); }
.hero-breadcrumb span { margin: 0 0.4rem; }
.hero-meta {
  font-family: var(--ff-meta);
  font-size: 0.72rem;
  color: rgba(250,250,247,0.65);
  margin-top: 1rem;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════
   ARTICLE BODY
══════════════════════════════════════════════════════════ */
.article-summary {
  font-family: var(--ff-body);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--encre);
  line-height: 1.7;
  border-left: 3px solid var(--bordeaux);
  padding: 1.2rem 1.5rem;
  background: var(--bordeaux-08);
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
}

.article-body {
  max-width: var(--measure-article);
  margin: 0 auto;
  padding: 2rem var(--gutter) 4rem;
}

/* Lettrine drop cap */
.article-body > p:first-of-type::first-letter {
  font-family: var(--ff-display);
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--bordeaux);
  float: left;
  line-height: 0.8;
  margin: 0.1em 0.12em 0 0;
  padding: 0.05em 0.05em 0 0;
}

/* H2 avec filet bordeaux animé */
.article-body h2 {
  position: relative;
  padding-bottom: 0.6rem;
  margin-top: 3rem;
}
.article-body h2::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, var(--bordeaux), var(--bordeaux-20));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.article-body h2.reveal::after,
.article-body h2.visible::after { transform: scaleX(1); }

/* Pull quote */
.pull-quote {
  font-family: var(--ff-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-style: italic;
  color: var(--bordeaux);
  border-left: 4px solid var(--bordeaux);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  line-height: 1.5;
}

/* Liens dans le body */
.article-body a {
  color: var(--bordeaux);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-fast);
}
.article-body a:hover { color: var(--encre); }

/* Images body */
.article-body img {
  border-radius: 8px;
  margin: 2rem auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.article-body figure { margin: 2rem 0; }
.article-body figcaption {
  font-family: var(--ff-meta);
  font-size: 0.75rem;
  color: var(--muet);
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Listes */
.article-body ul, .article-body ol {
  padding-left: 1.5rem;
  margin-top: 1rem;
}
.article-body li { margin-bottom: 0.4rem; }
.article-body ul li::marker { color: var(--bordeaux); }

/* Strong */
.article-body strong { color: var(--encre); font-weight: 600; }

/* ── TOC Sticky ──────────────────────────────────────────── */
.article-with-toc {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  align-items: start;
}
.toc {
  position: sticky;
  top: 90px;
  background: var(--parchemin);
  border: 1px solid var(--bordeaux-20);
  border-radius: 8px;
  padding: 1.2rem;
  font-family: var(--ff-meta);
  font-size: 0.72rem;
}
.toc-title {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muet);
  margin-bottom: 0.8rem;
}
.toc ol { list-style: none; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; position: relative; padding-left: 1.4em; margin-bottom: 0.5rem; line-height: 1.4; }
.toc li::before {
  content: counter(toc) ".";
  position: absolute;
  left: 0;
  color: var(--bordeaux);
  font-weight: 600;
}
.toc a { color: var(--corps); }
.toc a:hover { color: var(--bordeaux); }
@media (max-width: 960px) {
  .article-with-toc { grid-template-columns: 1fr; }
  .toc { position: static; margin-bottom: 2rem; }
}

/* ══════════════════════════════════════════════════════════
   HOME SECTIONS
══════════════════════════════════════════════════════════ */
/* ── Intro éditoriale ── */
.intro-section {
  padding: 5rem var(--gutter);
  max-width: var(--measure-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}
.intro-title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--encre);
  line-height: 1.2;
}
.intro-text {
  font-size: 1.05rem;
  color: var(--corps);
  line-height: 1.8;
}
@media (max-width: 768px) {
  .intro-section { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ── Guides section ── */
.guides-section {
  background: var(--parchemin);
  padding: 5rem var(--gutter);
}
.section-header {
  max-width: var(--measure-wide);
  margin: 0 auto 3rem;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--encre);
}
.guides-grid {
  max-width: var(--measure-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1100px) { .guides-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .guides-grid { grid-template-columns: 1fr; } }

/* Guide card */
.guide-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--ivoire);
  border: 1px solid var(--bordeaux-20);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  counter-increment: guide-count;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(107,30,46,0.15); }
.guide-card-img {
  aspect-ratio: 16/9;
  width: 100%;
  object-fit: cover;
}
.guide-card-body { padding: 1.2rem 1.2rem 1.5rem; flex: 1; position: relative; }
.guide-card-num {
  position: absolute;
  top: 0.5rem; right: 0.8rem;
  font-family: var(--ff-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--encre);
  opacity: 0.04;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}
.guide-card-title {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--encre);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.guide-card-excerpt {
  font-size: 0.85rem;
  color: var(--corps);
  line-height: 1.6;
}
.guide-card-link {
  display: block;
  margin-top: 0.8rem;
  font-family: var(--ff-meta);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bordeaux);
}

/* ── Blog teaser ── */
.blog-teaser { padding: 5rem var(--gutter); }
.blog-grid {
  max-width: var(--measure-wide);
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .blog-grid { grid-template-columns: 1fr; } }

/* Article card */
.article-card {
  border-radius: 10px;
  overflow: hidden;
  background: var(--ivoire);
  border: 1px solid var(--bordeaux-20);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(107,30,46,0.12); }
.article-card-img {
  aspect-ratio: 16/9;
  width: 100%;
  object-fit: cover;
}
.article-card-body { padding: 1.2rem 1.2rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.article-card-category {
  font-family: var(--ff-meta);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bordeaux);
  margin-bottom: 0.6rem;
}
.article-card-title {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--encre);
  line-height: 1.3;
  flex: 1;
}
.article-card-meta {
  font-family: var(--ff-meta);
  font-size: 0.7rem;
  color: var(--muet);
  margin-top: 0.8rem;
}

/* ── Section immersive ── */
.immersive-section {
  background: var(--bordeaux);
  padding: 6rem var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.immersive-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(184,150,46,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.immersive-quote {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-style: italic;
  color: var(--ivoire);
  max-width: 700px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
  position: relative;
}
.immersive-attribution {
  font-family: var(--ff-meta);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,250,247,0.65);
  margin-bottom: 2.5rem;
}
.btn-immersive {
  background: transparent;
  border: 1.5px solid rgba(250,250,247,0.6);
  color: var(--ivoire);
  padding: 0.8rem 2rem;
  font-family: var(--ff-meta);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all var(--dur-fast);
}
.btn-immersive:hover { background: var(--ivoire); color: var(--bordeaux); }

/* ══════════════════════════════════════════════════════════
   BLOG INDEX
══════════════════════════════════════════════════════════ */
.blog-page { padding: 5rem var(--gutter); }
.blog-page .section-header { max-width: var(--measure-wide); margin: 0 auto 2rem; }

/* Filter tabs */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  max-width: var(--measure-wide);
  margin: 0 auto 2.5rem;
}
.filter-btn {
  font-family: var(--ff-meta);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--bordeaux-20);
  border-radius: 20px;
  background: transparent;
  color: var(--corps);
  cursor: pointer;
  transition: all var(--dur-fast);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--bordeaux);
  color: var(--ivoire);
  border-color: var(--bordeaux);
}
.blog-grid-full {
  max-width: var(--measure-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .blog-grid-full { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .blog-grid-full { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════
   FAQ ACCORDION
══════════════════════════════════════════════════════════ */
.faq-section {
  max-width: var(--measure-article);
  margin: 4rem auto;
  padding: 0 var(--gutter);
}
.faq-section h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--encre);
  margin-bottom: 1.5rem;
}
.faq-list { list-style: none; }
.faq-item { border-bottom: 1px solid var(--bordeaux-20); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--encre);
  text-align: left;
}
.faq-icon {
  font-size: 1.3rem;
  color: var(--bordeaux);
  transition: transform var(--dur-fast) var(--ease);
  flex-shrink: 0;
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur) var(--ease);
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer p {
  padding: 0 0 1.2rem;
  color: var(--corps);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ══════════════════════════════════════════════════════════
   RELATED
══════════════════════════════════════════════════════════ */
.related-section {
  background: var(--parchemin);
  padding: 4rem var(--gutter);
  margin-top: 4rem;
}
.related-title {
  font-family: var(--ff-meta);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muet);
  max-width: var(--measure-wide);
  margin: 0 auto 1.5rem;
}
.related-grid {
  max-width: var(--measure-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  background: var(--ivoire);
  border: 1px solid var(--bordeaux-20);
  border-radius: 8px;
  padding: 1.2rem;
  transition: box-shadow var(--dur-fast);
}
.related-card:hover { box-shadow: 0 8px 24px rgba(107,30,46,0.12); }
.related-card-title {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--encre);
  line-height: 1.3;
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--encre);
  color: var(--ivoire);
  padding: 4rem var(--gutter) 2rem;
}
.footer-inner {
  max-width: var(--measure-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand { min-width: 0; }
.footer-col { min-width: 0; }
.footer-brand-name {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ivoire);
  margin-bottom: 0.4rem;
}
.footer-brand-tagline {
  font-family: var(--ff-meta);
  font-size: 0.7rem;
  color: rgba(250,250,247,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-desc {
  font-size: 0.85rem;
  color: rgba(250,250,247,0.65);
  line-height: 1.7;
  max-width: 280px;
}
.footer-col-title {
  font-family: var(--ff-meta);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250,250,247,0.45);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  font-size: 0.85rem;
  color: rgba(250,250,247,0.7);
  transition: color var(--dur-fast);
}
.footer-links a:hover { color: var(--ivoire); }
.footer-bottom {
  max-width: var(--measure-wide);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250,250,247,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy {
  font-family: var(--ff-meta);
  font-size: 0.72rem;
  color: rgba(250,250,247,0.4);
}
.footer-heritage {
  font-family: var(--ff-meta);
  font-size: 0.65rem;
  color: rgba(250,250,247,0.3);
  font-style: italic;
}

/* ══════════════════════════════════════════════════════════
   PAGES UTILITAIRES
══════════════════════════════════════════════════════════ */
.util-page {
  max-width: var(--measure-article);
  margin: 0 auto;
  padding: calc(70px + 3rem) var(--gutter) 5rem;
}
.util-page h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
}
.util-page h2 { font-size: 1.4rem; margin-top: 2rem; }
.util-page p { margin-top: 0.8rem; }

/* Contact form */
.contact-form { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-family: var(--ff-meta); font-size: 0.75rem; font-weight: 500; color: var(--encre); }
.form-group input, .form-group textarea {
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--bordeaux-20);
  border-radius: 6px;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--encre);
  background: var(--ivoire);
  transition: border-color var(--dur-fast);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--bordeaux);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-submit {
  background: var(--bordeaux);
  color: var(--ivoire);
  border: none;
  padding: 0.85rem 2rem;
  font-family: var(--ff-meta);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--dur-fast);
  align-self: flex-start;
}
.form-submit:hover { background: var(--encre); }

/* Sitemap */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
}
@media (max-width: 600px) { .sitemap-grid { grid-template-columns: 1fr; } }
.sitemap-col h2 { font-size: 1.1rem; margin-bottom: 0.8rem; color: var(--bordeaux); }
.sitemap-col ul { list-style: none; }
.sitemap-col li { margin-bottom: 0.4rem; }
.sitemap-col a { font-size: 0.9rem; color: var(--corps); }
.sitemap-col a:hover { color: var(--bordeaux); }

/* ══════════════════════════════════════════════════════════
   404
══════════════════════════════════════════════════════════ */
.page-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(70px + 2rem) var(--gutter) 4rem;
}
.page-404-num {
  font-family: var(--ff-display);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 700;
  color: var(--bordeaux-20);
  line-height: 0.8;
  margin-bottom: 1rem;
}
.page-404 h1 { font-size: clamp(1.5rem, 3vw, 2rem); }
.page-404 p { color: var(--corps); margin-top: 1rem; }
.page-404-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

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

/* ══════════════════════════════════════════════════════════
   UTILITAIRES
══════════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
