/* ============================================
   LA BOTTEGA BAR — Responsividade
   ============================================ */

/* ---------- Tablet (max 1024px) ---------- */
@media (max-width: 1024px) {
  :root { --header-height: 70px; }

  .section { padding: 72px 0; }

  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__image img { height: 450px; }

  .wine-section { grid-template-columns: 1fr; gap: 40px; }
  .wine-images .img-main { height: 320px; }

  .location-grid { grid-template-columns: 1fr; }
  .location-map { min-height: 380px; }

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

  .gallery-grid { grid-template-columns: repeat(3, 1fr); }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------- Mobile (max 768px) ---------- */
@media (max-width: 768px) {
  :root { --header-height: 64px; }

  .container { padding: 0 20px; }
  .section { padding: 56px 0; }

  /* Header mobile */
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-darker);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 24px 24px;
    gap: 8px;
    transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
    z-index: 999;
  }
  .header__nav.open { right: 0; }
  .header__nav a {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .header__nav a::after { display: none; }

  .header__actions .btn { display: none; }
  .header__actions .lang-switch { display: flex; }

  .menu-toggle { display: flex; }

  /* Overlay quando menu mobile aberto */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .nav-overlay.open { opacity: 1; pointer-events: auto; }

  /* Hero mobile */
  .hero { min-height: 90vh; padding-top: var(--header-height); display: flex; align-items: center; }
  .hero__content { padding: 20px 20px; }
  .hero__title { font-size: 2.5rem; }
  .hero__tagline { font-size: 1.2rem; margin-bottom: 16px; }
  .hero__desc { font-size: 0.95rem; line-height: 1.6; margin-bottom: 28px; max-width: 100%; }
  .hero__cta { flex-direction: column; width: 100%; max-width: 320px; margin: 0 auto; }
  .hero__cta .btn { width: 100%; padding: 12px 20px; font-size: 0.72rem; }
  .hero__scroll { display: none; }
  .hero__eyebrow { font-size: 0.65rem; letter-spacing: 0.25em; margin-bottom: 18px; }
  .hero__eyebrow::before, .hero__eyebrow::after { width: 20px; }

  /* Header actions mobile - fix padding */
  .header__actions { gap: 8px; padding-right: 4px; }
  .header__actions .lang-switch button { padding: 5px 8px; font-size: 0.65rem; }
  .menu-toggle { padding: 8px 4px 8px 8px; }

  /* Ghost button melhor contraste no mobile */
  .btn--ghost { background: rgba(201,169,106,0.15); border-color: var(--gold); color: var(--cream); }

  /* About mobile */
  .about__features { grid-template-columns: 1fr; }
  .about__image img { height: 360px; }

  /* Experience grid */
  .experience-grid { grid-template-columns: 1fr; }

  /* Menu mobile */
  .menu-tabs {
    gap: 6px;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .menu-tab { white-space: nowrap; flex-shrink: 0; }
  .menu-grid { grid-template-columns: 1fr; gap: 24px; }
  .menu-item {
    grid-template-columns: 64px 1fr;
    gap: 12px;
  }
  .menu-item__img { width: 64px; height: 64px; }
  .menu-item__price {
    grid-column: 2;
    margin-top: 4px;
  }

  /* Wine section */
  .wine-images { grid-template-columns: 1fr; }
  .wine-images .img-main { height: 280px; }

  /* Gallery mobile */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .gallery-item.tall { grid-row: span 1; aspect-ratio: 1; }
  .gallery-item.wide { grid-column: span 2; }

  /* Lightbox mobile */
  .lightbox { padding: 20px; }
  .lightbox__prev { left: 10px; }
  .lightbox__next { right: 10px; }
  .lightbox__close { top: 10px; right: 10px; }

  /* Reviews */
  .reviews-summary {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .review-source { padding: 20px; }
  .review-source .score { font-size: 2rem; }

  /* Location */
  .location-map, .location-map iframe { min-height: 300px; }

  /* Contact form */
  .reservation-form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer mobile */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  /* WhatsApp float - menor no mobile */
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 16px;
    right: 16px;
  }
  .whatsapp-float svg { width: 28px; height: 28px; }
  .whatsapp-float .tooltip { display: none; }
}

/* ---------- Small mobile (max 480px) ---------- */
@media (max-width: 480px) {
  .hero__title { font-size: 2.2rem; }
  .hero__tagline { font-size: 1.1rem; }
  .hero__eyebrow { font-size: 0.7rem; letter-spacing: 0.3em; }
  .hero__eyebrow::before, .hero__eyebrow::after { width: 24px; }

  .section-header h2 { font-size: 1.6rem; }

  .menu-item__img { display: none; }
  .menu-item { grid-template-columns: 1fr; }
  .menu-item__price { grid-column: 1; }

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

  .btn { padding: 12px 24px; font-size: 0.75rem; }

  .review-card { padding: 20px; }
}

/* ---------- Large desktop (min 1440px) ---------- */
@media (min-width: 1440px) {
  :root { --max-width: 1320px; }
  .hero__title { font-size: 6rem; }
}

/* ---------- Print ---------- */
@media print {
  .header, .whatsapp-float, .hero__scroll, .menu-toggle, .nav-overlay { display: none; }
  body { background: #fff; color: #000; }
}
