/* =========================================================
   BB Adesivos — estilos
   ========================================================= */
:root {
  /* cores da marca (medidas nas artes do Instagram @bbadesivos) */
  --red: #f4002b;
  --red-2: #c80024;
  --blue: #102a5c;      /* azul BB */
  --blue-2: #0b1f47;
  --navy: #060f2a;      /* fundo escuro das artes */
  --navy-2: #0d1a3e;

  --paper: #e9ebf0;
  --paper-2: #dde1ea;
  --ink: #0a1634;
  --ink-2: #24315a;
  --muted: #5c6683;
  --line: rgba(10, 22, 52, .14);
  --light: #f1f3f9;
  --light-muted: rgba(241, 243, 249, .64);
  --line-light: rgba(241, 243, 249, .16);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --radius: 14px;
  --nav-h: 64px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--mono); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }
.label { color: var(--muted); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--light); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- headings ---------- */
.h2 {
  font-size: clamp(2.6rem, 7vw, 6.4rem);
  line-height: .9;
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  letter-spacing: -.03em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--blue);
}
.h2 em, .contact__title em, .hero__w em { font-weight: 300; font-variation-settings: "wdth" 125; letter-spacing: -.04em; text-transform: none; }
.h2 em { color: var(--red); }
.sec-head--light .h2 { color: var(--light); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 6vw, 72px); }
.sec-head--light .label { color: var(--light-muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .9em 1.35em; border-radius: 999px;
  font-weight: 600; font-size: .95rem; text-decoration: none; line-height: 1;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease-out), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ico { width: 1.15em; height: 1.15em; flex: none; }
.btn--sm { padding: .7em 1.1em; font-size: .85rem; }
.btn--lg { padding: 1.05em 1.6em; font-size: clamp(1rem, 1.6vw, 1.2rem); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-2); }
.btn--ink { background: var(--blue); color: var(--light); }
.btn--ink:hover { background: var(--blue-2); }
.btn--wa { background: #1fb855; color: #fff; justify-content: center; }
.btn--wa:hover { background: #179a46; }
.btn:disabled { opacity: .4; pointer-events: none; }
.link-btn { background: none; border: 0; padding: 4px; cursor: pointer; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-size: .85rem; }
.link-btn:hover { color: var(--red); }
.btn--ghost { border-color: var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { border-color: var(--line-light); color: var(--light); }
.btn--ghost-light:hover { border-color: var(--light); }
.link { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; font-weight: 500; }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 50; top: 12px; left: 50%;
  width: min(calc(100% - 24px), 1180px); height: var(--nav-h);
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 10px 0 18px;
  background: rgba(233, 232, 228, .78);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(14, 14, 16, .08);
  border-radius: 999px;
  transition: transform .5s var(--ease-out);
}
.nav.is-hidden { transform: translate(-50%, calc(-100% - 20px)); }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; gap: clamp(14px, 2.4vw, 32px); }
.nav__links a { text-decoration: none; font-size: .9rem; font-weight: 500; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__links a { color: var(--blue); }
.nav__right { display: flex; align-items: center; gap: 6px; }
.nav__cart {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--blue);
  font-weight: 600; font-size: .85rem; cursor: pointer; transition: border-color .2s, background-color .2s;
}
.nav__cart:hover { border-color: var(--blue); }
.nav__ig {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--blue); position: relative; overflow: hidden; isolation: isolate;
  transition: color .25s, border-color .25s;
}
.nav__ig::before { /* gradiente do Instagram aparece no hover */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 40%, #d6249f 65%, #285aeb 100%);
}
.nav__ig:hover, .nav__ig:focus-visible { color: #fff; border-color: transparent; }
.nav__ig:hover::before, .nav__ig:focus-visible::before { opacity: 1; }
.nav__ig .ico { width: 19px; height: 19px; }
.nav__cart .ico { width: 18px; height: 18px; }
.badge {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--paper-2); color: var(--muted); font-family: var(--mono); font-size: .7rem; font-weight: 500;
}
.nav__cart.has-items .badge { background: var(--red); color: #fff; animation: pop .45s var(--ease-out); }
@keyframes pop { 40% { transform: scale(1.35); } }
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav { height: 56px; padding-left: 14px; }
  .nav__logo img { height: 24px; }
  .nav__cart { height: 38px; padding: 0 10px; }
  .nav__ig { width: 38px; height: 38px; }
  .nav__cart-label { display: none; }
}
@media (max-width: 400px) { .nav__wa-label { display: none; } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { background: var(--red); color: #fff; overflow: hidden; padding: 18px 0; border-block: 1px solid var(--red-2); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span {
  font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 800; font-variation-settings: "wdth" 112;
  text-transform: uppercase; letter-spacing: -.02em; padding-inline: .7em; white-space: nowrap;
  display: inline-flex; align-items: center;
}
.marquee span::after { content: ""; width: .32em; height: .32em; border-radius: 50%; background: #fff; margin-left: 1.4em; display: inline-block; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto { padding-block: clamp(96px, 16vw, 200px) clamp(72px, 10vw, 140px); display: grid; gap: clamp(28px, 4vw, 48px); }
.manifesto__text {
  font-size: clamp(1.7rem, 4.2vw, 3.9rem); line-height: 1.05; font-weight: 600;
  font-variation-settings: "wdth" 100; letter-spacing: -.03em; max-width: 22ch; text-wrap: pretty;
}
.manifesto__text .w { opacity: var(--o, 1); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); margin-top: 8px; }
.facts li { padding: 22px 22px 22px 0; display: grid; gap: 8px; font-weight: 500; align-content: start; }
.facts li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.facts .mono { color: var(--muted); }
@media (max-width: 720px) {
  .facts { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* =========================================================
   REEL (identidade que cola)
   ========================================================= */
.reel { background: var(--navy); color: var(--light); }
.reel__pin { background:
  radial-gradient(60% 50% at 85% 10%, rgba(244, 0, 43, .16), transparent 70%),
  radial-gradient(70% 60% at 10% 100%, rgba(40, 80, 170, .35), transparent 70%); }
.reel__pin { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; perspective: 1400px; }
.reel__title {
  position: absolute; inset: 0; pointer-events: none;
  font-size: clamp(3rem, 11vw, 12rem); line-height: .86; font-weight: 800;
  font-variation-settings: "wdth" 115; letter-spacing: -.045em; text-transform: uppercase;
}
.reel__w { position: absolute; white-space: nowrap; }
.reel__w--1 { top: 26%; left: var(--gutter); }
.reel__w--2 { top: calc(26% + .95em); right: var(--gutter); color: var(--red); font-style: italic; font-weight: 300; font-variation-settings: "wdth" 125; text-transform: none; }
.reel__stage { position: absolute; inset: 0; z-index: 2; transform-style: preserve-3d; pointer-events: none; }
.reel__shop { position: absolute; inset: 0; z-index: 4; pointer-events: none; transform-style: preserve-3d; } /* capas viajam na fita em 3D, sempre por cima das fotos */
.reel__shop .reel__card { pointer-events: auto; }

/* abertura (some quando o scroll começa) */
.reel__eyebrow { position: absolute; z-index: 5; top: calc(var(--nav-h) + 40px); left: var(--gutter); color: var(--light-muted); }
.reel__intro {
  position: absolute; z-index: 5; left: var(--gutter); bottom: 32px; max-width: 400px;
  display: grid; gap: 16px; padding: 20px 22px; border-radius: 18px;
  background: rgba(6, 15, 42, .86); /* sem backdrop-filter: os cards passam por trás e o blur travava a animação */
  border: 1px solid var(--line-light); font-size: 1.02rem; color: var(--light);
}
.reel__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.reel__hint { position: absolute; z-index: 3; right: var(--gutter); bottom: 40px; color: var(--light-muted); }
@media (max-width: 820px) {
  .reel__eyebrow { top: calc(var(--nav-h) + 30px); }
  .reel__intro { right: var(--gutter); bottom: 20px; max-width: none; padding: 16px; font-size: .95rem; }
  .reel__intro .btn { flex: 1; justify-content: center; }
  .reel__hint { display: none; }
}
.reel__card {
  position: absolute; left: 0; top: 0; margin: 0;
  border-radius: 10px; overflow: hidden; background: var(--paper);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .45);
  will-change: transform, opacity; backface-visibility: hidden;
}
.reel__card img { width: 100%; height: 100%; object-fit: cover; }
.reel__w--1 { color: var(--light); }

/* cartões de serviço (loja) — usam as capas (ícone sobre azul) */
.reel__card.is-product { display: block; padding: 0; border: 0; cursor: pointer; color: #fff; text-align: left; font: inherit; background: #091935; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.reel__card.is-product img { transform: translateY(-17%) scale(.62); transition: transform .8s var(--ease-out); }
.pc__n, .pc__body { position: absolute; z-index: 1; opacity: 0; transition: opacity .5s, transform .5s var(--ease-out); }
.pc__n { top: 12px; left: 12px; padding: .35em .6em; border-radius: 999px; background: var(--red); font-size: .66rem; }
.pc__body { left: 14px; right: 14px; bottom: 14px; display: grid; gap: 10px; transform: translateY(8px); }
.pc__t { font-size: clamp(1rem, 1.35vw, 1.3rem); font-weight: 700; line-height: 1.05; letter-spacing: -.015em; font-variation-settings: "wdth" 106; }
.pc__cta {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: .5em .85em; border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  font-size: .78rem; font-weight: 600; transition: background-color .25s;
}
.pc__cta b { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #fff; color: var(--red); font-size: .9rem; line-height: 1; }
.reel__shop.is-settled .pc__n,
.reel__shop.is-settled .pc__body { opacity: 1; transform: none; }
.reel__shop.is-settled .is-product:hover img { transform: translateY(-18%) scale(.68); }
.reel__shop.is-settled .is-product:hover .pc__cta,
.reel__shop.is-settled .is-product:focus-visible .pc__cta { background: var(--red); }
.reel__card.is-product:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.reel__head {
  position: absolute; z-index: 5; left: var(--gutter); top: calc(var(--nav-h) + 34px); opacity: 0;
  display: grid; gap: 6px;
}
.reel__head .mono { color: var(--light-muted); }
.reel__head h2 {
  font-size: clamp(1.8rem, 3.6vw, 3.2rem); line-height: .95; font-weight: 800; letter-spacing: -.03em;
  font-variation-settings: "wdth" 112; text-transform: uppercase;
}
.reel__head h2 em { color: var(--red); font-weight: 300; font-variation-settings: "wdth" 125; text-transform: none; }
.reel__grid {
  position: absolute; left: 50%; top: calc(50% + 40px); transform: translate(-50%, -50%);
  width: min(1120px, calc(100vw - 2 * var(--gutter)), calc((100svh - 300px) * 2));
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; visibility: hidden;
}
.reel__grid i { aspect-ratio: 1; }
.reel__foot {
  position: absolute; z-index: 5; left: var(--gutter); right: calc(var(--gutter) + 72px); bottom: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; opacity: 0;
}
.reel__foot .mono { color: var(--light-muted); }
@media (max-width: 820px) {
  .reel__grid {
    grid-template-columns: repeat(2, 1fr); gap: 8px; top: calc(50% + 28px);
    width: min(calc(100vw - 2 * var(--gutter)), calc((max(100svh, 820px) - 250px) / 2));
  }
  .reel__head { top: calc(var(--nav-h) + 24px); }
  .reel__head h2 { font-size: 1.5rem; }
  .reel__foot .mono { display: none; }
  .reel__foot { right: calc(var(--gutter) + 68px); }
  .pc__t { font-size: .88rem; }
  .pc__cta { font-size: .7rem; padding: .4em .7em; }
  .pc__body { left: 10px; right: 10px; bottom: 10px; gap: 6px; }
  /* celular: o card inteiro é o botão — sai a pílula "Personalizar", fica um "+" no canto */
  .reel__card.is-product img, .reel__shop.is-settled .is-product:hover img { transform: translateY(-13%) scale(.58); }
  .pc__cta { display: none; }
  .pc__n { top: 8px; left: 8px; font-size: .6rem; }
  .pc__body { left: 10px; right: 10px; bottom: 10px; }
  .pc__t { font-size: clamp(.74rem, 3.4vw, .86rem); }
  .reel__pin { min-height: 820px; } /* celulares baixos: a loja ganha altura em vez de encolher os cards */
  .reel__card.is-product::before {
    content: "+"; position: absolute; z-index: 1; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%;
    display: grid; place-items: center; background: #fff; color: var(--red); font-weight: 700; font-size: 1rem; line-height: 1;
    opacity: 0; transition: opacity .5s;
  }
  .reel__shop.is-settled .is-product::before, html:not(.motion) .is-product::before { opacity: 1; }
  .reel__w--1 { top: 18%; }
  .reel__w--2 { top: calc(18% + .95em); }
}
/* static fallback */
html:not(.motion) .reel__pin { height: auto; min-height: 0; padding: 96px var(--gutter); overflow: visible; }
html:not(.motion) .reel__title { position: static; display: grid; margin-bottom: 40px; }
html:not(.motion) .reel__w { position: static; }
html:not(.motion) .reel__w--2 { justify-self: end; }
html:not(.motion) .reel__stage { display: none; }
html:not(.motion) .reel__shop { position: static; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 44vw), 1fr)); gap: 12px; pointer-events: auto; }
html:not(.motion) .reel__card { position: relative; aspect-ratio: 1; }
html:not(.motion) .pc__n, html:not(.motion) .pc__body { opacity: 1; transform: none; }
html:not(.motion) .reel__grid { display: none; }
html:not(.motion) .reel__head { position: static; opacity: 1; margin-bottom: 28px; }
html:not(.motion) .reel__pin { padding-top: calc(var(--nav-h) + 70px); }
html:not(.motion) .reel__eyebrow, html:not(.motion) .reel__intro { position: static; margin-bottom: 28px; }
html:not(.motion) .reel__hint { display: none; }
html:not(.motion) .reel__foot { position: static; opacity: 1; margin-top: 28px; }

/* =========================================================
   SERVICES
   ========================================================= */
.services { padding-block: clamp(96px, 14vw, 180px); position: relative; }
.svc { border-top: 1px solid var(--line); }
.svc__item { border-bottom: 1px solid var(--line); }
.svc__h { margin: 0; font: inherit; }
.svc__row {
  width: 100%; display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr) 40px; align-items: center; gap: 24px;
  padding: clamp(22px, 3vw, 34px) 0; position: relative; isolation: isolate; text-align: left;
  border: 0; background: none; color: inherit; font: inherit; cursor: pointer;
  transition: padding .5s var(--ease-out), color .3s;
}
.svc__row::before { content: ""; position: absolute; inset: 0; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out); z-index: -1; border-radius: 6px; }
.svc__row:hover, .svc__row:focus-visible, .is-open > .svc__h .svc__row { color: var(--light); padding-inline: 20px; }
.svc__row:hover::before, .svc__row:focus-visible::before, .is-open > .svc__h .svc__row::before { transform: scaleY(1); }
.svc__row:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.svc__n { color: var(--muted); }
.svc__row:hover .svc__n, .is-open .svc__n { color: var(--red); }
.svc__t { font-size: clamp(1.45rem, 3vw, 2.6rem); font-weight: 700; line-height: 1; letter-spacing: -.025em; font-variation-settings: "wdth" 108; }
.svc__d { color: var(--muted); font-size: .98rem; max-width: 46ch; }
.svc__row:hover .svc__d, .is-open .svc__d { color: var(--light-muted); }
/* "+" que vira "−" quando abre */
.svc__a { justify-self: end; position: relative; width: 22px; height: 22px; }
.svc__a::before, .svc__a::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease-out), background-color .3s; }
.svc__a::after { transform: rotate(90deg); }
.svc__row:hover .svc__a::before, .svc__row:hover .svc__a::after, .is-open .svc__a::before, .is-open .svc__a::after { background: var(--red); }
.is-open .svc__a::after { transform: rotate(0deg); }
/* painel de fotos */
.svc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .65s var(--ease-out); }
.is-open > .svc__panel { grid-template-rows: 1fr; }
.svc__inner { overflow: hidden; min-height: 0; }
.svc__body { padding: 20px 0 clamp(28px, 4vw, 44px); visibility: hidden; transition: visibility 0s .65s; }
.is-open .svc__body { visibility: visible; transition: none; }
.svc__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.svc__grid .tile { margin: 0; aspect-ratio: 1; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--d, 0ms), transform .7s var(--ease-out) var(--d, 0ms); }
.svc__grid .tile img { height: 100%; object-fit: cover; }
.is-open .svc__grid .tile { opacity: 1; transform: none; }
.svc__foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.svc__foot [hidden] { display: none; }
.svc__ig { margin-top: 28px; }
@media (max-width: 820px) {
  .svc__row { grid-template-columns: 40px minmax(0, 1fr) 24px; gap: 8px 14px; }
  .svc__d { grid-column: 2 / 3; }
  .svc__a { grid-row: 1; grid-column: 3; }
  .svc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .svc__panel, .svc__grid .tile { transition: none; } }

/* fotos (usadas dentro de cada serviço) */
.tile {
  break-inside: avoid; margin-bottom: 12px; position: relative; display: block; width: 100%;
  border: 0; padding: 0; background: var(--paper-2); border-radius: 10px; overflow: hidden; cursor: zoom-in;
}
.tile img { width: 100%; height: auto; transition: transform .8s var(--ease-out); }
.tile:hover img { transform: scale(1.035); }
.tile span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; text-align: left;
  color: #fff; font-size: .85rem; font-weight: 500;
  background: linear-gradient(transparent, rgba(0, 0, 0, .65));
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .45s var(--ease-out);
}
.tile:hover span, .tile:focus-visible span { opacity: 1; transform: none; }
@media (hover: none) { .tile span { opacity: 1; transform: none; } }
.tile.is-new { animation: tileIn .7s var(--ease-out) both; }
@keyframes tileIn { from { opacity: 0; transform: translateY(18px); } }

/* =========================================================
   PROCESS
   ========================================================= */
.process { background: var(--blue); color: var(--light); padding-block: clamp(96px, 14vw, 180px); border-radius: 28px 28px 0 0; }
.steps { display: grid; gap: 18px; }
.step {
  position: sticky; top: calc(var(--nav-h) + 32px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: min(64vh, 520px);
  background: var(--navy); border: 1px solid var(--line-light); border-radius: 20px; overflow: hidden;
}
.step:nth-child(2) { top: calc(var(--nav-h) + 48px); }
.step:nth-child(3) { top: calc(var(--nav-h) + 64px); }
.step:nth-child(4) { top: calc(var(--nav-h) + 80px); }
.step__body { padding: clamp(24px, 4vw, 52px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.step__n { font-size: clamp(4rem, 10vw, 9rem); line-height: .8; font-weight: 800; font-variation-settings: "wdth" 120; color: var(--red); letter-spacing: -.05em; }
.step h3 { font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -.025em; font-weight: 700; font-variation-settings: "wdth" 108; margin-bottom: 14px; }
.step p { color: var(--light-muted); max-width: 40ch; }
.step img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) {
  .step { grid-template-columns: 1fr; min-height: 0; }
  .step img { aspect-ratio: 16 / 10; order: -1; height: auto; }
  .step__n { font-size: 3.6rem; }
  .step__body { gap: 18px; }
}

/* =========================================================
   CONTACT + FOOTER
   ========================================================= */
.contact { background: var(--navy); color: var(--light); padding-block: clamp(80px, 12vw, 160px) clamp(64px, 8vw, 110px); }
.contact .label { color: var(--light-muted); margin-bottom: 24px; }
.contact__title { font-size: clamp(2.4rem, 7.4vw, 8.5rem); line-height: .86; font-weight: 800; font-variation-settings: "wdth" 115; letter-spacing: -.045em; text-transform: uppercase; }
.contact__title em { color: var(--red); }
.contact__row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(36px, 5vw, 60px); }
.contact__info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(56px, 8vw, 100px); border-top: 1px solid var(--line-light); }
.contact__info div { padding: 22px 22px 0 0; display: grid; gap: 10px; align-content: start; }
.contact__info div + div { padding-left: 22px; border-left: 1px solid var(--line-light); }
.contact__info dt { color: var(--light-muted); }
.contact__info dd { font-size: 1.1rem; font-weight: 500; }
.contact__info a { text-decoration: none; }
.contact__info a:hover { color: var(--red); }
@media (max-width: 720px) {
  .contact__info { grid-template-columns: 1fr; }
  .contact__info div, .contact__info div + div { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line-light); }
}
.footer { background: var(--navy); color: var(--light-muted); border-top: 1px solid var(--line-light); font-size: .88rem; }
.footer__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-block: 28px; }
.footer img { height: 26px; width: auto; opacity: .9; }

/* floating WhatsApp */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .45);
  transform: translateY(120px); transition: transform .5s var(--ease-out);
}
.fab svg { width: 30px; height: 30px; }
.fab.is-on { transform: none; }
.fab.is-on:hover { transform: scale(1.06); }

/* lightbox */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(10, 10, 12, .94); color: var(--light);
}
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; place-items: center; animation: lbIn .3s ease both; }
@keyframes lbIn { from { opacity: 0; } }
.lightbox figure { display: grid; gap: 14px; justify-items: center; padding: 70px 76px 28px; max-width: 100%; }
.lightbox img { max-height: calc(100dvh - 150px); max-width: min(1200px, calc(100vw - 152px)); width: auto; border-radius: 8px; }
.lightbox figcaption { display: flex; gap: 18px; align-items: baseline; font-weight: 500; }
.lightbox figcaption .mono { color: var(--light-muted); }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, .06); color: #fff; font-size: 1.2rem; cursor: pointer; transition: background-color .2s;
}
.lb-btn:hover { background: var(--red); border-color: var(--red); }
.lb-btn--close { top: 16px; right: 16px; }
.lb-btn--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-btn--next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 720px) {
  .lightbox figure { padding: 70px 12px 90px; }
  .lightbox img { max-width: calc(100vw - 24px); max-height: calc(100dvh - 190px); }
  .lb-btn--prev, .lb-btn--next { top: auto; bottom: 20px; transform: none; }
  .lb-btn--prev { left: calc(50% - 58px); } .lb-btn--next { right: calc(50% - 58px); }
}

/* =========================================================
   LOJA — formulário de serviço, carrinho, toast
   ========================================================= */
.cfg, .cart { padding: 0; border: 0; color: var(--ink); background: var(--paper); max-width: none; max-height: none; }
.cfg::backdrop, .cart::backdrop { background: rgba(6, 15, 42, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.cfg[open] { animation: dlgIn .45s var(--ease-out) both; }
.cart[open] { animation: drawerIn .5s var(--ease-out) both; }
@keyframes dlgIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes drawerIn { from { transform: translateX(100%); } }

.cfg { width: min(1000px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); border-radius: 20px; overflow: hidden; }
.cfg__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); max-height: calc(100dvh - 32px); }
.cfg__media { position: relative; background: var(--navy); }
.cfg__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cfg__body { display: flex; flex-direction: column; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.cfg__head { padding: 32px 32px 8px; display: grid; gap: 8px; }
.cfg__head .mono { color: var(--red); }
.cfg__head h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; font-weight: 800; letter-spacing: -.03em; font-variation-settings: "wdth" 110; color: var(--blue); }
.cfg__desc { color: var(--muted); }
.cfg__fields { padding: 16px 32px 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cfg__note { margin: 4px 32px 0; padding: 12px 14px; border-radius: 10px; background: var(--paper-2); color: var(--ink-2); font-size: .86rem; }
.cfg__foot {
  position: sticky; bottom: 0; margin-top: auto; padding: 16px 32px; display: flex; justify-content: flex-end; gap: 10px;
  background: linear-gradient(transparent, var(--paper) 30%);
}
.cfg__foot b { font-size: 1.1rem; line-height: 0; }
.x-btn {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(6, 15, 42, .7); color: #fff; font-size: 1rem; transition: background-color .2s;
}
.x-btn:hover { background: var(--red); }
.x-btn--static { position: static; flex: none; background: var(--paper-2); color: var(--ink); }

/* campos */
.fld { display: grid; gap: 6px; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.fld--full { grid-column: 1 / -1; }
.fld__l { font-size: .8rem; font-weight: 600; color: var(--ink-2); padding: 0; }
.fld__l i { color: var(--red); font-style: normal; }
.fld input[type=text], .fld input[type=number], .fld select, .fld textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.fld textarea { resize: vertical; min-height: 84px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(16, 42, 92, .15); }
.was-validated :invalid:not(fieldset) { border-color: var(--red); box-shadow: 0 0 0 3px rgba(244, 0, 43, .12); }
.size { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.size span { color: var(--muted); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-size: .86rem; font-weight: 500; transition: all .2s;
}
.seg label:hover span { border-color: var(--blue); }
.seg input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.seg--multi input:checked + span { background: var(--red); border-color: var(--red); }
.seg--multi input:checked + span::before { content: "✓"; margin-right: 6px; font-size: .8em; }
.seg input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

/* carrinho (gaveta à direita) */
.cart { margin: 0 0 0 auto; width: min(480px, 100vw); height: 100dvh; }
.cart__in { display: flex; flex-direction: column; height: 100%; }
.cart__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 24px 24px 18px; border-bottom: 1px solid var(--line); background: var(--blue); color: var(--light); }
.cart__head .mono { color: var(--light-muted); }
.cart__head h3 { font-size: 1.8rem; font-weight: 800; letter-spacing: -.03em; font-variation-settings: "wdth" 110; line-height: 1.1; }
.cart__head sup { font-family: var(--mono); font-size: .8rem; background: var(--red); color: #fff; border-radius: 999px; padding: 2px 8px; vertical-align: super; }
.cart__head .x-btn--static { background: rgba(255, 255, 255, .12); color: #fff; }
.cart__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 24px; display: grid; gap: 22px; align-content: start; }
.cart__list { display: grid; gap: 12px; }
.ci { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.ci img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.ci__t { font-weight: 700; color: var(--blue); padding-right: 28px; line-height: 1.2; }
.ci__t .mono { color: var(--red); margin-right: 4px; }
.ci dl { display: grid; gap: 3px; margin-top: 8px; font-size: .82rem; }
.ci dl div { display: flex; gap: 6px; }
.ci dt { color: var(--muted); flex: none; }
.ci dt::after { content: ":"; }
.ci dd { color: var(--ink-2); overflow-wrap: anywhere; }
.ci__rm { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--paper); cursor: pointer; font-size: .8rem; }
.ci__rm:hover { background: var(--red); color: #fff; }
.cart__empty { display: grid; gap: 14px; justify-items: start; padding: 24px 0; color: var(--muted); }
.cart__empty[hidden], .cart__form[hidden] { display: none; }
.cart__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.cart__form > .mono { grid-column: 1 / -1; color: var(--muted); }
.cart__foot { padding: 16px 24px 22px; border-top: 1px solid var(--line); display: grid; gap: 8px; justify-items: center; background: var(--paper); }
.cart__foot .btn--wa { width: 100%; }
.cart__foot [hidden] { display: none; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 14px;
  max-width: calc(100vw - 110px); padding: 10px 10px 10px 18px; border-radius: 999px;
  background: var(--blue); color: var(--light); font-size: .9rem; box-shadow: 0 16px 40px -12px rgba(6, 15, 42, .6);
  transform: translate(-50%, 140%); opacity: 0; transition: transform .5s var(--ease-out), opacity .3s; pointer-events: none;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast:empty { display: none; }
.toast button { border: 0; border-radius: 999px; padding: .55em 1em; background: var(--red); color: #fff; font-weight: 600; cursor: pointer; white-space: nowrap; }

@media (max-width: 720px) {
  .cfg { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .cfg__in { grid-template-columns: 1fr; grid-template-rows: auto 1fr; max-height: 100dvh; height: 100%; }
  .cfg__media { height: 170px; }
  .cfg__head { padding: 20px 18px 4px; }
  .cfg__fields { grid-template-columns: 1fr; padding: 12px 18px 4px; }
  .cfg__note { margin: 4px 18px 0; }
  .cfg__foot { padding: 14px 18px; }
  .cfg__foot .btn { flex: 1; justify-content: center; }
  .cart__form { grid-template-columns: 1fr; }
  .toast { bottom: 88px; max-width: calc(100vw - 32px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
}
