/* ═══════════ TOKENS ═══════════ */
:root {
  --blue: #23268c;
  --blue-dark: #191b66;
  --green: #2f6b3f;
  --ink: #1c1d1a;
  --ink-2: #44453f;
  --gray: #6d6e66;
  --bg: #ffffff;
  --bg-soft: #f4f4ef;
  --border: #e0e0d6;
  --border-strong: #c9c9bc;
  --radius: 2px;
  --shadow: 0 1px 0 rgba(28, 29, 26, .06);
  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { width: min(1180px, 92%); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.01em; font-weight: 500; }
h1 { font-size: clamp(2.5rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }

.gradient-text { color: var(--green); font-style: italic; }
.gradient-text-light { color: #b9d8c2; font-style: italic; }

/* ═══════════ BOTÕES ═══════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600;
  border-radius: var(--radius); cursor: pointer; border: 1px solid transparent;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-sm { padding: .55rem 1.2rem; font-size: .86rem; }
.btn-lg { padding: .9rem 1.8rem; font-size: .97rem; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); border: 1px solid var(--border); }
.btn-white:hover { background: var(--bg-soft); }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-outline-light:hover { border-color: #fff; }

/* ═══════════ NAVBAR ═══════════ */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1.05rem 0;
}
.navbar .logo-dark { display: block; }
.navbar .logo-light { display: none; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 1.9rem; }
.nav-links a {
  font-size: .92rem; font-weight: 500; color: var(--ink-2);
  white-space: nowrap;
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: .8rem; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink); transition: .3s;
}

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  padding: 9.5rem 0 6rem;
}
.hero-bg, .orb, .grid-overlay { display: none; }

.hero-inner {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
}
.hero-content { display: flex; flex-direction: column; align-items: center; max-width: 48rem; }
.hero-sub {
  color: var(--ink-2); font-size: 1.14rem; max-width: 36rem;
  margin: 1.4rem 0 2.2rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero-stats {
  display: flex; align-items: stretch; justify-content: center; gap: 2.2rem;
  margin-top: 3.6rem; flex-wrap: wrap;
}
.stat { max-width: 240px; text-align: left; border-top: 1px solid var(--border-strong); padding-top: 1rem; }
.stat-num {
  display: block; font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 500; line-height: 1.1; color: var(--ink);
}
.stat-label { font-size: .82rem; color: var(--gray); line-height: 1.5; display: block; margin-top: .3rem; }
.stat-divider { width: 1px; background: var(--border); }

/* ═══════════ SEÇÕES ═══════════ */
.section { padding: 5.5rem 0; }
.section-gray { background: var(--bg-soft); border-block: 1px solid var(--border); }
.section-dark {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
  color: var(--ink);
}
.section-head { text-align: center; max-width: 660px; margin: 0 auto 3.5rem; }
.section-head p { color: var(--gray); margin-top: 1rem; font-size: 1.02rem; }
.section-dark .section-head p { color: var(--gray); }
.eyebrow {
  display: inline-block; font-family: var(--font-body);
  font-size: .76rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 1rem;
}
.eyebrow-light { color: var(--green); }

/* ═══════════ CARDS CATEGORIAS ═══════════ */
.cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
.card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem 1.7rem;
  transition: border-color .25s;
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr;
  column-gap: 1rem; align-items: center;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--green);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.card:hover { border-color: var(--border-strong); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  display: grid; place-items: center; color: var(--green);
  border: 1px solid var(--border);
  background: transparent;
  transition: background .25s, color .25s, border-color .25s;
}
.card:hover .card-icon {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.card h3 { font-size: 1.3rem; }
.card p { color: var(--gray); font-size: .93rem; grid-column: 1 / -1; margin-top: .9rem; }
.card-cta {
  background: var(--ink);
  color: #fff; border: 1px solid var(--ink);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .6rem;
}
.card-cta::before { display: none; }
.card-cta p { color: #b9b9ae; }
.card-cta .btn { margin-top: .5rem; }

/* ═══════════ COMO FUNCIONA ═══════════ */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem;
}
.step { position: relative; border-top: 1px solid var(--border-strong); padding-top: 1.3rem; }
.step-num {
  font-family: var(--font-display); font-weight: 500; font-size: 1.9rem;
  line-height: 1; color: var(--green);
  margin-bottom: 1rem;
}
.step-line { display: none; }
.step h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.step p { color: var(--gray); font-size: .92rem; }

/* ═══════════ BENEFÍCIOS ═══════════ */
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.benefit-col {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2.3rem;
}
.benefit-col-head {
  display: flex; align-items: center; gap: .9rem;
  padding-bottom: 1.3rem; margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.benefit-col-head h3 { font-size: 1.45rem; }
.benefit-icon {
  width: 46px; height: 46px; border-radius: var(--radius);
  display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid var(--border);
}
.benefit-icon.industry { color: var(--blue); }
.benefit-icon.consumer { color: var(--green); }
.benefit-list { list-style: none; display: grid; gap: 1.15rem; }
.benefit-list li { position: relative; padding-left: 1.6rem; }
.benefit-list li::before {
  content: ""; position: absolute; left: 0; top: .55rem;
  width: 7px; height: 7px;
  background: var(--green);
}
.benefit-list b { display: block; font-size: .97rem; }
.benefit-list span { color: var(--gray); font-size: .88rem; }

/* ═══════════ DEPOIMENTOS ═══════════ */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonial {
  background: transparent;
  border-top: 1px solid var(--border-strong);
  padding: 1.7rem 0 0;
  display: flex; flex-direction: column; gap: 1.2rem;
}
.stars { color: #a8842c; letter-spacing: 3px; font-size: .85rem; }
.testimonial blockquote {
  font-family: var(--font-display); font-style: italic;
  color: var(--ink-2); font-size: 1.1rem; line-height: 1.5; flex: 1;
}
.testimonial figcaption { display: flex; align-items: center; gap: .8rem; }
.testimonial figcaption b { display: block; font-size: .93rem; }
.testimonial figcaption span { color: var(--gray); font-size: .8rem; }
.avatar {
  width: 42px; height: 42px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--border-strong);
  color: var(--ink); font-family: var(--font-display); font-weight: 500;
  display: grid; place-items: center;
}

/* ═══════════ NOTÍCIAS ═══════════ */
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem;
}
.news-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg); overflow: hidden;
  transition: border-color .25s;
}
.news-card:hover { border-color: var(--border-strong); }
.news-media { display: block; overflow: hidden; }
.news-media img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  transition: transform .5s ease;
}
.news-card:hover .news-media img { transform: scale(1.03); }
.news-body {
  display: flex; flex-direction: column; gap: .7rem;
  padding: 1.5rem 1.5rem 1.7rem; flex: 1;
}
.news-meta { font-size: .78rem; color: var(--gray); }
.news-tag {
  color: var(--green); font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; font-size: .72rem;
}
.news-body h3 { font-size: 1.28rem; line-height: 1.25; }
.news-body h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.news-body > p { color: var(--gray); font-size: .9rem; flex: 1; }

/* ═══════════ CTA FINAL ═══════════ */
.cta-final { padding-bottom: 5.5rem; }
.cta-box {
  position: relative;
  background: var(--ink);
  border-radius: var(--radius); padding: 4.5rem 3rem;
  text-align: center; color: #fff;
}
.orb-cta { display: none; }
.cta-box h2 { color: #fff; }
.cta-box p { color: #b9b9ae; max-width: 540px; margin: 1.2rem auto 2.4rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ═══════════ FOOTER ═══════════ */
.footer { background: #131411; color: #b9b9ae; padding: 4rem 0 0; }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 2.5rem; padding-bottom: 3rem;
}
.footer-brand p { margin-top: 1.1rem; font-size: .9rem; color: #8b8c81; max-width: 240px; }
.footer-col h3 {
  font-family: var(--font-body); font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: #fff; margin-bottom: 1.1rem;
}
.footer-col a { display: block; font-size: .9rem; color: #8b8c81; padding: .28rem 0; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: .9rem; color: #8b8c81; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.4rem 0; font-size: .8rem; color: #6f7066;
  display: flex; justify-content: center;
}

/* ═══════════ ARTIGO (BLOG) ═══════════ */
.article-hero { padding: 8.7rem 0 0; }
.article-head {
  max-width: 760px; margin-inline: auto;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 1.1rem; margin-bottom: 2.8rem;
}
.article-back {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .85rem; font-weight: 600; color: var(--green);
}
.article-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.article-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.3rem); max-width: 18ch; }
.article-lede { color: var(--ink-2); font-size: 1.13rem; max-width: 40rem; }
.article-byline {
  font-size: .85rem; color: var(--gray);
  border-top: 1px solid var(--border-strong);
  padding-top: .9rem; margin-top: .4rem;
}
.article-byline b { color: var(--ink); font-weight: 600; }

.article-cover { margin: 0; }
.article-cover img {
  width: 100%; aspect-ratio: 21 / 9; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--border);
}
.article-cover figcaption {
  font-size: .78rem; color: var(--gray);
  padding-top: .7rem; text-align: left;
}

.article-body {
  max-width: 720px; padding: 3.4rem 0 .5rem;
  font-size: 1.03rem; color: var(--ink-2); line-height: 1.75;
}
.article-body > * + * { margin-top: 1.4rem; }
.article-body h2 {
  font-size: 1.75rem; color: var(--ink);
  margin-top: 3rem; padding-top: 1.3rem;
  border-top: 1px solid var(--border-strong);
}
.article-body h3 { font-size: 1.25rem; color: var(--ink); margin-top: 2.2rem; }
.article-body b, .article-body strong { color: var(--ink); }
.article-body a { color: var(--green); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

.article-body ul { list-style: none; display: grid; gap: .9rem; }
.article-body ul li { position: relative; padding-left: 1.6rem; }
.article-body ul li::before {
  content: ""; position: absolute; left: 0; top: .55rem;
  width: 7px; height: 7px; background: var(--green);
}
.article-body ol { list-style: none; counter-reset: item; display: grid; gap: 1.1rem; }
.article-body ol li { counter-increment: item; position: relative; padding-left: 2.5rem; }
.article-body ol li::before {
  content: counter(item);
  position: absolute; left: 0; top: -.15em;
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.4rem; color: var(--green);
}

.article-body blockquote {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.35rem; line-height: 1.45; color: var(--ink);
  border-block: 1px solid var(--border-strong);
  padding: 1.7rem .2rem; margin: 2.6rem 0;
}

.article-note {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 2px solid var(--green);
  border-radius: var(--radius);
  padding: 1.5rem 1.7rem; font-size: .95rem;
  margin-top: 2.2rem;
}
.article-note b { display: block; margin-bottom: .4rem; }

.table-wrap { overflow-x: auto; margin-top: 2rem; }
.article-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.article-table th {
  text-align: left; font-size: .74rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; color: var(--ink);
  border-bottom: 1px solid var(--border-strong);
  padding: .6rem .8rem; white-space: nowrap;
}
.article-table td { border-bottom: 1px solid var(--border); padding: .7rem .8rem; color: var(--ink-2); }

.article-end {
  max-width: 720px; padding: 2.6rem 0 5rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;
}
.tag-chip {
  font-size: .72rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-2);
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  padding: .35rem .85rem;
}
.news-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 800px; margin-inline: auto; }

/* ═══════════ SOBRE NÓS ═══════════ */
.about-hero { padding: 9.5rem 0 5.5rem; }
.about-hero .hero-content { max-width: 52rem; }

.about-story {
  display: grid; grid-template-columns: .8fr 1.5fr; gap: 3.5rem;
  align-items: start;
}
.about-story-side { position: sticky; top: 6.5rem; }
.about-story-side .eyebrow { margin-bottom: .8rem; }
.about-story-side h2 { font-size: clamp(1.7rem, 2.8vw, 2.2rem); }
.about-prose { color: var(--ink-2); font-size: 1.02rem; line-height: 1.75; }
.about-prose > * + * { margin-top: 1.3rem; }
.about-prose .lead {
  font-family: var(--font-display); font-size: 1.45rem;
  line-height: 1.4; color: var(--ink);
}
.about-prose b { color: var(--ink); }

.about-quote {
  max-width: 780px; margin-inline: auto; text-align: center;
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.35; color: var(--ink);
}
.about-quote-source {
  display: block; margin-top: 1.6rem;
  font-family: var(--font-body); font-style: normal; font-weight: 600;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green);
}

.about-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.2rem;
}
.about-stats .stat { max-width: none; }

@media (max-width: 1024px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .about-hero { padding: 7.5rem 0 4rem; }
  .about-story { grid-template-columns: 1fr; gap: 2rem; }
  .about-story-side { position: static; }
  .about-stats { grid-template-columns: 1fr; }
}

/* ═══════════ SCROLL REVEAL ═══════════ */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }
.delay-5 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ═══════════ RESPONSIVO ═══════════ */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .news-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .news-grid-2 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .section { padding: 4rem 0; }
  .hero { padding: 7.5rem 0 4rem; }
  .article-hero { padding-top: 7.2rem; }
  .article-cover img { aspect-ratio: 16 / 10; }
  .article-body { padding-top: 2.6rem; }
  .article-body blockquote { font-size: 1.2rem; }
  .cards-grid, .steps, .benefits-grid { grid-template-columns: 1fr; }
  .hero-stats { justify-content: center; }
  .stat-divider { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .cta-box { padding: 3.2rem 1.6rem; }

  .nav-links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: center; justify-content: center; gap: 2.2rem;
    background: rgba(255, 255, 255, .98);
    opacity: 0; pointer-events: none;
    transition: opacity .3s;
  }
  .nav-links a { color: var(--ink) !important; font-size: 1.35rem; font-family: var(--font-display); }
  .nav-links.open { opacity: 1; pointer-events: auto; z-index: 99; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-actions .btn { display: none; }
}
