/* ============================================================
   chateau-larcher86.fr — CSS statique pur
   Palette : Parchemin médiéval
   ============================================================ */

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

/* ---- Design tokens ---- */
:root {
  --parchment:    #f5ead8;
  --parchment-95: #f0e0c5;
  --stone:        #8b7355;
  --stone-20:     rgba(139,115,85,0.20);
  --midnight:     #1a1510;
  --midnight-70:  rgba(26,21,16,0.70);
  --midnight-40:  rgba(26,21,16,0.40);
  --gold:         #b8960c;
  --gold-20:      rgba(184,150,12,0.20);
  --bordeaux:     #6b1e24;
  --moss:         #3d4f2e;
  --ice:          #fcf8f2;

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

  --measure-article: 680px;
  --measure-wide:    1280px;
  --measure-hero:    1440px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 300ms;
  --dur: 500ms;
  --dur-slow: 700ms;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 18px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  background: var(--parchment);
  color: var(--midnight);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bordeaux); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--gold); }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  line-height: 1.2;
  color: var(--midnight);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); font-weight: 400; margin-top: 2.5rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--bordeaux); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); font-weight: 400; margin-top: 2rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.2rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1.2rem; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
li { margin-bottom: 0.4rem; }
blockquote {
  border-left: 4px solid var(--bordeaux);
  padding: 0.75rem 1.5rem;
  background: var(--parchment-95);
  font-style: italic;
  margin: 1.5rem 0;
  color: var(--stone);
}
strong { font-weight: 600; }
em { font-style: italic; }

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

/* ---- Lettrine ---- */
.article-body > p:first-of-type::first-letter {
  font-family: var(--ff-display);
  font-size: 4rem;
  font-weight: 600;
  float: left;
  line-height: 1;
  margin-right: 0.15rem;
  margin-top: 0.1rem;
  color: var(--bordeaux);
}

/* ---- Pull quote ---- */
.pull-quote {
  border-left: 4px solid var(--bordeaux);
  padding: 1rem 1.5rem;
  background: var(--parchment-95);
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-style: italic;
  margin: 2rem 0;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  padding: 0 var(--gutter);
}
.site-header.scrolled {
  background: var(--midnight);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.header-inner {
  max-width: var(--measure-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.header-logo {
  font-family: var(--ff-label);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--ice);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-logo:hover { color: var(--gold); }
.header-logo svg { width: 28px; height: 28px; flex-shrink: 0; }
.nav-main { display: flex; gap: 0.25rem; list-style: none; align-items: center; }
.nav-main a {
  font-family: var(--ff-label);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ice);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 2px;
  transition: color var(--dur-fast), background var(--dur-fast);
}
.nav-main a:hover { color: var(--gold); background: rgba(255,255,255,0.08); }
.nav-main a.active { color: var(--gold); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--ice);
  border-radius: 1px;
  transition: transform var(--dur-fast), opacity var(--dur-fast);
}
body.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
body.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--midnight);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
body.nav-open .mobile-nav { display: flex; }
.mobile-nav a {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  color: var(--ice);
  text-decoration: none;
}
.mobile-nav a:hover { color: var(--gold); }

@media (max-width: 768px) {
  .nav-main { display: none; }
  .hamburger { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--midnight) 0%, var(--midnight-70) 40%, var(--midnight-40) 70%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: calc(64px + 2rem) var(--gutter) 3rem;
  max-width: var(--measure-wide);
  margin: 0 auto;
  width: 100%;
}
.hero-content .kicker { color: var(--gold); margin-bottom: 0.75rem; }
.hero-content h1 {
  color: var(--ice);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
  max-width: 800px;
  margin-bottom: 1rem;
}
.hero-desc {
  color: rgba(252,248,242,0.85);
  font-family: var(--ff-body);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 1.5rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  font-family: var(--ff-label);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--midnight);
  padding: 0.75rem 1.75rem;
  text-decoration: none;
  border-radius: 2px;
  transition: background var(--dur-fast), transform var(--dur-fast);
  display: inline-block;
}
.btn-primary:hover { background: #d4ad0e; color: var(--midnight); transform: translateY(-1px); }
.btn-secondary {
  font-family: var(--ff-label);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1.5px solid var(--ice);
  color: var(--ice);
  padding: 0.75rem 1.75rem;
  text-decoration: none;
  border-radius: 2px;
  transition: background var(--dur-fast), color var(--dur-fast);
  display: inline-block;
}
.btn-secondary:hover { background: var(--ice); color: var(--midnight); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: rgba(252,248,242,0.5);
  font-family: var(--ff-label);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
  animation: bounce 2s infinite;
}
.scroll-indicator::after {
  content: '';
  display: block;
  width: 1px;
  height: 36px;
  background: rgba(252,248,242,0.4);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  font-family: var(--ff-label);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(252,248,242,0.6);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(252,248,242,0.6); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { opacity: 0.5; }

/* Hero article (non-home) */
.hero.hero-article { min-height: 55vh; align-items: flex-end; }
.hero.hero-article .hero-content { padding-bottom: 2.5rem; }
.hero-meta {
  display: flex;
  gap: 1.5rem;
  color: rgba(252,248,242,0.65);
  font-family: var(--ff-label);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

/* ============================================================
   LAYOUT / ARTICLE
   ============================================================ */
.page-wrapper {
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 3rem var(--gutter) 5rem;
  display: grid;
  grid-template-columns: 1fr min(var(--measure-article), 100%) 1fr;
  gap: 0 2rem;
}
.page-wrapper > * { grid-column: 2; }
.page-wrapper > .full-width { grid-column: 1 / -1; }

.article-summary {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--stone);
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  background: var(--parchment-95);
  border-radius: 0 4px 4px 0;
}

/* ---- TOC ---- */
.toc-container {
  background: var(--parchment-95);
  border: 1px solid var(--stone-20);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}
.toc-title {
  font-family: var(--ff-label);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.75rem;
}
.toc-list { list-style: none; padding: 0; }
.toc-list li { margin-bottom: 0.35rem; }
.toc-list a {
  font-family: var(--ff-body);
  font-size: 0.9rem;
  color: var(--bordeaux);
  text-decoration: none;
}
.toc-list a:hover { color: var(--gold); text-decoration: underline; }
.toc-list .toc-h3 { padding-left: 1rem; font-size: 0.85rem; opacity: 0.85; }

/* ---- Body ---- */
.article-body { font-size: 1rem; }
.article-body figure {
  margin: 2.5rem 0;
}
.article-body figure img {
  border-radius: 4px;
  width: 100%;
}
.article-body figcaption {
  font-family: var(--ff-label);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--stone);
  text-align: center;
  margin-top: 0.5rem;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--stone-20);
}
.faq-title {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--midnight);
}
.faq-item {
  border-bottom: 1px solid var(--stone-20);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--midnight);
  gap: 1rem;
}
.faq-question::marker, .faq-question::-webkit-details-marker { display: none; }
.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gold);
  transition: transform var(--dur-fast) var(--ease);
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  font-size: 0.95rem;
  color: var(--midnight);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur) var(--ease), padding var(--dur-fast);
}
.faq-item.open .faq-answer {
  max-height: 600px;
  padding-bottom: 1.25rem;
}

/* ============================================================
   RELATED PAGES / ARTICLES
   ============================================================ */
.related-section {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--stone-20);
}
.related-kicker { margin-bottom: 1rem; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
}
.related-card {
  background: var(--parchment-95);
  border: 1px solid var(--stone-20);
  border-radius: 4px;
  padding: 1rem;
  transition: border-color var(--dur-fast), transform var(--dur-fast);
}
.related-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.related-card a {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--midnight);
  text-decoration: none;
  font-weight: 500;
}
.related-card a:hover { color: var(--bordeaux); }

/* ============================================================
   HOMEPAGE SECTIONS
   ============================================================ */
.section-intro {
  background: var(--parchment);
  padding: 5rem var(--gutter);
  text-align: center;
}
.section-intro-inner {
  max-width: var(--measure-article);
  margin: 0 auto;
}
.section-intro p {
  font-family: var(--ff-body);
  font-size: 1.15rem;
  color: var(--midnight);
  line-height: 1.8;
  margin-bottom: 0;
}

/* Guides grid */
.section-guides {
  background: var(--parchment-95);
  padding: 5rem var(--gutter);
}
.section-inner {
  max-width: var(--measure-wide);
  margin: 0 auto;
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.section-header h2 {
  border: none;
  margin: 0;
  padding: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}
.see-all {
  font-family: var(--ff-label);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bordeaux);
  text-decoration: none;
}
.see-all:hover { color: var(--gold); }

.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.guide-card {
  background: var(--parchment);
  border: 1px solid var(--stone-20);
  border-radius: 4px;
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast);
  position: relative;
}
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.guide-card-img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.guide-card-body { padding: 1rem; }
.guide-card-num {
  font-family: var(--ff-label);
  font-size: 5rem;
  color: var(--midnight);
  opacity: 0.06;
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  line-height: 1;
  pointer-events: none;
}
.guide-card-body a {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--midnight);
  text-decoration: none;
  display: block;
  margin-bottom: 0.4rem;
}
.guide-card-body a:hover { color: var(--bordeaux); }
.guide-card-body p {
  font-size: 0.85rem;
  color: var(--stone);
  margin: 0;
  line-height: 1.5;
}

/* Blog teaser */
.section-blog {
  background: var(--parchment);
  padding: 5rem var(--gutter);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}
.blog-card {
  background: var(--parchment-95);
  border: 1px solid var(--stone-20);
  border-radius: 4px;
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast);
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.10); }
.blog-card-img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.blog-card-body { padding: 1rem 1.25rem; }
.blog-card-tag {
  font-family: var(--ff-label);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  margin-bottom: 0.5rem;
  display: inline-block;
}
.tag-histoire             { background: var(--gold-20); color: var(--midnight); }
.tag-patrimoine-religieux { background: rgba(107,30,36,0.12); color: var(--bordeaux); }
.tag-archeologie          { background: rgba(61,79,46,0.15); color: var(--moss); }
.tag-tourisme-vienne      { background: rgba(139,115,85,0.18); color: var(--stone); }
.tag-legendes             { background: rgba(184,150,12,0.15); color: var(--midnight); }
.blog-card-body h3 {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.blog-card-body h3 a {
  color: var(--midnight);
  text-decoration: none;
}
.blog-card-body h3 a:hover { color: var(--bordeaux); }
.blog-card-body p {
  font-size: 0.85rem;
  color: var(--stone);
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Section immersive lanterne */
.section-lanterne {
  position: relative;
  padding: 7rem var(--gutter);
  overflow: hidden;
  background: var(--midnight);
  text-align: center;
}
.section-lanterne-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.section-lanterne-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.section-lanterne .kicker { color: var(--gold); margin-bottom: 1rem; }
.section-lanterne h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--ice);
  border: none;
  margin: 0 0 1.25rem;
  padding: 0;
}
.section-lanterne p {
  color: rgba(252,248,242,0.8);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ============================================================
   BLOG LISTING + FILTRE
   ============================================================ */
.blog-listing-page {
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 3rem var(--gutter) 5rem;
}
.blog-listing-header { margin-bottom: 2.5rem; }
.blog-listing-header h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 0.5rem; }
.blog-listing-header p { color: var(--stone); font-size: 1rem; }

.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-btn {
  font-family: var(--ff-label);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border: 1.5px solid var(--stone-20);
  background: transparent;
  color: var(--stone);
  border-radius: 2px;
  cursor: pointer;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.filter-btn:hover { border-color: var(--bordeaux); color: var(--bordeaux); }
.filter-btn.active { background: var(--bordeaux); color: #fff; border-color: var(--bordeaux); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--midnight);
  color: rgba(252,248,242,0.7);
  padding: 4rem var(--gutter) 2rem;
}
.footer-inner {
  max-width: var(--measure-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(139,115,85,0.2);
}
.footer-brand .logo-text {
  font-family: var(--ff-label);
  font-size: 1.1rem;
  color: var(--ice);
  text-decoration: none;
  display: block;
  margin-bottom: 0.75rem;
  letter-spacing: 0.08em;
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 0;
}
.footer-col h4 {
  font-family: var(--ff-label);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a {
  color: rgba(252,248,242,0.65);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--dur-fast);
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: var(--measure-wide);
  margin: 1.75rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-heritage {
  max-width: var(--measure-wide);
  margin: 2rem auto 0;
  font-size: 0.78rem;
  color: rgba(139,115,85,0.55);
  border-top: 1px solid rgba(139,115,85,0.15);
  padding-top: 1.25rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   SITEMAP PAGE
   ============================================================ */
.sitemap-page {
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 3rem var(--gutter) 5rem;
}
.sitemap-page h1 { margin-bottom: 2rem; font-size: 2.2rem; }
.sitemap-page section { margin-bottom: 2.5rem; }
.sitemap-page h2 { font-size: 1.4rem; margin-bottom: 1rem; }
.sitemap-page ul { list-style: none; padding: 0; }
.sitemap-page li { margin-bottom: 0.5rem; }
.sitemap-page a { color: var(--bordeaux); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem var(--gutter) 5rem;
}
.contact-page h1 { margin-bottom: 0.5rem; }
.contact-page > p { color: var(--stone); margin-bottom: 2rem; }
.contact-form label {
  display: block;
  font-family: var(--ff-label);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.35rem;
  margin-top: 1.25rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--parchment-95);
  border: 1px solid var(--stone-20);
  border-radius: 2px;
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--midnight);
  transition: border-color var(--dur-fast);
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--gold); }
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form button {
  margin-top: 1.5rem;
  font-family: var(--ff-label);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--bordeaux);
  color: #fff;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background var(--dur-fast);
}
.contact-form button:hover { background: var(--midnight); }

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem var(--gutter);
}
.error-page-inner { max-width: 500px; }
.error-code {
  font-family: var(--ff-label);
  font-size: 6rem;
  color: var(--stone-20);
  line-height: 1;
  margin-bottom: 1rem;
}
.error-page h1 { font-size: 2rem; margin-bottom: 0.75rem; }
.error-page p { color: var(--stone); margin-bottom: 1.5rem; }

/* ============================================================
   MENTIONS / CGU
   ============================================================ */
.legal-page {
  max-width: var(--measure-article);
  margin: 0 auto;
  padding: 4rem var(--gutter) 5rem;
}
.legal-page h1 { margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.3rem; }
.legal-page p { font-size: 0.95rem; }

/* ============================================================
   UTILITIES
   ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
.reveal { opacity: 0; transform: translateY(20px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }
.mb-2 { margin-bottom: 2rem; }
.gold { color: var(--gold); }
.bordeaux { color: var(--bordeaux); }
