/* ============================================================
   AMIRAL LIMOUSINES — RESPONSIVE.CSS
   Mobile-first, media queries, adaptations tactiles
   ============================================================ */

/* ────────────────────────────────────────────
   TABLETTE LARGE — ≤ 1200px
──────────────────────────────────────────── */
@media (max-width: 1200px) {
  :root {
    --section-pad: 90px;
    --container: 100%;
  }

  .container {
    padding: 0 40px;
  }

  .nav {
    padding: 0 40px;
  }

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

  .presentation-inner {
    gap: 60px;
  }

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

  .engagements-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }

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

  .stat-item {
    border-bottom: 1px solid var(--color-border);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-bottom: none;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .service-detail-inner {
    gap: 60px;
  }
}

/* ────────────────────────────────────────────
   TABLETTE — ≤ 992px
──────────────────────────────────────────── */
@media (max-width: 992px) {
  :root {
    --nav-height: 72px;
    --section-pad: 80px;
  }

  /* Navigation : cacher les liens, afficher burger */
  .nav-links,
  .nav-lang {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  /* Hero */
  .hero-title {
    font-size: clamp(2.8rem, 7vw, 5rem);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

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

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

  .presentation-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .presentation-visual {
    order: -1;
  }

  .presentation-badge {
    bottom: -10px;
    left: -10px;
    width: 110px;
    height: 110px;
  }

  .service-detail-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .service-detail-inner.reverse {
    direction: ltr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Formulaire */
  .form-grid-2,
  .form-grid-3 {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

  /* Bouton flottant */
  .float-cta {
    bottom: 20px;
    right: 20px;
  }

  /* Scroll top */
  .scroll-top {
    bottom: 20px;
    left: 20px;
  }

  /* Page hero interne */
  .page-hero {
    height: 360px;
    padding-bottom: 60px;
  }
}

/* ────────────────────────────────────────────
   MOBILE LARGE — ≤ 768px
──────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
  }

  .container {
    padding: 0 24px;
  }

  .nav {
    padding: 0 24px;
  }

  /* Curseur personnalisé : désactivé sur mobile */
  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  body {
    cursor: auto;
  }

  .btn, .nav-burger, .fleet-filter-btn, button {
    cursor: pointer;
  }

  /* Hero */
  .hero {
    min-height: 100svh;
  }

  .hero-title {
    font-size: clamp(2.4rem, 9vw, 3.5rem);
    letter-spacing: 0.04em;
  }

  .hero-eyebrow {
    font-size: 0.55rem;
    letter-spacing: 0.4em;
  }

  .hero-eyebrow::before,
  .hero-eyebrow::after {
    width: 16px;
    margin: 0 10px;
  }

  .hero-subtitle {
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    margin-bottom: 40px;
  }

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

  .stat-item {
    padding: 40px 24px;
  }

  /* Section header */
  .section-header {
    margin-bottom: 48px;
  }

  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
  }

  /* Grilles */
  .vehicles-grid {
    grid-template-columns: 1fr;
  }

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

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

  .engagements-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  /* Services détail */
  .service-detail {
    padding: 64px 0;
  }

  /* Citation */
  .quote-section {
    padding: 72px 0;
  }

  .quote-text {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  .quote-text::before {
    font-size: 4rem;
    top: -24px;
    left: -10px;
  }

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

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

  /* Page hero */
  .page-hero {
    height: 300px;
    padding-bottom: 48px;
  }

  .page-hero-content h1 {
    font-size: clamp(2.4rem, 8vw, 4rem);
  }

  /* Filtres flotte */
  .fleet-filters {
    gap: 6px;
  }

  .fleet-filter-btn {
    padding: 8px 16px;
    font-size: 0.55rem;
  }

  /* Formulaire radio */
  .form-radio-group {
    gap: 20px;
  }

  /* Contact */
  .contact-map {
    height: 280px;
  }

  /* Bouton flottant */
  .float-cta-main span {
    display: none;
  }

  .float-cta-main {
    padding: 14px;
    border-radius: 0;
  }

  .float-cta-main i {
    font-size: 1rem;
  }

  /* Certif strip */
  .certif-strip {
    gap: 24px;
  }

  .certif-item {
    font-size: 0.52rem;
  }
}

/* ────────────────────────────────────────────
   MOBILE — ≤ 480px
──────────────────────────────────────────── */
@media (max-width: 480px) {
  :root {
    --section-pad: 52px;
  }

  .container {
    padding: 0 20px;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .btn {
    padding: 14px 28px;
    font-size: 0.6rem;
    letter-spacing: 0.25em;
  }

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

  .stat-item {
    padding: 32px 16px;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid var(--color-border);
  }

  .stat-item:nth-last-child(-n+2) {
    border-bottom: none;
  }

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

  .service-card {
    padding: 40px 24px;
  }

  .section-label {
    letter-spacing: 0.3em;
  }

  .fleet-filters {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    margin-bottom: 40px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .fleet-filters::-webkit-scrollbar {
    display: none;
  }

  .fleet-filter-btn {
    flex-shrink: 0;
  }

  .footer {
    padding: 52px 0 0;
  }

  /* Overlay nav mobile */
  .nav-overlay a {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }

  /* Scroll top */
  .scroll-top {
    display: none;
  }
}

/* ────────────────────────────────────────────
   IMPRESSION
──────────────────────────────────────────── */
@media print {
  .nav,
  .float-cta,
  .scroll-top,
  #loader,
  .cursor-dot,
  .cursor-ring,
  .nav-overlay {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .hero {
    height: auto;
    min-height: auto;
  }

  .section-title {
    color: black;
  }

  .section-label {
    color: #8B6914;
  }
}

/* ────────────────────────────────────────────
   PRÉFÉRENCE MOUVEMENT RÉDUIT
──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ────────────────────────────────────────────
   CORRECTIONS MOBILE SUPPLEMENTAIRES
──────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Video dans les cartes vehicules */
  .vehicle-card-image video {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
  }

  /* Section service-sur-mesure : video full width */
  .services-grid video {
    width: 100%;
    display: block;
  }

  /* Float CTA : les deux boutons visibles sur mobile */
  .float-cta {
    flex-direction: column;
    gap: 8px;
  }

  .float-cta-secondary span {
    display: none;
  }

  .float-cta-secondary {
    padding: 14px;
  }

  /* Navigation overlay : fond opaque */
  .nav-overlay {
    padding: 24px;
  }

  /* Boutons hero : pleine largeur sur tres petit ecran */
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Stats : eviter le debordement des chiffres */
  .stat-number {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  /* Carte vehicule : zoom desactive sur touch */
  .vehicle-card:hover .vehicle-card-image img {
    transform: none;
  }
}

@media (max-width: 480px) {
  /* Video presentation dans Notre histoire */
  .presentation-image-box img,
  .presentation-image-box video {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }

  /* Grille vehicules : une colonne */
  .vehicles-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  /* Bouton flottant principal : texte cache, icone seulement */
  .float-cta-main {
    width: 52px;
    height: 52px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
