/* Paleta inspirada na logo. As variáveis mantêm as cores consistentes. */
:root {
  color-scheme: light;
  --paper: #faf7f1;
  --sand: #d7c3b0;
  --ink: #44352e;
  --brown: #63483c;
  --olive: #565d43;
  --muted: #6a6056;
  --line: #d9d1c4;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 6px;
}
::selection {
  background: #dce0ce;
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}
.section-space {
  padding-block: 100px;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  padding: 12px 20px;
  background: var(--ink);
  color: white;
  transform: translateY(-180%);
  z-index: 10;
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  background: var(--sand);
  border-bottom: 1px solid #63483c26;
}
.header-inner {
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
/* A janela enquadra a logo quadrada, sem editar o arquivo original. */
.brand {
  display: block;
  width: 180px;
  height: 78px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.brand img {
  width: 180px;
  height: 180px;
  max-width: none;
  position: absolute;
  top: -33px;
}
.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
}
.main-nav a {
  padding-block: 12px;
}
.main-nav a:hover,
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.main-nav .nav-contact {
  border-bottom: 1px solid var(--brown);
  padding-bottom: 7px;
  margin-left: 10px;
}
.nav-contact span {
  margin-left: 10px;
}
.menu-toggle {
  align-items: center;
  gap: 12px;
  padding: 10px 0 10px 10px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.menu-icon,
.menu-icon::before {
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
}
.menu-icon {
  position: relative;
}
.menu-icon::before {
  content: "";
  position: absolute;
  top: -6px;
}
.hero {
  padding-block: 70px 72px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 58px;
  align-items: center;
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.19em;
  color: var(--olive);
  margin: 0 0 24px;
}
.eyebrow > span {
  margin-right: 10px;
  font-size: 18px;
}
h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
}
h1 {
  font-size: clamp(45px, 4.7vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.05em;
  margin-bottom: 28px;
}
h1 em,
h2 em {
  color: var(--olive);
  font-weight: 400;
}
.hero-description {
  color: var(--muted);
  max-width: 410px;
  font-size: 16px;
  margin-bottom: 31px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 50px;
  padding: 14px 22px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background-color 0.2s;
}
.button-primary {
  background: var(--olive);
  color: #fffdf7;
}
.button-primary:hover {
  background: #414932;
}
.text-link {
  display: inline-flex;
  gap: 15px;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
}
.hero-actions .text-link {
  padding-block: 12px;
}
.hero-footnote {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 47px;
}
.hero-footnote p {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.small-spark {
  font-size: 36px;
  color: var(--brown);
  line-height: 1;
}
.hero-visual {
  margin: 0;
}
.hero-art {
  position: relative;
  background: #e7dece;
  border-radius: 48% 48% 2px 2px;
}
.hero-art > img {
  width: 100%;
}
.art-caption {
  position: absolute;
  top: 13%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 8px;
  letter-spacing: 0.24em;
  color: var(--brown);
}
.art-seal {
  display: grid;
  place-content: center;
  position: absolute;
  right: -22px;
  bottom: 10%;
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: var(--olive);
  color: #faf7f1;
  font-family: var(--serif);
  text-align: center;
  font-size: 16px;
  line-height: 1.1;
  transform: rotate(9deg);
  outline: 1px solid #faf7f185;
  outline-offset: -7px;
}
.art-seal i {
  font-size: 22px;
}
figcaption {
  color: var(--muted);
  font-size: 10px;
  margin-top: 12px;
  text-align: right;
}
.craft-strip {
  background: #eeeee5;
  border-block: 1px solid #d5d9c9;
}
.craft-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 23px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive);
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 38px;
  margin-bottom: 45px;
}
.section-heading .eyebrow {
  margin-bottom: 14px;
}
h2 {
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.17;
  letter-spacing: -0.04em;
  margin-bottom: 0;
}
.section-heading > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 2px;
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 27px;
}
.collection-image {
  position: relative;
  display: block;
  overflow: hidden;
}
.candle-bg {
  background: #ece4d6;
}
.soap-bg {
  background: #e7e9de;
}
.wood-bg {
  background: #e9dac8;
}
.collection-image img {
  width: 100%;
  transition: transform 0.35s ease;
}
.collection-image:hover img {
  transform: scale(1.035);
}
.collection-number {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 10px;
  letter-spacing: 0.1em;
  z-index: 1;
}
.image-arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: #faf7f1;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}
.collection-copy {
  padding: 23px 0 0;
}
h3 {
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 9px;
  letter-spacing: -0.02em;
}
.category {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 9px;
  color: var(--olive);
  font-weight: 600;
  margin-bottom: 12px;
}
.collection-copy p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 0;
  max-width: 300px;
}
.illustration-note {
  color: var(--muted);
  font-size: 11px;
  margin: 30px 0 0;
  max-width: 800px;
}
.personalized {
  padding-block: 75px;
  background: #eee8de;
}
.personalized-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.personalized-art {
  background: #ddd0bb;
  position: relative;
  padding: 22px 12px 20px;
}
.detail-label {
  display: block;
  font-size: 10px;
  text-align: center;
  letter-spacing: 0.03em;
}
.personalized-art img {
  width: 100%;
}
.handwritten {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  text-align: center;
  color: var(--brown);
  margin-top: -25px;
  padding-bottom: 10px;
}
.personalized-copy h2 {
  margin-bottom: 25px;
}
.personalized-copy > p:not(.eyebrow) {
  font-size: 14px;
  color: var(--muted);
  max-width: 410px;
}
.occasion-list {
  padding: 0;
  margin: 26px 0;
  list-style: none;
  font-size: 12px;
}
.occasion-list li {
  padding: 9px 0;
  border-bottom: 1px solid #c8beaf;
}
.occasion-list li::before {
  content: "✧";
  color: var(--olive);
  margin-right: 12px;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 45px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.process-grid li {
  border-top: 1px solid var(--line);
  padding-top: 23px;
}
.step-number {
  display: block;
  font-family: var(--serif);
  color: var(--olive);
  font-style: italic;
  font-size: 30px;
  margin-bottom: 19px;
}
.process-grid h3 {
  font-size: 23px;
}
.process-grid p {
  color: var(--muted);
  font-size: 13px;
  max-width: 300px;
  margin-bottom: 0;
}
.faq {
  padding-top: 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  gap: 90px;
  padding-top: 60px;
  border-top: 1px solid var(--line);
}
.faq-items {
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  padding: 23px 34px 23px 0;
  position: relative;
  font-size: 14px;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 18px;
  font-size: 22px;
  color: var(--olive);
}
details[open] summary::after {
  content: "−";
}
details p {
  font-size: 13px;
  color: var(--muted);
  padding-right: 20px;
  padding-bottom: 12px;
}
.contact {
  background: #e4e6d9;
  text-align: center;
}
.contact-inner {
  max-width: 800px;
}
.contact-star {
  color: var(--olive);
  font-size: 40px;
  line-height: 1;
  display: block;
  margin-bottom: 27px;
}
.contact .eyebrow {
  margin-bottom: 20px;
}
.contact h2 {
  font-size: clamp(34px, 3.8vw, 52px);
  margin-bottom: 25px;
}
.contact-inner > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
}
.demo-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #aab096;
  padding: 13px 22px;
  margin-block: 14px 20px;
  font-size: 12px;
  color: #414932;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: var(--olive);
  border-radius: 50%;
  flex-shrink: 0;
}
.contact-inner > .contact-note {
  font-size: 11px !important;
  max-width: 470px;
  margin: 0 auto;
}
.site-footer {
  padding-block: 28px;
  background: var(--sand);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.footer-inner > p {
  margin-bottom: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
}
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  font-size: 10px;
}
.footer-meta .text-link {
  font-size: 11px;
}

/* O conteúdo se reorganiza em telas menores, sem depender do JavaScript. */
@media (min-width: 901px) {
  .menu-toggle {
    display: none;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 64px);
  }
  .main-nav {
    gap: 19px;
    font-size: 12px;
  }
  .main-nav .nav-contact {
    margin-left: 0;
  }
  .hero-grid {
    gap: 32px;
  }
  .hero-actions {
    gap: 10px;
  }
  .personalized-grid {
    gap: 55px;
  }
}
@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0;
    min-height: 94px;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .main-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 0 20px;
  }
  .header-inner.menu-ready .main-nav {
    display: none;
  }
  .header-inner.menu-open .main-nav {
    display: flex;
  }
  .hero {
    padding-block: 50px;
  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
  h1 {
    font-size: 44px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-footnote {
    margin-top: 25px;
  }
  .art-seal {
    width: 75px;
    height: 75px;
    font-size: 14px;
    right: -12px;
  }
  .art-seal i {
    font-size: 18px;
  }
  .art-caption {
    font-size: 6px;
  }
  .section-space {
    padding-block: 70px;
  }
  .section-heading {
    gap: 25px;
  }
  .collection-grid {
    gap: 18px;
  }
  h3 {
    font-size: 21px;
  }
  .collection-number {
    top: 14px;
    left: 14px;
  }
  .personalized-grid {
    gap: 38px;
  }
  .craft-items {
    font-size: 8px;
    gap: 13px;
  }
  .faq {
    padding-top: 0;
  }
  .faq-grid {
    gap: 45px;
  }
  .footer-meta {
    max-width: 230px;
    text-align: right;
  }
}
@media (max-width: 640px) {
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    min-height: 88px;
  }
  .brand {
    width: 156px;
    height: 70px;
  }
  .brand img {
    width: 156px;
    height: 156px;
    top: -28px;
  }
  .main-nav {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding-top: 6px;
  }
  .main-nav a {
    padding: 13px 0;
    border-top: 1px solid #63483c26;
  }
  .main-nav .nav-contact {
    border-bottom: 0;
  }
  .hero {
    padding-block: 38px 35px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  h1 {
    font-size: clamp(40px, 11vw, 60px);
  }
  .eyebrow {
    font-size: 10px;
    margin-bottom: 18px;
  }
  .hero-description {
    max-width: 440px;
    font-size: 15px;
    margin-bottom: 22px;
  }
  .hero-actions {
    gap: 12px;
  }
  .hero-footnote {
    display: none;
  }
  .hero-visual {
    width: calc(100% - 14px);
    max-width: 430px;
    margin-inline: auto;
  }
  .art-caption {
    font-size: 8px;
  }
  .art-seal {
    width: 80px;
    height: 80px;
  }
  .craft-items {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    padding-block: 18px;
    font-size: 8px;
  }
  .craft-items > span[aria-hidden] {
    display: none;
  }
  .section-space {
    padding-block: 55px;
  }
  .section-heading {
    display: block;
    margin-bottom: 29px;
  }
  .section-heading > p {
    margin-top: 18px;
    font-size: 13px;
  }
  .section-heading > p br {
    display: none;
  }
  h2 {
    font-size: 35px;
  }
  .collection-grid {
    grid-template-columns: 1fr;
    gap: 33px;
  }
  .collection-image img {
    max-height: 350px;
    object-fit: contain;
  }
  .collection-copy {
    padding-top: 18px;
  }
  h3 {
    font-size: 25px;
  }
  .collection-copy p {
    max-width: none;
  }
  .illustration-note {
    margin-top: 25px;
  }
  .personalized {
    padding-block: 45px;
  }
  .personalized-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .personalized-art img {
    max-height: 350px;
    object-fit: contain;
  }
  .handwritten {
    font-size: 20px;
  }
  .personalized-copy h2 {
    font-size: 37px;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .process-grid li {
    padding-top: 18px;
  }
  .step-number {
    font-size: 25px;
    margin-bottom: 8px;
  }
  .process-grid p {
    max-width: none;
  }
  .faq {
    padding-top: 0;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 40px;
  }
  .faq-grid h2 br {
    display: none;
  }
  .contact h2 {
    font-size: 34px;
  }
  .contact-inner > p br {
    display: none;
  }
  .footer-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 25px;
  }
  .footer-inner > p {
    font-size: 15px;
  }
  .footer-meta {
    max-width: none;
    width: 100%;
    text-align: center;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #63483c26;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* IluminArte 2.0 — catálogo, fotografias e combinação. */
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
}
textarea {
  resize: vertical;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}
.photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: 46% 46% 3px 3px;
  background: #e8dfd3;
}
.photo-frame > img {
  width: 100%;
  height: clamp(380px, 43vw, 550px);
  object-fit: cover;
}
.photo-tag {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 18px;
  background: #faf7f1ed;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.carousel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
}
.carousel-bar button {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--olive);
}
.carousel-bar .carousel-caption {
  margin: 0;
  text-align: center;
  font-size: 11px;
}
.about {
  background: #eeeee5;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
}
.about h2 {
  margin-bottom: 25px;
}
.about p:not(.eyebrow) {
  max-width: 600px;
  color: var(--muted);
}
.page-intro {
  padding-block: 64px 42px;
}
.page-intro h1 {
  margin-bottom: 20px;
}
.page-intro p:not(.eyebrow) {
  color: var(--muted);
}
.catalog-section {
  padding-bottom: 90px;
}
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding-block: 20px;
  border-block: 1px solid var(--line);
}
.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-list button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 10px 16px;
  min-height: 44px;
  border-radius: 30px;
  font-size: 12px;
}
.filter-list button[aria-pressed="true"] {
  background: var(--olive);
  border-color: var(--olive);
  color: #fffdf7;
}
.search-field {
  min-width: 230px;
  margin-bottom: 0;
}
#catalog-status {
  font-size: 12px;
  color: var(--muted);
  padding-block: 18px;
  margin-bottom: 8px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 26px;
}
.product-card {
  min-width: 0;
}
.product-photo {
  display: block;
  position: relative;
  overflow: hidden;
  background: #e8dfd3;
}
.product-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-photo:hover img {
  transform: scale(1.035);
}
.photo-link {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: var(--paper);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
}
.product-copy {
  padding-top: 22px;
}
.product-copy h2 {
  font-size: 27px;
  line-height: 1.2;
}
.product-price {
  font-size: 19px;
  color: var(--olive);
  margin-block: 12px;
}
.product-copy details {
  margin-bottom: 18px;
}
.product-copy summary {
  font-size: 12px;
  padding-block: 12px;
}
.product-copy summary::after {
  top: 7px;
}
.small-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.catalog-section > .small-note {
  margin-top: 45px;
  max-width: 720px;
}
.empty-state {
  padding: 25px;
  background: #efebe2;
  color: var(--muted);
  grid-column: 1 / -1;
  font-size: 14px;
}
.builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 45px;
  align-items: start;
  padding-bottom: 90px;
}
.builder-heading,
.summary-panel h2 {
  font-size: 29px;
  margin-bottom: 18px;
}
.builder-products {
  display: grid;
  gap: 18px;
}
.builder-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 22px;
  border: 1px solid var(--line);
  padding: 18px;
}
.builder-card > img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.builder-card h3 {
  font-size: 22px;
}
.builder-card input {
  max-width: 100px;
  margin-bottom: 15px;
}
.builder-card select {
  margin-bottom: 10px;
  font-size: 12px;
}
.builder-card .button {
  display: flex;
  width: 100%;
}
.builder-card.highlighted {
  border: 2px solid var(--olive);
  background: #eeeee5;
}
.button-outline {
  border: 1px solid var(--olive);
  background: transparent;
  color: var(--olive);
}
.button-outline:hover {
  background: #e4e6d9;
}
.summary-panel {
  padding: 30px;
  background: #eeeee5;
  border-top: 3px solid var(--olive);
}
.summary-panel .eyebrow {
  margin-bottom: 14px;
}
#draft-status {
  font-size: 12px;
  color: var(--olive);
}
.selected-row {
  padding-block: 18px;
  border-top: 1px solid #d0d3c4;
}
.selected-row > div:first-child strong {
  font-size: 14px;
}
.selected-row span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 10px;
}
.selected-row label {
  font-size: 11px;
}
.selected-row input {
  display: block;
  max-width: 90px;
  margin-top: 6px;
}
.selected-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.text-button {
  padding: 12px 0;
  border: 0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--brown);
  font-size: 12px;
}
.total-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid #c4c9b4;
  font-size: 14px;
}
.total-row strong {
  font-size: 24px;
  color: var(--olive);
  white-space: nowrap;
}
.full-width {
  width: 100%;
  gap: 8px;
  margin-top: 10px;
}
.summary-preview textarea {
  font-size: 12px;
}
.location-panel {
  margin-top: 35px;
  padding: 25px;
  border: 1px solid #c4c9b4;
}
.location-panel h3 {
  font-size: 25px;
}
#official-contacts {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
}
.contact-note {
  margin-top: 22px !important;
}
.home-page .arrived {
  animation: appear 0.65s ease both;
}
@keyframes appear {
  from {
    transform: translateY(12px);
  }
  to {
    transform: translateY(0);
  }
}
@media (max-width: 1100px) {
  .main-nav {
    gap: 14px;
  }
  .builder-layout {
    gap: 25px;
  }
  .summary-panel {
    padding: 22px;
  }
}
@media (max-width: 900px) {
  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .builder-layout {
    grid-template-columns: 1fr;
  }
  .builder-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .builder-card {
    grid-template-columns: 1fr;
  }
  .summary-panel {
    max-width: 100%;
  }
}
@media (max-width: 640px) {
  .photo-frame > img {
    height: 440px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .page-intro {
    padding-block: 40px 30px;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .builder-products {
    grid-template-columns: 1fr;
  }
  .builder-card {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
    padding: 12px;
    gap: 14px;
  }
  .builder-card h3 {
    font-size: 20px;
  }
  .total-row {
    flex-wrap: wrap;
  }
  .photo-tag {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
  }
}
.inline-feedback {
  color: var(--olive);
  font-size: 12px;
  margin: 8px 0 0;
}
#resumo {
  scroll-margin-top: 25px;
}

#official-contacts {
  flex-wrap: wrap;
}

.home-search {
  margin-block: 25px;
  max-width: 490px;
}
.home-search-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.home-search-row input {
  min-width: 0;
}
.home-search-row button {
  flex-shrink: 0;
  padding-inline: 16px;
}
.home-search .small-note {
  margin: 8px 0;
}
.search-results {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  border: 1px solid var(--line);
  background: #fffdf8;
}
.search-results li + li {
  border-top: 1px solid var(--line);
}
.search-results a {
  display: block;
  padding: 12px;
  font-size: 13px;
}
.search-results a:hover {
  background: #eeeee5;
}
.about-grid {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 65px;
}
.about-photo {
  width: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 8px;
}
.photo-frame:has(video:not([hidden])) {
  border-radius: 8px;
}
@media (max-width: 640px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-photo {
    max-height: none;
  }
}

/* Busca no cabeçalho, disponível também nas páginas internas. */
.header-inner {
  display: grid;
  grid-template-columns: 180px 1fr minmax(220px, 280px);
  gap: 24px;
}
.main-nav {
  justify-content: center;
  gap: 20px;
}
.header-search {
  position: relative;
  width: 100%;
  margin: 16px 0;
  max-width: none;
}
.header-search label {
  font-size: 11px;
}
.header-search input {
  font-size: 12px;
}
.header-search .home-search-row {
  gap: 5px;
}
.header-search button {
  min-height: 44px;
  padding: 10px;
}
.header-search #home-search-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.header-search .search-results {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  z-index: 5;
  margin-top: 6px;
  box-shadow: 0 8px 24px #44352e1f;
  max-height: 320px;
  overflow-y: auto;
}
.personalized-grid {
  display: block;
}
.personalized-copy {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.personalized-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin-inline: auto;
}
.occasion-list {
  text-align: left;
  max-width: 480px;
  margin-inline: auto;
}
.feedback {
  background: #eeeee5;
}
.feedback-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 80px;
  align-items: center;
}
.feedback h2 {
  margin-bottom: 24px;
}
#feedback-description {
  color: var(--muted);
  max-width: 480px;
}
.feedback-media {
  justify-self: center;
  width: min(100%, 300px);
}
.feedback-media video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 480 / 854;
  background: #272b23;
  border-radius: 8px;
}
.feedback .video-description {
  margin-top: 25px;
}
@media (min-width: 901px) and (max-width: 1100px) {
  .header-inner {
    grid-template-columns: 156px 1fr 230px;
    gap: 16px;
  }
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .header-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
  }
  .brand {
    order: 1;
  }
  .menu-toggle {
    order: 2;
    margin-left: auto;
  }
  .header-search {
    order: 3;
    flex-basis: 100%;
    margin: 0 0 18px;
  }
  .main-nav {
    order: 4;
  }
  .header-search input {
    font-size: 16px;
  }
  .feedback-grid {
    gap: 35px;
  }
}
@media (max-width: 640px) {
  .feedback-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .feedback-media {
    width: min(100%, 300px);
  }
}

/* Movimento apenas na página inicial. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.home-page .scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.home-page .scroll-reveal.is-revealed,
.home-page .scroll-reveal:focus-within {
  opacity: 1;
  transform: translateY(0);
}
.home-page .animated-word {
  display: inline-block;
  white-space: nowrap;
}
.home-page .animated-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.25em);
}
.home-page .letters-visible .animated-letter {
  animation: letter-in 0.32s ease both;
  animation-delay: var(--letter-delay);
}
@keyframes letter-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.carousel-playback {
  display: block;
  margin: 12px auto 0;
  padding: 8px 15px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 30px;
  color: var(--olive);
  background: transparent;
  font-size: 12px;
}
@media (max-width: 900px) {
  html {
    scroll-padding-top: calc(var(--mobile-header-height, 165px) + 16px);
  }
  .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
  }
  .site-header.is-scrolled {
    background: var(--sand);
    box-shadow: 0 3px 18px #44352e15;
  }
  .site-header:focus-within {
    background: var(--sand);
  }
  .header-inner.menu-open {
    max-height: 100dvh;
    overflow-y: auto;
  }
  .header-inner.menu-open .main-nav {
    background: var(--sand);
  }
  .header-search .home-search-row input {
    background: #fffdf8;
  }
  .skip-link {
    z-index: 30;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .scroll-reveal,
  .home-page .animated-letter {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
}

/* Catálogo e montador permanecem sem animações. */
body:not(.home-page) *,
body:not(.home-page) *::before,
body:not(.home-page) *::after {
  animation: none !important;
  transition: none !important;
}
body:not(.home-page) .product-photo:hover img {
  transform: none;
}

/* Troca de fotos por dissolvência, sem alterar as páginas internas. */
.photo-frame > #hero-photo {
  position: relative;
  z-index: 1;
}
.photo-frame > .carousel-previous {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-tag {
  z-index: 2;
}
@media (max-width: 900px) {
  .site-header.is-scrolled .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 8px;
    min-height: 64px;
    padding-block: 10px;
  }
  .site-header.is-scrolled .brand {
    display: none;
  }
  .site-header.is-scrolled .header-search {
    order: 1;
    margin: 0;
    min-width: 0;
  }
  .site-header.is-scrolled .header-search > label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .site-header.is-scrolled .menu-toggle {
    order: 2;
    margin: 0;
    padding: 0;
    width: 44px;
    min-height: 44px;
    justify-content: center;
  }
  .site-header.is-scrolled .menu-toggle > span:first-child {
    display: none;
  }
  .site-header.is-scrolled .main-nav {
    order: 3;
    grid-column: 1 / -1;
  }
  .site-header.is-scrolled .header-inner.menu-ready .main-nav {
    display: none;
  }
  .site-header.is-scrolled .header-inner.menu-open .main-nav {
    display: flex;
  }
}

/* Mantém o fluxo da página estável nos dois tamanhos do cabeçalho. */
.header-space {
  display: contents;
}
@media (max-width: 900px) {
  .header-space {
    display: block;
    height: var(--expanded-header-height, 165px);
  }
  .header-space .site-header {
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
  }
}

/* Catálogo: conhecer o produto, adicionar com + e depois revisar em Compre aqui. */
.catalog-checkout {
  margin-top: 12px;
  font-size: 14px;
}
.add-to-cart {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--olive);
  border-radius: 50%;
  background: var(--olive);
  color: #fffdf7;
  display: grid;
  place-items: center;
  font-size: 30px;
  line-height: 1;
}
.add-to-cart:hover,
.add-to-cart:focus-visible {
  background: #414932;
}
.add-tooltip {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: 225px;
  padding: 12px;
  border-radius: 6px;
  background: var(--olive);
  color: #fffdf7;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.add-to-cart:hover .add-tooltip,
.add-to-cart:focus-visible .add-tooltip {
  visibility: visible;
  opacity: 1;
}
/* Chevron discreta: v fechado, invertida quando aberto. */
.product-details > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  top: 50%;
  right: 8px;
}
.product-details[open] > summary::after {
  content: "";
  transform: translateY(-50%) rotate(225deg);
  top: 50%;
}
.product-specs {
  margin: 14px 0 18px;
  font-size: 12px;
}
.product-specs > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-block: 4px;
}
.product-specs dt {
  font-weight: 600;
}
.product-specs dt::after {
  content: ":";
}
.product-specs dd {
  margin: 0;
  color: var(--muted);
}
.builder-description {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}
.inline-feedback:empty {
  display: none;
}
.inline-feedback:not(:empty) {
  padding: 10px 12px;
  border-radius: 5px;
  background: #dfe5d2;
  color: #354024;
  border: 1px solid #b1bea0;
  font-weight: 600;
}
.inline-feedback.feedback-error {
  background: #f1e4d8;
  color: #63483c;
  border-color: #cfb8a3;
}
.cart-notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: min(410px, calc(100% - 40px));
  padding: 20px 44px 20px 20px;
  background: var(--olive);
  color: #fffdf7;
  border-radius: 8px;
  box-shadow: 0 8px 28px #27301a33;
}
.cart-notice p {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.6;
}
.notice-link {
  display: inline-block;
  padding-block: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.notice-close {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 26px;
}
.cart-notice :focus-visible {
  outline-color: #fffdf7;
  outline-offset: 2px;
}
@media (max-width: 640px) {
  .cart-notice {
    right: 20px;
    bottom: 20px;
  }
  .builder-card {
    grid-template-columns: 1fr;
  }
  .builder-card > img {
    max-height: 320px;
    object-fit: contain;
    background: #e8dfd3;
  }
}

/* Descrição completa em uma única caixa; medidas com destaque. */
.product-description-box {
  margin: 14px 0 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f1ede5;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.product-description-box .description-title {
  margin: 0 0 10px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
}
.product-description-box p {
  margin: 0 0 8px;
}
.product-description-box p:last-child {
  margin-bottom: 0;
}
.product-description-box strong {
  color: var(--ink);
}
/* Desenho geométrico evita o desalinhamento de linha-base do caractere +. */
.add-symbol {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  font-size: 0;
}
.add-symbol::before,
.add-symbol::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transform: translate(-50%, -50%);
}
.add-symbol::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* Apenas os rótulos das medidas têm destaque; valores em peso normal. */
.product-specs dd {
  font-weight: 400;
}
.builder-card .product-details {
  margin: 14px 0 18px;
}
.builder-card .product-details > summary {
  padding-block: 12px;
  font-size: 12px;
}
.builder-card .product-details p {
  padding-right: 0;
  font-size: 12px;
}

/* O título fica fora da caixa branca nas duas páginas. */
.product-details-content {
  padding: 14px 16px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}
.product-details .product-details-content p {
  margin: 0 0 12px;
  padding: 0;
  font-size: 12px;
  color: var(--muted);
}
.product-details .product-details-content p:last-child {
  margin-bottom: 0;
}
@media (max-width: 900px) {
  /* 60% transparente = fundo com 40% de opacidade; texto e controles preservados. */
  .site-header.is-scrolled,
  .site-header.is-scrolled:focus-within {
    background: rgb(215 195 176 / 40%);
  }
  .site-header.is-scrolled .header-inner,
  .site-header.is-scrolled .main-nav,
  .site-header.is-scrolled .header-inner.menu-open .main-nav {
    background: transparent;
  }
}

@media (max-width: 900px) {
  /* O painel aberto precisa de fundo opaco, mesmo com foco no ícone ou links. */
  .site-header.is-scrolled:has(.header-inner.menu-open) {
    background: var(--sand);
  }
}

/* Black Friday: preços e faixas consistentes no catálogo e na combinação. */
.black-friday-strip {
  background: #171715;
  color: #fffaf0;
}
.black-friday-strip a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 17px 24px;
  text-align: center;
  font-size: 13px;
}
.black-friday-strip strong {
  letter-spacing: 0.16em;
  font-size: 12px;
}
.strip-terms {
  color: #e0d2c0;
  font-size: 11px;
}
.black-friday-strip a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -5px;
}
.black-friday-callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 36px;
  margin-bottom: 40px;
  background: #211f1b;
  color: #fffaf0;
  border-radius: 8px;
}
.black-friday-callout .eyebrow {
  color: #dfc5a2;
}
.black-friday-callout h2 {
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.15;
}
.black-friday-callout em {
  color: #dfc5a2;
}
.sale-offers p {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
  margin: 0 0 18px;
  line-height: 1.6;
  font-size: 14px;
}
.sale-offers strong {
  font-size: 24px;
  white-space: nowrap;
}
.sale-offers small {
  display: block;
  color: #e0d2c0;
  font-size: 11px;
  line-height: 1.7;
}
.sale-ribbon {
  position: absolute;
  top: 25px;
  left: -38px;
  width: 156px;
  padding: 8px 0;
  transform: rotate(-45deg);
  background: #171715;
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  pointer-events: none;
}
.sale-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
}
.original-price {
  color: #71675d;
  font-size: 14px;
}
.sale-price strong {
  font-size: 23px;
}
.price-saving {
  flex-basis: 100%;
  color: #47502e;
  font-size: 12px;
}
.builder-card > .product-photo {
  align-self: start;
}
.product-photo img {
  object-fit: contain;
}
@media (max-width: 640px) {
  .black-friday-strip a {
    gap: 8px 16px;
    padding: 14px 18px;
  }
  .black-friday-strip strong {
    flex-basis: 100%;
  }
  .black-friday-callout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
  .sale-offers p {
    gap: 14px;
    font-size: 13px;
  }
}

/* Movimento exclusivo da faixa de Black Friday, também no catálogo/compra. */
.black-friday-inner {
  max-width: 1240px;
  margin-inline: auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 28px;
}
.black-friday-strip .black-friday-title {
  font-size: clamp(22px, 2.5vw, 30px);
  letter-spacing: 0.1em;
  line-height: 1.2;
  animation:
    black-friday-pulse 1.8s ease-in-out infinite,
    black-friday-colors 3.6s ease-in-out infinite !important;
}
.black-friday-strip .black-friday-offer {
  display: block;
  padding: 5px 0;
  width: 320px;
  max-width: 100%;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.5;
}
.offer-message {
  display: block;
}
.black-friday-strip.promotion-paused .black-friday-title {
  animation-play-state: paused !important;
}
@keyframes black-friday-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
@media (max-width: 640px) {
  .black-friday-strip .black-friday-title {
    flex-basis: 100%;
    text-align: center;
  }
  .black-friday-inner {
    gap: 8px 18px;
    padding: 16px 20px;
  }
  .black-friday-strip .black-friday-offer {
    width: 100%;
    min-height: 33px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .black-friday-strip .black-friday-title {
    animation: none !important;
  }
  .black-friday-strip .black-friday-offer {
    width: min(100%, 510px);
  }
}

@keyframes black-friday-colors {
  0%,
  35%,
  100% {
    color: #fffaf0;
  }
  65%,
  80% {
    color: #dfd39d;
  }
}
