/*
 * burger-design.css - Couleurs cosmetiques du burger + drawer.
 * Genere automatiquement a partir des variables CSS du site
 * (primary=#284764, text=#1A2A3A, surface=#FEF8F3).
 * Selecteurs ID (#rp-burger / #rp-nav-mobile) pour battre les rules
 * `!important` ajoutees par Claude dans style.css du site.
 * Modifiable via commentaire correctif. Preserve par les re-deploys.
 */
@media (max-width: 1023px) {
  #rp-burger {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 10px !important;
    margin: 0 !important;
    background: #284764 !important;
    background-color: #284764 !important;
    border: 1.5px solid rgba(0, 0, 0, 0.18) !important;
    border-radius: 8px !important;
    color: #FFFFFF !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18) !important;
    transition: background 0.2s ease, transform 0.15s ease !important;
  }
  #rp-burger:hover {
    transform: scale(1.04) !important;
  }
  #rp-burger .rp-burger-bars {
    gap: 4px !important;
    width: 22px !important;
    height: 16px !important;
  }
  #rp-burger .rp-burger-bars span {
    width: 100% !important;
    height: 2.5px !important;
    background: #FFFFFF !important;
    border-radius: 2px !important;
  }
  /* Drawer ouvert : slide droite, fond surface, texte text */
  #rp-nav-mobile.is-open {
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: 86% !important;
    max-width: 380px !important;
    height: 100vh !important;
    background: #FEF8F3 !important;
    background-color: #FEF8F3 !important;
    color: #1A2A3A !important;
    padding: 4.5rem 1.5rem 1.5rem !important;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.22) !important;
  }
  #rp-nav-mobile.is-open ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }
  #rp-nav-mobile.is-open li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    padding: 0 !important;
  }
  #rp-nav-mobile.is-open a {
    display: block !important;
    color: #1A2A3A !important;
    text-decoration: none !important;
    padding: 1.05rem 0.25rem !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
  }
  #rp-nav-mobile.is-open a:hover {
    color: #284764 !important;
  }
  #rp-drawer-close {
    top: 1rem !important;
    right: 1rem !important;
    width: 38px !important;
    height: 38px !important;
    background: transparent !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 50% !important;
    color: #1A2A3A !important;
    font-size: 1.7rem !important;
    line-height: 1 !important;
  }
}
