/* Groupe gauche de l'en-tête : bouton menu + logo */
.nav-left { display: flex; align-items: center; gap: 14px; }

/* Menu hamburger + tiroir latéral, partagé par toutes les pages */
.menu-btn {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(20,18,16,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid #2a2620;
  border-radius: 12px;
  color: #f3efe6;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.menu-btn:hover { border-color: #b9791f; }
.menu-btn:focus-visible { outline: 2px solid #e8a93a; outline-offset: 2px; }
.menu-btn .bars { position: relative; width: 20px; height: 2px; background: currentColor; border-radius: 2px; }
.menu-btn .bars::before, .menu-btn .bars::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
}
.menu-btn .bars::before { top: -6px; }
.menu-btn .bars::after { top: 6px; }

.drawer-backdrop {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(0,0,0,0.55);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 80;
  width: min(300px, 84vw);
  background: #141210;
  border-right: 1px solid #2a2620;
  padding: calc(22px + env(safe-area-inset-top, 0px)) 22px calc(22px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 0.28s cubic-bezier(.2,.8,.2,1), visibility 0.28s;
  display: flex; flex-direction: column;
  font-family: 'Inter', system-ui, sans-serif;
}
body.drawer-open .drawer { transform: translateX(0); visibility: visible; }
body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
body.drawer-open { overflow: hidden; }

.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.drawer-head a { display: flex; align-items: center; gap: 10px; color: #f3efe6; text-decoration: none; }
.drawer-head img { height: 26px; width: auto; }
.drawer-head span { font-family: 'Archivo Black', sans-serif; font-size: 17px; }
.drawer-close {
  width: 38px; height: 38px; border-radius: 10px;
  background: transparent; border: 1px solid #2a2620; color: #f3efe6;
  font-size: 22px; line-height: 1; cursor: pointer;
}
.drawer-close:hover { border-color: #b9791f; }
.drawer-close:focus-visible, .drawer nav a:focus-visible { outline: 2px solid #e8a93a; outline-offset: 2px; }
.drawer nav { display: flex; flex-direction: column; gap: 4px; padding: 0; }
.drawer nav a {
  color: #f3efe6; text-decoration: none; font-weight: 600; font-size: 1.02rem;
  padding: 14px 14px; border-radius: 12px;
  transition: background 0.15s ease, color 0.15s ease;
}
.drawer nav a:hover { background: #1e1a15; color: #e8a93a; }
.drawer nav a[aria-current="page"] { color: #e8a93a; background: #1e1a15; }
.drawer-foot { margin-top: auto; font-size: 0.8rem; color: #756e62; }
.drawer-foot a { color: #a8a196; }

@media (max-width: 440px) {
  .nav-left .brand-word { display: none; }
}

/* Pages de contenu (confidentialité, contact) */
.page-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(24px + env(safe-area-inset-top, 0px)) 0 24px;
}
.page-top .brandmark { display: flex; align-items: center; gap: 10px; color: #f3efe6; text-decoration: none; }
.page-top .brandmark img { height: 28px; width: auto; }
.page-top .brand-word { font-family: 'Archivo Black', sans-serif; font-size: 18px; }
.page-main { max-width: 760px; margin: 0 auto; padding: 40px 24px 96px; }
.page-main h1 { font-family: 'Archivo Black', sans-serif; font-size: clamp(2rem, 5vw, 3rem); line-height: 1; margin: 0 0 14px; letter-spacing: -0.01em; }
.page-main .meta { color: #a8a196; margin: 0 0 40px; font-size: 0.92rem; }
.page-main h2 { font-size: 1.25rem; margin: 44px 0 14px; color: #e8a93a; }
.page-main p, .page-main li { color: #d4cec3; line-height: 1.72; font-size: 1rem; }
.page-main ul { padding-left: 20px; }
.page-main li { margin-bottom: 10px; }
.page-main strong { color: #f3efe6; }
.page-main a { color: #e8a93a; }
.page-footer {
  border-top: 1px solid #2a2620; color: #756e62; font-size: 0.85rem;
  padding: 28px 24px calc(28px + env(safe-area-inset-bottom, 0px));
  display: flex; justify-content: center; gap: 18px; flex-wrap: wrap;
}
.page-footer a { color: #a8a196; }
.contact-card {
  background: #17140f; border: 1px solid #2a2620; border-radius: 20px;
  padding: 32px 28px; margin-top: 8px;
}
.contact-card .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: #a8a196; margin: 0 0 8px; }
.contact-card .email { font-size: clamp(1.05rem, 3.6vw, 1.35rem); font-weight: 700; word-break: break-all; }
.contact-card .btn {
  display: inline-block; margin-top: 22px; background: #e8a93a; color: #191305 !important;
  font-weight: 700; text-decoration: none; padding: 13px 24px; border-radius: 999px;
}
.contact-card .btn:hover { background: #f0b64c; }

/* Raccourci d'inscription à la bêta dans le tiroir */
.drawer-beta {
  display: block; margin-top: 18px;
  padding: 16px 16px 15px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(232,169,58,0.16), rgba(232,169,58,0.04));
  border: 1px solid #b9791f;
  color: #f3efe6; text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.drawer-beta:hover { border-color: #e8a93a; background: linear-gradient(135deg, rgba(232,169,58,0.24), rgba(232,169,58,0.06)); }
.drawer-beta:focus-visible { outline: 2px solid #e8a93a; outline-offset: 2px; }
.drawer-beta-tag {
  display: inline-block; margin-bottom: 8px;
  background: #e8a93a; color: #191305;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 3px 8px; border-radius: 999px;
}
.drawer-beta strong { display: block; font-size: 1.02rem; font-weight: 700; margin-bottom: 4px; }
.drawer-beta-sub { display: block; font-size: 0.8rem; color: #a8a196; line-height: 1.4; word-break: break-word; }
