/* uniplus — landing page styles */

:root {
  --bg: #08090c;
  --bg-elevated: #101218;
  --bg-card: #14161d;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f4f2;
  --text-dim: #a7aab3;
  --text-faint: #6b6f7a;
  /* identidade extraída da logo: gradiente azul -> roxo -> magenta -> vermelho
     (parado no início do vermelho, sem esticar até o laranja/amarelo) */
  --grad-blue: #2f4aef;
  --grad-violet: #7b2fd1;
  --grad-magenta: #d81364;
  --grad-red: #f91515;
  --gradient-brand: linear-gradient(90deg, var(--grad-blue) 0%, var(--grad-violet) 40%, var(--grad-magenta) 70%, var(--grad-red) 100%);
  --accent: #f9143f;
  --accent-dim: #d91038;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-glow: 0 0 0 1px rgba(249, 20, 63, 0.14), 0 20px 60px -20px rgba(249, 20, 63, 0.3);
  --ff-display: "Space Grotesk", "Segoe UI", sans-serif;
  --ff-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

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

ul { list-style: none; margin: 0; padding: 0; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-narrow { max-width: 720px; }

/* subtle grain so the dark background doesn't feel flat/AI-default */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.btn-primary:hover { filter: brightness(1.08); box-shadow: 0 8px 26px -8px rgba(249, 20, 63, 0.55); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.875rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(8, 9, 12, 0.75);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  display: inline-flex;
  width: 28px;
  height: 28px;
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; }

.nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
  margin-right: 32px;
}
.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 1; padding: 88px 0 96px; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow.center { text-align: center; }

.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  color: var(--text);
}
.hero h1 .accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 20px;
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 36px;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-faint);
}
.hero-trust .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-photo-wrap {
  position: relative;
  max-width: 420px;
  margin-inline: auto;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Section shared ---------- */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--text);
}
.section-title.center { text-align: center; }
.section-sub {
  color: var(--text-dim);
  margin-top: 12px;
  font-size: 1rem;
}
.section-sub.center { text-align: center; }

/* ---------- Conteúdo (categorias) ---------- */
.content-cats { padding: 88px 0; border-top: 1px solid var(--border); }
.cats-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  padding: 26px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.cat-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient-brand);
  color: #fff;
  padding: 9px;
}
.cat-icon svg { width: 100%; height: 100%; }
.cat-title { margin-top: 16px; font-size: 1.05rem; }
.cat-desc { margin-top: 8px; color: var(--text-dim); font-size: 0.88rem; line-height: 1.55; }

/* ---------- How it works (+ confiança mesclada) ---------- */
.how { padding: 88px 0; border-top: 1px solid var(--border); }
.how-layout {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.how-step {
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}
.how-num {
  font-family: var(--ff-display);
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
}
.how-step h3 { margin-top: 14px; font-size: 1.15rem; }
.how-step p { margin-top: 10px; color: var(--text-dim); font-size: 0.94rem; }

.trust-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}
.trust-item { display: flex; align-items: flex-start; gap: 12px; }
.trust-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--accent);
}
.trust-icon svg { width: 100%; height: 100%; }
.trust-text { display: flex; flex-direction: column; gap: 4px; }
.trust-text strong { font-size: 0.9rem; color: var(--text); font-weight: 600; }
.trust-text span { font-size: 0.82rem; color: var(--text-dim); line-height: 1.5; }

/* ---------- Compatibilidade ---------- */
.compat { padding: 88px 0; border-top: 1px solid var(--border); }
.compat-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.compat-col {
  padding: 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}
.compat-col-title { font-size: 0.98rem; }
.compat-col-yes { color: var(--accent); }
.compat-col-no { color: var(--text-faint); }
.compat-col ul { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.compat-col li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.compat-icon { display: inline-flex; width: 16px; height: 16px; flex-shrink: 0; }
.compat-icon svg { width: 100%; height: 100%; }
.compat-yes { color: var(--accent); }
.compat-no { color: var(--text-faint); }

/* ---------- Plans ---------- */
.plans { padding: 96px 0; border-top: 1px solid var(--border); }

.plans-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 780px;
  margin-inline: auto;
}

.plan-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.plan-card.is-highlight {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(249,20,63,0.07), var(--bg-elevated) 40%);
  box-shadow: var(--shadow-glow);
}

.plan-badge {
  position: absolute;
  top: -13px;
  right: 24px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.plan-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.plan-price {
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.plan-price .amount {
  font-family: var(--ff-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text);
}
.plan-price .period { color: var(--text-faint); font-size: 0.95rem; }

.plan-billing-note {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--accent-dim);
}

.plan-features {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.plan-features li::before {
  content: "";
  flex-shrink: 0;
  margin-top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.plan-cta { margin-top: 28px; width: 100%; }

/* ---------- FAQ ---------- */
.faq { padding: 88px 0 96px; border-top: 1px solid var(--border); }

.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--text-dim);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.faq-icon::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-icon::after { top: 0; left: 50%; width: 2px; height: 100%; transform: translateX(-50%); }
.faq-question[aria-expanded="true"] .faq-icon::after { opacity: 0; }
.faq-question[aria-expanded="true"] .faq-icon::before { background: var(--accent); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer p {
  padding: 0 22px 20px;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ---------- Final CTA ---------- */
.final-cta {
  padding: 88px 0 110px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.final-cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.final-cta p { margin-top: 14px; color: var(--text-dim); font-size: 1rem; }
.final-cta .btn { margin-top: 32px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-support { color: var(--text-dim); font-size: 0.88rem; }
.footer-support a { color: var(--accent); }
.footer-copy { color: var(--text-faint); font-size: 0.8rem; width: 100%; margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .how-layout { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .compat-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px;
  }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav.open a:last-child { border-bottom: none; }
  .plans-grid { grid-template-columns: 1fr; max-width: 420px; }
}

@media (max-width: 520px) {
  .cats-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}
