:root {
  --black: #060605;
  --graphite: #1b1a17;
  --cement: #57524a;
  --ivory: #f5f1e9;
  --white: #ffffff;
  --gold: #c8a25d;
  --gold-light: #ead49a;
  --line: rgba(255, 255, 255, .18);
  --dark-line: rgba(20, 18, 14, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--graphite);
  background: var(--ivory);
  font-family: "Avenir Next", "Century Gothic", "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

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

.gtm-noscript {
  display: none;
  visibility: hidden;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 82px;
  padding: 10px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: rgba(6, 6, 5, .78);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 4vw, 54px);
  font-size: .88rem;
  color: rgba(255, 255, 255, .78);
}

.nav a,
.nav-cta,
.button {
  font-weight: 700;
}

.nav a:hover,
.nav-cta:hover {
  color: var(--gold-light);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--gold-light);
  border: 1px solid rgba(234, 212, 154, .42);
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(360px, .58fr);
  color: var(--white);
  background: var(--black);
}

.hero-image {
  min-height: 100svh;
  background:
    linear-gradient(90deg, rgba(6, 6, 5, .04), rgba(6, 6, 5, .84)),
    url("/assets/hero-cozinha-planejada-brusque.jpg") center / cover no-repeat;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 100svh;
  padding: 126px clamp(26px, 5vw, 76px) 64px;
}

.hero-logo {
  width: clamp(118px, 14vw, 174px);
  margin-bottom: clamp(34px, 6vw, 72px);
}

.kicker {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 5.1vw, 5.8rem);
  line-height: .98;
}

h2 {
  max-width: 740px;
  font-size: clamp(2.15rem, 4vw, 4.65rem);
  line-height: 1;
}

.lead {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 34px;
  padding: 0 24px;
  color: #17120a;
  background: var(--gold-light);
  border: 1px solid var(--gold-light);
}

.statement {
  padding: clamp(68px, 10vw, 142px) clamp(22px, 9vw, 140px);
  color: var(--graphite);
  background: var(--ivory);
}

.statement p {
  max-width: 940px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.7rem);
  line-height: 1.04;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(260px, .42fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: center;
  padding: clamp(70px, 10vw, 132px) clamp(18px, 6vw, 84px);
  scroll-margin-top: 94px;
}

.showcase-dark {
  color: var(--white);
  background: var(--black);
}

.showcase-copy {
  max-width: 430px;
}

.showcase-copy p:not(.kicker) {
  margin: 22px 0 0;
  color: #655f55;
}

.showcase-dark .showcase-copy p:not(.kicker) {
  color: rgba(255, 255, 255, .68);
}

.carousel {
  position: relative;
  min-width: 0;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 42%);
  gap: 18px;
  overflow-x: auto;
  padding: 6px 0 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #d7d0c5;
  scroll-snap-align: start;
}

.carousel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(.92) contrast(1.02);
}

.carousel figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  color: var(--white);
  background: linear-gradient(transparent, rgba(0, 0, 0, .72));
  font-weight: 700;
}

.carousel-button {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: rgba(6, 6, 5, .74);
  border: 1px solid rgba(255, 255, 255, .32);
  cursor: pointer;
  transform: translateY(-50%);
  font-size: 1.8rem;
  line-height: 1;
}

.carousel-button.prev {
  left: -18px;
}

.carousel-button.next {
  right: -18px;
}

.atelier {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: clamp(34px, 8vw, 110px);
  padding: clamp(74px, 10vw, 140px) clamp(22px, 8vw, 120px);
  background: #ffffff;
}

.atelier ul {
  display: grid;
  gap: 0;
  align-self: end;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--dark-line);
}

.atelier li {
  padding: 22px 0;
  border-bottom: 1px solid var(--dark-line);
  color: #5c554b;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.reviews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  color: var(--white);
  background: var(--gold);
}

.reviews article {
  padding: clamp(38px, 6vw, 76px);
  background: var(--graphite);
}

.reviews span {
  display: block;
  color: var(--gold-light);
  margin-bottom: 18px;
}

.reviews p {
  max-width: 600px;
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.5vw, 2.35rem);
  line-height: 1.16;
}

.reviews strong {
  color: rgba(255, 255, 255, .72);
}

.faq {
  display: grid;
  grid-template-columns: .75fr 1fr;
  gap: clamp(34px, 8vw, 110px);
  padding: clamp(74px, 10vw, 132px) clamp(22px, 8vw, 120px);
  background: var(--ivory);
  scroll-margin-top: 94px;
}

.faq-list {
  border-top: 1px solid var(--dark-line);
}

.faq details {
  border-bottom: 1px solid var(--dark-line);
}

.faq summary {
  cursor: pointer;
  padding: 22px 0;
  font-weight: 800;
}

.faq p {
  margin: 0;
  padding: 0 0 24px;
  color: #60594f;
}

.final-cta {
  padding: clamp(82px, 12vw, 160px) clamp(22px, 8vw, 120px);
  color: var(--white);
  background:
    linear-gradient(rgba(6,6,5,.76), rgba(6,6,5,.82)),
    url("/assets/gallery/escritorio/escritorio-planejado-04.jpg") center / cover no-repeat;
}

.final-cta h2 {
  max-width: 880px;
}

.footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255,255,255,.68);
  background: var(--black);
}

.footer img {
  width: 82px;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--gold-light);
  font-weight: 700;
}

.floating-whatsapp {
  position: fixed;
  z-index: 60;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  color: #102015;
  background: #7ee28a;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
  transition: opacity .2s ease, transform .2s ease;
}

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav {
    display: none;
  }

  .nav-cta {
    justify-self: end;
  }

  .hero,
  .showcase,
  .atelier,
  .faq {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-image {
    min-height: 48svh;
  }

  .hero-content {
    min-height: auto;
    padding-top: 54px;
  }

  .reviews {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 70px;
    padding: 8px 16px;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: .88rem;
  }

  .hero-image {
    min-height: 40svh;
  }

  .hero-content {
    padding: 38px 18px 58px;
  }

  .hero-logo {
    display: none;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3.65rem);
  }

  h2 {
    font-size: clamp(2.05rem, 10vw, 3.2rem);
  }

  .button {
    width: 100%;
  }

  .statement,
  .showcase,
  .atelier,
  .faq,
  .final-cta {
    padding: 58px 18px;
  }

  .carousel-track {
    grid-auto-columns: 84%;
    gap: 12px;
  }

  .carousel img {
    aspect-ratio: 3 / 4;
  }

  .carousel-button {
    display: none;
  }

  .reviews article {
    padding: 42px 18px;
  }

  .footer {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 28px 18px 92px;
  }

  .floating-whatsapp {
    left: 18px;
    right: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
