/* ==========================================================================
   ma-loc.fr — Design System "Granit et Émeraude"
   ==========================================================================
   Aesthetic: Guide de destination côtier — Bretagne, marées, remparts.
   National Geographic maritime meets magazine éditorial français.

   Fonts: Playfair Display (titres) + Source Sans 3 (corps) + Cormorant Garamond (citations)
   Palette: Marine, Émeraude, Sable, Granit, Écume, Ardoise
   ========================================================================== */

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

/* ---------- 1. 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%; }

/* ---------- 2. CUSTOM PROPERTIES ---------- */
:root {
  /* --- Palette Granit et Émeraude --- */
  --marine:    #1A2744;
  --emeraude:  #2E6B5E;
  --sable:     #C8A96E;
  --granit:    #F2EFE9;
  --ecume:     #FFFFFF;
  --ardoise:   #4A5568;

  --marine-90: rgba(26, 39, 68, .90);
  --marine-70: rgba(26, 39, 68, .70);
  --marine-40: rgba(26, 39, 68, .40);
  --marine-10: rgba(26, 39, 68, .10);
  --emeraude-15: rgba(46, 107, 94, .15);
  --sable-20:  rgba(200, 169, 110, .20);

  /* --- Backgrounds --- */
  --bg:        #F2EFE9;
  --bg-alt:    #1A2744;
  --bg-card:   #FFFFFF;

  /* --- Text --- */
  --text:      #1A2744;
  --text-light:#4A5568;
  --text-white:#F2EFE9;

  /* --- Borders --- */
  --border:       #D8D3C8;
  --border-hover: #C0BAB0;

  /* --- Shadows --- */
  --shadow-sm:   0 1px 3px rgba(26,39,68,.06), 0 1px 2px rgba(26,39,68,.04);
  --shadow-md:   0 3px 8px rgba(26,39,68,.08), 0 1px 3px rgba(26,39,68,.05);
  --shadow-lg:   0 8px 24px rgba(26,39,68,.10), 0 2px 6px rgba(26,39,68,.06);
  --shadow-card: 0 2px 12px rgba(26,39,68,.07), 0 0 0 1px rgba(26,39,68,.04);

  /* --- Typography --- */
  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'Source Sans 3', system-ui, sans-serif;
  --ff-quote:   'Cormorant Garamond', Georgia, serif;

  /* --- Spacing --- */
  --sp-xs: .5rem;
  --sp-sm: 1rem;
  --sp-md: 2rem;
  --sp-lg: 4rem;
  --sp-xl: 6rem;

  /* --- Radius --- */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 20px;

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

  /* --- Transitions --- */
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast:  200ms;
  --dur:       400ms;
  --dur-slow:  600ms;
}

/* ---------- 3. TYPOGRAPHIE GLOBALE ---------- */
body {
  font-family: var(--ff-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
}

h1, h2, h3, h4 { font-family: var(--ff-display); line-height: 1.2; font-weight: 700; color: var(--marine); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1.25rem; color: var(--text); }
p:last-child { margin-bottom: 0; }

strong { color: var(--marine); }

/* ---------- 4. ANTI-DISTORSION IMAGES (RÈGLE OBLIGATOIRE) ---------- */
.img-hero {
  aspect-ratio: 16/9;
  overflow: hidden;
  width: 100%;
}
.img-hero img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}

.img-card {
  aspect-ratio: 3/2;
  overflow: hidden;
  width: 100%;
}
.img-card img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}

.img-body {
  aspect-ratio: 3/2;
  overflow: hidden;
  width: 100%;
  border-radius: var(--r-md);
}
.img-body img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}

.img-portrait {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 50%;
  width: 80px; height: 80px;
}
.img-portrait img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}

/* ---------- 5. LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

section { padding: var(--sp-xl) 0; }

/* ---------- 6. SIGNATURE VISUELLE — VAGUE SVG ANIMÉE ---------- */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  display: block;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
}
@keyframes wave-drift {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(-3%); }
  100% { transform: translateX(0); }
}
.wave-path {
  animation: wave-drift 8s ease-in-out infinite;
  transform-origin: center;
}

/* ---------- 7. SIGNATURE VISUELLE — KICKERS "MARÉE" ---------- */
.kicker {
  display: block;
  font-family: var(--ff-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--emeraude);
  margin-bottom: 1rem;
}
.kicker::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--sable);
  vertical-align: middle;
  margin-right: .75rem;
}

/* ---------- 8. SIGNATURE VISUELLE — FILET H2 ---------- */
.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: var(--sp-md);
}
.section-title::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: var(--sable);
  margin-top: .4rem;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.section-title.visible::after,
.section-title:hover::after {
  transform: scaleX(1);
}

/* ---------- 9. SIGNATURE VISUELLE — PULL QUOTES ---------- */
.pull-quote {
  font-family: var(--ff-quote);
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: var(--marine);
  border-left: 3px solid var(--sable);
  padding: 1rem 1.5rem;
  margin: var(--sp-md) 0;
  background: var(--sable-20);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

/* ---------- 10. LETTRINE ---------- */
.article-body > p:first-of-type::first-letter {
  font-family: var(--ff-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--emeraude);
  float: left;
  line-height: 0.8;
  margin: 0.1em 0.1em 0 0;
}

/* ---------- 11. FADE-IN AU SCROLL ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 12. HEADER / NAV ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.scrolled {
  background: var(--marine);
  box-shadow: 0 2px 20px rgba(26,39,68,.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--gutter);
  max-width: var(--measure-hero);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--ecume);
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
}
.nav-logo svg { flex-shrink: 0; }

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

.nav-item { position: relative; }

.nav-link {
  font-family: var(--ff-body);
  font-size: .875rem;
  font-weight: 600;
  color: rgba(242,239,233,.9);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .35rem 0;
  cursor: pointer;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: .3rem;
  transition: color var(--dur-fast);
}
.nav-link:hover { color: var(--sable); }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--marine);
  border: 1px solid rgba(200,169,110,.25);
  border-radius: var(--r-md);
  min-width: 200px;
  padding: .75rem 0 .5rem;
  margin-top: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  box-shadow: var(--shadow-lg);
}
/* Pont invisible pour éviter que la souris "quitte" nav-item entre le bouton et le dropdown */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-item:hover .nav-dropdown,
.nav-item.open .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: .55rem 1.25rem;
  color: rgba(242,239,233,.85);
  font-size: .875rem;
  transition: color var(--dur-fast), background var(--dur-fast);
}
.nav-dropdown a:hover {
  color: var(--sable);
  background: rgba(200,169,110,.1);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .5rem;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ecume);
  border-radius: 2px;
  transition: transform var(--dur-fast), opacity var(--dur-fast);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--marine);
  padding: 1rem var(--gutter);
  border-top: 1px solid rgba(200,169,110,.2);
}
.nav-mobile.open { display: flex; }
.nav-mobile a, .nav-mobile button {
  color: rgba(242,239,233,.9);
  font-size: 1rem;
  font-weight: 600;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(200,169,110,.1);
  background: none;
  border-left: none; border-right: none; border-top: none;
  text-align: left;
  cursor: pointer;
  transition: color var(--dur-fast);
}
.nav-mobile a:hover, .nav-mobile button:hover { color: var(--sable); }

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

/* ---------- 13. HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--marine);
}

.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--marine-90) 0%, rgba(26,39,68,.5) 45%, transparent 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: var(--sp-xl) var(--gutter);
  max-width: var(--measure-hero);
  margin: 0 auto;
  width: 100%;
  padding-bottom: clamp(3rem, 8vh, 6rem);
}

.hero__kicker {
  font-family: var(--ff-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sable);
  margin-bottom: 1.25rem;
  display: block;
}

.hero__h1 {
  font-family: var(--ff-display);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--ecume);
  max-width: 800px;
  margin-bottom: var(--sp-md);
  line-height: 1.1;
}

.hero__sub {
  font-family: var(--ff-body);
  font-size: 1.1rem;
  color: rgba(242,239,233,.85);
  max-width: 560px;
  margin-bottom: var(--sp-md);
  line-height: 1.6;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(242,239,233,.6);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 2;
}
.hero__scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 32px;
  background: rgba(200,169,110,.6);
  animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: scaleY(1); opacity: .6; }
  50% { transform: scaleY(1.4); opacity: 1; }
}

/* Hero article (mode non-home) */
.hero-article {
  background: var(--marine);
  padding: calc(80px + var(--sp-lg)) var(--gutter) var(--sp-lg);
  position: relative;
  overflow: hidden;
}
.hero-article::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--marine) 60%, var(--emeraude) 100%);
  opacity: .7;
}
.hero-article__content {
  position: relative;
  z-index: 1;
  max-width: var(--measure-article);
  margin: 0 auto;
}
.hero-article__breadcrumb {
  font-size: .8rem;
  color: rgba(242,239,233,.6);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.hero-article__breadcrumb a { color: var(--sable); }
.hero-article__breadcrumb a:hover { color: var(--ecume); }
.hero-article__h1 {
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--ecume);
  margin-bottom: 1rem;
}
.hero-article__meta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  color: rgba(242,239,233,.7);
  font-size: .875rem;
}
.hero-article__cat {
  background: var(--sable);
  color: var(--marine);
  padding: .2rem .6rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ---------- 14. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.75rem;
  border-radius: var(--r-md);
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--sable);
  color: var(--marine);
  border-color: var(--sable);
}
.btn-primary:hover { background: #b8955a; border-color: #b8955a; }

.btn-outline {
  background: transparent;
  color: var(--ecume);
  border-color: rgba(242,239,233,.6);
}
.btn-outline:hover { background: rgba(242,239,233,.1); border-color: var(--ecume); }

.btn-emeraude {
  background: var(--emeraude);
  color: var(--ecume);
  border-color: var(--emeraude);
}
.btn-emeraude:hover { background: #245449; border-color: #245449; }

/* ---------- 15. CARDS BLOG ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-md);
}

.blog-card {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card__cat {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--emeraude);
  margin-bottom: .5rem;
}
.blog-card__title {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--marine);
  margin-bottom: .5rem;
  line-height: 1.3;
}
.blog-card__excerpt {
  font-size: .875rem;
  color: var(--text-light);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 1rem;
}
.blog-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: var(--text-light);
}
.blog-card__read {
  color: var(--emeraude);
  font-weight: 600;
  font-size: .8rem;
}

/* ---------- 16. CARDS GUIDES PILIERS ---------- */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.guides-grid .guide-card:nth-child(5) { grid-column: span 2; }

@media (max-width: 900px) {
  .guides-grid { grid-template-columns: repeat(2, 1fr); }
  .guides-grid .guide-card:nth-child(5) { grid-column: auto; }
}
@media (max-width: 580px) {
  .guides-grid { grid-template-columns: 1fr; }
}

.guide-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  transition: transform var(--dur-fast) var(--ease);
  background: var(--marine);
}
.guide-card:hover { transform: translateY(-3px); }
.guide-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur) var(--ease);
}
.guide-card:hover img { transform: scale(1.04); }
.guide-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--marine-90) 0%, transparent 60%);
}
.guide-card__body {
  position: relative;
  z-index: 1;
  padding: 1.25rem;
}
.guide-card__cat {
  font-size: .7rem;
  color: var(--sable);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  margin-bottom: .35rem;
}
.guide-card__title {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--ecume);
  line-height: 1.2;
}

/* ---------- 17. CATEGORY FILTER BUTTONS ---------- */
.filter-bar {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: var(--sp-md);
}
.filter-btn {
  padding: .4rem .9rem;
  border-radius: var(--r-xl);
  border: 1.5px solid var(--border);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-light);
  background: var(--bg-card);
  cursor: pointer;
  transition: all var(--dur-fast);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--marine);
  color: var(--ecume);
  border-color: var(--marine);
}

/* ---------- 18. TOC (Table des matières) ---------- */
.toc {
  background: var(--marine-10);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.25rem;
  margin-bottom: var(--sp-md);
}
.toc__title {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--marine);
  margin-bottom: .75rem;
}
.toc ol {
  list-style: decimal;
  padding-left: 1.25rem;
}
.toc li { margin-bottom: .35rem; }
.toc a {
  font-size: .9rem;
  color: var(--emeraude);
  transition: color var(--dur-fast);
}
.toc a:hover { color: var(--marine); }

/* ---------- 19. ARTICLE BODY ---------- */
.article-summary {
  font-family: var(--ff-quote);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ardoise);
  border-left: 3px solid var(--sable);
  padding: 1rem 1.5rem;
  margin-bottom: var(--sp-md);
  background: var(--sable-20);
}

.article-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--sable);
}
.article-body h3 {
  margin-top: 2rem;
  margin-bottom: .75rem;
}
.article-body ul, .article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: .5rem; }
.article-body blockquote {
  font-family: var(--ff-quote);
  font-style: italic;
  border-left: 3px solid var(--sable);
  padding: .75rem 1.25rem;
  margin: 1.5rem 0;
  color: var(--ardoise);
}
.article-body a {
  color: var(--emeraude);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-body a:hover { color: var(--marine); }
.article-body .img-body { margin: 2rem 0; }
.article-body figure figcaption {
  font-size: .825rem;
  color: var(--text-light);
  text-align: center;
  margin-top: .5rem;
  font-style: italic;
}

/* ---------- 20. FAQ ACCORDÉON ---------- */
.faq-section {
  margin-top: var(--sp-lg);
}
.faq-title {
  font-family: var(--ff-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--marine);
  margin-bottom: var(--sp-sm);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--marine);
  cursor: pointer;
  text-align: left;
  transition: color var(--dur-fast);
}
.faq-question:hover { color: var(--emeraude); }
.faq-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  color: var(--sable);
  transition: transform var(--dur-fast);
  font-weight: 300;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur) var(--ease);
}
.faq-item.open .faq-answer { max-height: 800px; }
.faq-answer-inner {
  padding: 0 0 1.25rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---------- 21. RELATED ARTICLES ---------- */
.related-section {
  background: var(--marine-10);
  border-radius: var(--r-lg);
  padding: var(--sp-md);
  margin-top: var(--sp-lg);
}
.related-section h3 {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--marine);
  margin-bottom: 1rem;
}
.related-links {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.related-links a {
  color: var(--emeraude);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.related-links a:hover { color: var(--marine); }

/* ---------- 22. FOOTER ---------- */
.site-footer {
  background: var(--marine);
  color: rgba(242,239,233,.8);
  padding-top: 0;
  padding-bottom: var(--sp-lg);
}
.footer-wave {
  width: 100%;
  line-height: 0;
  display: block;
  margin-bottom: var(--sp-md);
}
.footer-wave svg { display: block; width: 100%; height: auto; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-md);
  padding: 0 var(--gutter);
  max-width: var(--measure-wide);
  margin: 0 auto;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand p {
  font-size: .875rem;
  color: rgba(242,239,233,.6);
  margin-bottom: 0;
  margin-top: .5rem;
}

.footer-col h4 {
  font-family: var(--ff-display);
  font-size: .875rem;
  font-weight: 700;
  color: var(--sable);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: .4rem; }
.footer-col a {
  font-size: .875rem;
  color: rgba(242,239,233,.7);
  transition: color var(--dur-fast);
}
.footer-col a:hover { color: var(--sable); }

.footer-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--ecume);
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.footer-bottom {
  max-width: var(--measure-wide);
  margin: var(--sp-md) auto 0;
  padding: var(--sp-sm) var(--gutter) 0;
  border-top: 1px solid rgba(200,169,110,.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: .8rem;
  color: rgba(242,239,233,.45);
  margin: 0;
}

/* ---------- 23. SECTIONS HOMEPAGE ---------- */
.section-intro {
  background: var(--granit);
  padding: var(--sp-xl) var(--gutter);
}
.section-intro .container { text-align: center; max-width: 680px; }

.section-guides {
  background: var(--marine);
  padding: var(--sp-xl) var(--gutter);
}
.section-guides .kicker { color: var(--sable); }
.section-guides .section-title { color: var(--ecume); }
.section-guides .section-title::after { background: var(--sable); }

.section-blog {
  background: var(--granit);
  padding: var(--sp-xl) var(--gutter);
}

.section-immersive {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--marine);
  text-align: center;
  padding: var(--sp-xl) var(--gutter);
}
.section-immersive__bg {
  position: absolute;
  inset: 0;
}
.section-immersive__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .35;
}
.section-immersive__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.section-immersive blockquote {
  font-family: var(--ff-quote);
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 300;
  color: var(--ecume);
  margin-bottom: var(--sp-md);
  line-height: 1.4;
}

/* ---------- 24. BREADCRUMB ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: rgba(242,239,233,.6);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--sable); }
.breadcrumb a:hover { color: var(--ecume); }
.breadcrumb span { color: rgba(242,239,233,.4); }

/* ---------- 25. PAGES THÉMATIQUES INDEX ---------- */
.theme-header {
  background: var(--marine);
  padding: calc(80px + var(--sp-md)) var(--gutter) var(--sp-md);
}
.theme-header h1 {
  color: var(--ecume);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: .5rem;
}
.theme-header p {
  color: rgba(242,239,233,.75);
  max-width: 560px;
}

/* ---------- 26. BLOC ÉDITORIAL THÉMATIQUE ---------- */
.theme-intro {
  background: var(--ecume);
  padding: var(--sp-lg) 0;
}
.theme-editorial {
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.8;
  color: var(--marine);
}
.theme-editorial h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--marine);
  margin: 2rem 0 .75rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--emeraude);
}
.theme-editorial h2:first-child { margin-top: 0; }
.theme-editorial h3 {
  font-size: 1.1rem;
  color: var(--marine);
  margin: 1.5rem 0 .5rem;
}
.theme-editorial p {
  margin-bottom: 1.1rem;
  font-size: .97rem;
}
.theme-editorial ul {
  margin: .75rem 0 1.1rem 1.5rem;
}
.theme-editorial li { margin-bottom: .4rem; }
.theme-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .9rem;
}
.theme-table th {
  background: var(--marine);
  color: var(--ecume);
  padding: .5rem .75rem;
  text-align: left;
}
.theme-table td {
  padding: .45rem .75rem;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.theme-table tr:nth-child(even) td { background: rgba(0,0,0,.03); }

/* ---------- 26b. PAGE PLAN DU SITE ---------- */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--sp-md);
  margin-top: var(--sp-md);
}
.sitemap-group h3 {
  font-size: 1rem;
  color: var(--marine);
  border-bottom: 2px solid var(--sable);
  padding-bottom: .4rem;
  margin-bottom: .75rem;
}
.sitemap-group ul { list-style: none; }
.sitemap-group li { margin-bottom: .4rem; }
.sitemap-group a {
  font-size: .875rem;
  color: var(--emeraude);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sitemap-group a:hover { color: var(--marine); }

/* ---------- 27. UTILITIES ---------- */
.text-center { text-align: center; }
.text-sable  { color: var(--sable); }
.text-marine { color: var(--marine); }
.text-ecume  { color: var(--ecume); }
.mb-sm { margin-bottom: var(--sp-sm); }
.mb-md { margin-bottom: var(--sp-md); }
.mb-lg { margin-bottom: var(--sp-lg); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.lettrine { float: left; font-size: 3.5rem; line-height: 1; font-family: var(--font-serif); color: var(--marine); margin: 0 .5rem .1rem 0; font-weight: 700; }

/* ---------- 28. RESPONSIVE GENERAL ---------- */
@media (max-width: 768px) {
  section { padding: var(--sp-lg) 0; }
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .btn { padding: .7rem 1.25rem; font-size: .85rem; }
}
