/* === Tablette (≤ 1024px) === */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-visual {
    display: flex;
    gap: 1rem;
  }
  .hero-logo-anim {
    width: min(100%, 460px);
  }
  .hero-subtitle {
    max-width: 100%;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-image-wrap {
    display: flex;
    justify-content: center;
  }
  .formations-grid {
    grid-template-columns: 1fr 1fr;
  }
  .zone-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .zone-cta-wrap {
    flex-direction: row;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-card {
    position: static;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* === Mobile (≤ 768px) === */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .nav-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 1.25rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-link {
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
  }
  .nav-link-cta {
    text-align: center;
    margin-top: 0.5rem;
  }

  .formations-grid {
    grid-template-columns: 1fr;
  }
  .modes-grid {
    grid-template-columns: 1fr;
  }
  .fd-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .fd-header {
    padding: 1.25rem;
  }
  .fd-body {
    padding: 1.25rem;
  }
  .fd-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .fd-footer .btn-primary,
  .fd-footer .btn-secondary {
    justify-content: center;
  }

  .form-row-2 {
    flex-direction: column;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-cta {
    flex-direction: column;
  }
  .hero-cta .btn-primary,
  .hero-cta .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .floating-cards {
    display: none;
  }
  .hero-logo-anim {
    width: min(100%, 420px);
  }

  .dep-card {
    flex-direction: column;
    text-align: center;
    gap: 0.25rem;
  }
  .zone-cta-wrap {
    flex-direction: column;
  }
  .zone-cta-wrap .btn-primary,
  .zone-cta-wrap .btn-secondary {
    justify-content: center;
  }
}

/* === Petit mobile (≤ 480px) === */
@media (max-width: 480px) {
  .hero-trust {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero-logo-anim {
    width: min(100%, 340px);
  }
  .about-tags {
    justify-content: flex-start;
  }
  .fc-header {
    flex-direction: column;
    gap: 0.75rem;
  }
  .fd-meta {
    flex-direction: column;
    gap: 0.75rem;
  }
  .cta-row {
    flex-direction: column;
  }
  .cta-row .btn-primary,
  .cta-row .btn-secondary {
    justify-content: center;
  }
}
