/* ==========================================================
   Carro de Pipoca · estilos
   Paleta: chocolate, caramelo e doce de leite
   ========================================================== */

:root {
  /* chocolate */
  --choco-950: #1b0e07;
  --choco-900: #26150b;
  --choco-800: #34200f;
  --choco-700: #4b2e19;
  --choco-600: #6a4427;

  /* caramelo */
  --caramel-700: #84491b;
  --caramel-600: #a35f28;
  --caramel-500: #c07a3a;
  --caramel-400: #d99a57;
  --caramel-300: #ebbe85;
  --caramel-200: #f3d9b5;
  --caramel-100: #f8ebda;

  /* fundos claros */
  --milk: #fbf4ea;
  --white: #fffdf9;

  /* texto */
  --ink: #2a180d;
  --ink-body: #4a3526;
  --ink-muted: #765c48;
  --on-dark: #f8ebda;
  --on-dark-muted: #d6bfa4;

  --line: rgb(74 46 25 / 0.14);
  --line-dark: rgb(248 235 218 / 0.16);

  --wa: #25d366;
  --wa-dark: #128c4b;

  --font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 7.5rem);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px -2px rgb(38 21 11 / 0.12);
  --shadow-md: 0 14px 34px -14px rgb(38 21 11 / 0.32);
  --shadow-lg: 0 30px 70px -28px rgb(27 14 7 / 0.55);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  scrollbar-color: var(--caramel-500) var(--caramel-100);
}

body {
  margin: 0;
  background: var(--milk);
  color: var(--ink-body);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--caramel-600);
}

img,
video { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
  /* tamanho ótico menor = traços finos mais encorpados (a Bodoni Moda vai de 6 a 96) */
  font-optical-sizing: none;
  font-variation-settings: "opsz" 28;
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* palavra de destaque em itálico: é onde a Bodoni mostra os detalhes */
h1 em,
h2 em {
  font-style: italic;
  font-synthesis: none;
  color: var(--caramel-500);
}

p { margin: 0; text-wrap: pretty; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

ul { margin: 0; padding: 0; list-style: none; }

figure { margin: 0; }

::selection { background: var(--caramel-300); color: var(--choco-900); }

:focus-visible {
  outline: 2px solid var(--caramel-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--caramel-600);
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

/* ---------- botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font: 500 1rem/1 var(--font-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.24s var(--ease),
    border-color 0.24s var(--ease),
    color 0.24s var(--ease),
    box-shadow 0.24s var(--ease),
    transform 0.24s var(--ease);
}

.btn-primary {
  background: var(--caramel-600);
  color: var(--white);
  box-shadow: 0 14px 28px -12px rgb(0 0 0 / 0.55);
}
.btn-primary:hover {
  background: var(--caramel-700);
  transform: translateY(-1px);
  box-shadow: 0 18px 32px -12px rgb(0 0 0 / 0.6);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  border-color: rgb(248 235 218 / 0.34);
  background: transparent;
  color: var(--on-dark);
}
.btn-ghost:hover {
  border-color: var(--caramel-300);
  background: rgb(248 235 218 / 0.07);
}

.btn-sm { min-height: 44px; padding: 0 1.15rem; font-size: 0.9375rem; }
.btn-lg { min-height: 60px; padding: 0 2rem; font-size: 1.0625rem; }

/* ---------- cabeçalho ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(27 14 7 / 0.86);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: saturate(1.3) blur(14px);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 78px;
}

.brand { display: block; flex: none; border-radius: 50%; }
.brand img { width: 58px; height: auto; }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 0.25rem; }
.nav a {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-pill);
  color: var(--on-dark-muted);
  font-size: 0.9688rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav a:hover { color: var(--white); background: rgb(248 235 218 / 0.07); }

.header-cta { flex: none; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: clip;
  background-color: var(--choco-900);
  background-image:
    radial-gradient(780px 520px at 86% 8%, rgb(217 154 87 / 0.26), transparent 70%),
    radial-gradient(620px 420px at 4% 104%, rgb(163 95 40 / 0.22), transparent 70%),
    linear-gradient(165deg, var(--choco-800) 0%, var(--choco-900) 52%, var(--choco-950) 100%);
  color: var(--on-dark);
}


.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  min-height: min(calc(100svh - 78px), 760px);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.75rem, 5.6vw, 5rem);
  line-height: 1.02;
}
.hero h1 em { color: var(--caramel-400); }

.lead {
  max-width: 46ch;
  margin-top: 1.5rem;
  color: var(--on-dark-muted);
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.1rem;
  margin-top: 2.25rem;
  color: var(--on-dark-muted);
  font-size: 0.9375rem;
}
.hero-proof li { display: block; }
.hero-proof li + li::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 1.1rem;
  border-radius: 50%;
  background: var(--caramel-400);
  vertical-align: middle;
}
.hero-proof strong { color: var(--white); font-weight: 600; }

/* vídeos em leque */
.hero-reel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(0.6rem, 1.4vw, 1.125rem);
}

.reel {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: clamp(14px, 1.8vw, 22px);
  background: var(--choco-700);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgb(248 235 218 / 0.08);
  transform: translateY(var(--y, 0)) rotate(var(--r, 0deg));
}
.reel video { width: 100%; height: 100%; object-fit: cover; }

.reel-1 { --r: -6deg; --y: 1.75rem; }
.reel-2 { --r: 0deg;  --y: -1.5rem; z-index: 1; }
.reel-3 { --r: 6deg;  --y: 2.25rem; }

@media (prefers-reduced-motion: no-preference) {
  .reel {
    animation: reel-fan 1.2s var(--ease-out) both;
  }
  .reel-1 { animation-delay: 0.1s; --from-x: 105%; }
  .reel-2 { animation-delay: 0s;   --from-x: 0%; }
  .reel-3 { animation-delay: 0.18s; --from-x: -105%; }

  @keyframes reel-fan {
    from {
      transform: translate(var(--from-x), 0) rotate(0deg) scale(0.94);
    }
  }
}

/* ---------- títulos de seção ---------- */

.section-head { margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem); }

.section-head h2,
.about-copy h2,
.faq-intro h2 {
  font-size: clamp(2.125rem, 4vw, 3.375rem);
}

.section-head p {
  max-width: 52ch;
  color: var(--ink-muted);
  font-size: 1.0625rem;
}

.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  align-items: end;
  gap: 1rem 3rem;
}
.section-head--split p { justify-self: end; }

.section-head--center { text-align: center; }
.section-head--center h2 { max-width: 20ch; margin-inline: auto; }

/* ---------- sobre ---------- */

.about {
  padding-block: var(--section-y);
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.about-copy h2 { max-width: 14ch; }

.about-copy p {
  max-width: 54ch;
  margin-top: 1.1rem;
}

.about-copy .about-lead {
  margin-top: 1.6rem;
  color: var(--ink);
  font-size: clamp(1.1875rem, 1.6vw, 1.375rem);
  line-height: 1.5;
}

.about-copy .about-sign {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--caramel-700);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.35;
}

.about-photo {
  position: relative;
  max-width: 470px;
  justify-self: end;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.about-photo::before {
  content: "";
  position: absolute;
  inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  z-index: -1;
  border-radius: var(--radius-lg);
  background: var(--caramel-200);
}
.about-photo { isolation: isolate; }

/* ticket "como funciona" */
.ticket {
  --notch: 16px;
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 2.2fr);
  align-items: center;
  gap: 1.5rem 3rem;
  margin-top: clamp(4rem, 8vw, 6.5rem);
  padding: clamp(2rem, 4vw, 2.75rem) clamp(1.75rem, 5vw, 3.5rem);
  background: var(--choco-900);
  color: var(--on-dark);
  border-radius: var(--radius-md);
  -webkit-mask:
    radial-gradient(circle var(--notch) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask:
    radial-gradient(circle var(--notch) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
}

.ticket-title {
  color: var(--white);
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  line-height: 1.1;
  max-width: 10ch;
}

.ticket-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.15rem 2.75rem;
  margin: 0;
  padding-left: clamp(1.5rem, 3vw, 3rem);
  border-left: 1px dashed rgb(248 235 218 / 0.28);
}

.ticket-list div {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--line-dark);
}
.ticket-list div:nth-last-child(-n + 2) { border-bottom: 0; }

.ticket-list dt {
  display: flex;
  flex: 1;
  align-items: baseline;
  gap: 0.6rem;
  color: var(--on-dark-muted);
  font-size: 0.9375rem;
}
.ticket-list dt::after {
  content: "";
  flex: 1;
  min-width: 1rem;
  border-bottom: 2px dotted rgb(235 190 133 / 0.4);
  transform: translateY(-0.25em);
}

.ticket-list dd {
  margin: 0;
  color: var(--caramel-300);
  font-weight: 500;
  text-align: right;
}

@media (min-width: 961px) {
  .ticket-list dt,
  .ticket-list dd { white-space: nowrap; }
}

/* ---------- galeria ---------- */

.gallery {
  padding-block: var(--section-y);
  background: var(--milk);
}

.gallery-wrap { position: relative; }

.gallery-track {
  --inset: max(var(--gutter), calc((100vw - var(--container)) / 2));
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(220px, 23vw, 290px);
  gap: clamp(0.875rem, 1.6vw, 1.25rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 0.5rem var(--inset) 1.25rem;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  /* sem barra de rolagem */
  scrollbar-width: none;
  /* bordas esfumadas nas laterais */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track.is-dragging { cursor: grabbing; }
.gallery-track.is-dragging img { transform: none; }
.gallery-track img { -webkit-user-drag: none; pointer-events: none; }
.gallery-track:focus-visible { outline-offset: -2px; border-radius: 0; }

.gallery-track figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--caramel-100);
  box-shadow: var(--shadow-sm);
}

.gallery-track img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.gallery-track figure:hover img { transform: scale(1.04); }

.gallery-track figcaption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgb(27 14 7 / 0.72);
  color: var(--on-dark);
  font-size: 0.8125rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ---------- cardápio ---------- */

.menu {
  padding-block: var(--section-y);
  background: var(--white);
}

.dishes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 3.5vw, 3rem) clamp(1.25rem, 2.4vw, 2rem);
}

.dish-photo {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--caramel-100);
}
.dish-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.dish:hover .dish-photo img { transform: scale(1.04); }

.dish h3 {
  margin-top: 1.1rem;
  font-size: clamp(1.5rem, 2vw, 1.75rem);
}

.dish p {
  max-width: 34ch;
  margin-top: 0.4rem;
  color: var(--ink-muted);
  font-size: 1rem;
}

/* quadro com o cardápio completo */
.board {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 2fr);
  gap: 2rem 3.5rem;
  margin-top: clamp(4rem, 8vw, 6rem);
  padding: clamp(2rem, 4.5vw, 3.5rem);
  border-radius: var(--radius-lg);
  background-color: var(--choco-900);
  background-image: radial-gradient(520px 320px at 100% 0%, rgb(217 154 87 / 0.18), transparent 70%);
  color: var(--on-dark);
}

.board-head h3 {
  color: var(--white);
  font-size: clamp(1.875rem, 3vw, 2.5rem);
}
.board-head p {
  margin-top: 0.75rem;
  color: var(--on-dark-muted);
}

.board-list {
  columns: 3;
  column-gap: 2.5rem;
}
.board-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 0.5rem;
  break-inside: avoid;
  border-bottom: 1px solid var(--line-dark);
  font-size: 1rem;
}
.board-list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--caramel-400);
}

.board-cta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-dark);
  color: var(--on-dark-muted);
}
.board-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--caramel-300);
  font-weight: 500;
  text-decoration: none;
}
.board-cta a:hover { color: var(--white); }
.board-cta a .icon { transition: transform 0.24s var(--ease); }
.board-cta a:hover .icon { transform: translateX(3px); }

/* ---------- depoimentos ---------- */

.testimonials {
  padding-block: var(--section-y);
  background: var(--caramel-100);
}

.testimonials .section-head--center p { margin: 1rem auto 0; }

/* cards de avaliação: faixa horizontal */
.reviews-track {
  --inset: max(var(--gutter), calc((100vw - var(--container)) / 2));
  display: flex;
  align-items: stretch;
  gap: clamp(1rem, 1.8vw, 1.5rem);
  margin: 0;
  /* sem suporte à animação: faixa deslizável normal */
  overflow-x: auto;
  padding: 0.5rem var(--inset) 1.5rem;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }

.review-card {
  display: flex;
  flex: none;
  flex-direction: column;
  width: clamp(280px, 27vw, 380px);
  padding: clamp(1.6rem, 2.4vw, 2.1rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.stars {
  display: block;
  width: 88px;
  height: 17px;
  margin-bottom: 1.1rem;
  color: var(--caramel-500);
}
.stars svg { display: block; width: 100%; height: 100%; }

.review-card blockquote {
  flex: 1;
  margin: 0;
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.6;
}
.review-card blockquote p + p { margin-top: 0.6rem; }

.review-who {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.875rem;
  line-height: 1.35;
}
.review-who strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
}

.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--caramel-600);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.testimonials { padding-block: var(--section-y); }

/* com suporte: a seção fica presa na tela e os cards correm para a esquerda
   conforme a página rola; o primeiro card começa a ~25% da largura da tela */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .testimonials { padding-block: 0; }
    .reviews-scroll {
      height: 280vh;
      view-timeline-name: --reviews;
    }
    .reviews-sticky {
      position: sticky;
      top: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      height: 100vh;
      height: 100svh;
      padding-top: 78px;
      overflow: clip;
    }
    .reviews-track {
      width: max-content;
      overflow: visible;
      padding: 0.5rem 0 1.5rem;
      animation: reviews-slide linear both;
      animation-timeline: --reviews;
      /* do momento em que a seção prende no topo (100vh) até soltar (280vh) */
      animation-range: cover 100vh cover 280vh;
    }
    @keyframes reviews-slide {
      from { transform: translateX(24.5vw); }
      to   { transform: translateX(calc(100vw - var(--inset) - 100%)); }
    }
  }
}

/* ---------- clientes ---------- */

.clients {
  padding-block: var(--section-y) calc(var(--section-y) * 0.85);
  background: var(--milk);
  overflow: clip;
}

.clients .section-head h2 { font-size: clamp(1.875rem, 3.2vw, 2.75rem); }

.marquee {
  display: flex;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  flex: none;
  align-items: center;
  gap: 1rem;
  padding-right: 1rem;
}

.marquee-track li {
  display: grid;
  place-items: center;
  width: 188px;
  height: 104px;
  padding: 1.1rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}
.marquee-track img {
  width: auto;
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.72;
  transition: filter 0.3s var(--ease), opacity 0.3s var(--ease);
}
.marquee-track li:hover img { filter: none; opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 48s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }

  @keyframes marquee {
    to { transform: translateX(-100%); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; width: 100%; padding: 0 var(--gutter); }
  .marquee-track[aria-hidden="true"] { display: none; }
}

/* ---------- dúvidas ---------- */

.faq {
  padding-block: var(--section-y);
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  align-items: start;
  gap: 2.5rem clamp(2.5rem, 6vw, 6rem);
}

.faq-intro { position: sticky; top: 120px; }
.faq-intro h2 { max-width: 10ch; }
.faq-intro p {
  max-width: 32ch;
  margin-top: 1.25rem;
  color: var(--ink-muted);
}
.faq-intro a { color: var(--caramel-700); font-weight: 500; }
.faq-intro a:hover { color: var(--caramel-600); }

.faq-list { border-top: 1px solid var(--line); }

.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  position: relative;
  display: block;
  padding: 1.35rem 3.25rem 1.35rem 0;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--caramel-700); }

/* sinal de + / − desenhado em CSS */
.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 0.85rem;
  top: 50%;
  width: 14px;
  height: 1.75px;
  border-radius: 2px;
  background: var(--caramel-600);
  transition: transform 0.3s var(--ease-out);
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }

.faq-list details p {
  max-width: 60ch;
  padding: 0 3.25rem 1.5rem 0;
  color: var(--ink-body);
}

/* ---------- chamada final ---------- */

.cta {
  position: relative;
  overflow: clip;
  padding-block: clamp(5rem, 11vw, 8.5rem);
  background-color: var(--choco-900);
  background-image:
    radial-gradient(700px 420px at 50% 0%, rgb(217 154 87 / 0.24), transparent 70%),
    linear-gradient(170deg, var(--choco-800) 0%, var(--choco-900) 55%, var(--choco-950) 100%);
  color: var(--on-dark);
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta h2 {
  color: var(--white);
  font-size: clamp(2.5rem, 5.6vw, 4.75rem);
}
.cta h2 em { color: var(--caramel-400); }

.cta-inner > p:not(.cta-note) {
  max-width: 50ch;
  margin-top: 1.4rem;
  color: var(--on-dark-muted);
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
}

.cta .btn { margin-top: 2.5rem; }

.cta-note {
  margin-top: 1.25rem;
  color: var(--on-dark-muted);
  font-size: 0.9375rem;
}

/* ---------- rodapé ---------- */

.site-footer {
  background: var(--choco-950);
  color: var(--on-dark-muted);
  font-size: 0.9688rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  padding-block: clamp(3.5rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line-dark);
}

.footer-brand img { width: 88px; }
.footer-brand p { max-width: 30ch; margin-top: 1.25rem; }

.footer-col h2 {
  margin-bottom: 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-col li + li { margin-top: 0.5rem; }
.footer-col a {
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--caramel-300); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.875rem;
}
.footer-bottom a { color: var(--on-dark); }
.footer-bottom a:hover { color: var(--caramel-300); }

/* ---------- botão flutuante do WhatsApp ---------- */

.wa-float {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.75rem);
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  z-index: 60;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--white);
  box-shadow: 0 12px 26px -10px rgb(0 0 0 / 0.45), 0 2px 6px rgb(0 0 0 / 0.15);
  transition: transform 0.24s var(--ease), background-color 0.24s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: translateY(-2px) scale(1.04); background: #1fbe5b; }
.wa-float:focus-visible { outline-color: var(--wa-dark); border-radius: 50%; }

/* ---------- fade ao rolar ----------
   Cada bloco aparece aos poucos enquanto sobe pela parte de baixo da tela
   e some do mesmo jeito ao rolar de volta. Feito só com CSS
   (animation-timeline: view()); navegadores sem suporte mostram tudo normal. */

@keyframes scroll-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .about-copy,
    .about-photo,
    .ticket,
    .section-head,
    .gallery-wrap,
    .dish,
    .board,
    .marquee,
    .faq-intro,
    .faq-list details,
    .cta-inner > * {
      animation: scroll-fade linear both;
      animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
      animation-timeline: view();
      animation-range: cover 4vh cover calc(4vh + min(180px, 24vh));
    }
    .faq-list details:focus-within,
    .dish:focus-within { opacity: 1; }
  }
}

/* ---------- aviso de privacidade (LGPD) ---------- */

.consent {
  position: fixed;
  left: clamp(12px, 2.5vw, 28px);
  bottom: clamp(12px, 2.5vw, 28px);
  z-index: 70;
  display: none;
  width: min(430px, calc(100% - 24px));
  padding: 1.35rem 1.4rem 1.25rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: var(--choco-900);
  color: var(--on-dark-muted);
  box-shadow: var(--shadow-lg);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
html.js:not(.has-consent) .consent:not([hidden]) { display: block; }
.consent.is-out { opacity: 0; transform: translateY(12px); }

@media (prefers-reduced-motion: no-preference) {
  html.js:not(.has-consent) .consent:not([hidden]) { animation: consent-in 0.6s var(--ease-out) 0.6s both; }
  @keyframes consent-in { from { opacity: 0; transform: translateY(16px); } }
}

.consent-title {
  margin-bottom: 0.4rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.2;
}
.consent-text { font-size: 0.9375rem; line-height: 1.55; }
.consent-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.1rem;
  margin-top: 1.1rem;
}
.consent-actions .btn { flex: 1 1 auto; }
.consent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin-top: 0.9rem;
}
.consent-links a {
  color: var(--caramel-300);
  font-size: 0.875rem;
  text-decoration-color: rgb(235 190 133 / 0.4);
}
.consent-links a:hover { color: var(--white); }

/* botão que parece link (rodapé e páginas legais) */
.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  cursor: pointer;
}

/* ---------- páginas legais (privacidade e cookies) ---------- */

.legal-head {
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2.75rem, 5vw, 4rem);
  background-color: var(--choco-900);
  background-image:
    radial-gradient(700px 420px at 90% 0%, rgb(217 154 87 / 0.22), transparent 70%),
    linear-gradient(165deg, var(--choco-800) 0%, var(--choco-900) 60%, var(--choco-950) 100%);
  color: var(--on-dark-muted);
}
.legal-head h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5.2vw, 4.25rem);
  font-variation-settings: "opsz" 20;
  font-weight: 500;
}
.legal-head .lead { margin-top: 1.25rem; max-width: 56ch; }
.legal-date { margin-top: 1.5rem; font-size: 0.875rem; }

.legal-body {
  padding-block: clamp(3rem, 6vw, 5rem) clamp(4.5rem, 9vw, 7rem);
  background: var(--white);
}
.legal-grid {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  align-items: start;
  gap: 2.5rem clamp(2.5rem, 6vw, 6rem);
}

.legal-toc { position: sticky; top: 110px; }
.legal-toc p {
  margin-bottom: 0.75rem;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.legal-toc ol { margin: 0; padding: 0; list-style: none; }
.legal-toc a {
  display: block;
  padding: 0.45rem 0 0.45rem 1rem;
  border-left: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.9375rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.legal-toc a:hover { color: var(--caramel-700); border-left-color: var(--caramel-500); }

.legal-doc { max-width: 68ch; }
.legal-doc section { scroll-margin-top: 110px; }
.legal-doc section + section { margin-top: clamp(2.75rem, 5vw, 3.75rem); }
.legal-doc h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  /* títulos menores: tamanho ótico baixo e peso médio para o traço não sumir */
  font-variation-settings: "opsz" 12;
  font-weight: 500;
}
.legal-doc p,
.legal-doc li { color: var(--ink-body); line-height: 1.75; }
.legal-doc p + p,
.legal-doc p + ul,
.legal-doc ul + p,
.legal-doc .storage + p,
.legal-doc p + .storage { margin-top: 1.1em; }
.legal-doc strong { color: var(--ink); font-weight: 600; }
.legal-doc a { color: var(--caramel-700); }
.legal-doc a:hover { color: var(--caramel-600); }
.legal-doc ul { display: grid; gap: 0.6rem; }
.legal-doc ul li { position: relative; padding-left: 1.4rem; }
.legal-doc ul li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--caramel-500);
}
.legal-doc .link-btn { color: var(--caramel-700); font-weight: 500; }
.legal-note {
  margin-top: 0.75rem;
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

.storage {
  width: 100%;
  margin-block: 1.75rem 0.5rem;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.storage caption {
  padding-bottom: 0.75rem;
  color: var(--ink-muted);
  font-size: 0.875rem;
  text-align: left;
}
.storage th {
  padding: 0 1.25rem 0.75rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: left;
  vertical-align: bottom;
}
.storage td {
  padding: 1rem 1.25rem 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-body);
  vertical-align: top;
  overflow-wrap: anywhere;
}
.storage th:last-child,
.storage td:last-child { padding-right: 0; }
.storage code { font: inherit; font-weight: 600; color: var(--ink); }

@media (max-width: 960px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}

@media (max-width: 640px) {
  .storage thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .storage, .storage tbody, .storage tr, .storage td { display: block; }
  .storage tr { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .storage td { padding: 0; border: 0; }
  .storage td + td { margin-top: 0.6rem; }
  .storage td::before {
    content: attr(data-label);
    display: block;
    color: var(--ink);
    font-size: 0.8125rem;
    font-weight: 600;
  }
}

/* ==========================================================
   Responsivo
   ========================================================== */

@media (max-width: 1080px) {
  .nav a { padding-inline: 0.6rem; }
  .header-inner { gap: 1.25rem; }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 3rem 4.5rem;
  }
  .hero-copy { max-width: 640px; }
  .hero-reel { max-width: 660px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-photo { justify-self: start; max-width: 420px; margin-right: 1.5rem; }

  .ticket { grid-template-columns: 1fr; }
  .ticket-title { max-width: none; }
  .ticket-list { padding-left: 0; border-left: 0; }

  .section-head--split { grid-template-columns: 1fr; }
  .section-head--split p { justify-self: start; }

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

  .board { grid-template-columns: 1fr; }
  .board-list { columns: 2; }


  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .faq-intro h2 { max-width: none; }

  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }

  .header-inner { min-height: 66px; }
  .brand img { width: 48px; }
  .header-cta { min-height: 40px; padding-inline: 0.95rem; font-size: 0.875rem; }

  .hero-grid { padding-block: 2.5rem 3.5rem; gap: 2.75rem; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.25rem); }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-proof { gap: 0.35rem 0.8rem; font-size: 0.875rem; }
  .hero-proof li { gap: 0.8rem; }
  /* no celular os vídeos avançam um pouco sobre as margens laterais */
  .hero-reel { margin-inline: calc(var(--gutter) * -0.5); }
  .reel-1 { --y: 1rem; }
  .reel-2 { --y: -0.75rem; }
  .reel-3 { --y: 1.25rem; }

  .about-photo::before { inset: 1rem -1rem -1rem 1rem; }

  .ticket { --notch: 12px; padding: 2rem 1.5rem; }
  .ticket-list { grid-template-columns: 1fr; }
  .ticket-list div:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line-dark); }
  .ticket-list div:last-child { border-bottom: 0; }

  .gallery-track { grid-auto-columns: 68vw; }

  .dishes { gap: 1.75rem 0.875rem; }
  .dish h3 { font-size: 1.3125rem; margin-top: 0.8rem; }
  .dish p { font-size: 0.9375rem; }

  .board { padding: 2rem 1.5rem; }
  .board-list { column-gap: 1.25rem; }
  .board-list li { font-size: 0.9375rem; gap: 0.6rem; }

  .marquee-track li { width: 150px; height: 88px; padding: 0.9rem 1.1rem; }
  .marquee-track img { max-height: 48px; }

  .faq-list summary { font-size: 1.0625rem; padding-right: 2.75rem; }
  .faq-list details p { padding-right: 0; }

  .cta .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.3; padding-block: 0.9rem; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 1.5rem; }
  .footer-bottom { flex-direction: column; }

  .hero-proof li:first-child { flex-basis: 100%; }
  .hero-proof li:nth-child(2)::before { display: none; }

  .wa-float { width: 56px; height: 56px; }
  .wa-float svg { width: 28px; height: 28px; }
}

@media (max-width: 380px) {
  .header-cta .icon { display: none; }
  .board-list { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
