/* ===================================================================
   SuaEmpresa.Tech — Landing page styles
   Paleta inspirada no logo: navy profundo + ciano, laranja e magenta
   =================================================================== */

:root {
  --bg:        #070b18;
  --bg-soft:   #0c1326;
  --surface:   rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border:    rgba(255, 255, 255, 0.10);
  --text:      #eef2fb;
  --text-dim:  #9aa6c4;

  --cyan:   #22d3ee;
  --blue:   #3b82f6;
  --orange: #fb923c;
  --pink:   #ec4899;
  --purple: #a855f7;

  --grad-brand: linear-gradient(120deg, #22d3ee 0%, #3b82f6 35%, #a855f7 65%, #ec4899 100%);
  --grad-warm:  linear-gradient(120deg, #fb923c 0%, #ec4899 100%);

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1140px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: 'Space Grotesk', 'Inter', sans-serif; line-height: 1.15; letter-spacing: -0.02em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }

/* ---------- Background decoration ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}
.bg-glow {
  position: fixed; z-index: -1; border-radius: 50%;
  filter: blur(120px); opacity: 0.4; pointer-events: none;
}
.bg-glow--cyan { width: 520px; height: 520px; top: -160px; left: -120px;
  background: radial-gradient(circle, #22d3ee, transparent 70%); }
.bg-glow--pink { width: 560px; height: 560px; top: 240px; right: -180px;
  background: radial-gradient(circle, #ec4899, transparent 70%); opacity: 0.32; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 24, 0.72);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; }
.brand__logo { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 1px var(--border); }
.brand__name { font-family: 'Space Grotesk', sans-serif; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand__dot { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  padding: 9px 15px; border-radius: 10px; font-size: 0.94rem; font-weight: 500;
  color: var(--text-dim); transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--text); background: var(--surface); }
.nav__link--cta {
  color: #fff; background: var(--grad-brand); font-weight: 600;
  box-shadow: 0 8px 24px -8px rgba(59, 130, 246, 0.6);
}
.nav__link--cta:hover { color: #fff; filter: brightness(1.08); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 12px; font-weight: 600; font-size: 0.98rem;
  cursor: pointer; transition: transform .2s, filter .2s, box-shadow .2s; border: 1px solid transparent;
}
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--primary { color: #fff; background: var(--grad-brand); box-shadow: 0 12px 30px -10px rgba(59,130,246,.6); }
.btn--primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn--ghost { color: var(--text); background: var(--surface); border-color: var(--border); }
.btn--ghost:hover { background: var(--surface-2); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero { padding: clamp(60px, 10vw, 110px) 0 clamp(40px, 6vw, 70px); }
.hero__inner { max-width: 820px; }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; border-radius: 999px; font-size: 0.86rem; font-weight: 500;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-dim);
  margin-bottom: 26px;
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34,211,238,.18); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.hero__title { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 700; }
.gradient-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__subtitle { font-size: clamp(1.05rem, 2.2vw, 1.28rem); color: var(--text-dim); margin-top: 22px; max-width: 700px; }
.hero__subtitle strong { color: var(--text); font-weight: 600; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__stats {
  display: flex; flex-wrap: wrap; gap: 38px; list-style: none; padding: 0;
  margin-top: 52px; padding-top: 34px; border-top: 1px solid var(--border);
}
.hero__stats strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 2rem;
  background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__stats span { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- Meta strip ---------- */
.meta-strip { padding: clamp(40px, 6vw, 64px) 0; }
.meta-strip__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 36px;
  background: linear-gradient(135deg, rgba(34,211,238,.08), rgba(236,72,153,.08));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow);
}
.meta-strip__text { flex: 1 1 360px; }
.meta-strip__text h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.meta-strip__text p { color: var(--text-dim); margin-top: 12px; max-width: 520px; }
.meta-strip__text strong { color: var(--text); }
.meta-strip__channels { display: flex; gap: 16px; flex-wrap: wrap; }
.channel {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  padding: 18px 20px; min-width: 104px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.88rem; font-weight: 500; transition: transform .25s, border-color .25s;
}
.channel:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.22); }
.channel svg { width: 34px; height: 34px; fill: var(--text); }
.channel:nth-child(1) svg { fill: #25D366; }
.channel:nth-child(2) svg { fill: #1877F2; }
.channel:nth-child(3) svg { fill: #E1306C; }

/* ---------- Section head ---------- */
.section__head { max-width: 680px; margin-bottom: 52px; }
.eyebrow {
  display: inline-block; font-size: 0.82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px;
}
.section__title { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 700; }
.section__lead { color: var(--text-dim); margin-top: 16px; font-size: 1.08rem; }

/* ---------- Solution cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.card {
  position: relative; padding: 32px 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .3s, border-color .3s, background .3s; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-brand);
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.2); background: var(--surface-2); }
.card:hover::before { transform: scaleX(1); }

.card__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; }
.card__icon svg { width: 28px; height: 28px; fill: #fff; }
.card__icon--cyan   { background: linear-gradient(135deg, #22d3ee, #3b82f6); }
.card__icon--orange { background: linear-gradient(135deg, #fbbf24, #fb923c); }
.card__icon--pink   { background: linear-gradient(135deg, #ec4899, #a855f7); }

.card__title { font-size: 1.4rem; margin-bottom: 12px; }
.card__desc { color: var(--text-dim); font-size: 0.98rem; }
.card__list { list-style: none; padding: 0; margin: 20px 0 22px; display: grid; gap: 10px; }
.card__list li { position: relative; padding-left: 26px; font-size: 0.93rem; color: var(--text); }
.card__list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 8px;
  border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}
.card__meta {
  display: flex; align-items: center; gap: 9px; font-size: 0.82rem; color: var(--text-dim);
  padding-top: 18px; border-top: 1px solid var(--border);
}
.card__meta-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-warm); flex-shrink: 0; }

/* ---------- Features ---------- */
.features__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature {
  padding: 26px 24px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); transition: transform .25s, border-color .25s;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.18); }
.feature__ic { font-size: 1.7rem; margin-bottom: 12px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- CTA ---------- */
.cta__box {
  text-align: center; padding: clamp(40px, 7vw, 72px) 28px; border-radius: 24px;
  background: linear-gradient(135deg, rgba(34,211,238,.10), rgba(168,85,247,.10), rgba(236,72,153,.10));
  border: 1px solid var(--border); box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.cta__box::after {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(236,72,153,.25), transparent 70%);
  bottom: -180px; left: 50%; transform: translateX(-50%); filter: blur(40px); z-index: 0;
}
.cta__title, .cta__lead, .cta__actions { position: relative; z-index: 1; }
.cta__title { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.cta__lead { color: var(--text-dim); max-width: 560px; margin: 16px auto 0; font-size: 1.08rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 52px 0 40px; background: var(--bg-soft); }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer__tagline { color: var(--text-dim); font-size: 0.96rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; }
.footer__links a { color: var(--text-dim); font-size: 0.92rem; transition: color .2s; }
.footer__links a:hover { color: var(--text); }
.footer__copy { color: var(--text-dim); font-size: 0.84rem; margin-top: 8px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 6px;
    padding: 18px 22px 26px; background: rgba(7,11,24,.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border); transform: translateY(-130%); transition: transform .35s ease; z-index: 90;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__link { padding: 13px 15px; font-size: 1rem; }
  .nav__link--cta { text-align: center; margin-top: 6px; }
  .nav-toggle { display: flex; }
  .hero__stats { gap: 26px; }
  .meta-strip__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .badge__dot { animation: none; }
}
