/* =========================================================
   Nirart Maison — design system inspirado em luxaluguel.com.br
   Quicksand · fundo gelo · texto grafite · botões retos caixa-alta
   ========================================================= */
:root {
  --bg: #f3f6f6;
  --white: #ffffff;
  --ink: #101218;
  --text: #4c5253;
  --muted: #949494;
  --line: #ccd6df;
  --accent: #6b4a8a;           /* lilás da identidade Nirart */
  --accent-soft: #efe9f4;
  --whats: #25d366;

  --font: "Quicksand", sans-serif;
  --font-alt: "Lato", sans-serif;

  --container: 1200px;
  --gutter: 20px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); font-weight: 400; line-height: 1.2; margin: 0; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; margin-top: 48px; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  padding: 15px 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 0;
  transition: background .3s, color .3s, border-color .3s;
  text-align: center;
}
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--accent); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(243, 246, 246, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(16, 18, 24, .05); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; flex-direction: column; align-items: center; line-height: 1; color: var(--ink); }
.logo__name { font-weight: 700; font-size: 22px; letter-spacing: 5px; }
.logo__sub { font-family: var(--font-alt); font-style: italic; font-weight: 300; font-size: 13px; letter-spacing: 2px; margin-top: 2px; }
.logo--light { color: #fff; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) {
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--ink); position: relative; padding: 4px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--ink); transition: width .3s var(--ease);
}
.nav a:not(.btn):hover::after { width: 100%; }
.nav__cta { padding: 11px 20px; }

.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 88px; }
.hero__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 20px; }
.hero__lead { font-size: 17px; max-width: 520px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero__tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hero__tags li { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); }
.hero__tags li + li::before { content: "•"; margin-right: 20px; color: var(--accent); }

.hero__gallery { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 600px; }
.hero__pic { margin: 0; overflow: hidden; background: var(--line); }
.hero__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero__pic:hover img { transform: scale(1.04); }
.hero__pic--1 { grid-row: 1 / 3; border-radius: 240px 240px 0 0; }   /* arco — eco das colunas da Lux */
.hero__pic--2 img { object-position: center 20%; }
.hero__pic--3 img { object-position: center 30%; }

/* ---------- Diferenciais ---------- */
.features { background: var(--white); padding: 64px 0; }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.feature { text-align: center; padding: 0 12px; }
.feature__icon { width: 48px; height: 48px; color: var(--accent); margin: 0 auto 18px; }
.feature h3 { font-size: 20px; font-weight: 500; margin-bottom: 10px; }
.feature p { font-size: 15px; }

/* ---------- Seções ---------- */
.section { padding: 96px 0; }
.section--white { background: var(--white); }
.section__head { text-align: center; margin-bottom: 44px; }
.section__head h2 { font-size: clamp(28px, 3.4vw, 40px); }

/* ---------- Filtros + produtos ---------- */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter {
  background: none; border: 1px solid var(--line); color: var(--ink);
  padding: 10px 20px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  transition: all .25s;
}
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.product { transition: opacity .35s, transform .35s; }
.product.is-hidden { display: none; }
.product__img { aspect-ratio: 3 / 4.4; overflow: hidden; background: var(--line); margin-bottom: 14px; }
.product__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .8s var(--ease); }
.product:hover .product__img img { transform: scale(1.06); }
.product__cat { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.product__name { font-size: 17px; font-weight: 500; }

/* ---------- Banner ---------- */
.banner { position: relative; padding: 120px 0; color: #fff; overflow: hidden; text-align: center; }
.banner__bg { position: absolute; inset: 0; }
.banner__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.banner__bg::after { content: ""; position: absolute; inset: 0; background: rgba(16, 18, 24, .6); }
.banner__content { position: relative; max-width: 760px; }
.banner h2 { color: #fff; font-size: clamp(26px, 3.6vw, 42px); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.banner p { font-size: 17px; margin-bottom: 32px; opacity: .9; }

/* ---------- Ocasiões ---------- */
.occasions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.occasion { position: relative; aspect-ratio: 3 / 4.6; overflow: hidden; display: block; }
.occasion img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.occasion::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,18,24,.75), transparent 55%); }
.occasion:hover img { transform: scale(1.06); }
.occasion__label {
  position: absolute; left: 0; right: 0; bottom: 24px; z-index: 1; text-align: center;
  color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
}

/* ---------- Passos ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.step { border-top: 1px solid var(--line); padding-top: 24px; }
.step__num { display: block; font-size: 36px; font-weight: 300; color: var(--accent); margin-bottom: 8px; }
.step h3 { font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.step p { font-size: 15px; }

/* ---------- Galeria ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery__item { padding: 0; border: 0; background: var(--line); aspect-ratio: 1; overflow: hidden; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .6s var(--ease), opacity .3s; }
.gallery__item:hover img { transform: scale(1.06); opacity: .9; }
.insta { text-align: center; margin-top: 40px; }
.insta p { margin-bottom: 8px; }
.insta__link { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 600; color: var(--ink); }
.insta__link svg { width: 24px; height: 24px; }
.insta__link:hover { color: var(--accent); }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: stretch; }
.contact__block { margin-bottom: 28px; }
.contact__block h3 { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.contact__block a { color: var(--ink); border-bottom: 1px solid var(--line); }
.contact__block a:hover { border-color: var(--ink); }
.hours { border-collapse: collapse; width: 100%; max-width: 340px; }
.hours td { padding: 6px 0; border-bottom: 1px solid var(--bg); }
.hours td:last-child { text-align: right; color: var(--ink); }
.contact__map { min-height: 420px; background: var(--bg); }
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 56px 0 40px; text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer p { font-size: 14px; }
.footer__copy { font-size: 12px !important; letter-spacing: 1px; opacity: .6; }

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--whats); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transition: transform .3s;
}
.whats-float:hover { transform: scale(1.08); }
.whats-float svg { width: 30px; height: 30px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(16,18,24,.92); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; max-width: 100%; object-fit: contain; }
.lightbox__close { position: absolute; top: 12px; right: 16px; background: none; border: 0; color: #fff; font-size: 44px; line-height: 1; width: 48px; height: 48px; }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1024px) {
  .nav { gap: 18px; }
  .products { grid-template-columns: repeat(3, 1fr); }
  .hero__gallery { height: 520px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }

  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    height: calc(100dvh - var(--header-h));
    background: var(--bg);
    flex-direction: column; justify-content: flex-start; align-items: center;
    gap: 6px; padding: 32px var(--gutter);
    transform: translateX(100%); visibility: hidden;
    transition: transform .4s var(--ease), visibility .4s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a:not(.btn) { font-size: 15px; padding: 14px 0; }
  .nav__cta { margin-top: 16px; padding: 15px 30px; }
  body.menu-open { overflow: hidden; }

  .hero { padding: 36px 0 64px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__text { text-align: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__tags { justify-content: center; }
  .hero__gallery { height: 460px; }

  .features__grid { grid-template-columns: 1fr; gap: 36px; }
  .occasions { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .logo__name { font-size: 19px; letter-spacing: 4px; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__gallery { height: 380px; gap: 8px; }
  .hero__pic--1 { border-radius: 160px 160px 0 0; }

  .products { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .product__name { font-size: 15px; }
  .product__cat { font-size: 10px; letter-spacing: 1px; }
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 32px; padding: 0 var(--gutter); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: 0 0 auto; }

  .banner { padding: 88px 0; }
  .occasions { gap: 8px; }
  .occasion__label { font-size: 12px; letter-spacing: 2px; bottom: 16px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .contact .btn { width: 100%; }
  .contact__map, .contact__map iframe { min-height: 320px; }
  .section { padding: 60px 0; }
  .section__head { margin-bottom: 32px; }
  .whats-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}
