﻿:root {
  --green: #177245;
  --green2: #22c55e;
  --dark: #0f172a;
  --line: #e2e8f0;
  --muted: #64748b;
  --white: #fff;
  --shadow: 0 16px 45px rgba(2, 6, 23, 0.14);
  --bg-dark: #020617;
  --bg-green: #052e16;
  --card-dark: rgba(15, 23, 42, 0.82);
  --line-dark: rgba(34, 197, 94, 0.22);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  color: #e2e8f0;
  background: linear-gradient(180deg, #020617 0%, #052e16 55%, #020617 100%);
  line-height: 1.6;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(2, 6, 23, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
}

.site-header.is-scrolled .nav-user-cluster {
  position: relative;
  top: -2px;
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-logo {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green2), #16a34a);
  font-weight: 900;
  color: #052e16;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  font-weight: 900;
}

.brand small {
  font-size: 0.74rem;
  color: #94a3b8;
}

.site-nav {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-item-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-cms-btns {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.1rem;
}

.nav-cms-label-btn,
.nav-cms-href-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
  font-size: 0.95rem;
}

.nav-cms-label-btn:hover,
.nav-cms-href-btn:hover {
  background: rgba(34, 197, 94, 0.35);
  color: #ecfdf5;
}

.site-nav a {
  font-weight: 700;
  font-size: 0.9rem;
  color: #dbe5f0;
  padding: 0.48rem 0.75rem;
  border-radius: 999px;
  transition: 0.2s;
}

.site-nav a:hover {
  background: linear-gradient(135deg, var(--green2), #16a34a);
  color: #05331d;
  transform: translateY(-1px);
}

.site-nav .nav-cta {
  background: rgba(34, 197, 94, 0.22);
  color: #86efac;
}

.site-nav .nav-login {
  background: linear-gradient(135deg, var(--green2), #16a34a);
  color: #05331d;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

/* Botão Login = mesmo visual do link anterior (pill, sem estilo nativo do browser) */
.site-nav button.nav-login.nav-auth-toggle {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: inherit;
  line-height: 1.2;
  padding: 0.48rem 0.75rem;
  border-radius: 999px;
  transition: 0.2s;
  box-shadow: none;
}

.site-nav button.nav-login.nav-auth-toggle:hover {
  background: linear-gradient(135deg, #4ade80, #22c55e);
  color: #052e16;
  transform: translateY(-1px);
}

.site-nav button.nav-login.nav-auth-toggle:focus-visible {
  outline: 2px solid var(--green2);
  outline-offset: 2px;
}

.site-nav .nav-auth-wrap--2fa button.nav-login.nav-auth-toggle {
  background: rgba(34, 197, 94, 0.22);
  color: #86efac;
}

.site-nav .nav-auth-wrap--2fa button.nav-login.nav-auth-toggle:hover {
  background: linear-gradient(135deg, var(--green2), #16a34a);
  color: #05331d;
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  color: #0f172a;
}

.menu-btn i {
  font-size: 1.35rem;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
}

.hero-media {
  background: linear-gradient(105deg, rgba(17, 24, 39, 0.82), rgba(71, 85, 105, 0.72)),
    url("assets/images/reference-hero-site.png") center / cover no-repeat;
}

.hero-overlay {
  background: linear-gradient(93deg, rgba(2, 6, 23, 0.82), rgba(2, 6, 23, 0.44));
}

.bubble {
  position: absolute;
  bottom: -80px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  animation: rise 10s linear infinite;
}

.b1 {
  left: 12%;
  animation-delay: 0s;
}

.b2 {
  left: 34%;
  width: 14px;
  height: 14px;
  animation-delay: 2s;
}

.b3 {
  left: 63%;
  width: 18px;
  height: 18px;
  animation-delay: 4s;
}

.b4 {
  left: 82%;
  width: 26px;
  height: 26px;
  animation-delay: 1s;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  color: #fff;
  padding: 6rem 0;
}

.kicker {
  display: inline-block;
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin-bottom: 1rem;
}

.hero p {
  color: #dbe5f0;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 1.5rem;
  max-width: 700px;
}

.hero-metrics div {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(6px);
  padding: 0.85rem;
}

.hero-metrics strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
}

.hero-metrics span {
  font-size: 0.78rem;
  color: #dbe5f0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.78rem 1.1rem;
  border-radius: 10px;
  font-weight: 800;
  transition: 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green2), #16a34a);
  color: #05331d;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.33);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: 5.3rem 0;
}

.section-light {
  position: relative;
}

.section-light::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.96));
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.section-light .container {
  position: relative;
  z-index: 1;
}

.label {
  display: inline-block;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.panel,
.stats,
.card,
.central-box,
.contact-box,
.step {
  border: 1px solid var(--line-dark);
  background: var(--card-dark);
  border-radius: 20px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
}

.panel {
  padding: 1.4rem;
}

.panel h2,
.services h2,
.gallery h2,
.central-box h2,
.contact-box h2,
.process h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 0.8rem;
}

.panel p {
  color: #cbd5e1;
}

.section-light .label {
  color: #166534;
}

.section-light .panel,
.section-light .stats {
  background: #ffffff;
  border: 1px solid #dbe4ee;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.section-light .panel h2,
.section-light .panel p,
.section-light .panel-list li,
.section-light .stats strong,
.section-light .stats span {
  color: #0f172a;
}

.section-light .stats div {
  border: 1px solid #dbe4ee;
  background: #f8fafc;
}

.panel-list {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
}

.panel-list li {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: #dbe5f0;
  font-weight: 600;
}

.panel-list i {
  color: #16a34a;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  padding: 1.2rem;
}

.stats div {
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 0.9rem;
  background: rgba(2, 6, 23, 0.5);
}

.stats strong {
  display: block;
  font-size: 1.45rem;
  color: #f8fafc;
}

.stats span {
  font-size: 0.82rem;
  color: #94a3b8;
}

.services,
.process {
  background: transparent;
}

.service-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.process-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  padding: 1.1rem;
  transition: 0.22s;
}

.card:hover,
.step:hover {
  transform: translateY(-6px);
}

.card i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #dcfce7;
  color: #166534;
  border-radius: 12px;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p,
.step p {
  color: #cbd5e1;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.shop .card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  overflow: hidden;
}

.shop-image {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: min(240px, 42vw);
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
}

.shop-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  color: #166534;
}

.step {
  padding: 1.2rem;
  transition: 0.22s;
}

.step span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #dcfce7;
  color: #166534;
  font-weight: 900;
  margin-bottom: 1rem;
}

.step h3 {
  margin-bottom: 0.45rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.g-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
  min-height: 240px;
}

.g-card-media-inner {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.g-card-media-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.35s;
}

.g-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.66), transparent 60%);
  pointer-events: none;
}

.g-card figcaption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  color: #fff;
  font-weight: 700;
  z-index: 2;
}

.g-card:hover .g-card-media-inner img {
  transform: scale(1.08);
}

.cms-img-update-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  padding: 0.35rem 0.55rem;
  border: none;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.88);
  color: #e2e8f0;
  border: 1px solid rgba(34, 197, 94, 0.45);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.cms-img-update-btn:hover {
  background: rgba(34, 197, 94, 0.25);
  color: #fff;
}

.shop-image-wrap {
  position: relative;
  width: calc(100% + 2.2rem);
  margin: -1.1rem -1.1rem 0;
  padding: 0.75rem 0.65rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(200px, 36vw);
  max-height: min(280px, 48vw);
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
  background: #fff;
}

.shop-image-wrap .shop-image {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: min(240px, 40vw);
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0;
}

@media (min-width: 900px) {
  .shop-image-wrap {
    min-height: 220px;
    max-height: 300px;
  }

  .shop-image-wrap .shop-image,
  .shop-image {
    max-height: 260px;
  }
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 0.5rem 0 0.85rem;
}

.shop-search-label {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 14px;
  border: 1px solid var(--line-dark);
  background: rgba(15, 23, 42, 0.55);
  color: #94a3b8;
}

.shop-search-label i {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.shop-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: #f1f5f9;
  font: inherit;
  font-size: 0.95rem;
  outline: none;
}

.shop-search-input::placeholder {
  color: #64748b;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.card.card-shop .shop-amazon {
  margin-top: auto;
  align-self: stretch;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 999px;
  padding: 0.78rem 1.15rem;
  background: linear-gradient(180deg, #ffa14d, #ff7518);
  color: #0f172a !important;
  border: 1px solid rgba(194, 65, 12, 0.5);
  box-shadow: 0 8px 22px rgba(234, 88, 12, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transform: none;
  line-height: 1.25;
}

.card.card-shop .shop-amazon:hover {
  filter: brightness(1.05);
  color: #020617 !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(234, 88, 12, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

body[data-vm5-cms="1"] .card.card-shop .shop-desc[data-portal-shop-id] {
  min-height: 3rem;
  padding: 0.4rem 0.35rem;
  border-radius: 10px;
  border: 1px dashed rgba(148, 163, 184, 0.4);
  cursor: text;
}

body[data-vm5-cms="1"] .card.card-shop .shop-desc[data-portal-shop-id].cms-editing {
  border-style: solid;
  border-color: rgba(34, 197, 94, 0.55);
  outline: none;
}

.shop-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  margin: 0.35rem 0 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--line-dark);
  background: rgba(15, 23, 42, 0.45);
}

.shop-filter-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-right: 0.25rem;
}

.shop-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(30, 41, 59, 0.6);
  color: #e2e8f0;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.shop-filter-btn:hover {
  border-color: rgba(34, 197, 94, 0.45);
  color: #fff;
}

.shop-filter-btn.is-active {
  background: rgba(34, 197, 94, 0.22);
  border-color: rgba(34, 197, 94, 0.55);
  color: #ecfccb;
}

.shop-filter-btn--icon {
  padding: 0.45rem 0.55rem;
  font-size: 1.15rem;
  line-height: 1;
}

.shop-filter-btn--text {
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
  white-space: nowrap;
}

.shop-filter-hidden {
  display: none !important;
}

.shop-grid .shop-image[data-shop-lightbox-src] {
  cursor: zoom-in;
}

body[data-vm5-cms="1"] .shop-grid .shop-image[data-portal-shop-id] {
  cursor: default;
}

.shop-lightbox {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}

.shop-lightbox[hidden] {
  display: none !important;
}

.shop-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(2, 6, 23, 0.82);
  cursor: pointer;
}

.shop-lightbox__dialog {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1100px);
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-lightbox__img {
  max-width: 100%;
  max-height: min(88vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.shop-lightbox__close {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.92);
  color: #e2e8f0;
  cursor: pointer;
  font-size: 1.1rem;
}

.shop-lightbox__close:hover {
  background: rgba(30, 41, 59, 0.98);
  color: #fff;
}

.shop-filter-types-admin {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line-dark);
  background: rgba(15, 23, 42, 0.35);
}

.shop-filter-types-admin__title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #e2e8f0;
}

.shop-filter-types-admin__hint {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.45;
}

.shop-filter-types-admin__list {
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0;
}

.shop-filter-types-admin__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.shop-filter-types-admin__item:last-child {
  border-bottom: none;
}

.shop-filter-types-admin__label {
  font-size: 0.88rem;
  color: #f1f5f9;
  font-weight: 600;
}

.shop-filter-types-admin__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.shop-filter-types-admin__btn {
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(30, 41, 59, 0.65);
  color: #e2e8f0;
  cursor: pointer;
}

.shop-filter-types-admin__btn:hover {
  border-color: rgba(34, 197, 94, 0.45);
  color: #fff;
}

.shop-filter-types-admin__btn--danger {
  border-color: rgba(248, 113, 113, 0.45);
  color: #fecaca;
}

.shop-filter-types-admin__btn--danger:hover {
  border-color: rgba(239, 68, 68, 0.65);
  color: #fff;
}

.cms-shop-add-btn--small {
  font-size: 0.82rem;
  padding: 0.45rem 0.85rem;
}

.cms-shop-filtercat-btn {
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.5rem;
  border-radius: 8px;
  border: 1px solid rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.12);
  color: #bbf7d0;
  cursor: pointer;
}

.cms-shop-filtercat-btn:hover {
  background: rgba(34, 197, 94, 0.22);
  color: #ecfccb;
}

.shop-empty-hint {
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.shop-icon-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.15rem;
}

.shop-type-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #dcfce7;
  color: #166534;
  flex-shrink: 0;
}

.shop-type-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.cms-shop-add-btn {
  padding: 0.5rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.18);
  color: #ecfccb;
  font-weight: 800;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
}

.cms-shop-add-btn:hover {
  background: rgba(34, 197, 94, 0.28);
  color: #fff;
}

.cms-shop-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(30, 41, 59, 0.75);
  color: #cbd5e1;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.cms-shop-icon-btn:hover {
  border-color: rgba(34, 197, 94, 0.45);
  color: #fff;
}

.cms-shop-remove-btn {
  margin-left: auto;
  padding: 0.28rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(127, 29, 29, 0.25);
  color: #fecaca;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.cms-shop-remove-btn:hover {
  background: rgba(185, 28, 28, 0.35);
  color: #fff;
}

.shop-image-wrap .cms-img-update-btn {
  top: 10px;
  right: 10px;
}

.central-box {
  text-align: center;
  padding: 2rem;
}

.central-box i {
  font-size: 2rem;
  color: var(--green);
  display: block;
  margin-bottom: 0.5rem;
}

.central-box p {
  max-width: 760px;
  margin: 0.8rem auto 0;
  color: #cbd5e1;
}

.brand-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem 1.25rem;
  align-items: start;
  justify-items: center;
  text-align: center;
}

.brand-card {
  border: 1px solid var(--line-dark);
  background: var(--card-dark);
  border-radius: 16px;
  padding: 0.75rem 0.65rem 1rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  max-width: 160px;
  width: 100%;
}

.brand-card-media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  background: rgba(2, 6, 23, 0.45);
  margin-bottom: 0.5rem;
}

.brand-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-card-name {
  font-size: 0.78rem;
  font-weight: 800;
  color: #e2e8f0;
  line-height: 1.25;
  margin: 0;
  word-break: break-word;
}

.cms-hoverable {
  cursor: text;
  outline: 1px dashed transparent;
  border-radius: 6px;
  transition: outline-color 0.15s;
}

.cms-hoverable:hover {
  outline-color: rgba(34, 197, 94, 0.45);
}

.cms-editing {
  outline: 2px solid var(--green2) !important;
  background: rgba(34, 197, 94, 0.08);
}

.cms-img-editable {
  cursor: pointer;
  outline: 2px dashed transparent;
  border-radius: 12px;
  transition: outline-color 0.15s;
}

.cms-img-editable:hover {
  outline-color: rgba(34, 197, 94, 0.55);
}

.contact {
  padding-top: 1.4rem;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.6rem;
}

.contact-box p {
  color: #cbd5e1;
}

.site-footer {
  border-top: 1px solid var(--line-dark);
  background: rgba(2, 6, 23, 0.86);
  padding: 1rem 0;
  color: #94a3b8;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.foot a {
  color: var(--green);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s, transform 0.65s;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroFade {
  0%,
  30% {
    opacity: 1;
  }
  33%,
  100% {
    opacity: 0;
  }
}

@keyframes rise {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 0.85;
  }
  100% {
    transform: translateY(-110vh);
    opacity: 0;
  }
}

.ai-float {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #052e16;
  font-weight: 900;
  padding: 0.78rem 1rem;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(34, 197, 94, 0.45);
  border: 0;
  cursor: pointer;
}

.ai-float i {
  font-size: 1.2rem;
}

.ai-widget {
  position: fixed;
  right: 20px;
  bottom: 84px;
  width: min(360px, calc(100% - 24px));
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #dbe4ee;
  box-shadow: 0 24px 44px rgba(2, 6, 23, 0.3);
  overflow: hidden;
  z-index: 90;
  display: none;
}

.ai-widget.is-open {
  display: block;
}

.ai-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0.9rem;
  background: #0f172a;
  color: #fff;
}

.ai-close {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.ai-body {
  padding: 0.8rem;
  max-height: 280px;
  overflow: auto;
  display: grid;
  gap: 0.5rem;
}

.ai-msg {
  max-width: 90%;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  font-size: 0.88rem;
  line-height: 1.4;
}

.ai-msg.bot {
  background: #f1f5f9;
  color: #0f172a;
}

.ai-msg.user {
  margin-left: auto;
  background: #dcfce7;
  color: #052e16;
}

.ai-form {
  border-top: 1px solid #e2e8f0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  padding: 0.7rem;
}

.ai-input {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.58rem 0.65rem;
  font: inherit;
}

.ai-send {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #052e16;
  padding: 0 0.75rem;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .service-grid,
  .gallery-grid,
  .shop-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .menu-btn {
    display: grid;
    place-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

  .site-nav a {
    border-radius: 10px;
    color: #0f172a;
    background: transparent;
  }

  .site-nav a:hover {
    background: #f1f5f9;
    color: #0f172a;
    transform: none;
  }

  .site-nav .nav-cta {
    background: linear-gradient(180deg, #ff9f4a, #ff6b00);
    color: #111827 !important;
    box-shadow: 0 6px 18px rgba(234, 88, 12, 0.4);
    border: 1px solid rgba(194, 65, 12, 0.45);
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .site-nav .nav-cta:hover {
    filter: brightness(1.04);
    color: #0f172a !important;
  }

  .site-nav .nav-auth-wrap--2fa button.nav-login.nav-auth-toggle {
    background: linear-gradient(135deg, var(--green2), #16a34a);
    color: #052e16;
  }

  .site-nav .nav-cms-label-btn,
  .site-nav .nav-cms-href-btn {
    background: #ecfdf5;
    color: #166534;
    border: 1px solid #bbf7d0;
  }

  .site-nav .nav-cms-label-btn:hover,
  .site-nav .nav-cms-href-btn:hover {
    background: #dcfce7;
    color: #14532d;
  }

  .site-nav.is-open {
    display: flex;
  }

  .two-col,
  .contact-box,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 75vh;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .ai-float span {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 26px, 1160px);
  }

  .site-nav,
  .two-col,
  .service-grid,
  .gallery-grid,
  .shop-grid,
  .process-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 12vw, 3.5rem);
  }
}

/* Auth dropdown (portal) */
.nav-auth-wrap {
  position: relative;
  z-index: 36;
}

.nav-auth-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(300px, calc(100vw - 40px));
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: #0f172a;
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow);
}

.nav-auth-panel.is-open {
  display: block;
}

.nav-auth-hint {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

.nav-auth-err {
  font-size: 0.85rem;
  color: #fecaca;
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(248, 113, 113, 0.35);
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  margin-bottom: 0.65rem;
}

.nav-auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.nav-auth-label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #cbd5e1;
}

.nav-auth-input {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #020617;
  color: #f1f5f9;
  font: inherit;
  font-size: 0.92rem;
}

.nav-auth-input:focus {
  outline: none;
  border-color: var(--green2);
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
}

.nav-auth-input-code {
  letter-spacing: 0.25em;
  text-align: center;
  font-weight: 700;
}

.nav-auth-trust,
.nav-auth-remember {
  font-size: 0.78rem;
  color: #94a3b8;
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  line-height: 1.35;
  cursor: pointer;
}

.nav-auth-trust input,
.nav-auth-remember input {
  margin-top: 0.2rem;
  accent-color: var(--green2);
  flex-shrink: 0;
}

.nav-auth-submit {
  margin-top: 0.15rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  background: linear-gradient(135deg, var(--green2), #16a34a);
  color: #052e16;
}

.nav-auth-submit:hover {
  filter: brightness(1.05);
}

.nav-auth-cancel {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: #94a3b8;
  text-decoration: underline;
}

.nav-auth-cancel:hover {
  color: #e2e8f0;
}

.nav-user-cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  padding: 0.45rem 0.65rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--line-dark);
  align-self: center;
  max-width: min(100%, 420px);
  position: relative;
}

.nav-user-name {
  font-weight: 800;
  font-size: 0.88rem;
  color: #e2e8f0;
  max-width: min(280px, 42vw);
  line-height: 1.25;
  word-break: break-word;
  white-space: normal;
  align-self: center;
}

.nav-app-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #86efac;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.15);
}

.nav-app-shortcut:hover {
  background: rgba(34, 197, 94, 0.28);
  color: #bbf7d0;
}

.nav-logout-form {
  display: inline;
  margin: 0;
}

.btn-nav-logout {
  cursor: pointer;
  border: none;
  border-radius: 999px;
  padding: 0.42rem 0.85rem;
  font: inherit;
  font-weight: 800;
  font-size: 0.8rem;
  background: #dc2626;
  color: #fff;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.btn-nav-logout:hover {
  background: #b91c1c;
}

@media (max-width: 980px) {
  .nav-auth-panel {
    right: auto;
    left: 0;
  }

  .site-nav .nav-user-cluster {
    border-radius: 12px;
    width: 100%;
    justify-content: flex-start;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
  }

  .site-nav .nav-user-name {
    color: #0f172a;
  }

  .site-nav .nav-app-shortcut {
    background: linear-gradient(180deg, #ff9f4a, #ff6b00);
    color: #111827;
    border: 1px solid rgba(194, 65, 12, 0.45);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
  }

  .site-nav .nav-app-shortcut:hover {
    color: #0f172a;
    filter: brightness(1.05);
  }

  .site-nav .nav-auth-toggle,
  .site-nav .nav-user-cluster {
    justify-content: center;
  }
}

/* —— CMS Loja: modal editor + diálogo remover —— */
.portal-shop-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
  box-sizing: border-box;
}

.portal-shop-modal[hidden] {
  display: none !important;
}

.portal-shop-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(6px);
}

.portal-shop-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(92vh, 720px);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: linear-gradient(165deg, #0f172a 0%, #020617 100%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.portal-shop-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(51, 65, 85, 0.65);
}

.portal-shop-modal__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: -0.02em;
}

.portal-shop-modal__close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(30, 41, 59, 0.6);
  color: #e2e8f0;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.portal-shop-modal__close:hover {
  border-color: rgba(34, 197, 94, 0.45);
  color: #fff;
}

.portal-shop-modal__err {
  margin: 0;
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fecaca;
  background: rgba(127, 29, 29, 0.35);
  border-bottom: 1px solid rgba(248, 113, 113, 0.25);
}

.portal-shop-modal__err[hidden] {
  display: none !important;
}

.portal-shop-modal__body {
  padding: 1rem 1.1rem 1.1rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.portal-shop-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.portal-shop-field > span:first-child {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
}

.portal-shop-input,
.portal-shop-textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid rgba(71, 85, 105, 0.85);
  background: rgba(15, 23, 42, 0.85);
  color: #f8fafc;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.55rem 0.75rem;
}

.portal-shop-input:focus,
.portal-shop-textarea:focus {
  outline: none;
  border-color: rgba(34, 197, 94, 0.55);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.portal-shop-textarea {
  resize: vertical;
  min-height: 96px;
}

.portal-shop-file-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.portal-shop-file {
  font-size: 0.85rem;
  color: #cbd5e1;
}

.portal-shop-file-hint {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.35;
}

.portal-shop-f-preview {
  margin-top: 0.5rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(51, 65, 85, 0.8);
  max-height: 160px;
  background: #020617;
}

.portal-shop-f-preview img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.portal-shop-fieldset {
  margin: 0;
  padding: 0.75rem 0.85rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(51, 65, 85, 0.75);
  background: rgba(15, 23, 42, 0.5);
}

.portal-shop-legend {
  padding: 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #cbd5e1;
}

.portal-shop-legend-hint {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.4;
}

.portal-shop-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 0.45rem;
}

.portal-shop-icon-pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.35rem;
  border-radius: 12px;
  border: 1px solid rgba(71, 85, 105, 0.75);
  background: rgba(30, 41, 59, 0.55);
  color: #e2e8f0;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: inherit;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.12s;
}

.portal-shop-icon-pick i {
  font-size: 1.35rem;
  color: #86efac;
}

.portal-shop-icon-pick span {
  text-align: center;
  hyphens: auto;
}

.portal-shop-icon-pick:hover {
  border-color: rgba(34, 197, 94, 0.45);
  transform: translateY(-1px);
}

.portal-shop-icon-pick.is-selected {
  border-color: rgba(34, 197, 94, 0.75);
  background: rgba(34, 197, 94, 0.14);
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.12);
}

.portal-shop-modal__foot {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.1rem;
  border-top: 1px solid rgba(51, 65, 85, 0.65);
  background: rgba(2, 6, 23, 0.45);
}

.portal-shop-btn {
  padding: 0.55rem 1.1rem;
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  border: 1px solid transparent;
}

.portal-shop-btn--ghost {
  border-color: rgba(148, 163, 184, 0.4);
  background: transparent;
  color: #e2e8f0;
}

.portal-shop-btn--ghost:hover {
  border-color: rgba(148, 163, 184, 0.65);
  color: #fff;
}

.portal-shop-btn--primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #052e16;
  border-color: rgba(22, 101, 52, 0.35);
}

.portal-shop-btn--primary:hover {
  filter: brightness(1.06);
}

.portal-shop-btn--danger {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff;
  border-color: rgba(127, 29, 29, 0.5);
}

.portal-shop-btn--danger:hover {
  filter: brightness(1.05);
}

.cms-shop-link-btn {
  padding: 0.28rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(34, 197, 94, 0.4);
  background: rgba(22, 101, 52, 0.2);
  color: #bbf7d0;
  font-size: 0.72rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
}

.cms-shop-link-btn:hover {
  background: rgba(34, 197, 94, 0.22);
  color: #fff;
}

.portal-shop-delete-dlg {
  max-width: min(100vw - 2rem, 400px);
  padding: 0;
  border: none;
  border-radius: 16px;
  background: #0f172a;
  color: #e2e8f0;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.portal-shop-delete-dlg::backdrop {
  background: rgba(2, 6, 23, 0.65);
  backdrop-filter: blur(4px);
}

.portal-shop-delete-dlg__inner {
  padding: 1.25rem 1.35rem;
}

.portal-shop-delete-dlg__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.portal-shop-delete-dlg__text {
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.45;
}

.portal-shop-delete-dlg__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.portal-shop-delete-dlg__err {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: #fecaca;
  font-weight: 600;
}

.portal-shop-delete-dlg__err[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
