﻿/* ============================================
   CLIMBER BPO: SITE INSTITUCIONAL
   Sistema visual baseado no Brand Book
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Cores primárias */
  --black: #0A0A0A;
  --navy: #0F2E54;
  --bone: #F5F4EF;
  --white: #FFFFFF;

  /* Acentos */
  --mist: #A8B8D0;
  --green: #1FB87E;
  --red: #E84F4F;
  --amber: #E8B842;

  /* Neutros */
  --gray-900: #1F1F1F;
  --gray-600: #525252;
  --gray-400: #A8A8A8;
  --gray-200: #E5E5E0;

  /* Layout */
  --max-width: 77.5rem;
  --gutter: 2rem;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--bone);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img, svg, video { max-width: 100%; height: auto; display: block; }

/* ===== TIPOGRAFIA ===== */

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--navy);
}
.dark .eyebrow, [data-theme="dark"] .eyebrow { color: var(--mist); }

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
  color: var(--black);
}
h1 { font-size: 5.5rem; }
h2 { font-size: 3.5rem; letter-spacing: 0; }
h3 { font-size: 1.375rem; letter-spacing: 0; line-height: 1.2; font-weight: 600; }
h4 { font-size: 1.125rem; letter-spacing: 0; font-weight: 600; }

.dark h1, .dark h2, .dark h3, .dark h4,
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4 {
  color: var(--white);
}

.accent-text { color: var(--navy); }
.dark .accent-text, [data-theme="dark"] .accent-text { color: var(--mist); }

p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-900);
}
.dark p, [data-theme="dark"] p { color: var(--mist); }

p.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--gray-900);
  max-width: 640px;
  font-weight: 400;
}
.dark p.lead, [data-theme="dark"] p.lead { color: rgba(255,255,255,0.85); }

/* ===== CONTAINER ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 244, 239, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 0.5px solid var(--gray-200);
  transition: background var(--transition), border-color var(--transition);
}

.site-header.dark {
  background: rgba(10, 10, 10, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 48px;
  position: relative;
}

.nav-logo img { height: 26px; width: auto; display: block; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
  transition: color var(--transition);
}
.dark .nav-menu a { color: rgba(255,255,255,0.7); }

.nav-menu a:hover { color: var(--black); }
.dark .nav-menu a:hover { color: var(--white); }

.nav-menu a.active { color: var(--black); font-weight: 600; }
.dark .nav-menu a.active { color: var(--white); }

.nav-menu a.active::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--navy);
}
.dark .nav-menu a.active::after { background: var(--mist); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-600);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.dark .lang-switch { color: var(--mist); }

.lang-switch a { padding: 4px 6px; border-radius: 3px; transition: all var(--transition); }
.lang-switch a.active { color: var(--black); font-weight: 600; }
.dark .lang-switch a.active { color: var(--white); }
.lang-switch a:hover:not(.active) { color: var(--navy); }
.dark .lang-switch a:hover:not(.active) { color: var(--white); }
.lang-switch .sep { color: var(--gray-400); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 6px;
  transition: all var(--transition);
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
  min-height: 44px;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--black);
  border-color: var(--black);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(15, 46, 84, 0.4);
}

.btn-light {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn-light:hover {
  background: var(--mist);
  border-color: var(--mist);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--gray-200);
}
.btn-outline:hover {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

/* Quando dentro de hero ou seção dark */
.hero .btn-outline,
.cta-final .btn-outline,
.section.dark .btn-outline,
.method .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}
.hero .btn-outline:hover,
.cta-final .btn-outline:hover,
.section.dark .btn-outline:hover,
.method .btn-outline:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.dark .btn-outline, [data-theme="dark"] .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}
.dark .btn-outline:hover, [data-theme="dark"] .btn-outline:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-arrow::after {
  content: '→';
  margin-left: 2px;
  transition: transform var(--transition);
  display: inline-block;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ===== HERO ===== */
.hero {
  padding: 80px 0 100px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.hero h1 {
  margin: 32px 0 36px;
  max-width: 18ch;
  color: var(--white);
}

.hero h1 .accent { color: var(--mist); }

.hero p.lead {
  margin-bottom: 48px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
}

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

/* Pattern decorativo do hero: derivado do "i" */
.hero-pattern {
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.6;
  background-image:
    radial-gradient(circle at 12px 8px, var(--navy) 1.5px, transparent 2px),
    radial-gradient(circle at 12px 16px, var(--navy) 0.8px, transparent 1.2px),
    radial-gradient(circle at 12px 22px, var(--navy) 0.8px, transparent 1.2px),
    radial-gradient(circle at 12px 28px, var(--navy) 0.8px, transparent 1.2px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* ===== SECTION GENÉRICA ===== */
.section {
  padding: 100px 0;
}

.section.dark { background: var(--black); color: var(--white); }
.section.navy { background: var(--navy); color: var(--white); }
.section.bone { background: var(--bone); }
.section.white { background: var(--white); }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.section-header .intro { max-width: 600px; }
.section-header .eyebrow { margin-bottom: 16px; }
.section-header h2 { margin-bottom: 16px; }

.divider-line {
  display: inline-block;
  width: 32px;
  height: 3px;
  background: var(--navy);
  margin-bottom: 20px;
}
.dark .divider-line, [data-theme="dark"] .divider-line { background: var(--mist); }

/* ===== METRICS BAR ===== */
.metrics-bar {
  background: var(--navy);
  padding: 64px 0;
  color: var(--white);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.metric {
  border-left: 2px solid var(--mist);
  padding-left: 24px;
}

.metric-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
}

.metric-label {
  font-size: 13px;
  color: var(--mist);
  line-height: 1.5;
}

@media (max-width: 800px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .metric-value { font-size: 36px; }
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 0.5px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
}

.service-card {
  background: var(--white);
  padding: 44px 36px 36px;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  transition: background var(--transition);
  cursor: pointer;
  position: relative;
}

.service-card:hover { background: var(--bone); }
.service-card:hover .arrow { transform: translateX(4px); color: var(--navy); }

.service-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--navy);
  margin-bottom: 28px;
}

.service-card h3 {
  margin-bottom: 14px;
  letter-spacing: -0.025em;
  font-size: 24px;
}

.service-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray-600);
  flex: 1;
}

.service-card .arrow {
  margin-top: 24px;
  font-size: 20px;
  color: var(--gray-400);
  transition: all var(--transition);
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ===== METHOD ===== */
.method {
  background: var(--black);
  color: var(--white);
}
.method .section-header h2 { color: var(--white); }
.method .section-header p { color: var(--mist); }

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.method-step {
  border-top: 0.5px solid rgba(255, 255, 255, 0.15);
  padding-top: 28px;
  position: relative;
}

.method-step::before {
  content: '';
  position: absolute;
  top: -2px; left: 0;
  width: 40px; height: 3px;
  background: var(--mist);
}

.method-step .step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--mist);
  margin-bottom: 18px;
}

.method-step h4 {
  margin-bottom: 14px;
  font-size: 20px;
  color: var(--white);
  letter-spacing: -0.02em;
}

.method-step p {
  font-size: 14px;
  color: var(--mist);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .method-steps { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}
@media (max-width: 600px) {
  .method-steps { grid-template-columns: 1fr; }
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--white);
  border: 0.5px solid var(--gray-200);
  border-radius: 12px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}

.testimonial .quote-mark {
  font-family: 'Inter';
  font-size: 56px;
  color: var(--navy);
  line-height: 0.5;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 4px;
}

.testimonial blockquote {
  font-size: 15px;
  line-height: 1.65;
  color: var(--gray-900);
  flex: 1;
  margin-bottom: 28px;
  font-style: normal;
}

.testimonial .author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 0.5px solid var(--gray-200);
  padding-top: 20px;
}

.testimonial .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.testimonial .author-info { font-size: 13px; }
.testimonial .author-name { font-weight: 600; color: var(--black); margin-bottom: 2px; }
.testimonial .author-role { color: var(--gray-600); font-size: 12px; }

@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ===== CTA FINAL ===== */
.cta-final {
  background: var(--black);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 80px;
  background: var(--mist);
}

.cta-content {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.cta-content .eyebrow { color: var(--mist); }
.cta-content h2 {
  color: var(--white);
  margin: 24px 0;
  font-size: clamp(36px, 5vw, 64px);
}
.cta-content h2 .accent { color: var(--mist); }

.cta-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--black);
  color: var(--mist);
  padding: 80px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img { height: 28px; width: auto; margin-bottom: 24px; }

.footer-brand p {
  max-width: 320px;
  font-size: 14px;
  color: var(--mist);
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 22px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  font-size: 14px;
  color: var(--mist);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 12px;
  color: rgba(168, 184, 208, 0.6);
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 900px) {
  .nav { gap: 24px; }
  .nav-menu {
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
  }
  .nav-menu::-webkit-scrollbar { display: none; }
  .nav-actions { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: span 2; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 72px; }
}

@media (max-width: 600px) {
  :root { --gutter: 20px; }
  .nav-logo img { height: 22px; }
  .nav { gap: 16px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .section-header { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   COMPONENTES ESPECÍFICOS
   ============================================ */

/* ===== SERVICES PAGE ===== */
.service-detail {
  padding: 80px 0;
  border-bottom: 0.5px solid var(--gray-200);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.alt { background: var(--bone); }

.service-detail-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
}

.service-detail-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--navy);
  margin-bottom: 16px;
}

.service-detail-grid h2 {
  font-size: 40px;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}

.service-detail-content p.lead {
  font-size: 19px;
  color: var(--black);
  margin-bottom: 32px;
}

.service-detail-content p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
  color: var(--gray-900);
}

.service-features {
  list-style: none;
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 32px;
}

.service-features li {
  font-size: 15px;
  color: var(--gray-900);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 2px;
  background: var(--navy);
}

@media (max-width: 900px) {
  .service-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-features { grid-template-columns: 1fr; }
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-image {
  background: var(--black);
  border-radius: 12px;
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
}

.about-image::before {
  content: '';
  position: absolute;
  top: 32px; left: 32px;
  width: 40px; height: 3px;
  background: var(--mist);
}

.about-image-text {
  position: absolute;
  bottom: 36px;
  left: 36px;
  right: 36px;
  color: var(--white);
}
.about-image-text .name {
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.about-image-text .meta {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mist);
  margin-top: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 80px;
  padding-top: 80px;
  border-top: 0.5px solid var(--gray-200);
}

.value h3 {
  margin-bottom: 14px;
  font-size: 22px;
  position: relative;
  padding-left: 24px;
}
.value h3::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 14px; height: 2px;
  background: var(--navy);
}
.value p { font-size: 15px; color: var(--gray-600); }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image { aspect-ratio: 3/2; }
  .values-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
}

.contact-info h2 { margin-bottom: 24px; font-size: 40px; }

.contact-channels {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-channel {
  background: var(--white);
  border: 0.5px solid var(--gray-200);
  border-radius: 8px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all var(--transition);
  cursor: pointer;
}
.contact-channel:hover {
  border-color: var(--navy);
  transform: translateY(-1px);
}

.contact-channel .channel-icon {
  width: 48px; height: 48px;
  border-radius: 8px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}
.contact-channel.whatsapp .channel-icon { background: #25D366; }

.channel-icon svg { width: 22px; height: 22px; fill: currentColor; }

.channel-content .channel-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 4px;
  font-weight: 600;
}

.channel-content .channel-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
}

.contact-channel .channel-arrow {
  margin-left: auto;
  color: var(--gray-400);
  font-size: 20px;
  transition: all var(--transition);
}
.contact-channel:hover .channel-arrow { color: var(--navy); transform: translateX(4px); }

.contact-form {
  background: var(--white);
  border: 0.5px solid var(--gray-200);
  border-radius: 12px;
  padding: 44px;
}

.contact-form h3 { margin-bottom: 8px; font-size: 26px; }

.contact-form .form-subtitle {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 32px;
}

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--black);
  background: var(--bone);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  transition: border-color var(--transition);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.field textarea { min-height: 110px; resize: vertical; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form button[type=submit] { width: 100%; margin-top: 8px; }

.form-note {
  font-size: 12px;
  color: var(--gray-600);
  margin-top: 16px;
  text-align: center;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form { padding: 28px; }
  .field-row { grid-template-columns: 1fr; }
}

/* ===== BLOG / INSIGHTS ===== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.post-card {
  background: var(--white);
  border: 0.5px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -16px rgba(15, 46, 84, 0.2);
}

.post-card .post-cover {
  background: var(--navy);
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}

.post-card .post-cover.bone { background: var(--bone); }
.post-card .post-cover.black { background: var(--black); }

.post-card .post-cover-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12px 8px, rgba(168, 184, 208, 0.4) 1px, transparent 1.5px),
    radial-gradient(circle at 12px 18px, rgba(168, 184, 208, 0.2) 0.7px, transparent 1px);
  background-size: 40px 40px;
}

.post-card .post-cover-label {
  position: absolute;
  bottom: 24px; left: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--mist);
}
.post-card .post-cover.bone .post-cover-label { color: var(--navy); }

.post-card .post-content {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card .post-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gray-600);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.post-card h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.25;
  color: var(--black);
}

.post-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  flex: 1;
}

.post-card .read-more {
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.005em;
}
.post-card:hover .read-more::after { transform: translateX(4px); }
.post-card .read-more::after {
  content: ' →';
  display: inline-block;
  transition: transform var(--transition);
}

@media (max-width: 900px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .posts-grid { grid-template-columns: 1fr; }
}

/* ===== POST INDIVIDUAL (artigo) ===== */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 0 100px;
}

.article-header { margin-bottom: 56px; }
.article-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gray-600);
  margin-bottom: 20px;
}
.article-meta .category {
  color: var(--navy);
  font-weight: 600;
  margin-right: 12px;
}

.article-header h1 {
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.article-header p.lead {
  font-size: 20px;
  color: var(--gray-600);
  max-width: 100%;
  line-height: 1.5;
}

.article-body h2 {
  font-size: 30px;
  margin-top: 56px;
  margin-bottom: 18px;
}

.article-body h3 {
  font-size: 22px;
  margin-top: 36px;
  margin-bottom: 14px;
}

.article-body p {
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 22px;
  color: var(--gray-900);
}

.article-body ul, .article-body ol {
  margin: 0 0 24px 24px;
  padding: 0;
}

.article-body li {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.article-body strong { color: var(--black); font-weight: 600; }

.article-body blockquote {
  border-left: 3px solid var(--navy);
  padding: 4px 0 4px 24px;
  margin: 32px 0;
  font-size: 19px;
  font-style: italic;
  color: var(--black);
  line-height: 1.5;
}

.article-cta {
  background: var(--bone);
  border-radius: 12px;
  padding: 40px;
  margin-top: 64px;
  text-align: center;
}

.article-cta h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.article-cta p { color: var(--gray-600); margin-bottom: 24px; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.animate-in.delay-1 { animation-delay: 0.1s; }
.animate-in.delay-2 { animation-delay: 0.2s; }
.animate-in.delay-3 { animation-delay: 0.3s; }

/* ===== DATA-DRIVEN SECTION ===== */
.data-driven {
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.data-driven .container { position: relative; z-index: 2; }

/* Pattern de pontos sutis no fundo, evocando dados */
.data-driven::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 24px 24px, rgba(168, 184, 208, 0.08) 1px, transparent 1.5px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 1;
}

.data-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.data-pillar {
  background: rgba(255, 255, 255, 0.03);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.data-pillar:hover {
  background: rgba(168, 184, 208, 0.06);
  border-color: rgba(168, 184, 208, 0.3);
  transform: translateY(-2px);
}

.data-pillar .pillar-visual {
  height: 64px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 28px;
}

/* Visual 01 barras estatísticas (modelagem/previsão) */
.viz-bars {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  height: 100%;
  width: 100%;
}
.viz-bars span {
  flex: 1;
  background: linear-gradient(to top, var(--mist), rgba(168, 184, 208, 0.3));
  border-radius: 2px 2px 0 0;
  display: block;
}
.viz-bars span:nth-child(1) { height: 35%; }
.viz-bars span:nth-child(2) { height: 60%; }
.viz-bars span:nth-child(3) { height: 45%; }
.viz-bars span:nth-child(4) { height: 80%; }
.viz-bars span:nth-child(5) { height: 65%; }
.viz-bars span:nth-child(6) { height: 95%; opacity: 0.5; border: 1px dashed var(--mist); background: transparent; }

/* Visual 02 fluxo/automação (setas circulares) */
.viz-flow {
  position: relative;
  width: 100%;
  height: 100%;
}
.viz-flow svg {
  width: 100%;
  height: 100%;
}

/* Visual 03 dashboard (cards mini) */
.viz-dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  width: 100%;
  height: 100%;
}
.viz-dashboard span {
  background: rgba(168, 184, 208, 0.15);
  border-radius: 3px;
  display: block;
  position: relative;
}
.viz-dashboard span:nth-child(1)::after,
.viz-dashboard span:nth-child(2)::after,
.viz-dashboard span:nth-child(3)::after,
.viz-dashboard span:nth-child(4)::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 4px;
  right: 4px;
  height: 2px;
  background: var(--mist);
  border-radius: 1px;
}
.viz-dashboard span:nth-child(1)::after { width: 60%; }
.viz-dashboard span:nth-child(2)::after { width: 40%; }
.viz-dashboard span:nth-child(3)::after { width: 75%; }
.viz-dashboard span:nth-child(4)::after { width: 55%; }

/* Visual 04 pipeline de dados (nodes conectados) */
.viz-pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  position: relative;
}
.viz-pipeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--mist), transparent);
  z-index: 0;
}
.viz-pipeline span {
  width: 16px;
  height: 16px;
  background: var(--black);
  border: 2px solid var(--mist);
  border-radius: 50%;
  position: relative;
  z-index: 1;
}
.viz-pipeline span:nth-child(2) {
  background: var(--mist);
}

.data-pillar h4 {
  font-size: 18px;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: var(--white);
}

.data-pillar p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1100px) {
  .data-pillars { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
  .data-pillars { grid-template-columns: 1fr; }
}

/* Tag tecnológica nos serviços */
.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 46, 84, 0.08);
  color: var(--navy);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.tech-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
}
.dark .tech-tag, [data-theme="dark"] .tech-tag {
  background: rgba(168, 184, 208, 0.15);
  color: var(--mist);
}
.dark .tech-tag::before, [data-theme="dark"] .tech-tag::before {
  background: var(--mist);
}

/* ============================================
   RESPONSIVE REFINEMENTS
   Breakpoints: 1024px, 768px, 480px
   ============================================ */

.container,
.nav,
.footer-top,
.footer-bottom,
.section-header,
.contact-grid,
.about-grid,
.service-detail-grid,
.services-grid,
.metrics-grid,
.method-steps,
.testimonials-grid,
.posts-grid,
.data-pillars,
.field-row {
  min-width: 0;
}

.service-card,
.testimonial,
.post-card,
.data-pillar,
.contact-form,
.contact-channel,
.article-cta {
  min-width: 0;
}

h1, h2, h3, h4,
.service-card h3,
.service-detail-grid h2,
.cta-content h2,
.article-header h1,
.about-image-text .name {
  letter-spacing: 0;
}

@media (max-width: 1024px) {
  :root { --gutter: 1.5rem; }

  h1 { font-size: 4.5rem; }
  h2 { font-size: 3rem; }
  p.lead { font-size: 1.125rem; }

  .nav {
    gap: 1.5rem;
    height: 72px;
  }

  .nav-menu { display: flex; gap: 1.5rem; }
  .nav-actions { display: flex; gap: 0.75rem; }
  .nav-actions .btn { padding-inline: 1.125rem; }

  .hero { padding: 4.5rem 0 5.5rem; }
  .hero-pattern { width: 60%; opacity: 0.42; }
  .section { padding: 5rem 0; }
  .section-header { gap: 2rem; margin-bottom: 3rem; }

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

  .data-pillars,
  .method-steps,
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail-grid {
    grid-template-columns: minmax(14rem, 20rem) minmax(0, 1fr);
    gap: 3rem;
  }

  .about-grid,
  .contact-grid {
    gap: 3rem;
  }

  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root { --gutter: 1.25rem; }

  body { font-size: 15px; }
  h1 { font-size: 3.5rem; line-height: 1.02; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 1.25rem; }
  p, .article-body p, .article-body li { font-size: 1rem; }
  p.lead, .article-header p.lead { font-size: 1.0625rem; }

  .nav {
    height: 68px;
    gap: 0.75rem;
  }

  .nav-logo img { height: 24px; }

  .nav-menu {
    display: flex;
    flex: 1;
    justify-content: flex-start;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .nav-menu::-webkit-scrollbar { display: none; }

  .nav-menu a {
    font-size: 0.875rem;
  }

  .nav-menu a.active::after { display: none; }

  .nav-actions {
    display: none;
  }

  .hero { padding: 4rem 0 4.5rem; }
  .hero h1 { margin: 1.5rem 0 1.75rem; max-width: 12ch; }
  .hero p.lead { margin-bottom: 2rem; }
  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .hero-pattern {
    width: 100%;
    opacity: 0.22;
  }

  .section { padding: 4rem 0; }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 2.5rem;
  }

  .metrics-bar { padding: 3rem 0; }
  .metric-value { font-size: 2.25rem; }

  .services-grid,
  .posts-grid,
  .testimonials-grid,
  .data-pillars,
  .method-steps,
  .service-detail-grid,
  .about-grid,
  .contact-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .service-card,
  .testimonial,
  .post-card .post-content,
  .data-pillar,
  .contact-form,
  .article-cta {
    padding: 1.75rem;
  }

  .service-card { min-height: auto; }
  .service-detail { padding: 4rem 0; }
  .service-detail-grid { gap: 2rem; }
  .service-detail-grid h2,
  .contact-info h2 {
    font-size: 2.25rem;
  }

  .service-features,
  .field-row,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .about-image { aspect-ratio: 4 / 3; }
  .about-image-text .name { font-size: 3rem; }
  .values-grid {
    margin-top: 3rem;
    padding-top: 3rem;
  }

  .contact-channel {
    align-items: flex-start;
    padding: 1.25rem;
  }

  .contact-channel .channel-arrow {
    display: none;
  }

  .field input,
  .field select,
  .field textarea {
    min-height: 44px;
    font-size: 16px;
  }

  .cta-final { padding: 5rem 0; }
  .cta-content h2 { font-size: 2.75rem; }
  .footer-top { gap: 2rem; }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 480px) {
  :root { --gutter: 1rem; }

  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
  .eyebrow { font-size: 0.625rem; letter-spacing: 0.18em; }

  .nav { height: 64px; }
  .nav-logo img { height: 22px; }

  .btn {
    width: 100%;
    padding: 0.75rem 1rem;
  }

  .hero { padding: 3.25rem 0 3.75rem; }
  .hero h1 { margin: 1.25rem 0 1.5rem; }
  .section { padding: 3.25rem 0; }
  .section-header { margin-bottom: 2rem; }

  .metrics-grid { grid-template-columns: 1fr; }
  .metric { padding-left: 1rem; }

  .service-card,
  .testimonial,
  .post-card .post-content,
  .data-pillar,
  .contact-form,
  .article-cta {
    padding: 1.25rem;
  }

  .contact-channel {
    gap: 0.875rem;
  }

  .contact-channel .channel-icon {
    width: 44px;
    height: 44px;
  }

  .channel-content .channel-value {
    font-size: 0.9375rem;
    overflow-wrap: anywhere;
  }

  .article {
    padding: 3.5rem 0 4rem;
  }

  .article-header { margin-bottom: 2.5rem; }
  .article-header h1 { font-size: 2.25rem; }
  .article-body h2 { font-size: 1.75rem; margin-top: 2.5rem; }
  .article-body blockquote {
    margin: 1.5rem 0;
    padding-left: 1rem;
    font-size: 1.0625rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
