﻿/*
Theme Name: PINASC Final
Theme URI: https://pinasc.com.br
Author: PINASC
Author URI: https://pinasc.com.br
Description: Tema institucional seguro para a PINASC, com landing page responsiva, templates de paginas principais e secundarias, cores globais, fontes globais e compatibilidade com Elementor.
Version: 2.2.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pinasc
Tags: custom-logo, one-column, blog, custom-menu, featured-images
*/

:root {
  --font-heading: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  --ink: #172027;
  --muted: #5f6b74;
  --line: #d9e0e4;
  --paper: #ffffff;
  --soft: #f4f7f6;
  --green: #1e7b5c;
  --green-dark: #12513f;
  --amber: #c88a23;
  --blue: #2d5c88;
  --rose: #8a4f5c;
  --shadow: 0 18px 40px rgba(23, 32, 39, 0.10);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.topbar {
  background: var(--ink);
  color: #ffffff;
  font-size: 0.88rem;
}

.topbar-inner,
.nav-inner,
.section-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar span {
  color: #dce7e4;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), var(--blue));
  font-weight: 900;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.76rem;
  margin-top: -3px;
}

.menu,
.menu-list {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #33424b;
  font-weight: 700;
  font-size: 0.94rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a:hover,
.menu-list a:hover {
  color: var(--green);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-primary {
  background: var(--green);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--green-dark);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--line);
}

.hero {
  background:
    linear-gradient(90deg, rgba(244, 247, 246, 0.96) 0%, rgba(244, 247, 246, 0.82) 52%, rgba(244, 247, 246, 0.40) 100%),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1800&q=80") center right / cover;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  min-height: calc(100vh - 116px);
  max-height: 820px;
  display: grid;
  grid-template-columns: minmax(0, 700px) minmax(260px, 1fr);
  align-items: center;
  gap: 38px;
  padding: 74px 0 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.affiliate-band .eyebrow {
  color: #dce7e4;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--amber);
  border-radius: 8px;
}

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

h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.45rem, 6vw, 5.4rem);
  line-height: 0.98;
  margin-bottom: 22px;
  max-width: 760px;
  letter-spacing: 0;
}

.hero-copy {
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  color: #34434b;
  max-width: 680px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
}

.proof-item {
  border-left: 4px solid var(--green);
  background: rgba(255, 255, 255, 0.78);
  padding: 12px 14px;
  border-radius: 8px;
  min-height: 86px;
}

.proof-item strong {
  display: block;
  font-size: 1.28rem;
  line-height: 1.1;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-panel {
  align-self: end;
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.signal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.signal-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  color: #35434b;
}

.check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(30, 123, 92, 0.12);
  color: var(--green);
  display: grid;
  place-items: center;
  font-weight: 900;
  line-height: 1;
}

section {
  padding: 82px 0;
}

.section-soft {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2,
.cta h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  margin-bottom: 14px;
  letter-spacing: 0;
}

.section-head p {
  color: var(--muted);
  font-size: 1.06rem;
}

.authority-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: start;
}

.authority-text {
  font-size: 1.08rem;
  color: #34434b;
}

.stats-grid,
.pillar-grid,
.solution-grid,
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.stat,
.pillar,
.solution,
.content-card,
.step,
.offer,
.content-entry {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(23, 32, 39, 0.05);
}

.stat strong {
  color: var(--green-dark);
  display: block;
  font-size: 1.7rem;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat span,
.solution p,
.pillar p,
.content-card p,
.step p,
.offer p {
  color: var(--muted);
}

.pillar {
  position: relative;
  overflow: hidden;
  min-height: 275px;
}

.pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--green);
}

.pillar:nth-child(2)::before {
  background: var(--amber);
}

.pillar:nth-child(3)::before {
  background: var(--blue);
}

.pillar-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--soft);
  color: var(--green-dark);
  font-weight: 900;
  margin-bottom: 18px;
}

.pillar h3,
.solution h3,
.content-card h3,
.step h3,
.offer h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.22;
  margin-bottom: 10px;
  letter-spacing: 0;
}

.criteria {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: #40515a;
  font-size: 0.95rem;
}

.criteria li {
  padding-left: 18px;
  position: relative;
}

.criteria li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  background: var(--amber);
  border-radius: 50%;
}

.solution-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 900;
  margin-bottom: 16px;
  background: var(--green);
}

.solution:nth-child(2) .solution-icon,
.solution:nth-child(5) .solution-icon {
  background: var(--blue);
}

.solution:nth-child(3) .solution-icon,
.solution:nth-child(6) .solution-icon {
  background: var(--rose);
}

.process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  counter-reset: process;
}

.step {
  counter-increment: process;
  min-height: 220px;
}

.step::before {
  content: counter(process);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 900;
  margin-bottom: 16px;
}

.affiliate-band {
  background: var(--ink);
  color: #ffffff;
  padding: 72px 0;
}

.affiliate-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.affiliate-layout p {
  color: #d9e3e1;
}

.affiliate-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 10px 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
  font-size: 0.95rem;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.offer {
  min-height: 245px;
  display: flex;
  flex-direction: column;
}

.offer .price {
  color: var(--green-dark);
  font-weight: 900;
  margin-top: auto;
  padding-top: 20px;
}

.cta {
  background:
    linear-gradient(90deg, rgba(18, 81, 63, 0.94), rgba(45, 92, 136, 0.88)),
    url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1800&q=80") center / cover;
  color: #ffffff;
  padding: 86px 0;
}

.cta-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.cta p {
  color: #e7f0ed;
  max-width: 760px;
  margin-bottom: 0;
  font-size: 1.08rem;
}

.footer {
  background: #10171c;
  color: #d9e0e4;
  padding: 44px 0;
}

.footer-grid {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}

.footer h3 {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 1rem;
}

.footer p,
.footer a {
  color: #b8c3c8;
  font-size: 0.95rem;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.default-page {
  padding: 72px 0;
  background: var(--soft);
  min-height: 60vh;
}

.page-template-pinasc {
  padding: 0;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(244, 247, 246, 0.96), rgba(244, 247, 246, 0.86)),
    url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1800&q=80") center / cover;
  border-bottom: 1px solid var(--line);
  padding: 92px 0 72px;
}

.page-hero h1 {
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  max-width: 850px;
}

.page-hero p {
  max-width: 780px;
  color: #34434b;
  font-size: 1.15rem;
}

.content-entry {
  max-width: 860px;
}

.entry-content a {
  color: var(--green-dark);
  text-decoration: underline;
}

@media (max-width: 980px) {
  .menu {
    display: none;
  }

  .hero-inner,
  .authority-grid,
  .affiliate-layout,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 62px;
  }

  .hero-panel {
    align-self: auto;
  }

  .stats-grid,
  .pillar-grid,
  .solution-grid,
  .content-grid,
  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .cta-inner {
    align-items: start;
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 0;
  }

  .nav-inner {
    min-height: 66px;
  }

  .brand small {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(244, 247, 246, 0.98), rgba(244, 247, 246, 0.86)),
      url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1200&q=80") center / cover;
  }

  .hero-proof,
  .stats-grid,
  .pillar-grid,
  .solution-grid,
  .content-grid,
  .offer-grid,
  .process,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 62px 0;
  }

  .btn {
    width: 100%;
  }
}

