/* ============================================================
   PORTSSAR · ASSISTÊNCIA TÉCNICA
   Design system — preto + vermelho de marca + off-white
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --bg-elev: #121212;
  --bg-elev-2: #181818;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --fg: #f5f5f5;
  --fg-dim: #b8b8b8;
  --fg-muted: #7a7a7a;
  --accent: #fe3636;
  --accent-deep: #c81f1f;
  --accent-glow: rgba(254, 54, 54, 0.35);

  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --container: 1280px;
  --radius: 14px;
  --radius-lg: 22px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

::selection { background: var(--accent); color: #fff; }

/* === Custom cursor lens =================================== */
.cursor-lens {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease),
              background-color 0.3s var(--ease), border-color 0.3s var(--ease);
  z-index: 9999;
  mix-blend-mode: difference;
}
.cursor-lens::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 999px;
  border: 1px dashed rgba(254, 54, 54, 0.6);
  animation: lens-spin 8s linear infinite;
}
.cursor-lens.is-hover {
  width: 70px; height: 70px;
  background: rgba(254, 54, 54, 0.1);
}
.cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 5px; height: 5px;
  border-radius: 999px;
  background: var(--accent);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 10000;
}
@keyframes lens-spin { to { transform: rotate(360deg); } }
@media (hover: none) { .cursor-lens, .cursor-dot { display: none; } }

/* === NAV ================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 40px;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
              padding 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  padding: 14px 40px;
  border-color: var(--line);
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.nav-brand .lens-mark {
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1.5px solid var(--accent);
  position: relative;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.nav-brand .lens-mark::before {
  content: ""; position: absolute; inset: 5px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
}
.nav-brand .lens-mark::after {
  content: ""; width: 8px; height: 8px;
  border-radius: 999px; background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}
.nav-logo { height: 48px; width: auto; display: block; }
.nav-brand-text { font-size: 18px; }
.nav-brand-text small {
  display: block; font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-muted); font-weight: 400;
}
.nav-links {
  display: flex; gap: 4px;
  list-style: none; margin: 0; padding: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}
.nav-links a {
  display: block;
  padding: 10px 18px;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  color: var(--fg-dim);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
  position: relative;
}
.nav-links a:hover { color: var(--fg); background: rgba(255, 255, 255, 0.06); }
.nav-links a.is-loja {
  background: var(--accent);
  color: #fff;
}
.nav-links a.is-loja:hover { background: var(--accent-deep); color: #fff; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.nav-cta:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--fg-dim); }
.nav-cta .pulse {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: #2ed573;
  box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(46, 213, 115, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 213, 115, 0); }
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  width: 44px; height: 44px;
  border-radius: 999px;
  color: var(--fg);
  cursor: pointer;
}

@media (max-width: 980px) {
  .nav { padding: 14px 20px; }
  .nav.is-scrolled { padding: 10px 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .mobile-drawer.is-open + .site-main .nav { background: var(--bg); }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(20px);
  z-index: 90;
  display: flex; flex-direction: column;
  padding: 100px 30px 30px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease-out-expo);
}
.mobile-drawer.is-open { transform: translateY(0); }
.mobile-drawer a {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
}
.mobile-drawer a.is-loja { color: var(--accent); }

/* === HERO ================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex; align-items: center;
  padding: 120px 40px 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg video, .hero-bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: grayscale(0.3) contrast(1.05);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, transparent, rgba(10,10,10,0.75) 70%),
    linear-gradient(180deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.3) 30%, var(--bg) 100%);
}
.hero-bg::before {
  /* film grain */
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.06; mix-blend-mode: overlay;
  pointer-events: none; z-index: 1;
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  margin-bottom: 32px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8.5vw, 132px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0 0 32px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.1s var(--ease-out-expo) forwards;
}
.hero-title .line:nth-child(2) span { animation-delay: 0.12s; }
.hero-title .line:nth-child(3) span { animation-delay: 0.24s; }
.hero-title em {
  font-style: normal;
  font-family: "Instrument Serif", "Playfair Display", serif;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.01em;
}
@keyframes rise {
  to { transform: translateY(0); }
}
.hero-sub {
  max-width: 540px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-dim);
  margin: 0 0 40px;
  opacity: 0; transform: translateY(20px);
  animation: fade-up 1s var(--ease-out-expo) 0.5s forwards;
}
@keyframes fade-up { to { opacity: 1; transform: translateY(0); } }
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  opacity: 0; transform: translateY(20px);
  animation: fade-up 1s var(--ease-out-expo) 0.65s forwards;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
              border-color 0.3s var(--ease), color 0.3s var(--ease);
  text-decoration: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 30px -8px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--fg);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--fg-dim); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translate(4px, -4px); }

/* Hero stat panel (right column on desktop) */
.hero-stats {
  display: flex; flex-direction: column;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  min-width: 280px;
  opacity: 0; transform: translateY(20px);
  animation: fade-up 1s var(--ease-out-expo) 0.8s forwards;
}
.hero-stat-row { display: flex; justify-content: space-between; align-items: baseline; }
.hero-stat-row .num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.hero-stat-row .num em {
  font-style: normal; color: var(--accent); font-family: inherit;
}
.hero-stat-row .label {
  font-family: var(--font-mono);
  font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fg-muted);
  text-align: right;
  max-width: 140px;
  line-height: 1.4;
}
.hero-stat-divider {
  height: 1px; background: var(--line);
}
.hero-status-row {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.hero-status-row .dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: #2ed573;
  box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.6);
  animation: pulse 1.8s infinite;
}

/* Hero corner ticks */
.hero-ticks {
  position: absolute; inset: 30px;
  pointer-events: none; z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.hero-ticks > div { position: absolute; }
.hero-ticks .tl { top: 0; left: 0; }
.hero-ticks .tr { top: 0; right: 0; text-align: right; }
.hero-ticks .bl { bottom: 0; left: 0; }
.hero-ticks .br { bottom: 0; right: 0; text-align: right; }
.hero-ticks::before, .hero-ticks::after,
.hero-ticks > i:nth-child(1), .hero-ticks > i:nth-child(2) {
  content: ""; position: absolute;
  width: 16px; height: 16px;
  border-color: var(--line-strong);
  border-style: solid;
}
.hero-ticks::before { top: 0; left: 0; border-width: 1px 0 0 1px; }
.hero-ticks::after  { top: 0; right: 0; border-width: 1px 1px 0 0; }
.hero-ticks > i:nth-child(1) { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.hero-ticks > i:nth-child(2) { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

@media (max-width: 980px) {
  .hero { padding: 100px 20px 60px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { min-width: 0; }
  .hero-ticks { display: none; }
}

/* === SECTION SHELL ======================================== */
section { position: relative; }
.section {
  padding: 120px 40px;
  position: relative;
}
.section-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 72px;
  align-items: end;
}
.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 24px;
}
.section-tag::before {
  content: ""; width: 24px; height: 1px; background: var(--accent);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0;
}
.section-title em {
  font-style: italic;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  color: var(--accent);
}
.section-desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-dim);
  max-width: 480px;
  justify-self: end;
}
.section-desc a { color: var(--accent); border-bottom: 1px solid var(--accent); }

@media (max-width: 980px) {
  .section { padding: 80px 20px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .section-desc { justify-self: start; }
}

/* === SERVICES ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  background: var(--bg);
  padding: 40px 32px;
  position: relative;
  cursor: default;
  overflow: hidden;
  transition: background 0.4s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0;
  background: linear-gradient(180deg, rgba(254, 54, 54, 0.08), transparent);
  transition: height 0.5s var(--ease);
}
.service-card:hover::before { height: 100%; }
.service-card:hover { background: var(--bg-elev); }

.service-num {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--fg-muted);
  margin-bottom: 36px;
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(254, 54, 54, 0.08);
  border: 1px solid rgba(254, 54, 54, 0.25);
  display: grid; place-items: center;
  color: var(--accent);
  font-size: 24px;
  margin-bottom: 28px;
  transition: transform 0.5s var(--ease);
}
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.05); }
.service-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}
.service-text {
  font-size: 15px;
  color: var(--fg-dim);
  line-height: 1.6;
  margin: 0;
}
.service-card .corner {
  position: absolute; top: 16px; right: 16px;
  width: 28px; height: 28px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--fg-muted);
  font-size: 10px;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
}
.service-card:hover .corner {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

@media (max-width: 980px) {
  .services-grid { grid-template-columns: 1fr; }
}
@media (min-width: 600px) and (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === PORTFOLIO =========================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-elev);
}
.portfolio-item:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.portfolio-item:nth-child(2) { grid-column: span 3; grid-row: span 1; }
.portfolio-item:nth-child(3) { grid-column: span 3; grid-row: span 1; }
.portfolio-item:nth-child(4) { grid-column: span 2; grid-row: span 2; }
.portfolio-item:nth-child(5) { grid-column: span 2; grid-row: span 2; }
.portfolio-item:nth-child(6) { grid-column: span 2; grid-row: span 2; }

.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 0.5s var(--ease);
  filter: grayscale(0.2);
}
.portfolio-item:hover img { transform: scale(1.06); filter: grayscale(0); }
.portfolio-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}
.portfolio-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px;
  z-index: 2;
  display: flex; align-items: end; justify-content: space-between;
  gap: 14px;
}
.portfolio-cap h4 {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  transform: translateY(8px);
  transition: transform 0.5s var(--ease);
}
.portfolio-cap small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.portfolio-item:hover .portfolio-cap h4 { transform: translateY(0); }
.portfolio-item:hover .portfolio-cap small { opacity: 1; transform: translateY(0); }
.portfolio-cap .icon {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--accent);
  display: grid; place-items: center;
  color: #fff;
  flex-shrink: 0;
  transform: scale(0) rotate(-90deg);
  transition: transform 0.5s var(--ease-out-expo);
}
.portfolio-item:hover .portfolio-cap .icon { transform: scale(1) rotate(0); }

@media (max-width: 980px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .portfolio-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .portfolio-item:nth-child(n+2) { grid-column: span 1; grid-row: span 1; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(20px);
  z-index: 200;
  display: grid; place-items: center;
  padding: 40px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 90vw; max-height: 80vh;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.lightbox-info {
  position: absolute;
  bottom: 30px; left: 0; right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  width: 50px; height: 50px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-strong);
  color: var(--fg);
  cursor: pointer;
  display: grid; place-items: center;
  font-size: 18px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.lightbox-close:hover { background: var(--accent); border-color: var(--accent); transform: rotate(90deg); }
.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-strong);
  color: var(--fg);
  cursor: pointer;
  display: grid; place-items: center;
  font-size: 18px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }
.lightbox-nav:hover { background: var(--accent); border-color: var(--accent); }

/* === SHIPPING (Envio) ===================================== */
.shipping-section { background: var(--bg-elev); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 36px; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), var(--line-strong), transparent);
  z-index: 0;
}
.step {
  position: relative;
  padding: 0 12px;
  text-align: center;
  z-index: 1;
}
.step-icon {
  width: 72px; height: 72px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--accent);
  font-size: 26px;
  margin: 0 auto 24px;
  position: relative;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.step-icon::before {
  content: "";
  position: absolute; inset: -8px;
  border-radius: 999px;
  border: 1px dashed rgba(254, 54, 54, 0.2);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.step:hover .step-icon { border-color: var(--accent); background: rgba(254,54,54,0.08); }
.step:hover .step-icon::before { opacity: 1; animation: lens-spin 12s linear infinite; }
.step-num {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.18em;
  color: var(--fg-muted);
  margin-bottom: 8px;
}
.step h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 12px;
}
.step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-dim);
  margin: 0;
}

.address-card {
  margin-top: 80px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}
.address-card .icon {
  width: 60px; height: 60px;
  border-radius: 999px;
  background: rgba(254,54,54,0.1);
  border: 1px solid rgba(254,54,54,0.3);
  display: grid; place-items: center;
  color: var(--accent);
  font-size: 22px;
}
.address-card .text { line-height: 1.5; }
.address-card .text small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 6px;
}
.address-card .text strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.address-card .text span {
  display: block;
  color: var(--fg-dim);
  font-size: 14px;
  margin-top: 2px;
}
.address-card .copy-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--fg);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.3s var(--ease);
}
.address-card .copy-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .address-card { grid-template-columns: 1fr; text-align: left; padding: 28px; }
}

/* === MAP ================================================== */
.map-section {
  position: relative;
  padding: 120px 40px;
}
.map-wrap {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elev);
}
.map-info {
  padding: 48px 40px;
  display: flex; flex-direction: column;
  gap: 22px;
}
.map-info h3 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.02em;
}
.map-info-row { display: flex; gap: 14px; align-items: flex-start; }
.map-info-row .ic {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(254,54,54,0.08);
  border: 1px solid rgba(254,54,54,0.2);
  display: grid; place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}
.map-info-row small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 4px;
}
.map-info-row p { margin: 0; line-height: 1.5; }
.map-info-row a { color: var(--fg); border-bottom: 1px solid var(--line-strong); }
.map-info-row a:hover { color: var(--accent); border-color: var(--accent); }

.map-frame {
  position: relative;
  min-height: 460px;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.3);
}
.map-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

@media (max-width: 980px) {
  .map-section { padding: 60px 20px; }
  .map-wrap { grid-template-columns: 1fr; }
  .map-info { padding: 32px 24px; }
  .map-frame { min-height: 360px; }
}

/* === BRANDS / Marquee ===================================== */
.brands {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
  position: relative;
}
.brands::before, .brands::after {
  content: ""; position: absolute; top: 0; bottom: 0;
  width: 120px; z-index: 2;
  pointer-events: none;
}
.brands::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.brands::after  { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }

.brands-track {
  display: flex; gap: 80px;
  align-items: center;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.brands-track .brand-item {
  display: flex; align-items: center; gap: 24px;
  flex-shrink: 0;
}
.brands-track img {
  height: 38px; width: auto;
  filter: grayscale(1) brightness(2.5) contrast(0.8);
  opacity: 0.55;
  transition: opacity 0.3s var(--ease), filter 0.3s var(--ease);
}
.brands-track .brand-item:hover img {
  opacity: 1;
  filter: grayscale(0) brightness(1);
}
.brands-track .sep {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.5;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* === CONTACT ============================================== */
.contact-section {
  padding: 120px 40px 80px;
  position: relative;
}
.contact-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-form {
  display: flex; flex-direction: column;
  gap: 18px;
}
.contact-form .field {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.contact-form .field:focus-within { border-color: var(--accent); background: var(--bg-elev-2); }
.contact-form label {
  position: absolute; top: 14px; left: 18px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  pointer-events: none;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 32px 18px 14px;
  color: var(--fg);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  resize: none;
}
.contact-form textarea { min-height: 180px; }
.contact-form .field.textarea label { top: 14px; }
.captcha-wrap {
  margin: 8px 0 4px;
}
.captcha-error {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--accent);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.contact-form .submit-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 6px;
  gap: 16px; flex-wrap: wrap;
}
.contact-form .submit-row .note {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.contact-info {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  background: var(--bg-elev);
}
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.contact-info > p { color: var(--fg-dim); margin: 0 0 28px; font-size: 15px; }
.contact-info-block { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info-block:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-info-block small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 8px;
}
.contact-info-block a, .contact-info-block p {
  display: inline-block;
  color: var(--fg);
  font-size: 15px;
  margin: 2px 14px 2px 0;
}
.contact-info-block a:hover { color: var(--accent); }

.whatsapp-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  border-radius: 999px;
  background: #25D366;
  color: #0a0a0a;
  font-weight: 500;
  margin-top: 8px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.whatsapp-cta:hover { transform: translateY(-2px); background: #1ea952; color: #0a0a0a; }

.payment-icons {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  margin-top: 8px;
}
.payment-icons i { font-size: 28px; color: var(--fg-dim); }
.payment-icons img { height: 26px; width: auto; opacity: 0.85; }

@media (max-width: 980px) {
  .contact-section { padding: 60px 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-info { padding: 28px; }
}

/* === FLOATING WHATSAPP ==================================== */
.float-wa {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 80;
  width: 60px; height: 60px;
  border-radius: 999px;
  background: #25D366;
  color: #0a0a0a;
  display: grid; place-items: center;
  font-size: 26px;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s var(--ease);
}
.float-wa:hover { transform: scale(1.08); color: #0a0a0a; }
.float-wa::before {
  content: ""; position: absolute; inset: 0;
  border-radius: 999px;
  border: 2px solid #25D366;
  animation: ring 2s ease-out infinite;
}
@keyframes ring {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* === FOOTER =============================================== */
.footer {
  padding: 60px 40px 40px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer-inner p {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin: 0;
}
.footer-socials {
  display: flex; gap: 10px;
}
.footer-socials a {
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--fg-dim);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.footer-socials a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* === Reveal on scroll ===================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }

/* === Scrollbar ============================================ */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-elev-2); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* === Light theme (seções após o hero) ===================== */
.light-theme {
  --bg:          #ffffff;
  --bg-elev:     #f2f2f2;
  --bg-elev-2:   #e6e6e6;
  --line:        rgba(0, 0, 0, 0.1);
  --line-strong: rgba(0, 0, 0, 0.2);
  --fg:          #0f0f0f;
  --fg-dim:      #444444;
  --fg-muted:    #888888;
  background: #ffffff;
  color: #0f0f0f;
}
.light-theme .brands {
  background: var(--bg);
  border-color: var(--line);
}
.light-theme .brands::before {
  background: linear-gradient(90deg, #ffffff, transparent);
}
.light-theme .brands::after {
  background: linear-gradient(270deg, #ffffff, transparent);
}
.light-theme .brands-track img {
  filter: none;
  opacity: 1;
}
.light-theme .brands-track .brand-item:hover img {
  filter: none;
  opacity: 1;
}
.light-theme .shipping-section { background: var(--bg-elev); }
.light-theme .footer { border-color: var(--line); }

/* === Instax Section ======================================= */
.instax-section {
  overflow: hidden;
  background: #f7f7f7;
}

.instax-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 32px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 100px 60px;
  min-height: 92vh;
}

/* Coluna esquerda — texto em cima + vídeo abaixo */
.instax-left-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
}

/* Bloco de texto */
.instax-text.reveal {
  transform: translateY(50px);
  transition-duration: 1.2s;
}
.instax-text.reveal.is-visible {
  transform: translateY(0);
}

.instax-text .section-tag {
  margin-bottom: 14px;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.instax-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.8vw, 2.9rem);
  font-weight: 700;
  line-height: 1.15;
  color: #0f0f0f;
  margin: 0 0 20px;
}

.instax-title em {
  color: var(--accent);
  font-style: italic;
}

.instax-desc {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.78;
  max-width: 460px;
}

/* Vídeo flutuando */
.instax-video-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.instax-video-wrap {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  /* Sombra de flutuação — mais concentrada e difusa em baixo */
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.10),
    0 30px 60px rgba(0, 0, 0, 0.14),
    0 60px 100px rgba(0, 0, 0, 0.10);
}

.instax-video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Coluna direita — imagem preenche todo o bloco */
.instax-image-col {
  align-self: stretch;
  position: relative;
  min-height: 500px;
  margin: -100px -60px -100px 0;
}

.instax-image-col.reveal {
  transform: translateX(40px);
  opacity: 0;
  transition: opacity 1.2s var(--ease-out-expo), transform 1.2s var(--ease-out-expo);
}
.instax-image-col.reveal.is-visible {
  transform: translateX(0);
  opacity: 1;
}

.instax-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.13));
}

/* Responsivo */
@media (max-width: 900px) {
  .instax-inner {
    grid-template-columns: 1fr;
    padding: 60px 24px;
    gap: 40px;
  }
  .instax-img {
    max-height: 50vh;
  }
}
