/* ===========================
   G&S – Responsive
   =========================== */

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero .container { gap: 3rem; }
  .about-grid { gap: 3rem; }
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; padding: 4rem 1.5rem; }
  .hero-panel { display: none; }
  .hero-desc { max-width: 100%; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { height: 360px; }
  .contact-grid { grid-template-columns: 1fr; }
  .honoraires-grid { grid-template-columns: 1fr; }
  .avocat-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* Nav mobile */
  .nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    z-index: 999;
  }
  .nav.open { display: flex; }
  .nav-link {
    color: rgba(255,255,255,.7);
    font-size: 1.1rem;
    padding: 0.75rem 2rem;
    border-radius: var(--radius);
    width: 100%;
    text-align: center;
  }
  .nav-link:hover, .nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,.08);
  }
  .nav-cta {
    background: var(--blue);
    color: var(--white);
    margin-top: 0.75rem;
    font-size: 1rem;
    padding: 0.75rem 2.5rem;
    border-radius: 50px;
    margin-left: 0;
  }
  .nav-close {
    display: block;
    position: absolute;
    top: 1.25rem; right: 1.25rem;
    background: none; border: none;
    color: rgba(255,255,255,.5);
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
  }
  .hamburger { display: flex; }
  .topbar-right { display: none; }

  /* Hero */
  .hero { min-height: auto; padding: 1rem 0; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }

  /* Trust */
  .trust-bar .container { justify-content: flex-start; }
  .trust-item:nth-child(n+4) { display: none; }

  /* Grids */
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .matieres-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand p { max-width: 100%; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }

  /* CTA */
  .cta-btns { flex-direction: column; align-items: center; }

  /* Banner */
  .page-banner { min-height: 220px; padding-bottom: 2rem; }
  .avocat-banner { min-height: 340px; }

  /* Avocat hero mobile */
  .avocat-hero-inner { flex-direction: column; align-items: flex-start; }
  .avocat-hero-photo { width: 200px; align-self: flex-start; margin-left: 1.5rem; }
  .avocat-hero-photo img { max-height: 280px; }
  .avocat-hero-content { padding: 1.5rem 1.5rem 2rem; }

  /* Floating */
  .floating-cta { bottom: 1rem; right: 1rem; }
  .floating-btn span { display: none; }
  .floating-btn { padding: 0.75rem; border-radius: 50%; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }
  .team-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
}
