/* TecHelpMe — tabulação única. Flex, 2 ou 3 colunas, caixa 1120px. */

:root {
  --thm-paper: #f6f3ec;
  --thm-alt: #e6dcc8;
  --thm-surface: #fffcf7;
  --thm-ink: #12202c;
  --thm-ink-soft: #2c3b48;
  --thm-muted: #5d6b75;
  --thm-line: #ddd6c9;
  --thm-accent: #0e6b63;
  --thm-whatsapp: #128c7e;
  --thm-dark: #0c1a27;
  --thm-content: 1120px;
  --thm-gap: 28px;
  --thm-pad: 24px;
  --thm-section: 88px;
  --thm-font: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --thm-display: "Newsreader", "Times New Roman", serif;
}

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body.techelpme,
.thm-site {
  margin: 0;
  background: var(--thm-paper);
  color: var(--thm-ink);
  font-family: var(--thm-font);
  font-size: 17px;
  line-height: 1.65;
}

.thm-site a { color: inherit; text-decoration: none; }
.thm-site img { max-width: 100%; height: auto; display: block; }
.thm-site *, .thm-site *::before, .thm-site *::after { box-sizing: border-box; }

/* ——— Tipo: sem max-width em ch ——— */
.thm-site h1,
.thm-site h2,
.thm-site h3,
.thm-site .wp-block-heading {
  font-family: var(--thm-display);
  font-weight: 560;
  color: var(--thm-ink);
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
  max-width: none;
}

.thm-site h1 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); line-height: 1.15; }
.thm-site h2 { font-size: clamp(1.7rem, 1.4rem + 1.1vw, 2.2rem); line-height: 1.22; }
.thm-site h3 { font-size: 1.25rem; line-height: 1.35; font-family: var(--thm-font); font-weight: 650; letter-spacing: -0.015em; }

.thm-site p,
.thm-site .wp-block-paragraph {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--thm-ink-soft);
  text-wrap: pretty;
}

.thm-kicker {
  font-family: var(--thm-font);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--thm-accent);
  line-height: 1.3;
}

.thm-lead { font-size: 1.125rem; line-height: 1.6; max-width: 40rem; }
.thm-note { font-size: 0.875rem; color: var(--thm-muted); }
.thm-price { font-size: 2.35rem; font-weight: 650; letter-spacing: -0.03em; color: var(--thm-ink); line-height: 1; font-variant-numeric: tabular-nums; }
.thm-period { font-size: 0.8rem; color: var(--thm-muted); }
.thm-step {
  font-size: 1.85rem;
  font-weight: 650;
  color: var(--thm-accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-family: var(--thm-display);
}

.thm-steps {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.thm-step-row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  column-gap: 28px;
  row-gap: 8px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--thm-line);
}
.thm-step-row:first-child { padding-top: 0; }
.thm-step-row:last-child { padding-bottom: 0; border-bottom: 0; }
.thm-step-row .thm-step { grid-column: 1; grid-row: 1 / -1; padding-top: 2px; }
.thm-step-row h3,
.thm-step-row p:not(.thm-step) { grid-column: 2; }
.thm-step-row h3 { padding-top: 4px; }

.has-text-align-center { text-align: center; }
.has-text-align-center .thm-lead { margin-inline: auto; }

/* ——— Caixa central. Nunca colado na esquerda. ——— */
.thm-inner {
  width: min(var(--thm-content), calc(100% - 48px));
  margin-inline: auto;
}

.thm-section {
  padding-block: var(--thm-section);
  background: var(--thm-paper);
}

.thm-section.is-alt {
  background: var(--thm-alt);
}

.thm-section.is-dark {
  background: var(--thm-dark);
  color: var(--thm-paper);
}
.thm-section.is-dark h1,
.thm-section.is-dark h2,
.thm-section.is-dark h3,
.thm-section.is-dark .wp-block-heading { color: var(--thm-paper); }
.thm-section.is-dark p { color: rgba(246, 243, 236, 0.82); }
.thm-section.is-dark .thm-kicker { color: #8fd4cc; }

.thm-section.is-cta {
  background: var(--thm-accent);
  color: #fff;
  text-align: center;
}
.thm-section.is-cta h2 { color: #fff; }
.thm-section.is-cta p { color: rgba(255,255,255,0.9); }

.thm-stack { display: flex; flex-direction: column; gap: 16px; }
.thm-stack-lg { display: flex; flex-direction: column; gap: 28px; }

/* ——— Colunas: só flex. 2 ou 3. Nunca grid 12. Nunca 4. ——— */
.wp-block-columns,
.thm-cols {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: var(--thm-gap);
  width: 100%;
}

.wp-block-column,
.thm-cols > * {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 781px) {
  .wp-block-columns,
  .thm-cols {
    flex-direction: column;
    flex-wrap: nowrap;
  }
  .wp-block-column,
  .thm-cols > * {
    flex: 1 1 auto;
    width: 100%;
  }
}

/* ——— Header ——— */
.thm-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--thm-paper);
  border-bottom: 1px solid var(--thm-line);
}
.thm-header .thm-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.thm-brand { display: flex; align-items: center; gap: 10px; }
.thm-brand-name { font-weight: 700; font-size: 0.95rem; letter-spacing: -0.02em; line-height: 1.1; }
.thm-brand-tag { display: block; margin-top: 3px; font-size: 0.62rem; font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; color: var(--thm-muted); }
.thm-nav { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.thm-nav a { font-size: 0.9rem; font-weight: 500; color: var(--thm-ink-soft); }
.thm-nav a:hover { color: var(--thm-ink); }
.thm-nav a.is-current { color: var(--thm-ink); font-weight: 650; }

@media (max-width: 840px) {
  .thm-header .thm-inner {
    flex-wrap: wrap;
    min-height: auto;
    padding: 12px 0 8px;
  }
  .thm-nav {
    display: flex;
    width: 100%;
    order: 3;
    gap: 16px;
    padding-bottom: 4px;
  }
}

/* ——— Cover / hero ——— */
.wp-block-cover,
.thm-cover {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--thm-dark);
}
.thm-cover > img,
.thm-cover img.thm-cover-img,
.wp-block-cover img.thm-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
.thm-cover figure.thm-cover-img {
  position: absolute;
  inset: 0;
  margin: 0;
}
.thm-cover figure.thm-cover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
.thm-cover-dim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(12,26,39,0.78) 0%, rgba(12,26,39,0.45) 55%, rgba(12,26,39,0.28) 100%);
}
.thm-cover-inner {
  position: relative;
  z-index: 2;
  width: min(var(--thm-content), calc(100% - 48px));
  margin-inline: auto;
  padding: 72px 0;
}
.thm-cover-copy {
  width: min(36rem, 100%);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.thm-cover h1,
.thm-cover p,
.thm-cover .thm-kicker { color: #fff; }
.thm-cover .thm-kicker { color: #9fe0d8; }
.thm-cover p { color: rgba(255,255,255,0.88); font-size: 1.125rem; }

/* ——— Media + texto: grid só no elemento, nunca no wrapper pai ——— */
.wp-block-media-text,
.thm-media {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
  width: 100%;
}
.thm-media.is-right { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr); }
.thm-media.is-right .thm-media-fig { order: 2; }
.thm-media-fig img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 16px;
}
.thm-media-copy { display: flex; flex-direction: column; gap: 14px; }
.thm-media-copy h2 { max-width: none; }

@media (max-width: 781px) {
  .wp-block-media-text,
  .thm-media,
  .thm-media.is-right {
    grid-template-columns: 1fr;
  }
  .thm-media.is-right .thm-media-fig { order: 0; }
  .thm-media-fig img { height: 260px; }
}

/* ——— Cards ——— */
.thm-card {
  background: var(--thm-surface);
  border: 1px solid var(--thm-line);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}
.thm-section.is-dark .thm-card {
  background: var(--thm-surface);
  border-color: var(--thm-line);
}
.thm-section.is-dark .thm-card h3 {
  color: var(--thm-ink);
}
.thm-section.is-dark .thm-card p,
.thm-section.is-dark .thm-card li {
  color: var(--thm-ink-soft);
}
.thm-card.is-hi {
  border-color: var(--thm-accent);
  box-shadow: 0 12px 40px rgba(14, 107, 99, 0.12);
}
.thm-card ul,
.wp-block-list {
  margin: 0;
  padding: 0 0 0 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.thm-card li { color: var(--thm-ink-soft); font-size: 0.98rem; }

.thm-quote {
  margin: 0;
  padding: 28px;
  background: var(--thm-surface);
  border: 1px solid var(--thm-line);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}
.thm-quote p { font-size: 1.05rem; font-style: italic; }
.thm-quote cite { font-style: normal; font-size: 0.85rem; font-weight: 650; color: var(--thm-muted); }

.thm-details {
  border-top: 1px solid var(--thm-line);
  padding: 16px 0;
}
.thm-details summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 1.05rem;
  list-style: none;
}
.thm-details summary::-webkit-details-marker { display: none; }
.thm-details p { margin-top: 8px; }

/* ——— Botões ——— */
.thm-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-button__link,
.thm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--thm-font);
  font-size: 0.95rem;
  font-weight: 650;
  border: 0;
  cursor: pointer;
  background: var(--thm-ink);
  color: #fff;
}
.thm-btn.is-wa,
.wp-block-button.is-style-whatsapp .wp-block-button__link {
  background: var(--thm-whatsapp);
  color: #fff;
}
.thm-btn.is-ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.65);
}

/* ——— Footer ——— */
.thm-footer {
  background: var(--thm-dark);
  color: var(--thm-paper);
  padding: 56px 0 28px;
}
.thm-footer p, .thm-footer a { color: rgba(246,243,236,0.75); }
.thm-footer h3 { color: #fff; font-size: 0.95rem; }
.thm-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; }

/* ——— Float WhatsApp ——— */
.thm-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--thm-whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(18,140,126,0.4);
}
.thm-wa svg { width: 28px; height: 28px; }

/* ——— Form ——— */
.thm-form { display: flex; flex-direction: column; gap: 12px; max-width: 36rem; }
.thm-form input,
.thm-form textarea {
  width: 100%;
  border: 1px solid var(--thm-line);
  background: var(--thm-surface);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  color: var(--thm-ink);
}
.thm-form textarea { min-height: 140px; resize: vertical; }

.thm-dl {
  background: #0c1a27;
  color: #fff;
  font-size: 0.8rem;
  padding: 8px 16px;
  text-align: center;
}
.thm-dl a { color: #9fe0d8; font-weight: 650; text-decoration: underline; }

/* Faixa de prova logo após o hero: 3 colunas, traço entre elas, sem caixa. */
.thm-section.thm-trust-sec {
  padding-block: 40px;
  border-bottom: 1px solid var(--thm-line);
}
.wp-block-columns.thm-trust,
.thm-trust {
  display: flex;
  align-items: stretch;
  width: 100%;
  gap: 0;
}
.thm-trust > * {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 32px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.thm-trust > *:first-child { padding-left: 0; }
.thm-trust > *:last-child { padding-right: 0; }
.thm-trust > * + * {
  border-left: 1px solid var(--thm-line);
}
.thm-trust h3 {
  font-size: 1.15rem;
  line-height: 1.3;
}

@media (max-width: 781px) {
  .thm-trust {
    flex-direction: column;
  }
  .thm-trust > *,
  .thm-trust > *:first-child,
  .thm-trust > *:last-child {
    padding: 20px 0;
  }
  .thm-trust > * + * {
    border-left: 0;
    border-top: 1px solid var(--thm-line);
  }
}
