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

body {
  font-family: Inter, sans-serif;
  color: #111;
  background: #fff;
}
.case-hero {
  max-width: 1400px;
  margin: 120px auto 160px;
  padding: 0 64px;
}
.case-hero__header {
  margin-bottom: 64px;
}


.case-logos {
  display: flex;
  gap: 16px;        /* espaço entre logos */
  align-items: center;
  margin-bottom: 16px;
}

.case-logos img {
  height: 68px;     /* controla o tamanho */
  width: auto;
}


.case-subtitle {
  font-size: 18px;
  letter-spacing: 0.08em;
  color: #111;
}
.case-hero__image {
  /*background: #4877cf;               azul do fundo */
  border-radius: 28px;
  padding: 32px;
}

.case-hero__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 80px 64px;
  max-width: 1200px;
  margin: auto;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.2;
}

.highlight {
  color: #4b6cb7;
}

.hero-right p {
  margin-bottom: 16px;
  color: #444;
}

.info-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border: 2px solid #4b6cb7;
  border-radius: 24px;
  padding: 32px 48px;
  max-width: 1000px;
  margin: 80px auto;
}

.info-item span {
  font-size: 14px;
  color: #999;
}

.info-item strong {
  display: block;
  margin-top: 8px;
}

.case-content {
  max-width: 720px;       /* largura confortável para leitura */
  margin: 160px auto;    /* muito espaço em cima e em baixo */
  padding: 0 24px;
}

.case-block {
  margin-bottom: 120px;  /* espaço grande entre blocos */
}

.case-block h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
}

.case-block p {
  font-size: 17px;
  line-height: 1.6;
  color: #444;
  max-width: 600px;
}

.first-steps {
  max-width: 1270px;
  margin: 120px auto 80px;
  padding: 48px 64px;
  border: 2px solid #4b6cb7;
  border-radius: 28px;
}

.section-label {
  font-size: 14px;
  font-weight: 600;
  color: #4b6cb7;
  letter-spacing: 0.08em;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
  margin-top: 48px;
}

.step .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #4b6cb7;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 24px;
}

.step h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.step p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

.image-strip {
  margin: 80px 0;
  overflow-x: auto;
}

.image-track {
  display: flex;
  gap: 24px;
  padding: 0 64px;
}

.image-track img {
  height: 280px;
  border-radius: 16px;
  flex-shrink: 0;
}
.insights {
  max-width: 1200px;
  margin: 140px auto;
  padding: 0 64px;
}

/* topo em 2 colunas */
.insights-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 48px;
}

.insights-head h2 {
  font-size: 34px;
  line-height: 1.15;
}

.insights-head p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  max-width: 520px;
}

/* ✅ o quadrado subtil (o fundo clarinho) */
.insights-panel {
  background: #f4f4f4;        /* <- subtil */
  border-radius: 28px;
  padding: 48px 56px;
}

.panel-label {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 14px;
  margin-bottom: 32px;
}

/* cards */
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.challenge-card h3 {
  font-size: 18px;
  margin-top: 16px;
  margin-bottom: 8px;
}

.challenge-card p {
  color: #444;
  line-height: 1.5;
  font-size: 15px;
  max-width: 320px;
}

/* tile azul por trás da imagem */
.mock {
  background: #dbe8ff;       /* azul claro */
  border-radius: 18px;
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}

/* o do meio mais “forte”/azul escuro */
.mock--strong {
  background: #4b6cb7;
}

/* a imagem dentro (tipo screenshot do telemóvel) */
.mock img {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
  border-radius: 12px;
}
.opps {
  max-width: 1200px;
  margin: 120px auto;
  padding: 0 64px;
}

/* ✅ fundo verdinho grande (o container exterior) */
.opps-wrap {
  background: #dbe8ff;       /* verdinho subtil */
  border-radius: 28px;
  padding: 56px 56px 64px;
}

.opps-label {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 14px;
  margin-bottom: 32px;
}

/* grid 3 colunas */
.opps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

/* tile da imagem */
.opp-tile {
  background: #dbe8ff;      /* azul claro */
  border-radius: 18px;
  padding: 24px;
  min-height: 320px;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* o do meio mais escuro */
.opp-tile--strong {
  background: #4b6cb7;
}

/* imagem dentro */
.opp-tile img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
}

/* texto */
.opp-card h3 {
  font-size: 18px;
  margin-top: 18px;
  margin-bottom: 8px;
}

.opp-card p {
  font-size: 15px;
  line-height: 1.5;
  color: #444;
  max-width: 320px;
}
.suggestions{
  background: #f4f4f4;
  padding: 80px 0 160px;
}
.big-statement {
  padding: 180px 24px;   /* muito espaço em cima/baixo */
  background: transparent;
}
.case-hero__top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 48px;
  margin-bottom: 64px;
}
.case-hero__badge {
  text-align: right;
  max-width: 280px;
  margin-top: 280px;
}

.case-hero__badge img {
  max-width: 120px;
  margin-bottom: 12px;
}

.case-hero__badge p {
  font-size: 14px;
  line-height: 1.4;
  color: #444;
}
.case-hero__badge strong {
  font-weight: 600;
}


.big-statement__inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.big-statement h2 {
  font-size: 44px;
  line-height: 1.2;
  font-weight: 500;
  margin-bottom: 64px;
  color: #111;
}

.big-statement p {
  font-size: 38px;
  line-height: 1.2;
  font-weight: 400;
  color: #111;
}
.solutions {
  max-width: 1200px;
  margin: 160px auto;
  padding: 0 64px;
}
.solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: start;
  margin-bottom: 200px;
}
.solution-badge {
  display: inline-block;
  background: #4b6cb7;
  color: white;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.solution-text h2 {
  font-size: 42px;
  margin-bottom: 24px;
}

.solution-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  max-width: 420px;
}
.solution-visual h4 {
  font-size: 20px;
  margin-bottom: 8px;
}

.visual-sub {
  color: #666;
  margin-bottom: 24px;
}
.avatar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.avatar-grid img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}
.phone-mockup {
  width: 100%;
  max-width: 420px;
  display: block;
}
.participants {
  max-width: 1400px;
  margin: 120px auto;
  padding: 0 64px;
}

.participants__card {
  border: 2px solid #4877cf;
  border-radius: 28px;
  padding: 56px;
}

.participants__kicker {
  font-size: 14px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #4877cf;
  margin: 0 0 10px;
}

.participants__title {
  margin: 0 0 12px;
  font-size: 40px;
  line-height: 1.15;
}

.participants__lead {
  margin: 0;
  max-width: 70ch;
  font-size: 18px;
  line-height: 1.7;
}

.participants__block {
  margin-top: 40px;
}

.participants__subtitle {
  margin: 0 0 14px;
  font-size: 22px;
}

.participants__list {
  margin: 0 0 22px;
  padding-left: 18px;
  line-height: 1.8;
  max-width: 90ch;
}

/* ==================
   Recruitment logos
   ================== */

.recruitment-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 24px;
}

.recruitment-poster img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid #ddd;
}

.logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #ddd;
  margin-right: 12px;
  margin-top: 12px;
}

.logo-pill img {
  height: 20px;
}


/* ==========
   Quick facts
   ========== */

.facts {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 12px 0 18px;
}

.fact {
  border: 1px solid rgba(17, 17, 17, 0.15);
  border-radius: 16px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.fact__label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.fact__value {
  font-size: 14px;
  font-weight: 700;
}

/* ==========
   Table styles
   ========== */

.table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid rgba(17, 17, 17, 0.15);
}

.demo-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px; /* forces horizontal scroll on small screens */
  background: #fff;
}

.demo-table th,
.demo-table td {
  padding: 14px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  font-size: 14px;
  line-height: 1.5;
}

.demo-table thead th {
  position: sticky;
  top: 0;
  background: #fff;
  font-weight: 700;
  border-bottom: 1px solid rgba(17, 17, 17, 0.18);
}

/* Zebra rows for readability */
.demo-table tbody tr:nth-child(even) td {
  background: rgba(72, 119, 207, 0.04);
}
.recruitment-text ul {
  padding-left: 20px;   /* controla o avanço dos pontos */
  margin-left: 0;
}

.recruitment-text li {
  margin-bottom: 8px;
}
/* =========================
   Insights: tracking tools
   ========================= */

.insights {
  max-width: 1400px;
  margin: 120px auto;
  padding: 0 64px;
}

/* .insights-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 28px;
} */

.insights-head h2 {
  margin: 0;
  font-size: 44px;
  line-height: 1.1;
   padding-top: 6px;
}

.tracking-list {
  display: grid;
  gap: 18px;
}

.tracking-item {
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 20px;
  padding: 18px 18px 16px;
  background: #fff;
}

.tracking-item h3 {
  margin: 0 0 12px;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.tracking-sub {
  margin-top: 12px;
}

.tracking-label {
  display: grid;
  grid-template-columns: 1fr 160px;
  align-items: start;
  column-gap: 12px;
  width: 100%;              /* importante */
}



.count-pill {
  justify-self: end;   /* força ir para a direita */
  margin-top: 0;       /* tira o ajuste manual */
}


.tracking-examples {
  margin: 6px 0 0;
  font-size: 13px;
  opacity: 0.75;
}

.tracking-nested {
  margin-top: 10px;
  padding-left: 14px;
  border-left: 2px solid rgba(72, 119, 207, 0.25);
  display: grid;
  gap: 10px;
}

.count-pill {
 
  align-items: right;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #4877cf;
  background: rgba(72, 119, 207, 0.12);
  white-space: nowrap;

}

/* =========================
   Image strip
   ========================= */

.image-strip {
  overflow: visible;   /* importante */
  margin-top: 16px;
}


.image-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scrollTrack 40s linear infinite;
}

/* auto scroll */
@keyframes scrollTrack {
  from { transform: translateX(0); }
  to { transform: translateX(-30%); }
}



/* pausa quando o rato está por cima */
.image-strip:hover .image-track {
  animation-play-state: paused;
}
.image-viewport {
  overflow: hidden;    /* scroll continua escondido */
  border-radius: 20px;
}


.image-track img {
  height: 160px;
  border-radius: 16px;
  transition: transform 0.3s ease;
  position: relative;
}

.image-track img:hover {
  transform: scale(1.6);
  z-index: 20;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}



@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .info-box {
    grid-template-columns: 1fr 1fr;
  }

  .navbar {
    padding: 24px;
  }
    .case-content {
    margin: 100px auto;
  }

  .case-block {
    margin-bottom: 80px;
  }

  .case-block h2 {
    font-size: 24px;
  }

    .steps-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .first-steps {
    padding: 40px 32px;
  }
   .insights {
    padding: 0 24px;
  }

  .insights-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .insights-panel {
    padding: 32px 24px;
  }

  .challenge-grid {
    grid-template-columns: 1fr;
  }

    .opps {
    padding: 0 24px;
  }

  .opps-wrap {
    padding: 40px 24px;
  }

  .opps-grid {
    grid-template-columns: 1fr;
  }

  .opp-tile {
    min-height: 240px;
  }
    .big-statement {
    padding: 120px 20px;
     background: transparent;
  }

  .big-statement h2 {
    font-size: 28px;
    margin-bottom: 32px;
  }
    .suggestions {
  background: #ffdfdf;
  padding: 80px 0 160px;

}
  .big-statement p {
    font-size: 24px;
  }
    .solution {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 120px;
  }

  .solutions {
    padding: 0 24px;
  }

  .solution-text h2 {
    font-size: 32px;
  }

  .avatar-grid {
    grid-template-columns: repeat(4, 1fr);
  }
    .case-hero__top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .case-hero__badge {
    text-align: left;
    max-width: none;
  }

  .case-hero__badge img {
    max-width: 100px;
  }
    .participants {
    padding: 0 20px;
  }
  .participants__card {
    padding: 28px;
  }
  .participants__title {
    font-size: 32px;
  }
  .recruitment-grid {
    grid-template-columns: 1fr;
  }
  .insights {
    padding: 0 20px;
  }

  .insights-head {
    grid-template-columns: 1fr;
    gap: 18px;
     align-items: start;
  }

  .insights-head h2 {
    font-size: 34px;
  }

  .image-track img {
    height: 160px;
  }
}

