/* =========================================================
   Antes que se esqueça — Landing page
   Paleta da marca: terracota #B04A2B · creme #FDF3E6
   apoio (ID visual): pêssego #F6B49A · cacau #5C261C
   Tipografia: Fredoka (arredondada, display) + Outfit (geométrica, texto)
   ========================================================= */

:root {
  --cream: #fdf3e6;
  --cream-2: #f7e6d0;
  --terracotta: #b04a2b;
  --terracotta-deep: #93391f;
  --peach: #f6b49a;
  --peach-soft: #fad3c1;
  --cocoa: #5c261c;
  --cocoa-deep: #431a13;

  --text: var(--cocoa);
  --focus: #1f6feb;

  --font-hero: "Fraunces", Georgia, serif;
  --font-display: "Fredoka", "Nunito", ui-rounded, system-ui, sans-serif;
  --font-body: "Outfit", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(88px, 11vw, 160px);
  --radius-xl: clamp(28px, 4vw, 48px);
  --overlap: clamp(28px, 4vw, 48px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-body);
  font-size: 1.125rem;          /* 18px — nada de fonte minúscula */
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; }

/* textura de papel sutil */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.36 0 0 0 0 0.15 0 0 0 0 0.1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  background: var(--cocoa);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- tipografia ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 em, h2 em {
  font-style: normal;
  color: var(--terracotta);
}
.h2 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem); }
h3 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem); line-height: 1.15; }
p { text-wrap: pretty; }

.lead {
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  line-height: 1.6;
  max-width: 38ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 20px;
}
.eyebrow--peach { color: var(--peach); }
.eyebrow--cream { color: var(--cream); }
.eyebrow .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 22%, transparent);
}

/* ---------- logo (SVG da marca como máscara → herda a cor) ---------- */
.logo {
  display: block;
  background-color: currentColor;
  -webkit-mask: var(--logo-src) center / contain no-repeat;
  mask: var(--logo-src) center / contain no-repeat;
}
.logo--mark { --logo-src: url("../assets/brand/logo-mark.svg"); aspect-ratio: 1673 / 646; }
.logo--horizontal { --logo-src: url("../assets/brand/logo-horizontal.svg"); aspect-ratio: 1673 / 716; }
.logo--vertical { --logo-src: url("../assets/brand/logo-vertical.svg"); aspect-ratio: 931 / 790; }

/* ---------- botões ---------- */
.btn {
  --btn-bg: var(--terracotta);
  --btn-fg: var(--cream);
  --btn-bg-hover: var(--cocoa);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn:active { transform: scale(0.98); }
.btn__icon {
  width: 22px;
  height: 22px;
  flex: none;
  transition: transform 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--btn-bg-hover); }
  .btn:hover .btn__icon { transform: translateX(4px); }
}
.btn--primary { --btn-bg: var(--terracotta); --btn-fg: var(--cream); --btn-bg-hover: var(--cocoa); }
.btn--cream { --btn-bg: var(--cream); --btn-fg: var(--terracotta-deep); --btn-bg-hover: var(--peach); }
.btn--peach { --btn-bg: var(--peach); --btn-fg: var(--cocoa); --btn-bg-hover: var(--cream); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--cocoa);
  --btn-bg-hover: var(--cream-2);
  border-color: color-mix(in srgb, var(--cocoa) 30%, transparent);
}
.btn--sm { min-height: 48px; padding: 10px 20px; font-size: 1rem; }
.btn--lg { min-height: 64px; padding: 18px 34px; font-size: 1.1875rem; }

/* =========================================================
   HEADER — pílula flutuante cacau (contrasta com o creme)
   ========================================================= */
.site-header {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  left: 0;
  right: 0;
  z-index: 50;
  padding-inline: 12px;
  pointer-events: none;
  transition: transform 250ms var(--ease-out);
}
.site-header:focus-within { transform: none; }
.site-header.is-hidden:not(:focus-within) { transform: translateY(calc(-100% - 24px)); }
.site-header__inner {
  pointer-events: auto;
  max-width: 1120px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cocoa) 94%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--cream);
  box-shadow: 0 10px 30px -12px rgba(67, 26, 19, 0.45);
}
.site-header__brand { display: block; color: var(--cream); padding: 4px 0; border-radius: 999px; }
.site-header__brand .logo { height: 40px; width: auto; }
.site-header__nav { display: none; gap: 4px; }
.site-header__nav a {
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: background-color 0.25s;
}
.site-header__nav a:hover { background: rgba(253, 243, 230, 0.12); }
@media (min-width: 900px) {
  .site-header__nav { display: flex; }
  .site-header__brand .logo { height: 44px; }
}

/* =========================================================
   HERO — creme
   ========================================================= */
.hero {
  position: relative;
  padding-top: clamp(124px, 11vw, 152px);
  padding-bottom: clamp(72px, 9vw, 120px);
  background:
    radial-gradient(60% 50% at 85% 20%, color-mix(in srgb, var(--peach) 45%, transparent), transparent 70%),
    var(--cream);
  overflow: clip;
}
.hero__grid {
  display: grid;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.hero__title {
  font-family: var(--font-hero);
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: clamp(2.75rem, 1.3rem + 4.1vw, 5rem);
  line-height: 1.07;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  max-width: 17ch;
  text-wrap: pretty;
}
.hero__title em { font-style: italic; }
.hero__eyebrow { color: var(--terracotta-deep); font-size: 0.75rem; letter-spacing: 0.1em; margin-bottom: 24px; }
.hero__lead { margin-bottom: 28px; max-width: 44ch; font-size: clamp(1.0625rem, 0.98rem + 0.25vw, 1.1875rem); line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 22px; }
.hero__actions .btn--ghost { border: 0; padding-inline: 0; background: transparent; min-height: 44px; font-size: 1rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.hero__note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 40ch;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--cocoa) 85%, var(--cream));
}
.hero__note svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--terracotta); }

.hero__visual {
  position: relative;
  width: min(100%, 520px);
  justify-self: center;
  margin-inline: auto;
  padding: 6% 6% 8%;
}
.hero__photo {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: 0 40px 80px -40px rgba(67, 26, 19, 0.55);
  transform: rotate(2deg);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__sticker--mono {
  position: absolute;
  width: 30%;
  top: 0;
  left: -2%;
  transform: rotate(-12deg);
  filter: drop-shadow(0 12px 18px rgba(67, 26, 19, 0.25));
}
.hero__badge {
  position: absolute;
  right: -2%;
  bottom: 2%;
  width: clamp(116px, 30%, 160px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cocoa);
  color: var(--peach);
  display: grid;
  place-items: center;
  box-shadow: 0 16px 30px -12px rgba(67, 26, 19, 0.5);
}
.hero__badge-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;

}
.hero__badge-ring text {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  fill: var(--peach);
}
.hero__badge-heart { width: 30%; color: var(--terracotta); filter: brightness(1.25); }
.hero__tag {
  position: absolute;
  left: -4%;
  bottom: 16%;
  display: grid;
  gap: 2px;
  padding: 14px 20px 14px 18px;
  border-radius: 18px;
  background: var(--cream);
  box-shadow: 0 18px 40px -18px rgba(67, 26, 19, 0.45);
  transform: rotate(-4deg);
  border: 2px dashed color-mix(in srgb, var(--terracotta) 45%, transparent);
}
.hero__tag span { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--terracotta); line-height: 1.1; }
.hero__tag small { font-size: 0.9375rem; color: var(--cocoa); }

@media (min-width: 960px) {
  .hero { min-height: min(100svh, 900px); display: flex; align-items: center; }
  .hero__grid { grid-template-columns: 1.12fr 0.88fr; }
  .hero__visual { margin-inline: 0; justify-self: end; }
}

/* Text is visible before JavaScript loads and when the animation CDN fails. */


/* =========================================================
   MARQUEE — terracota, levemente inclinado
   ========================================================= */
.marquee-clip { position: relative; z-index: 3; overflow: clip; padding-block: 24px; margin-block: -24px; }
.marquee {
  position: relative;
  z-index: 3;
  background: var(--terracotta);
  color: var(--cream);
  padding-block: 18px;
  transform: rotate(-1.6deg);
  margin-inline: -4vw;
  margin-bottom: calc(var(--overlap) * -0.4);
  overflow: hidden;
  box-shadow: 0 18px 30px -20px rgba(67, 26, 19, 0.6);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding-right: 28px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.375rem, 1rem + 1.4vw, 2.125rem);
}
.marquee__track i { font-style: normal; color: var(--peach); font-size: 0.8em; }

/* =========================================================
   Seções sobrepostas com cantos arredondados
   ========================================================= */
.statement,
.inside,
.process,
.occasions,
.gallery,
.faq,
.final,
.site-footer {
  position: relative;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  margin-top: calc(var(--overlap) * -1);
  padding-bottom: calc(var(--section-y) + var(--overlap));
}

/* =========================================================
   STATEMENT — cacau
   ========================================================= */
.statement {
  z-index: 2;
  background: var(--cocoa);
  color: var(--cream);
  padding-top: calc(var(--section-y) + 24px);
  overflow: hidden;
}
.statement__inner { max-width: 1100px; }
.statement__text {
  font-size: clamp(2rem, 1.2rem + 3.4vw, 4rem);
  line-height: 1.12;
  font-weight: 500;
  margin-bottom: 36px;
  text-wrap: pretty;
}
.statement__sub {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  font-weight: 600;
  color: var(--peach);
}
.statement__scribble {
  position: absolute;
  right: -40px;
  bottom: calc(var(--overlap) + 24px);
  width: min(60vw, 560px);
  color: var(--terracotta);
  opacity: 0.9;
}

/* =========================================================
   A CAIXA — creme
   ========================================================= */
.inside {
  z-index: 3;
  background: var(--cream);
  padding-top: var(--section-y);
}
.inside__grid { display: grid; gap: clamp(40px, 6vw, 88px); align-items: center; }
.inside__photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 40px 80px -48px rgba(67, 26, 19, 0.6);
}
.inside__photo img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; }
.inside__copy .h2 { margin-bottom: 20px; }
.inside__copy .lead { margin-bottom: 36px; }
.inside__list { display: grid; gap: 4px; margin-bottom: 40px; }
.inside__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 2px solid color-mix(in srgb, var(--terracotta) 22%, transparent);
}
.inside__list li:last-child { border-bottom: 2px solid color-mix(in srgb, var(--terracotta) 22%, transparent); }
.inside__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--cream);
  background: var(--terracotta);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.inside__list h3 { margin-bottom: 6px; }
.inside__list p { font-size: 1.0625rem; max-width: 46ch; }
@media (min-width: 900px) {
  .inside__grid { grid-template-columns: 1fr 1fr; }
  .inside__photo { aspect-ratio: 4 / 3; position: sticky; top: 120px; }
}

/* =========================================================
   COMO FUNCIONA — terracota, palco "sticky" + passos com scrub
   ========================================================= */
.process {
  z-index: 4;
  background: var(--terracotta);
  color: var(--cream);
  padding-top: var(--section-y);
}
.process__grid { display: grid; gap: 32px; }
.process__copy .h2 { margin-bottom: 8px; max-width: 14ch; }
.process__steps { counter-reset: s; margin: 24px 0 40px; }
.process__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 28px 0;
  min-height: 0;
  align-content: center;
  opacity: 1;
  transition: opacity 200ms ease;
}
.process.is-tracking .process__step { opacity: 1; }
.process.is-tracking .process__step.is-active { opacity: 1; }
.process__step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid var(--cream);
  transition: background-color 0.4s, color 0.4s;
}
.process__step.is-active .process__step-num { background: var(--cream); color: var(--terracotta); }
.process__step h3 { margin-bottom: 8px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.process__step p { font-size: 1.125rem; max-width: 40ch; }

.process__stage {
  position: relative;
  top: auto;
  z-index: 2;
  order: -1;
  padding-block: 8px;
  background: var(--terracotta);
}
.process__copy { display: contents; }
.process__copy > .eyebrow,
.process__copy > .h2 { order: -2; }

.diorama {
  position: relative;
  width: 100%;
  max-height: 28svh;
  width: min(100%, 31.11svh);
  aspect-ratio: 10 / 9;
  margin-inline: auto;
  border-radius: 28px;
  background-color: var(--cream);
  background-image:
    linear-gradient(color-mix(in srgb, var(--terracotta) 9%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--terracotta) 9%, transparent) 1px, transparent 1px);
  background-size: 24px 24px;
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--cocoa) 12%, transparent), 0 30px 60px -30px rgba(67, 26, 19, 0.6);
  overflow: hidden;
}
.diorama svg { width: 100%; height: 100%; }
.process__progress {
  height: 6px;
  border-radius: 99px;
  background: rgba(253, 243, 230, 0.25);
  margin-bottom: 12px;
  overflow: hidden;
}
.process__progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--cream);
  transform-origin: 0 50%;
  transform: scaleX(0);
}
.process__caption {
  margin-top: 12px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--cream);
}

@media (min-width: 960px) {
  .process__grid { grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 96px); align-items: start; }
  .process__copy { display: block; }
  .process__stage { position: sticky; order: 0; top: max(24px, calc(50svh - 250px)); padding: 0; background: transparent; }
  .process__step { min-height: 180px; }
  .process__step:first-child { min-height: 180px; }
  .diorama { width: 100%; max-height: 65svh; max-width: 560px; }
}

/* =========================================================
   PRA QUEM — pêssego, trilho horizontal
   ========================================================= */
.occasions {
  z-index: 5;
  background: var(--peach);
  color: var(--cocoa);
  padding-top: var(--section-y);
  overflow: hidden;
}
.occasions .eyebrow { color: var(--cocoa); }
.occasions__head .h2 { margin-bottom: 16px; max-width: 16ch; }
.occasions__head .lead { margin-bottom: 40px; }
.occasions__head h2 em { color: var(--terracotta-deep); }
.occasions__viewport {
  overflow-x: auto;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
}
.occasions__viewport::-webkit-scrollbar { display: none; }
.occasions__track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding-block: 12px 28px;
  padding-right: var(--gutter);
}
.card {
  scroll-snap-align: start;
  width: min(82vw, 340px);
  min-height: 340px;
  padding: 32px 28px;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 24px 40px -28px rgba(67, 26, 19, 0.6);
}
.card:nth-child(odd) { transform: rotate(-1.2deg); }
.card:nth-child(even) { transform: rotate(1.2deg); }
.card__icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
}
.card__icon svg { width: 40px; height: 40px; }
.card h3 { font-size: 1.75rem; margin-top: 32px; }
.card p { font-size: 1.0625rem; }
.card--cream { background: var(--cream); color: var(--cocoa); }
.card--cream .card__icon { background: var(--peach-soft); color: var(--terracotta); }
.card--terracotta { background: var(--terracotta); color: var(--cream); }
.card--terracotta .card__icon { background: rgba(253, 243, 230, 0.16); color: var(--cream); }
.card--cocoa { background: var(--cocoa); color: var(--cream); }
.card--cocoa .card__icon { background: rgba(246, 180, 154, 0.18); color: var(--peach); }
.occasions__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.occasions__hint { font-weight: 600; font-size: 1rem; }

@media (min-width: 1024px) {
  .card { width: 360px; min-height: 380px; }
  .occasions__track { gap: 24px; }
}
/* quando o GSAP fizer o scroll horizontal pinado */
.occasions.is-pinned { padding-block: 44px 64px; }
.occasions.is-pinned .occasions__viewport { overflow: clip; scroll-snap-type: none; touch-action: pan-y; }
.occasions.is-pinned .occasions__head .h2 { max-width: 23ch; font-size: clamp(2.5rem, 3.5vw, 3.5rem); }
.occasions.is-pinned .occasions__head .lead { margin-bottom: 20px; max-width: 60ch; }
.occasions.is-pinned .eyebrow { margin-bottom: 12px; }
.occasions.is-pinned .card { min-height: 320px; padding: 28px; }
.occasions.is-pinned .card h3 { margin-top: 16px; }
.occasions.is-pinned .occasions__foot { margin-top: 16px; }


/* =========================================================
   GALERIA — creme
   ========================================================= */
.gallery {
  z-index: 6;
  background: var(--cream);
  padding-top: var(--section-y);
}
.gallery__head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
.gallery__head .h2 { max-width: 14ch; }
.gallery__grid { display: grid; gap: 24px; }
.gallery__item { display: grid; gap: 16px; }
.gallery__frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--cream-2);
}
.gallery__frame img {
  position: absolute;
  inset: -10% 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
}
.gallery__item figcaption { display: grid; gap: 4px; }
.gallery__item strong { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--terracotta); line-height: 1.15; }
.gallery__item span { font-size: 1.0625rem; }
@media (min-width: 720px) {
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .gallery__item--tall { grid-row: span 2; }
  .gallery__item--tall .gallery__frame { aspect-ratio: auto; height: 100%; min-height: 520px; }
}
@media (min-width: 960px) {
  .gallery__head { grid-template-columns: 1.2fr 1fr; align-items: end; }
  .gallery__grid { grid-template-columns: 1.15fr 1fr; gap: 32px; }
}

/* =========================================================
   FAQ — cacau
   ========================================================= */
.faq {
  z-index: 7;
  background: var(--cocoa);
  color: var(--cream);
  padding-top: var(--section-y);
}
.faq__grid { display: grid; gap: 48px; }
.faq__intro .h2 { margin-bottom: 20px; }
.faq__intro .lead { margin-bottom: 32px; }
.faq__list { display: grid; gap: 12px; }
.faq details {
  border-radius: 24px;
  background: rgba(253, 243, 230, 0.06);
  border: 2px solid rgba(253, 243, 230, 0.12);
  transition: background-color 0.3s, border-color 0.3s;
}
.faq details[open] { background: rgba(246, 180, 154, 0.12); border-color: rgba(246, 180, 154, 0.4); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  min-height: 64px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
  line-height: 1.3;
  border-radius: 22px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--peach);
  transition: transform 0.4s var(--ease-out), background-color 0.3s;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--cocoa);
  transform: translate(-50%, -50%);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.4s var(--ease-out); }
.faq details[open] .faq__icon { transform: rotate(180deg); background: var(--cream); }
.faq details[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer { overflow: hidden; }
.faq__answer p { padding: 0 24px 24px; font-size: 1.125rem; max-width: 56ch; color: rgba(253, 243, 230, 0.9); }
@media (min-width: 960px) {
  .faq__grid { grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: start; }
  .faq__intro { position: sticky; top: 120px; }
}

/* =========================================================
   CTA FINAL — terracota
   ========================================================= */
.final {
  z-index: 8;
  background: var(--terracotta);
  color: var(--cream);
  padding-top: var(--section-y);
  overflow: hidden;
  text-align: center;
}
.final__inner { display: grid; justify-items: center; gap: 24px; }
.final__logo { width: min(64vw, 300px); color: var(--cream); margin-bottom: 12px; }
.final__title { font-size: clamp(2.25rem, 1.3rem + 4vw, 4.5rem); max-width: 16ch; }
.final__lead { max-width: 32ch; margin-bottom: 12px; }
.final__hearts svg {
  position: absolute;
  color: var(--peach);
  opacity: 0.55;

}
.final__hearts svg:nth-child(1) { width: 48px; left: 8%; top: 22%; }
.final__hearts svg:nth-child(2) { width: 32px; right: 10%; top: 38%; animation-delay: -2s; color: var(--cream); }
.final__hearts svg:nth-child(3) { width: 64px; right: 18%; bottom: 18%; animation-delay: -4s; }
@media (prefers-reduced-motion: reduce) {
  .final__hearts svg, .hero__badge-ring { animation: none; }
}

/* =========================================================
   FOOTER — cacau
   ========================================================= */
.site-footer {
  z-index: 9;
  background: var(--cocoa-deep);
  color: var(--cream);
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: calc(32px + env(safe-area-inset-bottom));
}
.site-footer__grid { display: grid; gap: 40px; padding-bottom: 40px; }
.site-footer__logo { width: min(100%, 280px); color: var(--peach); margin-bottom: 20px; }
.site-footer__about > p { max-width: 35ch; font-size: 1.0625rem; line-height: 1.65; }
.site-footer h2 { font-family: var(--font-body); font-size: 1.25rem; font-weight: 600; line-height: 1.4; margin-bottom: 16px; }
.site-footer__nav { display: grid; justify-items: start; align-content: start; }
.site-footer__nav a { display: flex; align-items: center; min-height: 44px; font-size: 1.0625rem; text-decoration: none; }
.site-footer__contact > p { max-width: 34ch; margin-bottom: 20px; font-size: 1.0625rem; }
.site-footer__contact .btn { font-size: 1rem; padding-inline: 22px; gap: 16px; }
.site-footer__contact .site-footer__note { font-size: 0.9375rem; margin-block: 16px 0; color: var(--peach-soft); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(253,243,230,.22); font-size: 0.9375rem; }
.site-footer__bottom a { display: inline-flex; gap: 16px; align-items: center; min-height: 44px; color: var(--peach); }
@media (hover: hover) and (pointer: fine) { .site-footer__nav a:hover { color: var(--peach); text-decoration: underline; } }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 48px; } .site-footer__about { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.15fr 0.85fr 1.2fr; gap: 64px; } .site-footer__about { grid-column: auto; } }

/* =========================================================
   CTA PERSISTENTE
   ========================================================= */
.sticky-cta {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom));
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.4s;
  pointer-events: none;
  width: max-content;
  max-width: calc(100vw - 28px);
}
.sticky-cta.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.sticky-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  max-height: 56px;
  padding: 0 24px 0 18px;
  border-radius: 999px;
  background: var(--cocoa);
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.0625rem;
  white-space: nowrap;
  box-shadow: 0 16px 36px -12px rgba(67, 26, 19, 0.6), inset 0 0 0 2px rgba(246, 180, 154, 0.35);
}
.sticky-cta__btn svg { width: 26px; height: 26px; color: var(--peach); }
@media (min-width: 900px) {
  .sticky-cta { left: auto; right: 24px; bottom: 24px; transform: translate(0, 140%); }
  .sticky-cta.is-visible { transform: translate(0, 0); }
}

/* utilitários de animação */
.split-line { overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }

/* Narrow layouts keep a useful image size and readable, unforced title breaks. */
@media (max-width: 959px) {
  .hero__copy { max-width: 620px; }
  .hero__visual { width: min(100%, 440px); padding: 5% 6% 6%; }
  .hero__title { max-width: 18ch; font-size: clamp(2.75rem, 1.8rem + 3.5vw, 4.5rem); }
  .process__grid { gap: 20px; }
  .process__caption { font-family: var(--font-body); font-size: 0.9375rem; line-height: 1.35; }
  .process__copy > .eyebrow { margin-bottom: 0; }
  .process__copy > .h2 { max-width: 20ch; }
}
@media (max-width: 479px) {
  .hero__eyebrow { gap: 9px; font-size: 0.6875rem; letter-spacing: 0.08em; }
  .hero__eyebrow .dot { width: 7px; height: 7px; flex: none; }
  .hero__actions { gap: 8px; }
  .hero__actions .btn--primary { width: 100%; padding-inline: 18px; font-size: 1rem; }
  .hero__actions .btn--ghost { padding-inline: 4px; }
  .hero__note { font-size: 0.875rem; }
  .site-header__inner { gap: 10px; padding-left: 16px; }
  .site-header__brand .logo { height: 32px; }
  .site-header .btn { padding-inline: 16px; font-size: 0.875rem; }
  .process__step { gap: 14px; }
  .process__step-num { width: 42px; height: 42px; font-size: 1rem; }
  .process__step p { font-size: 1rem; }
  .btn--lg { font-size: 1rem; padding-inline: 24px; }
}
@media (max-height: 500px) and (max-width: 959px) {
  .process__stage { position: relative; top: auto; }
  .diorama { width: min(100%, 320px); max-height: none; }
}
::selection { background: var(--peach); color: var(--cocoa-deep); }
html { scrollbar-color: var(--terracotta) var(--cream); }
a { text-underline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn__icon, .site-header, .sticky-cta, .faq__icon, .faq__icon::after { transition-property: opacity, color, background-color, border-color; transition-duration: 160ms; }
  .btn:active, .btn:hover .btn__icon { transform: none; }
  .process.is-tracking .process__step { opacity: 1; }
}

/* The examples are provided packaging references, with their original artwork. */
.process__preview { overflow: hidden; border-radius: 24px; background: var(--cream); }
.process__preview img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; }
.occasions__controls { display: flex; align-items: center; gap: 14px; font-variant-numeric: tabular-nums; }
.carousel-arrow { width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; background: transparent; color: var(--cocoa); cursor: pointer; font-size: 1.25rem; transition: background-color 160ms ease, opacity 160ms ease; }
.carousel-arrow:disabled { opacity: .3; cursor: default; }
@media (hover: hover) and (pointer: fine) { .carousel-arrow:hover:not(:disabled) { background: var(--cream); } }
@media (max-width: 959px) {
  .process { padding-top: 64px; padding-bottom: 96px; }
  .process__steps { margin-block: 4px 20px; }
  .process__step { padding: 22px 0; min-height: 0; align-content: start; border-top: 1px solid rgba(253,243,230,.3); }
  .process__step p { max-width: 48ch; }
  .process__stage { padding-block: 0; margin-bottom: 8px; }
  .process__progress { display: none; }
  .process__preview { max-width: 440px; margin-inline: auto; }
  .process__caption { margin-top: 8px; }
  .process__copy > .h2 { font-size: clamp(2.25rem, 5vw, 3.25rem); max-width: 18ch; }
  .occasions.is-pinned { padding-block: 32px 52px; }
  .occasions.is-pinned .occasions__head .h2 { font-size: clamp(1.875rem, 6.8vw, 2.75rem); max-width: 20ch; line-height: 1.08; margin-bottom: 12px; }
  .occasions.is-pinned .occasions__head .lead { font-size: 1rem; line-height: 1.45; margin-bottom: 12px; }
  .occasions.is-pinned .eyebrow { font-size: .75rem; margin-bottom: 8px; }
  .occasions.is-pinned .card { min-height: 240px; width: min(82vw, 340px); padding: 24px; gap: 8px; }
  .occasions.is-pinned .card h3 { margin-top: 12px; font-size: 1.5rem; }
  .occasions.is-pinned .card p { font-size: 1rem; line-height: 1.5; }
  .occasions.is-pinned .card__icon { width: 44px; height: 44px; border-radius: 12px; }
  .occasions.is-pinned .card__icon svg { width: 30px; height: 30px; }
  .occasions__foot { gap: 16px; }
  .occasions__controls { order: -1; }
  .occasions.is-pinned .occasions__foot > .btn { min-height: 48px; font-size: .9375rem; padding: 12px 18px; }
}
@media (max-width: 479px) { .occasions__foot { flex-direction: column; align-items: stretch; } .occasions__controls { justify-content: space-between; } .site-footer__grid { gap: 32px; } }
/* Overlay scrollbar: no reserved gutter, native scrolling underneath. */
html.has-overlay-scrollbar { scrollbar-width: none; }
html.has-overlay-scrollbar::-webkit-scrollbar { display: none; width: 0; height: 0; }
.page-scrollbar { display: none; position: fixed; top: 8px; right: 2px; bottom: 8px; width: 14px; z-index: 150; opacity: 0; pointer-events: none; touch-action: none; transition: opacity 160ms ease; }
.has-overlay-scrollbar .page-scrollbar { display: block; }
.page-scrollbar.is-visible, .page-scrollbar:focus-visible { opacity: 1; pointer-events: auto; }
.page-scrollbar span { position: absolute; top: 0; right: 3px; width: 6px; min-height: 40px; border-radius: 99px; background: var(--terracotta-deep); box-shadow: 0 0 0 1px rgba(253,243,230,.8); }

/* Photo-backed carousel; autonomous horizontal movement preserves page position. */
.card { position: relative; isolation: isolate; overflow: hidden; color: var(--cream); min-height: 390px; flex: 0 0 auto; }
.card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(34,13,8,.12) 0%, rgba(34,13,8,.5) 35%, rgba(34,13,8,.92) 100%); }
.card .card__icon { background: rgba(67,26,19,.7); color: var(--cream); }
.card h3 { text-shadow: 0 1px 8px rgba(0,0,0,.2); }
.card p { color: var(--cream); }
.carousel-pause { min-height: 44px; padding: 8px 16px; border: 1px solid var(--cocoa); color: var(--cocoa); background: transparent; border-radius: 999px; font-size: .9375rem; cursor: pointer; }
.occasions__viewport { position: relative; scroll-snap-type: x proximity; }
.inside__photo { aspect-ratio: 1; }
.inside__photo img { object-fit: cover; }
@media (min-width: 900px) { .inside__photo { aspect-ratio: 1; } }
.process__preview img { object-fit: cover; }
@media (max-width: 959px) { .card { min-height: 360px; } }
