:root {
  --color-primary: #8b5e3c;
  --color-primary-dark: #3a2618;
  --color-background: #f7f3ed;
  --color-sand: #e8d7c3;
  --color-text: #22201e;
  --color-white: #ffffff;
  --color-border: #e4ddd4;
  --font-body: "Inter", sans-serif;
  --font-heading: "Inter", sans-serif;
  --radius: 12px;
  --header-h: 76px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 10px);
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-background);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll {
  overflow: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.6em;
}
p {
  margin: 0 0 1em;
}
:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  background: var(--color-primary-dark);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
  border-radius: 6px;
}
.skip-link:focus {
  top: 8px;
}
.container {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}
.narrow {
  width: min(820px, 100% - 40px);
}
.center {
  text-align: center;
}
.small {
  font-size: 0.9rem;
}
.muted {
  color: #5e564e;
}

/* Tipografia */
.display,
.title,
.detail-info h1 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.display {
  font-size: clamp(2.3rem, 5vw, 4rem);
}
.title {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
}
.h3 {
  font-size: 1.1rem;
  margin-top: 1.4em;
}
.lead {
  font-size: 1.15rem;
  color: #4a423b;
  max-width: 52ch;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s,
    transform 0.25s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-lg {
  padding: 14px 30px;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-primary-dark);
}
.btn-outline {
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
  background: transparent;
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}
.btn-cream {
  background: var(--color-background);
  color: var(--color-primary-dark);
}
.btn-cream:hover {
  background: #fff;
}
.btn-wa-header {
  background: var(--color-primary-dark);
  color: #fff;
  min-height: 44px;
  padding: 8px 20px;
}
.btn-wa-header:hover {
  background: var(--color-primary);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 2rem 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-background);
  transition:
    box-shadow 0.3s,
    background 0.3s;
  height: var(--header-h);
}
.site-header.scrolled {
  box-shadow:
    0 1px 0 var(--color-border),
    0 6px 18px rgba(58, 38, 24, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.1;
  color: var(--color-primary-dark);
  white-space: nowrap;
}
.brand img {
  height: 65px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav ul {
  display: flex;
  gap: 26px;
}
.main-nav ul a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
}
.main-nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s;
}
.main-nav ul a:hover::after {
  width: 100%;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 48px;
  height: 48px;
  cursor: pointer;
  color: var(--color-text);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(88vh, 760px);
  padding: clamp(56px, 8vw, 110px) 0;
  background: var(--color-primary-dark);
  color: #fff;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(34, 20, 12, 0.82) 0%,
    rgba(34, 20, 12, 0.55) 60%,
    rgba(34, 20, 12, 0.35) 100%
  );
}
.hero-grid {
  display: block;
  width: min(1180px, 100% - 40px);
}
.hero-text {
  max-width: 680px;
}
.hero .eyebrow {
  color: var(--color-sand);
}
.hero .lead {
  color: #f1e8dc;
}
.hero .btn-outline {
  border-color: #fff;
  color: #fff;
}
.hero .btn-outline:hover {
  background: #fff;
  color: var(--color-primary-dark);
}
.highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  font-weight: 600;
  font-size: 0.95rem;
}
.highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-sand);
}

/* Seções */
.section {
  padding: clamp(56px, 8vw, 110px) 0;
}
.section-sand {
  background: var(--color-sand);
}
.section-head {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}
.page-head {
  padding: clamp(48px, 7vw, 90px) 0 0;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.split-media img {
  width: 100%;
  aspect-ratio: 9 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--color-sand);
}
.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 0.8em;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 9px;
  border-left: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(-45deg);
}

/* Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 28px;
  margin: 2rem 0 3rem;
}
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(58, 38, 24, 0.1);
}
.card-media {
  display: block;
  overflow: hidden;
  background: var(--color-sand);
}
.card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s;
}
.card:hover .card-media img {
  transform: scale(1.05);
}
.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin: 10px 0 8px;
}
.card-body p {
  font-size: 0.96rem;
  color: #5e564e;
}
.card-body .price,
.detail-info .price {
  font-weight: 700;
  color: var(--color-primary);
}
.card-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-actions .btn {
  min-height: 44px;
  padding: 8px 16px;
  font-size: 0.95rem;
}
.tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary-dark);
  background: var(--color-sand);
  padding: 4px 10px;
  border-radius: 999px;
}
.section-sand .tag {
  background: var(--color-background);
}
.filters,
.cat-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cat-links {
  justify-content: center;
  margin-bottom: 1rem;
}
.cat-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 2px solid var(--color-primary);
  padding: 4px 2px;
}
.filters button {
  min-height: 44px;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.25s;
}
.filters button:hover {
  border-color: var(--color-primary);
}
.filters button.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.empty {
  grid-column: 1 / -1;
  text-align: center;
}

/* Detalhes */
.breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 2rem;
  color: #5e564e;
}
.detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.detail-gallery > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--color-sand);
}
.thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.thumbs button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  width: 84px;
  height: 64px;
  background: none;
}
.thumbs button.active {
  border-color: var(--color-primary);
}
.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-info h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  margin-top: 12px;
}
.detail-info .btn {
  margin: 1rem 0;
}
.back-link {
  display: block;
  font-weight: 600;
  color: var(--color-primary);
}
.not-found {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
}

/* Personalização */
.swatches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-bottom: 1.5rem;
}
.swatches figure {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
}
.swatches span {
  display: block;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 8px;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.35);
}

/* Galeria */
.gallery {
  columns: 3;
  column-gap: 18px;
}
.g-item {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0 0 18px;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--color-primary-dark);
  break-inside: avoid;
}
.g-item img {
  width: 100%;
  object-fit: cover;
  transition:
    transform 0.5s,
    opacity 0.3s;
}
.g-item:hover img {
  transform: scale(1.04);
  opacity: 0.9;
}
.g-item.tall img {
  aspect-ratio: 3 / 4;
}
.g-item.wide img {
  aspect-ratio: 4 / 3;
}
.g-item.square img {
  aspect-ratio: 1;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(20, 12, 7, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox[hidden] {
  display: none;
}
.lightbox figure {
  margin: 0;
  max-width: min(1000px, 80vw);
  color: #fff;
  text-align: center;
}
.lightbox img {
  max-height: 78vh;
  width: auto;
  margin: 0 auto;
  border-radius: 8px;
  object-fit: contain;
}
.lightbox figcaption {
  margin-top: 12px;
  font-size: 0.9rem;
}
.lightbox button {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lightbox button:hover {
  background: rgba(255, 255, 255, 0.28);
}
.lb-close {
  top: 16px;
  right: 16px;
}
.lb-prev {
  left: 16px;
  top: 50%;
  margin-top: -26px;
}
.lb-next {
  right: 16px;
  top: 50%;
  margin-top: -26px;
}

/* Passos */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 22px;
}
.step h3 {
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 700;
}
.step p {
  font-size: 0.95rem;
  color: #5e564e;
  margin: 0;
}
.step-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-sand);
  color: var(--color-primary-dark);
  margin-bottom: 16px;
}
.step-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--color-sand);
  font-weight: 700;
}

/* CTA */
.cta {
  background: var(--color-primary-dark);
  color: #fff;
  padding: clamp(56px, 8vw, 100px) 0;
}
.cta .title {
  color: #fff;
  max-width: 20ch;
  margin-inline: auto;
}
.cta p {
  color: var(--color-sand);
  margin-bottom: 2rem;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-item h3 {
  margin: 0;
  font-size: 1rem;
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  background: none;
  border: 0;
  padding: 22px 4px;
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  color: var(--color-text);
  min-height: 56px;
}
.faq-q svg {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--color-primary);
}
.faq-q[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.faq-a {
  padding: 0 4px 12px;
  color: #4a423b;
}

/* Footer */
.site-footer {
  background: var(--color-primary-dark);
  color: var(--color-sand);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer-logo {
  filter: brightness(0) invert(1) opacity(0.9);
  margin-bottom: 14px;
}
.footer-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.4em;
}
.footer-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  font-family: var(--font-body);
}
.site-footer li {
  margin-bottom: 0.5em;
}
.site-footer a {
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-bottom {
  border-top: 1px solid rgba(232, 215, 195, 0.2);
  margin-top: 48px;
  padding: 22px 0;
  font-size: 0.88rem;
}
.footer-bottom p {
  margin: 0;
}

/* WhatsApp flutuante */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  animation: pulse 3s ease-in-out infinite;
}
.wa-tooltip {
  position: absolute;
  right: 72px;
  background: var(--color-primary-dark);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: all 0.25s;
}
.wa-float:hover .wa-tooltip,
.wa-float:focus-visible .wa-tooltip {
  opacity: 1;
  transform: none;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow:
      0 6px 18px rgba(0, 0, 0, 0.22),
      0 0 0 0 rgba(37, 211, 102, 0.45);
  }
  50% {
    box-shadow:
      0 6px 18px rgba(0, 0, 0, 0.22),
      0 0 0 12px rgba(37, 211, 102, 0);
  }
}

/* Animação de entrada */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.card.reveal.visible:hover {
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
