/* Duas Coxinhas — Confete Estrutural
   Direction: confete e serpentina de festa traduzidos em sistema gráfico.
   Regra de movimento: o conteúdo fica parado, só o confete de fundo se move. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage-grotesque-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* palette — Confete Estrutural */
  --night-900: #0f0c09;
  --night-800: #1c160f;
  --night-700: #2a2117;
  --paper-100: #f7f2e8;
  --paper-200: #ece2d0;
  --ink: #1a140d;
  --amber-500: #f0a83c;
  --amber-600: #d98a1f;
  --amber-300: #f7c988;
  --plum-500: #a3315f;
  --plum-600: #7c2247;
  --plum-300: #d98cae;
  --teal-500: #2a9d8f;
  --teal-600: #1f7a6f;
  --teal-300: #8fd4cb;

  --font-display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --font-body: "Manrope", -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --measure: 68ch;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--paper-100);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--amber-500);
  color: var(--night-900);
}

img { max-width: 100%; display: block; }

a { color: inherit; }

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

/* scrollbar theming */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--paper-200); }
::-webkit-scrollbar-thumb {
  background: var(--plum-500);
  border-radius: 8px;
  border: 3px solid var(--paper-200);
}
html { scrollbar-color: var(--plum-500) var(--paper-200); scrollbar-width: thin; }

.wrap {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- confetti system (structural, not decorative) ---------- */

.confetti-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.confetti-field .piece {
  position: absolute;
  will-change: transform;
  animation: drift var(--dur, 22s) linear infinite;
  animation-delay: var(--delay, 0s);
  opacity: var(--op, 0.9);
}

.confetti-field .piece svg { width: 100%; height: 100%; display: block; }

@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) rotate(var(--rot-start, 0deg)); }
  50%  { transform: translate3d(var(--dx, 14px), var(--dy, -22px), 0) rotate(var(--rot-mid, 30deg)); }
  100% { transform: translate3d(0, 0, 0) rotate(var(--rot-start, 0deg)); }
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--night-900) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--night-700);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--paper-100);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.brand .dot { color: var(--amber-500); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.75rem 1.3rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-amber {
  background: var(--amber-500);
  color: var(--night-900);
  box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--amber-500) 70%, transparent);
}
.btn-amber:hover { box-shadow: 0 14px 30px -8px color-mix(in srgb, var(--amber-500) 80%, transparent); }

.btn-ghost {
  background: transparent;
  color: var(--paper-100);
  border: 1.5px solid color-mix(in srgb, var(--paper-100) 35%, transparent);
  padding: 0.72rem 1.25rem;
}
.btn-ghost:hover { border-color: var(--paper-100); }

.btn-small { padding: 0.6rem 1.05rem; font-size: 0.85rem; }

.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

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

.hero {
  position: relative;
  background: var(--night-900);
  background-image:
    linear-gradient(180deg, var(--night-900) 0%, var(--night-900) 55%, #3a1f14 88%, #5a2e17 100%);
  overflow: hidden;
  padding-block: clamp(3.5rem, 10vw, 7rem) clamp(4rem, 12vw, 8rem);
}

.hero .wrap {
  position: relative;
  z-index: 2;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 4rem);
  justify-items: center;
  text-align: center;
}

.hero-copy {
  max-width: 46rem;
  min-width: 0;
}

.hero-copy p.lede {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--teal-300);
  margin: 0 0 1.1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--paper-100);
  margin: 0 0 1.15rem;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  color: var(--amber-500);
}

.hero .sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: color-mix(in srgb, var(--paper-100) 78%, transparent);
  max-width: 40rem;
  margin: 0 auto 2rem;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

.platform-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--paper-100) 55%, transparent);
}

.footer-top .platform-links { color: color-mix(in srgb, var(--paper-100) 60%, transparent); }

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem 0.3rem 0.3rem;
  border-radius: 100px;
  background: color-mix(in srgb, var(--paper-100) 10%, transparent);
  color: var(--paper-100);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s var(--ease-out-expo);
}

.platform-badge:hover { background: color-mix(in srgb, var(--paper-100) 18%, transparent); }

.platform-badge svg { width: 20px; height: 20px; flex: none; }

.platform-badge.if svg circle { fill: #d9432c; }
.platform-badge.n99 svg circle { fill: var(--amber-500); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 1.8rem;
  justify-content: center;
  margin-top: 2.2rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: color-mix(in srgb, var(--paper-100) 60%, transparent);
}

.hero-meta strong {
  color: var(--paper-100);
  font-weight: 500;
}

.photo-frame {
  position: relative;
  width: min(720px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--paper-100) 12%, transparent);
  border-radius: inherit;
  pointer-events: none;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- section rhythm ---------- */

section { position: relative; }

.section-night { background: var(--night-900); color: var(--paper-100); }
.section-paper { background: var(--paper-100); color: var(--ink); }

.section-pad { padding-block: clamp(4rem, 9vw, 7rem); }

.divider {
  height: 34px;
  overflow: hidden;
  position: relative;
}
.divider svg { display: block; width: 100%; height: 100%; }

h2.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
  max-width: 20ch;
  text-wrap: balance;
}

.section-intro {
  max-width: var(--measure);
  font-size: 1.08rem;
  opacity: 0.82;
  margin: 0 0 2.8rem;
}

/* ---------- prova / diferencial: asymmetric claims, not cards ---------- */

.proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.6rem;
}

@media (min-width: 880px) {
  .proof { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; gap: 4rem; }
}

.proof-lead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

.proof-lead .mark { background: linear-gradient(transparent 62%, var(--amber-300) 62%); }

.testimonial {
  margin: 1.8rem 0 0;
  padding: 1.1rem 0 1.1rem 1.2rem;
  border-left: 1px solid var(--plum-500);
}

.testimonial p {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.4;
}

.testimonial cite {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-style: normal;
  opacity: 0.65;
}

.claims {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.claims li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-block: 1.1rem;
  border-top: 1px solid var(--paper-200);
}
.claims li:first-child { border-top: none; padding-top: 0; }

.claims .icon {
  flex: none;
  width: 30px; height: 30px;
  margin-top: 0.15rem;
}

.claims h3 {
  font-size: 1.06rem;
  margin: 0 0 0.3rem;
  font-weight: 700;
}

.claims p { margin: 0; opacity: 0.78; font-size: 0.98rem; }

/* ---------- cardápio: strung confetti tags, not a uniform grid ---------- */

.menu-strip {
  position: relative;
  margin-top: 1rem;
}

.menu-rope {
  position: absolute;
  left: 0; right: 0; top: 46%;
  height: 2px;
  background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--paper-100) 35%, transparent) 0 10px, transparent 10px 20px);
  z-index: 0;
}

.menu-items {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 1.1rem;
}

.menu-tag {
  --tilt: 0deg;
  padding: 1.5rem 1.5rem 1.35rem;
  border-radius: 14px 26px 14px 26px;
  min-width: 190px;
  flex: 1 1 210px;
  transform: rotate(var(--tilt));
  transition: transform 0.4s var(--ease-out-expo);
  color: var(--night-900);
  position: relative;
  isolation: isolate;
}

.menu-tag:hover, .menu-tag:focus-within { transform: rotate(0deg) translateY(-4px); }

.menu-tag::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background-image: radial-gradient(color-mix(in srgb, var(--night-900) 14%, transparent) 1px, transparent 1.4px);
  background-size: 9px 9px;
  opacity: 0.35;
  mix-blend-mode: multiply;
  z-index: -1;
}

.menu-tag.c1 { background: var(--amber-500); }
.menu-tag.c2 { background: var(--teal-300); }
.menu-tag.c3 { background: var(--plum-300); }
.menu-tag.c4 { background: var(--amber-300); }
.menu-tag.c5 { background: var(--teal-500); color: var(--paper-100); }

.menu-tag h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  margin: 0 0 0.35rem;
  letter-spacing: -0.01em;
}

.menu-tag p { margin: 0; font-size: 0.9rem; opacity: 0.85; }

.kit-prices {
  margin-top: 2.8rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--night-700);
}

.kit-prices h3 {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.6;
  font-weight: 500;
  margin: 0 0 1.1rem;
}

.kit-prices ul {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 2.6rem;
}

.kit-prices li {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  font-family: var(--font-mono);
}

.kit-prices .qty {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--paper-100);
}

.kit-prices .label {
  font-size: 0.78rem;
  opacity: 0.6;
}

.kit-prices .price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--amber-500);
  margin-left: 0.3rem;
}

.kit-prices > p {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  opacity: 0.6;
  margin: 0;
}

.menu-cta {
  margin-top: 2rem;
}

/* ---------- como pedir: numbered steps (order is functional) ---------- */

.steps {
  display: grid;
  gap: 2.2rem;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.step .num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--plum-500);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.step .num::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--plum-500);
}

.step h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
}

.step p { margin: 0; opacity: 0.75; }

/* ---------- camadas: recipe cross-section reveal ---------- */

.layers-block {
  display: grid;
  gap: 3rem;
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 880px) {
  .layers-block { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
}

.layers-copy p { opacity: 0.85; max-width: 42ch; }

.layers-diagram {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 380px;
  margin-inline: auto;
}

.layers-diagram svg { width: 100%; height: 100%; }

.layer-shape {
  transform-origin: 50% 50%;
  opacity: 0;
  transform: translateY(14px) scale(0.94);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.layers-diagram.is-revealed .layer-shape {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.layers-diagram.is-revealed .layer-shape:nth-child(1) { transition-delay: 0s; }
.layers-diagram.is-revealed .layer-shape:nth-child(2) { transition-delay: 0.12s; }
.layers-diagram.is-revealed .layer-shape:nth-child(3) { transition-delay: 0.24s; }
.layers-diagram.is-revealed .layer-shape:nth-child(4) { transition-delay: 0.36s; }

.layer-legend {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.layer-legend li { display: flex; align-items: center; gap: 0.6rem; }
.layer-legend .swatch { width: 12px; height: 12px; border-radius: 3px; flex: none; }

/* ---------- localização ---------- */

.info-grid {
  display: grid;
  gap: 2.4rem;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 780px) {
  .info-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.info-card h3 {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.6;
  margin: 0 0 0.9rem;
  font-weight: 500;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

.hours-table td { padding: 0.55rem 0; border-top: 1px solid var(--paper-200); }
.hours-table tr:first-child td { border-top: none; }
.hours-table td:last-child { text-align: right; font-weight: 700; }
.hours-table tr.closed td:last-child { opacity: 0.5; font-weight: 400; }

.address-block p { margin: 0 0 1.3rem; font-size: 1.05rem; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--night-900);
  color: color-mix(in srgb, var(--paper-100) 70%, transparent);
  padding-block: 3.4rem 2.4rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid var(--night-700);
}

.footer-tag {
  max-width: 34ch;
  font-size: 0.98rem;
  opacity: 0.85;
  margin: 0.9rem 0 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  opacity: 0.55;
}

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
