/* ==========================================================================
   OLR — Basaltos, Mármores e Revestimentos
   Design system: dourado-âmbar sobre grafite-basalto e bege-travertino.
   Cantos retos nos cards (metáfora de placa cortada), botões levemente
   arredondados para manter affordance de clique.
   ========================================================================== */

:root {
  --accent:      #C9962C;
  --accent-hi:   #E0B24A;
  --ink:         #14110F;
  --ink-2:       #211C18;
  --surface:     #F2EDE4;
  --surface-2:   #EBE4D8;
  --surface-3:   #F7F4EE;
  --text:        #5A5148;
  --text-mute:   #8A8074;
  --on-dark:     #F4EFE6;
  --on-dark-2:   #B7AE9F;
  --on-dark-3:   #7C7266;
  --line-dark:   rgba(237, 231, 220, 0.1);

  --max:      1280px;
  --pad:      44px;
  --sec-y:    110px;
  --ease:     cubic-bezier(0.2, 0.6, 0.2, 1);
  --nav-h:    72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hi); }
img { max-width: 100%; }
::selection { background: var(--accent); color: var(--ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.wrap--wide { max-width: 1320px; }
.sec { padding: var(--sec-y) 0; }
.sec--light { background: var(--surface); }
.sec--light-2 { background: var(--surface-2); }
.sec--dark { background: var(--ink); }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--ink); padding: 12px 20px; font-weight: 600;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- tipografia ---------- */
.h1, .h2, .h3 { font-family: 'Fraunces', Georgia, serif; letter-spacing: -0.02em; margin: 0; }
.h1 { font-weight: 600; font-size: clamp(40px, 5.6vw, 74px); line-height: 1.04; color: var(--on-dark); text-wrap: pretty; }
.h2 { font-weight: 400; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.1; color: var(--ink-2); }
.h2 strong { font-weight: 600; }
.h2--on-dark { color: var(--on-dark); }
.h3 { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 19px; color: var(--accent); margin: 0 0 14px; }
.lead { font-size: 17px; line-height: 1.7; margin: 0 0 20px; }
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  color: var(--accent); font-size: 12px; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 32px; height: 1.5px; background: var(--accent); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: inherit; font-weight: 600; font-size: 15px;
  padding: 16px 28px; border: 0; border-radius: 6px; cursor: pointer;
  text-transform: uppercase; letter-spacing: 0.06em;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn--gold { background: var(--accent); color: var(--ink); }
.btn--gold:hover { background: var(--accent-hi); color: var(--ink); }
.btn--dark { background: var(--ink); color: #EDE7DC; }
.btn--dark:hover { background: #2A2420; color: #EDE7DC; }
.btn--sm { font-size: 14px; padding: 11px 20px; text-transform: none; letter-spacing: 0; }

/* ---------- header ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 16px var(--pad);
  background: transparent; border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, padding 0.3s ease;
}
.hdr.is-stuck {
  background: rgba(20, 17, 15, 0.94);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line-dark);
  padding-top: 11px; padding-bottom: 11px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand__logo { height: 38px; width: auto; display: block; transition: opacity 0.25s ease; }
.brand:hover .brand__logo { opacity: 0.82; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link { color: #CFC7BB; font-size: 14px; font-weight: 500; }
.nav__link:hover, .nav__link[aria-current='page'] { color: var(--accent-hi); }

/* mega-menu de categorias */
.menu { position: relative; }
.menu__btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 500; color: #CFC7BB;
}
.menu__btn:hover, .menu__btn[aria-expanded='true'] { color: var(--accent-hi); }
.menu__btn svg { transition: transform 0.25s ease; }
.menu__btn[aria-expanded='true'] svg { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%);
  display: none; gap: 40px;
  min-width: 620px; padding: 34px 38px;
  background: #1B1714; border: 1px solid var(--line-dark);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.mega.is-open { display: grid; grid-template-columns: repeat(3, 1fr); }
.mega__head {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 16px;
}
.mega__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.mega__list a { color: #B7AE9F; font-size: 14px; }
.mega__list a:hover { color: var(--accent-hi); }

.burger {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  background: transparent; border: 1px solid rgba(237, 231, 220, 0.25);
  border-radius: 6px; cursor: pointer; color: #EDE7DC;
}
.drawer {
  position: fixed; inset: 0; z-index: 59;
  background: rgba(15, 13, 11, 0.97);
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  overflow-y: auto; padding: 90px 24px 40px;
}
.drawer.is-open { display: flex; }
.drawer a { color: #EDE7DC; font-family: 'Fraunces', serif; font-size: 28px; padding: 10px; }
.drawer a:hover { color: var(--accent-hi); }
.drawer .btn { margin-top: 20px; font-family: 'Inter', sans-serif; font-size: 16px; }

/* ---------- hero ---------- */
.hero { position: relative; height: 92vh; min-height: 560px; overflow: hidden; background: var(--ink); }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; pointer-events: none; }
.hero__slide.is-active { opacity: 1; pointer-events: auto; }
.hero__bg {
  position: absolute; inset: -10% 0;
  background-size: cover; background-position: center;
  filter: brightness(0.6) saturate(0.9);
  transform: scale(1.08); will-change: transform;
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,13,11,0.95) 0%, rgba(15,13,11,0.74) 42%, rgba(15,13,11,0.28) 100%);
}
.hero__inner {
  position: relative; height: 100%; max-width: var(--max); margin: 0 auto;
  padding: 0 var(--pad); display: flex; flex-direction: column; justify-content: center;
}
.hero__copy { max-width: 660px; }
.hero__copy .eyebrow { margin-bottom: 26px; }
.hero__copy .h1 { margin-bottom: 22px; }
.hero__copy .h1 em { font-style: italic; font-weight: 500; color: var(--accent-hi); }
.hero__sub { font-size: 18px; line-height: 1.6; color: #C4BBAD; max-width: 500px; margin: 0 0 34px; }
.hero__dots {
  position: absolute; left: 0; right: 0; bottom: 34px; z-index: 6;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  display: flex; gap: 10px; list-style: none;
}
.hero__dot { width: 52px; height: 3px; border: 0; padding: 0; cursor: pointer; background: rgba(237,231,220,0.3); }
.hero__dot.is-active { background: var(--accent); }

/* ---------- por que escolher ---------- */
.why { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.why__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 56px; }
.why p { font-size: 16px; line-height: 1.6; margin: 0; }

/* ---------- rails horizontais ---------- */
.rail {
  display: flex; gap: 14px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: auto; padding-bottom: 6px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail__nav { display: flex; gap: 10px; margin-top: 8px; }
.rail__btn {
  width: 44px; height: 44px; background: transparent;
  border: 1px solid rgba(33, 28, 24, 0.2); cursor: pointer; color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.rail__btn:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- cards de produto ---------- */
.card { display: block; color: inherit; }
.card:hover { color: inherit; }
.card__media { overflow: hidden; aspect-ratio: 5 / 4; background: #DCD4C6; }
.card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.7s var(--ease);
}
.card:hover .card__media img { transform: scale(1.06); }
.card__name { font-weight: 700; font-size: 15px; color: var(--ink-2); margin: 14px 0 3px; }
.card__desc { font-size: 13px; color: var(--text-mute); margin: 0; }
.card--rail { flex: 0 0 min(300px, 74vw); }

.prod-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.panel { display: grid; grid-template-columns: 2fr 1fr; gap: 44px; align-items: start; }
.panel__aside { display: flex; flex-direction: column; gap: 18px; }
.panel__aside p { font-size: 16px; line-height: 1.6; margin: 0; }

/* ---------- categorias de produto (sempre visíveis) ---------- */
.prod-head__hint { font-size: 15px; line-height: 1.6; color: var(--text); max-width: 340px; margin: 0; }

.cats { display: flex; flex-direction: column; gap: 12px; }
.cat { border-top: 1px solid rgba(33, 28, 24, 0.14); padding-top: 30px; }
.cat__h {
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  margin: 0 0 26px;
}
.cat__name {
  font-family: 'Fraunces', Georgia, serif; font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.01em; color: var(--ink-2);
}
.cat__count { font-size: 13.5px; font-weight: 500; color: var(--text-mute); }
.cat + .cat { margin-top: 46px; }

/* ---------- destaques ---------- */
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat__card { position: relative; overflow: hidden; background: var(--ink); aspect-ratio: 4 / 5; display: block; }
.feat__card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.9s var(--ease); filter: brightness(0.82);
}
.feat__card:hover img { transform: scale(1.06); }
.feat__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; pointer-events: none; }
.feat__body::before {
  content: ''; position: absolute; inset: -60px 0 0; z-index: -1;
  background: linear-gradient(to top, rgba(15,13,11,0.92), rgba(15,13,11,0));
}
.feat__kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.feat__title { font-family: 'Fraunces', serif; font-weight: 600; font-size: 25px; color: var(--on-dark); margin: 0 0 6px; }
.feat__meta { font-size: 13.5px; color: var(--on-dark-2); margin: 0; }

/* ---------- depoimentos ---------- */
.quote {
  flex: 0 0 min(520px, 86vw);
  background: var(--surface-3); padding: 34px 34px 28px;
  display: flex; flex-direction: column; justify-content: space-between; min-height: 250px;
}
.quote p { font-size: 16.5px; line-height: 1.65; color: #3A342E; margin: 0 0 26px; }
.quote__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.quote__who { font-size: 15px; font-weight: 700; color: var(--ink-2); margin: 0; }
.stars { display: flex; gap: 3px; color: var(--accent); }

/* ---------- sobre ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__mosaic { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.about__mosaic > div { overflow: hidden; aspect-ratio: 1 / 1; background: #DCD4C6; }
.about__mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; filter: sepia(0.14) saturate(0.92); }
.about__seal {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 96px; height: 96px; background: var(--surface);
  display: flex; align-items: center; justify-content: center;
}
.about__seal img { height: 54px; width: auto; display: block; }

/* ---------- CTA + footer ---------- */
.cta { position: relative; background: var(--ink); overflow: hidden; }
.cta__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.1; filter: grayscale(0.3); }
.cta__inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 104px var(--pad) 88px; }
.cta .h2 { font-weight: 500; font-size: clamp(36px, 5vw, 66px); line-height: 1.05; color: var(--on-dark); margin: 0 0 24px; text-wrap: pretty; }
.cta p { font-size: 18px; line-height: 1.65; color: var(--on-dark-2); max-width: 520px; margin: 0 0 36px; }

.ft { position: relative; z-index: 2; border-top: 1px solid var(--line-dark); padding: 56px var(--pad) 34px; }
.ft__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; }
.ft__logo { height: 46px; width: auto; display: block; margin-bottom: 18px; }
.ft__head { font-size: 14px; font-weight: 600; color: #EDE7DC; margin: 0 0 16px; }
.ft__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.ft__list a, .ft__list li { color: var(--on-dark-2); }
.ft__list a:hover { color: var(--accent-hi); }
.ft__note { font-size: 14px; line-height: 1.6; color: var(--on-dark-3); margin: 0; }
.ft__pay { display: flex; flex-wrap: wrap; gap: 8px; }
.ft__chip {
  font-size: 12px; color: var(--on-dark-2);
  border: 1px solid var(--line-dark); padding: 7px 11px; border-radius: 4px;
}
.ft__social { display: flex; gap: 12px; }
.ft__social a {
  width: 38px; height: 38px; border: 1px solid var(--line-dark); border-radius: 4px;
  display: flex; align-items: center; justify-content: center; color: var(--on-dark-2);
}
.ft__social a:hover { border-color: var(--accent); color: var(--accent); }
.ft__bar {
  max-width: var(--max); margin: 38px auto 0; padding-top: 22px;
  border-top: 1px solid rgba(237, 231, 220, 0.08);
  color: #6B6155; font-size: 13px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* botão flutuante do WhatsApp */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 55;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease;
}
.wa-float:hover { transform: scale(1.07); color: #fff; }

/* ---------- scroll reveal ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .ft__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --pad: 22px; --sec-y: 72px; }
  .nav { display: none; }
  .brand__logo { height: 32px; }
  .burger { display: flex; }
  .why, .about { grid-template-columns: 1fr; gap: 40px; }
  .why__cols { grid-template-columns: 1fr 1fr; }
  .prod-head { flex-direction: column; align-items: flex-start; }
  .panel { grid-template-columns: 1fr; }
  .panel__aside { order: -1; }
  .feat { grid-template-columns: 1fr; }
  .feat__card { aspect-ratio: 3 / 2; }
  .hero .h1 { font-size: clamp(34px, 9vw, 52px); }
}
@media (max-width: 720px) {
  .ft__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .why__cols { grid-template-columns: 1fr; gap: 32px; }
}
