:root {
  --bg: #191919;
  --surface: #242424;
  --ink: #ffffff;
  --muted: #9a9a9a;
  --accent: #0c7866;
  --accent-ink: #ffffff;
  --field-1: #ffe927;
  --field-1-ink: #111111;
  --field-2: #1e5aa8;
  --field-2-ink: #ffffff;
  --field-3: #0c7866;
  --field-3-ink: #ffffff;
  --field-4: #d71e1e;
  --field-4-ink: #ffffff;
  --font-display: "Libre Franklin", "Avenir Next", "Segoe UI", sans-serif;
  --font-text: "Source Serif 4", Georgia, serif;
  --step-small: clamp(0.875rem, 0.84rem + 0.15vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  --step-head: clamp(2rem, 1.1rem + 3.6vw, 4.5rem);
  --step-display: clamp(2.8rem, 1.2rem + 6.5vw, 7.2rem);
  --margin: clamp(1rem, 3vw, 2.2rem);
  --gutter: 12px;
  --section: clamp(4.5rem, 10vw, 10rem);
  --radius: 0px;
  --header: 4.25rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
img { display: block; max-width: 100%; height: auto; background: var(--surface); }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--field-1); color: var(--field-1-ink); }
:focus-visible { outline: 2px solid var(--field-1); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-wrap: balance;
}
.display { font-size: var(--step-display); text-transform: uppercase; max-width: 8ch; }
.head { font-size: var(--step-head); }
.lead { font-size: var(--step-lead); line-height: 1.35; max-width: 40ch; font-family: var(--font-text); font-weight: 400; }
.small { font-size: var(--step-small); }
.muted { color: var(--muted); }
p { max-width: 62ch; }
p + p { margin-top: 0.9em; }

.skip {
  position: absolute; left: 12px; top: -48px;
  background: var(--field-1); color: var(--field-1-ink); padding: 8px 14px; z-index: 40;
}
.skip:focus { top: 12px; }
.wrap { padding-inline: var(--margin); }
.section { padding-block: calc(var(--section) / 2); }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.1rem; padding: 0 1.4rem;
  background: var(--accent); color: var(--accent-ink);
  text-decoration: none; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em;
  transition: transform var(--t-press) var(--ease-out);
}
.button:active { transform: scale(0.97); }
.button-full { width: 100%; }
.button-yellow { background: var(--field-1); color: var(--field-1-ink); }

.site-header { position: sticky; top: 0; z-index: 30; background: var(--bg); }
.header-inner { display: flex; align-items: center; gap: 1.2rem; min-height: var(--header); }
.logo {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: -0.04em; font-size: 1.15rem; text-decoration: none; margin-right: auto;
}
.menu-toggle { display: none; color: var(--ink); }
.nav { display: flex; gap: 1.3rem; }
.nav a { font-family: var(--font-display); font-weight: 700; font-size: var(--step-small); text-decoration: none; text-transform: uppercase; letter-spacing: -0.02em; }
.nav a:hover, .nav a.is-active { color: var(--field-1); }

.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--gutter);
  min-height: calc(100svh - var(--header));
  padding: 1.2rem var(--margin) 2rem;
  align-items: start;
}
.hero-copy h1 { max-width: 11ch; }
.hero-copy p { margin-top: 1.2rem; }
.hero-copy .button { margin-top: 1.6rem; }
.mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-template-rows: 1.1fr 0.9fr;
  gap: var(--gutter);
  min-height: 70svh;
}
.mosaic a {
  display: block; overflow: hidden; text-decoration: none; position: relative;
}
.mosaic a:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 3; background: var(--field-1); }
.mosaic a:nth-child(2) { background: var(--field-2); }
.mosaic a:nth-child(3) { background: var(--field-3); }
.mosaic a:nth-child(4) { grid-column: 2 / 4; background: var(--field-4); }
.mosaic img {
  width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply;
  background: transparent;
}
.mosaic span {
  position: absolute; left: 12px; bottom: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: var(--step-small);
  text-transform: uppercase;
}

.days {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--gutter);
  padding: 0 var(--margin) var(--section);
}
.day {
  min-height: 52svh;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  background-size: cover;
  background-position: center;
}
.day h2 { font-size: clamp(2rem, 4vw, 3.2rem); text-transform: uppercase; }
.day p { margin-top: 0.5rem; max-width: 28ch; }
.day-manha { background-color: var(--field-1); color: var(--field-1-ink); }
.day-ecra { background-color: var(--field-2); color: var(--field-2-ink); }
.day-noite { background-color: var(--field-3); color: var(--field-3-ink); }

.catalogue { padding: 0 var(--margin) var(--section); }
.catalogue h2 { margin-bottom: 1.4rem; text-transform: uppercase; }
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}
.tile {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.tile-frame {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 8%;
}
.tile:nth-child(4n+1) .tile-frame { background: var(--field-1); }
.tile:nth-child(4n+2) .tile-frame { background: var(--field-2); }
.tile:nth-child(4n+3) .tile-frame { background: var(--field-3); }
.tile:nth-child(4n) .tile-frame { background: var(--field-4); }
.tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.tile img { width: 100%; mix-blend-mode: multiply; background: transparent; }
.tile h3 {
  margin-top: 0.7rem;
  font-size: 1.15rem;
  text-transform: none;
  letter-spacing: -0.03em;
}
.tile .price { font-family: var(--font-text); color: var(--muted); margin-top: 0.2rem; }

.grow {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.7fr;
  gap: var(--gutter);
  align-items: end;
  padding: 0 var(--margin) var(--section);
}
.grow-item { display: flex; flex-direction: column; gap: 0.7rem; }
.grow-item img { width: 100%; object-fit: cover; }
.grow-item:nth-child(1) img { height: 30vh; background: var(--field-1); }
.grow-item:nth-child(2) img { height: 44vh; background: var(--field-2); }
.grow-item:nth-child(3) img { height: 60vh; background: var(--field-3); }
.grow h2 { grid-column: 1 / 3; margin-bottom: 1rem; text-transform: uppercase; }

.split-heat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70svh;
}
.split-heat a { text-decoration: none; padding: 2.2rem var(--margin); display: flex; flex-direction: column; justify-content: flex-end; min-height: 50svh; }
.split-heat .warm { background: var(--field-1); color: var(--field-1-ink); }
.split-heat .cool { background: var(--field-2); color: var(--field-2-ink); }
.split-heat h2 { text-transform: uppercase; font-size: var(--step-head); }

.cod-band {
  background: var(--field-1);
  color: var(--field-1-ink);
  padding: 12vw var(--margin);
}
.cod-band h2 { max-width: 16ch; text-transform: uppercase; }
.cod-band p { margin-top: 1rem; }

.cta-photos { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.cta-photos img { width: 100%; height: 40svh; object-fit: cover; }
.cta-field {
  background: var(--field-3);
  color: var(--field-3-ink);
  min-height: 44svh;
  padding: 8vw var(--margin);
}
.cta-field a { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }

.postcard {
  margin: 0 var(--margin) 2.5rem;
  background: #f3efe4;
  color: #191919;
  padding: 2.4rem 2rem 1.4rem;
  clip-path: polygon(0 18px, 4.16% 0, 8.33% 18px, 12.5% 0, 16.66% 18px, 20.83% 0, 25% 18px, 29.16% 0, 33.33% 18px, 37.5% 0, 41.66% 18px, 45.83% 0, 50% 18px, 54.16% 0, 58.33% 18px, 62.5% 0, 66.66% 18px, 70.83% 0, 75% 18px, 79.16% 0, 83.33% 18px, 87.5% 0, 91.66% 18px, 95.83% 0, 100% 18px, 100% 100%, 0 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.postcard h2 { text-transform: none; font-size: 2rem; }
.postcard a { text-decoration: none; display: block; margin-top: 0.4rem; }
.stamp { width: 88px; height: 118px; object-fit: cover; justify-self: end; }
.imprint { grid-column: 1 / -1; text-align: center; font-size: var(--step-small); color: #5a5a5a; }
.credits, .legal-note { color: var(--muted); font-size: var(--step-small); max-width: 80ch; padding: 0 var(--margin) 1rem; }

.page-main { padding: 2rem var(--margin) var(--section); }
.crumbs { font-size: var(--step-small); color: var(--muted); margin-bottom: 1rem; }
.crumbs a { text-decoration: none; }
.prose h1 { margin-bottom: 1rem; max-width: 16ch; text-transform: uppercase; }
.prose h2 { margin: 1.8rem 0 0.6rem; font-size: var(--step-lead); text-transform: uppercase; }
.prose ul, .prose ol { margin: 0.8rem 0 1.2rem; padding-left: 1.2rem; }
.note { margin-top: 1.4rem; color: var(--muted); font-size: var(--step-small); }

.pdp-hero img { width: 100%; height: 62svh; object-fit: cover; }
.pdp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; padding: 2.4rem var(--margin) var(--section); }
.price-lg { font-family: var(--font-display); font-weight: 700; font-size: var(--step-head); margin: 0.4rem 0; }
.order-form { background: var(--surface); padding: 1.6rem; }
.order-form label { display: block; margin: 0.8rem 0 0.3rem; font-size: var(--step-small); font-family: var(--font-display); font-weight: 700; }
.order-form input, .order-form select, .order-form textarea {
  width: 100%; min-height: 3rem; padding: 0.55rem 0.8rem; background: var(--bg); border: 0;
}
.order-form textarea { min-height: 5rem; }
.order-form .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.totals { display: grid; gap: 0.35rem; margin: 1rem 0; font-variant-numeric: tabular-nums; }
.totals div { display: flex; justify-content: space-between; }
.check { display: flex; gap: 0.55rem; align-items: flex-start; margin: 0.7rem 0; font-size: var(--step-small); }
.check input { width: auto; min-height: 0; margin-top: 0.3rem; }
.form-error { color: #ffb4a8; min-height: 1.3em; }
.field-error { outline: 2px solid #ffb4a8; }
.menu-list a {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 1rem; align-items: center;
  text-decoration: none; padding: 1rem 0;
}
.menu-list img { width: 72px; height: 72px; object-fit: cover; }
.related { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); margin-top: 2rem; }
.related a { text-decoration: none; }
.related img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 0.6rem; }
.panel { background: var(--surface); padding: 1.4rem; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; inset: var(--header) 0 auto 0;
    background: var(--bg); flex-direction: column; padding: 0.4rem var(--margin) 1.2rem; gap: 0.8rem;
  }
  .nav.is-open { display: flex; }
  .hero, .days, .tiles, .grow, .split-heat, .cta-photos, .pdp-split, .postcard, .related {
    grid-template-columns: 1fr;
  }
  .hero { min-height: 0; }
  .mosaic { min-height: 70vw; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .mosaic a:nth-child(1), .mosaic a:nth-child(4), .tile:nth-child(1) { grid-column: span 1; grid-row: span 1; }
  .day { min-height: 42svh; }
  .grow-item img { height: 42vw !important; }
  .cta-photos img { height: 28svh; }
  .order-form .grid-2 { grid-template-columns: 1fr; }
  .pdp-hero img { height: 48svh; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
