:root {
  --impactfy-ink: #1c1917;
  --impactfy-gold: #c5a880;
  --impactfy-cream: #faf9f6;
}

html,
body,
button,
input,
textarea,
select {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

h1,
h2,
h3,
.font-display {
  font-family: "Lora", Georgia, serif !important;
  letter-spacing: -0.02em;
}

button,
a,
input,
textarea,
select {
  letter-spacing: -0.01em;
}

header > nav {
  background-color: rgba(243, 238, 231, 0.97) !important;
  border-bottom-color: rgba(120, 101, 77, 0.18) !important;
}

.floating-whatsapp-wrap {
  right: 1.5rem !important;
  bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)) !important;
}

#inicio.premium-hero {
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(620px, calc(100svh - 70px), 760px);
  background: #292524 url("/images/cozinha-premium-02.jpg") center 58% / cover no-repeat !important;
}

#inicio.premium-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 13, 12, 0.7) 0%, rgba(15, 13, 12, 0.46) 43%, rgba(15, 13, 12, 0.1) 76%, rgba(15, 13, 12, 0.18) 100%),
    linear-gradient(0deg, rgba(15, 13, 12, 0.16), transparent 42%);
}

#inicio.premium-hero > .absolute {
  display: none !important;
}

#inicio .premium-hero__background {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

#inicio > .max-w-7xl {
  width: 100%;
}

#inicio > .max-w-7xl > .grid {
  grid-template-columns: minmax(0, 1fr) !important;
}

#inicio .hero-copy {
  grid-column: 1 / -1 !important;
  width: min(100%, 760px);
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(20, 18, 17, 0.7), rgba(31, 28, 26, 0.5));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

#inicio .hero-media {
  display: none !important;
}

#inicio .hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  width: fit-content;
  margin: 0 0 0.9rem;
  color: #d9bd8e !important;
  font-size: 0.72rem !important;
  font-weight: 500;
  line-height: 1.35 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase;
}

#inicio .hero-eyebrow > span {
  display: block;
  flex: 0 0 1.75rem;
  width: 1.75rem;
  height: 1px;
  background: currentColor;
}

#inicio .hero-eyebrow b {
  font-weight: 700;
}

#inicio .hero-copy h1 {
  max-width: 12ch;
  color: #fff !important;
  font-size: clamp(2.55rem, 4.6vw, 3.75rem) !important;
  font-weight: 400 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.045em !important;
  text-wrap: balance;
}

#inicio .hero-copy h1 span {
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
}

#inicio .hero-copy h1 span span:last-child {
  display: none;
}

#inicio .hero-copy > p:not(.hero-eyebrow) {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.82) !important;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 400 !important;
  line-height: 1.68 !important;
  letter-spacing: -0.01em !important;
}

#inicio .hero-copy > .grid {
  color: rgba(255, 255, 255, 0.9) !important;
}

#inicio .hero-copy > .grid svg {
  color: var(--impactfy-gold) !important;
}

#inicio .hero-copy > .hidden.rounded-full {
  color: #f8f5ef !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}

#inicio .hero-copy > .flex.items-center.text-xs {
  color: rgba(255, 255, 255, 0.64) !important;
}

#inicio .hero-copy > .flex.items-center.text-xs svg {
  color: rgba(255, 255, 255, 0.5) !important;
}

#hero-cta-whatsapp {
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26) !important;
}

#hero-cta-projects {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

#hero-cta-projects:hover {
  background: rgba(255, 255, 255, 0.16) !important;
}

#hero-cta-projects svg {
  color: var(--impactfy-gold) !important;
}

.materials-premium {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 7vw, 6.5rem) 1rem;
  background:
    radial-gradient(circle at 85% 10%, rgba(197, 168, 128, 0.16), transparent 31rem),
    linear-gradient(180deg, #f8f6f1 0%, #efebe3 100%);
}

.materials-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(92%, 80rem);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(140, 109, 67, 0.38), transparent);
}

.materials-premium__inner {
  width: min(100%, 80rem);
  margin: 0 auto;
}

.materials-premium__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.62fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.materials-premium__eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  color: #8c6d43;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.materials-premium h2 {
  max-width: 15ch;
  margin: 0;
  color: var(--impactfy-ink);
  font-size: clamp(2.15rem, 4vw, 3.6rem);
  font-weight: 600;
  line-height: 1.06;
  text-wrap: balance;
}

.materials-premium__lead {
  margin: 0 0 0.3rem;
  color: #57534e;
  font-size: 1rem;
  line-height: 1.75;
}

.materials-premium__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.material-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(120, 101, 77, 0.18);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 45px rgba(63, 51, 37, 0.09);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.material-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(63, 51, 37, 0.15);
}

.material-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #ddd6cc;
}

.material-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 1.08rem 1.08rem 0 0;
  pointer-events: none;
}

.material-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.65, 0.25, 1);
}

.material-card:hover img {
  transform: scale(1.035);
}

.material-card--taj img {
  object-position: center;
}

.material-card--calacata img {
  object-position: center 55%;
}

.material-card--preto img {
  object-position: center;
}

.material-card--verde img {
  object-position: center 60%;
}

.material-card__body {
  padding: 1.35rem 1.35rem 1.55rem;
}

.material-card h3 {
  margin: 0 0 0.65rem;
  color: var(--impactfy-ink);
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1.2;
}

.material-card p {
  margin: 0;
  color: #57534e;
  font-size: 0.92rem;
  line-height: 1.65;
}

@media (max-width: 1023px) {
  #inicio.premium-hero {
    min-height: auto;
    background-position: 62% center !important;
  }

  #inicio .premium-hero__background {
    object-position: 62% center;
  }

  #inicio.premium-hero::before {
    background: linear-gradient(90deg, rgba(15, 13, 12, 0.66), rgba(15, 13, 12, 0.28));
  }

  .materials-premium__intro {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .materials-premium__lead {
    max-width: 42rem;
  }

  .materials-premium__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  #hero-cta-whatsapp {
    gap: 0.5rem !important;
    padding-right: 0.75rem !important;
    padding-left: 0.75rem !important;
    font-size: 0.875rem !important;
    line-height: 1.25 !important;
    justify-content: center;
    white-space: nowrap;
  }

  #hero-cta-whatsapp span {
    white-space: nowrap;
  }

  #hero-cta-whatsapp svg {
    flex: 0 0 auto;
    width: 1.25rem !important;
    height: 1.25rem !important;
  }

  .floating-whatsapp-wrap {
    right: 1.25rem !important;
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)) !important;
  }

  #floating-whatsapp-btn {
    width: 3rem !important;
    height: 3rem !important;
  }

  #floating-whatsapp-btn > svg {
    width: 1.5rem !important;
    height: 1.5rem !important;
  }

  .metrics-grid-section {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }
  .metrics-grid-section > div {
    padding: 1rem !important;
  }

  .metrics-grid-section > div > div {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
    align-items: stretch;
  }

  .metrics-grid-section > div > div > div {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 0.5rem 0.25rem !important;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
  }

  .metrics-grid-section > div > div > div > div:first-child {
    width: 100%;
    min-width: 0;
    gap: 0.375rem !important;
    margin-bottom: 0.375rem !important;
  }

  .metrics-grid-section > div > div > div > div:first-child > span {
    max-width: 100%;
    font-size: 1.25rem !important;
    line-height: 1.15 !important;
    overflow-wrap: normal;
  }

  #inicio.premium-hero {
    padding-top: 6.5rem !important;
    padding-bottom: 2.5rem !important;
    background-position: 66% center !important;
  }

  #inicio .premium-hero__background {
    object-position: 66% center;
  }

  #inicio.premium-hero::before {
    background: linear-gradient(180deg, rgba(15, 13, 12, 0.22), rgba(15, 13, 12, 0.36) 42%, rgba(15, 13, 12, 0.58));
  }

  #inicio .hero-copy {
    padding: 1.15rem;
    border-radius: 1.15rem;
    background: rgba(20, 18, 17, 0.58);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }

  #inicio .hero-eyebrow {
    gap: 0.45rem;
    margin-bottom: 0.65rem;
    font-size: 0.64rem !important;
    letter-spacing: 0.14em !important;
  }

  #inicio .hero-eyebrow > span {
    flex-basis: 1.15rem;
    width: 1.15rem;
  }

  #inicio .hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.15rem, 10.8vw, 2.8rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;
  }

  #inicio .hero-copy > p:not(.hero-eyebrow) {
    font-size: 0.94rem !important;
    line-height: 1.62 !important;
  }

  #inicio .hero-copy > .grid {
    gap: 0.45rem !important;
  }

  #inicio .hero-copy > .grid > * {
    min-height: 0 !important;
  }

  #inicio .hero-copy > .grid svg {
    width: 1rem !important;
    height: 1rem !important;
  }

  .materials-premium {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .materials-premium h2 {
    font-size: clamp(2.05rem, 10vw, 2.75rem);
  }

  .materials-premium__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.15rem;
  }

  .material-card__body {
    padding: 1.25rem 1.2rem 1.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .material-card,
  .material-card img {
    transition: none;
  }
}
