/*
  +Q Café - site estático para Netlify
  Paleta principal: café, caramelo, creme, cobre e marrom profundo.
*/
:root {
  --coffee-950: #160b06;
  --coffee-900: #241008;
  --coffee-800: #3a1d0e;
  --coffee-700: #4b2814;
  --coffee-600: #6b3b1d;
  --caramel-500: #c57b33;
  --caramel-400: #df9a4f;
  --copper: #b96b3c;
  --cream-50: #fffaf1;
  --cream-100: #f7eddd;
  --cream-200: #ead7be;
  --ink: #1d1714;
  --muted: #75675e;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(40, 19, 8, .16);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1160px;
  --header-height: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream-50);
  line-height: 1.6;
}
body.menu-open { overflow: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container {
  width: min(var(--container), calc(100% - 36px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 999;
  background: var(--coffee-900);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 999px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(18px);
  background: rgba(255, 250, 241, .88);
  border-bottom: 1px solid rgba(75, 40, 20, .10);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 250, 241, .96);
  box-shadow: 0 12px 40px rgba(36, 16, 8, .08);
}
.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: auto;
  line-height: 1;
}
.brand-main {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}
.brand-mark {
  color: var(--caramel-500);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
}
.brand-text {
  margin-left: 0;
  font-family: "Playfair Display", Georgia, serif;
  text-transform: uppercase;
  font-size: 1.58rem;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
}
.brand small {
  color: var(--muted);
  margin-top: 3px;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  font-weight: 700;
  color: rgba(29, 23, 20, .78);
  font-size: .92rem;
}
.site-nav a {
  position: relative;
  padding: 8px 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--caramel-500);
  transition: width .2s ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { width: 100%; }
.header-cta { margin-left: 4px; }
.mobile-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 9px;
  cursor: pointer;
}
.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--coffee-900);
  margin: 6px 0;
  border-radius: 6px;
  transition: transform .2s ease, opacity .2s ease;
}
.mobile-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-toggle.is-active span:nth-child(2) { opacity: 0; }
.mobile-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: -.01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  cursor: pointer;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--coffee-800), var(--caramel-500));
  box-shadow: 0 16px 40px rgba(106, 59, 29, .22);
}
.btn-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,.42);
  background: rgba(255,255,255,.08);
}
.btn-ghost-light {
  color: var(--white);
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
}
.btn-outline {
  color: var(--coffee-800);
  border-color: rgba(75, 40, 20, .22);
  background: rgba(255,255,255,.62);
}
.btn-small {
  min-height: 40px;
  padding: 9px 16px;
  font-size: .88rem;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.centered-buttons { justify-content: center; }
.centered-cta { text-align: center; margin-top: 30px; }

.hero {
  min-height: calc(100svh - var(--header-height));
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--coffee-950) url("assets/hero-cafe.jpg") center / cover no-repeat;
  color: var(--white);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .48;
  filter: saturate(.95) contrast(1.04) brightness(.62);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 30%, rgba(197, 123, 51, .35), transparent 30%),
    linear-gradient(90deg, rgba(22, 11, 6, .90), rgba(22, 11, 6, .72) 50%, rgba(22, 11, 6, .45));
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 810px;
  padding-block: 88px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--caramel-400);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
}
h1, h2, h3 {
  margin: 0;
  line-height: 1.05;
  color: inherit;
}
h1, h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -.04em;
}
h1 {
  max-width: 780px;
  margin-top: 20px;
  font-size: clamp(3rem, 8.2vw, 6.8rem);
}
h2 { font-size: clamp(2.2rem, 5.3vw, 4.8rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; }
.hero-subtitle {
  max-width: 720px;
  margin-top: 22px;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  color: rgba(255,255,255,.86);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.hero-badges span {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  color: rgba(255,255,255,.88);
  font-weight: 800;
  font-size: .88rem;
}
.hero-line {
  margin-top: 20px;
  color: var(--caramel-400);
  font-weight: 900;
  letter-spacing: .03em;
}

.section { padding: 92px 0; position: relative; }
.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}
.section-heading h2 { margin-top: 12px; color: var(--coffee-900); }
.section-heading p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.05rem;
}


.menu-section {
  background:
    linear-gradient(180deg, #fffaf1 0%, #f7eddd 100%);
}
.menu-note {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid rgba(75,40,20,.12);
}
.menu-note p { font-weight: 800; color: var(--coffee-800); }
.official-menu {
  margin-top: 34px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(75,40,20,.12);
}
.official-menu-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 22px;
}
.official-menu h3 { margin: 8px 0; color: var(--coffee-900); font-size: 1.5rem; }
.official-menu p { color: var(--muted); }
.official-menu code { color: var(--coffee-700); font-weight: 800; }
.official-menu-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.official-menu-grid a {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(75,40,20,.12);
  background: var(--cream-100);
  min-height: 180px;
}
.official-menu-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .22s ease;
}
.official-menu-grid a:hover img { transform: scale(1.04); }

.music-section {
  color: var(--white);
  background:
    radial-gradient(circle at 80% 10%, rgba(197,123,51,.25), transparent 34%),
    linear-gradient(135deg, #160b06, #321609 58%, #160b06);
  overflow: hidden;
}
.music-section::before {
  content: "♪";
  position: absolute;
  right: 8%;
  top: 12%;
  font-size: 16rem;
  opacity: .035;
  transform: rotate(-10deg);
}
.music-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
  gap: 42px;
  align-items: center;
}
.music-copy h2 { margin-top: 12px; color: var(--white); }
.music-copy p {
  margin-top: 18px;
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
}
.music-copy h3 { margin-top: 28px; font-size: 1.15rem; }
.music-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.music-tags span {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--caramel-400);
  font-weight: 900;
}
.music-card {
  position: relative;
  padding: 22px;
  border-radius: 32px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 28px 90px rgba(0,0,0,.26);
}
.music-video {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
  background: rgba(0, 0, 0, .28);
  filter: saturate(.98) contrast(1.05);
}
.music-card p {
  margin-top: 14px;
  color: rgba(255,255,255,.78);
  font-weight: 800;
}
.sound-wave {
  position: absolute;
  z-index: 1;
  right: 36px;
  top: 36px;
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 12px;
  border-radius: 999px;
  background: rgba(22,11,6,.52);
  border: 1px solid rgba(255,255,255,.12);
}
.sound-wave span {
  width: 4px;
  height: 12px;
  border-radius: 6px;
  background: var(--caramel-400);
  animation: wave 1.1s ease-in-out infinite;
}
.sound-wave span:nth-child(2) { animation-delay: .1s; height: 20px; }
.sound-wave span:nth-child(3) { animation-delay: .2s; height: 28px; }
.sound-wave span:nth-child(4) { animation-delay: .3s; height: 18px; }
.sound-wave span:nth-child(5) { animation-delay: .4s; height: 10px; }
@keyframes wave { 50% { transform: scaleY(.45); opacity: .7; } }

.gallery-section {
  background: var(--cream-50);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
}
.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--coffee-800), var(--caramel-500));
  box-shadow: var(--shadow);
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.95) contrast(1.03);
  transition: transform .3s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(22,11,6,.78));
}
.gallery-item figcaption {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 16px;
  color: var(--white);
  font-weight: 900;
  text-shadow: 0 3px 18px rgba(0,0,0,.28);
}
.gallery-item.image-error::before {
  content: "+Q Café";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.88);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
}

.reviews-section {
  background:
    radial-gradient(circle at top right, rgba(197,123,51,.12), transparent 34%),
    var(--cream-100);
}
.reviews-shell {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.reviews-track {
  position: relative;
  min-height: 300px;
}
.review-card {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  padding: clamp(26px, 5vw, 54px);
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(75,40,20,.10);
  opacity: 0;
  pointer-events: none;
  transform: translateX(20px) scale(.98);
  transition: opacity .22s ease, transform .22s ease;
}
.review-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}
.review-card p {
  color: var(--coffee-800);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.28;
}
.review-card strong {
  margin-top: 20px;
  color: var(--caramel-500);
}
.review-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--coffee-900);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(22,11,6,.20);
}
.review-prev { left: -24px; }
.review-next { right: -24px; }
.review-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.review-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(75,40,20,.28);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.review-dots button.is-active {
  width: 28px;
  background: var(--caramel-500);
}

.why-section { background: #fff7ea; }
.why-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: start;
}
.why-copy h2 { margin-top: 12px; color: var(--coffee-900); }
.why-copy p { margin: 18px 0 26px; color: var(--muted); font-size: 1.05rem; }
.why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.why-list span {
  padding: 15px 16px;
  border-radius: 16px;
  background: var(--white);
  color: var(--coffee-800);
  border: 1px solid rgba(75,40,20,.10);
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(75,40,20,.06);
}
.why-list span::before { content: "+ "; color: var(--caramel-500); font-weight: 900; }

.location-section {
  background:
    linear-gradient(135deg, rgba(22,11,6,.96), rgba(75,40,20,.95)),
    var(--coffee-900);
  color: var(--white);
}
.location-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: 28px;
  align-items: stretch;
}
.location-card, .map-card {
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.08);
  box-shadow: 0 28px 90px rgba(0,0,0,.22);
}
.location-card { padding: clamp(28px, 5vw, 48px); }
.location-card h2 { margin-top: 10px; color: var(--white); }
.location-card p { margin-top: 16px; color: rgba(255,255,255,.78); }
.location-card strong { color: var(--white); }
.location-card .button-row { margin-top: 24px; }
.map-card img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.final-cta {
  text-align: center;
  background:
    radial-gradient(circle at center top, rgba(197,123,51,.18), transparent 34%),
    var(--cream-50);
}
.final-cta .container { max-width: 900px; }
.final-cta h2 { margin-top: 12px; color: var(--coffee-900); }
.final-cta p { margin: 18px 0 26px; color: var(--muted); font-size: 1.08rem; }

.site-footer {
  padding: 54px 0 92px;
  color: rgba(255,255,255,.72);
  background: var(--coffee-950);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
}
.footer-brand {
  color: var(--white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 800;
  text-transform: uppercase;
}
.site-footer h3 { color: var(--caramel-400); margin-bottom: 10px; font-size: 1rem; }
.site-footer p { margin-top: 8px; }
.site-footer a { color: var(--white); font-weight: 800; }
.site-footer small { display: block; margin-top: 18px; color: rgba(255,255,255,.45); }
.footer-credits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 16px;
  font-size: .88rem;
  color: rgba(255,255,255,.66);
  line-height: 1.4;
}
.footer-credits a { color: var(--caramel-400); }

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px 12px 12px;
  border-radius: 999px;
  background: #1f9d57;
  color: var(--white);
  box-shadow: 0 16px 40px rgba(19, 120, 70, .34);
  font-weight: 900;
}
.whatsapp-float span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  font-size: 1.1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1060px) {
  .site-nav { gap: 12px; font-size: .86rem; }
  .header-cta { display: none; }
  .official-menu-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .music-layout, .why-layout, .location-layout { grid-template-columns: 1fr; }
  .map-card img { min-height: 360px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  :root { --header-height: 72px; }
  .header-inner { gap: 12px; }
  .mobile-toggle { display: block; }
  .site-nav {
    position: fixed;
    left: 18px;
    right: 18px;
    top: calc(var(--header-height) + 12px);
    display: grid;
    gap: 0;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255,250,241,.98);
    box-shadow: 0 20px 70px rgba(22,11,6,.18);
    border: 1px solid rgba(75,40,20,.12);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .site-nav a {
    padding: 14px 10px;
    border-bottom: 1px solid rgba(75,40,20,.09);
  }
  .site-nav a:last-child { border-bottom: 0; }
  .hero { min-height: 760px; }
  .hero-content { padding-block: 70px; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 72px 0; }
  .menu-note, .official-menu-header { align-items: stretch; flex-direction: column; }
  .button-row .btn { width: 100%; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery-item.tall, .gallery-item.wide { grid-column: span 1; grid-row: span 1; }
  .review-prev { left: 8px; }
  .review-next { right: 8px; }
  .review-arrow { top: auto; bottom: -70px; transform: none; }
  .review-card { padding-bottom: 64px; }
  .review-dots { margin-top: 72px; }
  .why-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .whatsapp-float strong { display: none; }
  .whatsapp-float { padding: 12px; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 26px, var(--container)); }
  .brand-text { font-size: 1.35rem; }
  .brand-mark { font-size: 1.55rem; }
  .brand small { font-size: .62rem; }
  .brand-main { gap: 5px; }
  h1 { font-size: 3rem; }
  h2 { font-size: 2.35rem; }
  .hero-badges span { width: 100%; text-align: center; }
  .official-menu-grid { grid-template-columns: repeat(2, 1fr); }
  .official-menu-grid a { min-height: 160px; }
}
