:root {
  --cream: #fff8f1;
  --paper: #fffdf9;
  --pink: #b84d72;
  --pink-dark: #7b304c;
  --pink-soft: #f5dbe3;
  --chocolate: #351c1d;
  --cocoa: #684043;
  --gold: #c79b55;
  --line: rgba(53, 28, 29, 0.14);
  --shadow: 0 24px 70px rgba(65, 29, 38, 0.14);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--chocolate);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: inherit;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -6rem;
  background: #fff;
  padding: 0.7rem 1rem;
  z-index: 99;
}
.skip-link:focus {
  top: 1rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-header {
  height: 84px;
  padding: 0 clamp(1.25rem, 4vw, 4.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  z-index: 20;
  width: 100%;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font:
    600 0.8rem "Playfair Display",
    serif;
  letter-spacing: 0.06em;
}
.brand-name {
  font:
    400 2rem/1 "Sacramento",
    cursive;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
}
.main-nav a {
  text-decoration: none;
  font-size: 0.91rem;
  font-weight: 600;
}
.nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 0.65rem 1rem;
  border-radius: 999px;
}
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 0.5rem;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  margin: 5px;
}
.hero {
  min-height: 760px;
  height: 96vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #9c5b50;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(35, 15, 18, 0.82) 0%,
    rgba(68, 28, 35, 0.65) 37%,
    rgba(52, 23, 24, 0.06) 66%,
    rgba(0, 0, 0, 0.05)
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(650px, 88vw);
  margin-left: clamp(1.25rem, 9vw, 9rem);
  color: #fff;
  padding-top: 4rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--pink);
  margin: 0 0 1.1rem;
}
.hero .eyebrow {
  color: #f7ced9;
}
.hero h1,
.section-heading h2,
.order-intro h2,
.story-copy h2,
.contact-section h2,
.fair-copy h2 {
  font:
    600 clamp(3.2rem, 6.7vw, 6.5rem) / 0.95 "Playfair Display",
    serif;
  letter-spacing: -0.055em;
  margin: 0;
}
.hero h1 em,
.order-intro em {
  font-weight: 600;
  color: #f8d4dd;
}
.hero-copy {
  font-size: 1.12rem;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.82);
  margin: 1.7rem 0 2rem;
}
.hero-actions,
.contact-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 50px;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  transition: 0.2s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 10px 30px rgba(184, 77, 114, 0.3);
}
.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.button-light {
  background: #fff;
  color: var(--pink-dark);
}
.button-outline {
  border: 1px solid var(--line);
}
.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 2rem;
  right: clamp(2rem, 7vw, 7rem);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 0.68rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.scroll-cue span {
  height: 1px;
  width: 48px;
  background: currentColor;
}
.section-pad {
  padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 7vw, 7rem);
}
.intro {
  background: var(--paper);
}
.section-heading {
  max-width: 780px;
}
.section-heading h2,
.order-intro h2,
.story-copy h2,
.contact-section h2,
.fair-copy h2 {
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  line-height: 1.02;
}
.section-heading > p:last-child {
  max-width: 620px;
  color: var(--cocoa);
  font-size: 1.05rem;
}
.category-tabs {
  display: flex;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
  margin-top: 2rem;
  overflow-x: auto;
}
.category-tabs button {
  font: 600 0.9rem "DM Sans";
  white-space: nowrap;
  border: 0;
  background: none;
  padding: 1rem 0;
  color: var(--cocoa);
  cursor: pointer;
  position: relative;
}
.category-tabs button[aria-selected="true"] {
  color: var(--pink-dark);
}
.category-tabs button[aria-selected="true"]:after {
  content: "";
  position: absolute;
  height: 3px;
  background: var(--pink);
  left: 0;
  right: 0;
  bottom: -1px;
}
.product-stage {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.75fr);
  gap: 5vw;
  align-items: center;
}
.product-copy {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.number {
  font: italic 600 3rem "Playfair Display";
  color: var(--pink-soft);
}
.product-copy h3 {
  font: 600 clamp(2rem, 3.5vw, 3.7rem) "Playfair Display";
  margin: 0 0 0.7rem;
}
.product-copy p {
  max-width: 560px;
  color: var(--cocoa);
}
.product-copy a,
.story-copy a {
  font-weight: 700;
  color: var(--pink-dark);
  text-decoration: none;
}
.product-visual {
  min-height: 420px;
  background-image:
    linear-gradient(20deg, rgba(61, 24, 29, 0.1), transparent),
    url("hero-confeitaria.webp");
  background-size: cover;
  background-position: 72% center;
  border-radius: 48% 48% 8rem 8rem;
  position: relative;
  box-shadow: var(--shadow);
}
.visual-label {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--pink-dark);
  color: #fff;
  display: grid;
  place-content: center;
  text-align: center;
  left: -45px;
  bottom: 20px;
  font: italic 600 1rem "Playfair Display";
  transform: rotate(-8deg);
}
.fair-section {
  background: var(--pink-soft);
}
.fair-card {
  background: var(--pink-dark);
  color: #fff;
  border-radius: 2.2rem;
  padding: clamp(2rem, 6vw, 6rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  overflow: hidden;
  position: relative;
}
.fair-card:after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  right: -100px;
  bottom: -170px;
}
.fair-copy {
  max-width: 700px;
  position: relative;
  z-index: 1;
}
.fair-copy .eyebrow {
  color: #f3b9c9;
}
.fair-copy h2 {
  font-size: clamp(2.7rem, 5vw, 5rem);
}
.fair-copy p:not(.eyebrow) {
  color: #ead8de;
  max-width: 600px;
}
.fair-stamp {
  min-width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.65rem;
  transform: rotate(7deg);
  position: relative;
  z-index: 1;
}
.fair-stamp strong {
  font: italic 600 1.7rem "Playfair Display";
  text-transform: none;
  letter-spacing: 0;
  margin: 0.25rem;
}
.order-section {
  background: var(--cream);
}
.order-intro {
  text-align: center;
}
.order-intro em {
  color: var(--pink);
}
.order-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  margin: 4rem 0 3rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.order-grid article {
  background: var(--cream);
  padding: 2.3rem;
}
.order-grid span {
  color: var(--pink);
  font-weight: 700;
  font-size: 0.8rem;
}
.order-grid h3 {
  font: 600 1.7rem "Playfair Display";
  margin: 1rem 0 0.5rem;
}
.order-grid p {
  color: var(--cocoa);
}
.center-cta {
  display: flex;
  width: max-content;
  margin: auto;
}
.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--chocolate);
  color: #fff;
}
.story-quote,
.story-copy {
  padding: clamp(4rem, 9vw, 9rem);
}
.story-quote {
  background:
    linear-gradient(rgba(53, 28, 29, 0.35), rgba(53, 28, 29, 0.86)),
    url("hero-confeitaria.webp") center/cover;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.quote-mark {
  font: 600 6rem "Playfair Display";
  line-height: 0.4;
  color: #efadbf;
}
.story-quote blockquote {
  font: italic 600 clamp(2rem, 4vw, 4rem) / 1.08 "Playfair Display";
  margin: 2rem 0;
}
.story-quote p {
  color: #ead8de;
}
.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story-copy .eyebrow {
  color: #efadbf;
}
.story-copy h2 {
  font-size: clamp(2.5rem, 4vw, 4.5rem);
}
.story-copy p:not(.eyebrow) {
  color: #ddc9ca;
}
.story-copy a {
  color: #f0bdca;
}
.contact-section {
  text-align: center;
  background: var(--paper);
}
.contact-section .eyebrow {
  color: var(--pink);
}
.contact-section h2 {
  font-size: clamp(2.5rem, 5vw, 5rem);
}
.contact-actions {
  justify-content: center;
  margin-top: 2.5rem;
}
.contact-note {
  font-size: 0.82rem;
  color: var(--cocoa);
  margin-top: 2rem;
}
footer {
  background: #241314;
  color: #fff;
  padding: 2rem clamp(1.25rem, 7vw, 7rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}
footer > p {
  font-size: 0.82rem;
  color: #cdbabb;
  text-align: center;
}
.footer-brand {
  justify-self: start;
}
.copyright {
  justify-self: end;
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 850px) {
  .site-header {
    height: 72px;
  }
  .menu-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--chocolate);
    padding: 1.5rem;
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav.open {
    display: flex;
  }
  .hero {
    height: auto;
    min-height: 740px;
    align-items: flex-end;
  }
  .hero-image {
    object-position: 67% center;
  }
  .hero-overlay {
    background: linear-gradient(
      0deg,
      rgba(39, 16, 19, 0.95) 0%,
      rgba(56, 25, 27, 0.5) 60%,
      rgba(0, 0, 0, 0.05)
    );
  }
  .hero-content {
    margin: 0;
    padding: 8rem 1.25rem 7rem;
    width: 100%;
  }
  .hero h1 {
    font-size: clamp(3rem, 14vw, 5rem);
  }
  .scroll-cue {
    display: none;
  }
  .product-stage {
    grid-template-columns: 1fr;
  }
  .product-visual {
    min-height: 360px;
    order: -1;
  }
  .visual-label {
    left: auto;
    right: -5px;
  }
  .fair-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .fair-stamp {
    align-self: flex-end;
    width: 145px;
    min-width: 145px;
    height: 145px;
  }
  .order-grid {
    grid-template-columns: 1fr;
  }
  .story-section {
    grid-template-columns: 1fr;
  }
  .story-quote {
    min-height: 520px;
  }
  .story-copy {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand,
  .copyright {
    justify-self: center;
  }
  footer > p {
    margin: 0.2rem;
  }
}
.brand-logo {
  display: block;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(27, 10, 12, 0.22);
}
.brand-logo-header {
  width: 64px;
  height: 64px;
}
.brand-logo-footer {
  width: 104px;
  height: 104px;
}
@media (max-width: 850px) {
  .brand-logo-header {
    width: 54px;
    height: 54px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .button {
    transition: none;
  }
}
.brand-logo {
  display: block;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(27, 10, 12, 0.22);
}
.brand-logo-header {
  width: 76px;
  height: 76px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(22, 8, 9, 0.34);
}
.brand-logo-footer {
  width: 104px;
  height: 104px;
}
body {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}
.hero h1,
.section-heading h2,
.order-intro h2,
.story-copy h2,
.contact-section h2,
.fair-copy h2,
.product-copy h3,
.number,
.story-quote blockquote,
.quote-mark,
.fair-stamp strong,
.order-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
}
.category-tabs button {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}
.site-header {
  height: 96px;
  background: linear-gradient(
    180deg,
    rgba(34, 13, 15, 0.54),
    rgba(34, 13, 15, 0)
  );
}
.hero {
  min-height: 880px;
}
.hero-content {
  padding-top: 7rem;
}
.hero-brand {
  margin-bottom: 1.15rem;
}
.hero-brand img {
  display: block;
  width: clamp(170px, 13vw, 220px);
  height: clamp(170px, 13vw, 220px);
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(23, 8, 10, 0.42);
}
.hero-content .eyebrow {
  margin-bottom: 0.8rem;
}
.hero-content h1 {
  font-size: clamp(3rem, 5.7vw, 5.8rem);
}
@media (max-width: 850px) {
  .site-header {
    height: 80px;
  }
  .brand-logo-header {
    width: 62px;
    height: 62px;
  }
  .main-nav {
    top: 80px;
  }
  .hero {
    min-height: 860px;
  }
  .hero-content {
    padding-top: 7rem;
    padding-bottom: 5rem;
  }
  .hero-brand img {
    width: 165px;
    height: 165px;
    border-width: 4px;
  }
  .hero h1 {
    font-size: clamp(2.85rem, 13vw, 4.6rem);
  }
}
.site-header {
  position: absolute;
  transition:
    background-color 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}
.site-header .brand-logo-header {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  border: 0;
  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    visibility 0.24s ease;
}
.site-header.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(36, 19, 20, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 35px rgba(27, 10, 12, 0.22);
  backdrop-filter: blur(12px);
}
.site-header.scrolled .brand-logo-header {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.hero-brand img {
  border: 0;
}
@media (max-width: 850px) {
  .site-header.scrolled .main-nav {
    background: rgba(36, 19, 20, 0.98);
  }
}
section[id] {
  scroll-margin-top: 96px;
}
@media (max-width: 850px) {
  section[id] {
    scroll-margin-top: 80px;
  }
}

/* Interações acessíveis e formulário de orçamento */
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
.order-form {
  max-width: 860px;
  margin: 3rem auto;
  padding: clamp(1.25rem, 4vw, 3rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: 0 16px 48px rgba(65, 29, 38, 0.05);
}
.form-heading h3 {
  font:
    600 clamp(1.8rem, 3vw, 2.6rem) / 1.15 Georgia,
    serif;
  margin: 0;
}
.form-heading > p:last-child,
.form-note {
  color: var(--cocoa);
}
.form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}
.order-form label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 0;
}
.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  min-width: 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fff;
  color: var(--chocolate);
}
.order-form textarea {
  resize: vertical;
}
.field-wide {
  grid-column: 1/-1;
}
.order-form .button {
  border: 1px solid transparent;
}
.order-form .button-outline {
  border-color: var(--line);
  background: transparent;
}
.form-note,
#order-status {
  font-size: 0.82rem;
}
.order-result {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.order-result > textarea {
  margin-top: 0.75rem;
}
.order-result .contact-actions {
  justify-content: flex-start;
  margin-top: 1rem;
}
@media (max-width: 600px) {
  .form-fields {
    grid-template-columns: 1fr;
  }
  .order-form .button {
    width: 100%;
  }
  .product-copy {
    gap: 1rem;
  }
  .category-tabs {
    gap: 1.25rem;
  }
  .center-cta {
    width: 100%;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
.story-section > * {
  min-width: 0;
  overflow-wrap: break-word;
}
@media (max-width: 400px) {
  .story-quote,
  .story-copy {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}
.gallery-section {
  background: var(--cream);
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.photo-card {
  display: block;
  overflow: hidden;
  border-radius: 1.1rem;
  background: var(--paper);
  text-decoration: none;
  border: 1px solid var(--line);
}
.photo-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.photo-card:hover img {
  transform: scale(1.025);
}
.photo-card > span:not(.sr-only) {
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.gallery-note {
  color: var(--cocoa);
  font-size: 0.85rem;
  margin-top: 2rem;
}
.product-visual {
  background-image: url("bolo-chocolate-tratada.webp");
  background-position: center;
  border-radius: 2rem;
}
.story-quote {
  background-image:
    linear-gradient(
      180deg,
      rgba(53, 28, 29, 0.08) 20%,
      rgba(53, 28, 29, 0.94) 88%
    ),
    url("carinho-compartilhado-tratada.webp");
  background-position: center 46%;
  padding-bottom: clamp(2rem, 4vw, 4rem);
}
.story-quote > * {
  transform: translateY(2rem);
}
.story-quote > .quote-mark {
  transform: translateY(calc(2rem + 20px));
}
@media (min-width: 851px) {
  .story-quote {
    min-height: 700px;
  }
}
@media (max-width: 850px) {
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}
@media (max-width: 480px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
}
.events-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  background: var(--paper);
}
.events-image {
  min-height: 680px;
  overflow: hidden;
}
.events-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.events-copy {
  padding: clamp(4rem, 8vw, 8rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.events-copy h2 {
  font:
    600 clamp(2.6rem, 4.5vw, 4.8rem) / 1.02 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -0.045em;
  margin: 0;
}
.events-copy > p:not(.eyebrow) {
  color: var(--cocoa);
  max-width: 560px;
}
.events-list {
  list-style: none;
  margin: 1.25rem 0 2rem;
  padding: 0;
  border-top: 1px solid var(--line);
  width: 100%;
  max-width: 520px;
}
.events-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
@media (max-width: 850px) {
  .events-section {
    grid-template-columns: 1fr;
  }
  .events-image {
    min-height: 480px;
  }
  .events-copy {
    padding: 4rem 1.25rem;
  }
}
.product-visual {
  background: none;
  isolation: isolate;
}
.product-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 0.22s ease,
    transform 0.55s ease;
}
.product-visual > img.changing {
  opacity: 0.72;
  transform: scale(1.015);
}
.product-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(20deg, rgba(61, 24, 29, 0.18), transparent 48%);
  z-index: 1;
  pointer-events: none;
}
.product-visual .visual-label {
  z-index: 2;
}
.specialties-section {
  background: var(--pink-soft);
}
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 470px;
  gap: 1.25rem;
  margin-top: 4rem;
}
.specialty-card {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  background: var(--chocolate);
  color: #fff;
  box-shadow: var(--shadow);
}
.specialty-card-wide {
  grid-column: span 2;
}
.specialty-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  filter: saturate(1.04) contrast(1.03);
}
.specialty-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(39, 17, 20, 0.92));
}
.specialty-card:hover img {
  transform: scale(1.025);
}
.specialty-card > div {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem;
}
.specialty-card p {
  margin: 0 0 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.67rem;
  color: #f2b9c9;
  font-weight: 700;
}
.specialty-card h3 {
  margin: 0;
  font:
    600 clamp(1.8rem, 3vw, 3rem) / 1 Georgia,
    "Times New Roman",
    serif;
}
.specialty-card span {
  display: block;
  margin-top: 0.6rem;
  color: #ead8de;
  font-size: 0.88rem;
}
.specialties-cta {
  width: max-content;
  margin: 2.5rem auto 0;
}
@media (max-width: 850px) {
  .specialties-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 400px;
  }
  .specialty-card-wide {
    grid-column: span 2;
  }
}
@media (max-width: 560px) {
  .specialties-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 390px;
  }
  .specialty-card-wide {
    grid-column: auto;
  }
  .specialty-card-wide img {
    object-position: 58% center;
  }
}

/* Navegação por telas: base pensada para celular */
[data-screen] {
  animation: screen-enter 0.28s ease both;
}
@keyframes screen-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.site-header {
  position: sticky;
  top: 0;
  left: auto;
  right: auto;
  height: 76px;
  padding: 0 1rem;
  background: rgba(36, 19, 20, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 26px rgba(27, 10, 12, 0.18);
  backdrop-filter: blur(12px);
  z-index: 20;
}
.site-header .brand-logo-header {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.main-nav a.active {
  color: var(--gold);
  font-weight: 700;
}
.screen-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: max-content;
  min-height: 44px;
  margin: 2.75rem auto 0;
  padding: 0.65rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--chocolate);
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}
.screen-next {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: max-content;
  min-height: 44px;
  margin: 2.5rem auto 0;
  color: var(--pink-dark);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}
.screen-next span {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 1rem;
}
.screen-next:hover span {
  transform: translateY(3px);
}
.screen-top-hero {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  margin: 0;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(36, 19, 20, 0.25);
}
.fair-section .screen-top,
.story-section .screen-top {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}
.events-top {
  margin-left: 0;
}
.story-top {
  margin-left: 0;
}
.site-footer {
  display: grid;
  gap: 2rem;
  padding: 3rem 1.25rem 1.25rem;
  background: #241314;
  color: #f8e9e7;
}
.footer-brand {
  width: max-content;
}
.footer-brand img {
  display: block;
  width: 92px;
  height: 92px;
  border-radius: 50%;
}
.footer-description {
  max-width: 28rem;
  margin: 0.9rem 0 0;
  color: #e4cdd0;
  line-height: 1.6;
}
.footer-nav,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 0.7rem;
}
.footer-nav p,
.footer-contact p {
  margin: 0 0 0.25rem;
  color: #dca6af;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer-nav a,
.footer-contact a {
  width: max-content;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.footer-nav a:hover,
.footer-contact a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #d6bfc3;
  font-size: 0.8rem;
}
.footer-bottom a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
@media (max-width: 850px) {
  .site-header.scrolled {
    position: sticky;
  }
  .main-nav {
    top: 76px;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .main-nav a {
    min-height: 44px;
    padding: 0.8rem 0.45rem;
  }
  .main-nav a.active {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
  }
  .hero {
    min-height: calc(100svh - 76px);
  }
  .hero-content {
    padding-top: 4.5rem;
  }
  .events-top {
    margin-left: auto;
  }
  .story-top {
    margin-left: auto;
  }
  .site-footer {
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
  }
}
@media (min-width: 851px) {
  .site-header {
    height: 84px;
    padding: 0 clamp(2rem, 5vw, 6rem);
  }
  .main-nav {
    gap: clamp(0.65rem, 1.4vw, 1.35rem);
  }
  .main-nav a {
    padding: 0.4rem 0;
  }
  .main-nav a.active {
    border-bottom: 2px solid var(--gold);
  }
  .site-footer {
    grid-template-columns: minmax(0, 1.5fr) minmax(10rem, 0.7fr) minmax(
        10rem,
        0.7fr
      );
    gap: 3rem;
    padding: 4rem clamp(2rem, 8vw, 10rem) 1.5rem;
  }
  .footer-bottom {
    grid-column: 1/-1;
    margin-top: 0.5rem;
  }
  .events-top,
  .story-top {
    margin-left: 0;
  }
}

/* Abas sem rolagem horizontal e enquadramento completo das imagens */
.category-tabs {
  display: flex;
  justify-content: space-between;
  gap: clamp(0.5rem, 2vw, 2rem);
  margin-top: 1.25rem;
  overflow: visible;
  border-bottom: 1px solid var(--line);
}
.category-tabs button {
  flex: 1;
  min-width: 0;
  min-height: 56px;
  padding: 0.7rem 0.1rem;
  white-space: normal;
  border: 0;
  border-radius: 0;
  line-height: 1.2;
}
.category-tabs button[aria-selected="true"] {
  background: transparent;
  border-color: transparent;
  color: var(--pink-dark);
}
.category-tabs button[aria-selected="true"]:after {
  display: block;
}
#product-stage[data-active="festas"] .product-visual,
#product-stage[data-active="tendencias"] .product-visual {
  background: none;
}
#product-stage[data-active="festas"] .product-visual > img,
#product-stage[data-active="tendencias"] .product-visual > img {
  object-fit: cover;
  padding: 0;
}
.specialty-card-wedding,
.specialty-card-fifteen,
.specialty-card-santa {
  align-self: start;
  aspect-ratio: 1122/1402;
  height: auto;
}
.specialty-card-wedding img,
.specialty-card-fifteen img,
.specialty-card-santa img {
  object-fit: cover;
  padding: 0;
}
.site-header:not(.scrolled) .brand-logo-header {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
}
@media (min-width: 851px) {
  .category-tabs {
    max-width: 720px;
  }
  .category-tabs button {
    min-height: 52px;
  }
}

/* Destaque inicial em monitores amplos */
@media (min-width: 851px) {
  .hero-content {
    transform: translateY(-80px);
  }
  .hero-brand img {
    width: clamp(220px, 16vw, 290px);
    height: clamp(220px, 16vw, 290px);
  }
}

/* Mais área útil em cada tela e títulos sem quebras excessivas */
.site-header.scrolled {
  position: sticky;
}
.site-header.scrolled + main {
  padding-top: 0;
}
.section-pad {
  padding-top: 30px;
  padding-right: clamp(1.25rem, 4vw, 5rem);
}
.story-section {
  padding-top: 60px;
}
.section-heading {
  max-width: 920px;
}
.section-heading h2,
.order-intro h2,
.story-copy h2,
.contact-section h2,
.fair-copy h2 {
  font-size: clamp(2.15rem, 4.25vw, 4.85rem);
}
@media (min-width: 851px) and (max-height: 900px) {
  .section-pad {
    padding-top: 60px;
    padding-bottom: clamp(4rem, 6vw, 6rem);
  }
  .events-copy {
    padding: clamp(3rem, 5vw, 5rem);
  }
}
@media (max-width: 850px) {
  .site-header.scrolled + main {
    padding-top: 0;
  }
  .section-pad,
  .story-section {
    padding-top: 40px;
  }
}

/* Feira: vídeo editorial da barraca DoceVentura */
.fair-card {
  padding: 15px;
  display: grid;
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
  justify-content: initial;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}
.fair-media {
  position: relative;
  z-index: 1;
  margin: 0;
  min-width: 0;
}
.fair-media video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9/16;
  object-fit: contain;
  border-radius: 1.4rem;
  background: #241314;
  box-shadow: 0 24px 60px rgba(24, 8, 12, 0.34);
}
.fair-media figcaption {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(24, 8, 12, 0.75);
  color: #ead8de;
  font-size: 0.8rem;
  line-height: 1.45;
}
.fair-copy .button {
  margin-top: 0.7rem;
}
.fair-copy {
  padding: 20px;
}
.fair-music-credit {
  margin-top: 1.4rem !important;
  color: #d8bbc3 !important;
  font-size: 0.72rem;
  line-height: 1.45;
}
.fair-music-credit a {
  color: inherit;
  text-underline-offset: 0.18rem;
}
@media (max-width: 850px) {
  .fair-card {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .fair-media {
    width: min(100%, 360px);
    margin-inline: auto;
  }
  .fair-copy {
    width: 100%;
  }
}

/* Carrossel de vídeos da feira */
.fair-carousel {
  position: relative;
  z-index: 1;
  min-width: 0;
  width: 100%;
}
.fair-track {
  min-width: 0;
}
.fair-slide[hidden] {
  display: none !important;
}
.fair-media figcaption {
  display: grid;
  gap: 0.1rem;
}
.fair-media figcaption strong {
  color: #fff;
  font-size: 0.9rem;
}
.fair-media figcaption span {
  color: #d8bbc3;
}
.fair-carousel-controls {
  position: absolute;
  bottom: 64px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 5px 10px;
  border-radius: 30px;
  background: rgba(24, 8, 12, 0.8);
}
.fair-carousel-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.15rem;
  transition: 0.2s ease;
}
.fair-carousel-arrow:hover {
  background: #fff;
  color: var(--pink-dark);
}
.fair-carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.fair-carousel-dots button {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: transparent;
}
.fair-carousel-dots button[aria-current="true"] {
  width: 28px;
  border-radius: 999px;
  background: #fff;
}
@media (max-width: 850px) {
  .fair-carousel {
    width: min(100%, 360px);
    margin-inline: auto;
  }
  .fair-media {
    width: 100%;
  }
}
