﻿:root {
  --bg: #f6f3ee;
  --surface: #ffffff;
  --surface-soft: #f0ebe4;
  --text: #171717;
  --muted: #6d6a64;
  --border: #e2ddd5;
  --accent: #d96b3b;
  --accent-dark: #a94722;
  --accent-soft: #fff0e8;
  --shadow: 0 24px 70px rgba(40, 32, 24, 0.10);
  --radius: 28px;
}

body.dark {
  --bg: #0f1115;
  --surface: #171a21;
  --surface-soft: #20242d;
  --text: #f4f1ec;
  --muted: #aaa49b;
  --border: #2c313b;
  --accent: #ff8655;
  --accent-dark: #ffb088;
  --accent-soft: rgba(255, 134, 85, 0.13);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

body.beauty-site {
  --bg: #fff7f8;
  --surface: #ffffff;
  --surface-soft: #f7ecef;
  --text: #24181d;
  --muted: #7c6870;
  --border: #edd9df;
  --accent: #c84d72;
  --accent-dark: #8f2848;
  --accent-soft: #ffe9f0;
}

body.beauty-site.dark {
  --bg: #120d10;
  --surface: #1d1519;
  --surface-soft: #291d23;
  --text: #fff6f8;
  --muted: #d2b7c0;
  --border: #3d2a32;
  --accent: #ff7aa2;
  --accent-dark: #ffc0d2;
  --accent-soft: rgba(255, 122, 162, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background 0.35s ease, color 0.35s ease;
}

.beauty-hero {
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 126px);
  margin: 0 auto;
  padding: 76px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 60px;
}

.beauty-hero-content {
  display: grid;
  gap: 24px;
}

.beauty-hero-content > span,
.beauty-section .section-heading > span {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.beauty-hero h1 {
  max-width: 720px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.92;
}

.beauty-hero p {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface);
}

.beauty-visual {
  min-height: 520px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 122, 162, 0.28), transparent 32%),
    linear-gradient(145deg, var(--surface), var(--surface-soft));
  box-shadow: var(--shadow);
}

.beauty-product-tower {
  position: relative;
  width: min(330px, 74vw);
  height: 420px;
}

.beauty-product-tower span {
  position: absolute;
  display: block;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border));
  box-shadow: 0 28px 60px rgba(143, 40, 72, 0.24);
}

.beauty-product-tower span:nth-child(1) {
  left: 70px;
  bottom: 28px;
  width: 94px;
  height: 260px;
  border-radius: 48px 48px 18px 18px;
  background: linear-gradient(#fff, #f7dfe7 42%, #c84d72 43%, #81223d);
}

.beauty-product-tower span:nth-child(2) {
  right: 42px;
  bottom: 68px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, #f3ccd8);
}

.beauty-product-tower span:nth-child(3) {
  left: 18px;
  top: 78px;
  width: 150px;
  height: 58px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4b1729, #e36b92);
  transform: rotate(-18deg);
}

.beauty-section {
  padding-top: 28px;
}

.beauty-shop-cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.beauty-store-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 24px;
}

.beauty-store-hero span {
  width: fit-content;
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.beauty-store-hero h1 {
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.95;
}

.beauty-store-hero p {
  max-width: 640px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.beauty-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.beauty-category-grid article {
  min-height: 230px;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(145deg, var(--surface), var(--surface-soft));
  box-shadow: var(--shadow);
}

.beauty-category-grid small {
  color: var(--accent-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.beauty-category-grid h3 {
  font-size: 30px;
}

.beauty-category-grid p {
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .beauty-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 48px;
    gap: 34px;
  }

  .beauty-visual {
    min-height: 360px;
  }

  .beauty-product-tower {
    transform: scale(0.82);
  }

  .beauty-category-grid {
    grid-template-columns: 1fr;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font-family: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 20px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 65%, transparent);
}

.nav-wrapper {
  width: min(1180px, 100%);
  margin: 0 auto;
  height: 68px;
  padding: 0 12px 0 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--text);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 20px;
}

.brand strong {
  display: block;
  font-size: 20px;
  letter-spacing: 2px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
  letter-spacing: 0.8px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 11px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: 0.25s ease;
}

.main-nav a:hover,
.nav-group button:hover {
  color: var(--text);
  background: var(--surface-soft);
}

.nav-group {
  position: relative;
}

.nav-group button {
  padding: 11px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: 0.18s ease;
  z-index: 20;
}

.nav-submenu a {
  display: block;
  border-radius: 12px;
}

.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  transition: 0.25s ease;
}

.theme-toggle span {
  position: absolute;
  transition: 0.3s ease;
  font-size: 18px;
}

.theme-toggle .moon {
  opacity: 0;
  transform: translateY(18px);
}

body.dark .theme-toggle .sun {
  opacity: 0;
  transform: translateY(-18px);
}

body.dark .theme-toggle .moon {
  opacity: 1;
  transform: translateY(0);
}

.nav-cta {
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 800;
  font-size: 14px;
  transition: 0.25s ease;
}

.nav-cta:hover,
.btn:hover,
.shop-price button:hover,
.shop-price a:hover,
.contact-form button:hover {
  transform: translateY(-3px);
}

/* Store cards com imagem integral e informacao sobreposta */
.store-card {
  position: relative;
  min-height: 470px;
  aspect-ratio: 4 / 5;
  background: #11151b;
}

.store-card .store-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.store-card .store-image img,
.shop-card .shop-image img {
  transform-origin: center;
  transition: transform 0.35s ease;
}

.store-card .store-info {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  padding: 28px 24px 22px;
  color: #fff;
  isolation: isolate;
  background: transparent;
}

.store-card .store-info h2,
.store-card .store-info p {
  color: #fff;
}

.store-card .store-info p {
  opacity: 0.76;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.store-card .store-info strong {
  color: #ff8848;
}

.store-card .store-info a {
  background: #fff;
  color: #0d1117;
}

.shop-card {
  position: relative;
  min-height: 430px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #11151b;
}

.shop-card .shop-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.shop-card .shop-info {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  width: 100%;
  padding: 28px 24px 22px;
  color: #fff;
  isolation: isolate;
  background: transparent;
}

.store-card .store-info::before,
.shop-card .shop-info::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -180px 0 0;
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(5, 8, 12, 0) 0%,
    rgba(5, 8, 12, 0.03) 18%,
    rgba(5, 8, 12, 0.12) 34%,
    rgba(5, 8, 12, 0.34) 52%,
    rgba(5, 8, 12, 0.68) 72%,
    rgba(5, 8, 12, 0.94) 90%,
    rgba(5, 8, 12, 0.98) 100%);
  backdrop-filter: blur(26px) saturate(1.12);
  -webkit-backdrop-filter: blur(26px) saturate(1.12);
  mask-image: linear-gradient(to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.04) 16%,
    rgba(0, 0, 0, 0.16) 32%,
    rgba(0, 0, 0, 0.42) 50%,
    rgba(0, 0, 0, 0.72) 68%,
    #000 88%);
  -webkit-mask-image: linear-gradient(to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.04) 16%,
    rgba(0, 0, 0, 0.16) 32%,
    rgba(0, 0, 0, 0.42) 50%,
    rgba(0, 0, 0, 0.72) 68%,
    #000 88%);
}

.shop-card .shop-info small {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 900;
}

.shop-card .shop-info h3,
.shop-card .shop-info p {
  color: #fff;
}

.shop-card .shop-info p {
  opacity: 0.76;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-card .shop-price strong {
  color: #ff8848;
}

.shop-card .shop-price a {
  background: #fff;
  color: #0d1117;
}

/* Pagina individual do produto */
.product-detail-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 110px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 54px;
  align-items: start;
}

.product-detail-main {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-soft);
}

.product-detail-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  transition: opacity 0.32s ease, filter 0.32s ease, transform 0.45s ease;
}

.product-detail-main img.changing {
  opacity: 0;
  filter: blur(8px);
}

.product-detail-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 32px;
  font-weight: 900;
}

.product-detail-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.product-detail-thumbs button {
  position: relative;
  aspect-ratio: 1;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface-soft);
  cursor: pointer;
}

.product-detail-thumbs button.active {
  border-color: var(--accent);
}

.product-detail-thumbs button:has(video)::after {
  content: "Play";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(8, 11, 15, 0.72);
  font-size: 10px;
  font-weight: 900;
  pointer-events: none;
}

.product-detail-thumbs video {
  pointer-events: none;
}

.product-detail-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info {
  position: static;
  padding-top: 16px;
}

.product-detail-info > span,
.product-not-found > span {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-detail-info h1,
.product-not-found h1 {
  margin: 12px 0 18px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
}

.product-detail-info > strong {
  display: block;
  margin-bottom: 24px;
  color: var(--accent-dark);
  font-size: 30px;
}

.product-reference {
  width: fit-content;
  margin: -8px 0 18px;
  padding: 6px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.product-detail-info p,
.product-not-found p {
  color: var(--muted);
  line-height: 1.8;
  white-space: pre-line;
}

.product-detail-info > a,
.product-detail-info > button,
.product-not-found a {
  display: inline-flex;
  margin-top: 28px;
  padding: 15px 22px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 900;
  border: 0;
  cursor: pointer;
  font: inherit;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.product-detail-info > button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.product-detail-info small {
  display: block;
  margin-top: 18px;
  color: var(--muted);
}

.product-gallery-count {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  background: rgba(8, 11, 15, 0.62);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 800;
}

.product-gallery-nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  background: rgba(8, 11, 15, 0.62);
  backdrop-filter: blur(10px);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.product-gallery-nav:hover {
  background: rgba(8, 11, 15, 0.86);
  transform: translateY(-50%) scale(1.05);
}

.product-gallery-nav.previous { left: 16px; }
.product-gallery-nav.next { right: 16px; }

body.modal-open {
  overflow: hidden;
}

.product-inquiry-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  overflow-y: auto;
  background: rgba(8, 11, 15, 0.68);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.product-inquiry-overlay.visible {
  opacity: 1;
}

.product-inquiry-modal {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  transform: translateY(14px) scale(0.985);
  transition: transform 0.22s ease;
}

.product-inquiry-overlay.visible .product-inquiry-modal {
  transform: translateY(0) scale(1);
}

.product-inquiry-close {
  position: absolute;
  z-index: 5;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  background: var(--surface);
  font-size: 24px;
  cursor: pointer;
}

.product-inquiry-product {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #11151b;
}

.product-inquiry-product > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
}

.product-inquiry-product::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 8, 12, 0.96), rgba(5, 8, 12, 0.12));
}

.product-inquiry-product > div {
  position: absolute;
  z-index: 2;
  inset: auto 18px 22px;
  display: grid;
  gap: 6px;
  color: #fff;
}

.product-inquiry-product span {
  color: #ff9257;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-inquiry-product strong { font-size: 20px; }
.product-inquiry-product small { color: rgba(255, 255, 255, 0.72); }

.product-inquiry-content {
  padding: 36px 34px 32px;
}

.product-inquiry-eyebrow,
.product-inquiry-success > span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-inquiry-content h2 {
  margin: 8px 0 10px;
  font-size: 28px;
}

.product-inquiry-content > p,
.product-inquiry-success > p {
  color: var(--muted);
  line-height: 1.65;
}

.product-inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.product-inquiry-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.product-inquiry-form .full { grid-column: 1 / -1; }

.product-inquiry-form input,
.product-inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--text);
  background: var(--surface-soft);
  outline: none;
  font: inherit;
}

.product-inquiry-form input:focus,
.product-inquiry-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);
}

.product-inquiry-form textarea { resize: vertical; }

.inquiry-honeypot {
  position: absolute !important;
  left: -10000px !important;
}

.product-inquiry-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.product-inquiry-actions button,
.product-inquiry-done {
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 900;
  cursor: pointer;
}

.product-inquiry-cancel {
  color: var(--text);
  background: var(--surface-soft);
}

.product-inquiry-submit,
.product-inquiry-done {
  color: var(--bg);
  background: var(--text);
}

.product-inquiry-submit:disabled {
  cursor: wait;
  opacity: 0.55;
}

.product-inquiry-status {
  display: none;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border-radius: 6px;
  font-size: 13px;
}

.product-inquiry-status.sending,
.product-inquiry-status.error { display: flex; }
.product-inquiry-status.sending { background: var(--surface-soft); }
.product-inquiry-status.error { color: #9f1d1d; background: #fff0f0; }
.product-inquiry-status p { margin: 3px 0 0; line-height: 1.45; }

.inquiry-spinner {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: inquirySpin 0.75s linear infinite;
}

@keyframes inquirySpin { to { transform: rotate(360deg); } }

.product-inquiry-success {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.product-inquiry-success-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  color: #fff;
  background: #138a54;
  font-size: 26px;
  font-weight: 900;
}

.product-inquiry-success small {
  margin-top: 10px;
  color: var(--muted);
}

.product-inquiry-done { margin-top: 26px; }

@media (max-width: 820px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-detail-info {
    position: static;
  }

  .product-inquiry-modal {
    grid-template-columns: 1fr;
  }

  .product-inquiry-product {
    min-height: 150px;
  }

  .product-inquiry-content {
    padding: 28px 22px 24px;
  }

  .product-inquiry-form {
    grid-template-columns: 1fr;
  }
}

.mobile-menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  position: relative;
}

.mobile-menu-btn span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--text);
  transition: 0.25s ease;
}

.mobile-menu-btn span:first-child {
  top: 17px;
}

.mobile-menu-btn span:last-child {
  bottom: 17px;
}

.hero {
  padding: 90px 20px 60px;
}

.hero-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  min-height: calc(100vh - 180px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 70px;
}

.eyebrow,
.section-heading span,
.contact-card span {
  display: inline-flex;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.6px;
  margin-bottom: 18px;
}

h1 {
  max-width: 740px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: -3px;
  margin-bottom: 24px;
}

.hero-description {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}

.btn-outline {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 26px;
}

.hero-stats div {
  padding-right: 26px;
  border-right: 1px solid var(--border);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats strong {
  display: block;
  font-size: 17px;
  margin-bottom: 5px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.product-showcase {
  width: min(460px, 100%);
  min-height: 560px;
  padding: 30px;
  border-radius: 40px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 70% 20%, var(--accent-soft), transparent 38%),
    var(--surface);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.showcase-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}

.showcase-top span {
  color: var(--text);
  font-weight: 900;
  letter-spacing: 3px;
}

.showcase-object {
  height: 320px;
  position: relative;
  display: grid;
  place-items: center;
}

.cube {
  position: absolute;
  border-radius: 28px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 75%, white), var(--accent-dark));
  box-shadow: 0 20px 50px rgba(217, 107, 59, 0.22);
  transform: rotate(45deg);
}

.cube-one {
  width: 150px;
  height: 150px;
  animation: floatOne 5s ease-in-out infinite;
}

.cube-two {
  width: 92px;
  height: 92px;
  left: 45px;
  bottom: 40px;
  opacity: 0.72;
  animation: floatTwo 6s ease-in-out infinite;
}

.cube-three {
  width: 66px;
  height: 66px;
  right: 60px;
  top: 35px;
  opacity: 0.55;
  animation: floatThree 7s ease-in-out infinite;
}

.showcase-bottom {
  padding: 20px;
  border-radius: 24px;
  background: var(--surface-soft);
  color: var(--muted);
  line-height: 1.6;
}

.section {
  padding: 95px 20px;
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.contact-card h2 {
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -2px;
  margin-bottom: 14px;
}

.section-heading p,
.contact-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
}

.service-grid,
.shop-grid,
.news-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card,
.shop-card,
.contact-card,
.process-list {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card {
  padding: 32px;
  transition: 0.25s ease;
}

.service-card:hover,
.shop-card:hover {
  transform: translateY(-8px);
}

.service-card span {
  display: inline-block;
  color: var(--accent-dark);
  font-weight: 900;
  margin-bottom: 42px;
}

.service-card h3,
.shop-info h3,
.process-item h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.service-card p,
.shop-info p,
.process-item p {
  color: var(--muted);
  line-height: 1.7;
}

.shop-card {
  overflow: hidden;
  transition: 0.25s ease;
}

.news-card {
  overflow: hidden;
  transition: 0.25s ease;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.news-card:hover {
  transform: translateY(-8px);
}

.shop-image {
  height: 230px;
  background:
    radial-gradient(circle at 35% 25%, var(--accent-soft), transparent 36%),
    var(--surface-soft);
  display: grid;
  place-items: center;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--accent-dark);
}

.news-image {
  height: 220px;
  background: var(--surface-soft);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.news-image-placeholder {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--accent-dark);
}

.shop-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.shop-info {
  padding: 24px;
}

.news-content {
  padding: 24px;
}

.news-content small {
  display: inline-flex;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 7px 11px;
  border-radius: 999px;
  font-weight: 900;
  margin-bottom: 14px;
}

.news-content h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.news-content p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 22px;
}

.news-link {
  display: inline-flex;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 900;
  font-size: 14px;
}

.shop-price {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.shop-price strong {
  color: var(--accent-dark);
}

.shop-price button,
.shop-price a,
.contact-form button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 800;
  padding: 13px 17px;
  transition: 0.25s ease;
}

.shop-image-placeholder,
.store-image-placeholder {
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--accent-dark);
}

.process-list {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 12px;
}

.process-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 26px;
  border-bottom: 1px solid var(--border);
}

.process-item:last-child {
  border-bottom: 0;
}

.process-item strong {
  color: var(--accent-dark);
  font-size: 18px;
}

.contact-card {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 44px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text);
  border-radius: 18px;
  padding: 16px;
  outline: none;
  font-size: 15px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
}

.contact-form button {
  padding: 16px 22px;
}

.footer {
  padding: 34px 20px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatOne {
  0%, 100% {
    transform: translateY(0) rotate(45deg);
  }

  50% {
    transform: translateY(-18px) rotate(45deg);
  }
}

@keyframes floatTwo {
  0%, 100% {
    transform: translateY(0) rotate(45deg);
  }

  50% {
    transform: translateY(16px) rotate(45deg);
  }
}

@keyframes floatThree {
  0%, 100% {
    transform: translateY(0) rotate(45deg);
  }

  50% {
    transform: translateY(-12px) rotate(45deg);
  }
}

@media (max-width: 940px) {
  .nav-wrapper {
    height: 64px;
  }

  .main-nav {
    position: absolute;
    top: 96px;
    left: 20px;
    right: 20px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    text-align: center;
  }

  .nav-group button {
    width: 100%;
    text-align: center;
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    margin-top: 8px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: var(--surface-soft);
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-stats div {
    border-right: 0;
    padding-right: 0;
  }

  .service-grid,
  .shop-grid,
  .news-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .product-showcase {
    min-height: 440px;
  }

  .showcase-object {
    height: 240px;
  }

  .process-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 18px;
  }

  h1 {
    letter-spacing: -1.6px;
  }

  .section,
  .hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .contact-card {
    padding: 26px;
  }

  .shop-price {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Logo MARS no menu */
.brand-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 155px;
  height: 48px;
  min-width: 155px;
  overflow: hidden;
  color: var(--text);
  transition: color 0.25s ease;
}

.site-logo {
  width: 155px;
  height: auto;
  display: block;
  transition: filter 0.25s ease;
}

body.dark .brand-logo-link {
  color: #f4f7fb;
}

body.dark .site-logo {
  filter: invert(1);
}

@media (max-width: 560px) {
  .brand-logo-link {
    width: 120px;
    min-width: 120px;
  }

  .site-logo {
    width: 120px;
  }
}

/* Footer com logo MARS */
.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  width: 130px;
  min-width: 130px;
}

.footer-logo {
  width: 130px;
  height: auto;
  display: block;
  transition: filter 0.25s ease;
}

body.dark .footer-logo {
  filter: invert(1);
}

@media (max-width: 650px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* Corre??o do objecto visual da hero */
.showcase-object {
  height: 300px;
  position: relative;
  display: block;
  overflow: hidden;
}

.cube-one {
  width: 140px;
  height: 140px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  animation: floatOneFixed 5s ease-in-out infinite;
}

.cube-two {
  width: 76px;
  height: 76px;
  left: 26%;
  top: 64%;
  transform: translate(-50%, -50%) rotate(45deg);
  animation: floatTwoFixed 6s ease-in-out infinite;
}

.cube-three {
  width: 62px;
  height: 62px;
  left: 72%;
  top: 30%;
  transform: translate(-50%, -50%) rotate(45deg);
  animation: floatThreeFixed 7s ease-in-out infinite;
}

@keyframes floatOneFixed {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0) rotate(45deg);
  }

  50% {
    transform: translate(-50%, -50%) translateY(-14px) rotate(45deg);
  }
}

@keyframes floatTwoFixed {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0) rotate(45deg);
  }

  50% {
    transform: translate(-50%, -50%) translateY(12px) rotate(45deg);
  }
}

@keyframes floatThreeFixed {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0) rotate(45deg);
  }

  50% {
    transform: translate(-50%, -50%) translateY(-10px) rotate(45deg);
  }
}

/* Alinhar o visual da direita com o texto principal da hero */
.hero-grid {
  align-items: start;
}

.hero-content {
  padding-top: 70px;
}

.hero-visual {
  align-items: flex-start;
  padding-top: 40px;
}

.product-showcase {
  min-height: 430px;
  max-width: 430px;
}

.showcase-object {
  height: 245px;
}

@media (max-width: 940px) {
  .hero-content {
    padding-top: 0;
  }

  .hero-visual {
    padding-top: 0;
  }
}

/* For?ar hero em 2 colunas no desktop */
.hero-grid {
  grid-template-columns: minmax(420px, 1fr) 430px !important;
  align-items: center !important;
  gap: 70px !important;
}

.hero-content {
  padding-top: 0 !important;
}

.hero-visual {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  padding-top: 0 !important;
}

.product-showcase {
  width: 430px !important;
  max-width: 430px !important;
  min-height: 430px !important;
}

@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .hero-visual {
    justify-content: center !important;
  }

  .product-showcase {
    width: min(430px, 100%) !important;
  }
}

/* HERO FINAL - texto ? esquerda e visual centrado ? direita */
.hero {
  padding-top: 70px !important;
}

.hero-grid {
  width: min(1180px, calc(100% - 40px)) !important;
  margin: 0 auto !important;
  min-height: calc(100vh - 170px) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 430px !important;
  align-items: center !important;
  gap: 70px !important;
}

.hero-content {
  padding-top: 0 !important;
  align-self: center !important;
}

.hero-visual {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  align-self: center !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.product-showcase {
  width: 430px !important;
  max-width: 430px !important;
  min-height: 430px !important;
  margin: 0 !important;
}

.hero h1 {
  max-width: 620px !important;
}

.hero-description {
  max-width: 560px !important;
}

@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .hero-visual {
    justify-content: center !important;
  }

  .product-showcase {
    width: min(430px, 100%) !important;
  }
}

/* Slideshow de fotos no cart?o principal */
.image-showcase {
  overflow: hidden;
}

.photo-slider {
  position: relative;
  width: 100%;
  height: 260px;
  border-radius: 26px;
  overflow: hidden;
  background: var(--surface-soft);
  margin: 20px 0;
}

.photo-slider .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.8s ease, transform 1.4s ease;
}

.photo-slider .slide.active {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 760px) {
  .photo-slider {
    height: 240px;
  }
}

/* Cart?o principal s? com imagem */
.product-showcase.image-showcase {
  padding: 14px !important;
  min-height: auto !important;
  background: var(--surface) !important;
}

.photo-slider {
  position: relative;
  width: 100%;
  height: 430px !important;
  margin: 0 !important;
  border-radius: 30px !important;
  overflow: hidden !important;
  background: transparent !important;
}

.photo-slider .slide {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center !important;
}

/* efeito suave nas pontas para esconder a sensa??o de borda */
.photo-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, var(--surface) 0%, transparent 10%, transparent 90%, var(--surface) 100%),
    linear-gradient(to bottom, var(--surface) 0%, transparent 10%, transparent 90%, var(--surface) 100%);
}

@media (max-width: 760px) {
  .photo-slider {
    height: 360px !important;
  }
}

/* HERO visual limpo - sem cart?o */
.clean-hero-visual {
  justify-content: center !important;
  align-items: center !important;
}

.floating-photo-frame {
  width: min(440px, 100%);
  height: 500px;
  position: relative;
  border-radius: 42px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

.clean-slider {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  border-radius: 42px !important;
  overflow: hidden !important;
  background: transparent !important;
}

.clean-slider .slide {
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 42px !important;
  filter: saturate(1.04) contrast(1.02);
}

.clean-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 48%, var(--bg) 96%),
    linear-gradient(to right, var(--bg) 0%, transparent 14%, transparent 86%, var(--bg) 100%),
    linear-gradient(to bottom, var(--bg) 0%, transparent 12%, transparent 88%, var(--bg) 100%);
}

.floating-photo-frame::before {
  content: "";
  position: absolute;
  inset: 12%;
  z-index: -1;
  background: var(--accent-soft);
  filter: blur(55px);
  border-radius: 50%;
  opacity: 0.9;
}

.hero-content.changing {
  opacity: 0;
  transform: translateY(10px);
}

.hero-content {
  transition: opacity 0.55s ease, transform 0.55s ease;
}

@media (max-width: 760px) {
  .floating-photo-frame {
    height: 420px;
  }
}

/* HERO PROFISSIONAL FINAL - imagem limpa, centrada e sincronizada */
.hero {
  padding: 72px 20px 80px !important;
}

.hero-grid {
  width: min(1180px, calc(100% - 40px)) !important;
  min-height: calc(100vh - 210px) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 460px !important;
  align-items: center !important;
  gap: 86px !important;
}

.hero-content {
  align-self: center !important;
  max-width: 650px !important;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-content.changing {
  opacity: 0;
  transform: translateY(12px);
}

.hero h1 {
  max-width: 650px !important;
  font-size: clamp(44px, 5.2vw, 72px) !important;
  line-height: 0.98 !important;
  letter-spacing: -3px !important;
}

.hero-description {
  max-width: 590px !important;
}

.clean-hero-visual {
  height: 100% !important;
  min-height: 520px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.floating-photo-frame {
  width: 460px !important;
  height: 520px !important;
  position: relative !important;
  border-radius: 38px !important;
  overflow: visible !important;
  background: transparent !important;
  box-shadow: none !important;
}

.clean-slider {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  border-radius: 38px !important;
  overflow: hidden !important;
  background: transparent !important;
}

.clean-slider .slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 38px !important;
  opacity: 0;
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.03);
  transition: opacity 0.85s ease, transform 1.4s ease, filter 0.85s ease;
}

.clean-slider .slide.active {
  opacity: 1;
  transform: scale(1);
}

/* bordas muito mais subtis */
.clean-slider::after,
.photo-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    linear-gradient(to right, var(--bg) 0%, transparent 4%, transparent 96%, var(--bg) 100%),
    linear-gradient(to bottom, var(--bg) 0%, transparent 4%, transparent 96%, var(--bg) 100%);
}

/* brilho discreto atr?s da imagem */
.floating-photo-frame::before {
  content: "";
  position: absolute;
  inset: 12%;
  z-index: -1;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  filter: blur(70px);
  border-radius: 50%;
  opacity: 0.7;
}

@media (max-width: 940px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 44px !important;
    text-align: center !important;
  }

  .hero-content {
    margin: 0 auto !important;
  }

  .hero-buttons {
    justify-content: center !important;
  }

  .clean-hero-visual {
    min-height: auto !important;
  }

  .floating-photo-frame {
    width: min(460px, 100%) !important;
    height: 440px !important;
  }
}

/* Remover bordas redondas da imagem principal */
.floating-photo-frame,
.clean-slider,
.clean-slider .slide,
.photo-slider,
.photo-slider .slide {
  border-radius: 0 !important;
}

/* Remover bordas redondas da imagem principal */
.floating-photo-frame,
.clean-slider,
.clean-slider .slide,
.photo-slider,
.photo-slider .slide {
  border-radius: 5 !important;
}

/* Remover bordas redondas da imagem principal */
.floating-photo-frame,
.clean-slider,
.clean-slider .slide,
.photo-slider,
.photo-slider .slide {
  border-radius: 10 !important;
}

/* Remover bordas redondas da imagem principal */
.floating-photo-frame,
.clean-slider,
.clean-slider .slide,
.photo-slider,
.photo-slider .slide {
  border-radius: 10;
}

/* Remover bordas redondas da imagem principal */
.floating-photo-frame,
.clean-slider,
.clean-slider .slide,
.photo-slider,
.photo-slider .slide {
  border-radius: 10px !important;
}

/* Efeitos profissionais para imagem e texto din?mico */
.hero-content {
  transition: opacity 0.55s ease, transform 0.55s ease, filter 0.55s ease;
}

.hero-content.changing {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(3px);
}

.floating-photo-frame {
  animation: marsFloat 7s ease-in-out infinite;
}

.clean-slider .slide {
  opacity: 0;
  transform: scale(1.08) translateY(10px);
  filter: saturate(0.95) contrast(1.02) blur(2px);
  transition:
    opacity 1s ease,
    transform 4.6s ease,
    filter 1s ease;
}

.clean-slider .slide.active {
  opacity: 1;
  transform: scale(1.015) translateY(0);
  filter: saturate(1.06) contrast(1.04) blur(0);
}

.clean-slider::after,
.photo-slider::after {
  background:
    linear-gradient(to right, var(--bg) 0%, transparent 2%, transparent 98%, var(--bg) 100%),
    linear-gradient(to bottom, var(--bg) 0%, transparent 2%, transparent 98%, var(--bg) 100%);
}

@keyframes marsFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Cart?es de servi?o com ac??o */
.service-card-action {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 310px;
}

.service-card-action p {
  margin-bottom: 28px;
}

.service-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 14px;
  font-weight: 800;
  transition: 0.25s ease;
}

.service-link:hover {
  transform: translateY(-3px);
  opacity: 0.92;
}

/* P?gina Simulador 3D */
.simulator-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 110px;
}

.simulator-hero {
  max-width: 760px;
  margin-bottom: 44px;
}

.simulator-hero span,
.result-card > span {
  display: inline-flex;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
}

.simulator-hero h1 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -3px;
  margin-bottom: 20px;
}

.simulator-hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.simulator-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}

.simulator-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.simulator-card h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.simulator-card p {
  color: var(--muted);
  line-height: 1.7;
}

.file-drop {
  margin-top: 24px;
  min-height: 180px;
  border: 1px dashed var(--border);
  border-radius: 24px;
  background: var(--surface-soft);
  display: grid;
  place-items: center;
  text-align: center;
  cursor: pointer;
  padding: 24px;
  transition: 0.25s ease;
}

.file-drop:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.file-drop input {
  display: none;
}

.file-drop strong {
  display: block;
  margin-bottom: 8px;
}

.file-drop small,
.file-note {
  color: var(--muted);
}

.file-note {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.6;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.form-grid label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.form-grid input,
.form-grid select {
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text);
  border-radius: 16px;
  padding: 14px;
  outline: none;
}

.simulate-btn,
.result-link {
  margin-top: 22px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 16px 20px;
  background: var(--text);
  color: var(--bg);
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s ease;
  display: inline-flex;
  justify-content: center;
}

.simulate-btn:hover,
.result-link:hover {
  transform: translateY(-3px);
}

.result-card {
  display: flex;
  flex-direction: column;
}

.result-card h2 {
  font-size: 48px;
  letter-spacing: -2px;
}

.result-lines {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.result-lines div {
  padding: 16px;
  border-radius: 18px;
  background: var(--surface-soft);
}

.result-lines strong {
  display: block;
  margin-bottom: 5px;
}

.result-lines small {
  color: var(--muted);
}

.result-link {
  margin-top: auto;
  text-decoration: none;
}

@media (max-width: 980px) {
  .simulator-layout {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* P?gina Pedido T?cnico */
.technical-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 110px;
}

.technical-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 70px;
  align-items: center;
  margin-bottom: 54px;
}

.technical-hero span {
  display: inline-flex;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
}

.technical-hero h1 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -3px;
  margin-bottom: 20px;
}

.technical-hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
  max-width: 650px;
}

.technical-image {
  height: 420px;
  overflow: hidden;
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.technical-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tracefinity-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: stretch;
  margin: 0 0 28px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 116, 24, 0.12), transparent 42%),
    var(--surface);
  box-shadow: var(--shadow);
}

.tracefinity-copy {
  display: grid;
  align-content: center;
  gap: 10px;
}

.tracefinity-copy span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.tracefinity-copy h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -1.2px;
}

.tracefinity-copy p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.7;
}

.tracefinity-access-card {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface-soft) 84%, transparent);
}

.tracefinity-status {
  display: grid;
  gap: 6px;
}

.tracefinity-status strong {
  font-size: 17px;
}

.tracefinity-status span {
  color: var(--muted);
  line-height: 1.5;
}

.tracefinity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tracefinity-actions button {
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  background: var(--text);
  color: var(--bg);
  font-weight: 900;
  cursor: pointer;
}

.tracefinity-actions button[data-tracefinity-open] {
  background: var(--accent);
  color: #111;
}

.tracefinity-frame-wrap {
  grid-column: 1 / -1;
  overflow: hidden;
  height: min(78vh, 780px);
  min-height: 560px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #11151b;
}

.tracefinity-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.gridai-page {
  width: 100%;
  min-height: calc(100vh - 90px);
  margin: 0 auto;
  padding: 0;
}

.gridai-shell {
  position: relative;
  min-height: calc(100vh - 90px);
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 116, 24, 0.14), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 92%, transparent), var(--surface-soft));
  box-shadow: none;
}

.gridai-locked {
  min-height: calc(100vh - 90px);
  display: grid;
  place-items: center;
  padding: 28px;
}

.gridai-locked[hidden],
.gridai-workspace[hidden] {
  display: none !important;
}

.gridai-lock-card {
  width: min(620px, 100%);
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--border);
  border-radius: 26px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 26px 80px rgba(17, 17, 17, 0.12);
  text-align: center;
}

.gridai-lock-card span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.gridai-lock-card h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -1.6px;
  margin-bottom: 16px;
}

.gridai-lock-card p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 auto 24px;
}

.gridai-lock-actions {
  display: flex;
  justify-content: center;
}

.gridai-lock-actions button {
  border: 0;
  border-radius: 999px;
  padding: 15px 22px;
  background: var(--text);
  color: var(--bg);
  font-weight: 900;
  cursor: pointer;
  transition: 0.25s ease;
}

.gridai-lock-actions button:hover {
  transform: translateY(-2px);
}

.gridai-workspace {
  height: calc(100vh - 90px);
  min-height: 0;
  background: #0f172a;
}

.gridai-toolbar {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(180deg, #111827, #0f172a);
  color: #f8fafc;
}

.gridai-toolbar div {
  display: grid;
  gap: 2px;
  margin-right: auto;
}

.gridai-toolbar strong {
  font-size: 13px;
  letter-spacing: 0;
}

.gridai-toolbar span {
  color: #cbd5e1;
  font-size: 12px;
}

.gridai-bed-settings,
.gridai-simulator-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 800;
}

.gridai-bed-settings svg {
  color: #f8fafc;
  flex: 0 0 auto;
}

.gridai-bed-settings button,
.gridai-simulator-link {
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 12px;
  padding: 8px 10px;
  background: #020617;
  color: #f8fafc;
  font: inherit;
  text-decoration: none;
  outline: none;
  cursor: pointer;
}

.gridai-bed-settings button.active {
  border-color: rgba(249, 115, 22, 0.75);
  background: rgba(249, 115, 22, 0.18);
  color: #fed7aa;
}

.gridai-workspace iframe {
  width: 100%;
  height: calc(100% - 58px);
  border: 0;
  display: block;
  background: #0f172a;
}

.gridai-export-message {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  width: min(420px, calc(100% - 36px));
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.94);
  color: #dcfce7;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  font-size: 13px;
  font-weight: 800;
}

.gridai-export-message.error {
  border-color: rgba(220, 38, 38, 0.35);
  color: #fecaca;
}

.technical-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.technical-form,
.technical-side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.technical-form {
  padding: 30px;
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.technical-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.technical-form input,
.technical-form select,
.technical-form textarea {
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text);
  border-radius: 16px;
  padding: 15px;
  outline: none;
  font-size: 15px;
}

.technical-form textarea {
  min-height: 160px;
  resize: vertical;
}

.technical-upload {
  min-height: 150px;
  border: 1px dashed var(--border);
  border-radius: 22px;
  background: var(--surface-soft);
  display: grid;
  place-items: center;
  text-align: center;
  cursor: pointer;
  padding: 24px;
}

.technical-upload input {
  display: none;
}

.technical-upload strong {
  color: var(--text);
  font-size: 18px;
}

.technical-upload small {
  color: var(--muted);
  font-weight: 600;
}

.technical-form button {
  border: 0;
  border-radius: 999px;
  padding: 16px 22px;
  background: var(--text);
  color: var(--bg);
  font-weight: 900;
  cursor: pointer;
  transition: 0.25s ease;
}

.technical-form button:hover {
  transform: translateY(-3px);
}

.technical-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.technical-side-card {
  padding: 28px;
}

.technical-side-card h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

.technical-side-card ul {
  display: grid;
  gap: 14px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 940px) {
  .gridai-toolbar {
    height: auto;
    flex-wrap: wrap;
  }

  .gridai-toolbar div {
    width: 100%;
  }

  .gridai-bed-settings {
    flex: 1 1 210px;
  }

  .gridai-bed-settings button,
  .gridai-simulator-link {
    flex: 1 1 auto;
  }

  .gridai-workspace iframe {
    height: calc(100% - 116px);
  }

  .technical-hero,
  .technical-layout,
  .tracefinity-panel,
  .form-row {
    grid-template-columns: 1fr;
  }

  .technical-image {
    height: 360px;
  }

  .tracefinity-frame-wrap {
    min-height: 620px;
  }
}

/* P?gina Loja MARS */
.store-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 110px;
}

.store-hero {
  max-width: 760px;
  margin-bottom: 34px;
}

.store-hero span {
  display: inline-flex;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
}

.store-hero h1 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -3px;
  margin-bottom: 20px;
}

.store-hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.store-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.store-filters button {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  border-radius: 999px;
  padding: 12px 17px;
  font-weight: 800;
  cursor: pointer;
}

.store-filters button.active,
.store-filters button:hover {
  background: var(--text);
  color: var(--bg);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.store-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.25s ease;
}

.store-card:hover {
  transform: translateY(-8px);
}

.store-image {
  height: 260px;
  background: var(--surface-soft);
  overflow: hidden;
}

.store-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.store-info {
  padding: 24px;
}

.store-info small {
  display: inline-flex;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 7px 11px;
  border-radius: 999px;
  font-weight: 900;
  margin-bottom: 14px;
}

.store-info h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.store-info p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 22px;
}

.store-info div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.store-info strong {
  color: var(--accent-dark);
}

.store-info a {
  display: inline-flex;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 900;
  font-size: 14px;
}

@media (max-width: 980px) {
  .store-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .store-grid {
    grid-template-columns: 1fr;
  }

  .store-info div {
    flex-direction: column;
    align-items: stretch;
  }

  .store-info a {
    justify-content: center;
  }
}

.hidden {
  display: none !important;
}

.account-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 110px;
}

.account-hero {
  max-width: 740px;
  margin-bottom: 34px;
}

.account-hero span,
.account-panel-heading span {
  display: inline-flex;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.account-hero h1 {
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.96;
  letter-spacing: -2px;
  margin-bottom: 18px;
}

.account-hero p,
.account-panel-heading p {
  color: var(--muted);
  line-height: 1.75;
}

.account-auth-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 22px;
  align-items: start;
}

.account-panel,
.account-dashboard {
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.account-panel {
  padding: 28px;
}

.account-panel-heading h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.account-form {
  display: grid;
  gap: 15px;
}

.account-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-form-inline {
  grid-template-columns: 1fr 180px auto;
  align-items: end;
}

.account-form .full,
.account-form fieldset {
  grid-column: 1 / -1;
}

.account-form label,
.account-form fieldset {
  display: grid;
  gap: 7px;
}

.account-form label > span,
.account-form legend {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.4px;
}

.account-form input,
.account-form select,
.account-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--text);
  padding: 12px 14px;
  outline: none;
}

.account-form textarea {
  resize: vertical;
}

.account-form input:focus,
.account-form select:focus,
.account-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}

.account-form button,
.account-sidebar button,
.orders-table button {
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  padding: 14px 18px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s ease;
}

.account-form button:hover,
.account-sidebar button:hover {
  transform: translateY(-2px);
}

.account-link-button {
  background: transparent !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
}

.account-check {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 10px !important;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.account-check input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.phone-field {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
}

.phone-field strong {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-soft);
}

.account-status {
  display: none;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.account-status.sending,
.account-status.success,
.account-status.error {
  display: block;
}

.account-status.sending {
  background: color-mix(in srgb, #2563eb 10%, var(--surface));
  color: #1d4ed8;
}

.account-status.success {
  background: color-mix(in srgb, #16a34a 11%, var(--surface));
  color: #15803d;
}

.account-status.error {
  background: color-mix(in srgb, #dc2626 10%, var(--surface));
  color: #b91c1c;
}

.account-flow-panel {
  margin-top: 22px;
}

.account-dashboard {
  display: grid;
  grid-template-columns: 260px 1fr;
  overflow: hidden;
}

.account-sidebar {
  padding: 24px;
  border-right: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-soft) 70%, transparent);
  display: grid;
  align-content: start;
  gap: 10px;
}

.account-sidebar div {
  padding-bottom: 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.account-sidebar span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 5px;
}

.account-sidebar strong {
  display: block;
  font-size: 20px;
}

.account-sidebar button {
  text-align: left;
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
}

.account-sidebar button.active,
.account-sidebar button:hover {
  color: var(--text);
  border-color: var(--border);
  background: var(--surface);
}

.account-content {
  padding: 28px;
}

.account-tab {
  display: none;
}

.account-tab.active {
  display: block;
}

.orders-table-wrap {
  overflow-x: auto;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.orders-table th,
.orders-table td {
  text-align: left;
  border-bottom: 1px solid var(--border);
  padding: 14px 12px;
  font-size: 14px;
}

.orders-table th {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.orders-table td span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 900;
}

.orders-table button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.account-form fieldset {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  display: grid;
  gap: 12px;
}

.account-form fieldset textarea {
  grid-column: 1 / -1;
}

.account-password-box {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.wishlist-empty {
  padding: 24px;
  border: 1px dashed var(--border);
  border-radius: 18px;
  color: var(--muted);
  background: var(--surface-soft);
}

.account-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  padding: 24px;
  background: rgba(13, 18, 27, 0.58);
  backdrop-filter: blur(18px);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.account-modal-overlay.visible {
  opacity: 1;
}

.account-modal {
  width: min(460px, 100%);
  max-height: min(86vh, 820px);
  overflow-y: auto;
  scrollbar-width: none;
  border: 1px solid color-mix(in srgb, var(--border) 78%, transparent);
  border-radius: 22px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 98%, transparent), var(--surface)),
    var(--surface);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.34);
  padding: 26px;
  position: relative;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.18s ease;
}

.account-modal::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.account-modal-overlay.visible .account-modal {
  transform: translateY(0) scale(1);
}

.account-modal.wide {
  width: min(840px, 100%);
}

.account-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.account-modal-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-right: 44px;
  margin-bottom: 18px;
}

.account-modal-brand img {
  width: 112px;
  height: auto;
  display: block;
}

.account-modal-heading {
  margin-bottom: 18px;
  text-align: center;
}

.account-modal-heading h2 {
  font-size: 28px;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}

.account-modal-heading p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.account-modal .account-form button[type="submit"] {
  background: linear-gradient(135deg, #111827, #2b3038);
  color: #fff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

body.dark .account-modal .account-form button[type="submit"] {
  background: linear-gradient(135deg, #f7f3ec, #d8d2c9);
  color: #11151b;
}

.account-modal-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--border);
}

.account-modal-switch button {
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  font-weight: 900;
  cursor: pointer;
  padding: 8px 0;
}

.modal-reset-complete {
  margin-top: 0;
}

.password-match {
  min-height: 18px;
  display: block;
  margin-top: 7px;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

.password-match.ok {
  color: #169b57;
}

.password-match.bad {
  color: #c2410c;
}

@media (max-width: 920px) {
  .account-auth-grid,
  .account-dashboard {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .account-form-inline,
  .account-form-grid {
    grid-template-columns: 1fr;
  }

  .account-form fieldset {
    grid-template-columns: 1fr;
  }

  .account-modal .account-form-inline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .account-page {
    width: min(100% - 24px, 1180px);
    padding-top: 44px;
  }

  .account-panel,
  .account-content,
  .account-sidebar {
    padding: 18px;
  }

  .account-modal-overlay {
    padding: 12px;
    align-items: end;
  }

  .account-modal {
    max-height: 92vh;
    padding: 22px;
    border-radius: 24px 24px 18px 18px;
  }

  .account-modal-brand img {
    width: 96px;
  }

  .account-modal-heading h2 {
    font-size: 26px;
  }
}

/* P?gina Loja MARS */
.store-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 110px;
}

.store-hero {
  max-width: 760px;
  margin-bottom: 34px;
}

.store-hero span {
  display: inline-flex;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
}

.store-hero h1 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -3px;
  margin-bottom: 20px;
}

.store-hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.store-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.store-filters button {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  border-radius: 999px;
  padding: 12px 17px;
  font-weight: 800;
  cursor: pointer;
}

.store-filters button.active,
.store-filters button:hover {
  background: var(--text);
  color: var(--bg);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.store-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.25s ease;
}

.store-card:hover {
  transform: translateY(-8px);
}

.store-image {
  height: 260px;
  background: var(--surface-soft);
  overflow: hidden;
}

.store-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.store-info {
  padding: 24px;
}

.store-info small {
  display: inline-flex;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 7px 11px;
  border-radius: 999px;
  font-weight: 900;
  margin-bottom: 14px;
}

.store-info h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.store-info p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 22px;
}

.store-info div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.store-info strong {
  color: var(--accent-dark);
}

.store-info a {
  display: inline-flex;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 900;
  font-size: 14px;
}

@media (max-width: 980px) {
  .store-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .store-grid {
    grid-template-columns: 1fr;
  }

  .store-info div {
    flex-direction: column;
    align-items: stretch;
  }

  .store-info a {
    justify-content: center;
  }
}


.store-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(180px, 0.7fr);
  gap: 14px;
  margin: 0 0 24px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.store-toolbar label {
  display: grid;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
}

.store-toolbar input,
.store-toolbar select {
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.beauty-site .store-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.beauty-site .store-card {
  min-height: 0;
  aspect-ratio: 4 / 5;
  max-height: 390px;
}

.beauty-site .store-card .store-info {
  padding: 20px 18px 18px;
}

.beauty-site .store-card .store-info h2 {
  font-size: 20px;
}

.beauty-site .store-card .store-info p {
  font-size: 13px;
}

@media (max-width: 980px) {
  .beauty-site .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .beauty-site .store-grid {
    grid-template-columns: 1fr;
  }
}

.store-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 34px 0 0;
}

.store-empty-card {
  grid-column: 1 / -1;
  max-width: 520px;
  min-height: 128px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.store-empty-mark {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
  background: var(--surface-soft);
  color: var(--accent-dark);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 2px;
}

.store-empty-card h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.store-empty-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.store-pagination button,
.store-pagination span {
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
}

.store-pagination button {
  cursor: pointer;
}

.store-pagination .store-page-edge {
  min-width: 82px;
  padding: 0 14px;
}

.store-pagination button.active {
  background: var(--text);
  color: var(--bg);
}

.store-pagination button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.store-pagination small {
  width: 100%;
  margin-top: 6px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.store-image img,
.store-image video,
.shop-image img,
.shop-image video,
.product-detail-main-media img,
.product-detail-main-media video,
.product-detail-thumbs img,
.product-detail-thumbs video {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  background: var(--surface-soft);
  display: block;
  transform-origin: center !important;
}

.store-image .is-primary-media,
.shop-image .is-primary-media,
.product-detail-main-media .is-primary-media {
  object-fit: contain !important;
  object-position: 50% 50% !important;
}

.product-detail-thumbs .is-primary-media,
.product-detail-thumbs .is-gallery-media,
.product-detail-main-media .is-gallery-media {
  object-fit: contain !important;
  object-position: 50% 50% !important;
  transform: translate(0, 0) scale(1) !important;
}

.product-detail-main-media {
  width: 100%;
  height: 100%;
  transition: opacity 0.18s ease, filter 0.18s ease;
}

.product-detail-main-media.changing {
  opacity: 0;
  filter: blur(8px);
}

.store-image video,
.shop-image video,
.product-detail-main-media video {
  background: #050607;
}

@media (max-width: 720px) {
  .store-toolbar {
    grid-template-columns: 1fr;
  }
}
