/* ── Honeypot field (hidden from humans, visible to bots) ──
   Do NOT use display:none — bots skip those.
   CSS off-screen positioning is harder to detect. */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Mobile nav overlay */
.nav-mobile { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--sand-50); border-bottom: 1px solid var(--border-subtle); padding: 16px 24px 20px; flex-direction: column; gap: 4px; z-index: 200; box-shadow: var(--shadow-md); }
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 15px; font-weight: 500; color: var(--fg2); padding: 10px 0; border-bottom: 1px solid var(--border-subtle); display: block; }
.nav-mobile a:last-child { border-bottom: 0; }
/* Highlight CTA links inside mobile menu */
.nav-mobile .nav-mobile-cta {
  margin-top: 8px;
  padding: 12px 0;
  font-weight: 600;
  color: var(--forest-800);
  border-bottom: 0;
}
.nav-hamburger { display: none; background: none; border: 1px solid var(--border-strong); border-radius: 6px; cursor: pointer; padding: 8px 10px; color: var(--fg1); align-items: center; justify-content: center; }

@media (max-width: 960px) {
  .nav-hamburger { display: flex; }
  /* Hide items that overflow on small screens — they live in the burger menu */
  .nav-lang { display: none !important; }
  .nav-right .btn-ghost { display: none !important; }
  /* Make the Rejoindre button more compact so it doesn't crowd the hamburger */
  .nav-right .btn-primary {
    padding: 9px 14px;
    font-size: 13px;
  }
}

/* Form submit full width helper */
.btn-full { width: 100%; justify-content: center; }

/* Serif italic helper */
.serif-it { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

/* Page hero layout (shared) */
.page-hero { padding: 64px 0 48px; border-bottom: 1px solid var(--border-subtle); }
.page-hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: end; }
.page-hero-copy .eyebrow { display: inline-block; margin-bottom: 20px; }
.page-hero-copy .display { margin: 0 0 24px; }
.page-hero-copy p { font-size: 18px; line-height: 1.55; color: var(--fg2); margin: 0; max-width: 520px; }
.crumbs { display: flex; gap: 10px; font-size: 12px; color: var(--fg3); font-family: var(--font-mono); letter-spacing: 0.04em; margin-bottom: 32px; text-transform: uppercase; align-items: center; }
.crumbs a { color: var(--fg2); }
.crumbs a:hover { color: var(--fg1); }
.crumbs .sep { color: var(--border-strong); }

@media (max-width: 900px) {
  .page-hero { padding: 40px 0 32px; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .page-hero-copy .display { font-size: clamp(40px, 7vw, 56px); }
}

/* ================================================================
   COOKIE CONSENT BANNER
   ================================================================ */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--forest-900);
  border-top: 1px solid var(--forest-700);
  padding: 16px 0;
  box-shadow: 0 -6px 24px rgba(15, 26, 18, 0.35);
  animation: cb-up 0.3s var(--ease-out) both;
}
#cookie-banner.cb-hide {
  animation: cb-down 0.25s ease-in forwards;
}
@keyframes cb-up   { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes cb-down { from { transform: translateY(0);    } to { transform: translateY(110%); } }

.cb-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.cb-text { flex: 1; min-width: 260px; }
.cb-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--sand-50);
  margin-bottom: 4px;
}
.cb-text p {
  font-size: 13px;
  color: var(--forest-200);
  margin: 0;
  line-height: 1.55;
}
.cb-text a {
  color: var(--amber-300);
  text-decoration: underline;
}
.cb-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .cb-inner    { padding: 0 20px; gap: 16px; }
  .cb-actions  { width: 100%; }
  .cb-actions .btn { flex: 1; justify-content: center; }
}
