/*
Theme Name: NeoBiz
Theme URI: https://neobiz.com.br
Author: NeoBiz
Author URI: https://neobiz.com.br
Description: Tema institucional da NeoBiz — BPM, RPA, OCR e Transformação Digital. Landing page responsiva com seções de serviços, depoimentos e resultados.
Version: 1.0.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: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neobiz
*/

/* ============================================================
   NeoBiz — Design system + layout
   ============================================================ */

:root {
  --navy:        #16225b;
  --navy-deep:   #101a45;
  --navy-2:      #223377;
  --blue:        #2a49b8;
  --blue-soft:   #eef1fb;
  --teal:        #28b6c4;
  --green:       #5aa63a;
  --green-soft:  #eef6ea;
  --orange:      #f26a2e;

  --ink:         #2b3040;
  --muted:       #6a7183;
  --line:        #e6e9f2;
  --bg:          #ffffff;
  --bg-alt:      #f4f6fc;

  --radius:      14px;
  --radius-lg:   22px;
  --shadow:      0 18px 45px rgba(20, 32, 78, .10);
  --shadow-sm:   0 8px 24px rgba(20, 32, 78, .08);
  --maxw:        1120px;
  --font:        'Inter', system-ui, sans-serif;
  --display:     'Poppins', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.2; margin: 0 0 .6em; color: var(--navy); }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 30px;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 22px; font-size: .85rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(42,73,184,.30); }
.btn-primary:hover { background: #2340a8; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(90,166,58,.30); }
.btn-green:hover { background: #4d9330; }
.btn-outline { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-outline:hover { background: var(--teal); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.logo { display: flex; align-items: center; gap: 9px; }
.logo-mark { display: inline-flex; }
.logo-text { font-family: var(--display); font-weight: 500; font-size: 1.5rem; color: var(--navy); letter-spacing: -.5px; }
.logo-text b { font-weight: 700; color: var(--teal); }
.logo-text.light { color: #fff; }
.logo-text.light b { color: var(--teal); }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.main-nav a { font-size: .92rem; font-weight: 500; color: var(--navy); transition: color .15s; }
.main-nav ul a:hover { color: var(--blue); }
.nav-cta { white-space: nowrap; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg,#fff 0%, var(--bg-alt) 100%); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 70px 24px 90px; }
.hero-copy h1 { font-size: clamp(1.7rem, 3.4vw, 2.55rem); font-weight: 700; color: var(--navy); }
.hero-copy p { font-size: 1.08rem; color: var(--muted); max-width: 34ch; margin-bottom: 1.8em; }
.hero-media { position: relative; }
.hero-shape {
  position: absolute; top: -10%; right: -8%; width: 55%; height: 120%;
  background: radial-gradient(circle at 60% 40%, rgba(40,182,196,.12), transparent 60%);
  z-index: 0; pointer-events: none;
}

/* ---------- Placeholder media ---------- */
.ph {
  position: relative; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.85);
  min-height: 300px; overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  position: absolute; bottom: 14px; left: 0; right: 0;
  text-align: center; font-size: .72rem; letter-spacing: .3px;
  color: rgba(255,255,255,.85); padding: 0 14px;
}
.ph-photo { background: linear-gradient(135deg, #2a49b8, #28b6c4); box-shadow: var(--shadow); }
.ph-photo.light { background: linear-gradient(135deg, #33447f, #5566a8); }
.ph-photo.green { background: linear-gradient(135deg, #5aa63a, #8cc152); }
.ph-icon { min-height: auto; color: var(--teal); }
.ph-icon::after { content: none; }
.ph img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* ---------- Trust strip ---------- */
.trust { padding: 46px 0 40px; border-bottom: 1px solid var(--line); }
.trust-title { text-align: center; font-size: 1.15rem; font-weight: 600; color: var(--navy); margin-bottom: 26px; }
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 42px; list-style: none; margin: 0; padding: 0; }
.brand-logo { font-family: var(--display); font-weight: 600; color: #9aa2b6; font-size: 1rem; filter: grayscale(1); letter-spacing: .3px; }

/* ---------- About (blue block) ---------- */
.about { padding: 70px 0 20px; }
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; align-items: stretch; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.about-media .ph { min-height: 100%; border-radius: 0; }
.about-card { background: var(--navy); color: #fff; padding: 46px 44px; }
.about-card h2 { color: #fff; font-size: 1.5rem; font-weight: 600; }
.about-card p { color: rgba(255,255,255,.82); font-size: .97rem; }

.mission { text-align: center; padding: 66px 24px 20px; max-width: 760px; }
.mission h3 { font-size: 1.5rem; font-weight: 600; }
.mission p { color: var(--muted); margin-bottom: 1.6em; }

/* ---------- Feature sections ---------- */
.feature { padding: 72px 0; }
.feature:nth-of-type(even) { background: var(--bg-alt); }
.bpm { background: var(--bg-alt); }
.feature-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.eyebrow { display: inline-block; font-family: var(--display); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: .85rem; margin-bottom: 10px; }
.eyebrow-blue { color: var(--blue); }
.eyebrow-green { color: var(--green); }
.feature-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.lead { color: var(--muted); font-size: 1.05rem; }

/* split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-copy h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.split-copy h3 { font-size: 1.45rem; font-weight: 600; }
.split-copy p { color: var(--muted); }
.split + .cards-3, .split + .cards-6 { margin-top: 54px; }

.partner-logo { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--navy); margin-top: 10px; }
.partner-logo.orange { color: var(--orange); }
.partner-logo.big { font-size: 2rem; color: var(--navy); display: block; margin-bottom: 4px; }
.partner-logo sup { font-size: .6em; color: var(--teal); }

/* mini cards (BPM) */
.cards-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.mini-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 30px 26px; }
.mini-card h4 { color: #fff; font-size: 1.05rem; font-weight: 600; }
.mini-card p { color: rgba(255,255,255,.78); font-size: .9rem; margin: 0; }
.mini-icon { font-size: 1.4rem; color: var(--teal); margin-bottom: 10px; }

/* step cards (RPA) */
.cards-6 { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px 40px; }
.step-card { border-top: 3px solid var(--blue); padding-top: 16px; }
.step-card h4 { font-size: 1.1rem; font-weight: 600; }
.step-card p { color: var(--muted); font-size: .92rem; margin: 0; }

.rpa-foot { display: flex; align-items: center; justify-content: center; gap: 40px; margin-top: 60px; text-align: center; flex-wrap: wrap; }
.rpa-foot > div:first-child { max-width: 620px; }
.rpa-foot h3 { font-size: 1.4rem; }
.rpa-foot p { color: var(--muted); }

/* ---------- Testimonial ---------- */
.testimonial { padding: 78px 0; background: var(--bg-alt); }
.testimonial-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.testimonial h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.quote-card { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 44px 40px 36px; box-shadow: var(--shadow); margin: 0; }
.quote-mark { position: absolute; top: 10px; left: 30px; font-family: var(--display); font-size: 5rem; color: var(--teal); line-height: 1; }
.quote-card blockquote { margin: 26px 0 22px; font-size: 1.02rem; color: var(--ink); }
.quote-card figcaption strong { display: block; color: var(--navy); font-family: var(--display); }
.quote-card figcaption span { color: var(--muted); font-size: .88rem; }

/* ---------- Results ---------- */
.results { padding: 66px 0; }
.cards-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.result-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: box-shadow .2s, transform .2s; }
.result-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.result-logo { display: block; font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--navy); margin-bottom: 14px; }
.result-card p { color: var(--muted); font-size: .92rem; }
.result-card a { color: var(--blue); font-weight: 600; font-size: .88rem; }

/* ---------- CTA final ---------- */
.cta-final { background: linear-gradient(120deg, var(--navy-deep), var(--navy-2)); color: #fff; padding: 74px 0; text-align: center; }
.cta-final h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2rem); max-width: 780px; margin: 0 auto .5em; }
.cta-final p { color: rgba(255,255,255,.82); max-width: 620px; margin: 0 auto 1.8em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #fff; padding: 40px 0 26px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.social { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: .95rem; transition: background .2s; }
.social a:hover { background: var(--teal); }
.footer-copy { padding-top: 20px; color: rgba(255,255,255,.55); font-size: .82rem; }

/* WordPress helpers */
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 24px 22px; box-shadow: var(--shadow);
    transform: translateY(-140%); transition: transform .3s ease;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 4px; width: 100%; }
  .main-nav ul a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 14px; }

  .hero-inner { grid-template-columns: 1fr; padding: 48px 24px 60px; }
  .hero-media { order: -1; }
  .hero-copy p { max-width: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-media .ph { min-height: 240px; }

  .split, .testimonial-grid { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-media { order: -1; }

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

@media (max-width: 560px) {
  .cards-3, .cards-6, .cards-4 { grid-template-columns: 1fr; }
  .logo-strip { gap: 26px; }
  .about-card { padding: 34px 26px; }
  .footer-inner { flex-direction: column; gap: 20px; }
}
