/* ==========================================================
   Dolce Migliavaca — tortas e doces caseiros
   Linguagem visual inspirada em lacremamalta.com:
   turquesa com pinceladas, creme estampado, bordas onduladas,
   títulos manuscritos e botões amarelos com sombra deslocada.
   ========================================================== */

:root {
  --teal: #53abb4;
  --teal-deep: #4a8e97;
  --teal-dark: #2f6c74;
  --teal-light: #a9dde2;
  --cream: #eee9d5;
  --cream-2: #f7f3e6;
  --yellow: #ffcc31;
  --blue: #2a6f97;
  --blue-deep: #1f5a7d;
  --text: #33403f;
  --text-soft: #5b6a69;
  --line: #23545b;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);

  --font-hand: "Rock Salt", "Segoe Print", cursive;
  --font-body: "Oswald", "Arial Narrow", sans-serif;
  --font-script: "Yellowtail", cursive;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --radius: 22px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 19px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: var(--text); }

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

h1, h2 {
  font-family: var(--font-hand);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); }
h3 {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: .01em;
}

.title-teal { color: var(--teal-deep); }
.title-cream { color: var(--cream); }
.title-yellow { color: var(--yellow); }
.script { font-family: var(--font-script); font-weight: 400; }

.eyebrow {
  margin: 0 0 14px;
  font-weight: 400;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow--light { color: var(--teal-light); }

.brush-dash {
  display: block;
  width: 130px;
  height: 18px;
  margin: 0 0 14px;
  color: var(--cream);
}

/* ---------- Seções ---------- */
.teal-brush {
  position: relative;
  background-color: var(--teal);
  background-image: url("assets/brush.svg");
  background-size: cover;
  background-position: center;
  color: var(--cream);
}
.cream-pattern {
  position: relative;
  background-color: var(--cream);
  background-image: url("assets/pattern.svg");
  background-size: 320px;
}

/* bordas onduladas entre seções */
.wave {
  position: relative;
  z-index: 1;
  height: clamp(36px, 5vw, 64px);
  margin: -1px 0;
  pointer-events: none;
}
.wave svg { display: block; width: 100%; height: 100%; }
.wave--cream-to-teal { background: var(--cream); color: var(--teal); }
.wave--teal-to-cream { background: var(--teal); color: var(--cream); }
.wave--deep-to-cream { background: var(--teal-deep); color: var(--cream); }

/* ---------- Botões (pílula amarela com sombra deslocada) ---------- */
.btn {
  --bg: var(--yellow);
  --fg: var(--text);
  --shadow: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 50px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  box-shadow: 2px 4px 0 0 var(--shadow);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 19px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 140ms var(--ease-out), box-shadow 140ms var(--ease-out), background-color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
/* ao pressionar, o botão "afunda" na própria sombra */
.btn:active { transform: translate(2px, 4px); box-shadow: 0 0 0 0 var(--shadow); }
.btn--light { --bg: var(--teal-light); }
.btn--on-cream { --shadow: var(--teal-deep); }
.btn--small { min-width: 0; height: 42px; padding: 0 22px; font-size: 17px; }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translate(-1px, -2px); box-shadow: 3px 6px 0 0 var(--shadow); }
  .btn:active { transform: translate(2px, 4px); box-shadow: 0 0 0 0 var(--shadow); }
  .btn--light:hover { --bg: #bfe7eb; }
}

.round-btn {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  background: var(--cream);
  color: var(--teal-dark);
  box-shadow: 2px 4px 0 0 var(--teal-dark);
  cursor: pointer;
  transition: transform 140ms var(--ease-out), box-shadow 140ms var(--ease-out), opacity 200ms ease, background-color 200ms ease;
}
.round-btn svg { width: 22px; height: 22px; }
.round-btn:active:not(:disabled) { transform: translate(2px, 4px); box-shadow: 0 0 0 0 var(--teal-dark); }
.round-btn:disabled { opacity: .4; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .round-btn:not(:disabled):hover { background: var(--yellow); }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto 0;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px var(--gutter);
  color: var(--cream);
  transition: transform 400ms var(--ease-out), background-color 300ms ease, padding 300ms var(--ease-out), box-shadow 300ms ease;
}
.nav[data-scrolled="true"] {
  background: var(--teal-deep);
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .5);
}
.nav[data-hidden="true"] { transform: translateY(-100%); }

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.nav__pie { width: 52px; height: 30px; }
.nav__brand .script { font-size: 30px; line-height: 1; white-space: nowrap; transform: translateY(2px); }

.nav__links { display: flex; gap: 26px; }
.nav__links a {
  position: relative;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover::after { transform: scaleX(1); }
}
.nav__cta { --shadow: var(--teal-dark); }

.burger {
  display: none;
  width: 48px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 6px;
  right: 6px;
  height: 3px;
  border-radius: 3px;
  background: var(--cream);
  transition: transform 260ms var(--ease-out), opacity 200ms ease;
}
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 21px; left: 12px; }
.burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  z-index: 45;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 240ms ease, transform 300ms var(--ease-out), visibility 0s linear 300ms;
}
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mobile-menu nav a {
  font-family: var(--font-hand);
  font-size: 1.9rem;
  text-decoration: none;
  color: var(--cream);
}
.mobile-menu[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 240ms ease, transform 300ms var(--ease-out), visibility 0s;
}

@media (max-width: 980px) {
  .nav__links { display: none; }
  .burger { display: block; }
}
@media (max-width: 520px) {
  .nav__cta { display: none; }
  .nav__brand .script { font-size: 25px; }
  .nav__pie { width: 40px; }
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  min-height: 100svh;
  padding: 130px max(var(--gutter), calc((100vw - 1320px) / 2)) 60px;
  isolation: isolate;
}
.hero__title {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1.3;
  color: var(--cream);
  margin-bottom: 26px;
}
.hero__lead {
  max-width: 30ch;
  margin: 0 0 36px;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 400;
  color: var(--cream);
}
.hero__ctas { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

.hero__stage {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 620px;
  justify-self: center;
}
.hero__plate {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 0 10px rgba(238, 233, 213, .25), 10px 18px 0 0 var(--teal-deep);
}
.hero__plate::after {
  content: "";
  position: absolute;
  left: 20%; right: 20%; bottom: 20%;
  height: 12%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(47, 108, 116, .4), transparent);
  filter: blur(6px);
}

.viewer {
  position: absolute;
  inset: 0;
  cursor: grab;
  touch-action: pan-y;
}
.viewer:active { cursor: grabbing; }
.viewer canvas { display: block; width: 100% !important; height: 100% !important; outline: none; }
.viewer__fallback {
  position: absolute;
  inset: 16%;
  width: 68%;
  height: 68%;
  object-fit: cover;
  border-radius: 50%;
}

.stamp {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(104px, 11vw, 140px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 2px 4px 0 0 var(--teal-dark);
  pointer-events: none;
}
.stamp > svg:first-child {
  width: 100%;
  height: 100%;
  animation: spin 22s linear infinite;
}
.stamp text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: .14em;
  text-transform: uppercase;
  fill: var(--text);
}
.stamp__pie { position: absolute; inset: 30%; width: 40%; height: 40%; }
@keyframes spin { to { transform: rotate(360deg); } }

.hint {
  position: absolute;
  bottom: 3%;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--teal-dark);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.hint svg { width: 16px; height: 16px; }
.hero__stage[data-touched] .hint { opacity: 0; }

/* intro (só no primeiro carregamento) */
[data-intro] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms var(--ease-out-soft), transform 1100ms var(--ease-out-soft);
  transition-delay: calc(var(--i, 0) * 80ms + 80ms);
}
.hero__stage[data-intro] { transform: scale(.94); }
.is-ready [data-intro] { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 96px;
    text-align: center;
  }
  .hero__stage { order: -1; max-width: 460px; }
  .hero__lead { margin-inline: auto; }
  .hero__ctas { align-items: center; }
}

/* ---------- Marquee (reto) ---------- */
.marquee {
  background: var(--teal-deep);
  color: var(--cream);
  overflow: hidden;
  padding: 16px 0 6px;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee span {
  font-family: var(--font-hand);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  white-space: nowrap;
}
.marquee i { font-style: normal; color: var(--yellow); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- História ---------- */
.story {
  text-align: center;
  padding: clamp(64px, 8vw, 110px) var(--gutter) clamp(72px, 9vw, 120px);
}
.story h2 { margin: 0 auto 22px; max-width: 18ch; }
.story__lead {
  max-width: 54ch;
  margin: 0 auto;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 400;
  color: var(--teal-dark);
}
.values {
  list-style: none;
  padding: 0;
  margin: 56px auto 0;
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.values li {
  padding: 30px 26px 32px;
  border-radius: var(--radius);
  background: var(--cream-2);
  box-shadow: 3px 6px 0 0 var(--teal-light);
}
.values__icon {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--cream);
}
.values__icon svg { width: 38px; height: 38px; }
.values h3 { color: var(--teal-dark); margin-bottom: 6px; }
.values p { margin: 0; color: var(--text-soft); font-size: 17px; }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; max-width: 460px; } }

/* ---------- Cardápio ---------- */
.menu { padding: clamp(56px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); }

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 4px 40px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section-head > * { grid-column: 1; }
.section-head__lead { max-width: 46ch; margin: 10px 0 0; font-size: 1.2rem; font-weight: 400; }
.slider-nav { grid-column: 2; grid-row: 2 / span 2; display: flex; gap: 14px; align-self: end; }
@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; }
  .slider-nav { grid-column: 1; grid-row: auto; margin-top: 18px; }
}

.slider {
  margin-top: 44px;
  overflow: hidden;
  padding: 10px 0 24px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.slider[data-dragging="true"] { cursor: grabbing; }
.slider__track {
  list-style: none;
  margin: 0;
  padding: 0 var(--gutter);
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
}

.card {
  width: clamp(270px, 26vw, 340px);
  flex: none;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--text);
  box-shadow: 4px 8px 0 0 var(--teal-dark);
  overflow: hidden;
}
.card__media {
  position: relative;
  aspect-ratio: 1;
  background: var(--card-bg, var(--cream-2));
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 700ms var(--ease-out);
}
.card__media svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 700ms var(--ease-out);
}
.card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--yellow);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.card__n {
  position: absolute;
  top: 10px;
  right: 16px;
  font-family: var(--font-hand);
  font-size: 1.2rem;
  color: var(--teal-dark);
}
.card__media--photo .card__n { color: var(--cream); text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
.card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__body h3 { font-size: 1.55rem; color: var(--teal-dark); }
.card__body p { margin: 0; font-size: 17px; color: var(--text-soft); line-height: 1.5; }
.card__cta {
  margin-top: auto;
  padding-top: 10px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
  transition: transform 140ms var(--ease-out);
}
.card__cta svg { width: 16px; height: 16px; transition: transform 240ms var(--ease-out); }
.card__cta:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card__media img, .card:hover .card__media svg { transform: scale(1.04); }
  .card__cta:hover svg { transform: translateX(3px); }
}

.drag-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 92px;
  height: 92px;
  margin: -46px 0 0 -46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  scale: .6;
  transition: opacity 200ms ease, scale 260ms var(--ease-out);
  will-change: transform;
}
.drag-cursor[data-visible="true"] { opacity: 1; scale: 1; }
.drag-cursor[data-pressed="true"] { scale: .86; }
@media not ((hover: hover) and (pointer: fine)) { .drag-cursor { display: none; } }

/* ---------- Galeria ---------- */
.gallery {
  text-align: center;
  padding: clamp(64px, 8vw, 110px) var(--gutter) clamp(72px, 9vw, 120px);
}
.gallery__title { display: grid; gap: 4px; margin-bottom: 48px; }
.gallery__grid {
  max-width: var(--max);
  margin: 0 auto 52px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(120px, 14vw, 190px);
  gap: 18px;
}
.tile { margin: 0; overflow: hidden; border-radius: var(--radius); will-change: transform; }
.tile img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.tile--a { grid-column: 1 / span 5; grid-row: span 3; }
.tile--b { grid-column: 6 / span 3; grid-row: span 3; }
.tile--c { grid-column: 9 / span 4; grid-row: span 2; }
.tile--d { grid-column: 9 / span 4; grid-row: span 1; }
.tile--d img { object-position: 50% 40%; }
@media (max-width: 720px) {
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; gap: 12px; }
  .tile--a { grid-column: 1 / -1; grid-row: span 1; }
  .tile--b { grid-column: 1; grid-row: span 2; }
  .tile--c { grid-column: 2; grid-row: span 1; }
  .tile--d { grid-column: 2; grid-row: span 1; }
}

[data-clip] {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.12);
  transition: clip-path 1200ms var(--ease-in-out), transform 1600ms var(--ease-out-soft);
}
[data-clip].is-visible { clip-path: inset(0 0 0 0); transform: none; }

/* ---------- Mesa 3D ---------- */
.table3d {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  padding: clamp(56px, 7vw, 96px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.table3d__copy > p { max-width: 38ch; margin: 16px 0 28px; font-size: 1.2rem; font-weight: 400; }
.table3d__note { font-size: 15px !important; opacity: .7; margin-top: 18px !important; }

.tabs {
  position: relative;
  display: inline-flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  padding: 5px;
  border-radius: 999px;
  background: var(--teal-dark);
}
.tabs[hidden] { display: none; }
.tabs button {
  position: relative;
  z-index: 1;
  height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--cream);
  font-size: 17px;
  font-weight: 400;
  cursor: pointer;
  transition: color 200ms ease, transform 140ms var(--ease-out);
}
.tabs button:active { transform: scale(0.97); }
.tabs button[aria-selected="true"] { color: var(--text); }
.tabs__indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 42px;
  border-radius: 999px;
  background: var(--yellow);
  transition: transform 360ms var(--ease-out), width 360ms var(--ease-out);
}

.table3d__stage { position: relative; aspect-ratio: 1.05; width: 100%; }
.table3d__stage::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 10px 18px 0 0 var(--teal-deep);
}
.loader {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-dark);
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms ease;
}
.loader[data-active="true"] { opacity: 1; transition-delay: 150ms; }
.loader__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(47, 108, 116, .25);
  border-top-color: var(--teal-dark);
  animation: spin 600ms linear infinite;
}
@media (max-width: 900px) {
  .table3d { grid-template-columns: 1fr; text-align: center; }
  .table3d .brush-dash { margin-inline: auto; }
  .table3d__copy > p { margin-inline: auto; }
}

/* ---------- Como encomendar ---------- */
.order {
  text-align: center;
  padding: clamp(64px, 8vw, 110px) var(--gutter) clamp(72px, 9vw, 120px);
}
.steps {
  list-style: none;
  padding: 0;
  margin: 52px auto 0;
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step {
  padding: 34px 28px 36px;
  border-radius: var(--radius);
  background: var(--cream-2);
  box-shadow: 3px 6px 0 0 var(--teal-light);
}
.step__n {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 50%;
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: var(--cream);
  background: var(--teal);
}
.step:nth-child(2) .step__n { background: var(--blue); }
.step:nth-child(3) .step__n { background: var(--yellow); color: var(--text); }
.step h3 { color: var(--teal-dark); margin-bottom: 8px; font-size: 1.5rem; }
.step p { margin: 0; color: var(--text-soft); font-size: 17px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; max-width: 460px; } }

/* ---------- Contato ---------- */
.contact {
  text-align: center;
  padding: clamp(64px, 8vw, 110px) var(--gutter) clamp(80px, 10vw, 130px);
}
.contact .brush-dash { margin-inline: auto; }
.contact h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.contact__lead { margin: 12px 0 0; font-size: 1.25rem; font-weight: 400; }
.contact__phone {
  display: inline-block;
  margin: 22px 0 34px;
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: .02em;
  color: var(--yellow);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 3px no-repeat;
  transition: background-size 400ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .contact__phone:hover { background-size: 100% 3px; }
}
.contact__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ---------- Rodapé ---------- */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 40px;
  padding: 44px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 40px;
  background: var(--cream);
}
.footer__logo { width: 200px; height: auto; }
.logo-arc { font: 500 18px var(--font-body); letter-spacing: 5px; fill: var(--line); }
.logo-name { font: 400 62px var(--font-script); fill: var(--blue); }
.footer__meta { text-align: right; color: var(--text-soft); font-size: 17px; }
.footer__meta p { margin: 0 0 4px; }
.footer__meta a { text-decoration: none; font-weight: 500; color: var(--teal-dark); }
.footer__copy { font-size: 15px; opacity: .8; }
@media (max-width: 640px) {
  .footer { flex-direction: column; text-align: center; }
  .footer__meta { text-align: center; }
}

/* ---------- Revelar ao rolar ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 800ms var(--ease-out-soft), transform 900ms var(--ease-out-soft);
  transition-delay: calc(var(--i, 0) * 60ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

.no-js [data-reveal], .no-js [data-intro] { opacity: 1; transform: none; }
.no-js [data-clip] { clip-path: none; transform: none; }

/* ---------- Movimento reduzido: mantém os fades, tira o deslocamento ---------- */
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-intro], .hero__stage[data-intro] {
    transform: none !important;
    transition: opacity 400ms ease;
  }
  [data-clip] { transform: none; clip-path: none; opacity: 0; transition: opacity 500ms ease; }
  [data-clip].is-visible { opacity: 1; }
  .marquee__track, .stamp > svg:first-child { animation: none; }
  .tile { transform: none !important; }
  .mobile-menu { transform: none; }
}

/* ---------- Tele-entrega ---------- */
.delivery-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 26px 0 0;
  padding: 6px 16px 6px 12px;
  border-radius: 999px;
  background: var(--teal-dark);
  color: var(--cream);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .02em;
}
.delivery-badge svg { width: 18px; height: 18px; flex: none; color: var(--yellow); }

.delivery {
  max-width: var(--max);
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px 24px;
  padding: 26px 30px;
  border-radius: var(--radius);
  background: var(--yellow);
  box-shadow: 3px 6px 0 0 var(--teal-deep);
  text-align: left;
}
.delivery__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal-dark);
  color: var(--cream);
}
.delivery__icon svg { width: 32px; height: 32px; }
.delivery h3 { font-size: 1.6rem; color: var(--teal-dark); }
.delivery p { margin: 2px 0 0; font-size: 17px; font-weight: 400; color: var(--text); }
.delivery__cities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.delivery__cities li {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--teal-dark);
  font-weight: 500;
  font-size: 17px;
  white-space: nowrap;
}
@media (max-width: 820px) {
  .delivery { grid-template-columns: auto 1fr; max-width: 460px; }
  .delivery__cities { grid-column: 1 / -1; }
}

/* ---------- Créditos (licença CC BY do modelo 3D) ---------- */
.table3d__note a, .footer__credits a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.footer__credits { font-size: 13px; opacity: .75; max-width: 46ch; margin-left: auto !important; }
@media (max-width: 640px) { .footer__credits { margin-inline: auto !important; } }
