:root {
  --bg: #f7f4ef;
  --paper: #fffdf9;
  --ink: #262522;
  --muted: #77736c;
  --line: #e7e1d8;
  --accent: #8d2927;
  --accent-2: #b06455;
  --taupe: #cfc2b3;
  --shadow: 0 18px 50px rgba(42, 32, 23, .10);
  --radius: 24px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: 'DM Sans', system-ui, sans-serif
}

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

a {
  text-decoration: none;
  color: inherit
}

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto
}

.topbar {
  font-size: 12px;
  color: #5f5a52;
  border-bottom: 1px solid var(--line);
  background: #fbfaf7
}

.topbar .inner {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  padding: 9px 0
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 253, 249, .93);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(231, 225, 216, .8)
}

.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -.03em
}

.brand-mark {
  width: 42px;
  height: 28px;
  flex: none;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 32' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14V9a5 5 0 0 1 5-5h18a5 5 0 0 1 5 5v5'/%3E%3Crect x='2.5' y='13' width='43' height='12' rx='4.5'/%3E%3Cpath d='M10 14v11M38 14v11'/%3E%3Cpath d='M8 25v4M40 25v4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 32' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14V9a5 5 0 0 1 5-5h18a5 5 0 0 1 5 5v5'/%3E%3Crect x='2.5' y='13' width='43' height='12' rx='4.5'/%3E%3Cpath d='M10 14v11M38 14v11'/%3E%3Cpath d='M8 25v4M40 25v4'/%3E%3C/svg%3E") center / contain no-repeat
}

.brand span {
  font-size: 21px
}

.brand em {
  font-style: normal;
  color: var(--accent)
}

.menu {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: #4e4a43
}

.menu a {
  padding: 10px 0;
  position: relative
}

.menu a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: .25s
}

.menu a:hover:after {
  transform: scaleX(1)
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px
}

.icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fffdf9;
  cursor: pointer
}

.cta {
  border: none;
  background: var(--accent);
  color: white;
  padding: 13px 19px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s
}

.cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.04)
}

.hamb {
  display: none
}

.hero {
  padding: 22px 0 0
}

.hero-wrap {
  position: relative;
  min-height: 660px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow)
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 20, 18, .56) 0%, rgba(23, 20, 18, .24) 46%, rgba(23, 20, 18, .05) 100%)
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  color: white;
  padding: 110px 72px
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: 20px
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(52px, 7vw, 88px);
  line-height: .98;
  margin: 0 0 20px;
  letter-spacing: -.04em
}

.hero p {
  font-size: 18px;
  line-height: 1.65;
  max-width: 530px;
  color: rgba(255, 255, 255, .9)
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0
}

.ghost {
  padding: 13px 19px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .48);
  color: white;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px)
}

.micro {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255, 255, 255, .78)
}

.slider-dots {
  position: absolute;
  right: 28px;
  bottom: 24px;
  display: flex;
  gap: 6px
}

.slider-dots span {
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, .45);
  border-radius: 50%
}

.slider-dots span.active {
  width: 24px;
  border-radius: 99px;
  background: #fff
}

section {
  padding: 88px 0
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 34px
}

.section-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: 46px;
  margin: 0;
  letter-spacing: -.03em
}

.section-head p {
  max-width: 470px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0
}

.categories {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px
}

.cat {
  position: relative;
  min-height: 380px;
  border-radius: 22px;
  overflow: hidden;
  background: #ddd
}

.cat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s
}

.cat:hover img {
  transform: scale(1.05)
}

.cat:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 36%, rgba(12, 10, 8, .72) 100%)
}

.cat-info {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 18px;
  color: #fff
}

.cat h3 {
  margin: 0 0 5px;
  font-size: 18px
}

.cat p {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 12px
}

.cat-link {
  display: inline-flex;
  gap: 7px;
  margin-top: 12px;
  font-size: 12px;
  color: white
}

.products {
  background: #fbfaf7
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.tab {
  border: 1px solid var(--line);
  background: #fffdf9;
  color: #625d55;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer
}

.tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: white
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px
}

.product {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  transition: .25s
}

.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(40, 30, 20, .08)
}

.product-media {
  height: 300px;
  position: relative;
  overflow: hidden;
  background: #eee
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s
}

.product:hover .product-media img {
  transform: scale(1.04)
}

.badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(255, 255, 255, .92);
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px
}

.product-body {
  padding: 18px
}

.product h3 {
  margin: 0 0 5px;
  font-size: 16px
}

.ref {
  font-size: 11px;
  color: #9b958a
}

.price {
  margin-top: 15px;
  font-weight: 700
}

.product .ghost-dark {
  display: inline-flex;
  margin-top: 13px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px
}

.split {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: 55px;
  align-items: center
}

.photo-card {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 540px
}

.photo-card img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover
}

.steps {
  display: grid;
  gap: 18px;
  margin: 28px 0
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start
}

.num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ece5dc;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #6c5f50
}

.step h4 {
  margin: 2px 0 6px
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6
}

.quote {
  background: #1f1d1a;
  color: white
}

.quote .section-head p {
  color: #bbb5ac
}

.quote-box {
  background: #292621;
  border: 1px solid #39342e;
  border-radius: 26px;
  padding: 28px
}

.progress {
  height: 5px;
  background: #403a33;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 22px
}

.progress span {
  display: block;
  width: 33%;
  height: 100%;
  background: #ddab95
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px
}

.field.full {
  grid-column: 1/-1
}

.field label {
  font-size: 12px;
  color: #bdb5aa
}

.field input,
.field select,
.field textarea {
  background: #201d1a;
  border: 1px solid #4b453e;
  color: white;
  border-radius: 12px;
  padding: 12px 13px;
  outline: none
}

.field textarea {
  min-height: 110px;
  resize: vertical
}

.fabric {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: center
}

.swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px
}

.swatch {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  cursor: pointer
}

.chip {
  height: 72px;
  border-radius: 12px;
  margin-bottom: 8px
}

.swatch small {
  color: #655f56
}

.swatch.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(141, 41, 39, .08)
}

.services {
  background: #e9e1d7
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}

.service {
  padding: 28px;
  background: #f9f5ef;
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 22px
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 22px
}

.service h3 {
  margin: 0 0 8px
}

.service p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0
}

.gallery {
  display: grid;
  grid-template-columns: 1.05fr .95fr .95fr;
  grid-auto-rows: 220px;
  gap: 14px
}

.gallery-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
}

.gallery-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.g-tall {
  grid-row: span 2
}

.g-wide {
  grid-column: span 2
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 22px
}

.stars {
  letter-spacing: .16em;
  color: #9b6a42;
  font-size: 12px
}

.quote-card p {
  color: #5e594f;
  line-height: 1.75
}

.quote-card strong {
  font-size: 13px
}

.quote-card small {
  color: #8f887e
}

.final-cta {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  min-height: 420px;
  display: flex;
  align-items: center
}

.final-cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.final-cta:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24, 20, 17, .72), rgba(24, 20, 17, .18))
}

.final-inner {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 610px;
  padding: 70px
}

.final-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 58px;
  line-height: 1;
  margin: 0 0 16px
}

.final-inner p {
  font-size: 17px;
  color: rgba(255, 255, 255, .86);
  line-height: 1.65
}

.final-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px
}

footer {
  background: #1f1d1a;
  color: #ded7ce;
  padding: 66px 0 25px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 35px
}

.footer h4 {
  color: #fff;
  margin: 0 0 15px
}

.footer p,
.footer a {
  color: #aaa399;
  font-size: 13px;
  line-height: 1.8
}

.footer a:hover {
  color: white
}

.footer .social {
  display: flex;
  gap: 10px;
  margin-top: 18px
}

.footer .social a {
  width: 38px;
  height: 38px;
  border: 1px solid #37332e;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ded7ce;
  transition: background .2s, color .2s, border-color .2s
}

.footer .social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff
}

.copyright {
  border-top: 1px solid #37332e;
  margin-top: 40px;
  padding-top: 18px;
  font-size: 12px;
  color: #8b847b;
  display: flex;
  justify-content: space-between;
  gap: 10px
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #fffdf9;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 14px 16px;
  border-radius: 14px;
  display: none;
  z-index: 100;
  font-size: 13px
}

@media (max-width: 1050px) {
  .menu {
    display: none
  }

  .hamb {
    display: grid
  }

  .categories {
    grid-template-columns: repeat(3, 1fr)
  }

  .grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

  .gallery {
    grid-template-columns: 1fr 1fr
  }

  .g-wide {
    grid-column: span 1
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, 640px)
  }

  .nav {
    height: 72px
  }

  .hero-wrap {
    min-height: 620px;
    border-radius: 20px
  }

  .hero-content {
    padding: 72px 28px
  }

  .hero h1 {
    font-size: 52px
  }

  .hero p {
    font-size: 16px
  }

  .section-head {
    display: block
  }

  .section-head h2 {
    font-size: 38px;
    margin-bottom: 12px
  }

  .categories,
  .grid,
  .service-grid,
  .testimonials,
  .split,
  .fabric,
  .footer-grid {
    grid-template-columns: 1fr
  }

  .cat {
    min-height: 310px
  }

  .swatches {
    grid-template-columns: repeat(2, 1fr)
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px
  }

  .g-tall,
  .g-wide {
    grid-row: auto;
    grid-column: auto
  }

  .photo-card,
  .photo-card img {
    min-height: 420px
  }

  .form-grid {
    grid-template-columns: 1fr
  }

  .field.full {
    grid-column: auto
  }

  .final-inner {
    padding: 44px 28px
  }

  .final-inner h2 {
    font-size: 46px
  }

  .copyright {
    display: block
  }

  .copyright span {
    display: block;
    margin-top: 6px
  }
}

/* ===== Página Contactos ===== */
.page-hero {
  padding: 56px 0 8px;
  text-align: center
}

.page-hero .lines {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 4px
}

.page-hero .lines span {
  flex: 1;
  max-width: 260px;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--taupe) 0 3px, transparent 3px 6px)
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 46px);
  letter-spacing: .02em;
  margin: 0 0 42px
}

.contact-map {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line)
}

.contact-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
  filter: grayscale(.1)
}

.contact-split {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: start
}

.contact-split h2 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  margin: 0 0 4px
}

.contact-split .lead {
  color: var(--muted);
  margin: 0 0 26px
}

.cform {
  display: grid;
  gap: 14px
}

.cform .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

.cform label {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-bottom: 7px
}

.cform input,
.cform textarea {
  width: 100%;
  background: #fffdf9;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 12px;
  padding: 13px 14px;
  outline: none;
  transition: .2s
}

.cform input:focus,
.cform textarea:focus {
  border-color: var(--accent)
}

.cform textarea {
  min-height: 150px;
  resize: vertical
}

.cform .checkbox-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--muted)
}

.cform .checkbox-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent)
}

.cform button.cta {
  justify-self: start;
  margin-top: 4px
}

.info-panel {
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px
}

.info-panel h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  margin: 0 0 10px
}

.info-panel > .lead {
  color: var(--muted);
  margin: 0 0 22px;
  line-height: 1.6
}

.info-panel .hours {
  margin-bottom: 22px
}

.info-panel .hours strong {
  display: block;
  font-size: 13px;
  margin-bottom: 10px
}

.info-panel .hours p {
  margin: 0 0 10px;
  font-size: 14px;
  color: #4e4a43;
  line-height: 1.5
}

.info-panel .hours .muted {
  color: var(--muted);
  font-size: 13px
}

.info-panel .info-line {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 8px;
  color: #4e4a43
}

.info-panel .info-line strong {
  color: var(--accent)
}

@media (max-width: 900px) {
  .contact-split {
    grid-template-columns: 1fr
  }

  .cform .row {
    grid-template-columns: 1fr
  }

  .page-hero .lines span {
    max-width: 60px
  }
}

/* ===== Página Condições Gerais ===== */
.legal-section {
  padding: 0 0 70px
}

.page-hero h1 {
  margin-bottom: 34px
}

.legal {
  max-width: 860px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 44px 48px
}

.legal h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  margin: 38px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line)
}

.legal h2:first-child {
  margin-top: 0
}

.legal h3 {
  font-size: 16px;
  margin: 24px 0 8px;
  color: var(--accent)
}

.legal p,
.legal li {
  font-size: 15px;
  line-height: 1.75;
  color: #4e4a43;
  margin: 0 0 12px
}

.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px
}

.legal .notice {
  background: #f7efe9;
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 12px 16px
}

.legal-contacts {
  list-style: none;
  padding: 0;
  margin: 0
}

.copyright .legal-links a {
  color: #8b847b;
  text-decoration: underline;
  text-underline-offset: 2px
}

.copyright .legal-links a:hover {
  color: #fff
}

@media (max-width: 640px) {
  .legal {
    padding: 28px 22px
  }
}

.legal .muted {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px
}

.legal ul {
  margin: 0 0 14px;
  padding-left: 22px
}

.legal ul.legal-contacts {
  padding: 0
}

/* ===== Listagem de artigos ===== */
.page-sub {
  max-width: 560px;
  margin: -22px auto 34px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7
}

.listing-section {
  padding: 10px 0 80px
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px 34px
}

.item {
  position: relative
}

.item-title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.01em;
  margin: 0 0 6px
}

.item-sub {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #a29b90;
  margin: 0 0 16px
}

.item-media {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background: #eee7dd
}

.item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s
}

.item:hover .item-media img {
  transform: scale(1.04)
}

.item-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 24px;
  background: #2f2d2a;
  color: #fff;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .2s
}

.item-btn::after {
  content: "";
  position: absolute;
  inset: 0
}

.item:hover .item-btn {
  background: var(--accent)
}

/* ===== Página de artigo ===== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 26px 0 22px;
  font-size: 12px;
  color: var(--muted)
}

.breadcrumb a:hover {
  color: var(--accent);
  text-decoration: underline
}

.pdp {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 420px;
  gap: 22px;
  align-items: start
}

.pdp-thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.pdp-thumb {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  aspect-ratio: 1;
  opacity: .75;
  transition: .2s
}

.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.pdp-thumb:hover,
.pdp-thumb.active {
  opacity: 1;
  border-color: var(--ink)
}

.pdp-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #eee7dd;
  aspect-ratio: 4 / 3.4
}

.pdp-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.pdp-info {
  position: sticky;
  top: 100px
}

.pdp-name {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  margin: 0 0 4px
}

.pdp-sub {
  margin: 0;
  font-size: 16px;
  color: #4e4a43
}

.pdp-ref {
  margin: 6px 0 0;
  font-size: 12px;
  color: #a29b90
}

.pdp-price {
  margin-top: 20px;
  display: flex;
  align-items: baseline;
  gap: 10px
}

.pdp-price small {
  font-size: 13px;
  color: var(--muted)
}

.pdp-price strong {
  font-size: 40px;
  line-height: 1;
  letter-spacing: -.02em
}

.pdp-price sup {
  font-size: 18px;
  margin-left: 2px
}

.pdp-iva {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted)
}

.pdp-opt {
  margin-top: 24px
}

.pdp-opt-label {
  font-size: 13px;
  margin-bottom: 10px;
  color: #4e4a43
}

.pdp-swatches,
.pdp-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.pdp-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
  transition: .2s
}

.pdp-swatch.active {
  box-shadow: 0 0 0 2px var(--ink)
}

.pdp-size {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffdf9;
  font-size: 13px;
  cursor: pointer;
  color: #4e4a43
}

.pdp-size.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff
}

.pdp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px
}

.pdp-actions .cta {
  display: inline-flex;
  align-items: center
}

.pdp-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  height: 47px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffdf9;
  font-size: 14px;
  font-weight: 600
}

.pdp-wa:hover {
  border-color: #25D366
}

.pdp-perks {
  list-style: none;
  margin: 26px 0 8px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdf9
}

.pdp-perks li {
  padding: 14px 18px;
  display: grid;
  gap: 2px
}

.pdp-perks li+li {
  border-top: 1px solid var(--line)
}

.pdp-perks strong {
  font-size: 14px
}

.pdp-perks span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6
}

.pdp-perks a {
  color: var(--accent);
  text-decoration: underline
}

.pdp-acc {
  border-bottom: 1px solid var(--line)
}

.pdp-acc summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between
}

.pdp-acc summary::-webkit-details-marker {
  display: none
}

.pdp-acc summary::after {
  content: "+";
  font-size: 20px;
  line-height: 1
}

.pdp-acc[open] summary::after {
  content: "–"
}

.pdp-acc p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.75;
  color: #4e4a43
}

.pdp-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 14px
}

.pdp-table th,
.pdp-table td {
  text-align: left;
  padding: 8px 0;
  border-top: 1px solid var(--line)
}

.pdp-table th {
  width: 40%;
  color: var(--muted);
  font-weight: 500
}

.pdp-back {
  margin: 44px 0 80px;
  font-size: 14px
}

.pdp-back a:hover {
  color: var(--accent);
  text-decoration: underline
}

@media (max-width: 1100px) {
  .pdp {
    grid-template-columns: 76px minmax(0, 1fr)
  }

  .pdp-info {
    grid-column: 1 / -1;
    position: static
  }
}

@media (max-width: 900px) {
  .item-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width: 640px) {
  .item-grid {
    grid-template-columns: 1fr
  }

  .pdp {
    grid-template-columns: 1fr
  }

  .pdp-thumbs {
    flex-direction: row;
    order: 2
  }

  .pdp-thumb {
    width: 72px
  }
}
/* ===== Submenu Sofás (hover) ===== */
.menu { align-items: center }
.menu .has-sub { position: relative }
.menu .has-sub::before { content: ""; position: absolute; left: -20px; right: -20px; top: 100%; height: 26px }
.menu .submenu {
  position: absolute; top: calc(100% + 24px); left: -20px; min-width: 210px;
  background: #fff; border: 1px solid #e7e1d8; border-top: 0;
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s; z-index: 50
}
.menu .has-sub:hover .submenu, .menu .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none }
.menu .submenu a {
  display: block; padding: 13px 20px; font-size: 12.5px; letter-spacing: .04em;
  text-transform: uppercase; color: #4e4a43; border-bottom: 1px solid #f0ebe3; white-space: nowrap
}
.menu .submenu a:last-child { border-bottom: 0 }
.menu .submenu a:after { display: none }
.menu .submenu a:hover { color: var(--accent); background: #faf6f0 }

/* ===== Página Amostras ===== */
.amostras-grupo { margin-bottom: 56px }
.amostras-titulo { font-size: 22px; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 28px; padding-bottom: 14px; border-bottom: 1px solid var(--line, #e7e1d8) }
.amostras-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 36px 24px }
.amostra { margin: 0; text-align: center }
.amostra-img { aspect-ratio: 1 / 1; border-radius: 6px; background: var(--c, #ddd); background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06) }
.amostra img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px }
.amostra figcaption { margin-top: 12px; font-size: 14.5px; color: #8a847b }
.amostras-nota { color: #8a847b; font-size: 14px; margin: 0 0 20px }
@media (max-width: 1000px) { .amostras-grid { grid-template-columns: repeat(4, 1fr) } }
@media (max-width: 640px) { .amostras-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 16px } }

/* ===== Header em telemóvel: topbar, WhatsApp e menu ☰ visíveis ===== */
@media (max-width: 760px) {
  .topbar .inner { justify-content: center; flex-wrap: wrap; gap: 2px 12px; padding: 7px 0; font-size: 11.5px; text-align: center }
  .actions { gap: 8px }
  .actions .icon-btn { width: 38px; height: 38px; flex: none }
  .actions .cta { padding: 10px 14px; font-size: 14px; white-space: nowrap }
  .brand { gap: 8px }
  .brand span { font-size: 18px }
  .brand-mark { width: 36px; height: 24px }
}
@media (max-width: 400px) {
  .topbar .inner span:last-child { display: none }
  .actions .cta { padding: 9px 11px; font-size: 12.5px }
  .actions { gap: 6px }
  .brand span { font-size: 16px }
}

/* ===== Menu mobile (acordeão) ===== */
.mm-panel { position: fixed; left: 12px; right: 12px; z-index: 45; background: #fffdf9; border: 1px solid #e7e1d8; border-radius: 20px; padding: 8px 8px; box-shadow: 0 20px 60px rgba(0,0,0,.12); overflow-y: auto }
.mm-group summary, .mm-link { display: flex; justify-content: space-between; align-items: center; padding: 15px 16px; font-size: 16px; font-weight: 500; color: var(--text, #2b2926); border-radius: 12px; cursor: pointer; list-style: none }
.mm-group summary::-webkit-details-marker { display: none }
.mm-group summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid #8a847b; border-bottom: 2px solid #8a847b; transform: rotate(45deg); transition: transform .2s; margin-right: 4px }
.mm-group[open] summary::after { transform: rotate(-135deg) }
.mm-group[open] summary { color: var(--accent) }
.mm-group summary:hover, .mm-link:hover { background: #f6f1ea }
.mm-sub { display: grid; padding: 0 0 8px 16px; margin: 0 0 4px 16px; border-left: 2px solid #efe8de }
.mm-sub a { padding: 11px 14px; font-size: 15px; color: #5f5a52; border-radius: 10px }
.mm-sub a:hover { background: #f6f1ea; color: var(--accent) }
.mm-link + .mm-link, .mm-group + .mm-link { border-top: 0 }

/* ===== Listagem vazia ===== */
.lista-vazia { text-align: center; color: #8a847b; max-width: 560px; margin: 8px auto 28px; line-height: 1.7 }

/* ===== Aviso de cookies ===== */
#cookie-banner { position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: 560px; width: calc(100% - 32px); background: #fffdf9; border: 1px solid #e7e1d8; border-radius: 18px; padding: 18px 20px; box-shadow: 0 20px 60px rgba(0,0,0,.18); display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap }
#cookie-banner .cookie-text { flex: 1 1 260px; font-size: 13.5px; line-height: 1.55; color: #5f5a52 }
#cookie-banner strong { display: block; font-size: 15px; color: #2b2926; margin-bottom: 4px }
#cookie-banner p { margin: 0 }
#cookie-banner a { color: var(--accent); text-decoration: underline }
#cookie-banner .cookie-actions { display: flex; gap: 8px; flex: none }
.cookie-btn { border: 1px solid var(--accent); background: var(--accent); color: #fff; padding: 10px 20px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer }
.cookie-btn:hover { filter: brightness(1.05) }
.cookie-btn.ghost { background: transparent; color: var(--accent) }
@media (max-width: 480px) { #cookie-banner { left: 10px; bottom: 10px; width: calc(100% - 20px); padding: 16px } #cookie-banner .cookie-actions { width: 100% } .cookie-btn { flex: 1 } }
/* ===== Artigos vindos do backoffice ===== */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }
.item-grid.a-carregar { min-height: 320px; background: linear-gradient(90deg, transparent, rgba(207, 194, 179, .18), transparent) 0 0 / 200% 100%; animation: brilho 1.4s infinite; border-radius: 18px }
@keyframes brilho { to { background-position: -200% 0 } }
.item-media { position: relative }
.item-sem-foto, .pdp-main:not(:has(img)) { display: grid; place-items: center; height: 100%; color: #a29b90; font-size: 13px }
a.product-media { display: block }
.badge-promo { background: var(--accent); color: #fff }
.preco-antigo { color: #a29b90; font-weight: 400; font-size: .8em; margin-right: 4px }
.pdp-price .preco-antigo { font-size: 18px }
.pdp.sem-thumbs { grid-template-columns: minmax(0, 1fr) 420px }
.pdp-table td[colspan] { color: #4e4a43 }
.pdp-desc p { margin: 0 0 12px }
.consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #bdb5aa; line-height: 1.5; cursor: pointer }
.consent input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--accent) }
.consent a, .form-nota a { color: #ddab95; text-decoration: underline }
.form-nota { grid-column: 1 / -1; margin: 0; line-height: 1.6; font-size: 12.5px; color: #8f887e }
.orc-artigo-nota { margin: 0; padding: 12px 14px; border: 1px solid #4b453e; border-radius: 12px; color: #ddab95; font-size: 14px }
.cform .checkbox-row { align-items: flex-start; line-height: 1.5 }
.cform .checkbox-row a { color: var(--accent); text-decoration: underline }
button[disabled] { opacity: .65; cursor: wait }
@media (max-width: 1100px) { .pdp.sem-thumbs { grid-template-columns: 1fr } }

/* ===== Carrossel da página inicial ===== */
.hero-slides { position: absolute; inset: 0 }
.hero .hero-slide { opacity: 0; transform: scale(1.04); transition: opacity 1.2s ease, transform 7s ease-out }
.hero .hero-slide.is-active { opacity: 1; transform: scale(1) }
.hero-overlay { z-index: 1 }
.hero-content { z-index: 2 }
.slider-dots { z-index: 3 }
.slider-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .3s, background .3s }
.slider-dots button:hover { background: rgba(255, 255, 255, .8) }
.slider-dots button.active { width: 26px; background: #fff }
@media (prefers-reduced-motion: reduce) { .hero .hero-slide { transition: none; transform: none } }

/* ===== Animações ao fazer scroll ===== */
.js-anim .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .65, .3, 1), transform .9s cubic-bezier(.2, .65, .3, 1); transition-delay: var(--d, 0ms) }
.js-anim .reveal.is-in { opacity: 1; transform: none }
.js-anim .reveal-zoom img { transform: scale(1.08); transition: transform 1.6s cubic-bezier(.2, .65, .3, 1) }
.js-anim .reveal-zoom.is-in img { transform: scale(1) }

/* Entrada do texto do banner */
.hero-content > * { animation: hero-entrada 1s cubic-bezier(.2, .65, .3, 1) both }
.hero-content > :nth-child(2) { animation-delay: .12s }
.hero-content > :nth-child(3) { animation-delay: .24s }
.hero-content > :nth-child(4) { animation-delay: .36s }
.hero-content > :nth-child(5) { animation-delay: .48s }
@keyframes hero-entrada { from { opacity: 0; transform: translateY(24px) } }

/* Cabeçalho com sombra ao descer */
.header { transition: box-shadow .3s, background .3s }
.header.is-scrolled { box-shadow: 0 8px 30px rgba(42, 32, 23, .08); background: rgba(255, 253, 249, .97) }

/* Pequenos detalhes de interação */
.cat-link { transition: gap .25s }
.cat:hover .cat-link { gap: 12px }
.service { transition: transform .3s, box-shadow .3s }
.service:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(42, 32, 23, .08) }

@media (prefers-reduced-motion: reduce) {
  .hero-content > * { animation: none }
  .service:hover { transform: none }
}

.topbar a { text-decoration: underline; text-underline-offset: 2px }
.topbar a:hover { color: var(--accent) }
.page-sub a { color: var(--accent); text-decoration: underline }

/* ===== Organizar por (listagens) ===== */
.ordenar-barra { display: flex; justify-content: flex-end; margin: 0 0 26px }
.ordenar-barra label { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted) }
.ordenar-sel { padding: 10px 36px 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fffdf9; color: var(--ink); font-size: 13px; cursor: pointer }
.ordenar-sel:focus { outline: none; border-color: var(--accent) }

/* ===== Medidas com preço (colchões) ===== */
.pdp-size { display: inline-flex; align-items: baseline; gap: 8px }
.pdp-size-preco { font-size: 11.5px; opacity: .72 }
.pdp-size.active .pdp-size-preco { opacity: .9 }
