@media (max-width: 980px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .header-actions {
    justify-content: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    width: min(340px, 88vw);
    z-index: 950;
    transform: translateX(-110%);
    transition: transform 0.18s ease;
    padding: 14px;
    overflow: auto;
    border-radius: 0;
  }

  body.sidebar-open .sidebar {
    transform: translateX(0);
  }
  body.sidebar-open .sidebar-overlay {
    display: block;
  }
}

/* Mobile */
@media (max-width: 720px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand-title {
    font-size: 18px;
  }
  .btn {
    width: 100%;
  }
  .bandeau-item img {
    height: 60px;
  }
}
