/* =========================================================
   Nosso Lar — Cozinhas planejadas | Landing page
   Fontes: Fraunces (só nos grandes títulos) + Inter (resto)
========================================================= */

:root {
  --creme: #f6f4ef;
  --creme-2: #ede8df;
  --creme-3: #e7e4de;
  --ink: #1a1a1a;
  --ink-2: #55524c;
  --muted: #8a8780;
  --line: #e4e1da;
  --line-strong: #cfccc4;
  --red: #ee1b24;
  --red-dark: #c41119;
  --white: #ffffff;
  --wa: #25d366;
  --wa-dark: #1eb457;
  --dark: #191613;

  /* Foto do hero: render em alta da Inova (Nicioli).
     Ideal: trocar por uma foto de cozinha instalada na casa de um cliente. */
  --hero-img: url("imagens/cozinha-inova.jpg");

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --wrap: 1200px;
  --radius: 16px;
  --radius-sm: 999px;
  --shadow: 0 24px 60px -30px rgba(26, 26, 26, 0.4);
  --shadow-sm: 0 10px 30px -18px rgba(26, 26, 26, 0.35);
  --header-h: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

/* Só os grandes títulos usam serifa (h1, h2). Cards/UI usam Inter. */
h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
}
h3,
h4 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
}

h1 em,
h2 em {
  font-style: italic;
}

p {
  margin: 0;
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.eyebrow--onlight {
  color: rgba(255, 255, 255, 0.82);
}

/* ---------------- Botões ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 27px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--dark {
  background: var(--ink);
  color: var(--white);
}
.btn--dark:hover {
  background: #000;
}
.btn--light {
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn--light:hover {
  background: #fff;
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.5);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--ink);
}
.btn--wa {
  background: var(--wa);
  color: #08351b;
}
.btn--wa:hover {
  background: var(--wa-dark);
  color: #fff;
}
.btn--lg {
  padding: 17px 34px;
  font-size: 16px;
}
.ico-wa {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ---------------- Header (fixo, transparente sobre o hero) ---------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
}
.brand__logo {
  height: 46px;
  width: auto;
  display: block;
}
/* SVG só aparece (via JS) se o PNG real não existir na pasta imagens/. */
.brand__logo--svg {
  display: none;
}

.nav {
  display: flex;
  gap: 30px;
}
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  padding: 4px 0;
  transition: color 0.18s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.22s ease;
}
.nav a:hover::after {
  width: 100%;
}
.site-header.is-stuck .nav a {
  color: var(--ink-2);
}
.site-header.is-stuck .nav a:hover {
  color: var(--ink);
}
.header__cta {
  padding: 11px 20px;
  font-size: 14px;
}

/* Menu mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  cursor: pointer;
}
.site-header.is-stuck .nav-toggle {
  background: transparent;
  border-color: var(--line-strong);
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.site-header.is-stuck .nav-toggle span {
  background: var(--ink);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 22px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.nav-mobile.open {
  display: flex;
}
.nav-mobile a {
  padding: 12px 4px;
  font-weight: 500;
  color: var(--ink-2);
  border-bottom: 1px solid var(--creme-2);
}
.nav-mobile .btn {
  margin-top: 12px;
}

/* ---------------- Hero (foto full-bleed) ---------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-color: var(--dark);
  background-image: linear-gradient(
      100deg,
      rgba(18, 13, 9, 0.82) 0%,
      rgba(18, 13, 9, 0.5) 48%,
      rgba(18, 13, 9, 0.2) 100%
    ),
    var(--hero-img);
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hero__inner {
  padding: calc(var(--header-h) + 40px) 24px 90px;
}
.hero__text {
  max-width: 640px;
}
.hero h1 {
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1;
  letter-spacing: -0.028em;
  margin-bottom: 20px;
  color: #fff;
}
.hero h1 em {
  color: #f0d5a8;
}
.hero .lead {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}
.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero__pills li {
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero__pills li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}
.hero__scroll {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.hero__scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 26px;
  margin: 8px auto 0;
  background: linear-gradient(rgba(255, 255, 255, 0.7), transparent);
}

/* ---------------- Faixa de marcas ---------------- */
.marcas {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.marcas__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 34px;
  padding: 22px 24px;
}
.marcas__label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.marcas__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
}
.marcas__list i {
  color: var(--line-strong);
  font-style: normal;
}

/* ---------------- Seções ---------------- */
.section {
  padding: 96px 0;
}
.section--creme {
  background: var(--creme);
}
.section__head {
  max-width: 660px;
  margin: 0 auto 56px;
  text-align: center;
}
.section__head h2 {
  font-size: clamp(31px, 4.2vw, 48px);
}
.section__sub {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 17.5px;
}

/* ---------------- Grid de cozinhas ---------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.cozinha {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.cozinha:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
/* Cards de modelo real são <button> clicável (abrem o modal). */
button.cozinha {
  font: inherit;
  color: inherit;
  text-align: left;
  width: 100%;
  padding: 0;
  cursor: pointer;
}
.cozinha__foto {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  color: var(--pal-ink);
}
.cozinha__ilustra,
.cozinha__foto img {
  transition: transform 0.5s ease;
}
.cozinha__ilustra {
  width: 46%;
  color: inherit;
  opacity: 0.9;
}
.cozinha__foto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cozinha:hover .cozinha__ilustra,
.cozinha:hover .cozinha__foto img {
  transform: scale(1.06);
}
/* etiqueta do estilo, sobre a foto */
.cozinha__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  padding: 6px 13px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}
.cozinha__previa {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.75);
  background: rgba(255, 255, 255, 0.7);
  padding: 4px 9px;
  border-radius: var(--radius-sm);
}
.is-dark .cozinha__tag {
  background: rgba(20, 20, 22, 0.68);
  color: #fff;
}
.is-dark .cozinha__previa {
  background: rgba(20, 20, 22, 0.5);
  color: rgba(255, 255, 255, 0.85);
}
.cozinha__body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cozinha__body h3 {
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 9px;
}
.cozinha__marca {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 12px;
}
/* Nos cards, a marca vira um rótulo curto no topo (mais moderno). */
.cozinha__body .cozinha__marca {
  order: -1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 9px;
}
.cozinha__body p {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.6;
  flex: 1;
}
.link-wa {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  width: 100%;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.18s ease;
}
.link-wa::after {
  content: "→";
  transition: transform 0.18s ease;
}
.link-wa:hover {
  color: var(--red);
}
.link-wa:hover::after {
  transform: translateX(4px);
}

/* Paletas dos placeholders */
.pal-milano {
  --g1: #fbfaf7;
  --g2: #e3e0d9;
  --pal-ink: #b0aa9e;
}
.pal-toscana {
  --g1: #ecdcc4;
  --g2: #c9a274;
  --pal-ink: #916b44;
}
.pal-nordica {
  --g1: #f3eee6;
  --g2: #d9c6a9;
  --pal-ink: #ab8f68;
}
.pal-metropole {
  --g1: #dedcd7;
  --g2: #a6a49f;
  --pal-ink: #66645f;
}
.pal-gourmet {
  --g1: #dde6dc;
  --g2: #a3bd9f;
  --pal-ink: #547150;
}
.pal-compacta {
  --g1: #f2efea;
  --g2: #d6cfc2;
  --pal-ink: #9c937f;
}
.pal-provencal {
  --g1: #e7edf0;
  --g2: #b4c7d3;
  --pal-ink: #6d8998;
}
.pal-onix {
  --g1: #46464a;
  --g2: #26262a;
  --pal-ink: #9a9aa0;
}

/* ---------------- Como funciona ---------------- */
.passos {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.passo {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.passo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.passo__num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-family: var(--serif);
  font-size: 21px;
  margin-bottom: 22px;
}
.passo h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.passo p {
  color: var(--ink-2);
  font-size: 15.5px;
}

/* ---------------- A Loja ---------------- */
.loja__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.loja__text h2 {
  font-size: clamp(29px, 3.8vw, 44px);
  margin-bottom: 24px;
}
.loja__text p {
  color: var(--ink-2);
  margin-bottom: 16px;
  max-width: 48ch;
}
.loja__text .btn {
  margin-top: 14px;
}
.loja__stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.loja__stats li {
  background: var(--creme);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.loja__stats strong {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
}
.loja__stats span {
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------------- CTA band ---------------- */
.cta-band {
  background: var(--dark);
  color: var(--white);
}
.cta-band__inner {
  text-align: center;
  padding: 84px 24px;
  max-width: 720px;
}
.cta-band h2 {
  font-size: clamp(31px, 4.2vw, 48px);
  margin-bottom: 16px;
  color: #fff;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  margin-bottom: 32px;
}

/* ---------------- Contato ---------------- */
.contato__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: start;
}
.contato__info h2 {
  font-size: clamp(28px, 3.6vw, 42px);
}
.contato__lista {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contato__lista li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.contato__rot {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.contato__lista a,
.contato__lista li > span:last-child {
  font-family: var(--serif);
  font-size: 22px;
}
.contato__lista a:hover {
  color: var(--red);
}
.contato__horario {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.contato__horario h3 {
  font-size: 21px;
  margin-bottom: 20px;
}
.contato__horario ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.contato__horario li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--creme-2);
  font-size: 15.5px;
}
.contato__horario li span:first-child {
  color: var(--ink-2);
}
.contato__horario li span:last-child {
  font-weight: 600;
}
.contato__horario .btn {
  width: 100%;
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--ink);
  color: #cfccc5;
  padding: 64px 0 30px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__brand .brand__logo {
  height: 54px;
  margin-bottom: 16px;
}
.footer__brand p {
  max-width: 42ch;
  font-size: 15px;
  color: #a8a49c;
}
.footer__col h4 {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a8780;
  margin-bottom: 16px;
}
.footer__col a,
.footer__col span {
  display: block;
  font-size: 15px;
  color: #cfccc5;
  padding: 5px 0;
}
.footer__col a:hover {
  color: #fff;
}
.footer__base {
  padding-top: 26px;
  font-size: 13px;
  color: #86837c;
}
.footer__base a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__base a:hover {
  color: #fff;
}

/* ---------------- WhatsApp flutuante ---------------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
  z-index: 70;
  transition: transform 0.2s ease;
  animation: wa-pop 0.4s ease both 0.6s;
}
.wa-float:hover {
  transform: scale(1.08);
}
.wa-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}
@keyframes wa-pop {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ---------------- Vitrine automática (showcase) ---------------- */
.showcase {
  position: relative;
  height: clamp(300px, 50vw, 520px);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 46px;
  background: var(--creme-2);
  box-shadow: var(--shadow-sm);
  user-select: none;
  touch-action: pan-y;
  cursor: grab;
}
.showcase:active {
  cursor: grabbing;
}
.showcase__track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.showcase__slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
}
.showcase__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.showcase__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 8, 6, 0.72) 0%,
    rgba(10, 8, 6, 0.2) 34%,
    transparent 58%
  );
}
.showcase__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 28px;
}
.showcase__name {
  background: rgba(18, 14, 10, 0.82);
  color: #fff;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(15px, 2vw, 22px);
  letter-spacing: -0.01em;
  line-height: 1.15;
  padding: 11px 16px 11px 15px;
  border-radius: 9px;
  border-left: 3px solid var(--red);
  backdrop-filter: blur(6px);
}
.showcase__cta {
  flex-shrink: 0;
}
.sc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  transition: background 0.18s ease, transform 0.18s ease;
}
.sc-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}
.sc-arrow svg {
  width: 24px;
  height: 24px;
}
.sc-arrow--prev {
  left: 16px;
}
.sc-arrow--next {
  right: 16px;
}
.showcase__dots {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 7px;
}
.showcase__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.showcase__dot.is-on {
  background: #fff;
  transform: scale(1.25);
}

/* ---------------- Modal de detalhe ---------------- */
.modal[hidden] {
  display: none;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 9, 0.62);
  backdrop-filter: blur(3px);
  animation: fade 0.25s ease;
}
.modal__box {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius);
  width: 100%;
  max-width: 1000px;
  height: min(88vh, 560px);
  max-height: 92vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  box-shadow: var(--shadow);
  animation: pop 0.28s cubic-bezier(0.2, 0.9, 0.3, 1);
}

/* Galeria de fotos (arrastar + setas) */
.modal__gallery {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 0;
  background: var(--creme-2);
  touch-action: pan-y;
  user-select: none;
  cursor: zoom-in;
}
.modal__track {
  display: flex;
  height: 100%;
  transition: transform 0.35s ease;
  will-change: transform;
}
.modal__slide {
  position: relative;
  flex: 0 0 100%;
  min-height: 100%;
}
.modal__slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(22px) brightness(0.82);
  transform: scale(1.12);
}
.modal__slide img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.modal__slide--soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #f3eee6, #dcc9ad);
  color: #b09472;
}
.modal__slide--soon .soon-ico {
  width: 66px;
  height: 50px;
  color: inherit;
}
.modal__slide--soon span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8c7a5c;
}
.gal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  transition: background 0.18s ease, transform 0.18s ease;
}
.gal-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}
.gal-arrow svg {
  width: 22px;
  height: 22px;
}
.gal-arrow--prev {
  left: 12px;
}
.gal-arrow--next {
  right: 12px;
}
.modal__dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
  z-index: 3;
}
.modal__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.modal__dot.is-on {
  background: #fff;
  transform: scale(1.3);
}
.gal--single .gal-arrow,
.gal--single .modal__dots {
  display: none;
}
.modal__x {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease;
}
.modal__x:hover {
  transform: rotate(90deg);
}
.modal__info {
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  max-height: 92vh;
  min-height: 0;
  overflow-y: auto;
}
.modal__tag {
  position: static;
  align-self: flex-start;
  margin-bottom: 14px;
}
.modal__info h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 33px;
  line-height: 1.1;
  margin-bottom: 4px;
}
.modal__info .cozinha__marca {
  margin-bottom: 16px;
}
.modal__info p {
  color: var(--ink-2);
  font-size: 16px;
}
.modal__features {
  list-style: none;
  padding: 18px 0 0;
  margin: 18px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.modal__features li {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--creme);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 7px 13px 7px 11px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.modal__features li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.modal__info .btn {
  margin-top: 22px;
}
.modal__nota {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px !important;
}
/* Cores disponíveis + ficha técnica (só aparecem se o modelo tiver dados) */
.modal__ficha-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.modal__cores {
  margin-top: 22px;
}
.modal__cores-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.modal__cor {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.modal__cor-sw {
  display: inline-flex;
  width: 34px;
  height: 22px;
  border-radius: 5px;
  border: 1px solid var(--line-strong);
  overflow: hidden;
  flex-shrink: 0;
}
.modal__cor-sw span {
  flex: 1;
}
.modal__ficha {
  margin: 20px 0 0;
}
.modal__ficha div {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.modal__ficha dt {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.modal__ficha dd {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
body.modal-open {
  overflow: hidden;
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
}

/* ---------------- Lightbox (ampliar foto + zoom) ---------------- */
.lightbox[hidden] {
  display: none;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(12, 10, 8, 0.8);
  backdrop-filter: blur(14px) brightness(0.72);
  cursor: zoom-out;
  animation: fade 0.2s ease;
}
.lightbox__img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.65);
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.25s ease;
  will-change: transform;
}
.lightbox.is-zoomed .lightbox__img {
  cursor: zoom-out;
  transition: none;
}
.lightbox__x {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.18s ease;
}
.lightbox__x:hover {
  background: rgba(255, 255, 255, 0.3);
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
  transition: background 0.18s ease;
}
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.3);
}
.lightbox__nav svg {
  width: 26px;
  height: 26px;
}
.lightbox__prev {
  left: 18px;
}
.lightbox__next {
  right: 18px;
}
.lightbox__hint {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  pointer-events: none;
}
.lightbox.is-zoomed .lightbox__hint {
  opacity: 0;
}
.lb--single .lightbox__nav {
  display: none;
}

/* ---------------- Reveal on scroll ---------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------------- Responsivo ---------------- */
@media (max-width: 980px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .passos {
    grid-template-columns: repeat(2, 1fr);
  }
  .loja__inner,
  .contato__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav,
  .header__cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .hero {
    min-height: 88vh;
  }
  /* No celular o aviso "role" sobrepõe a lista e o botão flutuante */
  .hero__scroll {
    display: none;
  }
  .section {
    padding: 68px 0;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .passos {
    grid-template-columns: 1fr;
  }
  .loja__stats {
    grid-template-columns: 1fr 1fr;
  }
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .modal__box {
    grid-template-columns: 1fr;
    height: auto;
    overflow-y: auto;
  }
  .modal__gallery {
    min-height: 260px;
    height: 260px;
  }
  .modal__info {
    padding: 26px 24px;
    max-height: none;
    overflow: visible;
  }
  .showcase {
    height: clamp(260px, 62vw, 360px);
  }
  .showcase__overlay {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
  }
  .sc-arrow {
    width: 38px;
    height: 38px;
  }
  .sc-arrow--prev {
    left: 10px;
  }
  .sc-arrow--next {
    right: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .wa-float {
    animation: none;
  }
}

/* ---------------- Impressão / PDF ---------------- */
@media print {
  @page {
    size: 1280px 1811px;
    margin: 0;
  }
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .site-header {
    position: static;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .nav,
  .nav-toggle,
  .header__cta,
  .nav-mobile,
  .wa-float,
  .hero__scroll,
  .sc-arrow,
  .showcase__dots {
    display: none !important;
  }
  .hero {
    min-height: 620px;
  }
  .cozinha,
  .passo,
  .loja__stats li,
  .contato__horario,
  .cta-band__inner,
  .section__head {
    break-inside: avoid;
  }
}
