/* Raspadora Diamond — template 2026 */
:root {
  --bg: #15110e;
  --bg-2: #1e1813;
  --bg-3: #2a211a;
  --cream: #f7f2eb;
  --cream-2: #efe6da;
  --ink: #241b14;
  --ink-soft: #5e5045;
  --text: #f4ede5;
  --text-soft: #c2b3a5;
  --accent: #eb9c29;
  --accent-strong: #d6851a;
  --line-dark: rgba(255, 255, 255, .1);
  --line-light: rgba(36, 27, 20, .12);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, .45);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--light { background: var(--cream); color: var(--ink); }
.section--light-2 { background: var(--cream-2); color: var(--ink); }
.section--dark-2 { background: var(--bg-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--light .eyebrow, .section--light-2 .eyebrow { color: var(--accent-strong); }
.lead { font-size: 1.12rem; color: var(--text-soft); max-width: 60ch; }
.section--light .lead, .section--light-2 .lead { color: var(--ink-soft); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent; background: transparent; color: inherit;
  font: 700 .95rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--accent); color: #1b130c; }
.btn--primary:hover { background: #f5ad44; }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: #000; }

/* Topo */
.topbar { background: #0e0b09; color: var(--text-soft); font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--accent); }
.topbar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(21, 17, 14, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .4)); }
.brand strong { display: block; font: 600 1.2rem/1.1 var(--font-display); }
.brand small { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .93rem; color: var(--text-soft); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--accent); }
.nav .btn { padding: 11px 20px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(70px, 10vw, 130px) 0 clamp(80px, 10vw, 140px); }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(14, 10, 8, .96) 0%, rgba(14, 10, 8, .86) 45%, rgba(14, 10, 8, .55) 100%);
}
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lead { margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__logo { position: relative; }
.hero__logo img { aspect-ratio: 4 / 3; object-fit: contain; width: 100%; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .45)); }
.hero__logo::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 2px solid var(--accent); border-radius: var(--radius-lg); opacity: .6;
}

/* Números */
.stats { background: var(--accent); color: #1b130c; }
.stats .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 34px 20px; text-align: center; }
.stat + .stat { border-left: 1px solid rgba(27, 19, 12, .18); }
.stat strong { display: block; font: 600 clamp(2.2rem, 4.5vw, 3.2rem)/1 var(--font-display); }
.stat span { font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }

/* Vantagens */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--accent-strong); margin-top: 3px; }

/* Processo */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 30px 24px 26px; transition: transform .25s, box-shadow .25s;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(36, 27, 20, .45); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font: 600 2.6rem/1 var(--font-display); color: var(--accent); margin-bottom: 16px;
}
.step h3 { font-size: 1.15rem; letter-spacing: .02em; }
.step p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.process-banner {
  margin-top: clamp(36px, 5vw, 56px); border-radius: var(--radius-lg); overflow: hidden; position: relative;
  aspect-ratio: 4 / 1;
}
.process-banner img { width: 100%; height: 100%; object-fit: cover; }

/* Resinas */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.product {
  display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: start;
  background: var(--bg-3); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 26px;
}
.product img { width: 120px; height: 120px; object-fit: cover; border-radius: 10px; background: #fff; }
.product h3 { color: var(--text); }
.product p { color: var(--text-soft); font-size: .95rem; }
.product p:last-child { margin: 0; }

/* Galeria */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery__item {
  position: relative; display: block; padding: 0; border: 0; cursor: zoom-in; background: var(--bg-3);
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(0, 0, 0, .45));
  opacity: 0; transition: opacity .3s;
}
.gallery__item:hover::after { opacity: 1; }
.gallery__item--video { cursor: pointer; }
.gallery__item--video .play {
  position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; gap: 10px; align-content: center;
  color: #fff; font-weight: 700; font-size: .9rem; background: rgba(0, 0, 0, .35);
}
.gallery__item--video .play span:first-child {
  width: 68px; height: 68px; border-radius: 50%; background: var(--accent); display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(235, 156, 41, .25);
}
.gallery__item--video .play svg { width: 26px; height: 26px; color: #1b130c; margin-left: 4px; }
.gallery.is-collapsed .gallery__item:nth-child(n+9) { display: none; }
.gallery-more { text-align: center; margin-top: 34px; }

/* Madeiras */
.woods { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.wood { margin: 0; text-align: center; }
.wood img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 12px 28px -14px rgba(36, 27, 20, .6); border: 4px solid #fff; transition: transform .3s; }
.wood:hover img { transform: rotate(-6deg) scale(1.05); }
.wood figcaption { margin-top: 14px; font: 600 1.15rem/1.2 var(--font-display); }

/* Sobre */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.about img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.about .lead { font-size: 1.25rem; color: var(--text); }
.about-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.about-list li { display: flex; gap: 14px; align-items: center; color: var(--text-soft); }
.about-list svg { width: 22px; height: 22px; color: var(--accent); flex: none; }

/* Contato */
.contact {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; box-shadow: var(--shadow);
}
.contact__cta { padding: clamp(32px, 5vw, 60px); background: var(--accent); color: #1b130c; }
.contact__cta .eyebrow { color: #1b130c; }
.contact__cta p { font-size: 1.1rem; max-width: 44ch; }
.contact__cta .hero__actions { margin-top: 28px; }
.contact__info { padding: clamp(32px, 5vw, 60px); background: var(--bg-3); display: grid; gap: 22px; align-content: center; }
.info { display: flex; gap: 16px; align-items: flex-start; }
.info__icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(235, 156, 41, .14); color: var(--accent); display: grid; place-items: center; flex: none; }
.info__icon svg { width: 22px; height: 22px; }
.info small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); }
.info a, .info span { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.info a:hover { color: var(--accent); }

/* Rodapé */
.footer { background: #0e0b09; color: var(--text-soft); padding: 64px 0 28px; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h3 { font-size: 1.05rem; color: var(--text); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer .brand { margin-bottom: 18px; }
.footer .brand strong { color: var(--text); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--text); transition: background .2s, color .2s; }
.social a:hover { background: var(--accent); color: #1b130c; border-color: var(--accent); }
.social svg { width: 19px; height: 19px; }
.footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: rgba(8, 6, 5, .92); max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(8, 6, 5, .94); }
.lightbox__stage { width: 100%; height: 100%; display: grid; place-items: center; padding: 64px 16px; }
.lightbox__stage img, .lightbox__stage video { max-width: min(100%, 1100px); max-height: calc(100vh - 128px); border-radius: 10px; object-fit: contain; }
.lightbox button {
  position: fixed; z-index: 2; border: 0; cursor: pointer; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center;
}
.lightbox button:hover { background: var(--accent); color: #1b130c; }
.lightbox button svg { width: 24px; height: 24px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: fixed; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--text-soft); font-size: .9rem; }
.lightbox.is-video .lightbox__prev, .lightbox.is-video .lightbox__next, .lightbox.is-video .lightbox__count { display: none; }

/* Página simples (contato, 404, obrigado) */
.page-hero { padding: clamp(60px, 9vw, 110px) 0 clamp(40px, 6vw, 70px); background: radial-gradient(ellipse at top right, rgba(235, 156, 41, .16), transparent 60%); }
.page-hero--center { text-align: center; }
.page-hero--center .lead { margin-inline: auto; }
.page-hero--center .hero__actions { justify-content: center; }

/* Revelar ao rolar */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s 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: none !important; }
}

/* Responsivo */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .woods { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery.is-collapsed .gallery__item:nth-child(n+7) { display: none; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line-dark); padding: 8px 16px 20px;
    transform: translateY(-100%); visibility: hidden; transition: transform .3s, visibility 0s .3s; z-index: -1;
  }
  .nav.is-open { transform: none; visibility: visible; transition: transform .3s; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line-dark); font-size: 1.05rem; }
  .nav .btn { margin-top: 16px; padding: 14px; }
  .hero .container, .split, .about, .contact, .products { grid-template-columns: 1fr; }
  .hero__logo { max-width: 520px; }
  .split__media img { aspect-ratio: 4 / 3; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .topbar .container > :first-child { display: none; }
  .topbar .container { justify-content: center; }
}
@media (max-width: 600px) {
  .stats .container { grid-template-columns: 1fr; }
  .stat { padding: 22px 16px; }
  .stat + .stat { border-left: 0; border-top: 1px solid rgba(27, 19, 12, .18); }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery.is-collapsed .gallery__item:nth-child(n+7) { display: none; }
  .woods { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .wood figcaption { font-size: 1rem; }
  .product { grid-template-columns: 1fr; }
  .product img { width: 96px; height: 96px; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .brand small { display: none; }
  .process-banner { aspect-ratio: 16 / 9; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 10px; transform: none; }
}
