/* ============================================================
   FRAGME — Marmoraria de Rochas Nobres · Natal, RN
   Sistema visual: PEDRA · TEMPO · PRECISÃO
   ============================================================ */

:root {
  --color-bg: #0C0B0A;        /* Obsidiana */
  --color-surface: #1C1A17;   /* Carvão mineral */
  --color-text: #F0EBE3;      /* Mármore creme */
  --color-accent: #B89A6E;    /* Veio dourado */
  --color-accent-hi: #CDB088; /* Veio dourado — hover */
  --color-muted: #6E6660;     /* Cinza pedra */
  --color-border: #2A2520;    /* Borda sutil */
  --color-footer: #0A0908;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-geo: "Montserrat", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1280px;
  --pad-x: clamp(1.5rem, 5vw, 6rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--color-accent); color: var(--color-bg); }

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

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

/* ---------- Reusable type ---------- */
.label {
  font-family: var(--font-geo);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.label::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--color-accent);
  opacity: 0.7;
}
.label--center::after {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--color-accent);
  opacity: 0.7;
}

.h-section {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--color-text);
  text-wrap: balance;
}

.body-text {
  font-family: var(--font-body);
  font-weight: 300;
  color: color-mix(in oklab, var(--color-text) 78%, transparent);
  line-height: 1.85;
  max-width: 46ch;
  text-wrap: pretty;
}

.section {
  padding: clamp(5rem, 11vh, 9.5rem) var(--pad-x);
}
.section--surface { background: var(--color-surface); }
.inner { max-width: var(--maxw); margin: 0 auto; }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .h-section { margin-top: 1.4rem; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-geo);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.05rem 2rem;
  border-radius: 5px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn--primary {
  background: var(--color-accent);
  color: var(--color-bg);
}
.btn--primary:hover {
  background: var(--color-accent-hi);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ============================================================
   LOADER
   ============================================================ */
#loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--color-bg);
  display: grid; place-items: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}
#loader img {
  width: clamp(140px, 26vw, 220px);
  opacity: 0;
  animation: loaderIn 1.2s var(--ease) forwards;
}
@keyframes loaderIn {
  0%   { opacity: 0; transform: translateY(8px) scale(0.98); letter-spacing: 0; }
  35%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
body.loaded #loader { opacity: 0; visibility: hidden; pointer-events: none; }

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
#progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--color-accent);
  z-index: 9000;
  transition: width 0.1s linear;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 8000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem var(--pad-x);
  transition: padding 0.4s var(--ease), background 0.4s var(--ease),
              backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 1rem var(--pad-x);
  background: color-mix(in oklab, var(--color-bg) 90%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--color-border);
}
.nav__logo img {
  height: 30px; width: auto;
  transition: height 0.4s var(--ease);
}
.nav.scrolled .nav__logo img { height: 26px; }

.nav__links {
  display: flex; align-items: center; gap: 2.2rem;
  list-style: none;
}
.nav__links a {
  font-family: var(--font-geo);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--color-text) 82%, transparent);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.3s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--color-accent);
  transition: width 0.35s var(--ease);
}
.nav__links a:hover { color: var(--color-accent); }
.nav__links a:hover::after { width: 100%; }
.nav__links .nav__cta {
  color: var(--color-accent);
  border: 1px solid var(--color-border);
  padding: 0.6rem 1.2rem; border-radius: 4px;
}
.nav__links .nav__cta::after { display: none; }
.nav__links .nav__cta:hover { border-color: var(--color-accent); }

.nav__burger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 30px; height: 22px; position: relative; z-index: 9100;
}
.nav__burger span {
  position: absolute; left: 0; height: 1.5px; width: 100%;
  background: var(--color-text); transition: 0.4s var(--ease);
}
.nav__burger span:nth-child(1) { top: 2px; }
.nav__burger span:nth-child(2) { top: 10px; }
.nav__burger span:nth-child(3) { top: 18px; }
body.menu-open .nav__burger span:nth-child(1) { top: 10px; transform: rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* Mobile slide-in menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 9000;
  background: color-mix(in oklab, var(--color-bg) 97%, transparent);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--pad-x);
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
}
body.menu-open .mobile-menu { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 400;
  color: var(--color-text);
  padding: 0.5rem 0;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
}
.mobile-menu a:hover { color: var(--color-accent); }
body.menu-open .mobile-menu a {
  opacity: 1; transform: translateY(0);
}
body.menu-open .mobile-menu a:nth-child(1) { transition-delay: 0.12s; }
body.menu-open .mobile-menu a:nth-child(2) { transition-delay: 0.17s; }
body.menu-open .mobile-menu a:nth-child(3) { transition-delay: 0.22s; }
body.menu-open .mobile-menu a:nth-child(4) { transition-delay: 0.27s; }
body.menu-open .mobile-menu a:nth-child(5) { transition-delay: 0.32s; }
body.menu-open .mobile-menu a:nth-child(6) { transition-delay: 0.37s; }
.mobile-menu .mm-foot {
  margin-top: 3rem; font-family: var(--font-geo); font-size: 0.75rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: -8% 0 0 0; height: 116%;
  background-size: cover; background-position: center;
  will-change: transform;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12,11,10,0.88) 0%, rgba(12,11,10,0.62) 38%, rgba(12,11,10,0.30) 72%, rgba(12,11,10,0.55) 100%),
    linear-gradient(0deg, rgba(12,11,10,0.85) 0%, rgba(12,11,10,0) 40%);
}
.hero__inner {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto; width: 100%;
  padding: 0 var(--pad-x);
}
.hero__content { max-width: 41rem; }
.hero__label { margin-bottom: 1.6rem; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 7vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: 1.8rem;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--color-accent); }
.hero__sub {
  font-family: var(--font-body); font-weight: 300;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.7;
  color: color-mix(in oklab, var(--color-text) 82%, transparent);
  max-width: 38rem; margin-bottom: 2.6rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 2.2rem; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center;
  gap: 0.7rem; color: var(--color-muted);
  font-family: var(--font-geo); font-size: 0.65rem; letter-spacing: 0.25em;
  text-transform: uppercase;
}
.hero__scroll .line {
  width: 1px; height: 48px;
  background: linear-gradient(var(--color-accent), transparent);
  position: relative; overflow: hidden;
}
.hero__scroll .line::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--color-text);
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { top: -50%; } 100% { top: 100%; }
}

/* ============================================================
   SOBRE
   ============================================================ */
.about__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center;
}
.about__img {
  position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 4px;
}
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 120px rgba(12,11,10,0.5);
  border: 1px solid var(--color-border);
}
.about__lead { margin: 1.6rem 0 2.4rem; font-size: 1.05rem; max-width: 52ch; }
.diffs {
  display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid var(--color-border);
}
.diff {
  display: grid; grid-template-columns: auto 1fr; gap: 1.4rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--color-border);
  align-items: flex-start;
}
.diff__icon {
  width: 30px; height: 30px; color: var(--color-accent); flex-shrink: 0;
  margin-top: 0.15rem;
}
.diff__icon svg { width: 100%; height: 100%; }
.diff h4 {
  font-family: var(--font-display); font-weight: 600; font-style: italic;
  font-size: 1.35rem; margin-bottom: 0.25rem; color: var(--color-text);
}
.diff p {
  font-family: var(--font-body); font-weight: 300; font-size: 0.95rem;
  color: color-mix(in oklab, var(--color-text) 70%, transparent); line-height: 1.6;
}

/* ============================================================
   MATERIAIS
   ============================================================ */
.materials__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.2rem);
}
.matcard {
  position: relative; aspect-ratio: 4/3.4; overflow: hidden; border-radius: 4px;
  border: 1px solid var(--color-border);
  display: flex; align-items: flex-end;
}
.matcard__img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.7s var(--ease);
}
.matcard:hover .matcard__img { transform: scale(1.05); }
.matcard__veil {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,7,6,0.92) 0%, rgba(8,7,6,0.45) 38%, rgba(8,7,6,0.05) 70%);
}
.matcard__body {
  position: relative; z-index: 2; padding: clamp(1.8rem, 3.5vw, 2.8rem);
}
.matcard__body .label { margin-bottom: 0.9rem; }
.matcard h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.05;
  margin-bottom: 0.8rem;
}
.matcard p {
  font-family: var(--font-body); font-weight: 300; font-size: 0.95rem;
  color: color-mix(in oklab, var(--color-text) 80%, transparent);
  max-width: 40ch; line-height: 1.65;
}

/* ============================================================
   PROJETOS / GALERIA
   ============================================================ */
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.gallery__item {
  position: relative; overflow: hidden; border-radius: 3px; cursor: pointer;
  aspect-ratio: 1; background: var(--color-surface);
}
.gallery__item:nth-child(1) { grid-row: span 2; aspect-ratio: auto; }
.gallery__item:nth-child(6) { grid-row: span 2; aspect-ratio: auto; }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
  filter: brightness(0.92) saturate(0.95);
}
.gallery__item:hover img { transform: scale(1.06); filter: brightness(1) saturate(1); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(12,11,10,0.18); opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.gallery__item:hover::after { opacity: 1; }
.gallery__zoom {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0.8);
  z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  background: color-mix(in oklab, var(--color-bg) 70%, transparent);
  border: 1px solid var(--color-accent); color: var(--color-accent);
  display: grid; place-items: center; opacity: 0;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  backdrop-filter: blur(4px); pointer-events: none;
}
.gallery__item:hover .gallery__zoom { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.gallery__zoom svg { width: 18px; height: 18px; }
.gallery__note {
  margin-top: 2rem; font-family: var(--font-geo); font-size: 0.72rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-muted);
  display: inline-flex; align-items: center; gap: 0.7rem;
}
.gallery__note::before { content: ""; width: 2rem; height: 1px; background: var(--color-border); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9500;
  background: rgba(8,7,6,0.94); backdrop-filter: blur(8px);
  display: grid; place-items: center; padding: 5vw;
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%; max-height: 90vh; border-radius: 4px;
  transform: scale(0.96); transition: transform 0.4s var(--ease);
  box-shadow: 0 40px 120px rgba(0,0,0,0.6);
}
.lightbox.open img { transform: scale(1); }
.lightbox__close {
  position: absolute; top: 2rem; right: 2.4rem; background: none; border: none;
  color: var(--color-text); cursor: pointer; width: 36px; height: 36px;
}
.lightbox__close svg { width: 100%; height: 100%; }

/* ============================================================
   SERVIÇOS
   ============================================================ */
.services__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; border: 1px solid var(--color-border); border-radius: 4px;
  overflow: hidden;
}
.service {
  padding: clamp(2rem, 3.5vw, 3rem);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.4s var(--ease);
  position: relative;
}
.service:nth-child(2n) { border-right: none; }
.service:nth-child(n+3) { border-bottom: none; }
.service:hover { background: color-mix(in oklab, var(--color-accent) 6%, transparent); }
.service__num {
  font-family: var(--font-geo); font-size: 0.72rem; letter-spacing: 0.2em;
  color: var(--color-accent); margin-bottom: 1.6rem; display: block;
}
.service__icon { width: 38px; height: 38px; color: var(--color-accent); margin-bottom: 1.4rem; }
.service__icon svg { width: 100%; height: 100%; }
.service h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.55rem;
  margin-bottom: 0.7rem;
}
.service p {
  font-family: var(--font-body); font-weight: 300; font-size: 0.95rem;
  color: color-mix(in oklab, var(--color-text) 72%, transparent); line-height: 1.65;
  max-width: 42ch;
}

/* ============================================================
   SHOWROOM
   ============================================================ */
.showroom { position: relative; overflow: hidden; }
.showroom__texture {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: 0.05;
}
.showroom__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
.showroom__copy .h-section { margin: 1.4rem 0 1.4rem; }
.showroom__copy .body-text { margin-bottom: 2.2rem; max-width: 40ch; }
.address {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.5rem 0; margin-bottom: 2.2rem;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.address svg { width: 22px; height: 22px; color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }
.address__text { font-family: var(--font-body); font-weight: 300; line-height: 1.6; }
.address__text strong {
  display: block; font-family: var(--font-geo); font-weight: 500; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-text);
  margin-bottom: 0.3rem;
}
.address__text span { color: var(--color-muted); }
.showroom__map {
  border-radius: 4px; overflow: hidden; border: 1px solid var(--color-border);
  aspect-ratio: 3/2.4; position: relative;
}
.showroom__map iframe {
  width: 100%; height: 100%; border: none; filter: grayscale(1) invert(0.92) contrast(0.9);
}
.showroom__map::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px var(--color-border);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-footer);
  padding: clamp(4rem, 8vw, 6rem) var(--pad-x) 2.5rem;
}
.footer__top {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem;
  align-items: flex-start; padding-bottom: 3rem;
}
.footer__brand img { height: 38px; margin-bottom: 1.4rem; }
.footer__tag {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: 1.4rem; color: color-mix(in oklab, var(--color-text) 85%, transparent);
  max-width: 24ch; line-height: 1.3;
}
.footer__links { display: flex; flex-direction: column; gap: 1rem; }
.footer__links a {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-geo); font-size: 0.85rem; letter-spacing: 0.06em;
  color: color-mix(in oklab, var(--color-text) 78%, transparent);
  transition: color 0.3s var(--ease);
}
.footer__links a svg { width: 20px; height: 20px; color: var(--color-accent); }
.footer__links a:hover { color: var(--color-accent); }
.footer__bottom {
  max-width: var(--maxw); margin: 0 auto;
  border-top: 1px solid var(--color-border); padding-top: 2rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-family: var(--font-geo); font-size: 0.72rem; letter-spacing: 0.1em;
  color: var(--color-muted);
}
.footer__bottom a:hover { color: var(--color-accent); }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position: fixed; right: clamp(1.2rem, 3vw, 2.2rem); bottom: clamp(1.2rem, 3vw, 2.2rem);
  z-index: 9999; display: flex; align-items: center; gap: 0;
  opacity: 0; transform: translateY(20px) scale(0.9); pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.wa-float.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.wa-float__btn {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--color-surface); border: 1px solid var(--color-border);
  display: grid; place-items: center; position: relative;
  box-shadow: 0 10px 34px rgba(0,0,0,0.5);
}
.wa-float__btn svg { width: 30px; height: 30px; color: #25D366; }
.wa-float__btn::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: waPulse 2.6s ease-out infinite; opacity: 0;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.65); opacity: 0; }
}
.wa-float__tip {
  position: absolute; right: 72px; top: 50%; transform: translateY(-50%) translateX(8px);
  white-space: nowrap; background: var(--color-surface); border: 1px solid var(--color-border);
  color: var(--color-text); padding: 0.55rem 0.95rem; border-radius: 4px;
  font-family: var(--font-geo); font-size: 0.72rem; letter-spacing: 0.08em;
  opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
.wa-float:hover .wa-float__tip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-d="1"] { transition-delay: 0.1s; }
.reveal[data-d="2"] { transition-delay: 0.2s; }
.reveal[data-d="3"] { transition-delay: 0.3s; }
.reveal[data-d="4"] { transition-delay: 0.4s; }

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__img { aspect-ratio: 16/10; max-height: 460px; order: -1; }
  .showroom__grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .materials__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .service { border-right: none !important; }
  .service:nth-child(3) { border-bottom: 1px solid var(--color-border); }
  .footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery__item:nth-child(1), .gallery__item:nth-child(6) { grid-row: span 1; aspect-ratio: 1; }
  .hero__content { max-width: 100%; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .footer__bottom { flex-direction: column; }
}
