/* ===== Variáveis / Tema ===== */
:root {
  --bg: #0a0a0f;
  --bg-alt: #11111a;
  --surface: #16161f;
  --border: #262633;
  --text: #e8e8f0;
  --muted: #9a9ab0;
  --brand: #7c5cff;
  --brand-2: #22d3ee;
  --wa: #25d366;
  --radius: 16px;
  --maxw: 1120px;
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* ===== Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; font-weight: 700; }

/* ===== Layout ===== */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 760px; }
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section__title { font-size: clamp(1.6rem, 4vw, 2.4rem); text-align: center; }
.section__lead { text-align: center; color: var(--muted); margin-top: 10px; margin-bottom: 48px; }
.grad { background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600;
  font-family: var(--font-head); cursor: pointer; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--wa); color: #04210f; box-shadow: 0 8px 24px rgba(37,211,102,.3); }
.btn--primary:hover { box-shadow: 0 12px 32px rgba(37,211,102,.45); }
.btn--ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--brand); }
.btn--lg { padding: 18px 36px; font-size: 1.1rem; }
.ico { flex-shrink: 0; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,15,.7); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 800; }
.logo__mark {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-size: .9rem;
}
.logo__text { font-size: 1.05rem; }
.nav { display: none; gap: 28px; }
.nav a { color: var(--muted); font-size: .95rem; transition: color .2s; }
.nav a:hover { color: var(--text); }

/* ===== Hero ===== */
.hero { position: relative; padding: 90px 0 80px; text-align: center; overflow: hidden; }
.hero__inner { position: relative; z-index: 2; }
.badge {
  display: inline-block; padding: 7px 16px; border-radius: 999px; font-size: .8rem;
  color: var(--brand-2); border: 1px solid var(--border); background: var(--surface); margin-bottom: 24px;
}
.hero__title { font-size: clamp(2rem, 6vw, 3.6rem); font-weight: 800; max-width: 900px; margin: 0 auto; }
.hero__subtitle { color: var(--muted); font-size: clamp(1rem, 2.5vw, 1.2rem); max-width: 640px; margin: 22px auto 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-top: 36px; color: var(--muted); font-size: .9rem; }
.hero__glow {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px; border-radius: 50%; z-index: 1;
  background: radial-gradient(circle, rgba(124,92,255,.25), transparent 60%);
  filter: blur(40px);
}

/* ===== Prova social ===== */
.proof { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.proof__inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 40px 20px; text-align: center; }
.proof__item strong { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--text); }
.proof__item span { color: var(--muted); font-size: .9rem; }

/* ===== Cards ===== */
.cards { display: grid; grid-template-columns: 1fr; gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: transform .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--brand); }
.card__ico { font-size: 2rem; margin-bottom: 14px; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }
.card--quote p { font-style: italic; color: var(--text); }
.card--quote footer { margin-top: 16px; color: var(--muted); font-size: .9rem; }
.stars { color: #fbbf24; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 10px; }
#depoimentos .cards { grid-template-columns: 1fr; }
@media (min-width: 768px) { #depoimentos .cards { grid-template-columns: repeat(3, 1fr); } }

/* ===== Projetos ===== */
.project {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s ease, border-color .25s ease;
}
.project:hover { transform: translateY(-4px); border-color: var(--brand); }
.project__thumb {
  position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center;
  background: linear-gradient(135deg, #1a1a26, #0e0e16);
  border-bottom: 1px solid var(--border);
}
.project__thumb img { width: 100%; height: 100%; object-fit: cover; }
.project__placeholder { color: var(--muted); font-size: .9rem; }
.project__status {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  padding: 5px 12px; border-radius: 999px; font-size: .72rem; font-weight: 600;
  color: var(--wa); background: rgba(37,211,102,.12); border: 1px solid rgba(37,211,102,.4);
}
.project__status--dev {
  color: #fbbf24; background: rgba(251,191,36,.12); border-color: rgba(251,191,36,.4);
}
.project__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.project__tag {
  text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; font-weight: 600;
  font-family: var(--font-head); color: var(--brand-2);
}
.project__body h3 { font-size: 1.15rem; }
.project__body p { color: var(--muted); font-size: .95rem; }
.project__link {
  margin-top: 6px; color: var(--brand-2); font-weight: 600; font-size: .92rem;
  font-family: var(--font-head); transition: opacity .2s;
}
.project__link:hover { opacity: .75; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: 1fr; gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.step__n {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
  font-family: var(--font-head); font-weight: 700; margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .92rem; }

/* ===== Tecnologias ===== */
.tech { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tech__chip {
  padding: 10px 20px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--border); font-family: var(--font-head); font-size: .9rem; color: var(--text);
}

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 4px 20px; }
.faq__item summary {
  cursor: pointer; padding: 16px 0; font-family: var(--font-head); font-weight: 600;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq__item summary::after { content: "+"; color: var(--brand-2); font-size: 1.4rem; }
.faq__item[open] summary::after { content: "−"; }
.faq__item p { color: var(--muted); padding-bottom: 16px; }

/* ===== CTA final ===== */
.cta { padding: 90px 0; text-align: center; background: linear-gradient(180deg, var(--bg), var(--bg-alt)); }
.cta h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.cta p { color: var(--muted); margin: 14px 0 32px; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); padding: 40px 0; background: var(--bg); }
.footer__inner { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.footer p { color: var(--muted); font-size: .9rem; }
.footer small { color: var(--muted); opacity: .7; }

/* ===== WhatsApp flutuante ===== */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.4);
  animation: pulse 2.4s infinite; transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== Animação de entrada ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Responsivo (desktop) ===== */
@media (min-width: 768px) {
  .nav { display: flex; }
  .proof__inner { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 100px 0; }
}
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
}

/* Acessibilidade: respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
