/* ============================================================
   FEMMES-ET-MUSIQUE.FR — Design "Portée d'Or"
   CSS statique pur — ZERO Tailwind, ZERO CSS-in-JS
   ============================================================ */

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

/* ============================================================
   DESIGN TOKENS
   ============================================================ */

:root {
  /* Couleurs principales */
  --parchemin:   #F5EDDA;
  --acajou:      #241409;
  --encre:       #1C1410;
  --vermeil:     #B5341A;
  --or:          #C4973A;
  --ardoise:     #7A6F62;

  /* Dérivés */
  --or-15:       rgba(196, 151, 58, 0.15);
  --or-40:       rgba(196, 151, 58, 0.40);
  --vermeil-12:  rgba(181, 52, 26, 0.12);
  --parchemin-90: rgba(245, 237, 218, 0.90);

  /* Polices */
  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'EB Garamond', Georgia, serif;
  --ff-label:   'Cinzel', serif;

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

  /* Espacement */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
}

/* ============================================================
   RESET + BASE
   ============================================================ */

*, *::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.1vw + 0.5rem, 1.2rem);
  line-height: 1.75;
  color: var(--encre);
  background-color: var(--parchemin);
  overflow-x: hidden;
}

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

a {
  color: var(--vermeil);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--or);
  text-decoration: underline;
}

/* ============================================================
   TYPOGRAPHIE
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 300;
  line-height: 1.2;
  color: var(--encre);
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.5rem); margin-bottom: var(--space-md); }
h2 { font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.25rem); margin-bottom: var(--space-sm); margin-top: var(--space-lg); }
h3 { font-size: clamp(1.2rem, 1.5vw + 0.3rem, 1.6rem); margin-bottom: var(--space-sm); margin-top: var(--space-md); }
h4 { font-size: 1.1rem; font-weight: 400; margin-bottom: var(--space-sm); margin-top: var(--space-md); }

p { margin-bottom: var(--space-md); max-width: var(--measure-article); }

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: var(--space-md);
}

li { margin-bottom: var(--space-xs); }

strong { font-weight: 600; }

em { font-style: italic; }

hr {
  border: none;
  border-top: 1px solid var(--or-40);
  margin: var(--space-xl) auto;
  max-width: var(--measure-wide);
}

/* ============================================================
   SIGNATURE VISUELLE ① — PORTÉE D'OR (séparateur de section)
   ============================================================ */

.portee {
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px, transparent 7px,
    var(--or-40) 7px, var(--or-40) 8px
  );
  height: 40px;
  width: 100%;
  margin: var(--space-xl) 0;
}

.portee--sm {
  height: 24px;
  margin: var(--space-lg) 0;
}

/* ============================================================
   SIGNATURE VISUELLE ② — LETTRINE INITIALE
   ============================================================ */

.article-body > p:first-of-type::first-letter {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 4.2em;
  line-height: 0.8;
  float: left;
  margin: 0.05em 0.12em 0 0;
  color: var(--vermeil);
  border: 1px solid var(--or);
  padding: 0.05em 0.15em;
}

/* ============================================================
   SIGNATURE VISUELLE ③ — KICKER CINZEL VERMEIL
   ============================================================ */

.kicker {
  font-family: var(--ff-label);
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--vermeil);
  margin-bottom: 0.5rem;
  display: block;
}

/* ============================================================
   SIGNATURE VISUELLE ④ — CADRE D'ICÔNE (portraits)
   ============================================================ */

.portrait-icon {
  outline: 1px solid var(--or);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px var(--or-15);
}

/* ============================================================
   SIGNATURE VISUELLE ⑤ — BLOC CITATION MUSICOLOGIQUE
   ============================================================ */

.citation-musicale {
  position: relative;
  border-left: 3px solid var(--vermeil);
  background: var(--or-15);
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  font-family: var(--ff-display);
  font-style: italic;
  overflow: hidden;
  margin: var(--space-lg) 0;
  border-radius: 0 4px 4px 0;
}

.citation-musicale::before {
  content: '«';
  position: absolute;
  top: -1rem;
  right: 0.5rem;
  font-size: 8rem;
  color: var(--or-15);
  font-family: var(--ff-display);
  line-height: 1;
  pointer-events: none;
}

.citation-musicale p {
  margin: 0;
  font-size: 1.1em;
  color: var(--encre);
}

.citation-musicale cite {
  display: block;
  font-style: normal;
  font-family: var(--ff-label);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ardoise);
  margin-top: var(--space-sm);
}

/* ============================================================
   LAYOUT — CONTENEURS
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--measure-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--article {
  max-width: var(--measure-article);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--hero {
  max-width: var(--measure-hero);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--parchemin-90);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--or-40);
  padding: 0.75rem var(--gutter);
}

.header-inner {
  max-width: var(--measure-wide);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.site-logo {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 600;
  font-style: italic;
  color: var(--encre);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-logo span {
  color: var(--vermeil);
}

.site-logo:hover { text-decoration: none; color: var(--vermeil); }

/* Navigation principale */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-nav > li {
  position: relative;
}

.main-nav > li > a,
.main-nav > li > button {
  font-family: var(--ff-label);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--encre);
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}

.main-nav > li > a:hover,
.main-nav > li > button:hover {
  color: var(--vermeil);
  text-decoration: none;
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--parchemin);
  border: 1px solid var(--or-40);
  border-top: 2px solid var(--vermeil);
  min-width: 220px;
  list-style: none;
  padding: var(--space-sm) 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s var(--ease);
  box-shadow: 0 8px 24px rgba(28, 20, 16, 0.12);
  z-index: 200;
}

.nav-dropdown a {
  display: block;
  padding: 0.5rem 1.2rem;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  color: var(--encre);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown a:hover {
  background: var(--or-15);
  color: var(--vermeil);
  text-decoration: none;
}

.main-nav > li:hover .nav-dropdown,
.main-nav > li:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-arrow {
  font-size: 0.6rem;
  transition: transform 0.2s var(--ease);
}

.main-nav > li:hover .nav-arrow {
  transform: rotate(180deg);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--encre);
}

/* ============================================================
   HERO — HOMEPAGE (fond acajou, portée watermark)
   ============================================================ */

.hero-home {
  position: relative;
  background-color: var(--acajou);
  background-image:
    repeating-linear-gradient(
      3deg,
      transparent 0px, transparent 12px,
      rgba(196, 151, 58, 0.07) 12px, rgba(196, 151, 58, 0.07) 13px
    );
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(181, 52, 26, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-home-inner {
  position: relative;
  z-index: 1;
  max-width: var(--measure-hero);
  margin-inline: auto;
  padding: var(--space-2xl) var(--gutter);
  max-width: 800px;
}

.hero-home .kicker {
  color: var(--or);
  margin-bottom: var(--space-md);
  font-size: 0.78rem;
}

.hero-home h1 {
  font-family: var(--ff-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2.5rem, 6vw + 1rem, 5.5rem);
  line-height: 1.1;
  color: var(--parchemin);
  margin-bottom: var(--space-lg);
}

.hero-home h1 em {
  color: var(--or);
  font-style: italic;
}

.hero-home p {
  font-family: var(--ff-body);
  font-size: clamp(1rem, 1.5vw + 0.3rem, 1.25rem);
  color: var(--ardoise);
  max-width: 540px;
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.hero-portrait {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 42%;
  overflow: hidden;
  pointer-events: none;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.6) 30%, rgba(0,0,0,0.85) 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.6) 30%, rgba(0,0,0,0.85) 100%);
  opacity: 0.65;
}

@media (max-width: 900px) {
  .hero-portrait { display: none; }
  .hero-home-inner { max-width: 100%; }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--vermeil);
  color: var(--parchemin);
  font-family: var(--ff-label);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  text-decoration: none;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--or);
  color: var(--acajou);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--parchemin);
  font-family: var(--ff-label);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  text-decoration: none;
  border: 1px solid rgba(245, 237, 218, 0.4);
  transition: all 0.2s var(--ease);
}

.btn-secondary:hover {
  border-color: var(--or);
  color: var(--or);
  text-decoration: none;
}

.hero-ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  align-items: center;
}

/* ============================================================
   HERO — PAGES INTÉRIEURES
   ============================================================ */

.hero-page {
  background: var(--acajou);
  padding: var(--space-xl) var(--gutter) var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.hero-page::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--or), transparent);
}

.hero-page .kicker { color: var(--or); }

.hero-page h1 {
  font-family: var(--ff-display);
  font-weight: 300;
  font-style: italic;
  color: var(--parchemin);
  font-size: clamp(1.8rem, 3vw + 0.5rem, 3rem);
  max-width: var(--measure-article);
}

.hero-page .hero-desc {
  color: var(--ardoise);
  max-width: 600px;
  margin-top: var(--space-md);
  font-size: 1.05rem;
}

.hero-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* ============================================================
   ARTICLE — CORPS DE TEXTE
   ============================================================ */

.article-body {
  padding: var(--space-xl) 0;
}

.article-body h2 {
  color: var(--vermeil);
  font-size: clamp(1.4rem, 2vw + 0.3rem, 1.9rem);
  font-weight: 400;
  border-bottom: 1px solid var(--or-40);
  padding-bottom: var(--space-sm);
}

.article-body h3 {
  font-size: clamp(1.1rem, 1.3vw + 0.2rem, 1.4rem);
  font-weight: 400;
  color: var(--encre);
  font-style: italic;
}

.article-body img {
  border-radius: 2px;
  margin: var(--space-lg) auto;
}

/* ============================================================
   TABLE DES MATIÈRES
   ============================================================ */

.toc {
  background: var(--or-15);
  border: 1px solid var(--or-40);
  border-left: 3px solid var(--or);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
  font-size: 0.92rem;
}

.toc-title {
  font-family: var(--ff-label);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: var(--space-sm);
}

.toc ol {
  margin: 0;
  padding-left: 1.2rem;
  counter-reset: toc-counter;
}

.toc li {
  margin-bottom: 0.35rem;
  color: var(--ardoise);
}

.toc a {
  color: var(--encre);
}

.toc a:hover { color: var(--vermeil); }

/* ============================================================
   CARDS — GRILLE D'ARTICLES
   ============================================================ */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.card {
  background: white;
  border: 1px solid var(--or-40);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.card:hover {
  box-shadow: 0 8px 32px rgba(196, 151, 58, 0.2);
  transform: translateY(-2px);
}

.card-image {
  aspect-ratio: 3/2;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.4s var(--ease);
}

.card:hover .card-image img {
  transform: scale(1.03);
}

.card-body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-kicker {
  font-family: var(--ff-label);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--vermeil);
  margin-bottom: var(--space-xs);
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: var(--space-sm);
  margin-top: 0;
  line-height: 1.35;
}

.card h3 a {
  color: var(--encre);
  text-decoration: none;
}

.card h3 a:hover { color: var(--vermeil); }

.card p {
  font-size: 0.9rem;
  color: var(--ardoise);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--space-sm);
}

.card-link {
  font-family: var(--ff-label);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--vermeil);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
}

.card-link:hover { color: var(--or); text-decoration: none; }

/* ============================================================
   SECTION HOMEPAGE
   ============================================================ */

.section {
  padding: var(--space-2xl) var(--gutter);
}

.section--dark {
  background: var(--acajou);
  color: var(--parchemin);
}

.section--dark h2,
.section--dark h3 {
  color: var(--parchemin);
}

.section--dark p {
  color: var(--ardoise);
}

.section--tinted {
  background: var(--or-15);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header h2 {
  margin-top: 0;
}

.section-header .kicker {
  justify-content: center;
  display: block;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq {
  max-width: var(--measure-article);
  margin: var(--space-xl) auto;
}

.faq-title {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 2vw + 0.3rem, 2rem);
  font-weight: 300;
  color: var(--encre);
  text-align: center;
  margin-bottom: var(--space-lg);
}

.faq details {
  border-bottom: 1px solid var(--or-40);
}

.faq details:first-of-type {
  border-top: 1px solid var(--or-40);
}

.faq summary {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 1.05rem;
  padding: var(--space-md) 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--encre);
  transition: color 0.2s;
}

.faq summary:hover { color: var(--vermeil); }

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '+';
  font-family: var(--ff-label);
  font-size: 1.2rem;
  color: var(--or);
  transition: transform 0.2s var(--ease);
  flex-shrink: 0;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  color: var(--vermeil);
}

.faq details[open] summary {
  color: var(--vermeil);
}

.faq-answer {
  padding: 0 0 var(--space-md) 0;
  font-size: 0.97rem;
  color: var(--ardoise);
  line-height: 1.7;
}

.faq-answer p { max-width: none; margin-bottom: var(--space-sm); }
.faq-answer p:last-child { margin-bottom: 0; }

/* ============================================================
   BREADCRUMB
   ============================================================ */

.breadcrumb {
  font-family: var(--ff-label);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ardoise);
  padding: var(--space-sm) var(--gutter);
  border-bottom: 1px solid var(--or-40);
  background: var(--parchemin);
}

.breadcrumb a {
  color: var(--ardoise);
  text-decoration: none;
}

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

.breadcrumb span { color: var(--or); margin: 0 0.4rem; }

/* ============================================================
   ARTICLES LIÉS / RELATED
   ============================================================ */

.related {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--or-40);
}

.related-title {
  font-family: var(--ff-label);
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: var(--space-md);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--acajou);
  color: var(--ardoise);
  padding: var(--space-2xl) var(--gutter) var(--space-lg);
  border-top: 2px solid var(--or-40);
}

.footer-inner {
  max-width: var(--measure-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
}

.footer-brand .site-logo {
  color: var(--parchemin);
  display: block;
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--ardoise);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--ff-label);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: var(--space-md);
  margin-top: 0;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li { margin-bottom: 0.5rem; }

.footer-col a {
  color: var(--ardoise);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--parchemin); text-decoration: none; }

.footer-bottom {
  max-width: var(--measure-wide);
  margin: var(--space-xl) auto 0;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(196, 151, 58, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.8rem;
  color: rgba(122, 111, 98, 0.7);
}

.footer-bottom a {
  color: rgba(122, 111, 98, 0.7);
}

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

/* ============================================================
   FORMULAIRE CONTACT
   ============================================================ */

.form-group {
  margin-bottom: var(--space-lg);
}

label {
  display: block;
  font-family: var(--ff-label);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ardoise);
  margin-bottom: var(--space-sm);
}

input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--encre);
  background: white;
  border: 1px solid var(--or-40);
  outline: none;
  transition: border-color 0.2s var(--ease);
  border-radius: 0;
  appearance: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--vermeil);
  box-shadow: 0 0 0 3px var(--vermeil-12);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

/* ============================================================
   PAGINATION
   ============================================================ */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xl) 0;
}

.pagination a,
.pagination span {
  font-family: var(--ff-label);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--or-40);
  text-decoration: none;
  color: var(--encre);
  transition: all 0.2s;
}

.pagination a:hover {
  background: var(--vermeil);
  color: var(--parchemin);
  border-color: var(--vermeil);
  text-decoration: none;
}

.pagination .current {
  background: var(--vermeil);
  color: var(--parchemin);
  border-color: var(--vermeil);
}

/* ============================================================
   PAGE 404
   ============================================================ */

.page-404 {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl) var(--gutter);
}

.page-404 .error-code {
  font-family: var(--ff-display);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 300;
  font-style: italic;
  color: var(--or-40);
  line-height: 1;
  margin-bottom: var(--space-md);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 680px) {
  .main-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--parchemin);
    z-index: 99;
    padding: 5rem var(--gutter) var(--space-xl);
    overflow-y: auto;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav > li > a,
  .main-nav > li > button {
    font-size: 1rem;
    padding: var(--space-md) 0;
    letter-spacing: 0.1em;
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--or);
    padding-left: var(--space-md);
    display: none;
  }

  .main-nav > li.is-open .nav-dropdown {
    display: block;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 100;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   UTILITAIRES
   ============================================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.text-center { text-align: center; }
.text-right  { text-align: right; }

.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 680px) {
  .grid-2 { grid-template-columns: 1fr; }
}

/* Highlight encadré pour les chiffres clés */
.stat-box {
  border: 1px solid var(--or-40);
  border-top: 3px solid var(--or);
  padding: var(--space-md) var(--space-lg);
  text-align: center;
}

.stat-box .stat-number {
  font-family: var(--ff-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--vermeil);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-xs);
}

.stat-box .stat-label {
  font-family: var(--ff-label);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ardoise);
}

/* Encadré mise en avant */
.highlight-box {
  background: var(--vermeil-12);
  border-left: 3px solid var(--vermeil);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
}

.highlight-box p { margin: 0; font-size: 0.95rem; }
