/* ============================================================
   bConcepts · CSS Principal
   Custom properties · Reset · Tipografia · Componentes
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ---- CSS Variables (paleta oficial) ---- */
:root {
  --bc-primary:      #2B4FBF;
  --bc-primary-h:    #3A5FD6;
  --bc-primary-light:#EEF1F9;
  --bc-dark:         #1E2A5E;
  --bc-muted:        #6B7A9E;
  --bc-border:       #D0D6E8;
  --bc-bg:           #F8F9FD;
  --bc-white:        #FFFFFF;
  --bc-green:        #16A34A;
  --bc-green-light:  #F0FDF4;
  --bc-green-border: #BBF7D0;
  --bc-text:         #1E2A5E;
  --bc-text-muted:   #6B7A9E;
  --bc-text-light:   #9CA3AF;

  /* Tipografia */
  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Espaçamento */
  --container: 1200px;
  --section-py: 80px;

  /* Sombras */
  --shadow-sm:  0 1px 4px rgba(30,42,94,0.06);
  --shadow-md:  0 4px 16px rgba(30,42,94,0.08);
  --shadow-lg:  0 8px 32px rgba(30,42,94,0.12);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Transição */
  --transition: 0.2s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--bc-text);
  background: var(--bc-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a  { color: var(--bc-primary); text-decoration: none; }
a:hover { color: var(--bc-primary-h); }

/* ---- Tipografia ---- */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--bc-dark);
  line-height: 1.2;
}
h1 { font-size: clamp(28px, 4vw, 48px); }
h2 { font-size: clamp(22px, 3vw, 36px); }
h3 { font-size: clamp(18px, 2vw, 24px); }
p  { margin-bottom: 1rem; }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--section-py) 0; }

/* ---- Navbar ---- */
.topbar {
  background: var(--bc-dark);
  padding: 6px 0;
  font-size: 13px;
  color: #a5b8e0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: #a5b8e0; }
.topbar a:hover { color: #fff; }

.navbar {
  background: #fff;
  height: 64px;
  border-bottom: 1px solid var(--bc-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.navbar-logo img { height: 36px; width: auto; }
.navbar-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.navbar-logo-name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--bc-dark);
  letter-spacing: -0.3px;
}
.navbar-logo-sub { font-size: 10px; color: var(--bc-muted); }

.navbar-links { display: flex; align-items: center; gap: 2px; }
.navbar-link {
  font-size: 14px;
  color: var(--bc-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.navbar-link:hover, .navbar-link.active {
  background: var(--bc-primary-light);
  color: var(--bc-dark);
}
.navbar-link.has-dropdown { position: relative; }
.navbar-link.has-dropdown::after { content: ' ▾'; font-size: 10px; }

.navbar-right { display: flex; align-items: center; gap: 10px; }
.lang-switcher {
  font-size: 12px;
  color: var(--bc-muted);
  border: 1px solid var(--bc-border);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.lang-switcher:hover { border-color: var(--bc-primary); color: var(--bc-primary); }

/* ---- Botões ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--bc-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--bc-primary-h);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--bc-primary);
  border: 1.5px solid var(--bc-primary);
}
.btn-outline:hover {
  background: var(--bc-primary-light);
}
.btn-white {
  background: #fff;
  color: var(--bc-primary);
}
.btn-white:hover { background: #f0f4ff; }
.btn-sm { font-size: 13px; padding: 7px 16px; }
.btn-lg { font-size: 15px; padding: 13px 28px; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bc-primary-light);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}
.hero-content { position: relative; z-index: 2; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(43,79,191,0.1);
  border: 1px solid var(--bc-primary);
  color: var(--bc-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 3px;
  margin-bottom: 18px;
}
.hero-title { margin-bottom: 14px; }
.hero-title span { color: var(--bc-primary); }
.hero-subtitle {
  font-size: 17px;
  color: var(--bc-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- Service cards ---- */
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--bc-border);
  transition: all var(--transition);
}
.service-card:hover {
  border-color: var(--bc-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.service-card.featured { border-top: 3px solid var(--bc-primary); }
.service-card-icon {
  font-size: 28px;
  color: var(--bc-primary);
  margin-bottom: 14px;
}
.service-card-title { font-size: 17px; margin-bottom: 8px; }
.service-card-text  { font-size: 14px; color: var(--bc-muted); line-height: 1.7; }
.service-card-link  { font-size: 13px; color: var(--bc-primary); font-weight: 600; margin-top: 12px; display: inline-block; }

/* ---- Stats bar ---- */
.stats-bar {
  background: var(--bc-dark);
  padding: 32px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  text-align: center;
}
.stat-item {
  padding: 0 16px;
  border-right: 1px solid #263570;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  color: #a5b8e0;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 12px; color: #5a7ab8; }

/* ---- Partners ---- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.partner-box {
  background: var(--bc-bg);
  border: 1px solid var(--bc-border);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
  transition: all var(--transition);
}
.partner-box:hover { border-color: var(--bc-primary); background: var(--bc-primary-light); }
.partner-box-name { font-size: 13px; font-weight: 600; color: var(--bc-dark); }
.partner-box-type { font-size: 11px; color: var(--bc-text-light); margin-top: 2px; }

/* ---- CTA Coffee ---- */
.cta-coffee {
  background: var(--bc-primary-light);
  padding: var(--section-py) 0;
  text-align: center;
}
.cta-coffee h2 { margin-bottom: 10px; }
.cta-coffee p  { font-size: 17px; color: var(--bc-muted); margin-bottom: 24px; }
.cta-coffee-note { font-size: 12px; color: var(--bc-muted); margin-top: 10px; }

/* ---- Footer ---- */
.footer {
  background: var(--bc-dark);
  color: #a5b8e0;
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr 1.2fr 1.3fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-logo img { height: 36px; width: auto; margin-bottom: 14px; }
.footer-desc { font-size: 13px; color: #7a9ab8; line-height: 1.7; }

.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(165,184,224,0.12);
  color: #a5b8e0;
  font-size: 18px;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--bc-primary); color: #fff; }

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.newsletter-input {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid #2e3d72;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  color: #fff;
}
.newsletter-input::placeholder { color: #6d80ac; }
.newsletter-input:focus { outline: none; border-color: var(--bc-primary); background: rgba(255,255,255,0.1); }
.newsletter-btn {
  flex-shrink: 0;
  width: 44px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--bc-primary);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background var(--transition);
}
.newsletter-btn:hover { background: var(--bc-primary-h); }
.footer-title { font-size: 11px; font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer-link { display: block; font-size: 13px; color: #7a9ab8; margin-bottom: 8px; }
.footer-link:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #263570;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #5a7ab8;
}
.footer-bottom a { color: #7a9ab8; }
.footer-bottom a:hover { color: #fff; }

/* ---- Forms ---- */
.form-group { margin-bottom: 16px; }
.form-label { font-size: 13px; font-weight: 500; color: var(--bc-dark); margin-bottom: 5px; display: block; }
.form-control {
  width: 100%;
  background: var(--bc-bg);
  border: 1px solid var(--bc-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 15px; /* mínimo 16px no iOS para evitar zoom */
  font-family: var(--font-body);
  color: var(--bc-text);
  transition: border-color var(--transition);
}
.form-control:focus { outline: none; border-color: var(--bc-primary); background: #fff; }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ---- Badges ---- */
.badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 3px; }
.badge-new     { background: #dcfce7; color: #166534; }
.badge-blue    { background: var(--bc-primary-light); color: var(--bc-primary); }
.badge-agro    { background: var(--bc-green-light); color: var(--bc-green); border: 1px solid var(--bc-green-border); }

/* ---- Mobile ---- */
.hamburger { display: none; flex-direction: column; gap: 4px; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--bc-dark); border-radius: 2px; transition: all var(--transition); }
.mobile-menu { display: none; }

@media (max-width: 900px) {
  .navbar-links, .navbar-right .lang-switcher { display: none; }
  .hamburger { display: flex; }

  .mobile-menu {
    display: block;
    position: fixed;
    top: 64px;
    left: 0; right: 0; bottom: 0;
    background: #fff;
    overflow-y: auto;
    z-index: 999;
    padding: 16px;
    transform: translateX(100%);
    transition: transform var(--transition);
  }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 12px;
    font-size: 15px;
    color: var(--bc-text);
    border-bottom: 1px solid var(--bc-bg);
  }
  .mobile-menu-item.active { color: var(--bc-primary); font-weight: 600; }
  .mobile-menu-cta {
    margin: 16px 0;
    display: block;
    text-align: center;
    background: var(--bc-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 14px;
    border-radius: var(--radius-md);
  }

  .hero { min-height: 480px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-item { border-right: none; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  :root { --section-py: 56px; }
}

@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* ---- Homepage referência ---- */
.home-hero {
  padding: 72px 0 56px;
  background: linear-gradient(180deg, #fbfcff 0%, #f4f7fd 100%);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4.5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  max-width: 10ch;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bc-muted);
  margin-bottom: 14px;
}

.hero-copy p,
.section-head p,
.section-lead,
.cta-band p {
  color: var(--bc-muted);
  font-size: 17px;
  line-height: 1.8;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bc-dark);
  font-size: 14px;
  font-weight: 500;
}

.hero-trust-item i { color: var(--bc-primary); }

.hero-dashboard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-card {
  background: #fff;
  border: 1px solid rgba(208, 214, 232, 0.9);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  padding: 18px;
  min-height: 132px;
}

.dashboard-card-metric,
.dashboard-card-kpis { min-height: 164px; }

.dashboard-card-chart,
.dashboard-card-bars,
.dashboard-card-donut {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dashboard-card-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--bc-text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dashboard-card-value {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 700;
  color: var(--bc-dark);
  margin-top: 12px;
}

.dashboard-card-note {
  margin-top: 8px;
  font-size: 13px;
  color: #4f7d4b;
}

.line-chart,
.bar-chart,
.donut-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.line-chart {
  height: 92px;
  position: relative;
  padding-top: 10px;
}

.line-chart span {
  flex: 1;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(43,79,191,0.25), rgba(43,79,191,0.9));
}

.line-chart span:nth-child(1) { height: 28px; }
.line-chart span:nth-child(2) { height: 42px; }
.line-chart span:nth-child(3) { height: 36px; }
.line-chart span:nth-child(4) { height: 68px; }
.line-chart span:nth-child(5) { height: 56px; }
.line-chart span:nth-child(6) { height: 78px; }

.donut-chart {
  justify-content: center;
  margin: 12px 0;
}

.donut-chart-ring {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: conic-gradient(var(--bc-primary) 0 62%, #e5ebf7 62% 78%, #9eb5eb 78% 100%);
  position: relative;
}

.donut-chart-ring::after {
  content: '';
  position: absolute;
  inset: 18px;
  background: #fff;
  border-radius: 50%;
}

.dashboard-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 11px;
  color: var(--bc-muted);
}

.dashboard-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dashboard-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bc-primary);
  display: inline-block;
}

.dashboard-legend span:nth-child(2) i { background: #86a6e8; }
.dashboard-legend span:nth-child(3) i { background: #d7dff0; }

.bar-chart {
  min-height: 100px;
  gap: 12px;
  padding-top: 10px;
}

.bar-chart span {
  flex: 1;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #c9d6f7 0%, var(--bc-primary) 100%);
}

.kpi-list {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

.kpi-list div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bc-bg);
}

.kpi-list strong {
  font-size: 24px;
  color: var(--bc-dark);
}

.kpi-list span {
  font-size: 12px;
  color: var(--bc-muted);
}

.home-section {
  padding: 86px 0;
}

.home-section-soft {
  background: #fbfcff;
}

.section-head {
  text-align: center;
  margin-bottom: 34px;
}

.section-head h2 {
  margin-bottom: 10px;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
}

.section-head-row .section-kicker { margin-bottom: 10px; }

.section-head-row h2,
.section-head-row p {
  max-width: 34rem;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.solution-card {
  background: #fff;
  border: 1px solid var(--bc-border);
  border-radius: 18px;
  padding: 26px 22px;
  min-height: 250px;
  transition: all var(--transition);
}

.solution-card:hover {
  transform: translateY(-3px);
  border-color: var(--bc-primary);
  box-shadow: var(--shadow-md);
}

.solution-card-featured {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
  border-top: 4px solid var(--bc-primary);
}

.solution-card-agro {
  border-top: 4px solid var(--bc-green);
}

.solution-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bc-primary-light);
  color: var(--bc-primary);
  margin-bottom: 16px;
  font-size: 24px;
}

.solution-card-agro .solution-card-icon {
  background: var(--bc-green-light);
  color: var(--bc-green);
}

.solution-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.solution-card p {
  color: var(--bc-muted);
  font-size: 14px;
  line-height: 1.7;
}

.solution-card-link {
  display: inline-flex;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
}

.home-stats {
  padding: 56px 0;
  background: linear-gradient(180deg, #eef2f9 0%, #f7f9fd 100%);
  border-top: 1px solid rgba(208,214,232,0.65);
  border-bottom: 1px solid rgba(208,214,232,0.65);
}

.home-stats .section-head { margin-bottom: 28px; }

.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 6px;
}

.home-stat-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bc-primary-light);
  color: var(--bc-primary);
  font-size: 24px;
}

.home-stat-body { display: flex; flex-direction: column; }

.home-stat strong {
  font-family: var(--font-head);
  font-size: 30px;
  color: var(--bc-dark);
  line-height: 1.05;
}

.home-stat span {
  font-size: 13px;
  color: var(--bc-muted);
  max-width: 14ch;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-card {
  background: #fff;
  border: 1px solid var(--bc-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.case-card-image {
  min-height: 164px;
  background:
    linear-gradient(135deg, rgba(43,79,191,0.08), rgba(30,42,94,0.02)),
    repeating-linear-gradient(135deg, rgba(30,42,94,0.06) 0 1px, transparent 1px 24px),
    #f5f7fd;
  background-size: cover;
  background-position: center;
}

.case-card-body {
  padding: 22px;
}

.case-card-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--bc-muted);
  margin-bottom: 8px;
}

.case-card-body h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.case-card-body p {
  font-size: 14px;
  color: var(--bc-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.case-card-highlight {
  font-size: 14px;
  font-weight: 700;
  color: var(--bc-dark);
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bc-primary-light);
  margin-bottom: 14px;
}

.case-card-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.case-metric {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bc-primary-light);
}

.case-metric strong {
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--bc-primary);
  line-height: 1.1;
}

.case-metric span {
  font-size: 12px;
  color: var(--bc-muted);
}

.case-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--bc-primary);
}

.technology-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.technology-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 64px;
  background: #fff;
  border: 1px solid var(--bc-border);
  border-radius: 14px;
  color: var(--bc-dark);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 12px 14px;
}

.technology-pill i {
  color: var(--bc-primary);
  font-size: 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 32px;
  align-items: start;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.feature-item {
  display: flex;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--bc-border);
  border-radius: 16px;
  background: #fff;
}

.feature-item i {
  color: var(--bc-primary);
  font-size: 22px;
  flex-shrink: 0;
}

.feature-item strong {
  display: block;
  color: var(--bc-dark);
  margin-bottom: 6px;
}

.feature-item span {
  display: block;
  color: var(--bc-muted);
  font-size: 14px;
  line-height: 1.6;
}

.about-panel {
  background: linear-gradient(180deg, #fff 0%, #f7f9fe 100%);
  border: 1px solid var(--bc-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.about-panel-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--bc-dark);
  margin-bottom: 16px;
}

.client-pill {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--bc-border);
}

.client-pill:last-child { border-bottom: none; }
.client-pill span { font-weight: 600; color: var(--bc-dark); }
.client-pill small { color: var(--bc-muted); text-align: right; }

.cta-band {
  padding: 56px 0;
  background: linear-gradient(135deg, #dfe7f8 0%, #eef2f9 45%, #dde4f3 100%);
}

.cta-band-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-band-copy { max-width: 560px; }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { margin-bottom: 24px; }

.cta-band-art {
  flex-shrink: 0;
}
.cta-band-art img { width: 280px; height: auto; }

/* ---- Sobre / features em linha ---- */
.feature-list-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0;
}

/* ---- Clientes que confiam em nós ---- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 14px;
  border: 1px solid var(--bc-border);
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.client-logo span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: #9aa6c2;
  filter: grayscale(1);
  transition: color var(--transition);
}

.client-logo:hover { border-color: var(--bc-primary); }
.client-logo:hover span { color: var(--bc-dark); }

/* ---- CTA escuro (banda final) ---- */
.cta-dark {
  background:
    radial-gradient(900px 300px at 80% -20%, rgba(43,79,191,0.45), transparent 60%),
    var(--bc-dark);
  color: #fff;
  padding: 64px 0;
}

.cta-dark-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.cta-dark h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  max-width: 18ch;
}

.cta-dark-eyebrow {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin-bottom: 6px;
}

.cta-dark-action p {
  color: #a5b8e0;
  font-size: 15px;
  margin-bottom: 18px;
}

@media (max-width: 1100px) {
  .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .technology-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-list-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-hero-grid,
  .about-grid,
  .cta-dark-grid,
  .cta-band-grid { grid-template-columns: 1fr; display: grid; }
  .cta-band-art { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand, .footer-newsletter { grid-column: 1 / -1; }
  .hero-copy h1 { max-width: 14ch; }
}

@media (max-width: 720px) {
  .home-hero { padding-top: 48px; }
  .home-hero-grid,
  .solution-grid,
  .case-grid,
  .technology-grid,
  .feature-list,
  .feature-list-row,
  .home-stats-grid { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-dashboard { grid-template-columns: 1fr; }
  .section-head-row,
  .cta-band-grid { display: flex; flex-direction: column; align-items: flex-start; }
  .hero-actions { flex-direction: column; }
  .hero-trust { gap: 12px; }
  .home-stat { justify-content: flex-start; }
  .home-stat span { max-width: none; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Páginas internas — heros, prose, formulários, cards
   ============================================================ */

.page-hero {
  padding: 64px 0 48px;
  background: linear-gradient(180deg, #fbfcff 0%, #eef2f9 100%);
  border-bottom: 1px solid rgba(208,214,232,0.6);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.03em; margin-bottom: 14px; max-width: 18ch; }
.page-hero p { color: var(--bc-muted); font-size: 18px; line-height: 1.7; max-width: 60ch; }
.page-hero .hero-actions { margin-top: 26px; }
.page-hero-green { background: linear-gradient(180deg, #fbfffc 0%, #f0fdf4 100%); }
.page-hero-green .hero-kicker i { color: var(--bc-green); }
.hero-kicker i { font-size: 16px; }

.breadcrumb { font-size: 13px; color: var(--bc-muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--bc-muted); }
.breadcrumb a:hover { color: var(--bc-primary); }
.breadcrumb span { margin: 0 6px; opacity: 0.6; }

.container-narrow { max-width: 760px; }

/* ---- Prose (artigos, legais, detalhes) ---- */
.prose { color: var(--bc-text); }
.prose.prose-center { max-width: 740px; margin: 0 auto; text-align: center; }
.prose h3 { font-size: 20px; margin: 28px 0 10px; }
.prose p { font-size: 16px; line-height: 1.8; color: #46506e; margin-bottom: 14px; }
.prose ul { margin: 0 0 16px 20px; }
.prose li { margin-bottom: 8px; color: #46506e; line-height: 1.7; }
.prose .section-lead { font-size: 19px; color: var(--bc-dark); }

/* ---- Formulários ---- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: start;
}
.form-card {
  background: #fff;
  border: 1px solid var(--bc-border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.form-card-wide { max-width: 720px; margin: 0 auto; }
.form-card > h2 { font-size: 22px; margin-bottom: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
select.form-control { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--bc-muted) 50%), linear-gradient(135deg, var(--bc-muted) 50%, transparent 50%); background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.form-card .btn { margin-top: 6px; }

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bc-green-light);
  border: 1px solid var(--bc-green-border);
  color: #166534;
  font-weight: 600;
  padding: 18px 20px;
  border-radius: var(--radius-md);
}
.form-success i { font-size: 22px; }

/* ---- Contact info ---- */
.info-card {
  background: linear-gradient(180deg, #fff 0%, #f7f9fe 100%);
  border: 1px solid var(--bc-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.info-card h3 { font-size: 18px; margin-bottom: 16px; }
.info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--bc-border);
  color: var(--bc-text);
  font-size: 14px;
}
.info-item:last-of-type { border-bottom: none; }
.info-item i { color: var(--bc-primary); font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.info-social { margin-top: 14px; display: flex; gap: 10px; }
.info-social a {
  width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--bc-primary-light); color: var(--bc-primary); font-size: 20px;
}
.info-social a:hover { background: var(--bc-primary); color: #fff; }

/* ---- Detalhe (caso / vaga) ---- */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
  gap: 32px;
  align-items: start;
}
.detail-image { border-radius: 16px; overflow: hidden; margin-bottom: 24px; border: 1px solid var(--bc-border); }
.detail-image img { width: 100%; display: block; }
.detail-side { position: sticky; top: 84px; }
.detail-metric { padding: 12px 0; border-bottom: 1px solid var(--bc-border); }
.detail-metric:last-of-type { border-bottom: none; }
.detail-metric strong { display: block; font-family: var(--font-head); font-size: 26px; color: var(--bc-primary); line-height: 1.1; }
.detail-metric span { font-size: 13px; color: var(--bc-muted); }

/* ---- FAQ (details/summary) ---- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--bc-border);
  border-radius: 14px;
  background: #fff;
  padding: 4px 20px;
  margin-bottom: 12px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--bc-dark);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--bc-primary); font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { color: var(--bc-muted); line-height: 1.7; padding-bottom: 16px; margin: 0; }

/* ---- Insights ---- */
.insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.insight-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--bc-border); border-radius: 18px;
  overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.insight-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--bc-primary); }
.insight-card-image {
  min-height: 160px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eef2f9, #dde6f9); background-size: cover; background-position: center;
  color: #aebbd8; font-size: 40px;
}
.insight-card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.insight-card-body h3 { font-size: 18px; }
.insight-card-body p { font-size: 14px; color: var(--bc-muted); line-height: 1.7; flex: 1; }
.insight-card-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--bc-text-light); }
.insight-card-meta i { color: var(--bc-primary); }

/* ---- Carreiras ---- */
.career-list { display: flex; flex-direction: column; gap: 14px; }
.career-card {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: #fff; border: 1px solid var(--bc-border); border-radius: 16px; padding: 22px 24px;
  transition: all var(--transition);
}
.career-card:hover { border-color: var(--bc-primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.career-card-main h3 { font-size: 18px; margin-bottom: 6px; }
.career-card-main p { font-size: 14px; color: var(--bc-muted); margin-bottom: 12px; }
.career-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.career-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--bc-muted);
  background: var(--bc-bg); border: 1px solid var(--bc-border);
  padding: 5px 10px; border-radius: 999px; text-transform: capitalize;
}
.career-tag i { color: var(--bc-primary); font-size: 14px; }
.career-card-arrow {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bc-primary-light); color: var(--bc-primary); font-size: 20px;
}
.career-card:hover .career-card-arrow { background: var(--bc-primary); color: #fff; }

.article-back { margin-top: 28px; }

/* ---- Newsletter feedback ---- */
.newsletter-msg { font-size: 13px; display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.newsletter-msg.ok { color: #7ee2a8; }
.newsletter-msg.err { color: #f7a8a8; }

@media (max-width: 900px) {
  .contact-layout, .detail-layout { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .form-row { grid-template-columns: 1fr; }
  .insight-grid { grid-template-columns: 1fr; }
  .career-card { flex-direction: column; align-items: flex-start; }
}
