/* ===== RESET ANTI-DISTORSION (REGLE 14 CODEX) ===== */
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }

.img-hero     { aspect-ratio: 3/2;  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;
}

/* ===== VARIABLES — NUIT POÉTIQUE ===== */
:root {
  --nuit:      #1B2A44;
  --creme:     #F9F4EC;
  --vermillon: #C0392B;
  --or:        #D4A843;
  --parchemin: #EEE8D8;
  --encre:     #1C1C1E;

  --nuit-80:      rgba(27, 42, 68, 0.80);
  --nuit-60:      rgba(27, 42, 68, 0.60);
  --nuit-20:      rgba(27, 42, 68, 0.20);
  --nuit-08:      rgba(27, 42, 68, 0.08);
  --or-20:        rgba(212, 168, 67, 0.20);
  --vermillon-15: rgba(192, 57, 43, 0.15);
  --creme-90:     rgba(249, 244, 236, 0.90);

  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'Lora', Georgia, serif;
  --ff-accent:  'IM Fell English', Georgia, serif;

  --measure-article: 700px;
  --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;
}

/* ===== BASE ===== */
html { scroll-behavior: smooth; }

body {
  background: var(--creme);
  color: var(--encre);
  font-family: var(--ff-body);
  font-size: clamp(1rem, 1.05vw, 1.1rem);
  line-height: 1.85;
  margin: 0;
}

a {
  color: var(--vermillon);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
a:hover { color: var(--nuit); text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--nuit);
  line-height: 1.25;
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 600; }

p { margin: 0 0 1.2rem; }

ul, ol { padding-left: 1.5rem; margin: 0 0 1.2rem; }
li { margin-bottom: 0.4rem; }

strong { color: var(--nuit); font-weight: 600; }

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

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nuit);
  transition: box-shadow var(--dur-fast) var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--measure-hero);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--creme);
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}
.site-logo:hover { color: var(--or); text-decoration: none; }
.site-logo svg { width: 32px; height: 32px; flex-shrink: 0; }

.site-nav { display: flex; align-items: center; gap: 0; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.site-nav li { position: relative; }
.site-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.5rem 0.85rem;
  color: var(--creme);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  transition: color var(--dur-fast);
}
.site-nav > ul > li > a:hover { color: var(--or); text-decoration: none; }

.site-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--nuit);
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  border-top: 2px solid var(--or);
  z-index: 200;
}
.site-nav li:hover > .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.site-nav .dropdown li a {
  display: block;
  padding: 0.6rem 1.1rem;
  color: var(--creme);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--nuit-20);
}
.site-nav .dropdown li:last-child a { border-bottom: none; }
.site-nav .dropdown li a:hover { color: var(--or); background: rgba(255,255,255,0.05); text-decoration: none; }

.nav-cta {
  background: var(--vermillon);
  color: var(--creme) !important;
  border-radius: 4px;
  padding: 0.4rem 0.9rem !important;
  font-size: 0.85rem !important;
  font-weight: 600;
  margin-left: 0.5rem;
  transition: background var(--dur-fast) var(--ease);
}
.nav-cta:hover { background: #a93226 !important; color: var(--creme) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none;
  cursor: pointer; padding: 6px;
}
.nav-toggle span {
  display: block; height: 2px;
  background: var(--creme);
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast);
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--nuit);
    flex-direction: column;
    padding: 1.5rem var(--gutter) 2rem;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--dur-fast) var(--ease);
    box-shadow: 2px 0 20px rgba(0,0,0,0.3);
    z-index: 99;
  }
  .nav-open .site-nav {
    transform: translateX(0);
  }
  .site-nav ul { flex-direction: column; width: 100%; }
  .site-nav .dropdown {
    position: static;
    opacity: 1;
    pointer-events: all;
    transform: none;
    box-shadow: none;
    border-top: 1px solid var(--nuit-20);
    padding-left: 1rem;
    margin-top: 0.3rem;
  }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--nuit);
  color: rgba(249, 244, 236, 0.7);
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .site-logo {
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}
.footer-brand p { font-size: 0.83rem; line-height: 1.6; margin-bottom: 0.5rem; }
.footer-col h4 {
  color: var(--or);
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.45rem; }
.footer-col a {
  color: rgba(249, 244, 236, 0.65);
  font-size: 0.88rem;
  transition: color var(--dur-fast);
}
.footer-col a:hover { color: var(--or); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--nuit-20);
  text-align: center;
  padding: 1.2rem var(--gutter) 0;
  margin-top: 2.5rem;
  font-size: 0.78rem;
  color: rgba(249, 244, 236, 0.4);
}
.footer-bottom a { color: rgba(249, 244, 236, 0.5); }
.footer-bottom a:hover { color: var(--or); text-decoration: none; }

/* ===== HERO ===== */
.hero-section {
  position: relative;
  width: 100%;
  background: var(--nuit);
  overflow: hidden;
}
.hero-section .img-hero {
  aspect-ratio: 16/7;
  max-height: 520px;
}
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--nuit-80) 0%, var(--nuit-60) 50%, transparent 100%);
  z-index: 1;
}
.hero-placeholder {
  background: linear-gradient(135deg, var(--nuit) 0%, #2d4a7a 50%, var(--nuit) 100%);
  min-height: 420px;
}
.hero-content {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--creme);
  z-index: 2;
  width: 90%;
  max-width: 800px;
}
.hero-kicker {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 0.7rem;
}
.hero-title {
  color: var(--creme);
  font-size: clamp(1.7rem, 4vw, 3.2rem);
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  margin-bottom: 0.5rem;
}
.hero-subtitle {
  color: rgba(249, 244, 236, 0.85);
  font-family: var(--ff-accent);
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== HERO HOMEPAGE ===== */
.hero-home .img-hero {
  aspect-ratio: 16/6;
  max-height: 600px;
}
.hero-home .hero-content { bottom: 3.5rem; }

/* ===== ARTICLE LAYOUT ===== */
.article-wrapper {
  display: grid;
  grid-template-columns: 1fr min(var(--measure-article), 100%) 1fr;
  padding: 2.5rem var(--gutter);
}
.article-wrapper > * { grid-column: 2; }

.article-kicker {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 0.5rem;
  display: block;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: #666;
  margin-bottom: 2rem;
  font-family: var(--ff-accent);
  font-style: italic;
}

/* Drop cap */
.drop-cap p:first-of-type::first-letter {
  font-family: var(--ff-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--vermillon);
  float: left;
  line-height: 0.85;
  margin: 0.1rem 0.4rem 0 0;
}

/* Pull-quote poétique */
.article-content blockquote,
blockquote.pull-quote {
  background: var(--nuit);
  color: var(--creme);
  border-left: 4px solid var(--or);
  border-radius: 0 4px 4px 0;
  padding: 1.4rem 1.8rem;
  margin: 2rem 0;
  font-family: var(--ff-accent);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.9;
}
.article-content blockquote p,
blockquote.pull-quote p {
  margin: 0;
  color: var(--creme);
}

/* H2 filet or */
.article-content h2 {
  border-bottom: 2px solid var(--or);
  padding-bottom: 0.4rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.article-content h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--or);
  margin-top: 0.4rem;
}
/* Fil doré séparateur */
.gold-line {
  height: 1px;
  background: linear-gradient(to right, var(--or), transparent);
  margin: 3rem 0;
  border: none;
}

/* ===== TOC ===== */
.article-toc {
  background: var(--parchemin);
  border-left: 3px solid var(--or);
  border-radius: 0 6px 6px 0;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0 2rem;
  font-size: 0.88rem;
  line-height: 1.7;
}
.article-toc h2 {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nuit);
  margin-bottom: 0.8rem;
  border: none;
}
.article-toc h2::after { display: none; }
.article-toc ul { list-style: none; padding: 0; margin: 0; }
.article-toc li { margin-bottom: 0.3rem; }
.article-toc a { color: var(--nuit); font-family: var(--ff-body); }
.article-toc a:hover { color: var(--vermillon); text-decoration: none; }

/* ===== FAQ ===== */
.faq-section {
  background: var(--parchemin);
  border-radius: 8px;
  padding: 2rem;
  margin: 3rem 0;
}
.faq-section h2 {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  border: none;
}
.faq-section h2::after { display: none; }
.faq-item {
  border-bottom: 1px solid var(--nuit-20);
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--nuit);
  gap: 1rem;
}
.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--or);
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease);
}
.faq-item.open .faq-question::after {
  content: '−';
}
.faq-answer {
  display: none;
  padding: 0 0 1rem;
  color: var(--encre);
  font-size: 0.95rem;
  line-height: 1.8;
}
.faq-item.open .faq-answer { display: block; }

/* ===== EXPERT BIO ===== */
.expert-block {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background: var(--nuit-08);
  border-left: 4px solid var(--or);
  padding: 1.2rem 1.4rem;
  border-radius: 0 6px 6px 0;
  margin: 1.5rem 0 2.5rem;
}
.expert-block .img-portrait {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
.expert-info h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: var(--nuit);
}
.expert-info .expert-role {
  font-size: 0.82rem;
  color: var(--vermillon);
  font-style: italic;
  margin-bottom: 0.4rem;
}
.expert-info p {
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0;
  color: #555;
}

/* ===== RELATED PAGES ===== */
.related-pages {
  background: var(--nuit-08);
  border-radius: 8px;
  padding: 1.5rem 1.8rem;
  margin: 2.5rem 0;
}
.related-pages h2 {
  font-size: 1rem;
  color: var(--nuit);
  margin-bottom: 0.8rem;
  border: none;
}
.related-pages h2::after { display: none; }
.related-pages ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.related-pages li { margin: 0; }
.related-pages a {
  display: inline-block;
  background: var(--nuit);
  color: var(--creme);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.82rem;
  transition: background var(--dur-fast);
}
.related-pages a:hover { background: var(--vermillon); text-decoration: none; color: var(--creme); }

/* ===== HOMEPAGE ===== */
.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-heading .kicker {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 0.5rem;
}
.section-heading h2 {
  margin: 0;
  border: none;
}
.section-heading h2::after { display: none; }

.section-alt { background: var(--parchemin); padding: 4rem 0; }
.section-main { padding: 4rem 0; }

/* Blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1100px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 750px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .blog-grid { grid-template-columns: 1fr; }
}

.blog-card {
  background: var(--creme);
  border-left: 4px solid var(--nuit);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.blog-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
.blog-card-body { padding: 1rem 1.1rem 1.2rem; }
.card-category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--or);
  display: block;
  margin-bottom: 0.4rem;
}
.card-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.card-title a { color: var(--nuit); }
.card-title a:hover { color: var(--vermillon); text-decoration: none; }
.card-date {
  font-family: var(--ff-accent);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--vermillon);
}
.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #888;
  font-style: italic;
  padding: 3rem 0;
}

/* Piliers grid */
.piliers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .piliers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .piliers-grid { grid-template-columns: 1fr; }
}

.pilier-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: var(--nuit);
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast);
}
.pilier-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.22);
}
.pilier-card .img-hero {
  position: absolute;
  inset: 0;
  aspect-ratio: unset;
  z-index: 0;
}
.pilier-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--nuit-80) 0%, transparent 60%);
  z-index: 1;
}
.pilier-card-body {
  position: relative;
  z-index: 2;
  padding: 1.2rem 1.3rem;
  width: 100%;
}
.pilier-card h3 {
  color: var(--creme);
  font-size: 1rem;
  margin: 0 0 0.3rem;
}
.pilier-card a {
  color: var(--or);
  font-size: 0.8rem;
  text-decoration: none;
}
.pilier-card a:hover { text-decoration: underline; color: var(--creme); }

/* Poètes row */
.poetes-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}
@media (max-width: 900px) {
  .poetes-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 500px) {
  .poetes-row { grid-template-columns: repeat(2, 1fr); }
}
.poete-card {
  text-align: center;
  background: var(--creme);
  border-radius: 8px;
  padding: 1.2rem 0.8rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: box-shadow var(--dur-fast), transform var(--dur-fast);
}
.poete-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.12); transform: translateY(-2px); }
.poete-card .img-portrait {
  width: 80px;
  height: 80px;
  margin: 0 auto 0.8rem;
  border: 3px solid var(--or);
}
.poete-card h3 { font-size: 0.9rem; margin-bottom: 0.2rem; }
.poete-card a { color: var(--nuit); font-size: 0.78rem; }

/* Analyses list */
.analyses-list { list-style: none; padding: 0; margin: 0; }
.analyses-list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--nuit-08);
}
.analyses-list li:last-child { border-bottom: none; }
.analyses-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vermillon);
  font-style: italic;
  min-width: 70px;
  font-family: var(--ff-accent);
}
.analyses-list a { color: var(--nuit); font-family: var(--ff-display); font-size: 1.05rem; }
.analyses-list a:hover { color: var(--vermillon); }

/* CTA La Une */
.cta-une {
  background: var(--nuit);
  color: var(--creme);
  text-align: center;
  padding: 4rem var(--gutter);
  margin-top: 4rem;
}
.cta-une h2 {
  color: var(--creme);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 0.8rem;
  border: none;
}
.cta-une h2::after { display: none; }
.cta-une p { color: rgba(249, 244, 236, 0.8); margin-bottom: 1.5rem; }
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast);
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-or {
  background: var(--or);
  color: var(--nuit);
}
.btn-or:hover { background: #c09a3b; color: var(--nuit); }
.btn-vermillon { background: var(--vermillon); color: var(--creme); }
.btn-vermillon:hover { background: #a93226; color: var(--creme); }

/* ===== BLOG LISTING ===== */
.blog-header { padding: 3rem 0 1rem; text-align: center; }
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 1.5rem 0 2.5rem;
}
.filter-btn {
  padding: 0.45rem 1.1rem;
  border: 2px solid var(--nuit-20);
  border-radius: 20px;
  background: none;
  cursor: pointer;
  font-family: var(--ff-body);
  font-size: 0.85rem;
  color: var(--nuit);
  transition: all var(--dur-fast);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--nuit);
  color: var(--creme);
  border-color: var(--nuit);
}

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

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

/* ===== 404 ===== */
.not-found {
  text-align: center;
  padding: 6rem var(--gutter);
}
.not-found h1 {
  font-size: clamp(4rem, 12vw, 8rem);
  color: var(--or);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.not-found p { font-size: 1.1rem; margin-bottom: 2rem; }

/* ===== CONTACT / PAGES UTILITAIRES ===== */
.page-simple { padding: 3rem 0 5rem; }
.page-simple h1 { margin-bottom: 0.5rem; }
.page-simple .lead {
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 2.5rem;
  font-style: italic;
  font-family: var(--ff-accent);
}
.contact-form { max-width: 560px; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--nuit);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 2px solid var(--nuit-20);
  border-radius: 4px;
  background: var(--creme);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--encre);
  transition: border-color var(--dur-fast);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--or);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ===== PLAN DU SITE ===== */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 700px) {
  .sitemap-grid { grid-template-columns: 1fr; }
}
.sitemap-section h3 {
  color: var(--or);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--nuit-20);
  padding-bottom: 0.5rem;
  margin-bottom: 0.8rem;
}
.sitemap-section ul { list-style: none; padding: 0; }
.sitemap-section li { margin-bottom: 0.4rem; }
.sitemap-section a { color: var(--nuit); font-size: 0.9rem; }
.sitemap-section a:hover { color: var(--vermillon); }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 0.6rem 0;
  font-size: 0.78rem;
  color: #888;
  margin-bottom: 0;
}
.breadcrumb a { color: #888; }
.breadcrumb a:hover { color: var(--vermillon); text-decoration: none; }
.breadcrumb span { color: var(--nuit); font-weight: 500; }
.breadcrumb-sep { margin: 0 0.4rem; }

@media print {
  .site-header, .site-footer, .filter-bar, .faq-question::after { display: none; }
  body { color: #000; background: #fff; }
}
