:root {
  --bg-0: #061021;
  --bg-1: #0b1d34;
  --bg-2: #102846;
  --surface: rgba(12, 25, 44, 0.72);
  --surface-strong: rgba(7, 17, 31, 0.86);
  --line: rgba(158, 194, 230, 0.2);
  --text: #e8f2ff;
  --muted: #a8bfd8;
  --accent: #14b8a6;
  --accent-2: #22d3ee;
  --accent-warm: #f59e0b;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-1: 0 18px 50px rgba(0, 0, 0, 0.32);
  --shadow-2: 0 30px 80px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 10%, rgba(20, 184, 166, 0.2), transparent 35%),
    radial-gradient(circle at 92% 18%, rgba(34, 211, 238, 0.16), transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(245, 158, 11, 0.09), transparent 45%),
    linear-gradient(150deg, var(--bg-0), var(--bg-1) 48%, var(--bg-2));
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: 96px;
}

a {
  color: inherit;
}

button,
a,
input,
.item-recurso,
.item-video,
.nav,
.menu-toggle {
  -webkit-tap-highlight-color: rgba(125, 211, 252, 0.25);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
.item-recurso:focus-visible,
.item-video:focus-visible,
.menu-toggle:focus-visible,
.nav:focus-visible,
.fechar:focus-visible,
.close:focus-visible {
  outline: 2px solid #7dd3fc;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(125, 211, 252, 0.22);
}

#particles-js {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, calc(100% - 28px));
  padding: 11px 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 16, 29, 0.74);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  z-index: 1000;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}

header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

header nav a {
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

header nav a:hover {
  color: #fff;
}

.menu-toggle {
  display: none;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  color: #fff;
}

.btn-primary,
.btn-outline {
  border-radius: 999px;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease, background 0.3s ease;
}

.btn-primary {
  border: 0;
  color: #03231f;
  background: linear-gradient(110deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 30px rgba(18, 184, 166, 0.3);
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(25, 190, 206, 0.4);
}

.btn-outline {
  color: #d9edff;
  border: 1px solid rgba(215, 235, 255, 0.45);
  background: rgba(255, 255, 255, 0.04);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  padding: clamp(90px, 12vw, 170px) 20px 70px;
  text-align: center;
}

.hero-container {
  width: min(980px, 100%);
  margin: 0 auto;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 6.5vw, 4.3rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(120deg, #2be6d2 0%, #9df2ff 48%, #ffd590 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-type-cursor {
  display: inline-block;
  margin-left: 3px;
  color: rgba(20, 184, 166, 0.72);
  font-size: 0.82em;
  font-weight: 300;
  transform: scaleX(0.6);
  transform-origin: center;
  animation: heroTypeBlink 1.1s steps(1, end) infinite;
}

@keyframes heroTypeBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.hero p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.22rem);
  line-height: 1.65;
}

.hero-buttons {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.big {
  font-size: 1rem;
  padding: 16px 30px;
}

.section {
  width: min(1220px, 100%);
  margin: 0 auto;
  padding: clamp(58px, 7vw, 92px) 24px;
  text-align: center;
}

.section h2,
.titulo-secao {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 4.2vw, 2.55rem);
  letter-spacing: -0.02em;
}

.cards {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: left;
  box-shadow: var(--shadow-1);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 18% -4%, rgba(158, 225, 255, 0.23), transparent 40%);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 224, 255, 0.45);
}

.card h3 {
  font-size: 1.08rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  line-height: 1.65;
}

.sistema-bloco {
  margin: 42px 0 80px;
  border-radius: var(--radius-lg);
  padding: clamp(20px, 5vw, 42px);
  border: 1px solid var(--line);
  background: linear-gradient(140deg, rgba(4, 11, 23, 0.9), rgba(10, 28, 49, 0.72));
  box-shadow: var(--shadow-2);
  position: relative;
  overflow: hidden;
}

.sistema-bloco::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  right: -170px;
  top: -170px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
  pointer-events: none;
}

.agenda-style::after {
  background: #1dd4ca;
}

.roupas-style::after {
  background: #2c7fff;
}

.edicao-style::after {
  background: #f97316;
}

.refeicao-style::after {
  background: #facc15;
}

.nome-sistema {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  margin-bottom: 24px;
  text-align: left;
}

.galeria-animada {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(18px, 3vw, 36px);
  align-items: center;
}

.imagem-destaque {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 20, 36, 0.9);
}

.imagem-destaque img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.lista-recursos {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.item-recurso {
  text-align: left;
  padding: 14px 14px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.item-recurso:focus-visible,
.item-video:focus-visible {
  border-color: rgba(141, 236, 255, 0.55);
  background: rgba(145, 232, 255, 0.1);
}

.item-recurso:hover {
  opacity: 1;
  transform: translateX(3px);
}

.item-recurso.ativo {
  opacity: 1;
  border-color: rgba(141, 236, 255, 0.35);
  background: rgba(145, 232, 255, 0.06);
}

.item-recurso h4 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.item-recurso p {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 10px;
  line-height: 1.55;
}

.barra {
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.barra-progresso {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.videos-sistema {
  width: min(1220px, 100%);
  padding: 26px 24px 54px;
}

.videos-header {
  margin-bottom: 26px;
}

.descricao-secao {
  margin: 14px auto 0;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.65;
}

.videos-container {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(290px, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.video-destaque {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(3, 11, 20, 0.8);
  box-shadow: var(--shadow-2);
}

.video-destaque iframe,
.video-destaque > div {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lado-modulos {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 18px;
  box-shadow: var(--shadow-1);
}

.titulo-sistema {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2.8vw, 1.7rem);
  margin-bottom: 10px;
}

.lista-modulos {
  max-height: 306px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-right: 4px;
}

.lista-modulos::-webkit-scrollbar {
  width: 6px;
}

.lista-modulos::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(187, 216, 242, 0.4);
}

.item-video {
  cursor: pointer;
  font-size: 0.96rem;
  color: var(--muted);
  padding: 10px 8px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.item-video:hover {
  color: #fff;
  transform: translateX(4px);
}

.item-video.ativo {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(143, 219, 255, 0.4);
}

#planos .cards.planos {
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
}

.plano {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 28px 24px;
  text-align: left;
  position: relative;
  box-shadow: var(--shadow-1);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.plano:hover {
  transform: translateY(-6px);
  border-color: rgba(137, 228, 255, 0.45);
}

.plano h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
}

.destaque {
  transform: scale(1.02);
  border-color: rgba(53, 231, 205, 0.5);
  background: linear-gradient(155deg, rgba(13, 35, 53, 0.95), rgba(11, 46, 56, 0.7));
}

.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #06251f;
  background: linear-gradient(110deg, #84ffe8, #d8fff8);
}

.preco {
  margin: 16px 0;
  font-size: clamp(1.8rem, 4.5vw, 2.4rem);
  font-weight: 800;
}

.preco span {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

.beneficios {
  list-style: none;
  margin: 0 0 22px;
}

.beneficios li {
  color: var(--muted);
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.beneficios li::before {
  content: '-';
  position: absolute;
  left: 4px;
  color: #94f8eb;
}

footer {
  margin-top: 30px;
  text-align: center;
  padding: 34px 18px 44px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.modal,
.modal-galeria {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1200;
  justify-content: center;
  align-items: center;
  background: rgba(2, 8, 16, 0.82);
  backdrop-filter: blur(8px);
}

.modal-content {
  width: min(460px, calc(100% - 28px));
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(175, 219, 255, 0.35);
  background: var(--surface-strong);
  padding: 26px;
  box-shadow: var(--shadow-2);
}

.modal-content h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 12px;
}

.modal input {
  width: 100%;
  margin: 8px 0;
  border-radius: 10px;
  border: 1px solid rgba(192, 220, 245, 0.3);
  background: rgba(6, 18, 32, 0.78);
  color: #eaf2ff;
  padding: 12px;
}

.modal select {
  width: 100%;
  margin: 8px 0;
  border-radius: 10px;
  border: 1px solid rgba(192, 220, 245, 0.3);
  background: rgba(6, 18, 32, 0.78) !important;
  color: #eaf2ff !important;
  padding: 12px;
}

.modal input::placeholder {
  color: #9fb6cb;
}

.modal input:focus-visible {
  border-color: rgba(125, 211, 252, 0.8);
  background: rgba(7, 24, 39, 0.94);
}

.modal select:focus-visible {
  border-color: rgba(125, 211, 252, 0.8);
  background: rgba(7, 24, 39, 0.94) !important;
  color: #eaf2ff !important;
}

.modal select:invalid {
  color: #9fb6cb;
}

.modal select option {
  color: #eaf2ff;
  background: #071425;
}

.consentimento-marketing {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0 4px;
  color: #c4d9ef;
  font-size: 0.82rem;
  line-height: 1.35;
}

.consentimento-marketing input[type="checkbox"] {
  width: auto;
  margin: 2px 0 0;
  padding: 0;
  accent-color: #22d3ee;
  flex: 0 0 auto;
}

#formTeste .btn-primary:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
  transform: none;
}

.close,
.fechar {
  position: absolute;
  top: 16px;
  right: 18px;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

.contato-card {
  text-align: center;
  padding-top: 24px;
}

.pagamento-card {
  text-align: left;
}

.promocao-card {
  text-align: left;
  width: min(600px, calc(100% - 28px));
  border: 1px solid rgba(255, 220, 123, 0.55);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 196, 87, 0.22), transparent 36%),
    radial-gradient(circle at 95% 0%, rgba(255, 130, 98, 0.2), transparent 40%),
    rgba(12, 18, 32, 0.95);
}

.promocao-badge {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #241200;
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 10px;
  background: linear-gradient(120deg, #ffd166, #ff9f43);
}

.promocao-destaque {
  margin: 8px 0 10px;
  line-height: 1.5;
  color: #ffe7ca;
}

.btn-promocao-desconto {
  font-size: 0.73rem;
  padding: 8px 14px;
  margin: 2px 0 10px;
  letter-spacing: 0.03em;
}

.promocao-intro {
  margin-bottom: 12px;
  color: #c9d8ea;
}

.promocao-dados {
  display: grid;
  gap: 12px;
}

.promocao-bloco {
  border: 1px solid rgba(255, 228, 179, 0.2);
  border-radius: 12px;
  padding: 12px;
  background: rgba(8, 15, 27, 0.72);
}

.promocao-bloco h3 {
  font-size: 0.96rem;
  margin-bottom: 8px;
  color: #ffdd9d;
}

.promocao-bloco p {
  margin: 3px 0;
  color: #dbe9f8;
  word-break: break-word;
}

.promocao-bloco a {
  color: #8ee8ff;
}

.pagamento-linha {
  margin: 6px 0;
  color: var(--muted);
}

.pagamento-desconto {
  color: #b5ffde;
  font-size: 0.87rem;
}

.pagamento-card label {
  display: block;
  margin-top: 12px;
  font-weight: 600;
}

.pagamento-bloco {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(192, 220, 245, 0.3);
  background: rgba(6, 18, 32, 0.78);
}

.pix-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.pix-qr {
  margin-top: 0;
  text-align: center;
  flex: 0 0 auto;
}

.pix-qr-label {
  margin: 0 0 6px;
  font-size: 0.78rem;
  color: #9fb6cb;
}

.pix-qr img {
  width: 92px;
  height: 92px;
  border-radius: 8px;
  border: 1px solid rgba(186, 243, 255, 0.35);
  background: #fff;
  display: block;
  margin: 0 auto;
}

@media (max-width: 560px) {
  .pix-inline {
    flex-direction: column;
    align-items: center;
  }

  .pix-qr {
    align-self: center;
    margin-top: 6px;
  }
}

.btn-pagamento {
  width: 100%;
  margin-top: 12px;
}

.pagamento-aviso {
  margin-top: 14px;
  color: #9fb6cb;
  font-size: 0.88rem;
  line-height: 1.5;
}

.pagamento-info {
  margin-top: 10px;
  min-height: 22px;
  color: #b9d6f2;
}

.mp-checkout {
  margin-top: 12px;
}

.contato-logo {
  width: 260px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 2px;
  display: block;
}

.contato-sub {
  color: #9fb6cb;
  margin-bottom: 18px;
}

.contato-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 8px 0;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(192, 220, 245, 0.3);
  background: rgba(6, 18, 32, 0.78);
  color: #eaf2ff;
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.contato-link:hover {
  transform: translateY(-1px);
  border-color: rgba(125, 211, 252, 0.7);
  background: rgba(7, 24, 39, 0.94);
}

.whatsapp-simbolo {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.28);
  position: relative;
  flex: 0 0 18px;
}

.whatsapp-simbolo::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-left: 2px solid #08210f;
  border-bottom: 2px solid #08210f;
  transform: rotate(-45deg);
  top: 4px;
  left: 5px;
}

.modal-galeria img {
  width: min(1200px, calc(100% - 120px));
  max-height: calc(100vh - 120px);
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(206, 228, 247, 0.25);
}

.modal-galeria iframe {
  width: min(1100px, calc(100% - 120px));
  height: min(620px, calc(100vh - 140px));
  border: 0;
  border-radius: 16px;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(217, 235, 255, 0.35);
  color: #fff;
  background: rgba(11, 28, 48, 0.72);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  font-size: 1.5rem;
  cursor: pointer;
}

.prev {
  left: 24px;
}

.next {
  right: 24px;
}

@media (max-width: 1024px) {
  body {
    padding-top: 92px;
  }

  header {
    top: 10px;
    width: calc(100% - 18px);
    padding: 12px 14px;
  }

  .galeria-animada,
  .videos-container {
    grid-template-columns: 1fr;
  }

  .nome-sistema {
    text-align: center;
  }
}

.floating-whatsapp,
.floating-top {
  position: fixed;
  right: 18px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(220, 240, 255, 0.25);
  backdrop-filter: blur(10px);
  z-index: 999;
}

.floating-chat {
  position: fixed;
  right: 18px;
  bottom: 82px;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 999;
  cursor: pointer;
  animation: chatAttention 2.2s ease-in-out infinite;
}

.floating-chat-badge {
  position: absolute;
  top: -8px;
  right: 38px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff8df;
  background: linear-gradient(110deg, #ef4444, #f59e0b);
  box-shadow: 0 8px 16px rgba(239, 68, 68, 0.4);
}

.floating-chat-pill {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 224, 161, 0.4);
  background: linear-gradient(130deg, rgba(24, 42, 74, 0.96), rgba(8, 21, 37, 0.96));
  color: #f7fbff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  display: grid;
  line-height: 1.1;
  text-align: left;
  max-width: 170px;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-chat-pill strong {
  font-size: 0.84rem;
  font-weight: 800;
}

.floating-chat-pill small {
  font-size: 0.74rem;
  color: #bfe8ff;
  margin-top: 3px;
}

.floating-chat:hover .floating-chat-pill,
.floating-chat:focus-visible .floating-chat-pill {
  opacity: 1;
  transform: translateX(0);
}

.floating-chat-icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 145, 36, 0.62);
  background: radial-gradient(circle at 50% 50%, rgba(255, 214, 143, 0.3) 0%, rgba(245, 158, 11, 0.52) 100%);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 900;
  box-shadow: 0 7px 16px rgba(245, 158, 11, 0.22), inset 0 0 10px rgba(255, 188, 92, 0.18);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.floating-chat:hover .floating-chat-icon {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

@keyframes chatAttention {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.cookie-banner {
  position: fixed;
  left: 14px;
  right: 88px;
  bottom: 14px;
  border-radius: 14px;
  border: 1px solid rgba(175, 219, 255, 0.28);
  background: rgba(4, 14, 26, 0.95);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 1001;
}

.cookie-banner p {
  margin: 0;
  color: #d8e9fa;
  font-size: 0.9rem;
  line-height: 1.45;
}

.cookie-banner a {
  color: #9fe7ff;
}

.cookie-banner .btn-primary {
  flex: 0 0 auto;
  padding: 10px 18px;
}

.cookie-banner.is-hidden {
  display: none;
}

.floating-whatsapp {
  bottom: 18px;
  border: 1px solid rgba(22, 206, 107, 0.58);
  background: radial-gradient(circle at 50% 50%, rgba(84, 255, 166, 0.3) 0%, rgba(18, 179, 90, 0.62) 100%);
  box-shadow: 0 7px 16px rgba(18, 179, 90, 0.28), inset 0 0 10px rgba(154, 255, 204, 0.2);
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.floating-whatsapp-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.floating-whatsapp-icon-svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: #ffffff;
}

.floating-whatsapp:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.floating-top {
  bottom: 146px;
  background: rgba(9, 26, 44, 0.86);
  color: #d8ebff;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.25s ease;
}

.floating-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-top:hover {
  background: rgba(14, 36, 59, 0.95);
}

.chat-projeto-card {
  width: min(520px, calc(100% - 28px));
}

.chat-projeto-sub {
  color: #9fb6cb;
  margin-bottom: 12px;
}

.chat-projeto-google {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  background: rgba(4, 16, 30, 0.62);
}

.chat-projeto-google span {
  font-size: 0.78rem;
  color: #b9d6ef;
}

.chat-projeto-mensagens {
  border: 1px solid rgba(192, 220, 245, 0.2);
  border-radius: 12px;
  background: rgba(6, 18, 32, 0.68);
  padding: 12px;
  min-height: 190px;
  max-height: 320px;
  overflow-y: auto;
  display: grid;
  gap: 8px;
}

.chat-bubble {
  max-width: 92%;
  border-radius: 12px;
  padding: 10px 11px;
  line-height: 1.45;
  font-size: 0.9rem;
}

.chat-bubble.bot {
  background: rgba(34, 211, 238, 0.18);
  border: 1px solid rgba(125, 211, 252, 0.26);
  color: #dff6ff;
}

.chat-bubble.bot-intro {
  max-width: 72%;
  padding: 7px 9px;
  font-size: 0.82rem;
}

.chat-bubble.user {
  margin-left: auto;
  background: rgba(20, 184, 166, 0.22);
  border: 1px solid rgba(45, 212, 191, 0.26);
  color: #e8fffa;
}

.chat-typing-cursor {
  display: inline-block;
  width: 7px;
  margin-left: 3px;
  color: #9be9ff;
  animation: chatCursorBlink 0.85s steps(1, end) infinite;
}

@keyframes chatCursorBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.chat-projeto-form {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.chat-projeto-form input {
  margin: 0;
}

.chat-projeto-form .btn-primary {
  margin: 0;
  min-width: 96px;
}

@media (max-width: 768px) {
  body {
    padding-top: 84px;
  }

  header {
    border-radius: 14px;
  }

  .cookie-banner {
    left: 10px;
    right: 76px;
    bottom: 10px;
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner .btn-primary {
    width: 100%;
  }

  .floating-whatsapp,
  .floating-top {
    right: 16px !important;
  }

  .floating-chat {
    right: 16px !important;
    bottom: 84px !important;
    gap: 0 !important;
  }

  .floating-chat-badge,
  .floating-chat-pill {
    display: none !important;
  }

  .floating-chat-icon {
    width: 52px !important;
    height: 52px !important;
  }

  .chat-projeto-google {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
  }

  header nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(203, 227, 248, 0.26);
    background: rgba(6, 17, 31, 0.94);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  header nav.ativo {
    display: flex;
  }

  header nav a,
  header nav .btn-primary {
    width: 100%;
  }

  .hero {
    padding-top: 78px;
  }

  .section {
    padding: 48px 16px;
  }

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

  .sistema-bloco {
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 44px;
  }

  .item-recurso {
    padding: 12px;
  }

  .videos-sistema {
    padding: 20px 16px 40px;
  }

  .lado-modulos {
    padding: 14px;
  }

  .modal-galeria img,
  .modal-galeria iframe {
    width: calc(100% - 18px);
    max-height: calc(100vh - 90px);
  }

  .nav {
    width: 42px;
    height: 42px;
  }

  .prev {
    left: 8px;
  }

  .next {
    right: 8px;
  }
}

/* ================= PREMIUM+ ================= */

header.header-compact {
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(6, 15, 28, 0.88);
  border-color: rgba(198, 228, 252, 0.26);
}

.section h2 {
  margin-bottom: 10px;
}

#sistemas > h2,
#sobre > h2,
#galeria > h2,
#planos > h2 {
  max-width: 820px;
  margin: 0 auto;
}

#galeria > p {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  line-height: 1.7;
  color: #bdd0e3;
}

.card h3,
.plano h3 {
  letter-spacing: 0.01em;
}

.preco {
  letter-spacing: -0.03em;
}

.nome-sistema {
  margin-bottom: 28px;
  line-height: 1.2;
}

.videos-sistema + .videos-sistema {
  margin-top: 8px;
}

.videos-header .titulo-secao {
  margin-bottom: 8px;
}

.descricao-secao {
  font-size: clamp(0.98rem, 1.7vw, 1.08rem);
}

.card,
.plano,
.sistema-bloco,
.lado-modulos,
.video-destaque {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.card:hover,
.plano:hover {
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.42);
}

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

.video-destaque:hover {
  border-color: rgba(159, 227, 255, 0.48);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.5);
}

/* Microanimacoes de entrada por bloco */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

[data-reveal='left'] {
  transform: translateX(-26px);
}

[data-reveal='right'] {
  transform: translateX(26px);
}

[data-reveal='zoom'] {
  transform: scale(0.96);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ================= PREMIUM+ V2 MOBILE ================= */

@media (max-width: 430px) {
  body {
    padding-top: 80px;
  }

  header {
    width: calc(100% - 12px);
    padding: 10px 11px;
    border-radius: 12px;
  }

  .logo {
    font-size: 1.04rem;
  }

  .menu-toggle {
    font-size: 1.5rem;
  }

  .hero {
    padding: 66px 12px 34px;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 10.2vw, 2.15rem);
    line-height: 1.08;
    margin-bottom: 14px;
  }

  .hero p {
    font-size: 0.96rem;
    line-height: 1.58;
  }

  .hero-buttons {
    margin-top: 22px;
    gap: 10px;
  }

  .btn-primary,
  .btn-outline {
    padding: 11px 18px;
    font-size: 0.86rem;
    min-height: 44px;
  }

  header nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .section {
    padding: 42px 12px;
  }

  .section h2,
  .titulo-secao {
    font-size: clamp(1.42rem, 6.8vw, 1.78rem);
  }

  .cards {
    margin-top: 28px;
    gap: 12px;
  }

  .card {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .card h3 {
    font-size: 0.98rem;
  }

  .card p {
    font-size: 0.88rem;
    line-height: 1.52;
  }

  .sistema-bloco {
    padding: 12px;
    margin: 24px 0 30px;
    border-radius: 14px;
  }

  .nome-sistema {
    font-size: 1.08rem;
    margin-bottom: 14px;
  }

  .galeria-animada {
    gap: 12px;
  }

  .imagem-destaque {
    border-radius: 14px;
  }

  .lista-recursos {
    gap: 10px;
  }

  .item-recurso {
    padding: 10px;
    min-height: 44px;
  }

  .item-recurso h4 {
    font-size: 0.9rem;
  }

  .item-recurso p {
    font-size: 0.82rem;
    line-height: 1.45;
    margin-bottom: 7px;
  }

  .videos-sistema {
    padding: 14px 12px 30px;
  }

  .videos-container {
    gap: 12px;
  }

  .video-destaque {
    border-radius: 14px;
  }

  .lado-modulos {
    padding: 11px;
    border-radius: 14px;
  }

  .titulo-sistema {
    font-size: 1.07rem;
  }

  .lista-modulos {
    gap: 8px;
    max-height: 238px;
  }

  .item-video {
    font-size: 0.86rem;
    padding: 8px 6px;
    min-height: 44px;
    display: flex;
    align-items: center;
    line-height: 1.45;
  }

  .plano {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .plano h3 {
    font-size: 1.12rem;
  }

  .preco {
    font-size: 1.55rem;
    margin: 12px 0;
  }

  .beneficios li {
    font-size: 0.86rem;
    margin-bottom: 8px;
  }

  .modal-content {
    padding: 16px;
  }

  .modal-content h2 {
    font-size: 1.2rem;
  }

  .fechar,
  .close,
  .nav,
  .menu-toggle {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 390px) {
  body {
    padding-top: 76px;
  }

  header {
    padding: 9px 10px;
  }

  .logo {
    max-width: 190px;
  }

  .floating-whatsapp,
  .floating-top {
    right: calc(env(safe-area-inset-right, 0px) + 16px) !important;
    width: 48px !important;
    height: 48px !important;
  }

  .floating-chat-icon {
    width: 48px !important;
    height: 48px !important;
    border: 1px solid rgba(255, 145, 36, 0.62) !important;
    background: radial-gradient(circle at 50% 50%, rgba(255, 214, 143, 0.3) 0%, rgba(245, 158, 11, 0.52) 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 7px 16px rgba(245, 158, 11, 0.22), inset 0 0 10px rgba(255, 188, 92, 0.18) !important;
  }

  .floating-chat {
    right: calc(env(safe-area-inset-right, 0px) + 16px) !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 80px) !important;
    gap: 0 !important;
  }

  .floating-chat-pill,
  .floating-chat-badge {
    display: none !important;
  }

  .floating-whatsapp {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 16px) !important;
  }

  .floating-top {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 144px) !important;
  }

  .hero {
    padding-top: 60px;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 10.8vw, 1.95rem);
  }

  .hero p {
    font-size: 0.91rem;
  }

  .section {
    padding-left: 10px;
    padding-right: 10px;
  }

  .section h2,
  .titulo-secao {
    font-size: clamp(1.3rem, 7vw, 1.62rem);
  }

  .card,
  .plano {
    padding: 16px 12px;
  }

  .nome-sistema {
    font-size: 1.02rem;
  }

  .item-recurso h4 {
    font-size: 0.86rem;
  }

  .item-recurso p {
    font-size: 0.79rem;
  }

  .titulo-sistema {
    font-size: 1.01rem;
  }

  .item-video {
    font-size: 0.82rem;
  }

  .btn-primary,
  .btn-outline {
    font-size: 0.83rem;
    padding: 10px 15px;
  }
}

@media (max-width: 360px) {
  body {
    padding-top: 72px;
  }

  header {
    width: calc(100% - 10px);
    padding: 8px 9px;
    border-radius: 10px;
  }

  .logo {
    max-width: 105px;
  }

  .menu-toggle {
    font-size: 1.38rem;
  }

  header nav {
    top: calc(100% + 6px);
    padding: 10px;
  }

  .hero {
    padding: 56px 10px 28px;
  }

  .hero h1 {
    font-size: clamp(1.45rem, 10.6vw, 1.78rem);
    margin-bottom: 10px;
  }

  .hero p {
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .hero-buttons {
    margin-top: 16px;
    gap: 8px;
  }

  .section {
    padding: 34px 8px;
  }

  .section h2,
  .titulo-secao {
    font-size: clamp(1.18rem, 7.2vw, 1.44rem);
  }

  .card h3,
  .plano h3 {
    font-size: 0.95rem;
  }

  .card p,
  .beneficios li {
    font-size: 0.8rem;
  }

  .sistema-bloco {
    padding: 10px;
    border-radius: 12px;
  }

  .nome-sistema {
    font-size: 0.96rem;
  }

  .item-recurso {
    padding: 8px;
  }

  .item-recurso h4 {
    font-size: 0.82rem;
  }

  .item-recurso p,
  .descricao-secao {
    font-size: 0.76rem;
  }

  .lado-modulos {
    padding: 9px;
  }

  .titulo-sistema {
    font-size: 0.94rem;
  }

  .item-video {
    font-size: 0.78rem;
    padding: 7px 5px;
  }

  .preco {
    font-size: 1.42rem;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    padding: 9px 12px;
    min-height: 44px;
  }

  .modal-content {
    padding: 13px;
    border-radius: 12px;
  }

  .item-video,
  .item-recurso,
  header nav a {
    min-height: 44px;
  }
}

/* Forca layout mobile real (celulares touch), mesmo em cenarios de cache agressivo */
@media (hover: none) and (pointer: coarse) {
  .floating-chat {
    right: calc(env(safe-area-inset-right, 0px) + 16px) !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 80px) !important;
    gap: 0 !important;
  }

  .floating-chat-pill,
  .floating-chat-badge {
    display: none !important;
  }

  .floating-chat-icon {
    width: 48px !important;
    height: 48px !important;
    border: 1px solid rgba(255, 145, 36, 0.62) !important;
    background: radial-gradient(circle at 50% 50%, rgba(255, 214, 143, 0.3) 0%, rgba(245, 158, 11, 0.52) 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 7px 16px rgba(245, 158, 11, 0.22), inset 0 0 10px rgba(255, 188, 92, 0.18) !important;
  }

  .floating-whatsapp,
  .floating-top {
    right: calc(env(safe-area-inset-right, 0px) + 16px) !important;
    width: 48px !important;
    height: 48px !important;
  }

  .floating-whatsapp {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 16px) !important;
  }

  .floating-top {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 144px) !important;
  }
}
