/* ==========================================================================
   chaletliotard.fr — Design System "Sommet Provençal"
   ==========================================================================
   Aesthetic: National Geographic montagne × Libération week-end —
   lumineux, éditorial, robuste, ancré dans la Provence montagnarde.

   Fonts: Libre Baskerville (display) + Source Sans 3 (body) + Raleway (accent)
   Palette: Bleu montagne, Vert forêt, Or Ventoux, Terre cuite, Blanc chaud
   ========================================================================== */

/* ---------- 1. GOOGLE FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Raleway:wght@500;600;700;800&display=swap');

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
table { border-collapse: collapse; width: 100%; }

/* ---------- 3. DESIGN TOKENS ---------- */
:root {
  /* --- Palette Alpin Provençal --- */
  --primary: #2B6CB0;
  --primary-light: #4A90D9;
  --primary-dark: #1A4D8A;
  --primary-muted: rgba(43, 108, 176, .08);
  --primary-muted-strong: rgba(43, 108, 176, .15);

  --forest: #276749;
  --forest-light: #38895F;
  --forest-muted: rgba(39, 103, 73, .08);

  --gold: #C9A84C;
  --gold-light: #DFC070;
  --gold-dark: #A88A38;
  --gold-muted: rgba(201, 168, 76, .12);
  --gold-pale: rgba(201, 168, 76, .06);

  --terra: #C76B4A;
  --terra-light: #D98B6A;
  --terra-muted: rgba(199, 107, 74, .09);

  /* --- Backgrounds --- */
  --bg: #FFFDF8;
  --bg-alt: #F3EFE4;
  --bg-warm: #F8F5ED;
  --bg-dark: #1D2E3E;
  --bg-dark-2: #243447;
  --bg-card: #FFFFFF;

  /* --- Text --- */
  --txt: #1D2E3E;
  --txt-sec: #4A5568;
  --txt-light: #7A8799;
  --txt-white: #FFFDF8;
  --txt-on-dark: rgba(255, 253, 248, .85);

  /* --- Borders --- */
  --border: #E5DFD4;
  --border-hover: #CEC7BA;
  --border-primary: rgba(43, 108, 176, .22);
  --border-gold: rgba(201, 168, 76, .30);

  /* --- Shadows --- */
  --shadow-sm: 0 1px 3px rgba(29, 46, 62, .04), 0 1px 2px rgba(29, 46, 62, .03);
  --shadow-md: 0 3px 10px rgba(29, 46, 62, .06), 0 1px 3px rgba(29, 46, 62, .04);
  --shadow-lg: 0 8px 28px rgba(29, 46, 62, .08), 0 2px 6px rgba(29, 46, 62, .04);
  --shadow-card: 0 2px 14px rgba(29, 46, 62, .05), 0 0 0 1px rgba(29, 46, 62, .03);
  --shadow-primary: 0 4px 20px rgba(43, 108, 176, .18);

  /* --- Spacing --- */
  --sp-xs: .5rem;
  --sp-sm: 1rem;
  --sp-md: 2rem;
  --sp-lg: 4rem;
  --sp-xl: 7rem;

  /* --- Radius --- */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 24px;
  --r-pill: 100px;

  /* --- Typography --- */
  --font-display: 'Libre Baskerville', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --font-accent: 'Raleway', sans-serif;

  /* --- Z-index --- */
  --z-header: 100;
  --z-dropdown: 200;
  --z-overlay: 300;
  --z-reading-bar: 400;

  /* --- Transitions --- */
  --t-fast: 180ms ease;
  --t-base: 280ms ease;
  --t-slow: 420ms ease;
}

/* ---------- 4. BASE TYPOGRAPHY ---------- */
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--txt);
  background-color: var(--bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.22;
  color: var(--txt);
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); letter-spacing: -.015em; margin-bottom: .75rem; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.125rem; font-family: var(--font-accent); font-weight: 700; letter-spacing: .02em; }

p { margin-bottom: 1.3em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; color: var(--txt); }
em { font-style: italic; }

a {
  color: var(--primary);
  transition: color var(--t-fast), opacity var(--t-fast);
}
a:hover { color: var(--primary-dark); }

/* --- Kicker --- */
.kicker {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .6rem;
}

/* ---------- 5. LAYOUT ---------- */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-asymmetric { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-asymmetric { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- 6. READING BAR ---------- */
.reading-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  z-index: var(--z-reading-bar);
  transition: width .1s linear;
}

/* ---------- 7. HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), box-shadow var(--t-base), background var(--t-base);
}
.site-header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
  background: rgba(255, 253, 248, .97);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon { width: 38px; height: 38px; flex-shrink: 0; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--txt);
  letter-spacing: -.01em;
  line-height: 1.15;
}
.logo-sub {
  display: block;
  font-family: var(--font-accent);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary);
}

/* Nav */
.header-nav { display: flex; align-items: center; gap: .25rem; }

.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .5rem .75rem;
  font-family: var(--font-accent);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--txt-sec);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--primary-muted);
}
.nav-link svg { transition: transform var(--t-fast); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + .5rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: .75rem;
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-base);
  z-index: var(--z-dropdown);
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .75rem;
  font-size: .875rem;
  color: var(--txt-sec);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.nav-dropdown a:hover { color: var(--primary); background: var(--primary-muted); }
.nav-dropdown a::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* Header CTA */
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: .5rem 1.1rem;
  background: var(--primary);
  color: var(--txt-white) !important;
  border-radius: var(--r-pill);
  font-family: var(--font-accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
  margin-left: .75rem;
}
.nav-cta:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-primary);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--txt);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base), width var(--t-base);
  width: 100%;
}
.hamburger span:last-child { width: 70%; }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 1rem 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow), padding var(--t-slow);
}
.mobile-nav.open { max-height: 600px; }

.mobile-nav a {
  display: block;
  padding: .65rem 1.5rem;
  font-family: var(--font-accent);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--txt-sec);
  transition: color var(--t-fast), background var(--t-fast);
}
.mobile-nav a:hover { color: var(--primary); background: var(--primary-muted); }
.mobile-nav .mobile-section {
  font-family: var(--font-accent);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  padding: .9rem 1.5rem .4rem;
  border-top: 1px solid var(--border);
  margin-top: .4rem;
}

@media (max-width: 900px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  body.nav-open .hamburger span:first-child { transform: translateY(7px) rotate(45deg); }
  body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
  body.nav-open .hamburger span:last-child { transform: translateY(-7px) rotate(-45deg); width: 100%; }
}

/* ---------- 8. HERO ---------- */

/* Hero commun */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* Hero home */
.hero-home {
  min-height: 90vh;
  text-align: center;
}
.hero-home .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(29, 46, 62, .60) 0%,
    rgba(29, 46, 62, .42) 45%,
    rgba(43, 108, 176, .28) 100%
  );
}
.hero-home .hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 2rem 1.5rem;
  animation: heroFadeIn .8s ease both;
}
.hero-home .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-accent);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.hero-home .hero-kicker::before,
.hero-home .hero-kicker::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.hero-home h1 {
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  color: var(--txt-white);
  letter-spacing: -.025em;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(29, 46, 62, .35);
}
.hero-home .hero-desc {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 253, 248, .82);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 2rem;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 2rem;
  background: var(--primary);
  color: var(--txt-white);
  border-radius: var(--r-pill);
  font-family: var(--font-accent);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background var(--t-base), box-shadow var(--t-base), transform var(--t-base);
  box-shadow: var(--shadow-primary);
}
.hero-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(43, 108, 176, .35);
  color: var(--txt-white);
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-accent);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 253, 248, .55);
  animation: scrollBounce 2s ease infinite;
}
.hero-scroll svg { opacity: .55; }

/* Hero article */
.hero-article {
  min-height: 55vh;
  align-items: flex-end;
  padding-bottom: 0;
}
.hero-article .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(29, 46, 62, .85) 0%,
    rgba(29, 46, 62, .55) 45%,
    rgba(29, 46, 62, .20) 100%
  );
}
.hero-article .hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 3rem 0 3.5rem;
}
.hero-article .hero-content .container { max-width: 860px; }
.hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-accent);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 253, 248, .55);
  margin-bottom: 1rem;
}
.hero-breadcrumb a { color: inherit; transition: color var(--t-fast); }
.hero-breadcrumb a:hover { color: var(--gold); }
.hero-breadcrumb span { color: rgba(255, 253, 248, .3); }
.hero-cat-badge {
  display: inline-block;
  padding: .3rem .85rem;
  border-radius: var(--r-pill);
  font-family: var(--font-accent);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .85rem;
}
.hero-article h1 {
  color: var(--txt-white);
  max-width: 820px;
  text-shadow: 0 2px 16px rgba(29, 46, 62, .3);
  margin-bottom: .85rem;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-family: var(--font-accent);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: rgba(255, 253, 248, .6);
}
.hero-meta span { display: flex; align-items: center; gap: .35rem; }

/* ---------- 9. CATEGORY BADGE COLORS ---------- */
.cat-hiver, [data-cat="hiver"] .cat-badge  { background: var(--primary); color: #fff; }
.cat-ete,   [data-cat="ete"] .cat-badge    { background: var(--forest); color: #fff; }
.cat-gastronomie, [data-cat="gastronomie"] .cat-badge { background: var(--terra); color: #fff; }
.cat-villages, [data-cat="villages"] .cat-badge       { background: var(--gold-dark); color: #fff; }

/* ---------- 10. BLOG CARD ---------- */
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: box-shadow var(--t-base), transform var(--t-base), border-color var(--t-base);
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--border-primary);
  color: inherit;
}
.blog-card-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform .5s ease;
}
.blog-card:hover .blog-card-image img { transform: scale(1.05); }

.cat-badge {
  position: absolute;
  bottom: .7rem;
  left: .7rem;
  display: inline-block;
  padding: .28rem .75rem;
  border-radius: var(--r-pill);
  font-family: var(--font-accent);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.4rem 1.4rem;
  gap: .5rem;
}
.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--txt);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card:hover .blog-card-title { color: var(--primary); }

.blog-card-summary {
  font-size: .875rem;
  color: var(--txt-sec);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: .9rem;
  font-family: var(--font-accent);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--txt-light);
  margin-top: .3rem;
}

/* ---------- 11. FILTER PILLS ---------- */
.filter-section {
  padding: 2.5rem 0 .75rem;
}
.filter-label {
  font-family: var(--font-accent);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--txt-light);
  margin-bottom: 1rem;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}
.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1.1rem;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--border);
  background: transparent;
  font-family: var(--font-accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--txt-sec);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.pill-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-muted);
  transform: translateY(-1px);
}
.pill-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}
.pill-btn .pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pill-dot-hiver { background: var(--primary-light); }
.pill-dot-ete { background: var(--forest-light); }
.pill-dot-gastronomie { background: var(--terra); }
.pill-dot-villages { background: var(--gold); }
.pill-dot-all { background: var(--gold); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}
.blog-card-wrap {
  transition: opacity var(--t-base);
}
.blog-card-wrap.hidden {
  display: none;
}

@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---------- 12. ARTICLE BODY ---------- */
.article-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
  padding: 3.5rem 0 5rem;
}
@media (max-width: 1000px) {
  .article-wrapper { grid-template-columns: 1fr; gap: 2rem; }
}

.article-body {
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--txt);
  max-width: 720px;
}
.article-body h2 {
  position: relative;
  padding-bottom: .6rem;
  margin-top: 2.5rem;
  margin-bottom: 1.1rem;
}
.article-body h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s ease;
}
.article-body h2.h2-visible::after { transform: scaleX(1); }

.article-body h3 { margin-top: 1.75rem; margin-bottom: .7rem; }
.article-body h4 { margin-top: 1.4rem; margin-bottom: .5rem; }

/* Dropcap */
.article-body.with-dropcap > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 4.4em;
  line-height: .85;
  float: left;
  margin-right: .1em;
  margin-top: .05em;
  color: var(--primary);
  font-weight: 700;
}

/* Article summary */
.article-summary {
  background: var(--bg-alt);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  font-size: .975rem;
  color: var(--txt-sec);
  line-height: 1.68;
}
.article-summary strong { color: var(--txt); }

/* Pull quote */
.pull-quote {
  border-left: 4px solid var(--primary);
  background: var(--bg-alt);
  padding: 1.4rem 1.75rem;
  margin: 2rem 0;
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.pull-quote p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--txt);
  margin: 0;
}

/* Article images */
.article-body figure {
  margin: 2rem 0;
  border-radius: var(--r-md);
  overflow: hidden;
}
.article-body figure img {
  width: 100%;
  border-radius: var(--r-md);
}
.article-body figcaption {
  font-size: .8rem;
  color: var(--txt-light);
  padding: .6rem .75rem;
  font-style: italic;
  background: var(--bg-alt);
}

/* In-article links */
.article-body a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--border-primary);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--t-fast), color var(--t-fast);
}
.article-body a:hover {
  color: var(--primary-dark);
  text-decoration-color: var(--primary);
}

/* ---------- 13. TOC STICKY ---------- */
.toc-sticky {
  position: sticky;
  top: 90px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-card);
}
.toc-title {
  font-family: var(--font-accent);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--txt-light);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}
.toc-list { display: flex; flex-direction: column; gap: .1rem; }
.toc-link {
  display: block;
  padding: .4rem .6rem;
  font-size: .85rem;
  color: var(--txt-sec);
  border-radius: var(--r-sm);
  border-left: 2px solid transparent;
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast);
  line-height: 1.4;
}
.toc-link:hover { color: var(--primary); background: var(--primary-muted); }
.toc-link.active {
  color: var(--primary);
  background: var(--primary-muted);
  border-left-color: var(--primary);
  font-weight: 600;
}

/* ---------- 14. FAQ ACCORDION ---------- */
.faq-section {
  padding: 4rem 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 3rem;
}
.faq-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 2rem;
  text-align: center;
}
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: .5rem; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq-item.open { border-color: var(--border-primary); box-shadow: var(--shadow-card); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--txt);
  cursor: pointer;
  user-select: none;
  list-style: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--primary);
  transition: transform var(--t-base), border-color var(--t-base), background var(--t-base);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--primary);
  background: var(--primary-muted);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow), padding var(--t-base);
  font-size: .95rem;
  color: var(--txt-sec);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 600px; }
.faq-answer-inner { padding: 0 1.4rem 1.3rem; }

/* ---------- 15. RELATED GRID ---------- */
.related-section {
  padding: 4rem 0 5rem;
}
.related-label {
  font-family: var(--font-accent);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}
.related-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  margin-bottom: 2rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .related-grid { grid-template-columns: 1fr; } }

/* ---------- 16. HOMEPAGE SECTIONS ---------- */
.home-guides-section {
  padding: var(--sp-xl) 0;
  background: var(--bg);
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.section-header h2 { margin-bottom: 0; }
.section-link {
  font-family: var(--font-accent);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: .4rem;
  white-space: nowrap;
  transition: gap var(--t-fast);
}
.section-link:hover { gap: .7rem; }

/* Guide card (pilier) */
.guide-card {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.guide-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.guide-card:hover img { transform: scale(1.06); }
.guide-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(29,46,62,.78) 0%, transparent 60%);
}
.guide-card-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 1;
}
.guide-card-label .kicker { color: var(--gold); margin-bottom: .25rem; }
.guide-card-label h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--txt-white);
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
  line-height: 1.25;
}
/* Featured guide */
.guide-card-featured { aspect-ratio: auto; grid-row: span 2; }

/* Immersive band */
.home-band {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  text-align: center;
}
.home-band-bg {
  position: absolute;
  inset: 0;
}
.home-band-bg img { width: 100%; height: 100%; object-fit: cover; }
.home-band-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(43, 108, 176, .72);
}
.home-band-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
}
.home-band .kicker { color: var(--gold-light); margin-bottom: .75rem; }
.home-band h2 {
  color: var(--txt-white);
  margin-bottom: 1rem;
}
.home-band p {
  color: rgba(255,253,248,.75);
  margin-bottom: 1.75rem;
}
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .8rem 1.8rem;
  border: 2px solid rgba(255,253,248,.7);
  border-radius: var(--r-pill);
  font-family: var(--font-accent);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--txt-white);
  transition: border-color var(--t-base), background var(--t-base);
}
.btn-outline-white:hover {
  border-color: var(--txt-white);
  background: rgba(255,253,248,.12);
  color: var(--txt-white);
}

/* ---------- 17. FOOTER ---------- */
.site-footer {
  background: var(--bg-dark);
  color: var(--txt-on-dark);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,253,248,.08);
}
.footer-brand .logo-text { color: var(--txt-white); }
.footer-brand .logo-sub { color: var(--gold); }
.footer-tagline {
  font-size: .875rem;
  color: var(--txt-on-dark);
  line-height: 1.65;
  margin-top: .9rem;
  max-width: 240px;
}
.footer-col-title {
  font-family: var(--font-accent);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.footer-links a {
  font-size: .875rem;
  color: rgba(255,253,248,.55);
  transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--txt-white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: .78rem;
  color: rgba(255,253,248,.38);
}
.footer-heritage {
  font-family: var(--font-display);
  font-style: italic;
  font-size: .8rem;
  color: rgba(255,253,248,.3);
  max-width: 380px;
  text-align: right;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-heritage { text-align: left; }
}
@media (max-width: 580px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- 18. SECTIONS COMMUNES ---------- */
.section-alt { background: var(--bg-alt); }
.section-warm { background: var(--bg-warm); }

.section-pad { padding: var(--sp-xl) 0; }
.section-pad-sm { padding: var(--sp-lg) 0; }

/* Highlight box */
.highlight-box {
  background: var(--primary-muted-strong);
  border: 1px solid var(--border-primary);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.highlight-box p { margin: 0; color: var(--txt); }

/* Alt stat block */
.stat-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-alt);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  display: block;
}
.stat-label {
  font-family: var(--font-accent);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--txt-sec);
  margin-top: .3rem;
}
@media (max-width: 600px) { .stat-block { grid-template-columns: 1fr; } }

/* ---------- 19. UTILITIES ---------- */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-gold { color: var(--gold-dark); }
.fw-bold { font-weight: 700; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ---------- 20. ANIMATIONS ---------- */
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- 21. CONTACT / FORM ---------- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-label {
  font-family: var(--font-accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--txt-sec);
}
.form-input, .form-textarea {
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg-card);
  font-size: 1rem;
  color: var(--txt);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-muted);
}
.form-textarea { min-height: 140px; resize: vertical; }
.btn-submit {
  align-self: flex-start;
  padding: .85rem 2.2rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--r-pill);
  font-family: var(--font-accent);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.btn-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

/* ---------- 22. 404 ---------- */
.page-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 4rem 1.5rem;
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 700;
  color: var(--primary);
  opacity: .12;
  line-height: 1;
  margin-bottom: .5rem;
}

/* ---------- 23. PRINT ---------- */
@media print {
  .site-header, .site-footer, .toc-sticky, .related-section { display: none; }
  .article-wrapper { grid-template-columns: 1fr; }
  .article-body { max-width: 100%; }
}
