:root {
  --cream: #f7f1e7;
  --cream-light: #fffdf9;
  --cream-dark: #ebe1d2;
  --navy: #17243d;
  --navy-soft: #3e4a60;
  --rose: #a45857;
  --rose-dark: #7e3f40;
  --rose-light: #ead5d0;
  --gold: #c7a14a;
  --green: #287454;
  --line: #d8cdbf;
  --line-blue: #cbd2dc;
  --muted: #716960;
  --white: #ffffff;
  --container: min(1180px, calc(100% - 2rem));
  --font-heading: "Libre Baskerville", Georgia, serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --z-header: 20;
  --z-dialog: 40;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.75rem;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--cream-light);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.dialog-open { overflow: hidden; }

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

button,
input,
select,
textarea { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

p,
h1,
h2,
h3,
figure { margin: 0; }

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.13;
  text-wrap: balance;
}

h1 { font-size: clamp(2.55rem, 7.5vw, 3.8rem); }
h2 { font-size: clamp(2.1rem, 6.8vw, 3.35rem); }
h3 { font-size: clamp(1.45rem, 3.4vw, 1.9rem); }
p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

.container {
  width: var(--container);
  margin-inline: auto;
}

.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }

.section-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  color: var(--rose-dark);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
}

.section-label::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: calc(var(--z-dialog) + 1);
  padding: 0.75rem 1rem;
  border-radius: 0.35rem;
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform 200ms ease;
}

.skip-link:focus { transform: translateY(0); }

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.7rem 0.8rem 0.7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }

.button-primary {
  border-color: var(--rose);
  background: var(--rose);
  color: var(--white);
}

.button-primary:hover {
  border-color: var(--rose-dark);
  background: var(--rose-dark);
}

.button-light {
  border-color: var(--cream-light);
  background: var(--cream-light);
  color: var(--navy);
}

.button-light:hover {
  border-color: var(--gold);
  background: var(--white);
}

.button-arrow {
  display: inline-grid;
  width: 1.85rem;
  height: 1.85rem;
  flex: 0 0 auto;
  place-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.38);
  font-size: 0.95rem;
}

.button-light .button-arrow { border-left-color: var(--line); }

.text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.97);
}

.header-note {
  padding: 0.28rem 0.75rem;
  background: var(--navy);
  color: var(--cream-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.2;
  text-align: center;
}

.nav-shell {
  position: relative;
  display: grid;
  width: var(--container);
  min-height: 3.65rem;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
}

.brand {
  display: block;
  width: 7.2rem;
  height: 3.1rem;
}

.brand img {
  height: 100%;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}

.menu-toggle {
  position: relative;
  display: inline-flex;
  min-width: 3rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.35rem 0.55rem 1.75rem;
  border: 0;
  border-radius: 0.25rem;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}

.menu-toggle span:not(.menu-label) {
  position: absolute;
  left: 0.35rem;
  width: 1rem;
  height: 2px;
  background: currentColor;
}

.menu-toggle span:first-child { top: 0.85rem; }

.menu-toggle span:nth-child(2) {
  top: 1.35rem;
  display: block;
}

.menu-label {
  font-size: 0.74rem;
  font-weight: 800;
}

.primary-nav {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  left: 0;
  display: grid;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--cream-light);
  box-shadow: 0 14px 28px rgba(23, 36, 61, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.5rem);
  visibility: hidden;
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
}

.primary-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0s;
}

.primary-nav a {
  display: flex;
  min-height: 3rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 700;
}

.primary-nav a:last-child { border-bottom: 0; }
.primary-nav a:hover { color: var(--rose-dark); }
.header-cta { display: none; }

/* Hero */
.hero {
  padding-block: clamp(3.6rem, 7vw, 6.2rem);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.hero-grid {
  display: grid;
  gap: 3rem;
}

.hero-copy { align-self: center; }
.hero-copy h1 { max-width: 13ch; }

.hero-copy h1 em {
  color: var(--rose-dark);
  font-style: normal;
}

.hero-lead {
  max-width: 38rem;
  margin-top: 1.5rem;
  color: var(--navy-soft);
  font-size: clamp(1.05rem, 2.7vw, 1.22rem);
  line-height: 1.55;
}

.hero-note {
  max-width: 37rem;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1.7rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-meta span::before {
  content: "✓";
  color: var(--rose-dark);
  font-size: 0.72rem;
}

.hero-visual {
  display: grid;
  min-height: 26rem;
  grid-template-columns: minmax(0, 1.6fr) minmax(6.5rem, 0.8fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.hero-main-image,
.hero-detail {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: var(--cream-dark);
}

.hero-main-image {
  position: relative;
  grid-row: 1 / -1;
}

.hero-main-image img,
.hero-detail img {
  height: 100%;
  object-fit: cover;
}

.hero-main-image figcaption {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  left: 0.55rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.25rem;
  background: rgba(255, 253, 249, 0.94);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
}

/* Shared section headings */
.split-heading,
.catalog-heading,
.recent-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.split-heading h2,
.catalog-heading h2,
.recent-heading h2 { max-width: 17ch; }

.split-heading > p,
.catalog-heading > p,
.recent-heading > p,
.occasions-intro > p:last-child,
.faq-intro > p:last-child {
  max-width: 34rem;
  color: var(--muted);
}

/* Featured */
.featured { background: var(--cream-light); }

.featured-grid {
  display: grid;
  gap: 2rem 1.2rem;
}

.featured-project,
.product-card {
  display: grid;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.featured-media,
.product-media {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: var(--cream-dark);
}

.featured-media { aspect-ratio: 4 / 5; }

.featured-media img,
.product-media img {
  height: 100%;
  object-fit: cover;
  transition: transform 350ms var(--ease);
}

.featured-project:hover img,
.product-card:hover img { transform: scale(1.025); }

.featured-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.3rem 0.75rem;
  align-items: end;
  padding-top: 0.9rem;
}

.project-index {
  grid-column: 1 / -1;
  color: var(--rose-dark);
  font-size: 0.76rem;
  font-weight: 800;
}

.featured-copy strong {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.7vw, 1.55rem);
  line-height: 1.25;
}

.project-action,
.product-action {
  color: var(--navy-soft);
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

/* Catalog */
.catalog {
  padding-block: 3.75rem;
  border-block: 1px solid var(--line);
  background: var(--cream);
}

.filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.55rem;
  overflow-x: auto;
  padding-block: 0.2rem 0.55rem;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar { display: none; }

.filter-button {
  flex: 0 0 auto;
  min-height: 2.75rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: var(--cream-light);
  color: var(--navy-soft);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.filter-button:hover {
  border-color: var(--rose);
  color: var(--rose-dark);
}

.filter-button.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.filter-status {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.45rem 0.65rem;
  margin-top: 1.35rem;
}

.product-media {
  aspect-ratio: 1;
  background: #e8dfd2;
}

.product-media img {
  object-fit: contain;
  transform: none;
}

.product-card:hover img { transform: none; }

.product-info {
  display: grid;
  gap: 0.25rem;
  padding-top: 0.55rem;
}

.product-info > span:first-child {
  display: grid;
  gap: 0.15rem;
}

.product-info small {
  color: var(--rose-dark);
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1.3;
}

.product-info strong {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  line-height: 1.28;
}

.product-info .product-action { display: none; }

.catalog-heading { margin-bottom: 1.6rem; }

/* Occasions */
.occasions {
  border-bottom: 1px solid var(--line-blue);
  background: #eef1f4;
}

.occasions-layout,
.faq-layout {
  display: grid;
  gap: 2.75rem;
}

.occasions-intro h2,
.faq-intro h2 { max-width: 16ch; }

.occasions-intro > p:last-child,
.faq-intro > p:last-child { margin-top: 1rem; }

.occasion-list {
  display: grid;
  border-top: 1px solid var(--line-blue);
}

.occasion-link {
  display: grid;
  width: 100%;
  min-height: 5.4rem;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0.25rem;
  border: 0;
  border-bottom: 1px solid var(--line-blue);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.occasion-link > span:first-child {
  display: grid;
  gap: 0.2rem;
}

.occasion-link strong {
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.occasion-link small {
  color: var(--navy-soft);
  font-size: 0.8rem;
}

.occasion-link > span:last-child {
  color: var(--rose-dark);
  font-size: 1.1rem;
  transition: transform 180ms ease;
}

.occasion-link:hover > span:last-child { transform: translateX(0.25rem); }

/* Process */
.process { background: var(--cream-light); }

.process-grid {
  display: grid;
  gap: 3rem;
}

.process-visual {
  display: grid;
  min-height: 30rem;
  grid-template-columns: minmax(0, 1.4fr) minmax(7rem, 0.8fr);
  gap: 0.7rem;
}

.process-main,
.process-inset {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: var(--cream-dark);
}

.process-main img,
.process-inset img {
  height: 100%;
  object-fit: cover;
}

.process-content h2 { max-width: 15ch; }

.process-steps {
  margin: 2rem 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.process-steps li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.85rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.process-steps li > span {
  color: var(--rose-dark);
  font-size: 0.74rem;
  font-weight: 800;
}

.process-steps strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-heading);
  font-size: 1rem;
}

.process-steps p {
  color: var(--muted);
  font-size: 0.86rem;
}

/* Recent work */
.recent {
  border-block: 1px solid var(--line);
  background: var(--cream);
}

.recent-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 0.8rem;
}

.recent-strip figure { min-width: 0; }

.recent-strip img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  object-fit: cover;
  object-position: center;
}

.recent-strip figcaption {
  padding-top: 0.55rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

/* FAQ */
.faq { background: var(--cream-light); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  position: relative;
  display: flex;
  min-height: 4.8rem;
  align-items: center;
  padding: 1rem 2.5rem 1rem 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0.25rem;
  color: var(--rose-dark);
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after { content: "−"; }

.faq-list details p {
  max-width: 42rem;
  padding: 0 2.5rem 1.35rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Final contact */
.final-cta {
  padding-block: 0;
  background: var(--cream-light);
}

.cta-panel {
  position: relative;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.2rem, 6vw, 4.5rem);
  border-top: 5px solid var(--gold);
  background: var(--navy);
  color: var(--white);
  text-align: left;
}

.cta-panel .section-label { color: var(--rose-light); }

.cta-panel h2 {
  max-width: 18ch;
  color: var(--white);
}

.cta-panel > p:not(.section-label) {
  max-width: 36rem;
  margin: 1rem 0 1.7rem;
  color: rgba(255, 255, 255, 0.76);
}

/* Footer */
.site-footer {
  padding-block: 4rem 1.4rem;
  background: var(--cream);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

.footer-brand img {
  width: 9.5rem;
  height: auto;
  mix-blend-mode: multiply;
}

.footer-brand p {
  margin-top: 0.45rem;
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 0.9rem;
}

.footer-nav,
.footer-contact {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 0.25rem;
  font-size: 0.84rem;
  font-weight: 700;
}

.footer-nav a,
.footer-contact a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--rose-dark);
  text-decoration: underline;
  text-underline-offset: 0.22rem;
}

.footer-contact p {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
}

.footer-bottom a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: calc(var(--z-header) - 1);
  display: inline-flex;
  min-width: 3.35rem;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem;
  border: 2px solid var(--cream-light);
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(23, 36, 61, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.7rem);
  transition: opacity 200ms ease, transform 200ms ease, background-color 180ms ease;
}

.floating-whatsapp.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-whatsapp:hover { background: #205e45; }

.floating-whatsapp svg {
  width: 1.3rem;
  height: 1.3rem;
}

.floating-whatsapp span {
  display: none;
  font-size: 0.78rem;
  font-weight: 800;
}

/* Product dialog */
.product-dialog {
  width: min(900px, calc(100% - 1rem));
  max-height: min(90dvh, 780px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: var(--cream-light);
  color: var(--navy);
  box-shadow: 0 24px 60px rgba(23, 36, 61, 0.26);
}

.product-dialog::backdrop { background: rgba(16, 25, 42, 0.68); }

.dialog-shell {
  position: relative;
  display: grid;
  max-height: inherit;
  overflow: auto;
}

.dialog-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  display: grid;
  width: 2.85rem;
  height: 2.85rem;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: rgba(255, 253, 249, 0.96);
  color: var(--navy);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.dialog-media {
  min-height: 20rem;
  background: var(--cream-dark);
}

.dialog-media img {
  height: 100%;
  max-height: 58dvh;
  object-fit: contain;
}

.dialog-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.7rem 1.2rem 1.4rem;
}

.dialog-category {
  margin-bottom: 0.65rem;
  color: var(--rose-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.dialog-content h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 7vw, 3rem);
}

.dialog-description {
  max-width: 34rem;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.dialog-customization {
  width: 100%;
  margin-block: 1.2rem;
  padding-block: 0.9rem;
  border-block: 1px solid var(--line);
}

.dialog-customization span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--rose-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.dialog-customization p {
  color: var(--navy-soft);
  font-size: 0.84rem;
}

.dialog-footnote {
  max-width: 30rem;
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.7rem;
}

/* Restrained motion */
.js .reveal {
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 420ms ease, transform 420ms var(--ease);
  transition-delay: var(--delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 420px) {
  :root { --container: min(1180px, calc(100% - 2.5rem)); }
  .hero-visual { min-height: 31rem; }

  .floating-whatsapp {
    right: 1rem;
    bottom: 1rem;
  }
}

@media (min-width: 640px) {
  .catalog { padding-block: clamp(4.5rem, 9vw, 7.5rem); }

  .filters {
    flex-wrap: wrap;
    overflow: visible;
    padding-block: 0.2rem;
  }

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

  .product-grid {
    gap: 2.8rem 1.2rem;
    margin-top: 2rem;
  }

  .product-media { aspect-ratio: 4 / 5; }

  .product-media img { object-fit: cover; }

  .product-card[data-id="caixa-piramide"] .product-media img,
  .product-card[data-id="caixinha-homem-aranha"] .product-media img {
    padding: 0.3rem;
    object-fit: contain;
  }

  .product-card:hover img { transform: scale(1.025); }

  .product-info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.8rem;
  }

  .product-info small {
    font-size: 0.72rem;
    line-height: normal;
  }

  .product-info strong {
    font-size: 1.08rem;
    line-height: 1.35;
  }

  .product-info .product-action {
    display: block;
    padding-top: 1.25rem;
  }

  .catalog-heading { margin-bottom: 2.5rem; }

  .recent-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .footer-grid { grid-template-columns: 1.35fr 0.8fr 0.85fr; }
  .dialog-content { padding: 2.1rem 1.8rem 1.8rem; }
}

@media (min-width: 800px) {
  .split-heading,
  .catalog-heading,
  .recent-heading {
    grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.65fr);
    align-items: end;
    gap: 3.5rem;
    margin-bottom: 3.2rem;
  }

  .recent-heading .text-link { justify-self: end; }

  .occasions-layout,
  .faq-layout {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 5rem;
  }

  .process-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 4rem;
  }

  .dialog-shell {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    overflow: hidden;
  }

  .dialog-media { min-height: min(82dvh, 700px); }
  .dialog-media img { max-height: none; }

  .dialog-content {
    justify-content: center;
    overflow-y: auto;
    padding: 2.6rem;
  }
}

@media (min-width: 800px) and (max-width: 1199px) {
  .occasions-intro h2,
  .process-content h2,
  .faq-intro h2 {
    font-size: clamp(2.35rem, 4.4vw, 3rem);
  }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(28rem, 1.08fr);
    align-items: center;
    gap: 4.5rem;
  }

  .hero-visual { min-height: 38rem; }

  .featured-grid,
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1080px) {
  html { scroll-padding-top: 7rem; }

  .nav-shell {
    min-height: 4.9rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1.5rem;
  }

  .brand {
    width: 9.3rem;
    height: 4.3rem;
  }

  .menu-toggle { display: none; }

  .primary-nav {
    position: static;
    display: flex;
    justify-content: center;
    gap: clamp(0.2rem, 1vw, 1rem);
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .primary-nav a {
    min-height: 2.75rem;
    padding: 0.55rem 0.45rem;
    border: 0;
    font-size: 0.78rem;
  }

  .primary-nav a:hover {
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.3rem;
  }

  .primary-nav .nav-instagram { display: none; }
  .header-cta { display: inline-flex; }

  .floating-whatsapp {
    right: 1.5rem;
    bottom: 1.5rem;
  }
}

@media (min-width: 1360px) {
  .hero-grid { gap: 6rem; }
  .product-grid { gap-inline: 1.5rem; }
}

@media (max-width: 359px) {
  h1 { font-size: 2.3rem; }

  .hero-actions .button,
  .process-content > .button,
  .cta-panel .button,
  .dialog-content .button { width: 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;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@supports not (overflow: clip) {
  html,
  body { overflow-x: hidden; }
}
