/**
 * AKOA — Responsive CSS
 * Design System V4.1 — Breakpoints : 960px / 680px / 480px
 * Mobile-last (desktop first)
 */

/* ── 960px — TABLETTE PAYSAGE ───────────────────────────────────────────────── */
@media (max-width: 960px) {

  /* Navigation */
  .nav__menu { display: none; }
  .nav__cta .btn--primary { display: none; }
  .nav__burger { display: flex; }

  /* Mega menu — géré par le drawer mobile */
  .nav__mega { display: none !important; }

  /* Footer */
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-xl);
  }

  .footer__col--brand {
    grid-column: 1 / -1;
  }

  /* Metrics */
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Maillage */
  .maillage__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── 680px — TABLETTE PORTRAIT / GRAND MOBILE ──────────────────────────────── */
@media (max-width: 680px) {

  /* Navigation */
  .nav__inner { height: 60px; }
  .nav__logo img { height: 30px; }

  .nav__drawer {
    top: 60px;
  }

  /* Hero */
  .hero {
    min-height: 480px;
  }

  .hero__ctas {
    flex-direction: column;
  }

  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .footer__top {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  /* CTA block */
  .cta-block__identity {
    flex-direction: column;
  }

  /* Avis Ludovic */
  .avis-ludo {
    flex-direction: column;
    gap: var(--gap-md);
  }

  /* Avant / Après */
  .avant-apres__container {
    aspect-ratio: 4/3;
  }

  /* Maillage */
  .maillage__grid {
    grid-template-columns: 1fr;
  }

  /* Cards grid */
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ── 480px — MOBILE ─────────────────────────────────────────────────────────── */
@media (max-width: 480px) {

  /* Typography */
  body { font-size: 0.9375rem; }

  h1 { font-size: var(--t-3xl); }
  h2 { font-size: var(--t-2xl); }
  h3 { font-size: var(--t-xl); }

  /* Container */
  .container { padding-inline: 1rem; }

  /* Navigation */
  .nav__inner { padding-inline: 1rem; }

  .cta-sticky {
    font-size: var(--t-xs);
    padding: 0.5rem 0.875rem;
  }

  /* Hero */
  .hero__inner {
    padding: var(--gap-2xl) 1rem;
  }

  .hero {
    min-height: 400px;
  }

  /* Metrics */
  .metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap-md);
  }

  .metric {
    padding: var(--gap-lg) var(--gap-md);
  }

  .metric__value {
    font-size: var(--t-3xl);
  }

  /* Buttons */
  .btn { width: 100%; justify-content: center; }
  .btn--ghost { width: auto; }

  /* FAQ */
  .faq__question { font-size: var(--t-base); }

  /* Footer */
  .footer__top { padding-inline: 1rem; }
  .footer__bottom { padding-inline: 1rem; }

  /* Cards */
  .card__body { padding: var(--gap-lg); }

  /* Avant / Après */
  .avant-apres__container {
    aspect-ratio: 1/1;
  }

  /* Breadcrumb */
  .breadcrumb ol { padding-inline: 1rem; }
}

/* ── PRINT ──────────────────────────────────────────────────────────────────── */
@media print {
  .nav,
  .nav__drawer,
  .cta-block,
  .footer,
  .avant-apres__slider {
    display: none !important;
  }

  body {
    font-size: 11pt;
    color: #000;
  }

  a { color: #000; text-decoration: underline; }

  .container { max-width: 100%; padding: 0; }
}
