
/* ── AAEV MOBILE APP CSS ── */
@media (max-width: 768px) {

  /* Bottom nav */
  #aaev-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #fff;
    display: flex;
    border-top: 1px solid #E8E8E8;
    box-shadow: 0 -2px 12px rgba(0,0,0,.08);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .aaev-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    text-decoration: none;
    color: #999;
    font-size: 10px;
    font-family: -apple-system, sans-serif;
    font-weight: 500;
    transition: color .2s;
    gap: 4px;
  }
  .aaev-nav-item svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
  }
  .aaev-nav-item.active {
    color: #C0192E;
  }
  .aaev-nav-item:hover {
    color: #C0192E;
  }

  /* Padding bas pour ne pas cacher le contenu */
  body {
    padding-bottom: 70px !important;
  }

  /* Masquer header Divi sur mobile + espace vide */
  #main-header, #et-top-navigation, #top-header, .et-fixed-header {
    display: none !important;
    height: 0 !important;
  }
  #page-container {
    padding-top: 0 !important;
  }
  .et_pb_section_first {
    padding-top: 0 !important;
  }
  body.et_fixed_nav #page-container {
    padding-top: 0 !important;
  }

  /* Sections full-width */
  .et_pb_section {
    padding: 20px 0 !important;
  }
  .et_pb_row {
    padding: 0 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Cards modernes */
  .et_pb_blurb_container, .et_pb_module {
    border-radius: 12px !important;
  }

  /* Titres */
  h1 { font-size: 26px !important; }
  h2 { font-size: 20px !important; }
  h3 { font-size: 17px !important; }

  /* Boutons */
  .et_pb_button {
    width: 100% !important;
    text-align: center !important;
    padding: 14px 20px !important;
    border-radius: 8px !important;
    font-size: 15px !important;
  }
}

/* Desktop : masquer bottom nav */
@media (min-width: 769px) {
  #aaev-bottom-nav { display: none !important; }
}
