/* =====================================================================
   Time Tours — Magazine du Grand Nord
   Design system "Aurore Boreale" — v1.0 (2026-04-11)
   Direction : magazine arctique imprime traduit en HTML
   ===================================================================== */

:root {
  /* ── Couleurs (verrouillees, 6 valeurs, intermediaires par opacite) ── */
  --night: #0D1B2A;      /* nuit polaire — primaire */
  --aurora: #06A77D;     /* vert aurore — secondaire */
  --gold: #E9C46A;       /* or soleil d'hiver — accent 1 */
  --berry: #C0392B;      /* rouge baie sami — accent 2 */
  --snow: #F8FAFC;       /* blanc neige — fond */
  --ice: #EFF4F8;        /* glace pale — fond alt */

  /* ── Derives par opacite ── */
  --night-80: rgba(13, 27, 42, 0.80);
  --night-65: rgba(13, 27, 42, 0.65);
  --night-40: rgba(13, 27, 42, 0.40);
  --night-20: rgba(13, 27, 42, 0.20);
  --night-10: rgba(13, 27, 42, 0.10);
  --night-06: rgba(13, 27, 42, 0.06);
  --snow-95: rgba(248, 250, 252, 0.95);
  --snow-75: rgba(248, 250, 252, 0.75);
  --snow-40: rgba(248, 250, 252, 0.40);

  /* ── Polices ── */
  --ff-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ff-quote: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

  /* ── Mesures ── */
  --measure-article: 680px;
  --measure-wide: 1280px;
  --measure-hero: 1440px;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);

  /* ── Motion ── */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 300ms;
  --dur: 500ms;
  --dur-slow: 700ms;
}

/* =====================================================================
   RESET & BASE
   ===================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--ff-body);
  font-size: 1.0625rem;    /* 17px */
  line-height: 1.75;
  color: var(--night);
  background: var(--snow);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

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

/* =====================================================================
   TYPOGRAPHIE EDITORIALE
   ===================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  color: var(--night);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

h1 {
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

h2 {
  font-weight: 500;
  font-variation-settings: "opsz" 72;
  font-size: clamp(1.625rem, 2.6vw, 2rem);
  line-height: 1.15;
}

h3 {
  font-weight: 600;
  font-variation-settings: "opsz" 36;
  font-size: clamp(1.1875rem, 1.6vw, 1.375rem);
  line-height: 1.25;
}

h4 {
  font-weight: 600;
  font-variation-settings: "opsz" 18;
  font-size: 1.0625rem;
}

h1 em, h2 em, h3 em, h4 em {
  font-style: italic;
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

p {
  margin-bottom: 1.25em;
}

/* =====================================================================
   KICKER & FILET OR SIGNATURE
   ===================================================================== */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--ff-body);
  font-size: 0.6875rem;         /* 11px */
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--night-65);
  margin-bottom: 1.25rem;
}

.kicker .sep {
  color: var(--gold);
  margin: 0 0.25rem;
}

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

.kicker-dash {
  display: inline-block;
  width: 48px;
  height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}

.filet-gold {
  display: block;
  width: 48px;
  height: 1.5px;
  background: var(--gold);
  margin-top: 1rem;
  transform-origin: left center;
}

.section-title {
  font-family: var(--ff-display);
  font-weight: 500;
  font-variation-settings: "opsz" 72;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin-bottom: 1.25rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 1.5px;
  background: var(--gold);
  margin-top: 1rem;
}

.section-subtitle {
  font-family: var(--ff-quote);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--night-65);
  max-width: 55ch;
}

.section-header {
  margin-bottom: 3rem;
}

/* =====================================================================
   LIENS EDITORIAUX (jamais de boutons pleins sauf contact)
   ===================================================================== */
.link-gold {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--night);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--dur) var(--ease), letter-spacing var(--dur) var(--ease);
}

.link-gold::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform-origin: left center;
  transition: background var(--dur) var(--ease);
}

.link-gold:hover {
  color: var(--aurora);
  letter-spacing: 0.20em;
}

.link-gold:hover::after {
  background: var(--aurora);
}

.link-gold-arrow {
  display: inline-block;
  margin-top: 2rem;
}

/* Contraste sur fond sombre : texte clair obligatoire */
.on-dark .link-gold,
.hero-content .link-gold,
footer .link-gold,
.night-experience .link-gold {
  color: var(--snow);
}

.on-dark .link-gold:hover,
.hero-content .link-gold:hover,
.night-experience .link-gold:hover {
  color: var(--gold);
}

/* =====================================================================
   NAVIGATION / HEADER
   ===================================================================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: var(--snow-95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--night-10);
}

.nav-container {
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 1.25rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  font-family: var(--ff-display);
  font-size: 1.375rem;
  font-weight: 500;
  font-variation-settings: "opsz" 72;
  letter-spacing: 0;
  line-height: 1;
  color: var(--snow);
  transition: color var(--dur) var(--ease);
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

#navbar.scrolled .nav-logo {
  color: var(--night);
}

.nav-logo-mark {
  font-style: italic;
  color: var(--gold);
}

.nav-logo-word {
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links > li > a {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--snow);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--dur) var(--ease);
}

#navbar.scrolled .nav-links > li > a {
  color: var(--night);
}

.nav-links > li > a:hover {
  color: var(--gold);
}

#navbar.scrolled .nav-links > li > a:hover {
  color: var(--aurora);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: -1.5rem;
  min-width: 260px;
  background: var(--snow);
  border: 1px solid var(--night-10);
  padding: 1.25rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--dur) var(--ease);
  list-style: none;
  box-shadow: 0 20px 40px -20px var(--night-20);
}

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

.nav-dropdown-menu li a {
  display: block;
  padding: 0.5rem 1.5rem;
  font-family: var(--ff-body);
  font-size: 0.875rem;
  color: var(--night);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.nav-dropdown-menu li a:hover {
  color: var(--aurora);
  background: var(--ice);
}

.nav-toggle {
  display: none;
  width: 28px;
  height: 20px;
  position: relative;
}

.nav-toggle span {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--snow);
  transition: all var(--dur) var(--ease);
}

#navbar.scrolled .nav-toggle span {
  background: var(--night);
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }

/* =====================================================================
   HERO (home & article)
   ===================================================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--night);
}

.hero-home {
  min-height: 100vh;
  max-height: 880px;
}

.hero-article {
  min-height: 70vh;
  max-height: 680px;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: heroZoom 14s var(--ease) forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.0); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to top,
      rgba(13, 27, 42, 0.92) 0%,
      rgba(13, 27, 42, 0.55) 35%,
      rgba(13, 27, 42, 0.15) 70%,
      rgba(13, 27, 42, 0.05) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--measure-hero);
  width: 100%;
  margin: 0 auto;
  padding: 8rem var(--gutter) 5rem;
  color: var(--snow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-content .kicker,
.hero-content .kicker-gold {
  color: var(--gold);
}

.hero-content .kicker-dash {
  background: var(--gold);
}

.hero-title {
  color: var(--snow);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: clamp(2.75rem, 6vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  max-width: 18ch;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeIn var(--dur-slow) var(--ease) 150ms forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.hero-article .hero-title {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.05;
}

.hero-chapeau {
  font-family: var(--ff-quote);
  font-style: italic;
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  line-height: 1.55;
  color: var(--snow-95);
  max-width: 55ch;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeIn var(--dur-slow) var(--ease) 280ms forwards;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeIn var(--dur-slow) var(--ease) 420ms forwards;
}

@keyframes heroFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll-indicator {
  position: absolute;
  right: var(--gutter);
  bottom: 2rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--snow-75);
}

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: var(--gold);
  transform-origin: top center;
  animation: scrollLine 2.8s var(--ease) infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); opacity: 1; }
  60%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

.hero-scroll-word {
  font-family: var(--ff-body);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* Breadcrumb dans hero article */
.breadcrumb {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--snow-75);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--snow-75);
  transition: color var(--dur) var(--ease);
}

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

.breadcrumb .sep {
  color: var(--gold);
  margin: 0 0.5rem;
}

.article-meta {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--snow-75);
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.article-meta .kicker {
  color: var(--gold);
  margin-bottom: 0;
}

.article-meta .sep {
  color: var(--gold);
}

/* =====================================================================
   SECTION INTRO EDITORIALE
   ===================================================================== */
.intro-editorial {
  max-width: 900px;
  margin: 0 auto;
  padding: 6rem var(--gutter) 5rem;
  text-align: left;
}

.intro-inner {
  max-width: 680px;
}

.intro-text {
  font-family: var(--ff-quote);
  font-size: 1.375rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--night);
  margin-top: 1.5rem;
}

/* =====================================================================
   SECTION GUIDES ASYMETRIQUE 4-3-3
   ===================================================================== */
.guides-section {
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 5rem var(--gutter) 6rem;
}

.guides-asymmetric {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

/* Range 1 : 4 carrees → 3 colonnes chaque */
.a-card-sq { grid-column: span 3; }

/* Range 2 : 3 portraits → 4 colonnes chaque */
.a-card-po { grid-column: span 4; }

/* Feature 2x : 6 colonnes (moitie largeur) */
.a-card-feature { grid-column: span 6; }

.a-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: transparent;
  color: var(--night);
  transition: transform var(--dur) var(--ease);
  padding-top: 1.5rem;
}

/* Numerotation Cormorant en arriere-plan */
.a-card::before {
  content: var(--n, '');
  position: absolute;
  top: -0.25rem;
  right: 0.5rem;
  font-family: var(--ff-quote);
  font-style: italic;
  font-size: clamp(4rem, 7vw, 6rem);
  color: var(--night-06);
  line-height: 0.8;
  pointer-events: none;
  z-index: 0;
  font-weight: 500;
}

.a-card-img {
  position: relative;
  overflow: hidden;
  background: var(--ice);
  z-index: 1;
}

.a-card-sq .a-card-img { aspect-ratio: 1 / 1; }
.a-card-po .a-card-img { aspect-ratio: 4 / 5; }
.a-card-feature .a-card-img { aspect-ratio: 3 / 2; }

.a-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}

.a-card-img-bw img {
  filter: grayscale(1) contrast(1.05);
}

.a-card:hover .a-card-img img {
  filter: grayscale(0.35) brightness(0.95);
}

.a-card-img-bw:hover img {
  filter: grayscale(1) contrast(1.1);
}

.a-card h3 {
  font-family: var(--ff-display);
  font-size: 1.375rem;
  font-weight: 500;
  font-variation-settings: "opsz" 72;
  color: var(--night);
  margin-top: 1rem;
  position: relative;
  z-index: 1;
  padding-bottom: 0.75rem;
}

.a-card h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-slow) var(--ease);
}

.a-card:hover h3::after {
  transform: scaleX(1);
}

.a-card-body {
  position: relative;
  z-index: 1;
  padding-top: 0.5rem;
}

.a-card-body p {
  font-family: var(--ff-body);
  font-size: 0.9375rem;
  color: var(--night-65);
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.a-card-badge {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--snow);
  background: var(--berry);
  padding: 0.35rem 0.75rem;
  margin-bottom: 0.75rem;
}

/* =====================================================================
   BLOG TEASER + BLOG INDEX EDITORIAL LIST
   ===================================================================== */
.blog-teaser {
  background: var(--ice);
  padding: 6rem 0;
}

.blog-teaser-inner,
.blog-index-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.blog-index {
  padding: 5rem 0 7rem;
}

.blog-editorial-list {
  display: flex;
  flex-direction: column;
}

.blog-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--night-10);
  color: var(--night);
  transition: transform var(--dur) var(--ease);
}

.blog-row:last-child {
  border-bottom: 1px solid var(--night-10);
}

.blog-row-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--night-06);
}

.blog-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter var(--dur-slow) var(--ease);
}

.blog-row:hover .blog-row-img img {
  filter: grayscale(0.3) brightness(0.97);
}

.blog-row-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-row-body .kicker {
  margin-bottom: 0.75rem;
}

.blog-row-body h2 {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 500;
  font-variation-settings: "opsz" 72;
  color: var(--night);
  margin-bottom: 0.5rem;
  transition: transform var(--dur) var(--ease);
}

.blog-row:hover .blog-row-body h2 {
  transform: translateX(4px);
}

.blog-row-desc {
  font-family: var(--ff-body);
  font-size: 0.9375rem;
  color: var(--night-65);
  line-height: 1.6;
  max-width: 55ch;
}

.placeholder-note {
  font-family: var(--ff-quote);
  font-style: italic;
  color: var(--night-65);
  padding: 2rem 0;
}

/* =====================================================================
   SECTION "NUIT POLAIRE" (sombre, sur image)
   ===================================================================== */
.night-experience {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
  background: var(--night);
  color: var(--snow);
}

.night-experience-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.night-experience-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      135deg,
      rgba(13, 27, 42, 0.95) 0%,
      rgba(13, 27, 42, 0.80) 50%,
      rgba(13, 27, 42, 0.65) 100%
    );
}

.night-experience-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  color: var(--snow);
}

.night-experience-content .kicker,
.night-experience-content .kicker-gold {
  color: var(--gold);
}

.night-experience-content .section-title {
  color: var(--snow);
}

.night-experience-content .section-title::after {
  background: var(--gold);
}

.night-experience-content p {
  font-family: var(--ff-quote);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--snow-95);
  margin-bottom: 2rem;
}

.night-experience-content .link-gold {
  color: var(--snow);
}

.night-experience-content .link-gold:hover {
  color: var(--gold);
}

/* =====================================================================
   ARTICLE SUMMARY (chapeau editorial entre hero et body)
   ===================================================================== */
.article-summary {
  background: var(--snow);
  padding: 3.5rem var(--gutter) 0;
}

.article-summary-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  padding-left: 1.5rem;
}

.article-summary-inner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4em;
  bottom: 0.4em;
  width: 3px;
  background: var(--gold);
}

.article-summary-inner p {
  font-family: var(--ff-quote);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.55;
  color: var(--night);
  margin: 0;
}

/* =====================================================================
   ARTICLE LAYOUT : TOC sticky + body (grid desktop, stack mobile)
   ===================================================================== */
.article-layout {
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 3rem var(--gutter) 4rem;
  display: grid;
  grid-template-columns: 240px minmax(0, 680px);
  gap: 4rem;
  justify-content: center;
}

.article-toc {
  position: sticky;
  top: 100px;
  align-self: start;
  padding-top: 0.5rem;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.article-toc .kicker {
  margin-bottom: 1rem;
}

.article-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}

.article-toc li {
  border-left: 1.5px solid var(--night-10);
  padding: 0;
  margin: 0;
  transition: border-color var(--dur) var(--ease);
}

.article-toc li:hover,
.article-toc li:focus-within {
  border-left-color: var(--gold);
}

.article-toc a {
  display: flex;
  gap: 0.75rem;
  padding: 0.6rem 0 0.6rem 1rem;
  text-decoration: none;
  color: var(--night-65);
  font-family: var(--ff-body);
  font-size: 0.8125rem;
  line-height: 1.4;
  transition: color var(--dur) var(--ease);
}

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

.toc-num {
  font-family: var(--ff-quote);
  font-style: italic;
  color: var(--gold);
  font-size: 0.875rem;
  flex-shrink: 0;
}

.toc-text {
  flex: 1;
}

/* =====================================================================
   ARTICLE BODY (guides + blog)
   ===================================================================== */
.article-body {
  max-width: var(--measure-article);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  font-family: var(--ff-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--night);
  scroll-margin-top: 100px;
}

.article-body > *[id] {
  scroll-margin-top: 100px;
}

.article-body > *:first-child {
  margin-top: 0;
}

.article-body p {
  margin: 0 0 1.25em;
}

/* Lettrine sur le 1er paragraphe */
.article-body > p:first-of-type::first-letter {
  font-family: var(--ff-display);
  font-size: 4.5rem;
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  float: left;
  line-height: 0.9;
  padding: 0.3rem 0.75rem 0 0;
  color: var(--night);
}

.article-body h2 {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 500;
  font-variation-settings: "opsz" 72;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 3rem 0 1.25rem;
  position: relative;
}

.article-body h2::before {
  content: '';
  display: block;
  width: 48px;
  height: 1.5px;
  background: var(--gold);
  margin-bottom: 1rem;
}

.article-body h3 {
  font-family: var(--ff-display);
  font-size: 1.375rem;
  font-weight: 600;
  font-variation-settings: "opsz" 36;
  margin: 2.5rem 0 1rem;
}

.article-body h3::before {
  content: '· ';
  color: var(--gold);
  font-weight: 700;
}

.article-body ul,
.article-body ol {
  padding-left: 1.5rem;
  margin: 0 0 1.5em;
}

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

.article-body ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
}

.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 14px;
  height: 1.5px;
  background: var(--gold);
}

.article-body ol {
  margin-left: 0;
  padding-left: 1.5rem;
}

.article-body ol li::marker {
  font-family: var(--ff-quote);
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

.article-body ol li {
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

.article-body a {
  color: var(--night);
  background-image: linear-gradient(to right, var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 100%;
  transition: color var(--dur) var(--ease), background-image var(--dur) var(--ease);
}

.article-body a:hover {
  color: var(--aurora);
  background-image: linear-gradient(to right, var(--aurora), var(--aurora));
}

.article-body blockquote {
  border-left: 3px solid var(--aurora);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--ff-quote);
  font-style: italic;
  font-size: 1.75rem;
  line-height: 1.4;
  color: var(--night);
}

.article-body blockquote::before {
  content: 'EXTRAIT';
  display: block;
  font-family: var(--ff-body);
  font-style: normal;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.article-body img {
  width: 100%;
  height: auto;
  margin: 2.5rem 0 0.5rem;
}

.article-body img + em,
.article-body figcaption {
  display: block;
  font-family: var(--ff-quote);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--night-65);
  padding-left: 2rem;
  position: relative;
  margin-bottom: 2rem;
}

.article-body img + em::before,
.article-body figcaption::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

/* Callout "A savoir" */
.article-body .callout,
.article-body aside {
  background: var(--ice);
  border-left: 3px solid var(--gold);
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
}

.article-body .callout-title,
.article-body aside > strong:first-child {
  display: block;
  font-family: var(--ff-body);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--night);
  margin-bottom: 0.75rem;
}

.article-body .callout p:last-child,
.article-body aside p:last-child {
  margin-bottom: 0;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9375rem;
}

.article-body table thead {
  background: var(--ice);
}

.article-body table th {
  font-family: var(--ff-body);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1.5px solid var(--night-20);
}

.article-body table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--night-10);
}

.article-body hr {
  border: none;
  height: 1px;
  background: var(--night-10);
  margin: 3rem auto;
  width: 60%;
}

/* =====================================================================
   FAQ ACCORDEON
   ===================================================================== */
.faq-section {
  background: var(--snow);
  padding: 5rem 0;
}

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

.faq-list {
  margin-top: 2rem;
}

.faq-item {
  border-bottom: 1px solid var(--night-10);
}

.faq-item:first-child {
  border-top: 1px solid var(--night-10);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  font-family: var(--ff-display);
  font-size: 1.125rem;
  font-weight: 500;
  font-variation-settings: "opsz" 36;
  color: var(--night);
  transition: color var(--dur) var(--ease);
}

.faq-question:hover {
  color: var(--aurora);
}

.faq-plus {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.35rem;
  transition: transform var(--dur) var(--ease);
}

.faq-plus::before,
.faq-plus::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--gold);
  transform: translateY(-50%);
}

.faq-plus::after {
  transform: translateY(-50%) rotate(90deg);
  transition: transform var(--dur) var(--ease);
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease);
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-inner p {
  padding: 0 0 1.5rem;
  color: var(--night-65);
  line-height: 1.75;
}

/* =====================================================================
   RELATED ARTICLES
   ===================================================================== */
.related-articles {
  background: var(--ice);
  padding: 5rem 0;
}

.related-inner {
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.related-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  background: var(--snow);
  border-left: 3px solid var(--gold);
  color: var(--night);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}

.related-card:hover {
  background: var(--snow);
  transform: translateX(4px);
}

.related-card h3 {
  font-family: var(--ff-display);
  font-size: 1.0625rem;
  font-weight: 500;
  font-variation-settings: "opsz" 36;
  line-height: 1.3;
  color: var(--night);
}

.related-arrow {
  color: var(--gold);
  font-size: 1.25rem;
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}

.related-card:hover .related-arrow {
  color: var(--aurora);
  transform: translateX(4px);
}

/* =====================================================================
   FOOTER
   ===================================================================== */
footer {
  background: var(--night);
  color: var(--snow-75);
  padding: 5rem 0 2rem;
}

.footer-inner {
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(248, 250, 252, 0.1);
}

.footer-logo {
  font-family: var(--ff-display);
  font-size: 1.75rem;
  font-weight: 500;
  font-variation-settings: "opsz" 72;
  color: var(--snow);
  margin-bottom: 0.5rem;
}

.footer-logo-mark {
  font-style: italic;
  color: var(--gold);
}

.footer-tag {
  font-family: var(--ff-quote);
  font-style: italic;
  font-size: 1rem;
  color: var(--snow-75);
  margin-bottom: 1rem;
  max-width: 32ch;
}

.footer-signature {
  font-family: var(--ff-quote);
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--gold);
}

.footer-col h4 {
  font-family: var(--ff-body);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
}

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

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

.footer-col a {
  font-family: var(--ff-body);
  font-size: 0.9375rem;
  color: var(--snow-75);
  transition: color var(--dur) var(--ease);
}

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

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-copy {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--snow-75);
}

.footer-heritage {
  font-family: var(--ff-quote);
  font-style: italic;
  font-size: 0.8125rem;
  color: var(--snow-75);
  max-width: 60ch;
  line-height: 1.5;
}

/* =====================================================================
   REVEAL SCROLL (uniquement elements explicites .reveal)
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}

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

/* =====================================================================
   PAGES UTILITAIRES (contact, a-propos, mentions, cgu, plan)
   ===================================================================== */
.util-section {
  padding: 5rem var(--gutter) 6rem;
  max-width: var(--measure-wide);
  margin: 0 auto;
}

.util-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1080px;
  margin: 0 auto;
}

.util-side .section-title,
.util-single .section-title {
  max-width: 20ch;
}

.util-single {
  max-width: var(--measure-article);
  margin: 0 auto;
}

.util-single .section-subtitle {
  margin-bottom: 3rem;
}

/* Callout (reutilise depuis article-body, dispo hors article) */
.util-section .callout,
.util-single .callout {
  background: var(--ice);
  border-left: 3px solid var(--gold);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

.util-section .callout p:last-child,
.util-single .callout p:last-child {
  margin-bottom: 0;
}

.callout-title {
  display: block;
  font-family: var(--ff-body);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--night);
  margin-bottom: 0.75rem;
}

.util-side ul,
.util-single ul {
  list-style: none;
  padding-left: 0;
}

.util-side ul li,
.util-single ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.6rem;
}

.util-side ul li::before,
.util-single ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 14px;
  height: 1.5px;
  background: var(--gold);
}

.util-side a,
.util-single a {
  color: var(--night);
  background-image: linear-gradient(to right, var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 100%;
  transition: color var(--dur) var(--ease);
}

.util-side a:hover,
.util-single a:hover {
  color: var(--aurora);
}

/* =====================================================================
   FORMULAIRE CONTACT
   ===================================================================== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form .kicker {
  margin-bottom: 0.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field-label {
  font-family: var(--ff-body);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--night);
}

.field input,
.field textarea {
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--night);
  background: var(--snow);
  border: none;
  border-bottom: 1.5px solid var(--night-20);
  padding: 0.875rem 0;
  transition: border-color var(--dur) var(--ease);
  resize: vertical;
  width: 100%;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
}

.btn-primary {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--snow);
  background: var(--night);
  border: 1.5px solid var(--night);
  padding: 1rem 2.25rem;
  cursor: pointer;
  margin-top: 1rem;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.btn-primary:hover {
  background: var(--aurora);
  border-color: var(--aurora);
  color: var(--snow);
}

.form-note {
  font-family: var(--ff-quote);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--night-65);
  margin-top: 1rem;
  max-width: 60ch;
}

/* =====================================================================
   PLAN DU SITE
   ===================================================================== */
.plan-col {
  margin-bottom: 4rem;
}

.plan-col:last-child {
  margin-bottom: 0;
}

.plan-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1.5rem;
  columns: 2;
  column-gap: 2.5rem;
}

.plan-list li {
  break-inside: avoid;
  padding-left: 1.75rem;
  margin-bottom: 0.6rem;
  position: relative;
}

.plan-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 14px;
  height: 1.5px;
  background: var(--gold);
}

.plan-list a {
  color: var(--night);
  transition: color var(--dur) var(--ease);
  background: none;
}

.plan-list a:hover {
  color: var(--aurora);
}

@media (max-width: 768px) {
  .util-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .plan-list {
    columns: 1;
  }
}

/* =====================================================================
   UTILITAIRES
   ===================================================================== */
.section {
  padding: 5rem 0;
}

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

.sep {
  color: var(--gold);
  padding: 0 0.5rem;
  font-weight: 600;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: minmax(0, 680px);
    justify-content: center;
  }
  .article-toc {
    position: static;
    max-height: none;
    max-width: 680px;
    margin: 0 auto 2rem;
    padding: 1.5rem 1.75rem;
    background: var(--ice);
    overflow: visible;
  }
  .article-toc li {
    border-left-color: var(--gold);
  }
}

@media (max-width: 900px) {
  .a-card-sq, .a-card-po, .a-card-feature {
    grid-column: span 6;
  }
  .guides-asymmetric {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--night);
    padding: 1.5rem var(--gutter) 2rem;
    border-top: 1px solid rgba(248, 250, 252, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--dur) var(--ease);
  }

  .nav-links.open {
    max-height: 80vh;
    overflow-y: auto;
  }

  .nav-links > li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(248, 250, 252, 0.1);
  }

  .nav-links > li > a {
    color: var(--snow);
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0.5rem 0 0 1rem;
    min-width: 0;
  }

  .nav-dropdown-menu li a {
    padding: 0.4rem 0;
    color: var(--snow-75);
  }

  .nav-dropdown-menu li a:hover {
    background: transparent;
    color: var(--gold);
  }

  .hero-home {
    min-height: 85vh;
  }

  .hero-content {
    padding: 7rem var(--gutter) 4rem;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .blog-row {
    grid-template-columns: 1fr;
  }

  .blog-row-img {
    max-width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .article-body {
    padding: 3.5rem var(--gutter) 3rem;
  }

  .article-body > p:first-of-type::first-letter {
    font-size: 3.5rem;
  }

  .article-body h2 {
    font-size: 1.625rem;
  }

  .intro-editorial {
    padding: 4rem var(--gutter) 3rem;
  }

  .intro-text {
    font-size: 1.1875rem;
  }

  .night-experience {
    padding: 5rem 0;
  }
}

@media (max-width: 520px) {
  .a-card-sq, .a-card-po, .a-card-feature {
    grid-column: span 12;
  }
  .a-card::before {
    font-size: 4rem;
  }
  .section-title::after {
    margin-top: 0.75rem;
  }
  .hero-title {
    max-width: 100%;
  }
}

/* =====================================================================
   ACCESSIBILITE & REDUCED MOTION
   ===================================================================== */
@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;
  }
  .hero-img {
    transform: none;
  }
}

/* Focus visible pour navigation au clavier */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* Selection */
::selection {
  background: var(--gold);
  color: var(--night);
}
