/* ============================================================
   We Are Ukraine — Design tokens "Tryzub & encre"
   Magazine de la culture ukrainienne contemporaine
   ============================================================ */

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

:root {
  /* Couleurs — palette "Tryzub & encre" */
  --encre-nuit: #0B1F3A;
  --tryzub: #1E3A5F;
  --tryzub-clair: #3D5A80;
  --rouge-rouille: #B5462E;
  --or-patine: #B8935A;
  --or-patine-clair: #D4B07A;
  --bois-blanchi: #E5DCC9;
  --creme-chaude: #F8F2E6;
  --blanc-pur: #FFFFFF;

  /* Derives opacite encre */
  --encre-90: rgba(11, 31, 58, .9);
  --encre-80: rgba(11, 31, 58, .8);
  --encre-65: rgba(11, 31, 58, .65);
  --encre-40: rgba(11, 31, 58, .4);
  --encre-20: rgba(11, 31, 58, .2);
  --encre-10: rgba(11, 31, 58, .1);
  --encre-06: rgba(11, 31, 58, .06);

  /* Derives opacite creme */
  --creme-95: rgba(248, 242, 230, .95);
  --creme-75: rgba(248, 242, 230, .75);
  --creme-40: rgba(248, 242, 230, .4);

  /* Derives opacite or-patine */
  --or-40: rgba(184, 147, 90, .4);
  --or-20: rgba(184, 147, 90, .2);

  /* Polices */
  --ff-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --ff-body: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-accent: 'Caveat', 'Brush Script MT', cursive;

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

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

  /* Espacements verticaux */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-xxl: 8rem;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--encre-nuit);
  background: var(--creme-chaude);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--tryzub); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--rouge-rouille); }
ul, ol { padding-left: 1.5rem; }
li { margin-bottom: 0.5rem; }
hr { border: 0; height: 1px; background: var(--encre-10); margin: var(--space-md) 0; }

/* ============================================================
   TYPOGRAPHIE
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--encre-nuit);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; font-style: italic; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 700; font-style: italic; margin-top: 3rem; position: relative; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 600; margin-top: 2rem; color: var(--tryzub); }
h4 { font-size: 1.25rem; font-weight: 600; }

/* Filet broderie geometrique sous H2 */
h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 12px;
  margin-top: 0.75rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 12' fill='none'><path d='M0 6 L8 0 L16 6 L24 0 L32 6 L40 0 L48 6 L56 0 L64 6 L72 0 L80 6' stroke='%23B8935A' stroke-width='1.5' fill='none'/><path d='M4 6 L12 12 L20 6 L28 12 L36 6 L44 12 L52 6 L60 12 L68 6 L76 12' stroke='%23B5462E' stroke-width='1' fill='none' opacity='0.6'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  transform-origin: left center;
  animation: scaleX 700ms var(--ease) forwards;
}

@keyframes scaleX {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

p { margin: 0 0 1.5rem; }
strong { font-weight: 700; color: var(--encre-nuit); }
em { font-style: italic; }

blockquote {
  margin: 2rem 0;
  padding: 1rem 0 1rem 1.5rem;
  border-left: 4px solid var(--rouge-rouille);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--encre-80);
}
blockquote p:last-child { margin-bottom: 0; }
blockquote cite { display: block; margin-top: 0.5rem; font-family: var(--ff-body); font-style: normal; font-size: 0.95rem; color: var(--encre-65); }

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

main { display: block; min-height: calc(100vh - var(--header-h)); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--creme-95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(11, 31, 58, .08);
  background: rgba(248, 242, 230, .98);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  max-width: var(--measure-wide);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--encre-nuit);
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--rouge-rouille); }
.brand svg { width: 28px; height: 28px; flex-shrink: 0; }

.nav-primary { display: flex; align-items: center; gap: 1.75rem; }
.nav-primary a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--encre-80);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--dur-fast) var(--ease);
}
.nav-primary a:hover { color: var(--rouge-rouille); }
.nav-primary a.active { color: var(--rouge-rouille); }
.nav-primary a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--or-patine);
}

.nav-dropdown { position: relative; }
.nav-dropdown > button {
  background: transparent;
  border: 0;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--encre-80);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0;
}
.nav-dropdown > button::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--dur-fast) var(--ease);
}
.nav-dropdown:hover > button::after,
.nav-dropdown.open > button::after { transform: rotate(225deg) translate(-2px, -2px); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 240px;
  background: var(--creme-chaude);
  border: 1px solid var(--encre-10);
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(11, 31, 58, .15);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast) var(--ease);
  pointer-events: none;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.92rem;
  border-radius: 3px;
}
.nav-dropdown-menu a:hover { background: var(--encre-06); color: var(--rouge-rouille); }

/* Hamburger mobile */
.hamburger { display: none; background: transparent; border: 0; padding: 0.5rem; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--encre-nuit); margin: 5px 0; transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease); }
body.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
body.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-primary {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--creme-chaude);
    flex-direction: column;
    align-items: stretch;
    padding: 2rem var(--gutter);
    gap: 0;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
  }
  body.nav-open .nav-primary { transform: translateX(0); }
  .nav-primary a, .nav-dropdown > button {
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--encre-10);
    width: 100%;
    text-align: left;
  }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: 0;
    background: transparent;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height var(--dur) var(--ease);
  }
  .nav-dropdown.open .nav-dropdown-menu { max-height: 600px; padding: 0.5rem 0 0.5rem 1rem; }
  .hamburger { display: block; }
  body.nav-open { overflow: hidden; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--encre-nuit);
  color: var(--creme-chaude);
}
.hero-home { min-height: 92vh; }
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 31, 58, .55) 0%, rgba(11, 31, 58, .75) 60%, rgba(11, 31, 58, .9) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--measure-hero);
  margin: 0 auto;
  padding: 6rem var(--gutter) 4rem;
}
.hero-kicker {
  font-family: var(--ff-accent);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--or-patine-clair);
  margin-bottom: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.hero h1 {
  color: var(--creme-chaude);
  max-width: 900px;
  margin-bottom: 1.5rem;
}
.hero-lead {
  font-family: var(--ff-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500;
  font-style: italic;
  max-width: 640px;
  color: var(--bois-blanchi);
  line-height: 1.55;
  margin-bottom: 2rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--bois-blanchi);
  text-transform: uppercase;
  opacity: 0.7;
  animation: bounce 2.5s ease-in-out infinite;
}
.hero-scroll-indicator::after {
  content: '';
  display: block;
  width: 1px;
  height: 30px;
  background: var(--or-patine);
  margin: 0.5rem auto 0;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.hero-breadcrumb {
  font-family: var(--ff-body);
  font-size: 0.85rem;
  color: var(--bois-blanchi);
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.hero-breadcrumb a { color: var(--bois-blanchi); }
.hero-breadcrumb a:hover { color: var(--or-patine-clair); }
.hero-breadcrumb .sep { opacity: 0.5; }

.hero-meta {
  font-family: var(--ff-body);
  font-size: 0.9rem;
  color: var(--bois-blanchi);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
  opacity: 0.85;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--rouge-rouille);
  color: var(--creme-chaude);
}
.btn-primary:hover {
  background: var(--encre-nuit);
  color: var(--creme-chaude);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 31, 58, .25);
}
.btn-ghost {
  background: transparent;
  color: var(--creme-chaude);
  border-color: var(--creme-40);
}
.btn-ghost:hover {
  background: var(--creme-chaude);
  color: var(--encre-nuit);
  border-color: var(--creme-chaude);
}
.btn-text {
  background: transparent;
  color: var(--tryzub);
  padding: 0.5rem 0;
  border: 0;
  font-weight: 600;
  position: relative;
}
.btn-text::after {
  content: '\2192';
  margin-left: 0.4rem;
  transition: transform var(--dur-fast) var(--ease);
}
.btn-text:hover::after { transform: translateX(4px); }

/* ============================================================
   ARTICLE — SUMMARY + TOC + BODY
   ============================================================ */
.article-summary {
  max-width: var(--measure-article);
  margin: -3rem auto 3rem;
  padding: 2rem var(--gutter);
  background: var(--creme-chaude);
  position: relative;
  z-index: 5;
  border-top: 4px solid var(--rouge-rouille);
}
.article-summary p {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--encre-80);
  margin: 0;
}

.article-layout {
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 0 var(--gutter) var(--space-xl);
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 4rem;
}
@media (max-width: 1100px) {
  .article-layout { grid-template-columns: 1fr; }
}

.article-toc {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  align-self: start;
  font-family: var(--ff-body);
  font-size: 0.92rem;
  border-left: 1px solid var(--encre-10);
  padding-left: 1.5rem;
  max-height: calc(100vh - var(--header-h) - 4rem);
  overflow-y: auto;
}
.article-toc h2,
.article-toc-title {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--or-patine);
  margin: 0 0 1rem;
  font-weight: 600;
}
.article-toc h2::after { display: none; }
.article-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc-counter;
}
.article-toc li {
  counter-increment: toc-counter;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 2.25rem;
  line-height: 1.4;
}
.article-toc li::before {
  content: counter(toc-counter, decimal-leading-zero) '.';
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--or-patine);
  font-weight: 600;
  font-size: 0.95rem;
}
.article-toc a { color: var(--encre-65); display: block; padding: 0.15rem 0; }
.article-toc a:hover { color: var(--rouge-rouille); }
@media (max-width: 1100px) {
  .article-toc {
    position: static;
    max-width: var(--measure-article);
    margin: 0 auto 3rem;
    border-left: 0;
    border-top: 1px solid var(--encre-10);
    padding: 1.5rem 0 0;
    border-bottom: 1px solid var(--encre-10);
    padding-bottom: 1.5rem;
  }
}

.article-body {
  max-width: var(--measure-article);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--encre-80);
}
.article-body > h2:first-of-type { margin-top: 0; }
.article-body p { margin-bottom: 1.5rem; }
.article-body img {
  margin: 2.5rem auto;
  max-width: 100%;
  height: auto;
  border-radius: 2px;
}
.article-body a {
  color: var(--rouge-rouille);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--or-40);
  transition: text-decoration-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.article-body a:hover {
  color: var(--encre-nuit);
  text-decoration-color: var(--rouge-rouille);
}

/* Lettrine premier paragraphe pilier */
.article-body.has-dropcap > p:first-of-type::first-letter {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 700;
  font-size: 4.8rem;
  line-height: 0.9;
  color: var(--or-patine);
  float: left;
  margin: 0.3rem 0.6rem 0 0;
  padding: 0;
}

/* Tryzub filigrane derriere les H2 */
.article-body h2 {
  position: relative;
}
.article-body h2::before {
  content: '';
  position: absolute;
  top: -16px;
  right: 0;
  width: 60px;
  height: 60px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'><path d='M32 4 L32 60 M32 18 L18 6 L18 28 L24 28 L24 60 M32 18 L46 6 L46 28 L40 28 L40 60' stroke='%230B1F3A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='0.06'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

/* Pull quotes / aside */
.pull-quote {
  margin: 3rem 0;
  padding: 0 0 0 2rem;
  border-left: 4px solid var(--rouge-rouille);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  line-height: 1.4;
  color: var(--encre-nuit);
  font-weight: 500;
}
.pull-quote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--ff-body);
  font-style: normal;
  font-size: 0.92rem;
  color: var(--encre-65);
  letter-spacing: 0.05em;
}

/* Tables */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
  background: var(--bois-blanchi);
}
.article-body th, .article-body td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--encre-10);
}
.article-body th {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 700;
  color: var(--encre-nuit);
  background: var(--encre-06);
  font-size: 1rem;
}
.article-body tr:last-child td { border-bottom: 0; }

/* Listes */
.article-body ul, .article-body ol { margin-bottom: 1.5rem; }
.article-body li { margin-bottom: 0.6rem; }

/* ============================================================
   FAQ — accordeon avec croix tryzub
   ============================================================ */
.faq-section {
  max-width: var(--measure-article);
  margin: var(--space-xl) auto;
  padding: 0 var(--gutter);
}
.faq-section > h2 {
  margin-bottom: 2rem;
}
.faq-list { list-style: none; padding: 0; margin: 0; }
.faq-item {
  border-bottom: 1px solid var(--encre-10);
}
.faq-item:first-child { border-top: 1px solid var(--encre-10); }
.faq-question {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 1.5rem 3rem 1.5rem 0;
  text-align: left;
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--encre-nuit);
  cursor: pointer;
  position: relative;
  line-height: 1.4;
}
.faq-question:hover { color: var(--rouge-rouille); }
.faq-question::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'><path d='M9 1 L9 17 M1 9 L17 9' stroke='%23B5462E' stroke-width='1.8' stroke-linecap='round'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateY(-50%) rotate(0);
  transition: transform var(--dur) var(--ease);
}
.faq-item.open .faq-question::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur) var(--ease);
}
.faq-item.open .faq-answer { max-height: 600px; }
.faq-answer-inner {
  padding: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--encre-80);
}
.faq-answer-inner p:last-child { margin-bottom: 0; }

/* ============================================================
   CARDS
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: var(--space-md) 0;
}
.card {
  background: var(--blanc-pur);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(11, 31, 58, .12);
}
.card-image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  position: relative;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.card:hover .card-image img { transform: scale(1.04); }
.card-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 32px;
  height: 32px;
  background: var(--creme-chaude);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  z-index: 2;
}
.card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-kicker {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--or-patine);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.card h3 {
  font-size: 1.3rem;
  margin: 0 0 0.75rem;
  color: var(--encre-nuit);
  font-weight: 700;
  font-style: italic;
}
.card h3::after { display: none; }
.card-excerpt {
  color: var(--encre-65);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 1rem;
  flex: 1;
}
.card-link {
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--rouge-rouille);
  text-transform: uppercase;
}
.card a:not(.card-link) {
  color: inherit;
  text-decoration: none;
}
a.card { color: inherit; }
a.card:hover { color: inherit; }
a.card:hover h3 { color: var(--rouge-rouille); }

/* Card portrait (Theme artistes) */
.card-portrait .card-image { aspect-ratio: 4 / 5; }

/* Grille asymetrique homepage piliers */
.piliers-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin: var(--space-md) 0;
}
.piliers-grid .card { grid-column: span 4; }
.piliers-grid .card.feature { grid-column: span 8; }
.piliers-grid .card.feature .card-image { aspect-ratio: 16 / 9; }
@media (max-width: 900px) {
  .piliers-grid { grid-template-columns: 1fr 1fr; }
  .piliers-grid .card,
  .piliers-grid .card.feature { grid-column: span 1; }
}
@media (max-width: 600px) {
  .piliers-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: var(--space-xl) 0;
}
.section-dark {
  background: var(--encre-nuit);
  color: var(--bois-blanchi);
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--creme-chaude); }
.section-dark a { color: var(--or-patine-clair); }
.section-cream-alt {
  background: var(--bois-blanchi);
}

.section-kicker {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--or-patine);
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-md);
}
.section-header h2 {
  margin-top: 0;
  display: inline-block;
}
.section-header h2::after { margin-left: auto; margin-right: auto; }
.section-header p {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--encre-65);
  line-height: 1.5;
}

.section-immersive {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--creme-chaude);
}
.section-immersive .section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.section-immersive .section-bg img { width: 100%; height: 100%; object-fit: cover; }
.section-immersive .section-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(11, 31, 58, .9) 0%, rgba(30, 58, 95, .65) 100%);
}
.section-immersive .container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.section-immersive h2 { color: var(--creme-chaude); }
.section-immersive p { color: var(--bois-blanchi); }

/* ============================================================
   STATS / CHIFFRES
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: var(--space-md) 0;
  text-align: center;
}
.stat-number {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--rouge-rouille);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-family: var(--ff-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--encre-65);
}

/* ============================================================
   RELATED ARTICLES / RELATED PAGES
   ============================================================ */
.related-section {
  background: var(--bois-blanchi);
  padding: var(--space-xl) 0;
  margin-top: var(--space-xl);
}
.related-section .section-kicker {
  text-align: center;
  display: block;
}
.related-section h2 { text-align: center; }
.related-section h2::after { margin-left: auto; margin-right: auto; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: var(--space-md);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--encre-nuit);
  color: var(--bois-blanchi);
  padding: var(--space-xl) 0 var(--space-md);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--creme-chaude);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.footer-brand svg { width: 32px; height: 32px; }
.footer-tagline {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--bois-blanchi);
  line-height: 1.5;
  margin: 0;
  max-width: 320px;
}
.footer-col h4 {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--or-patine-clair);
  margin: 0 0 1rem;
}
.footer-col h4::after { display: none; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  color: var(--bois-blanchi);
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.footer-col a:hover { color: var(--or-patine-clair); opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(184, 147, 90, .25);
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--bois-blanchi);
  opacity: 0.7;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--bois-blanchi);
  opacity: 0.6;
  font-style: italic;
  max-width: 720px;
  line-height: 1.5;
  margin-top: 1rem;
}

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

/* ============================================================
   CONTACT — mailto card
   ============================================================ */
.contact-email {
  background: var(--bois-blanchi);
  border-left: 4px solid var(--rouge-rouille);
  padding: 2rem;
  margin: 2rem 0;
}
.contact-email p { margin-bottom: 1rem; }
.contact-email p:last-child { margin-bottom: 0; }

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--gutter);
  background: var(--creme-chaude);
}
.error-code {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(5rem, 15vw, 9rem);
  color: var(--or-patine);
  line-height: 1;
  margin: 0;
}
.error-title {
  margin: 1rem 0;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.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;
}

/* Print */
@media print {
  .site-header, .site-footer, .article-toc, .related-section, .faq-section .faq-question::after { display: none; }
  body { background: white; color: black; }
  .article-body a { color: black; text-decoration: underline; }
}
