/* ==========================================================
   Meireles Mobiliário | Landing page
   ========================================================== */

:root {
  /* Paleta institucional */
  --green: #244638;
  --green-800: #1d3a2e;
  --green-900: #172e25;
  --green-950: #10211a;
  --gold: #B99A62;
  --gold-300: #d4bb8a;
  --gold-700: #9a7d48;
  --walnut: #79563D;
  --walnut-700: #5f4330;
  --linen: #E9DFCE;
  --linen-100: #f4eee4;
  --linen-50: #faf7f1;
  --ink: #1c2621;
  --muted: #5d625c;
  --white: #ffffff;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 136px);
  --radius: 4px;
  --radius-lg: 10px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 84px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--linen-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}
body.menu-open { overflow: hidden; }

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
strong { font-weight: 700; }

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

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--green-950);
  padding: 10px 16px; border-radius: var(--radius); font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Tipografia ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--walnut);
  margin-bottom: 18px;
}
.eyebrow--light { color: var(--gold); }

.title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.06;
  letter-spacing: -.01em;
  color: var(--green);
  text-wrap: balance;
}
.title em { font-style: italic; color: var(--walnut); }
.title--light { color: var(--linen-50); }
.title--light em { color: var(--gold); }

/* ---------- Botões ---------- */
.btn {
  --btn-pad: 16px 28px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--btn-pad);
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .35s var(--ease); }
.btn:hover svg:last-child { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }

.btn--gold { background: var(--gold); color: var(--green-950); }
.btn--gold:hover { background: var(--gold-300); box-shadow: 0 10px 30px -10px rgba(185, 154, 98, .7); }

.btn--ghost { color: var(--linen-50); border-color: rgba(250, 247, 241, .45); }
.btn--ghost:hover { background: var(--linen-50); color: var(--green-950); border-color: var(--linen-50); }

.btn--outline-dark { color: var(--green); border-color: var(--green); }
.btn--outline-dark:hover { background: var(--green); color: var(--linen-50); }

.btn--sm { --btn-pad: 12px 20px; font-size: 12px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--walnut);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Marca ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--linen-50); }
.brand__mark { width: 50px; height: 35px; fill: url(#g-gold); flex-shrink: 0; }
.brand__words { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 27px; letter-spacing: .14em; text-transform: uppercase;
  color: #DFC08C;
  background: linear-gradient(90deg, #E4C793, #B08B62); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand__sub {
  font-size: 9.5px; font-weight: 600; letter-spacing: .5em; text-transform: uppercase;
  color: var(--gold); margin-top: 5px;
}
.brand__sign {
  font-size: 12px; line-height: 1.35; color: rgba(250, 247, 241, .75);
  padding-left: 16px; margin-left: 6px;
  border-left: 1px solid rgba(185, 154, 98, .5);
}

/* ---------- Cabeçalho ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: transform .5s var(--ease);
}
.topbar {
  font-size: 12.5px; color: rgba(250, 247, 241, .78);
  border-bottom: 1px solid rgba(250, 247, 241, .12);
  transition: margin-top .45s var(--ease), opacity .3s;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 40px; }
.topbar__note { letter-spacing: .04em; }
.topbar__contacts { display: flex; align-items: center; gap: 24px; }
.topbar__contacts a { display: inline-flex; align-items: center; gap: 8px; transition: color .25s; }
.topbar__contacts a:hover { color: var(--gold); }
.topbar__contacts svg { width: 15px; height: 15px; }

.navbar { transition: background-color .45s var(--ease), box-shadow .45s var(--ease); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; height: var(--header-h); }

.nav__list { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.nav__link {
  position: relative; display: inline-block; padding: 8px 0;
  font-size: 13px; font-weight: 600; letter-spacing: .06em;
  color: rgba(250, 247, 241, .85);
  white-space: nowrap;
  transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--gold); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta-mobile { display: none; }

.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--linen-50); }
.menu-toggle svg { width: 26px; height: 26px; }
.menu-toggle__close { display: none; }

.header.is-scrolled .topbar { margin-top: -41px; opacity: 0; }
.header.is-scrolled .navbar {
  background: rgba(16, 33, 26, .94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px -20px rgba(0, 0, 0, .6);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  color: var(--linen-50);
  background: var(--green-950);
  overflow: hidden;
}
.hero__slides { position: absolute; inset: -30px; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.motion .hero__slide.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }

.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(16, 33, 26, .35) 0%, rgba(16, 33, 26, .78) 70%),
    linear-gradient(180deg, rgba(16, 33, 26, .75) 0%, rgba(16, 33, 26, .25) 35%, rgba(16, 33, 26, .9) 100%);
}

.hero__content {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-top: calc(var(--header-h) + 40px + 2vh); padding-bottom: 150px;
}
.hero__mark { width: 66px; height: 46px; margin-bottom: clamp(14px, 2.4vh, 24px); overflow: visible; }
.hero__mark path { fill: url(#g-gold); stroke: #DFC08C; stroke-width: 0; stroke-dasharray: 1; stroke-dashoffset: 0; }
.hero__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(40px, min(6.2vw, 9vh), 92px);
  line-height: 1;
  letter-spacing: -.015em;
  max-width: 17ch;
  text-wrap: balance;
}
.hero__title em { display: inline; font-style: italic; color: var(--gold); }
.motion .hero__title em .split-word {
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold) 40%, #f3e2bd 50%, var(--gold) 60%, var(--gold) 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0 0; } }
.hero__text {
  max-width: 620px; margin-top: clamp(16px, 2.6vh, 26px);
  font-size: clamp(16px, 1.4vw, 18px); color: rgba(250, 247, 241, .86);
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: clamp(22px, 3.6vh, 38px); }

.hero__nav {
  position: absolute; right: var(--gutter); bottom: 86px;
  display: flex; align-items: center; gap: 18px;
}
.hero__count { display: inline-flex; align-items: baseline; gap: 6px; font-size: 12px; letter-spacing: .14em; color: rgba(250, 247, 241, .6); }
.hero__count b { font-family: var(--font-display); font-size: 26px; font-weight: 500; letter-spacing: 0; color: var(--gold); min-width: 1.4em; display: inline-block; overflow: hidden; }
.hero__dots { display: flex; gap: 10px; }
.hero__dot {
  width: 34px; height: 24px; position: relative;
}
.hero__dot::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px;
  background: rgba(250, 247, 241, .3);
}
.hero__dot::after {
  content: ""; position: absolute; left: 0; top: 50%; height: 2px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
}
.hero__dot.is-active::after { animation: dotfill 7s linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }

.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 86px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(250, 247, 241, .7);
  writing-mode: vertical-rl;
}
.hero__scroll i { width: 1px; height: 56px; background: rgba(250, 247, 241, .25); position: relative; overflow: hidden; }
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: var(--gold); animation: scrollline 2.2s var(--ease) infinite;
}
@keyframes scrollline { to { top: 100%; } }

/* faixa de categorias */
.hero__ticker {
  position: absolute; left: 0; right: 0; bottom: 0; height: 58px;
  display: flex; align-items: center; overflow: hidden;
  border-top: 1px solid rgba(185, 154, 98, .22);
  background: rgba(16, 33, 26, .45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero__ticker-track { display: flex; flex-shrink: 0; width: max-content; animation: ticker 48s linear infinite; }
.hero__ticker-track span {
  display: inline-flex; align-items: center; gap: 36px; padding-right: 36px;
  font-family: var(--font-display); font-style: italic; font-size: 21px; color: rgba(250, 247, 241, .78); white-space: nowrap;
}
.hero__ticker-track span::after { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); }
.hero__ticker:hover .hero__ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* troca de slide com cortina */
.hero__slide.is-entering { opacity: 1; z-index: 2; transition: none; }
.hero__slide.is-active { z-index: 1; }

/* palavras do título */
.split-line { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .26em; margin: 0 -.06em -.26em; }
.split-line.is-open { overflow: visible; }
.split-word { display: inline-block; will-change: transform; }

/* ---------- Seções ---------- */
.section { position: relative; padding-block: var(--section-y); }

.section-head {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 32px 64px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head__text { color: rgba(250, 247, 241, .72); max-width: 520px; justify-self: end; }
.section-head--dark .section-head__text { color: var(--muted); }

/* textura arquitetônica discreta */
.blueprint {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(185, 154, 98, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 154, 98, .06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 75%);
}

/* ---------- Sobre ---------- */
.about { background: var(--linen-50); }
.about__intro {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  max-width: 780px; margin: 0 auto clamp(64px, 8vw, 110px);
}
.about__badge {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 190px; aspect-ratio: 1; margin-bottom: 40px; text-align: center;
}
.about__corner { position: absolute; width: 42%; height: 42%; border: 2px solid var(--gold); }
.about__corner--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.about__corner--br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.about__badge-mark { width: 84px; height: 59px; fill: var(--green); }
.about__badge-text {
  margin-top: 14px; font-family: var(--font-display); font-style: italic; font-size: 17px; line-height: 1.25; color: var(--walnut);
}
.about__intro .title { margin-bottom: 26px; }
.about__lead { color: var(--muted); font-size: clamp(16.5px, 1.4vw, 19px); line-height: 1.75; max-width: 640px; }
.about__lead strong { color: var(--green); }

.about__body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.about__media { position: relative; padding-bottom: 80px; padding-right: 60px; }
.about__img { overflow: hidden; border-radius: var(--radius-lg); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--main { aspect-ratio: 9 / 11; }
.about__img--small {
  position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1;
  border: 10px solid var(--linen-50);
  box-shadow: 0 30px 60px -30px rgba(23, 46, 37, .5);
}

.about__text { display: flex; flex-direction: column; }
.about__block { padding: 30px 0; border-bottom: 1px solid rgba(121, 86, 61, .18); }
.about__block:first-child { padding-top: 0; }
.about__num {
  display: block; margin-bottom: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .24em; color: var(--gold-700);
}
.about__block h3 { font-family: var(--font-display); font-size: 28px; font-weight: 600; line-height: 1.15; color: var(--green); margin-bottom: 12px; }
.about__block p { color: var(--muted); line-height: 1.75; }
.about__text .link-arrow { align-self: flex-start; margin-top: 34px; }

.partner {
  margin-top: clamp(72px, 9vw, 120px);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px clamp(28px, 5vw, 72px);
  padding: clamp(32px, 4vw, 52px) clamp(24px, 4vw, 56px);
  background: var(--linen); border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
}
.partner::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(100deg, transparent 0 22px, rgba(121, 86, 61, .045) 22px 23px, transparent 23px 48px);
  pointer-events: none;
}
.partner > * { position: relative; }
.partner__label .eyebrow { margin-bottom: 10px; }
.partner__text { font-family: var(--font-display); font-size: clamp(21px, 2vw, 27px); line-height: 1.3; color: var(--green); max-width: 560px; }
.partner__logo { display: block; width: 170px; height: auto; }
.partner__logo--sm { width: 112px; }

/* ---------- Produtos (carrossel) ---------- */
.products { background: var(--green-900); color: var(--linen-50); overflow: hidden; }
.carousel { position: relative; }
.carousel__track {
  --edge: max(var(--gutter), calc((100% - var(--container)) / 2));
  display: flex; gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px var(--edge) 6px; scroll-padding-inline: var(--edge);
  scrollbar-width: none; cursor: grab;
  -webkit-user-select: none; user-select: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline-offset: -4px; }
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.carousel__track.is-dragging a { pointer-events: none; }

.product {
  position: relative; isolation: isolate; overflow: hidden;
  flex: 0 0 clamp(268px, 25vw, 340px); min-height: 500px;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  background: var(--green-800);
}
.product__media {
  position: relative; overflow: hidden; height: clamp(250px, 21vw, 290px);
  background: var(--linen);
}
.product__media::after {
  content: ""; position: absolute; inset: auto 0 0; height: 1px; background: rgba(121, 86, 61, .18);
}
.product__media img {
  width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply;
  transition: transform 1.2s var(--ease);
}
.product__media--photo img { object-fit: cover; mix-blend-mode: normal; }
.product:hover .product__media img { transform: scale(1.06); }
.product__media + .product__body { padding-top: 24px; }
.product__body { display: flex; flex-direction: column; flex: 1; padding: 26px 24px 24px; }
.product__index {
  position: absolute; top: 18px; right: 20px; z-index: 1;
  font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--walnut);
}
.product:has(.product__media--photo) .product__index { color: var(--linen-50); }
.product__title {
  font-family: var(--font-display); font-weight: 600; font-size: 30px; line-height: 1.05; color: var(--linen-50);
  padding-right: 36px;
}
.product__desc {
  margin-top: 10px; margin-bottom: auto; font-size: 14.5px; line-height: 1.55; color: rgba(250, 247, 241, .86);
}
.product__cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 16px;
  border-top: 1px solid rgba(185, 154, 98, .4);
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  cursor: pointer;
}
.product__cta svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.product__cta:hover { color: var(--gold-300); }
.product__cta:hover svg { transform: translateX(5px); }

.product--cta { background: var(--gold); }
.product--cta::before { display: none; }
.product--cta .product__body { justify-content: center; align-items: flex-start; }
.product--cta .product__title { color: var(--green-950); padding-right: 0; }
.product--cta .product__desc { margin-top: 14px; margin-bottom: 26px; color: var(--green-900); }
.product__mark { width: 54px; height: 38px; fill: var(--green-900); margin-bottom: 22px; }
.product--cta .btn { background: var(--green-950); color: var(--linen-50); }
.product--cta .btn:hover { background: var(--green); box-shadow: none; }

.carousel__ui { display: flex; align-items: center; gap: 32px; margin-top: 40px; }
.carousel__bar { position: relative; flex: 1; height: 1px; background: rgba(250, 247, 241, .18); }
.carousel__progress {
  position: absolute; left: 0; top: -1px; height: 3px; width: 25%;
  background: var(--gold); border-radius: 2px;
  transition: left .35s var(--ease), width .35s var(--ease);
}
.carousel__nav { display: flex; gap: 12px; }
.carousel__btn {
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(185, 154, 98, .55); color: var(--linen-50);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s, opacity .3s;
}
.carousel__btn svg { width: 22px; height: 22px; }
.carousel__btn--prev svg { transform: rotate(180deg); }
.carousel__btn:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); color: var(--green-950); }
.carousel__btn:disabled { opacity: .3; cursor: default; }

/* ---------- Segmentos (painéis expansíveis) ---------- */
.segments { background: var(--linen-100); }
.panels { display: flex; gap: 10px; height: clamp(480px, 64vh, 620px); }
.panel {
  position: relative; isolation: isolate; overflow: hidden;
  flex: 1 1 0; min-width: 0;
  border-radius: var(--radius-lg);
  color: var(--linen-50); cursor: pointer;
  transition: flex-grow .9s var(--ease), height .8s var(--ease);
}
.panel.is-active { flex-grow: 5.4; cursor: default; }
.panel img {
  position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.15); filter: saturate(.7) brightness(.85);
  transition: transform 1.6s var(--ease), filter .9s var(--ease);
}
.panel.is-active img { transform: scale(1); filter: none; }
.panel::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: rgba(23, 46, 37, .62);
  transition: opacity .8s var(--ease);
}
.panel:hover::before { opacity: .75; }
.panel.is-active::before { opacity: 0; }
.panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(16, 33, 26, 0) 40%, rgba(16, 33, 26, .92) 100%);
}
.panel__tab {
  position: absolute; left: 50%; bottom: 30px;
  display: flex; align-items: center; gap: 14px;
  writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg);
  font-family: var(--font-display); font-weight: 600; font-size: 22px; white-space: nowrap;
  transition: opacity .4s var(--ease);
}
.panel__tab b { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--gold); }
.panel.is-active .panel__tab { opacity: 0; }
.panel__content {
  position: absolute; left: 0; bottom: 0;
  width: min(520px, 100%); padding: clamp(24px, 3vw, 40px);
  opacity: 0; transform: translateY(26px); pointer-events: none;
  transition: opacity .4s var(--ease), transform .6s var(--ease);
}
.panel.is-active .panel__content { opacity: 1; transform: none; pointer-events: auto; transition-delay: .4s; }
.panel__num { display: block; font-size: 12px; font-weight: 700; letter-spacing: .24em; color: var(--gold); margin-bottom: 10px; }
.panel__content h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.08; margin-bottom: 12px; }
.panel__content p { color: rgba(250, 247, 241, .86); margin-bottom: 20px; max-width: 420px; }
.panel__cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  padding-bottom: 6px; border-bottom: 1px solid rgba(185, 154, 98, .5);
}
.panel__cta svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.panel__cta:hover svg { transform: translateX(5px); }
.panel__timer {
  position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left; z-index: 1;
}
.panel.is-active .panel__timer.is-running { animation: paneltimer var(--panel-delay, 6s) linear forwards; }
@keyframes paneltimer { to { transform: scaleX(1); } }

/* ---------- Consultoria (cores mudam com o scroll) ---------- */
.consulting {
  --bg: #244638; --fg: #faf7f1; --accent: #B99A62;
  background: var(--bg); color: var(--fg); overflow: hidden;
}
.consulting__top { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.consulting__eyebrow { color: var(--accent); }
.consulting__title { color: var(--fg); margin-bottom: 28px; }
.consulting__title em { color: var(--accent); }
.consulting__intro p:not(.eyebrow) { color: var(--fg); opacity: .84; margin-bottom: 18px; max-width: 600px; }
.consulting__intro .btn { margin-top: 14px; }
.consulting__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; position: relative; }
.consulting__img img { width: 100%; height: 115%; object-fit: cover; }

.steps {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(64px, 8vw, 110px);
  border-top: 1px solid rgba(185, 154, 98, .3);
}
.steps__line { position: absolute; left: 0; right: 0; top: -1px; height: 2px; }
.steps__line span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.no-anim .steps__line span { transform: none; }
.step { padding: 40px 28px 0; text-align: center; position: relative; }
.step + .step { border-left: 1px solid rgba(185, 154, 98, .18); }
.step__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 84px; height: 84px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent);
  margin-bottom: 22px; position: relative;
  transition: background-color .6s var(--ease), color .6s var(--ease), border-color .6s, transform .6s var(--ease);
}
.step__icon::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px dashed rgba(185, 154, 98, .3); }
.step__icon svg { width: 38px; height: 38px; }
.step.is-on .step__icon, .no-anim .step .step__icon { background: var(--gold); border-color: var(--gold); color: var(--green-950); transform: translateY(-4px); }
.step__num { display: block; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.15; margin-bottom: 10px; color: var(--fg); }
.step p { font-size: 14.5px; color: var(--fg); opacity: .74; }

/* ---------- Faixa CTA ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: var(--linen-50); text-align: center; padding-block: clamp(96px, 13vw, 170px); }
.cta-band__bg { position: absolute; inset: -15% 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(16, 33, 26, .78); }
.cta-band__inner { display: flex; flex-direction: column; align-items: center; }
.cta-band__title {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 4.8vw, 64px); line-height: 1.06;
  max-width: 22ch; text-wrap: balance;
}
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; }

/* ---------- Contato ---------- */
.contact { background: var(--linen-50); }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact__lead { color: var(--muted); font-size: 17px; margin-top: 22px; max-width: 460px; }
.contact__list { margin-top: 40px; display: grid; gap: 6px; }
.contact__list a, .contact__list div {
  display: flex; align-items: center; gap: 18px; padding: 12px 0;
  border-bottom: 1px solid rgba(121, 86, 61, .16);
}
.contact__list a:hover .contact__icon { background: var(--green); color: var(--gold); border-color: var(--green); }
.contact__icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(121, 86, 61, .35); color: var(--walnut);
  transition: all .35s var(--ease);
}
.contact__icon svg { width: 21px; height: 21px; }
.contact__list small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--walnut); }
.contact__list strong { display: block; font-weight: 600; color: var(--green); word-break: break-word; }

.contact__form-wrap {
  background: var(--green-900); color: var(--linen-50);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 52px);
  position: relative; overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(16, 33, 26, .55);
}
.contact__form-wrap::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold);
}
.form__title { font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 1.1; }
.form__hint { color: rgba(250, 247, 241, .65); font-size: 14.5px; margin: 6px 0 28px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(250, 247, 241, .78); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--linen-50);
  background: rgba(250, 247, 241, .05);
  border: 1px solid rgba(250, 247, 241, .18);
  border-radius: var(--radius);
  padding: 13px 14px;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23B99A62' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.field select option { color: var(--ink); background: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: rgba(250, 247, 241, .38); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: rgba(250, 247, 241, .08);
  box-shadow: 0 0 0 3px rgba(185, 154, 98, .2);
}
.field.is-invalid input, .field.is-invalid select { border-color: #e48b7a; }
.field__error { font-size: 12.5px; color: #f0a597; }

.form .btn[disabled] { opacity: .7; pointer-events: none; }
.form__status { margin-top: 12px; font-size: 14px; color: #f0a597; min-height: 1em; }

.form-success { text-align: center; padding: 40px 10px; }
.form-success[hidden] { display: none; }
.form-success__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 76px; height: 76px; border-radius: 50%; background: var(--gold); color: var(--green-950); margin-bottom: 24px;
}
.form-success__icon svg { width: 36px; height: 36px; }
.form-success h3 { font-family: var(--font-display); font-size: 36px; font-weight: 600; margin-bottom: 12px; }
.form-success p { color: rgba(250, 247, 241, .78); max-width: 380px; margin: 0 auto 28px; }
.form-success .link-arrow { color: var(--gold); }

/* ---------- Rodapé ---------- */
.footer { background: var(--green-950); color: rgba(250, 247, 241, .72); font-size: 14.5px; }
.footer__grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 48px clamp(32px, 6vw, 96px);
  padding-block: clamp(64px, 8vw, 96px) clamp(48px, 6vw, 72px);
}
.footer__about { margin-top: 24px; max-width: 340px; line-height: 1.75; }
.footer__partner {
  display: flex; align-items: center; gap: 16px; width: fit-content;
  margin-top: 28px; padding-top: 24px;
  border-top: 1px solid rgba(185, 154, 98, .2);
  font-size: 12.5px;
}
.footer__heading {
  font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
}
.footer__links { display: grid; gap: 14px; }
.footer__links a { display: inline-flex; align-items: center; gap: 12px; transition: color .25s; }
.footer__links a:hover { color: var(--gold); }
.footer__contacts a { overflow-wrap: anywhere; }
.footer__contacts svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.footer__cta { margin-top: 28px; }
.footer__bottom { border-top: 1px solid rgba(185, 154, 98, .16); }
.footer__bottom-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-block: 24px; font-size: 13px; color: rgba(250, 247, 241, .5);
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff;
  box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .45);
  transition: transform .4s var(--ease);
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1;
}
.motion .wa-float::before { animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float__tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(8px, -50%);
  background: var(--green-950); color: var(--linen-50); font-size: 13px; font-weight: 600;
  padding: 8px 14px; border-radius: var(--radius); white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.wa-float:hover .wa-float__tip { opacity: 1; transform: translate(0, -50%); }

/* ---------- Estados iniciais das animações ---------- */
.js.motion [data-hero],
.js.motion .hero__title,
.js.motion .hero__nav,
.js.motion .hero__ticker,
.js.motion .hero__scroll { visibility: hidden; }
.js.no-anim [data-hero],
.js.no-anim .hero__title,
.js.no-anim .hero__nav,
.js.no-anim .hero__ticker,
.js.no-anim .hero__scroll { visibility: visible; }

/* ==========================================================
   Responsivo
   ========================================================== */
@media (max-width: 1480px) {
  .brand__sign { display: none; }
}
@media (max-width: 1200px) {
  .nav__list { gap: 16px; }
  .nav__link { font-size: 12px; letter-spacing: .03em; }
  .navbar__cta { --btn-pad: 11px 16px; }
}

.nav-backdrop { display: none; }

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .topbar { display: none; }
  .header.is-scrolled .topbar { margin-top: 0; }
  /* backdrop-filter cria um novo contexto para position: fixed e prenderia o menu */
  .header.is-scrolled .navbar { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--green-950); }

  /* Menu mobile: painel compacto no canto */
  .menu-toggle {
    display: inline-flex; position: relative; z-index: 2;
    border: 1px solid rgba(185, 154, 98, .4); border-radius: 50%;
    transition: background-color .3s, border-color .3s;
  }
  .menu-toggle svg { width: 22px; height: 22px; }
  .menu-open .menu-toggle { background: var(--gold); border-color: var(--gold); color: var(--green-950); }
  .navbar__cta { display: none; }

  .nav {
    position: fixed; z-index: 101;
    top: calc(var(--header-h) - 2px); right: var(--gutter);
    width: min(300px, calc(100vw - var(--gutter) * 2));
    display: flex; flex-direction: column; gap: 20px;
    padding: 14px 24px 24px;
    background: rgba(16, 33, 26, .98);
    border: 1px solid rgba(185, 154, 98, .28);
    border-radius: 14px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
    transform-origin: top right;
    opacity: 0; transform: translateY(-10px) scale(.96); visibility: hidden;
    transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s linear .45s;
  }
  .nav::before {
    content: ""; position: absolute; top: -6px; right: 18px; width: 10px; height: 10px;
    background: inherit; border-left: 1px solid rgba(185, 154, 98, .28); border-top: 1px solid rgba(185, 154, 98, .28);
    transform: rotate(45deg);
  }
  .menu-open .nav { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li + li { border-top: 1px solid rgba(185, 154, 98, .14); }
  .nav__link {
    display: flex; justify-content: space-between; align-items: center;
    padding: 13px 0; font-family: var(--font-display); font-size: 21px; font-weight: 500; letter-spacing: 0;
    opacity: 0; transform: translateX(10px); transition: opacity .4s, transform .5s var(--ease), color .3s;
  }
  .nav__link::after {
    position: static; display: block; width: 6px; height: 6px; transform: rotate(45deg) scale(0);
    background: var(--gold); transition: transform .3s var(--ease);
  }
  .nav__link.is-active::after, .nav__link:hover::after { transform: rotate(45deg) scale(1); }
  .menu-open .nav__link { opacity: 1; transform: none; }
  .menu-open .nav__list li:nth-child(1) .nav__link { transition-delay: .06s, .06s, 0s; }
  .menu-open .nav__list li:nth-child(2) .nav__link { transition-delay: .1s, .1s, 0s; }
  .menu-open .nav__list li:nth-child(3) .nav__link { transition-delay: .14s, .14s, 0s; }
  .menu-open .nav__list li:nth-child(4) .nav__link { transition-delay: .18s, .18s, 0s; }
  .menu-open .nav__list li:nth-child(5) .nav__link { transition-delay: .22s, .22s, 0s; }
  .menu-open .nav__list li:nth-child(6) .nav__link { transition-delay: .26s, .26s, 0s; }
  .nav__cta-mobile { display: inline-flex; width: 100%; }
  .menu-open .menu-toggle__open { display: none; }
  .menu-open .menu-toggle__close { display: block; }

  .nav-backdrop {
    display: block; position: fixed; inset: 0; z-index: 99;
    background: rgba(10, 21, 17, .45);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s linear .4s;
  }
  .menu-open .nav-backdrop { opacity: 1; visibility: visible; transition-delay: 0s; }

  .about__body { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .consulting__top { grid-template-columns: 1fr; }
  .consulting__img { aspect-ratio: 16 / 10; }
  .steps { grid-template-columns: repeat(2, 1fr); border-top: 0; }
  .steps__line { display: none; }
  .step { padding: 36px 20px; border-top: 1px solid rgba(185, 154, 98, .3); }
  .step:nth-child(4) { border-left: 0; }
  .contact__grid { grid-template-columns: 1fr; }
  .partner { grid-template-columns: 1fr; justify-items: start; }
  .panels { height: 520px; gap: 8px; }
  .panel__tab { font-size: 19px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  body { font-size: 15.5px; }
  .brand__mark { width: 42px; height: 29px; }
  .brand__name { font-size: 22px; }
  .brand__sub { font-size: 8.5px; letter-spacing: .44em; }

  .hero__content { padding-top: calc(var(--header-h) + 32px); padding-bottom: 140px; }
  .hero__mark { width: 54px; height: 38px; }
  .hero__nav { right: 0; left: 0; justify-content: center; bottom: 74px; }
  .hero__count { display: none; }
  .hero__ticker { height: 50px; }
  .hero__ticker-track span { font-size: 18px; gap: 26px; padding-right: 26px; }
  .hero__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; }
  .hero__scroll { display: none; }

  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .section-head__text { justify-self: start; }

  .about__badge { width: 160px; margin-bottom: 32px; }
  .about__badge-mark { width: 68px; height: 48px; }
  .about__badge-text { font-size: 15px; }
  .about__intro { margin-bottom: 56px; }
  .about__media { padding-right: 36px; padding-bottom: 56px; }
  .about__block { padding: 26px 0; }
  .about__block h3 { font-size: 25px; }

  .product { flex-basis: 80%; min-height: 0; }
  .product__media { height: 240px; }
  .carousel__track { gap: 14px; }
  .carousel__ui { gap: 20px; margin-top: 28px; }
  .carousel__btn { width: 48px; height: 48px; }

  .panels { flex-direction: column; height: auto; }
  .panel { flex: none; height: 76px; }
  .panel.is-active { height: 400px; }
  .panel__tab {
    left: 22px; right: 22px; top: 50%; bottom: auto;
    writing-mode: horizontal-tb; transform: translateY(-50%);
    font-size: 21px; white-space: normal; line-height: 1.1;
  }
  .panel__content { width: 100%; }

  .steps { grid-template-columns: 1fr; }
  .step { border-left: 0 !important; }

  .form__grid { grid-template-columns: 1fr; }
  .cta-band__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; }

  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__col nav ul, nav.footer__col .footer__links { grid-template-columns: 1fr 1fr; gap: 12px 20px; }
  .footer__bottom-inner { flex-direction: column; padding-bottom: 96px; }
  .wa-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
  .wa-float__tip { display: none; }
}

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