/* ==================== BURGER ==================== */
.burger {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 0;
  background: rgba(255,255,255,0.05);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: background .25s ease;
}
.burger:hover {
  background: rgba(212,175,55,.1);
}
.burger:focus {
  outline: 3px solid rgba(212,175,55,.25);
}
.burger-inner {
  position: relative;
  width: 22px;
  height: 16px;
}
.bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 300ms cubic-bezier(.2,.9,.2,1),
              opacity 180ms,
              top 300ms;
}
.bar--a { top: 0; }
.bar--b { top: 7px; }
.bar--c { top: 14px; }
.burger[aria-expanded="true"] .bar--a {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] .bar--b {
  opacity: 0;
  transform: scaleX(0);
}
.burger[aria-expanded="true"] .bar--c {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==================== OFF-CANVAS ==================== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms;
  z-index: 4;
}
.overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

nav.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 78%;
  max-width: 340px;
  background: var(--card);
  backdrop-filter: blur(8px);
  box-shadow: -12px 0 30px rgba(0,0,0,0.6);
  transform: translateX(110%);
  transition: transform 350ms cubic-bezier(.2,.9,.2,1);
  z-index: 6;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
nav.mobile-nav.is-open {
  transform: translateX(0);
}
nav .close-aux {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==================== LISTE DE LIENS ==================== */
.nav-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nav-list a {
  display: inline-block;
  padding: 6px 0;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  transition: color .25s ease, transform .25s ease;
}
.nav-list a:hover {
  color: var(--accent-2);
  transform: translateX(4px);
}

/* ==================== CTA ==================== */
.cta {
  margin-top: auto;
}
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #000;
  font-weight: 700;
  text-decoration: none;
  font-size: 16px;
  transition: all .25s ease;
}
.btn:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
}

/* ==================== DESKTOP ==================== */
@media(min-width:900px) {
  .burger { display: none; }
  nav.mobile-nav {
    position: static;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: auto;
    width: auto;
    flex-direction: row;
    gap: 24px;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }
  .overlay { display: none; }
  .nav-list {
    flex-direction: row;
    gap: 20px;
    margin: 0;
  }
  .nav-list a {
    padding: 6px 0;
  }
}

/* ================================================================================== */
/* ========================== FOOTER ================================================ */
/* ================================================================================== */
footer {
  background: var(--elev);
  color: var(--muted);
  padding: 2.5rem 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  line-height: 1.6;
}
footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
footer p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted-2);
}
footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}
footer .footer-links a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.25s ease, transform 0.25s ease;
}
footer .footer-links a i { font-size: 1rem; opacity: 0.9; }
footer .footer-links a:hover {
  color: var(--accent-2);
  transform: translateY(-2px);
}

/* Responsive tablette */
@media (max-width: 768px) {
  footer {
    font-size: 0.9rem;
    padding: 2rem 1rem;
  }
  footer p { font-size: 0.9rem; }
  footer .footer-links a { font-size: 0.85rem; }
}
/* Responsive mobile */
@media (max-width: 480px) {
  footer {
    font-size: 0.8rem;
    padding: 1.5rem 1rem;
  }
  footer p {
    font-size: 0.8rem;
    line-height: 1.4;
  }
  footer .footer-links {
    gap: 0.6rem;
    flex-direction: column;
  }
  footer .footer-links a { font-size: 0.8rem; }
}
