/* =========================================================
   HB Tap — Estilos
   ========================================================= */

:root {
  --ice: #F4F5F2;
  --ice-2: #ECEDE9;
  --white: #FFFFFF;
  --graphite: #16181A;
  --graphite-2: #1F2225;
  --graphite-3: #2A2D31;
  --gray-1: #5E636A;
  --gray-2: #8A9097;
  --gray-3: #C9CDD1;
  --line: rgba(22, 24, 26, .09);
  --line-light: rgba(255, 255, 255, .09);
  --green: #4FAE84;
  --green-soft: #DDEFE5;
  --green-deep: #2F8A62;

  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;

  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --container: 1240px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--graphite);
  background: var(--ice);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  padding: 10px 16px; background: var(--graphite); color: #fff; border-radius: 10px;
  transform: translateY(-200%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-items: center;
  background: var(--graphite);
  transition: opacity .7s var(--ease), visibility .7s;
}
body:not(.is-loading) .loader { opacity: 0; visibility: hidden; }
.loader__mark { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.loader__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  animation: ring 1.6s var(--ease) infinite;
}
.loader__ring--2 { animation-delay: .5s; }
.loader__text { color: #fff; font-weight: 600; letter-spacing: .02em; font-size: 15px; }
@keyframes ring { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--graphite); --fg: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: var(--bg); color: var(--fg);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(22,24,26,.45); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--dark { --bg: var(--graphite); --fg: #fff; }
.btn--light { --bg: #fff; --fg: var(--graphite); }
.btn--light::after { background: linear-gradient(110deg, transparent 30%, rgba(79,174,132,.18) 50%, transparent 70%); }
.btn--ghost { --bg: transparent; --fg: var(--graphite); box-shadow: inset 0 0 0 1px rgba(22,24,26,.22); }
.btn--ghost:hover { --bg: #fff; box-shadow: inset 0 0 0 1px rgba(22,24,26,.12), 0 14px 30px -14px rgba(22,24,26,.25); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 11.5px; }
.btn--lg { height: 62px; padding: 0 40px; font-size: 14px; width: 100%; }

/* ---------- Eyebrow / títulos ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gray-1);
}
.eyebrow--light { color: rgba(255,255,255,.6); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(79,174,132,.16); }

.section { position: relative; padding: clamp(96px, 12vw, 160px) 0; }
.section__head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section__head--row .section__lead { max-width: 380px; }
.section__title {
  margin-top: 18px;
  font-size: clamp(36px, 5vw, 64px); line-height: 1.04; font-weight: 600; letter-spacing: -.035em;
}
.section__title em { font-size: 1.08em; color: var(--gray-1); }
.section__lead { margin-top: 20px; font-size: clamp(17px, 1.4vw, 19px); color: var(--gray-1); max-width: 560px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .4s, box-shadow .4s, transform .5s var(--ease);
}
.header.is-scrolled {
  background: rgba(244,245,242,.78);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--graphite); }
.logo__mark { width: 34px; height: 34px; }
.logo__text { font-size: 20px; font-weight: 700; letter-spacing: -.03em; }
.logo__text b { font-weight: 400; margin-left: 2px; color: var(--gray-1); }
.logo--light { color: #fff; }
.logo--light .logo__text b { color: rgba(255,255,255,.55); }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; gap: 32px; }
.nav__link { position: relative; font-size: 15px; font-weight: 500; color: var(--gray-1); transition: color .3s; padding: 6px 0; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--graphite);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--graphite); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; z-index: 120; }
.burger span {
  position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--graphite); border-radius: 2px;
  transition: transform .5s var(--ease), background .3s;
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span { background: #fff; }
.menu-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow {
  position: absolute; width: 900px; height: 900px; right: -200px; top: 50%; transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(255,255,255,1), rgba(255,255,255,0) 70%);
}
.hero__glow::after {
  content: ""; position: absolute; width: 380px; height: 380px; left: 30%; top: 40%;
  background: radial-gradient(closest-side, rgba(79,174,132,.12), transparent);
  filter: blur(20px);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 65%);
          mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 65%);
  opacity: .55;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero__title {
  margin-top: 24px;
  font-size: clamp(44px, 6.4vw, 88px); line-height: .98; font-weight: 600; letter-spacing: -.045em;
}
.hero__title em { display: inline; font-size: 1.06em; color: var(--gray-1); }
.hero__sub { margin-top: 28px; max-width: 520px; font-size: clamp(17px, 1.4vw, 19px); color: var(--gray-1); }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts { margin-top: 56px; display: flex; gap: 40px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 540px; }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.hero__facts span { font-size: 13.5px; color: var(--gray-2); line-height: 1.4; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 20px; box-shadow: inset 0 0 0 1px rgba(22,24,26,.25);
}
.hero__scroll span {
  position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--graphite);
  animation: scrollDot 2s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Palco 3D */
.hero__stage { position: relative; height: min(640px, 78vh); perspective: 1600px; }
.stage {
  --rx: 0deg; --ry: 0deg;
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .9s var(--ease-out);
}
.stage__floor {
  position: absolute; left: 8%; right: 8%; bottom: 6%; height: 60px;
  background: radial-gradient(closest-side, rgba(22,24,26,.22), transparent);
  filter: blur(14px);
  transform: translateZ(-80px);
}
.plate-wrap {
  position: absolute; width: 46%; max-width: 270px;
  transform-style: preserve-3d;
  opacity: 0;
  animation: plateIn 1.6s var(--ease-out) forwards, float 7s ease-in-out infinite;
  animation-delay: calc(.6s + var(--d) * .18s), calc(2.2s + var(--d) * .6s);
}
body.is-loading .plate-wrap { animation-play-state: paused; }
.plate-wrap--back  { left: 50%; top: 4%;  --t: translateZ(-120px) rotateY(-22deg) rotateZ(6deg); }
.plate-wrap--mid   { left: 4%;  top: 18%; --t: translateZ(-30px) rotateY(18deg) rotateZ(-8deg); }
.plate-wrap--front { left: 30%; top: 32%; --t: translateZ(90px) rotateY(-10deg) rotateX(6deg) rotateZ(2deg); }
.plate-wrap { transform: var(--t); }
@keyframes plateIn {
  from { opacity: 0; transform: var(--t) translateY(80px) rotateX(30deg) scale(.9); filter: blur(8px); }
  to   { opacity: 1; transform: var(--t); filter: blur(0); }
}
@keyframes float {
  0%, 100% { transform: var(--t) translateY(0); }
  50%      { transform: var(--t) translateY(-14px); }
}

/* ---------- Placa (render) ---------- */
.plate {
  --bg1: #23262A; --bg2: #0D0E0F; --fg: #fff; --muted: rgba(255,255,255,.55); --edge: #050505;
  position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 20px;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(255,255,255,.10), transparent 55%),
    linear-gradient(160deg, var(--bg1), var(--bg2));
  color: var(--fg);
  box-shadow:
    0 1px 0 rgba(255,255,255,.12) inset,
    0 -1px 0 rgba(0,0,0,.4) inset,
    0 0 0 1px rgba(0,0,0,.35),
    0 6px 0 -1px var(--edge),
    0 30px 60px -20px rgba(22,24,26,.55),
    0 60px 90px -40px rgba(22,24,26,.45);
  overflow: hidden;
  transform-style: preserve-3d;
}
.plate::before { /* reflexo de estúdio */
  content: ""; position: absolute; inset: -40% -60%;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.14) 48%, rgba(255,255,255,.02) 54%, transparent 60%);
  transform: translateX(var(--shine, -30%));
  transition: transform 1.2s var(--ease-out);
  pointer-events: none; z-index: 2;
}
.plate--white {
  --bg1: #FFFFFF; --bg2: #E7E8E4; --fg: var(--graphite); --muted: var(--gray-2); --edge: #C9CBC6;
  box-shadow:
    0 1px 0 #fff inset,
    0 0 0 1px rgba(22,24,26,.08),
    0 6px 0 -1px var(--edge),
    0 30px 60px -20px rgba(22,24,26,.32),
    0 60px 90px -40px rgba(22,24,26,.28);
}
.plate--white::before { background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.9) 48%, rgba(255,255,255,.1) 54%, transparent 60%); }
.plate__inner {
  position: absolute; inset: 0; padding: 12% 11%;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6%;
}
.plate__nfc {
  position: absolute; top: 9%; right: 10%; width: 18%; aspect-ratio: 1;
  background: currentColor; opacity: .85;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M8 7c2.8 2.8 2.8 7.2 0 10M12 4.5c4.2 4.2 4.2 10.8 0 15M16 2c5.6 5.6 5.6 14.4 0 20'/%3E%3Ccircle cx='4' cy='12' r='1.4' fill='black' stroke='none'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M8 7c2.8 2.8 2.8 7.2 0 10M12 4.5c4.2 4.2 4.2 10.8 0 15M16 2c5.6 5.6 5.6 14.4 0 20'/%3E%3Ccircle cx='4' cy='12' r='1.4' fill='black' stroke='none'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plate__nfc--green { color: var(--green); opacity: 1; }
.plate__stars { font-size: clamp(14px, 1.6vw, 22px); letter-spacing: .12em; color: #F2C14E; line-height: 1; }
.plate__title { font-size: clamp(18px, 2.2vw, 30px); line-height: 1.05; font-weight: 600; letter-spacing: -.03em; }
.plate__brand {
  position: absolute; left: 11%; bottom: 9%;
  font-size: clamp(9px, .8vw, 11px); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.plate__cam, .plate__symbol { width: 26%; aspect-ratio: 1; background: currentColor; }
.plate__cam {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M3 8.5A2.5 2.5 0 015.5 6h2l1.5-2h6l1.5 2h2A2.5 2.5 0 0121 8.5v9a2.5 2.5 0 01-2.5 2.5h-13A2.5 2.5 0 013 17.5z'/%3E%3Ccircle cx='12' cy='13' r='3.8'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M3 8.5A2.5 2.5 0 015.5 6h2l1.5-2h6l1.5 2h2A2.5 2.5 0 0121 8.5v9a2.5 2.5 0 01-2.5 2.5h-13A2.5 2.5 0 013 17.5z'/%3E%3Ccircle cx='12' cy='13' r='3.8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plate__symbol {
  width: 34%; color: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M11 10.5c3.2 3 3.2 8 0 11M15.5 7.5c5 4.6 5 12.4 0 17M20 4.8c6.6 6.2 6.6 16.2 0 22.4'/%3E%3Ccircle cx='6.5' cy='16' r='2.2' fill='black' stroke='none'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M11 10.5c3.2 3 3.2 8 0 11M15.5 7.5c5 4.6 5 12.4 0 17M20 4.8c6.6 6.2 6.6 16.2 0 22.4'/%3E%3Ccircle cx='6.5' cy='16' r='2.2' fill='black' stroke='none'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Fotografia real (quando presente em img/produtos) */
.plate.has-photo {
  background: var(--photo) center bottom / contain no-repeat;
  box-shadow: none; border-radius: 0; overflow: visible;
  filter: drop-shadow(0 28px 26px rgba(22,24,26,.28)) drop-shadow(0 6px 6px rgba(22,24,26,.18));
}
.plate.has-photo::before { display: none; }
.plate[data-photo]:not(.has-photo):not(.no-photo) { visibility: hidden; }
.plate.has-photo .plate__inner { display: none; }
.how .plate.has-photo { filter: drop-shadow(0 30px 30px rgba(0,0,0,.6)); }

/* ---------- Produtos ---------- */
.products__list { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); }
.product {
  position: relative;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center;
  background: var(--white); border-radius: 32px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -45px rgba(22,24,26,.35);
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out);
}
.product:hover { transform: translateY(-8px); box-shadow: 0 0 0 1px var(--line), 0 50px 80px -40px rgba(22,24,26,.35); }
.product--reverse .product__visual { order: 2; }
.product__visual {
  position: relative; height: 100%; min-height: 520px;
  display: grid; place-items: center; perspective: 1200px;
  background: linear-gradient(180deg, #F0F1EE, #E4E6E2);
  overflow: hidden;
}
.product[data-variant="insta"] .product__visual { background: linear-gradient(180deg, #2B2E32, #141618); }
.product__light {
  position: absolute; width: 70%; aspect-ratio: 1; top: -20%; left: 15%;
  background: radial-gradient(closest-side, rgba(255,255,255,.95), transparent);
  pointer-events: none;
}
.product[data-variant="insta"] .product__light { background: radial-gradient(closest-side, rgba(255,255,255,.14), transparent); }
.product[data-variant="custom"] .product__light::after {
  content: ""; position: absolute; inset: 30%;
  background: radial-gradient(closest-side, rgba(79,174,132,.2), transparent);
}
.product__plate {
  --rx: 8deg; --ry: -16deg;
  position: relative; width: min(56%, 300px);
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(0);
  transition: transform 1s var(--ease-out);
}
.product__plate::after { /* sombra no piso */
  content: ""; position: absolute; left: 6%; right: 6%; bottom: -18%; height: 14%;
  background: radial-gradient(closest-side, rgba(0,0,0,.28), transparent);
  filter: blur(10px); transform: translateZ(-60px) rotateX(80deg);
}
.product:hover .product__plate { --shine: 40%; }
.product:hover .plate { --shine: 40%; }

.product__info { padding: clamp(36px, 5vw, 72px); }
.product__index { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gray-2); }
.product__name { margin-top: 10px; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.04; font-weight: 600; letter-spacing: -.035em; }
.product__desc { margin-top: 18px; color: var(--gray-1); max-width: 440px; }

.swatches { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.swatch {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 10px;
  border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--gray-1);
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, color .3s;
}
.swatch span { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.swatch--black span { background: linear-gradient(160deg, #2a2d31, #0d0e0f); }
.swatch--white span { background: linear-gradient(160deg, #fff, #e4e5e1); }
.swatch.is-active { color: var(--graphite); box-shadow: inset 0 0 0 1.5px var(--graphite); }
.swatch--static { cursor: default; }
button.swatch:hover { color: var(--graphite); }

.product__buy { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.price { display: flex; align-items: flex-start; gap: 4px; font-size: 44px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.price small { font-size: 15px; font-weight: 500; letter-spacing: 0; margin-top: 6px; color: var(--gray-1); }
.price sup { font-size: 18px; margin-top: 4px; letter-spacing: -.02em; }
.price--xl { font-size: clamp(64px, 8vw, 104px); }
.price--xl small { font-size: 20px; margin-top: 12px; color: rgba(255,255,255,.6); }
.price--xl sup { font-size: 30px; margin-top: 10px; }

/* ---------- Como funciona ---------- */
.how { background: var(--graphite); color: #fff; overflow: hidden; }
.how::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 75% 50%, rgba(255,255,255,.06), transparent 70%),
              radial-gradient(30% 30% at 70% 55%, rgba(79,174,132,.10), transparent 70%);
  pointer-events: none;
}
.how .section__lead { color: rgba(255,255,255,.62); }
.how__inner { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }

.steps { margin-top: 48px; display: flex; flex-direction: column; gap: 8px; max-width: 460px; }
.step {
  position: relative; width: 100%; text-align: left;
  display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start;
  padding: 20px 22px; border-radius: 18px;
  transition: background .4s;
}
.step:hover { background: rgba(255,255,255,.03); }
.step.is-active { background: rgba(255,255,255,.06); }
.step__n {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-size: 15px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  transition: background .4s, color .4s, box-shadow .4s;
}
.step.is-active .step__n { background: #fff; color: var(--graphite); box-shadow: none; }
.step__body strong { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.step__body span { display: block; font-size: 15px; color: rgba(255,255,255,.55); margin-top: 2px; }
.step__bar { position: absolute; left: 22px; right: 22px; bottom: 0; height: 1px; background: rgba(255,255,255,.06); overflow: hidden; }
.step__bar i { position: absolute; inset: 0; background: var(--green); transform: scaleX(0); transform-origin: left; }
.step.is-active .step__bar i { animation: bar var(--step-ms, 2800ms) linear forwards; }
.how.is-paused .step.is-active .step__bar i { animation-play-state: paused; }
@keyframes bar { to { transform: scaleX(1); } }

.demo { position: relative; height: 560px; perspective: 1400px; }
.demo__plate {
  position: absolute; left: 6%; top: 50%; width: 46%; max-width: 260px;
  transform: translateY(-50%) rotateY(14deg) rotateX(6deg);
  transform-style: preserve-3d;
}
.demo__pulse {
  position: absolute; top: 50%; left: 50%; width: 80%; aspect-ratio: 1; margin: -40% 0 0 -40%;
  border-radius: 50%; border: 1px solid rgba(79,174,132,.7);
  opacity: 0; pointer-events: none;
}
.demo[data-stage="1"] .demo__pulse { animation: pulse 1.4s var(--ease) infinite; }
.demo[data-stage="1"] .demo__pulse--2 { animation-delay: .5s; }
@keyframes pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }

.phone {
  position: absolute; top: 50%; right: 4%; width: 230px;
  transform: translate(0, -50%) rotateY(-14deg) rotateZ(4deg);
  transition: transform 1.2s var(--ease-out);
  transform-style: preserve-3d;
}
.demo[data-stage="1"] .phone { transform: translate(-100%, -50%) rotateY(-8deg) rotateZ(-6deg) translateZ(60px); }
.demo[data-stage="2"] .phone { transform: translate(-55%, -50%) rotateY(-10deg) rotateZ(-2deg) translateZ(80px); }
.phone__frame {
  position: relative; aspect-ratio: 9 / 19; border-radius: 40px; padding: 10px;
  background: linear-gradient(160deg, #3A3D42, #121315);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 0 0 1px #000, 0 40px 80px -20px rgba(0,0,0,.7);
}
.phone__island { position: absolute; top: 20px; left: 50%; width: 70px; height: 20px; margin-left: -35px; background: #000; border-radius: 20px; z-index: 3; }
.phone__screen { position: relative; height: 100%; border-radius: 31px; overflow: hidden; background: #0B0C0D; }
.screen { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; opacity: 0; transition: opacity .6s var(--ease), transform .8s var(--ease-out); }
.screen--idle { background: linear-gradient(170deg, #2a3a33, #121416 60%); }
.screen__time { font-size: 48px; font-weight: 300; letter-spacing: -.03em; }
.screen__hint { font-size: 12px; color: rgba(255,255,255,.55); }
.screen--detect { background: rgba(14,15,16,.92); }
.screen__ring { width: 72px; height: 72px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--green); position: relative; }
.screen__ring::after { content: ""; position: absolute; inset: 18px; border-radius: 50%; background: var(--green); animation: ring 1.4s var(--ease) infinite; }
.screen__label { font-size: 13px; font-weight: 500; }
.screen--open { background: var(--ice); color: var(--graphite); justify-content: flex-start; padding: 46px 14px 14px; gap: 10px; transform: translateY(20px); }
.screen__bar { width: 100%; height: 28px; border-radius: 10px; background: #fff; font-size: 10px; color: var(--gray-1); display: flex; align-items: center; gap: 6px; padding: 0 10px; box-shadow: 0 0 0 1px var(--line); }
.screen__bar span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.screen__card { width: 100%; background: #fff; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 10px 20px -14px rgba(0,0,0,.3); }
.screen__avatar { width: 38px; height: 38px; border-radius: 12px; background: var(--graphite); }
.screen__line { display: block; height: 7px; border-radius: 4px; background: #E2E4E0; }
.screen__line--w40 { width: 40%; } .screen__line--w60 { width: 60%; } .screen__line--w70 { width: 70%; } .screen__line--w80 { width: 80%; }
.screen__stars { color: #F2C14E; font-size: 18px; letter-spacing: .1em; }
.screen__btn { margin-top: 4px; height: 32px; white-space: nowrap; overflow: hidden; border-radius: 10px; background: var(--graphite); color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; }
.demo[data-stage="0"] .screen--idle,
.demo[data-stage="1"] .screen--detect,
.demo[data-stage="2"] .screen--open { opacity: 1; transform: none; }

/* ---------- Benefícios ---------- */
.benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.benefit { background: var(--ice); padding: 40px 32px 44px; transition: background .5s; }
.benefit:hover { background: #fff; }
.benefit__icon { width: 48px; height: 48px; color: var(--graphite); }
.benefit__icon .draw { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 140; stroke-dashoffset: 140; transition: stroke-dashoffset 1.6s var(--ease-out) .3s; }
.benefit.is-visible .draw { stroke-dashoffset: 0; }
.benefit:hover .benefit__icon { color: var(--green-deep); }
.benefit h3 { margin-top: 36px; font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -.02em; }
.benefit p { margin-top: 12px; font-size: 15px; color: var(--gray-1); }

/* ---------- Segmentos ---------- */
.segments { padding-top: 0; }
.segments__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.segment {
  position: relative; aspect-ratio: 1 / .9; border-radius: var(--radius);
  background: #fff; box-shadow: 0 0 0 1px var(--line);
  display: flex; flex-direction: column; justify-content: space-between; padding: 26px;
  overflow: hidden; transition: transform .6s var(--ease-out), box-shadow .6s;
}
.segment::before {
  content: ""; position: absolute; width: 160px; height: 160px; right: -50px; top: -50px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--green-soft), transparent);
  opacity: 0; transition: opacity .6s;
}
.segment:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line), 0 30px 50px -30px rgba(22,24,26,.3); }
.segment:hover::before { opacity: 1; }
.segment svg { position: relative; width: 56px; height: 56px; fill: none; stroke: var(--graphite); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease-out); }
.segment:hover svg { transform: scale(1.08) rotate(-4deg); }
.segment span { position: relative; font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.segment--cta { background: var(--graphite); color: #fff; padding: 0; }
.segment--cta a { position: absolute; inset: 0; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; }
.segment--cta svg { width: 44px; height: 44px; padding: 12px; border-radius: 50%; background: #fff; color: var(--graphite); stroke: none; order: -1; margin-bottom: auto; }
.segment--cta::before { background: radial-gradient(closest-side, rgba(79,174,132,.35), transparent); }

/* ---------- Preço ---------- */
.pricing { padding-top: 0; }
.price-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
  padding: clamp(40px, 6vw, 88px); border-radius: 36px;
  background: var(--graphite); color: #fff;
}
.price-card__bg { position: absolute; inset: 0; z-index: -1; }
.price-card__bg::before {
  content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -300px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.08), transparent);
}
.price-card__bg::after {
  content: ""; position: absolute; width: 520px; height: 520px; left: -160px; bottom: -280px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(79,174,132,.16), transparent);
}
.price-card .section__title em { color: rgba(255,255,255,.55); }
.checks { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.78); }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(79,174,132,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234FAE84' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.price-card__offer {
  padding: 36px; border-radius: 26px;
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  box-shadow: inset 0 0 0 1px var(--line-light);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.price-card__label { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.price-card__offer .price { margin: 18px 0 30px; }
.price-card__note { margin-top: 18px; font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.5); }

/* ---------- Contato ---------- */
.contact { padding-top: 0; }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; padding-top: clamp(64px, 8vw, 120px); border-top: 1px solid var(--line); }
.contact__card {
  display: flex; align-items: center; gap: 20px;
  padding: 24px 28px; border-radius: 26px; background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -45px rgba(22,24,26,.4);
  transition: transform .6s var(--ease-out), box-shadow .6s;
}
.contact__card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 40px 70px -40px rgba(22,24,26,.4); }
.contact__icon { flex: none; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--green-soft); color: var(--green-deep); }
.contact__icon svg { width: 30px; height: 30px; }
.contact__text { flex: 1; display: flex; flex-direction: column; }
.contact__text small { font-size: 13px; color: var(--gray-2); }
.contact__text strong { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.02em; }
.contact__arrow { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--graphite); color: #fff; display: grid; place-items: center; transition: transform .5s var(--ease-out); }
.contact__arrow svg { width: 20px; height: 20px; }
.contact__card:hover .contact__arrow { transform: rotate(-45deg); }

/* ---------- Rodapé ---------- */
.footer { background: var(--graphite); color: #fff; padding: 88px 0 32px; margin-top: clamp(96px, 12vw, 160px); }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid var(--line-light); }
.footer__slogan { margin-top: 20px; font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; color: rgba(255,255,255,.7); max-width: 360px; }
.footer h4 { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 18px; }
.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a, .footer__contact a { color: rgba(255,255,255,.75); transition: color .3s; width: fit-content; }
.footer__nav a:hover, .footer__contact a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 28px; font-size: 14px; color: rgba(255,255,255,.4); flex-wrap: wrap; }
.to-top:hover { color: #fff; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: flex; align-items: center; gap: 0; height: 60px; padding: 0 16px;
  border-radius: 999px; background: var(--graphite); color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 20px 40px -14px rgba(22,24,26,.55);
  transition: transform .5s var(--ease-out), gap .5s var(--ease-out), padding .5s var(--ease-out);
}
.wa-float svg { width: 28px; height: 28px; color: var(--green); flex: none; }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 14px; font-weight: 600; transition: max-width .5s var(--ease-out); }
.wa-float:hover { transform: translateY(-3px); gap: 10px; padding: 0 22px 0 18px; }
.wa-float:hover .wa-float__label { max-width: 140px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(79,174,132,.45);
  animation: waPulse 3s ease-out infinite;
}
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(79,174,132,.4); } 70%, 100% { box-shadow: 0 0 0 16px rgba(79,174,132,0); } }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor {
    display: block; position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none;
    width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(22,24,26,.35);
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, box-shadow .35s, opacity .3s;
    opacity: 0;
  }
  .has-cursor .cursor.is-on { opacity: 1; }
  .has-cursor .cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(79,174,132,.12); box-shadow: inset 0 0 0 1px rgba(79,174,132,.5); }
  .has-cursor .cursor.is-dark { box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__stage { height: 520px; max-width: 560px; width: 100%; margin: 20px auto 0; }
  .product, .product--reverse { grid-template-columns: 1fr; }
  .product--reverse .product__visual { order: 0; }
  .product__visual { min-height: 440px; }
  .how__inner { grid-template-columns: 1fr; gap: 24px; }
  .demo { height: 520px; max-width: 600px; width: 100%; margin: 0 auto; }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .segments__grid { grid-template-columns: repeat(3, 1fr); }
  .price-card { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 110;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 40px;
    padding: 0 32px;
    background: var(--graphite);
    clip-path: circle(0 at calc(100% - 46px) 38px);
    transition: clip-path .8s var(--ease-out), visibility .8s;
    visibility: hidden;
  }
  .menu-open .nav { clip-path: circle(150% at calc(100% - 46px) 38px); visibility: visible; }
  .menu-open .logo { color: #fff; position: relative; z-index: 120; }
  .menu-open .logo .logo__text b { color: rgba(255,255,255,.55); }
  .menu-open .logo__mark { --logo-wave: #16181A; }
  .menu-open .header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav__list { flex-direction: column; gap: 6px; }
  .nav__link { font-size: 40px; font-weight: 600; letter-spacing: -.03em; color: rgba(255,255,255,.5); display: block; opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), color .3s; }
  .nav__link::after { display: none; }
  .nav__link:hover, .nav__link.is-active { color: #fff; }
  .menu-open .nav__link { opacity: 1; transform: none; }
  .menu-open .nav__list li:nth-child(1) .nav__link { transition-delay: .15s; }
  .menu-open .nav__list li:nth-child(2) .nav__link { transition-delay: .2s; }
  .menu-open .nav__list li:nth-child(3) .nav__link { transition-delay: .25s; }
  .menu-open .nav__list li:nth-child(4) .nav__link { transition-delay: .3s; }
  .menu-open .nav__list li:nth-child(5) .nav__link { transition-delay: .35s; }
  .nav__cta { --bg: #fff; --fg: var(--graphite); height: 54px; padding: 0 28px; font-size: 13px; }
  body.menu-open { overflow: hidden; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(100% - 36px, var(--container)); }
  :root { --header-h: 68px; }
  .hero { padding-top: calc(var(--header-h) + 28px); padding-bottom: 60px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__facts { gap: 20px; margin-top: 40px; }
  .hero__facts strong { font-size: 17px; }
  .hero__facts span { font-size: 12px; }
  .hero__stage { height: 400px; }
  .hero__scroll { display: none; }
  .plate-wrap { width: 50%; }
  .product { border-radius: 26px; }
  .product__visual { min-height: 360px; }
  .product__plate { width: 62%; }
  .product__buy .btn { flex: 1 1 100%; }
  .demo { height: 440px; }
  .demo__plate { width: 48%; left: 2%; }
  .phone { width: 170px; right: 0; }
  .demo[data-stage="1"] .phone { transform: translate(-62%, -50%) rotateY(-8deg) rotateZ(-6deg) translateZ(60px); }
  .demo[data-stage="2"] .phone { transform: translate(-30%, -50%) rotateY(-10deg) rotateZ(-2deg) translateZ(80px); }
  .phone__frame { border-radius: 32px; padding: 8px; }
  .phone__screen { border-radius: 25px; }
  .phone__island { top: 15px; width: 54px; height: 16px; margin-left: -27px; }
  .screen__time { font-size: 38px; }
  .screen__btn { font-size: 9.5px; }
  .screen__bar { font-size: 8.5px; white-space: nowrap; overflow: hidden; }
  .step { padding: 16px; grid-template-columns: 38px 1fr; gap: 14px; }
  .step__n { width: 38px; height: 38px; }
  .benefits__grid { grid-template-columns: 1fr; }
  .benefit { padding: 32px 26px; }
  .benefit h3 { margin-top: 24px; }
  .segments__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .segment { padding: 20px; aspect-ratio: 1 / 1; }
  .segment svg { width: 44px; height: 44px; }
  .segment span { font-size: 15.5px; line-height: 1.25; }
  .segment--cta a { padding: 20px; }
  .price-card { border-radius: 28px; padding: 36px 22px; gap: 32px; }
  .price-card__offer { padding: 26px 22px; }
  .contact__card { padding: 18px; gap: 14px; }
  .contact__icon { width: 50px; height: 50px; border-radius: 14px; }
  .contact__arrow { width: 44px; height: 44px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .wa-float { right: 16px; bottom: 16px; height: 56px; padding: 0 14px; }
}

/* =========================================================
   Movimento reduzido
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .plate-wrap { opacity: 1; animation: none !important; }
  .benefit__icon .draw { stroke-dashoffset: 0; }
  .wa-float::before { display: none; }
}
