/**
 * responsive.css — Responsive mobile-first
 * Breakpoints : 360, 768, 1024, 1280, 1440 px
 */

/* ═══════════════════════════════════════════════
   MOBILE — max 768px
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Navigation mobile */
  .nav-toggle {
    display: flex;
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-primary-dark);
    padding: 80px 32px 40px;
    transition: right var(--transition-smooth);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.3);
    z-index: 99;
  }

  .header-nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 8px;
  }

  .nav-link {
    font-size: 18px;
    padding: 12px 16px;
    display: block;
  }

  /* Héro */
  .hero-content {
    padding: 100px 16px 60px;
  }

  .hero-title {
    font-size: clamp(48px, 12vw, 72px);
  }

  .hero-tagline {
    font-size: 20px;
  }

  .hero-quote {
    font-size: 16px;
  }

  .hero-illustration {
    border-radius: 16px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary.btn-hero,
  .btn-secondary.btn-hero {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .stat-number {
    font-size: 36px;
  }

  .hero-scroll-indicator {
    display: none;
  }

  /* Sections */
  .section-why,
  .section-how,
  .section-journey,
  .section-vision,
  .section-participate {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  /* Impact grid */
  .impact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Steps timeline */
  .steps-timeline {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .step-connector {
    display: none;
  }

  /* Journey */
  .journey-cards {
    flex-direction: column;
    gap: 16px;
  }

  .journey-card {
    max-width: 100%;
  }

  .journey-arrow {
    transform: rotate(90deg);
    font-size: 24px;
  }

  /* Vision timeline */
  .vision-timeline {
    flex-direction: column;
    gap: 24px;
  }

  .timeline-line {
    width: 2px;
    height: 40px;
  }

  .timeline-point .desc {
    white-space: normal;
  }

  /* Participate */
  .participate-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Traduction */
  .translation-workspace {
    grid-template-columns: 1fr;
  }

  .config-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .status-grid {
    grid-template-columns: 1fr;
  }

  .steps-navigation {
    flex-direction: column;
    gap: 12px;
    bottom: 12px;
  }

  .lang-buttons {
    flex-wrap: wrap;
  }

  .form-actions {
    flex-direction: column;
  }

  .btn-save-draft,
  .btn-submit-translation {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .validation-form {
    padding: 24px 16px;
  }

  .quote-hero-card {
    padding: 32px 24px;
  }

  .quote-marks {
    font-size: 80px;
    top: -5px;
    left: 16px;
  }
}

/* ═══════════════════════════════════════════════
   PETIT MOBILE — max 360px
   ═══════════════════════════════════════════════ */
@media (max-width: 360px) {

  .hero-title {
    font-size: 48px;
  }

  .hero-badge {
    font-size: 11px;
    padding: 6px 14px;
  }

  .container {
    padding: 0 16px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 14px 24px;
    font-size: 15px;
  }
}

/* ═══════════════════════════════════════════════
   TABLETTE — 769px à 1024px
   ═══════════════════════════════════════════════ */
@media (min-width: 769px) and (max-width: 1024px) {

  .impact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .impact-card:last-child {
    grid-column: span 2;
    max-width: 400px;
    margin: 0 auto;
  }

  .steps-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .participate-grid {
    grid-template-columns: 1fr 1fr;
  }

  .participate-card:last-child {
    grid-column: span 2;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ═══════════════════════════════════════════════
   GRAND ÉCRAN — 1440px+
   ═══════════════════════════════════════════════ */
@media (min-width: 1440px) {

  .container {
    max-width: 1320px;
  }

  .hero-title {
    font-size: 120px;
  }

  .hero-illustration {
    max-width: 700px;
  }
}
