/* ==========================================================
   Cerâmica Guarapó - Landing page
   Direção: industrial / ficha técnica. Cores do logo 2026.
   ========================================================== */

:root {
  --orange: #F95E20;
  --orange-dark: #D94A10;
  --green: #006837;
  --green-deep: #0B2E1C;
  --ink: #141611;
  --ink-2: #565A50;
  --paper: #F2EDE4;
  --paper-2: #E8E0D2;
  --white: #FFFFFF;
  --line: rgba(20, 22, 17, .14);
  --line-strong: rgba(20, 22, 17, .28);
  --line-light: rgba(255, 255, 255, .16);

  --font: "Archivo", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --container: 1320px;
  --nav-h: 76px;
  --gutter: 32px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 70px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

/* granulação analógica por cima de tudo */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 400;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font); line-height: 1; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--orange); color: var(--white); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-weight: 400; letter-spacing: 0; text-transform: uppercase; }

/* ---------- Botões ---------- */
.btn {
  --pad: 18px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: var(--pad);
  font: 600 14px var(--font);
  text-transform: uppercase;
  letter-spacing: .06em;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease), color .4s, border-color .4s, background .4s;
}
.btn svg { flex: none; transition: transform .5s var(--ease); }
.btn--sm { --pad: 12px 18px; font-size: 13px; }
.btn--orange { background: var(--orange); color: var(--white); }
.btn--orange::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .6s var(--ease);
}
.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .5); }
.btn--ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--white);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .6s var(--ease);
}

/* texto que rola para cima no hover */
.btn__label { display: block; overflow: hidden; line-height: 1.3; }
.btn__label > span { display: block; text-shadow: 0 1.3em currentColor; transition: transform .6s var(--ease); }

@media (hover: hover) {
  .btn:hover .btn__label > span { transform: translateY(-1.3em); }
  .btn:hover svg { transform: translateX(5px); }
  .btn--orange:hover::before, .btn--ghost:hover::before { transform: scaleY(1); }
  .btn--ghost:hover { color: var(--ink); border-color: var(--white); }
}

/* ---------- Rótulos e títulos ---------- */
.label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  font: 500 12px var(--mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-2);
}
.label::after { content: ""; flex: 0 1 80px; height: 1px; background: currentColor; opacity: .4; }
.label__n { color: var(--orange); }
.label--light { color: rgba(255, 255, 255, .6); }

.title {
  font-size: clamp(40px, 5.2vw, 78px);
  font-weight: 800;
  font-stretch: 72%;
  line-height: .92;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.title em, .hero__title em { font-style: normal; color: var(--orange); }
.title--light { color: var(--white); }

.section { padding: clamp(96px, 12vw, 168px) 0; position: relative; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: height .5s var(--ease), transform .7s var(--ease);
}
/* Barra sempre clara para o logo aparecer nas cores originais.
   Fundo em pseudo-elemento: backdrop-filter no .nav prenderia o menu mobile */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav.is-scrolled { height: 64px; }
.nav.is-hidden { transform: translateY(-100%); }
body.menu-open .nav { transform: none; }

.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; }
.brand__logo { display: block; height: 42px; width: auto; transition: height .5s var(--ease); }
.nav.is-scrolled .brand__logo { height: 36px; }

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a:not(.btn) {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 4px;
  padding: 6px 0;
  font: 600 14px var(--font);
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink);
}
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .6s var(--ease);
}
.nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav__toggle {
  display: none;
  position: relative;
  z-index: 110;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  cursor: pointer;
}
.nav__toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--ink);
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.nav__toggle span:first-child { top: 19px; }
.nav__toggle span:last-child { top: 27px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  --p: 0;
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 680px;
  color: var(--white);
  background: var(--paper);
  isolation: isolate;
}
.hero__media, .hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  clip-path: inset(0 calc(var(--p) * 3vw) calc(var(--p) * 6vh) calc(var(--p) * 3vw));
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transform: translateY(calc(var(--p) * 12%)) scale(1.08);
}
.js .hero__media img { scale: 1.3; transition: scale 2.6s var(--ease); }
.js.is-ready .hero__media img { scale: 1; }
.hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 16, 12, .82) 0%, rgba(14, 16, 12, .45) 55%, rgba(14, 16, 12, .1) 100%),
    linear-gradient(0deg, rgba(14, 16, 12, .75), transparent 45%);
}

.hero__inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--nav-h) + 22px);
  padding-bottom: 36px;
  transform: translateY(calc(var(--p) * -60px));
  opacity: calc(1 - var(--p) * 1.2);
}
.hero__meta {
  display: flex;
  gap: 32px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .78);
}
.hero__meta-item--end { margin-left: auto; }

.hero__title {
  margin: auto 0 0;
  padding: 32px 0 34px;
  font-size: clamp(54px, min(9vw, 13.4vh), 156px);
  font-weight: 850;
  font-stretch: 68%;
  line-height: .86;
  letter-spacing: -.005em;
  text-transform: uppercase;
}
.line { display: block; overflow: hidden; padding: .16em 0 .06em; margin: -.16em 0 -.06em; }
.line > span { display: block; }
.hero__title .line:nth-child(2), .hero__title .line:nth-child(4) { padding-left: 1.1em; }

.hero__foot {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px 64px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .25);
}
.hero__lead { max-width: 500px; font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .82); margin-bottom: 24px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.stats { display: grid; grid-template-columns: repeat(3, auto); gap: 0; }
.stats li { padding: 0 28px; border-left: 1px solid rgba(255, 255, 255, .25); }
.stats li:last-child { padding-right: 0; }
.stats strong { display: block; font: 800 clamp(36px, 3.6vw, 52px)/1 var(--font); font-stretch: 72%; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stats span { display: block; font-size: 10.5px; letter-spacing: .08em; color: rgba(255, 255, 255, .65); }

.hero__scroll {
  position: absolute;
  right: 18px;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .7);
  writing-mode: vertical-rl;
  translate: 0 -50%;
}
.hero__scroll i { position: relative; width: 1px; height: 64px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--white); animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* entrada do hero (depois da abertura) */
.js .hero__meta-item, .js .hero__foot > *, .js .hero__scroll { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js .hero__foot { border-top-color: transparent; transition: border-color 1s .6s; }
.js .hero__title .line > span { transform: translateY(105%); transition: transform 1.3s var(--ease); }
.js .hero__title .line:nth-child(2) > span { transition-delay: .08s; }
.js .hero__title .line:nth-child(3) > span { transition-delay: .16s; }
.js .hero__title .line:nth-child(4) > span { transition-delay: .24s; }
.js.is-ready .hero__title .line > span { transform: none; }
.js.is-ready .hero__meta-item, .js.is-ready .hero__foot > *, .js.is-ready .hero__scroll { opacity: 1; transform: none; }
.js.is-ready .hero__meta-item:nth-child(2) { transition-delay: .08s; }
.js.is-ready .hero__meta-item:nth-child(3) { transition-delay: .16s; }
.js.is-ready .hero__foot > :first-child { transition-delay: .45s; }
.js.is-ready .hero__foot > :last-child { transition-delay: .6s; }
.js.is-ready .hero__scroll { transition-delay: .9s; }
.js.is-ready .hero__foot { border-top-color: rgba(255, 255, 255, .25); }

/* ---------- Sobre ---------- */
.intro__statement {
  max-width: 1180px;
  margin: 0 0 clamp(80px, 10vw, 150px);
  font-size: clamp(28px, 3.7vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.025em;
  text-indent: 2.2em;
}
.scrub .w { transition: opacity .35s linear, color .35s linear; }
.js .scrub .w { opacity: .14; }
.js .scrub .w.is-on { opacity: 1; }

.intro__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(48px, 8vw, 128px); align-items: start; }
.intro__media { margin: 0; position: sticky; top: calc(var(--nav-h) + 30px); }
.intro__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.intro__img img { width: 100%; height: 116%; object-fit: cover; object-position: center 70%; }
.intro__media figcaption { margin-top: 14px; font-size: 11px; letter-spacing: .08em; color: var(--ink-2); }
.intro__body { padding-top: 10px; }
.intro__body > p { color: var(--ink-2); font-size: 17.5px; max-width: 560px; }

.pillars { margin-top: 44px; border-bottom: 1px solid var(--line-strong); }
.pillars li {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--line-strong);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}
.pillars li span { color: var(--orange); font-size: 12px; }

/* ---------- Fábrica ---------- */
.factory { background: var(--ink); color: rgba(255, 255, 255, .72); }
.factory__grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(48px, 8vw, 120px); align-items: start; }
.factory__lead { font-size: 18px; max-width: 420px; margin-bottom: 48px; }

.stages { border-bottom: 1px solid var(--line-light); }
.stage {
  display: grid;
  grid-template-columns: 64px 1fr;
  min-height: 30vh;
  padding: 34px 0;
  border-top: 1px solid var(--line-light);
  align-content: start;
  opacity: .3;
  transition: opacity .6s var(--ease);
}
.stage.is-active { opacity: 1; }
.stage__n { font-size: 12px; color: var(--orange); padding-top: 8px; }
.stage h3 { grid-column: 2; font-size: clamp(28px, 3vw, 44px); font-weight: 800; font-stretch: 75%; text-transform: uppercase; color: var(--white); margin-bottom: 12px; }
.stage p { grid-column: 2; margin: 0; max-width: 420px; font-size: 16.5px; }

.factory__media { position: sticky; top: calc(var(--nav-h) + 4vh); }
.frame {
  position: relative;
  height: min(78vh, 760px);
  aspect-ratio: 464 / 832;
  background: #000;
}
.frame video { width: 100%; height: 100%; object-fit: cover; }
.frame__hud {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent);
}
.frame__rec { display: inline-flex; align-items: center; gap: 8px; }
.frame__rec i { width: 7px; height: 7px; border-radius: 50%; background: #FF3B30; animation: blink 1.4s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.frame__stage {
  position: absolute;
  inset: auto 0 0;
  padding: 60px 18px 14px;
  overflow: hidden;
  background: linear-gradient(0deg, rgba(0, 0, 0, .7), transparent);
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 850;
  font-stretch: 68%;
  line-height: .9;
  text-transform: uppercase;
  color: var(--white);
}
.frame__stage span { display: block; }
.frame__corner { position: absolute; width: 22px; height: 22px; border: 0 solid var(--orange); }
.frame__corner--tl { top: -12px; left: -12px; border-width: 2px 0 0 2px; }
.frame__corner--tr { top: -12px; right: -12px; border-width: 2px 2px 0 0; }
.frame__corner--bl { bottom: -12px; left: -12px; border-width: 0 0 2px 2px; }
.frame__corner--br { bottom: -12px; right: -12px; border-width: 0 2px 2px 0; }

/* ---------- Diferenciais ---------- */
.edge__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 64px; }
.edge__head .label, .edge__head .title { grid-column: 1; }
.edge__head .title { margin-bottom: 0; }
.edge__head p { grid-column: 2; grid-row: 2; margin: 0; color: var(--ink-2); font-size: 18px; max-width: 420px; }

.edge__list { border-bottom: 1px solid var(--line-strong); }
.edge__row {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr 1.15fr;
  gap: 24px;
  align-items: baseline;
  padding: 34px 0;
  border-top: 1px solid var(--line-strong);
  isolation: isolate;
  cursor: default;
}
.edge__row::before {
  content: "";
  position: absolute;
  inset: -1px calc(var(--gutter) * -1 + 8px);
  z-index: -1;
  background: var(--orange);
  clip-path: inset(100% 0 0 0);
  transition: clip-path .7s var(--ease);
}
.edge__n { font-size: 12px; color: var(--orange); transition: color .4s; }
.edge__row h3 {
  font-size: clamp(26px, 2.8vw, 42px);
  font-weight: 800;
  font-stretch: 75%;
  text-transform: uppercase;
  transition: transform .7s var(--ease), color .4s;
}
.edge__row p { margin: 0; color: var(--ink-2); font-size: 16px; max-width: 480px; transition: color .4s; }
@media (hover: hover) {
  .edge__row:hover::before { clip-path: inset(0 0 0 0); }
  .edge__row:hover h3 { transform: translateX(14px); color: var(--ink); }
  .edge__row:hover .edge__n { color: var(--ink); }
  .edge__row:hover p { color: var(--ink); }
}

/* ---------- Catálogo ---------- */
.catalog { background: var(--paper-2); }
.catalog__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 56px; }
.catalog__head > div { max-width: 640px; }
.catalog__head p { margin: 0; color: var(--ink-2); font-size: 18px; }

.filters { position: relative; display: inline-flex; border: 1px solid var(--ink); }
.filters__pill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  background: var(--ink);
  transition: transform .6s var(--ease), width .6s var(--ease);
}
.filters button {
  position: relative;
  padding: 13px 20px;
  border: 0;
  background: none;
  font: 600 13px var(--font);
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink);
  cursor: pointer;
  transition: color .45s;
}
.filters button sup { font: 400 9.5px var(--mono); color: var(--orange); }
.filters button.is-active { color: var(--paper); }

.lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 64px; }
.lines li { padding-top: 18px; border-top: 2px solid var(--ink); }
.lines h3 { font-size: 20px; font-weight: 800; font-stretch: 80%; text-transform: uppercase; margin-bottom: 10px; }
.lines p { margin: 0; font-size: 15px; color: var(--ink-2); }

.blocks { display: grid; grid-template-columns: repeat(3, 1fr); padding: 1px 0 0 1px; }
.spec {
  display: flex;
  flex-direction: column;
  margin: -1px 0 0 -1px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  transition: background .5s;
}
.spec.is-hidden { display: none; }
.spec__fig {
  position: relative;
  aspect-ratio: 4 / 3.7;
  background: radial-gradient(circle at 50% 58%, #FFFFFF, var(--paper) 72%);
  overflow: hidden;
  perspective: 900px;
}
.spec__fig img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 28px 16px 8px;
  mix-blend-mode: multiply;
  transition: transform .9s var(--ease);
}
.spec__ref { position: absolute; top: 16px; right: 18px; z-index: 1; font-size: 11px; letter-spacing: .06em; color: var(--ink-2); }
.mark { position: absolute; width: 14px; height: 14px; border: 0 solid var(--ink); transition: transform .7s var(--ease), border-color .4s; }
.mark--tl { top: 14px; left: 14px; border-width: 1.5px 0 0 1.5px; }
.mark--tr { top: 14px; right: 14px; border-width: 1.5px 1.5px 0 0; opacity: 0; }
.mark--bl { bottom: 14px; left: 14px; border-width: 0 0 1.5px 1.5px; }
.mark--br { bottom: 14px; right: 14px; border-width: 0 1.5px 1.5px 0; }
.spec__fig--soon { display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--paper) 0 12px, var(--paper-2) 12px 13px); }
.spec__soon { display: grid; justify-items: center; gap: 12px; color: var(--ink-2); font-size: 11px; letter-spacing: .08em; }
.spec__soon svg { width: 52px; height: 52px; fill: none; stroke: var(--orange); stroke-width: 1.2; }

.spec__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 0; border-top: 1px solid var(--line); }
.spec__type { font-size: 10.5px; letter-spacing: .08em; color: var(--orange); margin-bottom: 8px; }
.spec h3 { font-size: 24px; font-weight: 800; font-stretch: 78%; text-transform: uppercase; line-height: 1.02; margin-bottom: 14px; }
.spec__dim { display: flex; align-items: baseline; gap: 6px; margin: 0 0 22px; font-size: 13px; color: var(--ink-2); }
.spec__dim span { font-size: 15px; color: var(--ink); font-weight: 500; }
.spec__dim small { margin-left: 2px; font-size: 10.5px; }
.spec__cta {
  position: relative;
  margin: auto -24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  font: 600 13px var(--font);
  text-transform: uppercase;
  letter-spacing: .05em;
  isolation: isolate;
  transition: color .45s;
}
.spec__cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); clip-path: inset(0 100% 0 0); transition: clip-path .6s var(--ease); }
.spec__cta svg { transition: transform .6s var(--ease); color: var(--orange); }
@media (hover: hover) {
  .spec:hover { background: var(--white); }
  .spec:hover .mark--tl { transform: translate(-6px, -6px); border-color: var(--orange); }
  .spec:hover .mark--bl { transform: translate(-6px, 6px); border-color: var(--orange); }
  .spec:hover .mark--br { transform: translate(6px, 6px); border-color: var(--orange); }
  .spec__cta:hover { color: var(--paper); }
  .spec__cta:hover::before { clip-path: inset(0 0 0 0); }
  .spec__cta:hover svg { transform: rotate(45deg); }
}
.catalog__note { margin: 36px 0 0; font-size: 11.5px; letter-spacing: .06em; color: var(--ink-2); }
.cards__dots { display: none; }

/* ---------- Como pedir ---------- */
.steps__head { margin-bottom: 72px; }
.steps__list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps__line { position: absolute; top: 15px; left: 0; right: 0; height: 1px; background: var(--line-strong); }
.steps__line span { display: block; height: 2px; margin-top: -.5px; background: var(--orange); transform-origin: left; transform: scaleX(0); }
.step { position: relative; opacity: .38; transition: opacity .6s var(--ease); }
.step.is-active { opacity: 1; }
.step__dot {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 31px;
  margin-bottom: 28px;
  font-size: 12px;
  background: var(--paper);
  border: 1px solid var(--ink);
  transition: background .5s, color .5s, border-color .5s;
}
.step.is-active .step__dot { background: var(--orange); border-color: var(--orange); color: var(--white); }
.step h3 { font-size: 24px; font-weight: 800; font-stretch: 78%; text-transform: uppercase; margin-bottom: 12px; }
.step p { margin: 0; max-width: 260px; color: var(--ink-2); font-size: 15.5px; }

/* ---------- Contato ---------- */
.contact { background: var(--green-deep); color: rgba(255, 255, 255, .72); overflow: hidden; }
.contact__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 56px; }
.contact__head .title { margin-bottom: 0; }
.contact__head p { margin: 0; font-size: 17.5px; max-width: 420px; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 4vw, 56px); align-items: stretch; }
.contact__info { display: flex; flex-direction: column; gap: 28px; }

.contact__wpp {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 24px 24px;
  background: var(--orange);
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}
.contact__wpp::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .6s var(--ease);
}
.contact__wpp-icon { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .45); }
.contact__wpp small { display: block; font-size: 10.5px; letter-spacing: .08em; color: rgba(255, 255, 255, .8); margin-bottom: 4px; }
.contact__wpp strong { display: block; font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; font-stretch: 75%; line-height: 1; }
.contact__wpp-go { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .08em; }
.contact__wpp-go svg { transition: transform .6s var(--ease); }
@media (hover: hover) {
  .contact__wpp:hover::before { transform: scaleY(1); }
  .contact__wpp:hover .contact__wpp-go svg { transform: rotate(45deg); }
}

.channels { border-bottom: 1px solid var(--line-light); }
.channel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line-light);
}
.channel small { grid-column: 1; font-size: 10.5px; letter-spacing: .08em; color: rgba(255, 255, 255, .5); }
.channel strong {
  grid-column: 1;
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 700;
  font-stretch: 80%;
  line-height: 1.15;
  color: var(--white);
  overflow-wrap: anywhere;
  transition: color .4s, transform .6s var(--ease);
}
.channel em { grid-column: 1; font-style: normal; font-size: 11px; letter-spacing: .06em; color: rgba(255, 255, 255, .5); }
.channel__arrow { grid-column: 2; grid-row: 1 / span 3; color: var(--orange); transition: transform .6s var(--ease); }
@media (hover: hover) {
  .channel:hover strong { color: var(--orange); transform: translateX(8px); }
  .channel:hover .channel__arrow { transform: rotate(45deg); }
}

.contact__map { position: relative; min-height: 460px; background: #12301F; overflow: hidden; }
.map__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .5);
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map__pin { width: 18px; height: 18px; border-radius: 50% 50% 50% 0; background: var(--orange); transform: rotate(-45deg); animation: pin 1.4s var(--ease) infinite alternate; }
@keyframes pin { to { translate: 0 -8px; } }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; opacity: 0; transition: opacity .8s; }
.contact__map iframe.is-loaded { opacity: 1; }
.map__card {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  padding: 16px 18px;
  background: var(--ink);
  color: var(--white);
}
.map__card small { display: block; font-size: 10px; letter-spacing: .08em; color: var(--orange); margin-bottom: 2px; }
.map__card strong { font-size: 18px; font-weight: 700; font-stretch: 85%; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .6); padding: 72px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer__brand img { width: 190px; height: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 300px; font-size: 15px; margin: 0; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 15px; }
.footer__col h4 { font-size: 10.5px; letter-spacing: .1em; color: var(--orange); margin-bottom: 8px; }
.footer__col a { transition: color .3s; }
.footer__col a:hover { color: var(--white); }

.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-top: 20px; padding-bottom: 24px; background: linear-gradient(var(--line-light), var(--line-light)) var(--gutter) 0 / calc(100% - var(--gutter) * 2) 1px no-repeat; font-size: 10.5px; letter-spacing: .08em; }
.footer__bottom p { margin: 0; }
.footer__top { color: var(--white); transition: color .3s; }
.footer__top:hover { color: var(--orange); }

/* ---------- WhatsApp flutuante ---------- */
.wpp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  color: var(--white);
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .6);
  transform: scale(0);
  transition: transform .6s var(--ease);
}
.wpp.is-visible { transform: scale(1); }
.wpp::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: #25D366;
  animation: ping 2.6s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(.7); opacity: .5; } 100% { transform: scale(1.8); opacity: 0; } }

/* ==========================================================
   Animações de rolagem
   ========================================================== */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); transition-delay: var(--d, 0ms); }
.js .is-in.reveal { opacity: 1; transform: none; }

.js .reveal-img { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-io); }
.js .reveal-img img { scale: 1.3; transition: scale 2s var(--ease); }
.js .is-in.reveal-img { clip-path: inset(0 0 0 0); }
.js .is-in.reveal-img img { scale: 1; }

.js .reveal-frame { clip-path: inset(50% 0 50% 0); transition: clip-path 1.4s var(--ease-io); }
.js .is-in.reveal-frame { clip-path: inset(-20px -20px -20px -20px); }

.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em 0 .14em; margin: -.16em 0 -.14em; }
.split .w > span { display: inline-block; }
.js .split .w > span { transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.js .split.is-in .w > span { transform: none; }

/* ==========================================================
   Responsivo
   ========================================================== */
@media (max-width: 1180px) {
  .nav__links { gap: 22px; }
  .nav__links a:not(.btn) { font-size: 13px; }
}

@media (max-width: 1024px) {
  .blocks { grid-template-columns: repeat(2, 1fr); }
  .edge__row { grid-template-columns: 60px 1fr; }
  .edge__row p { grid-column: 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --nav-h: 68px; --gutter: 24px; }
  body { font-size: 16px; }

  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    padding: var(--nav-h) var(--gutter) 40px;
    background: var(--paper);
    clip-path: inset(0 0 100% 0);
    transition: clip-path .8s var(--ease-io), visibility 0s .8s;
    visibility: hidden;
  }
  .nav__links a:not(.btn), .nav.is-scrolled .nav__links a:not(.btn) {
    font-size: clamp(40px, 11vw, 64px);
    font-weight: 850;
    font-stretch: 68%;
    line-height: 1;
    letter-spacing: 0;
    transform: translateY(40px);
    opacity: 0;
    transition: transform .8s var(--ease), opacity .6s;
  }
  .nav__links a:not(.btn)::after { height: 3px; }
  .nav__cta { margin-top: 26px; --pad: 18px 30px; font-size: 14px; opacity: 0; transition: opacity .6s; }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav__links { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease-io), visibility 0s; }
  body.menu-open .nav__links a:not(.btn) { transform: none; opacity: 1; }
  body.menu-open .nav__links a:nth-child(1) { transition-delay: .25s; }
  body.menu-open .nav__links a:nth-child(2) { transition-delay: .3s; }
  body.menu-open .nav__links a:nth-child(3) { transition-delay: .35s; }
  body.menu-open .nav__links a:nth-child(4) { transition-delay: .4s; }
  body.menu-open .nav__links a:nth-child(5) { transition-delay: .45s; }
  body.menu-open .nav__cta { opacity: 1; transition-delay: .5s; }

  .hero__foot { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
  .hero__meta-item--end { display: none; }

  .intro__statement { text-indent: 0; }
  .intro__grid { grid-template-columns: 1fr; }
  .intro__media { position: relative; top: 0; max-width: 520px; }

  /* celular: título → vídeo → etapas */
  .factory__grid { grid-template-columns: 1fr; gap: 0; }
  .factory__text { display: contents; }
  .factory__text .label { order: 1; }
  .factory__text .title { order: 2; }
  .factory__lead { order: 3; margin-bottom: 36px; }
  .factory__media { order: 4; position: relative; top: 0; justify-self: center; width: min(100%, 420px); margin-bottom: 24px; }
  .stages { order: 5; }
  .frame { height: auto; width: 100%; }
  .stage { min-height: 0; opacity: 1; }

  .edge__head { grid-template-columns: 1fr; }
  .edge__head p { grid-column: 1; grid-row: auto; }

  .lines { grid-template-columns: 1fr; gap: 22px; }


  .steps__list { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps__line { display: none; }

  .contact__head, .contact__grid { grid-template-columns: 1fr; }
  .contact__map { min-height: 380px; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }
  .section { padding: 84px 0; }
  .title { font-size: clamp(38px, 11vw, 52px); }
  .label { margin-bottom: 22px; font-size: 11px; }

  .brand__logo, .nav.is-scrolled .brand__logo { height: 36px; }

  .hero { height: auto; min-height: 100vh; min-height: 100svh; }
  .hero__inner { height: auto; min-height: 100vh; min-height: 100svh; }
  .hero__shade { background: linear-gradient(180deg, rgba(14, 16, 12, .5), rgba(14, 16, 12, .35) 35%, rgba(14, 16, 12, .88) 80%); }
  .hero__meta { gap: 18px; font-size: 10px; }
  .hero__title { font-size: clamp(44px, min(13.6vw, 9vh), 80px); padding: 20px 0 22px; }
  .hero__title .line:nth-child(2), .hero__title .line:nth-child(4) { padding-left: .6em; }
  .hero__inner { padding-bottom: 22px; }
  .hero__foot { gap: 22px; padding-top: 20px; }
  .hero__lead { font-size: 15.5px; margin-bottom: 18px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .stats li { padding: 0 14px; }
  .stats li:first-child { padding-left: 0; border-left: 0; }
  .stats strong { font-size: 34px; }
  .stats span { font-size: 9.5px; }

  .intro__statement { font-size: clamp(25px, 7vw, 32px); margin-bottom: 64px; }
  .pillars li { font-size: 16px; padding: 15px 0; grid-template-columns: 34px 1fr; }

  .stage { grid-template-columns: 44px 1fr; padding: 26px 0; }
  .frame__stage { font-size: 44px; }

  .edge__head { margin-bottom: 40px; }
  .edge__row { grid-template-columns: 40px 1fr; gap: 10px 12px; padding: 26px 0; }
  .edge__row h3 { font-size: 26px; }

  /* Catálogo vira carrossel */
  .catalog__head { margin-bottom: 36px; }
  .filters { width: 100%; }
  .filters button { flex: 1; padding: 12px 6px; font-size: 12px; }
  .lines { margin-bottom: 44px; }
  .blocks {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--gutter);
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 18px;
    scrollbar-width: none;
  }
  .blocks::-webkit-scrollbar { display: none; }
  .spec { flex: 0 0 82%; margin: 0; scroll-snap-align: start; }
  .js .blocks .spec.reveal { opacity: 1; transform: none; }
  .cards__dots { display: flex; justify-content: center; gap: 6px; margin-top: 6px; }
  .cards__dots span { width: 18px; height: 3px; background: var(--line-strong); transition: width .5s var(--ease), background .4s; }
  .cards__dots span.is-active { width: 36px; background: var(--orange); }


  .steps__head { margin-bottom: 48px; }
  .steps__list { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; padding-bottom: 30px; }
  .step::before { content: ""; position: absolute; left: 32px; top: 31px; bottom: 0; width: 1px; background: var(--line-strong); }
  .step:last-child::before { display: none; }
  .step__dot { grid-row: span 2; margin: 0; }
  .step h3 { margin-top: 4px; font-size: 22px; }
  .step p { max-width: none; }

  .contact__head { margin-bottom: 40px; }
  .contact__wpp { grid-template-columns: auto 1fr; padding: 20px 18px; gap: 14px; }
  .contact__wpp-icon { width: 44px; height: 44px; }
  .contact__wpp-go { display: none; }
  .channel strong { font-size: 20px; }
  .contact__map { min-height: 420px; }

  .footer { padding-top: 56px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { padding-bottom: 96px; }
  .wpp { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  html { scroll-behavior: auto; }
}
