/* ==========================================================
   Jeûne, Détox & Randonnée — Design System
   Refonte 11ty · mobile-first · zéro doublon
   ========================================================== */

/* ─── 1. CUSTOM PROPERTIES ─── */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --border: rgba(0, 0, 0, .10);

  --brand: #6F8F86;
  --brand-dark: #5F7E76;
  --brand-light: rgba(111, 143, 134, .14);
  --accent: #E8772A;
  --accent-dark: #D36A1F;
  --danger: #C97A7A;
  --success: #5a9a7a;
  --link: #2F6F66;

  --shadow: 0 12px 30px rgba(0, 0, 0, .06);
  --shadow-lg: 0 18px 46px rgba(0, 0, 0, .10);

  --radius: 14px;
  --radius-lg: 22px;

  --container: 1120px;
  --pad: clamp(16px, 3vw, 28px);

  --h1: clamp(32px, 4.4vw, 58px);
  --h2: clamp(22px, 2.4vw, 32px);
  --h3: clamp(18px, 1.6vw, 22px);
  --body: 17px;
  --lh: 1.65;

  --anchor-offset: 120px;
}

/* ─── 2. RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Segoe UI", Roboto, sans-serif;
  font-size: var(--body);
  line-height: var(--lh);
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── 3. LAYOUT ─── */
.container {
  width: min(var(--container), 100% - 2 * var(--pad));
  margin-inline: auto;
}
.section { padding: clamp(32px, 5vw, 64px) 0; }
.section--soft { background: var(--bg-soft); }

.grid { display: grid; gap: clamp(16px, 2.5vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* Split : deux colonnes asymétriques */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ─── 4. TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.h1 { font-size: var(--h1); }
.h2 { font-size: var(--h2); }
.h3 { font-size: var(--h3); }

.kicker {
  display: block;
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--brand);
}
.lead {
  color: var(--muted);
  max-width: 60ch;
  margin: 10px 0 0;
  font-size: clamp(16px, 1.1vw, 18px);
}
.inline-link {
  color: var(--link);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.inline-link:hover { opacity: .85; }

/* ─── 5. HEADER & NAVIGATION ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: .65rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 901px) {
  .site-header .wrap { justify-content: center; gap: 2rem; }
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  min-width: 0;
}
.brand:hover { text-decoration: none; }
.brand img { height: 72px; width: auto; }
@media (max-width: 520px) {
  .brand img { height: 56px; }
}

.site-nav { display: flex; align-items: center; gap: .25rem; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .75rem;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease;
}
.nav-link:hover {
  background: rgba(111, 143, 134, .12);
  border-color: rgba(111, 143, 134, .30);
  text-decoration: none;
}
.nav-link.is-active,
.nav-link[aria-current="page"] {
  background: rgba(111, 143, 134, .18);
  border-color: rgba(111, 143, 134, .50);
  color: #0f3b2a;
}
.home-icon { width: 18px; height: 18px; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  padding: .55rem .85rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .16);
  background: #fff;
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  user-select: none;
}
.nav-toggle svg { width: 18px; height: 18px; display: block; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-burger { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle:hover {
  border-color: rgba(111, 143, 134, .50);
  background: rgba(111, 143, 134, .08);
}

/* Nav CTA (bouton réserver) */
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: .5rem 1.1rem;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  font-weight: 650;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  transition: background .15s ease;
  text-decoration: none;
  margin-left: .5rem;
}
.nav-cta:hover {
  background: var(--brand-dark);
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    width: min(280px, 80vw);
    background: #fff;
    border-right: 1px solid rgba(111, 143, 134, .30);
    box-shadow: 0 0 60px rgba(0, 0, 0, .15);
    padding: 1.25rem;
    z-index: 999;
    overflow-y: auto;
    flex-direction: column;
    gap: .35rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav .nav-link {
    justify-content: flex-start;
    border-radius: var(--radius);
    padding: .75rem;
    width: 100%;
  }
  .site-nav .nav-cta {
    margin: .5rem 0 0;
    width: 100%;
    justify-content: center;
    padding: .75rem;
    font-size: 15px;
  }
  .nav-toggle { display: inline-flex; }
}

/* Nav overlay (mobile) */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .15);
  backdrop-filter: blur(2px);
  z-index: 998;
}

/* ─── 6. FOOTER ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: clamp(24px, 4vw, 40px) 0;
  color: var(--muted);
  font-size: 15px;
}
.footer a:hover { color: var(--text); }
.footer-phone {
  font-weight: 700;
  font-size: 16px;
  color: var(--brand-dark);
}
.footer-phone:hover { color: var(--brand); text-decoration: underline; }
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(0, 0, 0, .04);
  border-radius: 999px;
  font-weight: 600;
  transition: background .15s ease;
}
.footer-social:hover {
  background: rgba(0, 0, 0, .08);
  text-decoration: none;
}
.footer-social svg { flex-shrink: 0; }

/* ─── 7. BUTTONS ─── */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 650;
  font-size: 15px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(111, 143, 134, .20);
  transition: background .15s ease, transform .1s ease, box-shadow .15s ease;
}
.cta:hover {
  background: var(--brand-dark);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(111, 143, 134, .28);
}
.cta:active { transform: translateY(0); }
.cta:focus-visible {
  outline: 3px solid rgba(47, 111, 102, .4);
  outline-offset: 3px;
}
.cta--outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
  box-shadow: none;
}
.cta--outline:hover {
  background: var(--brand-light);
  color: var(--brand-dark);
  box-shadow: none;
  transform: none;
}
.cta--sm {
  padding: 10px 18px;
  font-size: 14px;
}
.cta--loading { opacity: .7; cursor: wait; }
.btn-loader[hidden], .btn-text[hidden] { display: none; }

/* ─── 8. CARDS ─── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 2.5vw, 28px);
  box-shadow: var(--shadow);
}
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
.card-link:focus-visible {
  outline: 3px solid rgba(47, 111, 102, .35);
  outline-offset: 4px;
  border-radius: var(--radius-lg);
}
.card-title { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.01em; }
.card-desc { margin: 0; color: var(--muted); line-height: 1.55; }

/* ─── 9. HERO SECTION ─── */
.hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 5vw, 56px);
}
.hero h1 { margin: 0 0 10px; }
.hero-subtitle {
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--muted);
  margin: 0 0 16px;
  max-width: 50ch;
  line-height: 1.5;
}
.hero .lead {
  font-size: clamp(16px, 1.2vw, 19px);
  margin: 0 0 20px;
  max-width: 50ch;
}
.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 24px;
  padding: 8px 16px;
  background: var(--bg-soft);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 900px) {
  .hero .split > :last-child { order: -1; }
}

/* ─── 10. STAGES ─── */
.stage-card {
  padding: 22px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.stage-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.stage-date {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  margin: 0 0 10px;
  font-weight: 600;
  font-size: 15px;
}
.stage-badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  color: #fff;
}
.stage-badge--soldout { background: var(--danger); }
.stage-badge--available { background: var(--brand); }
.stage-title { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.01em; }
.stage-summary { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.stage-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.stage-price {
  font-size: 18px;
  font-weight: 750;
  color: var(--brand-dark);
}
.stage-card[id] { scroll-margin-top: var(--anchor-offset); }

/* ─── 11. TESTIMONIALS ─── */
.temoignage-card {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.temoignage-text {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  font-style: italic;
}
.temoignage-stars {
  color: #e8a820;
  font-size: 16px;
  letter-spacing: 2px;
}
.temoignage-author {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.temoignage-context {
  font-weight: 400;
  color: var(--muted);
  font-size: 13px;
}
.testimonial-badge {
  display: inline-block;
  background: var(--brand-light);
  border: 1px solid rgba(111, 143, 134, .22);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 650;
}
.ratio {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
}
.ratio iframe, .ratio video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.testimonial-content { padding: 14px 4px 0; }
.video-title { margin: 0; color: var(--muted); font-weight: 650; font-size: 15px; }

/* ─── 12. CONTACT FORM ─── */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}
.contact-aside { display: flex; flex-direction: column; gap: 18px; }
.contact-form-card { padding: 28px; }
.contact-form-title { margin: 0 0 20px; font-size: 22px; font-weight: 700; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-weight: 650; font-size: 15px; }
.form-group .required { color: #c44; font-weight: 700; }
.form-group .optional { color: var(--muted); font-weight: 400; font-size: 13px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: var(--radius);
  font: inherit;
  font-size: 16px;
  background: #fff;
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); opacity: .7; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(47, 111, 102, .5);
  box-shadow: 0 0 0 4px rgba(111, 143, 134, .15);
}
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236e6e73' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-actions { margin-top: 8px; }
.cta-submit { width: 100%; }
.form-legal { margin: 8px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }

.contact-alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 18px;
}
.contact-alert--success {
  background: rgba(47, 111, 102, .1);
  border: 1px solid rgba(47, 111, 102, .25);
  color: #1a5a4a;
}
.contact-alert--error {
  background: rgba(180, 60, 60, .1);
  border: 1px solid rgba(180, 60, 60, .25);
  color: #8b2020;
}

.contact-info-card { padding: 24px; }
.contact-info-title { margin: 0 0 18px; font-size: 18px; font-weight: 700; }
.contact-info-item { margin-bottom: 16px; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-info-value { font-size: 15px; font-weight: 600; font-style: normal; }
.contact-info-link { color: var(--link); }
.contact-info-link:hover { text-decoration: underline; }
.contact-links-card { padding: 20px 24px; background: var(--bg-soft); }
.contact-links-title { margin: 0 0 12px; font-size: 15px; font-weight: 700; color: var(--muted); }
.contact-links-list { list-style: none; margin: 0; padding: 0; }
.contact-links-list li { padding: 8px 0; border-top: 1px solid rgba(0, 0, 0, .06); }
.contact-links-list li:first-child { border-top: none; padding-top: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

/* ─── 13. PAGES & ARTICLES ─── */
.page-hero { padding: clamp(24px, 4vw, 40px) 0 18px; }
.page-title { margin: 6px 0 10px; }
.page-sub { margin: 0; max-width: none; }

.post-wrap { max-width: 800px; }
.post-title { margin: 0 0 10px; font-size: clamp(28px, 3vw, 40px); }
.post-desc { margin: 0 0 20px; color: var(--muted); max-width: 80ch; }
.post-content { line-height: 1.78; font-size: 16.5px; }
.post-content h2 { margin: 36px 0 14px; font-size: 22px; }
.post-content h3 { margin: 28px 0 10px; font-size: 18px; }
.post-content p { margin: 0 0 16px; }
.post-content ul, .post-content ol { margin: 0 0 16px 22px; }
.post-content li { margin-bottom: 4px; }
.post-content a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.post-content img { border-radius: var(--radius); margin: 22px 0; }
.post-content blockquote {
  margin: 22px 0;
  padding: 18px 22px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, .06);
  color: var(--muted);
}
.post-content h2[id],
.post-content h3[id],
.post-content [id] {
  scroll-margin-top: var(--anchor-offset);
}

/* Table des matières */
.post-content .sommaire {
  background: var(--bg-soft);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 18px;
  padding: 20px;
  margin: 22px 0 28px;
}
.post-content .sommaire h2 {
  font-size: 13px;
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.post-content .sommaire ul { list-style: none; padding: 0; margin: 0; }
.post-content .sommaire li { padding: 10px 0; border-top: 1px solid rgba(0, 0, 0, .06); }
.post-content .sommaire li:first-child { border-top: none; }
.post-content .sommaire li.toc-sub { padding-left: 14px; }
.post-content .sommaire a { display: block; font-weight: 650; color: var(--text); text-decoration: none; }
.post-content .sommaire a:hover { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }

/* Post CTA block */
.post-cta {
  margin-top: 40px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(111, 143, 134, .08), rgba(111, 143, 134, .03));
  border: 1px solid rgba(111, 143, 134, .18);
  border-radius: var(--radius-lg);
  text-align: center;
}
.post-cta__title { margin: 0 0 10px; font-size: 22px; }
.post-cta__text { margin: 0 0 20px; color: var(--muted); max-width: 50ch; margin-inline: auto; }
.post-cta .hero-actions { justify-content: center; }

/* ─── 14. BREADCRUMBS ─── */
.breadcrumb { margin-bottom: 18px; }
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: var(--muted);
}
.breadcrumb-item { display: flex; align-items: center; gap: 6px; }
.breadcrumb-item:not(:last-child)::after { content: "\203A"; opacity: .6; }
.breadcrumb-item a { color: var(--muted); }
.breadcrumb-item a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumb-item[aria-current="page"] { color: var(--text); font-weight: 600; }

/* ─── 15. FFJR ─── */
.ffjr-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: center;
  background: var(--bg-soft);
  border-color: rgba(0, 0, 0, .06);
  border-radius: 28px;
}
@media (max-width: 900px) {
  .ffjr-card { grid-template-columns: 1fr; text-align: center; }
}
.ffjr-logo { width: 120px; height: 120px; object-fit: contain; margin: auto; }
.ffjr-title { margin: 0 0 8px; font-size: 20px; }
.ffjr-text { margin: 0; color: var(--muted); }
.ffjr-link { color: var(--link); font-weight: 650; }
.ffjr-link:hover { text-decoration: underline; }

/* ─── 16. BROCHURE ─── */
.brochure-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, rgba(111, 143, 134, .08), rgba(111, 143, 134, .03));
  border: 1px solid rgba(111, 143, 134, .18);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}
.brochure-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(111, 143, 134, .12);
  border-radius: var(--radius);
  color: var(--brand);
}
.brochure-content { flex: 1; min-width: 0; }
.brochure-title { margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.brochure-desc { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 700px) {
  .brochure-card { flex-direction: column; text-align: center; padding: 20px; }
  .brochure-card .cta { width: 100%; justify-content: center; }
}

/* ─── 17. HÉBERGEMENT ─── */
.heb-hero {
  position: relative;
  min-height: min(70vh, 600px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #1a2e28;
}
.heb-hero__media { position: absolute; inset: 0; }
.heb-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
.heb-hero__img.is-active { opacity: 1; }
.heb-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .65) 0%, transparent 60%);
  pointer-events: none;
}
.heb-hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-bottom: clamp(32px, 5vw, 56px);
  padding-top: 48px;
}
.heb-kicker {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .8;
  margin: 0 0 12px;
}
.heb-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 750;
  margin: 0 0 14px;
  max-width: 20ch;
}
.heb-subtitle {
  font-size: clamp(15px, 1.2vw, 18px);
  max-width: 50ch;
  opacity: .9;
  margin: 0 0 20px;
  line-height: 1.6;
}
.heb-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.heb-badge {
  padding: 6px 14px;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
}
.heb-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.heb-section { padding: clamp(32px, 5vw, 56px) 0; }
.heb-section--soft { background: var(--bg-soft); }
.heb-h2 { font-size: var(--h2); margin: 0 0 10px; }
.heb-h3 { font-size: 20px; margin: 0 0 8px; font-weight: 700; }
.heb-lead { color: var(--muted); max-width: 60ch; margin: 0 0 28px; }
.heb-text { color: var(--muted); line-height: 1.6; margin: 0 0 14px; }

.heb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .heb-grid { grid-template-columns: 1fr; } }

.heb-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.heb-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.heb-card__body { padding: 20px; }
.heb-list { margin: 0; padding: 0 0 0 20px; color: var(--muted); line-height: 1.7; }
.heb-note {
  margin-top: 28px;
  padding: 18px 22px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border-left: 4px solid var(--brand);
}
.heb-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) { .heb-bottom { grid-template-columns: 1fr; } }
.heb-bullets { padding: 0 0 0 20px; line-height: 1.8; }
.heb-ctaBox {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.heb-ctaBox__title { margin: 0 0 8px; font-size: 20px; font-weight: 700; }
.heb-ctaBox__text { margin: 0 0 18px; color: var(--muted); }
.heb-faq h3 { margin-top: 24px; }
.heb-faq p { color: var(--muted); margin: 0 0 14px; }

/* ─── 18. CTA SECTION ─── */
.cta-section {
  background: linear-gradient(135deg, rgba(111, 143, 134, .06), rgba(111, 143, 134, .02));
  border-top: 1px solid rgba(111, 143, 134, .12);
  border-bottom: 1px solid rgba(111, 143, 134, .12);
}

/* ─── 19. CONTENT PAGES (legal) ─── */
.content h2 { margin: 32px 0 14px; }
.content h3 { margin: 24px 0 10px; }
.content p { margin: 0 0 14px; max-width: 75ch; }
.content ul, .content ol { margin: 0 0 16px; padding-left: 24px; line-height: 1.7; }
.content li { margin-bottom: 6px; }
.content a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.content-list { padding-left: 24px; line-height: 1.8; }
.content-list li { margin-bottom: 10px; }

/* ─── 20. PAGINATION ─── */
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-size: 15px;
}
.pagination__info { color: var(--muted); }

/* ─── 21. TIMELINE (journée type) ─── */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--brand-light);
}
.timeline-item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .05);
  position: relative;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: var(--brand);
  border-radius: 50%;
  border: 2px solid #fff;
}
.timeline-item:last-child { border-bottom: none; }
.timeline-hour {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 750;
  color: var(--brand-dark);
  min-width: 44px;
}
.timeline-item p { margin: 0; color: var(--muted); font-size: 15px; }

/* ─── 22. FAQ ─── */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-weight: 650;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 12px;
  transition: transform .2s ease;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

/* ─── 23. CAPTURE EMAIL (sidebar box) ─── */
.capture-box {
  align-self: center;
  background: linear-gradient(135deg, rgba(111, 143, 134, .10), rgba(111, 143, 134, .04));
  border: 1px solid rgba(111, 143, 134, .18);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.capture-box__title {
  font-size: 1.25rem;
  margin: 0 0 10px;
}
.capture-box__text {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 18px;
}
.capture-form { margin-top: 8px; }
.capture-input {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  background: #fff;
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.capture-input:focus {
  outline: none;
  border-color: rgba(47, 111, 102, .5);
  box-shadow: 0 0 0 4px rgba(111, 143, 134, .15);
}
.capture-legal {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

/* ─── 24. CHECK / CROSS LISTS ─── */
.check-list, .cross-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  line-height: 1.8;
  color: var(--muted);
}
.check-list li, .cross-list li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 4px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}
.cross-list li::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: var(--danger);
  font-weight: 700;
}

/* ─── 25. SR-ONLY ─── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── 26. COOKIE BANNER ─── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  padding: 16px 24px;
  background: var(--text);
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .15);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__text { margin: 0; }
.cookie-banner__text a { color: #fff; text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-banner__actions .cta--outline { color: #fff; border-color: rgba(255, 255, 255, .4); }
.cookie-banner__actions .cta--outline:hover { border-color: #fff; }

/* ─── 27. PRINT ─── */
@media print {
  .site-header, .footer, .nav-toggle, .nav-overlay, .capture-box, .cookie-banner { display: none !important; }
  body { font-size: 12pt; }
  .container { max-width: 100%; }
  .cta { border: 1px solid #000; color: #000; background: none; box-shadow: none; }
}
