/*
Theme Name: Tech Place OnePage
Theme URI: https://techplacebrasil.com.br/
Author: Tech Place Brasil
Author URI: https://techplacebrasil.com.br/
Description: Tema OnePage para automação de conteúdo, IA, canais dark, lives contínuas, avatar UGC e gestor de prompts.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: techplace-onepage
*/

:root {
  --tp-bg: #f6f8fb;
  --tp-surface: #ffffff;
  --tp-text: #142033;
  --tp-muted: #5e6b7f;
  --tp-line: #dce3ec;
  --tp-blue: #0969da;
  --tp-cyan: #00a6c8;
  --tp-green: #13a36f;
  --tp-dark: #101827;
  --tp-radius: 8px;
  --tp-shadow: 0 18px 50px rgba(20, 32, 51, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--tp-bg);
  color: var(--tp-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--tp-line);
  backdrop-filter: blur(14px);
}

.site-header__inner,
.section__inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--tp-blue);
  border-radius: 50%;
  color: var(--tp-blue);
  font-weight: 800;
}

.brand__name {
  font-size: 18px;
  font-weight: 800;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu a {
  color: var(--tp-muted);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.nav-menu a:hover {
  color: var(--tp-blue);
}

.hero {
  background:
    linear-gradient(135deg, rgba(9, 105, 218, 0.12), rgba(19, 163, 111, 0.08)),
    var(--tp-bg);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  min-height: calc(100vh - 72px);
  align-items: center;
  gap: 42px;
  padding: 72px 0 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--tp-blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
}

.hero__lead {
  max-width: 660px;
  margin-bottom: 30px;
  color: var(--tp-muted);
  font-size: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--tp-radius);
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
}

.button--primary {
  background: var(--tp-blue);
  color: #fff;
}

.button--secondary {
  border-color: var(--tp-line);
  background: var(--tp-surface);
  color: var(--tp-text);
}

.hero-panel {
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius);
  background: var(--tp-surface);
  box-shadow: var(--tp-shadow);
  overflow: hidden;
}

.hero-panel__top {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--tp-line);
  padding: 14px 16px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tp-line);
}

.dot:nth-child(1) {
  background: #ff6159;
}

.dot:nth-child(2) {
  background: #ffbd2e;
}

.dot:nth-child(3) {
  background: #28c840;
}

.hero-panel__body {
  padding: 24px;
}

.status-card {
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius);
  padding: 18px;
}

.status-card + .status-card {
  margin-top: 14px;
}

.status-card strong {
  display: block;
  margin-bottom: 6px;
}

.status-card span {
  color: var(--tp-muted);
}

.section {
  padding: 72px 0;
}

.section--ad {
  padding: 24px 0;
}

.section--white {
  background: var(--tp-surface);
}

.section__header {
  max-width: 720px;
  margin-bottom: 30px;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

.section__header p {
  color: var(--tp-muted);
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--services {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.card {
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius);
  background: var(--tp-surface);
  padding: 22px;
}

.card__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: var(--tp-radius);
  background: rgba(9, 105, 218, 0.1);
  color: var(--tp-blue);
  font-weight: 900;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.card p {
  color: var(--tp-muted);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 28px;
  align-items: center;
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius);
  background:
    linear-gradient(135deg, rgba(9, 105, 218, 0.12), rgba(0, 166, 200, 0.08)),
    var(--tp-surface);
  padding: 32px;
  box-shadow: var(--tp-shadow);
}

.feature p {
  color: var(--tp-muted);
  font-size: 18px;
}

.feature__list {
  display: grid;
  gap: 12px;
}

.feature__list span {
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius);
  background: rgba(255, 255, 255, 0.82);
  padding: 14px 16px;
  color: var(--tp-text);
  font-weight: 750;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius);
  background: var(--tp-surface);
  padding: 18px;
}

.steps li::before {
  content: counter(step);
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--tp-dark);
  color: #fff;
  font-weight: 900;
}

.post-list {
  display: grid;
  gap: 16px;
}

.post-item {
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius);
  background: var(--tp-surface);
  padding: 20px;
}

.post-item a {
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.post-item p {
  margin: 8px 0 0;
  color: var(--tp-muted);
}

.ad-slot {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius);
  background: rgba(255, 255, 255, 0.74);
}

.ad-slot__content {
  width: 100%;
  text-align: center;
}

.ad-slot ins,
.ad-slot iframe {
  max-width: 100%;
}

.ad-slot--empty {
  flex-direction: column;
  gap: 4px;
  border-style: dashed;
  color: var(--tp-muted);
}

.ad-slot--empty span {
  font-weight: 800;
}

.ad-slot--empty small {
  font-size: 13px;
}

.post-content {
  max-width: 760px;
  color: var(--tp-text);
  font-size: 18px;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--tp-radius);
}

.post-content a {
  color: var(--tp-blue);
}

.pagination,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.page-numbers {
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius);
  background: var(--tp-surface);
  padding: 8px 12px;
  text-decoration: none;
}

.page-numbers.current {
  background: var(--tp-dark);
  color: #fff;
}

.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border-radius: var(--tp-radius);
  background: var(--tp-dark);
  color: #fff;
  padding: 30px;
}

.contact-box p {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  border-top: 1px solid var(--tp-line);
  background: var(--tp-surface);
  padding: 26px 0;
  color: var(--tp-muted);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

@media (max-width: 900px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-menu {
    flex-wrap: wrap;
  }

  .hero__inner,
  .contact-box,
  .feature {
    grid-template-columns: 1fr;
  }

  .grid--4,
  .grid--3,
  .grid--services {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .grid--4,
  .grid--3,
  .grid--services {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 40px;
  }

  .hero__inner {
    padding-top: 46px;
  }
}
