/* ══════════════════════════════
   RESPONSIVE — MAMÉ'HO
   Breakpoints : 1024 / 900 / 768 / 600 / 500 / 380px
══════════════════════════════ */

/* ── Tablette large ── */
@media (max-width: 1024px) {
  .augustin-inner, .contact-wrap { grid-template-columns: 1fr; }
  .trouver-bloc { grid-template-columns: 1fr; }
  .trouver-map-full { min-height: 320px; }
}

/* ── Tablette ── */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-nav, .footer-social { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 1; grid-row: span 1; }
  .presta-volumes { grid-template-columns: repeat(3, 1fr); }
  .presta-vol-card { border-bottom: 1px solid rgba(8,94,84,.08); border-right: 1px solid rgba(8,94,84,.08); }
  .prestations-full-header { flex-direction: column; align-items: flex-start; }
  .revendeur-inner { grid-template-columns: 1fr; }
  .nav-dropdown { display: none; }
  .contact-wrap--2col { grid-template-columns: 1fr; }
  .contact-map-img { max-height: 180px; }
}

/* ── Tablette portrait / grand mobile ── */
@media (max-width: 768px) {
  .topbar-nav { display: none; }
  .logo-img { height: 46px; }
  .topbar { padding: 0 16px; }

  .flyer-photos { flex: 1; }

  .fabrication-section { padding: 50px 0 40px; }
  .snake-wrap { padding: 0 18px; gap: 20px; margin-top: 40px; }
  .snake-row, .snake-rtl { flex-direction: column; align-items: center; gap: 0; }
  .snake-card { width: 100%; max-width: 420px; margin: 0 auto; }
  .snake-img { height: 180px; object-fit: cover; }
  .snake-img--contain { height: 180px; object-fit: contain; padding: 16px; background: rgba(255,255,255,.2); }
  .snake-num { font-size: 40px; top: 6px; left: 10px; }
  .snake-arrow { transform: rotate(90deg); width: auto; height: 32px; font-size: 20px; padding: 4px 0; }
  .snake-turn { display: none; }
  .snake-body strong { font-size: clamp(15px, 4.5vw, 19px); }
  .snake-body p { font-size: 13px; line-height: 1.55; }
  .fab-badges { margin-top: 36px; gap: 8px; padding: 0 18px; }
  .fab-badge { font-size: 11px; padding: 8px 16px; }

  .revendeur-text h2 { font-size: clamp(32px, 9vw, 50px); }
  .revendeurs-list { gap: 8px; }
  .revendeur-item { padding: 12px 14px; }
}

/* ── Mobile ── */
@media (max-width: 600px) {
  #accueil.hero { min-height: clamp(440px, 72vh, 640px); height: auto; }
  .flyer-banner { padding: 22px 16px 26px; }

  .values-band { padding: 14px 16px; }
  .values-inner { gap: 8px 16px; justify-content: center; }
  .value-sep { display: none; }
  .value-item { font-size: 9px; letter-spacing: 1.5px; gap: 5px; }

  .section { padding: clamp(40px, 8vw, 64px) 18px; }
  .section-hd h2 { font-size: clamp(38px, 11vw, 58px); }
  .section-hd p { font-size: 14px; }

  .jus-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery-item.tall { grid-row: span 1; }

  .footer-inner { gap: 20px; flex-direction: column; align-items: center; text-align: center; }
  .footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
  .footer-nav a { font-size: 12px; }
  .footer-bottom { text-align: center; padding: 14px 16px; font-size: 11px; }
  .footer-logo-img { margin: 0 auto; }

  .menu-links a { font-size: clamp(36px, 8vw, 52px); }
  .menu-links { gap: clamp(6px, 1.5vh, 14px); }

  .presta-volumes { grid-template-columns: repeat(2, 1fr); }
  .presta-footer { flex-direction: column; align-items: flex-start; }
  .presta-contact-note { white-space: normal; }

  .contact-type-selector { flex-direction: column; align-items: stretch; }
  .contact-type-btn { text-align: center; padding: 11px 16px; }
  .contact-info-row { flex-direction: column; gap: 14px; }
  .contact-info-divider { width: 100%; height: 1.5px; align-self: auto; margin: 0; }
  .contact-links { padding-left: 0; }
  .contact-address { padding-right: 0; }
  .contact-form-bubble { padding: 22px 16px; border-radius: 18px; }
}

/* ── Petit mobile ── */
@media (max-width: 500px) {
  .jus-grid { grid-template-columns: 1fr; }
  .juice-card-overlay { opacity: 0; transition: opacity .3s ease; }
  .juice-card:active .juice-card-overlay,
  .juice-card:focus-within .juice-card-overlay { opacity: 1; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; gap: 6px; }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-item.wide { grid-column: span 2; }

  .flyer-title { font-size: clamp(28px, 9.5vw, 42px); }
  .flyer-vente { font-size: 17px; }
}

/* ── Très petit mobile ── */
@media (max-width: 380px) {
  .value-item { font-size: 8px; }
  .presta-volumes { grid-template-columns: 1fr 1fr; }
}

/* ── Écrans tactiles : pas d'états :hover collants ── */
@media (hover: none) and (pointer: coarse) {
  .juice-card:focus-within .juice-card-overlay { opacity: 1; }
  .juice-card, .contact-type-btn, .fab-badge,
  .btn-primary, .btn-secondary, .social-pill { -webkit-tap-highlight-color: transparent; }
}