/* ============================================================
   Thema Performance v2 — paleta vibrante, chamativa, zero-config.
   Fundo roxo-quase-preto + gradiente energético (laranja -> rosa ->
   roxo) como assinatura. Toda arte de secao e desenhada em CSS puro
   (blobs de gradiente, formas) - nada depende de imagem enviada.
   ============================================================ */
:root {
  --tp-bg: #0a0714;
  --tp-bg-alt: #130c26;
  --tp-panel: #180f30;
  --tp-line: #2b2050;
  --tp-orange: #ff5b1f;
  --tp-pink: #ff2e79;
  --tp-purple: #7c3aed;
  --tp-white: #ffffff;
  --tp-muted: #ada6c9;
  --tp-gradient: linear-gradient(90deg, var(--tp-orange), var(--tp-pink) 55%, var(--tp-purple));

  --tp-display: 'Anton', Impact, sans-serif;
  --tp-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --tp-mono: 'IBM Plex Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--tp-bg); color: var(--tp-white);
  font-family: var(--tp-body); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.tp-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--tp-pink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

.tp-gradient-text { background: var(--tp-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Header */
.tp-header { position: sticky; top: 0; z-index: 200; background: rgba(10,7,20,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--tp-line); }
.tp-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 24px; max-width: 1180px; margin: 0 auto; }
.tp-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--tp-display); font-size: 1.35rem; letter-spacing: .01em; }
.tp-logo img { height: 36px; width: auto; }

.tp-nav { display: none; }
.tp-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.tp-nav a { text-decoration: none; font-size: .84rem; font-weight: 700; color: var(--tp-muted); transition: color .15s ease; }
.tp-nav a:hover { color: var(--tp-white); }

.tp-menu-toggle { background: none; border: 1px solid var(--tp-line); color: var(--tp-white); font-size: 1.15rem; width: 42px; height: 42px; border-radius: 8px; cursor: pointer; }
@media (min-width: 900px) { .tp-nav { display: block; } .tp-menu-toggle { display: none; } }

.tp-drawer { position: fixed; inset: 0; background: var(--tp-bg); z-index: 300; display: none; flex-direction: column; padding: 20px; }
.tp-drawer.is-open { display: flex; }
.tp-drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.tp-drawer-nav { display: flex; flex-direction: column; gap: 4px; }
.tp-drawer-nav a { text-decoration: none; color: var(--tp-white); font-family: var(--tp-display); font-size: 1.9rem; padding: 12px 0; border-bottom: 1px solid var(--tp-line); }
.tp-drawer .tp-btn { margin-top: 28px; }

/* Botoes */
.tp-btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--tp-body); font-weight: 800; font-size: .92rem; letter-spacing: .01em; text-decoration: none; padding: 15px 28px; border-radius: 10px; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease; }
.tp-btn:hover { transform: translateY(-2px); }
.tp-btn-primary { background: var(--tp-gradient); color: #fff; box-shadow: 0 8px 30px rgba(255,46,121,.35); }
.tp-btn-primary:hover { box-shadow: 0 14px 40px rgba(255,46,121,.55); }
.tp-btn-ghost { background: rgba(255,255,255,.04); color: var(--tp-white); border-color: var(--tp-line); }
.tp-btn-ghost:hover { border-color: var(--tp-pink); }
.tp-btn-lg { padding: 20px 38px; font-size: 1.02rem; border-radius: 12px; }
.tp-btn-block { width: 100%; justify-content: center; }

@keyframes tp-pulse-glow { 0%,100% { box-shadow: 0 8px 30px rgba(255,46,121,.35); } 50% { box-shadow: 0 14px 46px rgba(255,46,121,.65); } }
.tp-btn-pulse { animation: tp-pulse-glow 2.6s ease-in-out infinite; }

/* Blobs de fundo (arte 100% CSS) */
.tp-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: 0; pointer-events: none; }
.tp-blob-orange { background: var(--tp-orange); }
.tp-blob-pink { background: var(--tp-pink); }
.tp-blob-purple { background: var(--tp-purple); }

/* Tag */
.tp-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--tp-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tp-pink); margin-bottom: 16px; }
.tp-tag::before { content: '\25CF'; font-size: .6rem; }

.tp-h1, .tp-h2, .tp-h3 { font-family: var(--tp-display); text-transform: uppercase; letter-spacing: .01em; line-height: 1; margin: 0; }
.tp-h1 { font-size: clamp(2.6rem, 7.2vw, 5.6rem); }
.tp-h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.tp-h3 { font-size: clamp(1.25rem, 2.6vw, 1.55rem); }
.tp-lead { color: var(--tp-muted); font-size: clamp(1.02rem, 1.8vw, 1.18rem); max-width: 580px; }

/* Hero */
.tp-hero { position: relative; padding: 90px 0 70px; overflow: hidden; text-align: center; }
.tp-hero-inner { max-width: 820px; margin: 0 auto; }
.tp-hero .tp-h1 { margin: 8px 0 22px; }
.tp-hero .tp-lead { margin: 0 auto 36px; }
.tp-hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.tp-hero-sub { font-family: var(--tp-mono); font-size: .78rem; color: var(--tp-muted); text-transform: uppercase; letter-spacing: .06em; }

/* Painel de plataforma */
.tp-platform-cta { position: relative; overflow: hidden; padding: 64px 32px; border-radius: 20px; text-align: center; background: var(--tp-panel); border: 1px solid var(--tp-line); }
.tp-platform-cta::before { content: ''; position: absolute; inset: -2px; background: var(--tp-gradient); border-radius: 20px; z-index: -1; opacity: .5; filter: blur(30px); }
.tp-platform-cta h2 { margin-bottom: 14px; }
.tp-platform-cta p { max-width: 480px; margin: 0 auto 28px; color: var(--tp-muted); }

/* Secoes */
.tp-section { padding: 88px 0; position: relative; }
.tp-section-alt { background: var(--tp-bg-alt); }
.tp-section-head { max-width: 620px; margin-bottom: 44px; }
.tp-section-head.tp-center { margin-left: auto; margin-right: auto; text-align: center; }

/* Icones em CSS */
.tp-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; background: var(--tp-gradient); margin-bottom: 18px; flex: none; }

/* Cards */
.tp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.tp-card { background: var(--tp-panel); border: 1px solid var(--tp-line); border-radius: 16px; padding: 30px; transition: border-color .15s ease, transform .15s ease; }
.tp-card:hover { border-color: var(--tp-pink); transform: translateY(-4px); }
.tp-card h3 { margin: 0 0 10px; font-size: 1.1rem; font-weight: 800; }
.tp-card p { margin: 0; color: var(--tp-muted); font-size: .92rem; }

/* Estatisticas embutidas */
.tp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; margin-top: 44px; }
.tp-stat-num { font-family: var(--tp-display); font-size: clamp(2rem, 4vw, 2.8rem); }
.tp-stat-label { font-family: var(--tp-mono); font-size: .72rem; text-transform: uppercase; color: var(--tp-muted); letter-spacing: .06em; margin-top: 4px; }

/* Checklist */
.tp-checklist { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 14px; max-width: 520px; }
.tp-checklist li { display: flex; align-items: flex-start; gap: 14px; font-size: 1rem; }
.tp-check-mark { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--tp-gradient); display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 900; color: #fff; }

/* Painel decorativo (substitui foto) */
.tp-visual-panel { position: relative; aspect-ratio: 4/3; border-radius: 20px; overflow: hidden; background: var(--tp-panel); border: 1px solid var(--tp-line); display: flex; align-items: center; justify-content: center; }
.tp-visual-panel .tp-blob { width: 60%; padding-bottom: 60%; top: 10%; left: 20%; }
.tp-visual-panel-content { position: relative; z-index: 1; text-align: center; padding: 20px; }
.tp-visual-panel-content .tp-h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.tp-visual-panel-content span { display: block; font-family: var(--tp-mono); font-size: .78rem; color: var(--tp-muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 10px; }

.tp-split { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 860px) { .tp-split { grid-template-columns: 1fr 1fr; } }

/* Statement */
.tp-statement { text-align: center; padding: 80px 0; }
.tp-statement p { font-family: var(--tp-display); font-size: clamp(1.7rem, 4.6vw, 2.8rem); text-transform: uppercase; line-height: 1.15; max-width: 860px; margin: 0 auto; }

/* Footer */
.tp-footer { background: #06040c; border-top: 1px solid var(--tp-line); padding: 60px 0 28px; }
.tp-footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
@media (min-width: 760px) { .tp-footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.tp-footer-widget-title { font-family: var(--tp-mono); text-transform: uppercase; font-size: .74rem; letter-spacing: .08em; color: var(--tp-muted); margin: 0 0 14px; }
.tp-footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tp-footer-nav a { text-decoration: none; color: var(--tp-muted); font-size: .9rem; }
.tp-footer-nav a:hover { color: var(--tp-white); }
.tp-footer-bottom { border-top: 1px solid var(--tp-line); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .76rem; color: var(--tp-muted); }

/* Blog */
.tp-content-wrap { padding: 60px 0 88px; }
.tp-post-list { display: grid; gap: 20px; }
.tp-post-card { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 24px; border-radius: 16px; background: var(--tp-panel); border: 1px solid var(--tp-line); }
@media (min-width: 700px) { .tp-post-card { grid-template-columns: 220px 1fr; } }
.tp-post-card img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; }
.tp-post-card h2 { font-size: 1.25rem; margin: 0 0 8px; font-family: var(--tp-body); font-weight: 800; }
.tp-post-card h2 a { text-decoration: none; }
.tp-post-meta { font-family: var(--tp-mono); font-size: .72rem; color: var(--tp-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.tp-article { max-width: 700px; margin: 0 auto; }
.tp-article h1 { font-family: var(--tp-display); text-transform: uppercase; font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 16px; }
.tp-article .entry-content { color: #d8d4e6; font-size: 1.02rem; }
.tp-article .entry-content p { margin: 0 0 20px; }
.tp-article .entry-content h2, .tp-article .entry-content h3 { font-weight: 800; margin: 32px 0 14px; }
.tp-article .entry-content img { border-radius: 12px; margin: 20px 0; }
.tp-article .entry-content a { color: var(--tp-pink); }

/* 404 */
.tp-404 { padding: 140px 0; text-align: center; }
.tp-404 .tp-h1 { font-size: clamp(4rem, 15vw, 10rem); }

/* Template App */
.tp-app-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; border-bottom: 1px solid var(--tp-line); background: var(--tp-bg); }
.tp-app-exit { font-family: var(--tp-mono); font-size: .76rem; color: var(--tp-muted); text-decoration: none; text-transform: uppercase; letter-spacing: .04em; }
.tp-app-exit:hover { color: var(--tp-white); }

/* Botao "Entrar na Plataforma" no header - só aparece de telas medias pra cima, no mobile fica só dentro do menu */
.tp-header-cta { display: none; }
@media (min-width: 640px) { .tp-header-cta { display: inline-flex; padding: 11px 20px; font-size: .82rem; } }
