/* =========================================================
   Ópera — Operação Aprovação · estilos globais
   ========================================================= */

html,
body {
  margin: 0;
  padding: 0;
  background: #0b0b0b;
}

body {
  font-family: Barlow, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #ffcb1a;
  text-decoration: none;
}

a:hover {
  color: #ffe08a;
}

button {
  font-family: inherit;
}

::selection {
  background: #ffcb1a;
  color: #0b0b0b;
}

/* =========================================================
   Animações
   ========================================================= */

@keyframes op-rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes op-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes op-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(255, 203, 26, 0.5),
      0 16px 34px -14px rgba(255, 203, 26, 0.8);
  }
  50% {
    box-shadow:
      0 0 0 16px rgba(255, 203, 26, 0),
      0 16px 34px -14px rgba(255, 203, 26, 0.35);
  }
}

@keyframes op-sweep {
  0% {
    transform: translateX(-140%) skewX(-20deg);
  }
  55%,
  100% {
    transform: translateX(360%) skewX(-20deg);
  }
}

@keyframes op-orb {
  0%,
  100% {
    transform: translate3d(-50%, 0, 0) scale(1);
  }
  33% {
    transform: translate3d(-46%, -7%, 0) scale(1.12);
  }
  66% {
    transform: translate3d(-55%, 5%, 0) scale(0.93);
  }
}

@keyframes op-orb2 {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(8%, -6%, 0) scale(1.15);
  }
}

@keyframes op-scan {
  from {
    transform: translateY(-120%);
  }
  to {
    transform: translateY(760%);
  }
}

@keyframes op-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}

@keyframes op-ping {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 230, 171, 0.55);
  }
  70%,
  100% {
    box-shadow: 0 0 0 14px rgba(0, 230, 171, 0);
  }
}

/* =========================================================
   Interações (hover / active) — antes eram atributos
   style-hover / style-active do Claude Design, convertidos
   para classes CSS de verdade.
   ========================================================= */

.tag-pill {
  transition:
    transform 0.25s,
    background 0.25s,
    border-color 0.25s;
}
.tag-pill:hover {
  transform: translateY(-2px);
  background: rgba(255, 203, 26, 0.13);
  border-color: rgba(255, 203, 26, 0.6);
}

.btn-cta,
.btn-cta-sticky {
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn-cta:hover,
.btn-cta-sticky:hover {
  transform: translateY(-3px) scale(1.015);
  color: #0b0b0b;
}
.btn-cta:active,
.btn-cta-sticky:active {
  transform: translateY(0) scale(0.99);
}

.btn-outline {
  transition:
    transform 0.25s,
    border-color 0.25s,
    background 0.25s;
}
.btn-outline:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}
.btn-outline:active {
  transform: translateY(0);
}

.quick-link {
  transition:
    transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.28s,
    background 0.28s,
    box-shadow 0.28s;
}
.quick-link:hover {
  transform: translateX(6px);
  border-color: rgba(255, 203, 26, 0.55);
  background: linear-gradient(
    120deg,
    rgba(255, 203, 26, 0.12),
    rgba(11, 11, 11, 0.6)
  );
  box-shadow: 0 14px 30px -18px rgba(255, 203, 26, 0.8);
  color: #fff;
}

.stat-card {
  transition:
    transform 0.3s,
    border-color 0.3s;
}
.stat-card:hover {
  transform: translateY(-4px);
}
.stat-card--amber:hover {
  border-color: rgba(255, 203, 26, 0.45);
}
.stat-card--teal:hover {
  border-color: rgba(0, 230, 171, 0.45);
}

.carousel-btn {
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.25s;
}
.carousel-btn:hover {
  background: rgba(255, 203, 26, 0.14);
  border-color: rgba(255, 203, 26, 0.5);
}
.carousel-btn--prev:hover {
  transform: translateX(-2px);
}
.carousel-btn--next:hover {
  transform: translateX(2px);
}

.testimonial-card {
  transition:
    transform 0.3s,
    border-color 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 230, 171, 0.4);
}

.community-link {
  transition:
    transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.28s,
    box-shadow 0.28s;
}
.community-link:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 230, 171, 0.75);
  box-shadow: 0 18px 36px -20px rgba(0, 230, 171, 0.9);
  color: #f5f5f5;
}

.pill {
  transition:
    transform 0.25s,
    background 0.25s,
    border-color 0.25s;
}
.pill--whatsapp:hover {
  transform: translateY(-3px);
  background: rgba(0, 230, 171, 0.16);
  border-color: rgba(0, 230, 171, 0.7);
  color: #00e6ab;
}
.pill--email:hover {
  transform: translateY(-3px);
  background: rgba(255, 203, 26, 0.16);
  border-color: rgba(255, 203, 26, 0.7);
}

.lightbox-close {
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.25s;
}
.lightbox-close:hover {
  background: rgba(255, 203, 26, 0.16);
  border-color: rgba(255, 203, 26, 0.55);
  transform: rotate(90deg);
}

.lightbox-cta {
  transition: transform 0.25s;
}
.lightbox-cta:hover {
  transform: translateY(-2px);
  color: #0b0b0b;
}

/* =========================================================
   Estado — carrossel "por dentro do app"
   ========================================================= */

.carousel-dot {
  height: 6px;
  width: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(245, 245, 245, 0.22);
  transition:
    width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.35s;
}
.carousel-dot.is-active {
  width: 26px;
  background: #ffcb1a;
}

/* =========================================================
   Estado — lightbox / modal de detalhe
   ========================================================= */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 6, 6, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s;
  opacity: 0;
  visibility: hidden;
}
.lightbox-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-panel {
  position: relative;
  width: 100%;
  max-width: 380px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 203, 26, 0.28);
  border-radius: 20px;
  background: linear-gradient(
    165deg,
    rgba(42, 42, 42, 0.94),
    rgba(11, 11, 11, 0.97)
  );
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, 0.9),
    0 0 70px -30px rgba(255, 203, 26, 0.5);
  transition: transform 0.42s cubic-bezier(0.2, 0.9, 0.2, 1);
  transform: translateY(26px) scale(0.96);
}
.lightbox-overlay.is-open .lightbox-panel {
  transform: none;
}

/* =========================================================
   Página de planos (planos.html)
   ========================================================= */

.pricing-wrap {
  min-height: 100vh;
  background: #0b0b0b;
  color: #f5f5f5;
  display: flex;
  justify-content: center;
  padding: 56px 20px 60px;
}

.pricing-inner {
  width: 100%;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.pricing-title {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 34px;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
  color: #ffcb1a;
}

.pricing-subtitle {
  margin: 0 0 32px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.42);
}

.plans-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 680px) {
  .plans-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: linear-gradient(
    165deg,
    rgba(42, 42, 42, 0.5),
    rgba(11, 11, 11, 0.6)
  );
  transition:
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.3s,
    box-shadow 0.3s;
}

.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 30px 60px -32px rgba(0, 0, 0, 0.7);
}

.plan-card--recommended {
  border-color: rgba(255, 203, 26, 0.55);
  background: linear-gradient(
    165deg,
    rgba(255, 203, 26, 0.08),
    rgba(11, 11, 11, 0.7)
  );
  box-shadow: 0 30px 60px -30px rgba(255, 203, 26, 0.35);
}

.plan-card--recommended:hover {
  border-color: rgba(255, 203, 26, 0.9);
  box-shadow: 0 34px 74px -28px rgba(255, 203, 26, 0.55);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(100deg, #e29500, #ffcb1a 45%, #e29500);
  color: #0b0b0b;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.plan-name {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(245, 245, 245, 0.5);
}

.plan-price {
  margin: 10px 0 4px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: #ffcb1a;
}

.plan-card--recommended .plan-price {
  color: #ffe08a;
}

.plan-price .currency {
  font-size: 22px;
  font-weight: 600;
}

.plan-price .period {
  font-family: Barlow, Helvetica, sans-serif;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(245, 245, 245, 0.45);
}

.plan-save {
  align-self: flex-start;
  margin-top: 10px;
  padding: 5px 11px;
  border: 1px solid rgba(0, 230, 171, 0.4);
  border-radius: 999px;
  background: rgba(0, 230, 171, 0.1);
  color: #00e6ab;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.plan-features {
  list-style: none;
  margin: 22px 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.35;
  color: #f5f5f5;
}

.plan-features li::before {
  content: "✓";
  flex: none;
  color: #00e6ab;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
}

.plan-features li.is-unavailable {
  color: rgba(245, 245, 245, 0.32);
  text-decoration: line-through;
}

.plan-features li.is-unavailable::before {
  content: "✕";
  color: rgba(255, 110, 110, 0.55);
}

.plan-cta {
  margin-top: auto;
}

.plan-note {
  margin-top: 10px;
  text-align: center;
  font-size: 11.5px;
  color: rgba(245, 245, 245, 0.32);
}

.pricing-back {
  margin-top: 36px;
  font-family: Barlow, Helvetica, sans-serif;
  font-size: 13px;
  color: rgba(245, 245, 245, 0.5);
  text-decoration: underline;
}

.pricing-back:hover {
  color: #ffcb1a;
}
