/* ==========================================================================
   slowsexlovelife.com — Boudoir contemporain
   Magazine editorial : sexualite en pleine conscience, slow sex, intimite.
   Stack : Astro 6 + CSS statique pur. Aucun framework, aucune CDN.
   ========================================================================== */

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

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
  /* Couleurs */
  --ink: #2A1817;
  --bordeaux: #6B1F2E;
  --rose-poudre: #E8B8AE;
  --nude: #D4A574;
  --ivory: #F7F0E8;
  --silk: #FBF7F2;
  --gold: #B8935A;

  --ink-90: rgba(42, 24, 23, 0.9);
  --ink-80: rgba(42, 24, 23, 0.8);
  --ink-65: rgba(42, 24, 23, 0.65);
  --ink-40: rgba(42, 24, 23, 0.4);
  --ink-15: rgba(42, 24, 23, 0.15);
  --ink-08: rgba(42, 24, 23, 0.08);
  --bordeaux-80: rgba(107, 31, 46, 0.8);
  --bordeaux-30: rgba(107, 31, 46, 0.3);
  --bordeaux-20: rgba(107, 31, 46, 0.2);
  --rose-30: rgba(232, 184, 174, 0.3);
  --rose-15: rgba(232, 184, 174, 0.15);
  --gold-40: rgba(184, 147, 90, 0.4);
  --gold-20: rgba(184, 147, 90, 0.2);
  --ivory-90: rgba(247, 240, 232, 0.9);

  /* Typographies */
  --ff-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --ff-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-script: 'Italianno', 'Snell Roundhand', cursive;

  /* Espacements (echelle modulaire) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* Tailles texte */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.5rem;
  --text-6xl: 4.5rem;

  /* Mise en page */
  --container: 1200px;
  --container-narrow: 760px;
  --container-wide: 1400px;
  --header-height: 76px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-slow: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ff-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--silk);
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--ink);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

/* ==========================================================================
   3. Typographie editoriale
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.25rem, 4.5vw, var(--text-5xl));
  font-style: italic;
  font-weight: 500;
  margin-bottom: var(--space-5);
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, var(--text-4xl));
  font-weight: 500;
  margin-top: var(--space-8);
  margin-bottom: var(--space-5);
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin-top: var(--space-3);
  transform-origin: left center;
  transition: transform 0.6s var(--ease-slow);
}

article h2.no-rule::after,
.no-rule::after {
  display: none;
}

h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.875rem);
  font-weight: 600;
  margin-top: var(--space-6);
  margin-bottom: var(--space-4);
}

h4 {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-top: var(--space-5);
  margin-bottom: var(--space-3);
}

p {
  margin-bottom: var(--space-4);
}

article p {
  font-size: 1.0625rem;
  line-height: 1.8;
}

article ul,
article ol {
  margin: 0 0 var(--space-4) 0;
  padding-left: var(--space-5);
}

article ul li,
article ol li {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: var(--space-2);
  list-style-position: outside;
}

article ul {
  list-style: none;
}

article ul li {
  position: relative;
  padding-left: 1.5rem;
}

article ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

article ol {
  list-style: decimal;
  padding-left: var(--space-6);
}

article ol li {
  padding-left: 0.5rem;
}

article a {
  color: var(--bordeaux);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--bordeaux-30);
  transition: text-decoration-color 0.25s var(--ease), color 0.25s var(--ease);
}

article a:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}

strong, b {
  font-weight: 600;
  color: var(--ink);
}

em, i {
  font-style: italic;
}

blockquote {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.625rem);
  line-height: 1.5;
  color: var(--bordeaux);
  margin: var(--space-7) 0;
  padding-left: var(--space-5);
  border-left: 2px solid var(--gold);
}

blockquote cite {
  display: block;
  margin-top: var(--space-3);
  font-family: var(--ff-body);
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--ink-65);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Lettrine — premier paragraphe d'un article */
.article-body > p:first-of-type::first-letter,
.drop-cap::first-letter {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 500;
  font-size: 4.5em;
  float: left;
  line-height: 0.85;
  margin: 0.05em 0.12em 0 0;
  color: var(--bordeaux);
}

/* Kicker (suprahead) */
.kicker {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-3);
}

/* Pull quote (citation flottante) */
.pull-quote {
  font-family: var(--ff-script);
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  line-height: 1.2;
  color: var(--bordeaux);
  margin: var(--space-7) 0;
  padding: var(--space-3) var(--space-5);
  border-left: 2px solid var(--gold);
  font-style: normal;
}

/* ==========================================================================
   4. Layout / containers
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.container-wide {
  max-width: var(--container-wide);
}

.section {
  padding: var(--space-8) 0;
}

.section-lg {
  padding: var(--space-9) 0;
}

.section-ivory {
  background: var(--ivory);
}

.section-bordeaux {
  background: var(--bordeaux);
  color: var(--silk);
}

.section-bordeaux h2,
.section-bordeaux h3,
.section-bordeaux strong {
  color: var(--silk);
}

.section-bordeaux a {
  color: var(--rose-poudre);
}

.section-ink {
  background: var(--ink);
  color: var(--silk);
}

.section-ink h2,
.section-ink h3 {
  color: var(--silk);
}

/* ==========================================================================
   5. Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled,
.site-header.has-bg {
  background: var(--ivory-90);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom-color: var(--ink-08);
}

/* Pages avec hero sombre : texte du header en clair quand pas scrolle.
   Quand l'utilisateur scrolle, .scrolled bascule au fond ivoire + texte fonce automatique. */
body.dark-hero .site-header:not(.scrolled) .brand,
body.dark-hero .site-header:not(.scrolled) .site-nav a,
body.dark-hero .site-header:not(.scrolled) .lang-switcher a {
  color: var(--silk);
  text-shadow: 0 1px 6px rgba(20, 10, 10, 0.35);
}

body.dark-hero .site-header:not(.scrolled) .site-nav a {
  opacity: 0.85;
}

body.dark-hero .site-header:not(.scrolled) .brand:hover,
body.dark-hero .site-header:not(.scrolled) .site-nav a:hover,
body.dark-hero .site-header:not(.scrolled) .site-nav a.active,
body.dark-hero .site-header:not(.scrolled) .lang-switcher a:hover,
body.dark-hero .site-header:not(.scrolled) .lang-switcher a.active {
  color: var(--gold);
}

body.dark-hero .site-header:not(.scrolled) .lang-switcher .sep {
  color: rgba(247, 240, 232, 0.5);
}

body.dark-hero .site-header:not(.scrolled) .site-nav a::after {
  background: var(--gold);
}

body.dark-hero .site-header:not(.scrolled) .menu-toggle span {
  background: var(--silk);
}

/* Sur ouverture menu mobile : le hamburger reste visible peu importe le fond */
body.dark-hero.nav-open .site-header .menu-toggle span {
  background: var(--ink);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-5);
  gap: var(--space-5);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.brand:hover {
  color: var(--bordeaux);
}

.brand-mark {
  font-family: var(--ff-script);
  font-size: 2rem;
  color: var(--gold);
  line-height: 0.6;
}

.brand-tagline {
  display: none;
  font-family: var(--ff-script);
  font-size: 1.4rem;
  color: var(--gold);
}

@media (min-width: 1024px) {
  .brand-tagline {
    display: inline;
  }
}

.site-nav {
  display: none;
  align-items: center;
  gap: var(--space-5);
}

@media (min-width: 1024px) {
  .site-nav {
    display: flex;
  }
}

.site-nav a {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--ink-80);
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--bordeaux);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--bordeaux);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lang-switcher a {
  color: var(--ink-65);
  padding: 4px 6px;
}

.lang-switcher a.active,
.lang-switcher a:hover {
  color: var(--bordeaux);
}

.lang-switcher .sep {
  color: var(--ink-40);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: var(--ivory);
  padding: calc(var(--header-height) + var(--space-5)) var(--space-6) var(--space-6);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  overflow-y: auto;
}

.nav-open .mobile-nav {
  transform: translateX(0);
}

.mobile-nav a {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--text-2xl);
  color: var(--ink);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--ink-08);
}

.mobile-nav a:hover {
  color: var(--bordeaux);
}

.mobile-nav .lang-switcher {
  margin-top: var(--space-5);
  font-family: var(--ff-body);
}

@media (min-width: 1024px) {
  .mobile-nav {
    display: none;
  }
}

/* ==========================================================================
   6. Hero (homepage + article)
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--silk);
  margin-top: 0;
}

.hero.hero-article {
  min-height: 56vh;
  align-items: flex-end;
  text-align: left;
  padding-top: calc(var(--header-height) + var(--space-5));
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(42, 24, 23, 0.55) 0%,
    rgba(42, 24, 23, 0.4) 35%,
    rgba(42, 24, 23, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  padding: 0 var(--space-5);
}

.hero.hero-article .hero-content {
  max-width: var(--container-narrow);
  margin-bottom: var(--space-7);
  width: 100%;
}

.hero h1 {
  color: var(--silk);
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 16px rgba(20, 10, 10, 0.35);
}

.hero.hero-article h1 {
  font-size: clamp(1.75rem, 3.4vw, 2.875rem);
  line-height: 1.15;
  margin-bottom: var(--space-3);
  max-width: 24ch;
}

.hero-subtitle {
  font-family: var(--ff-script);
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: var(--space-3);
  text-shadow: 0 2px 14px rgba(20, 10, 10, 0.4);
}

.hero-description {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
  color: var(--silk);
  max-width: 620px;
  margin: 0 auto var(--space-6);
  line-height: 1.55;
  opacity: 0.92;
  text-shadow: 0 1px 8px rgba(20, 10, 10, 0.4);
}

.hero.hero-article .hero-description {
  margin-left: 0;
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  max-width: 56ch;
  line-height: 1.6;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--ff-body);
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--silk);
  background: transparent;
  border: 1px solid var(--silk);
  padding: var(--space-3) var(--space-6);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.hero-cta:hover {
  background: var(--silk);
  color: var(--ink);
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--ff-body);
  font-size: var(--text-xs);
  letter-spacing: 0.3em;
  color: var(--silk);
  text-transform: uppercase;
  opacity: 0.7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: var(--silk);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--ff-body);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silk);
  opacity: 0.78;
  margin-bottom: var(--space-3);
  text-shadow: 0 1px 6px rgba(20, 10, 10, 0.35);
}

.breadcrumb a {
  color: var(--silk);
  opacity: 0.85;
}

.breadcrumb a:hover {
  color: var(--gold);
  opacity: 1;
}

.breadcrumb .sep {
  color: var(--silk);
  opacity: 0.5;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-family: var(--ff-body);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--silk);
  opacity: 0.78;
  margin-top: var(--space-4);
  text-shadow: 0 1px 6px rgba(20, 10, 10, 0.35);
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* ==========================================================================
   7. Article body / TOC / summary box
   ========================================================================== */

.article-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  padding: var(--space-8) 0;
}

@media (min-width: 1024px) {
  .article-wrapper {
    grid-template-columns: 240px 1fr;
    gap: var(--space-7);
  }
}

.article-toc {
  position: relative;
}

@media (min-width: 1024px) {
  .article-toc {
    position: sticky;
    top: calc(var(--header-height) + var(--space-5));
    align-self: start;
    max-height: calc(100vh - var(--header-height) - var(--space-7));
    overflow-y: auto;
  }
}

.article-toc h3 {
  font-family: var(--ff-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--gold-40);
}

.article-toc ul {
  list-style: none;
  padding: 0;
}

.article-toc li {
  margin-bottom: var(--space-3);
}

.article-toc a {
  display: block;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--text-base);
  line-height: 1.4;
  color: var(--ink-65);
  padding: 4px 0 4px 12px;
  border-left: 1px solid var(--ink-15);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.article-toc a:hover {
  color: var(--bordeaux);
  border-left-color: var(--bordeaux);
}

.article-summary {
  background: var(--ivory);
  border-left: 3px solid var(--gold);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-7);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink-80);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article-body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink);
}

.article-body > * + h2 {
  margin-top: var(--space-8);
}

.article-body img {
  width: 100%;
  height: auto;
  margin: var(--space-7) 0;
  border-radius: var(--radius-md);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.article-body figure {
  margin: var(--space-7) 0;
}

.article-body figure img {
  margin: 0;
}

.article-body figcaption {
  font-family: var(--ff-body);
  font-size: var(--text-sm);
  color: var(--ink-65);
  margin-top: var(--space-2);
  text-align: center;
  font-style: italic;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-6) 0;
  font-size: var(--text-base);
}

.article-body th {
  background: var(--bordeaux);
  color: var(--silk);
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.article-body td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--ink-08);
}

.article-body tr:hover td {
  background: var(--rose-15);
}

.article-body hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-40), transparent);
  margin: var(--space-7) 0;
}

/* Disclaimer (OneTaste, mentions editoriales) */
.legal-disclaimer {
  background: var(--ivory);
  border-left: 3px solid var(--bordeaux);
  padding: var(--space-5) var(--space-6);
  margin: var(--space-6) 0;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-80);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.legal-disclaimer strong {
  display: inline-block;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--bordeaux);
  margin-bottom: var(--space-2);
}

.legal-disclaimer p {
  margin-bottom: var(--space-3);
}

.legal-disclaimer p:last-child {
  margin-bottom: 0;
}

/* Callout */
.callout {
  background: var(--rose-15);
  border-left: 3px solid var(--rose-poudre);
  padding: var(--space-5) var(--space-6);
  margin: var(--space-6) 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.callout strong {
  display: block;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--bordeaux);
  margin-bottom: var(--space-2);
}

/* ==========================================================================
   8. FAQ (accordion)
   ========================================================================== */

.faq-section {
  margin-top: var(--space-9);
  padding-top: var(--space-7);
  border-top: 1px solid var(--rose-30);
}

.faq-section h2 {
  font-family: var(--ff-display);
  font-style: italic;
  margin-bottom: var(--space-6);
}

.faq-list {
  list-style: none;
  padding: 0;
}

.faq-item {
  border-top: 1px solid var(--rose-30);
  padding: var(--space-4) 0;
  cursor: pointer;
  transition: padding 0.3s var(--ease);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--rose-30);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 500;
  color: var(--ink);
  list-style: none;
}

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

.faq-toggle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background: var(--bordeaux);
  transition: transform 0.3s var(--ease);
}

.faq-toggle::before {
  width: 12px;
  height: 1.5px;
}

.faq-toggle::after {
  width: 1.5px;
  height: 12px;
}

.faq-item.open .faq-toggle::after {
  transform: rotate(90deg);
}

.faq-item.open .faq-toggle {
  background: var(--bordeaux);
}

.faq-item.open .faq-toggle::before,
.faq-item.open .faq-toggle::after {
  background: var(--silk);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s var(--ease);
  font-family: var(--ff-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-80);
}

.faq-item.open .faq-answer {
  max-height: 1500px;
  padding-top: var(--space-3);
}

/* ==========================================================================
   9. Cards / grids / listings
   ========================================================================== */

.grid {
  display: grid;
  gap: var(--space-5);
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--silk);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 1px 3px var(--ink-08);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px var(--rose-30);
}

.card-image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--ivory);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-slow);
}

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

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

.card-kicker {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-2);
}

.card-title {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: var(--space-3);
}

.card a {
  color: inherit;
  text-decoration: none;
}

.card a:hover .card-title {
  color: var(--bordeaux);
}

.card-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-65);
  margin-bottom: var(--space-4);
  flex-grow: 1;
}

.card-link {
  font-family: var(--ff-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bordeaux);
  margin-top: auto;
}

.card-link::after {
  content: ' \2192';
  display: inline-block;
  margin-left: 0.4em;
  transition: transform 0.3s var(--ease);
}

.card a:hover .card-link::after {
  transform: translateX(4px);
}

/* Liste articles related */
.related-list {
  display: grid;
  gap: var(--space-4);
  margin: var(--space-5) 0 0;
}

@media (min-width: 768px) {
  .related-list { grid-template-columns: repeat(2, 1fr); }
}

.related-item {
  border-top: 1px solid var(--rose-30);
  padding: var(--space-4) 0;
}

.related-item a {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink);
  display: block;
  line-height: 1.4;
}

.related-item a:hover {
  color: var(--bordeaux);
}

/* ==========================================================================
   10. Quiz interactif
   ========================================================================== */

.quiz {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--space-7) 0;
}

.quiz-progress {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  font-family: var(--ff-body);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-65);
}

.quiz-progress-bar {
  flex-grow: 1;
  height: 2px;
  background: var(--ink-15);
  border-radius: 2px;
  overflow: hidden;
}

.quiz-progress-bar-fill {
  height: 100%;
  background: var(--gold);
  width: 0%;
  transition: width 0.5s var(--ease);
}

.quiz-question {
  background: var(--silk);
  border: 1px solid var(--ink-08);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: 0 4px 16px var(--rose-15);
  display: none;
}

.quiz-question.active {
  display: block;
  animation: quizFadeIn 0.5s var(--ease);
}

@keyframes quizFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-question h2 {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.8vw, 1.875rem);
  margin-bottom: var(--space-5);
  margin-top: 0;
}

.quiz-question h2::after {
  display: none;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.quiz-option {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border: 1.5px solid var(--ink-15);
  border-radius: var(--radius-md);
  background: transparent;
  cursor: pointer;
  font-family: var(--ff-body);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
  text-align: left;
  width: 100%;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

.quiz-option:hover {
  border-color: var(--bordeaux);
  background: var(--rose-15);
}

.quiz-option.selected {
  border-color: var(--bordeaux);
  background: var(--bordeaux);
  color: var(--silk);
}

.quiz-option-marker {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-40);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--ink-65);
  transition: all 0.3s var(--ease);
}

.quiz-option:hover .quiz-option-marker {
  border-color: var(--bordeaux);
  color: var(--bordeaux);
}

.quiz-option.selected .quiz-option-marker {
  border-color: var(--silk);
  background: var(--silk);
  color: var(--bordeaux);
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-6);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--ff-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn-primary {
  background: var(--bordeaux);
  color: var(--silk);
  border: 1px solid var(--bordeaux);
}

.btn-primary:hover:not(:disabled) {
  background: var(--ink);
  border-color: var(--ink);
}

.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-ghost {
  background: transparent;
  color: var(--ink-65);
  border: 1px solid var(--ink-15);
}

.btn-ghost:hover {
  color: var(--bordeaux);
  border-color: var(--bordeaux);
}

.btn-gold {
  background: var(--gold);
  color: var(--silk);
  border: 1px solid var(--gold);
}

.btn-gold:hover {
  background: var(--bordeaux);
  border-color: var(--bordeaux);
}

.quiz-result {
  display: none;
  padding: var(--space-7);
  background: var(--ivory);
  border-radius: var(--radius-lg);
  text-align: center;
}

.quiz-result.active {
  display: block;
}

.quiz-result-kicker {
  font-family: var(--ff-body);
  font-size: var(--text-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-3);
}

.quiz-result-title {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--bordeaux);
  margin-bottom: var(--space-4);
}

.quiz-result-score {
  font-family: var(--ff-script);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: var(--space-5);
}

.quiz-result-text {
  max-width: 540px;
  margin: 0 auto var(--space-6);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-80);
}

.quiz-result-recos {
  background: var(--silk);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  margin: var(--space-5) 0;
  text-align: left;
}

.quiz-result-recos h3 {
  font-family: var(--ff-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-3);
}

.quiz-result-recos ul {
  list-style: none;
  padding: 0;
}

.quiz-result-recos li {
  border-top: 1px solid var(--ink-08);
  padding: var(--space-3) 0;
}

.quiz-result-recos li:first-child {
  border-top: none;
}

.quiz-result-recos a {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink);
}

.quiz-result-recos a:hover {
  color: var(--bordeaux);
}

/* ==========================================================================
   11. Footer
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: var(--silk);
  padding: var(--space-9) 0 var(--space-5);
}

.footer-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-7);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: var(--space-7);
  }
}

.footer-brand .brand {
  color: var(--silk);
  font-size: 1.5rem;
  margin-bottom: var(--space-3);
}

.footer-brand p {
  font-family: var(--ff-display);
  font-style: italic;
  color: rgba(247, 240, 232, 0.65);
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--ff-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
  margin-top: 0;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-col a {
  color: rgba(247, 240, 232, 0.75);
  font-size: 0.95rem;
  font-family: var(--ff-display);
  font-style: italic;
}

.footer-col a:hover {
  color: var(--rose-poudre);
}

.footer-meta {
  border-top: 1px solid rgba(247, 240, 232, 0.15);
  padding-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.8rem;
  color: rgba(247, 240, 232, 0.55);
}

.footer-meta a {
  color: rgba(247, 240, 232, 0.55);
}

.footer-meta a:hover {
  color: var(--rose-poudre);
}

/* ==========================================================================
   12. Page index / homepage features
   ========================================================================== */

.intro-section {
  padding: var(--space-9) 0;
  background: var(--silk);
  text-align: center;
}

.intro-section .container {
  max-width: var(--container-narrow);
}

.intro-section .kicker {
  margin-bottom: var(--space-3);
}

.intro-section h2 {
  font-style: italic;
  margin-top: 0;
}

.intro-section h2::after {
  margin: var(--space-3) auto 0;
}

.intro-section p {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--ink-80);
}

.pillars-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
}

.pillar-card {
  display: block;
  background: var(--silk);
  border: 1px solid var(--ink-08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
  color: inherit;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

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

.pillar-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-slow);
}

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

.pillar-card-body {
  padding: var(--space-5) var(--space-5) var(--space-6);
}

.pillar-card-number {
  font-family: var(--ff-script);
  font-size: 2.25rem;
  color: var(--gold);
  line-height: 0.6;
  display: block;
  margin-bottom: var(--space-2);
}

.pillar-card-title {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: var(--space-3);
}

.pillar-card:hover .pillar-card-title {
  color: var(--bordeaux);
}

.pillar-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-65);
  margin-bottom: var(--space-4);
}

.pillar-card-link {
  font-family: var(--ff-body);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bordeaux);
  font-weight: 500;
}

.pillar-card-link::after {
  content: ' \2192';
  margin-left: 0.4em;
  transition: transform 0.3s var(--ease);
  display: inline-block;
}

.pillar-card:hover .pillar-card-link::after {
  transform: translateX(4px);
}

/* CTA bandeau */
.cta-band {
  padding: var(--space-9) var(--space-5);
  text-align: center;
  background:
    linear-gradient(135deg, var(--bordeaux) 0%, var(--ink) 100%);
  color: var(--silk);
}

.cta-band .kicker {
  color: var(--gold);
}

.cta-band h2 {
  color: var(--silk);
  font-style: italic;
  margin: 0 auto var(--space-4);
  max-width: 720px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.cta-band h2::after {
  background: var(--gold);
  margin: var(--space-4) auto 0;
}

.cta-band p {
  max-width: 560px;
  margin: 0 auto var(--space-6);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.2rem;
  color: rgba(247, 240, 232, 0.85);
}

/* Quote band (citation pleine largeur) */
.quote-band {
  padding: var(--space-9) var(--space-5);
  text-align: center;
  background: var(--ivory);
  position: relative;
}

.quote-band::before {
  content: '\201C';
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 14rem;
  color: var(--rose-poudre);
  opacity: 0.4;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
}

.quote-band blockquote {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.4;
  color: var(--ink);
  max-width: 760px;
  margin: 0 auto var(--space-5);
  border: none;
  padding: 0;
  position: relative;
  z-index: 1;
}

.quote-band cite {
  font-family: var(--ff-body);
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ==========================================================================
   13. Reveal animations
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   14. Page generique (about, contact, mentions)
   ========================================================================== */

.page-header {
  padding: calc(var(--header-height) + var(--space-7)) 0 var(--space-7);
  background: var(--ivory);
  text-align: center;
}

.page-header .kicker {
  margin-bottom: var(--space-3);
}

.page-header h1 {
  margin: 0 auto var(--space-3);
  max-width: 760px;
}

.page-header p {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink-80);
  max-width: 620px;
  margin: 0 auto;
}

.page-content {
  padding: var(--space-8) 0;
}

.page-content .container {
  max-width: var(--container-narrow);
}

.page-content h2 {
  font-style: italic;
  margin-top: var(--space-8);
}

.page-content p,
.page-content li {
  font-size: 1.0625rem;
  line-height: 1.8;
}

.page-content ul {
  margin: 0 0 var(--space-5);
  padding-left: var(--space-5);
}

.page-content ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--space-3);
  list-style: none;
}

.page-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* 404 */
.error-page {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-7);
  background: var(--ivory);
}

.error-page .error-code {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(5rem, 14vw, 9rem);
  line-height: 1;
  color: var(--bordeaux);
  margin-bottom: var(--space-4);
}

.error-page h1 {
  margin-bottom: var(--space-3);
}

.error-page p {
  max-width: 480px;
  margin: 0 auto var(--space-6);
  color: var(--ink-65);
}

/* ==========================================================================
   15. Utilities
   ========================================================================== */

.text-center { text-align: center; }
.text-italic { font-style: italic; }
.text-script { font-family: var(--ff-script); }
.text-gold { color: var(--gold); }
.text-bordeaux { color: var(--bordeaux); }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.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;
}

.body-no-scroll {
  overflow: hidden;
}

/* ==========================================================================
   16. Print
   ========================================================================== */

@media print {
  .site-header,
  .site-footer,
  .hero-scroll,
  .article-toc,
  .menu-toggle,
  .mobile-nav,
  .quiz-actions,
  .cta-band {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}
