/* História: linha do tempo legível e responsiva. */
.history-section {
  padding: clamp(72px, 8vw, 120px) 0;
  background: linear-gradient(135deg, #555b5a 0%, #3f4544 100%);
  color: #fff;
}
.history-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 7vw, 100px);
  align-items: end;
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid #658f88;
}
.history-eyebrow {
  display: block;
  margin-bottom: 16px;
  color: #b4eee6;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}
.history-heading h2 {
  max-width: 650px;
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.history-heading h2 span { color: #b4eee6; }
.history-intro-copy p {
  margin: 0;
  color: #e3f1ee;
  font-size: 18px;
  line-height: 1.7;
}
.history-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-top: 20px;
  color: #b4eee6;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}
.history-link:hover { color: #fff; text-decoration: underline; }
.history-link:focus-visible { outline: 3px solid #bf6900; outline-offset: 4px; }
.history-timeline-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin: 52px 0 28px;
}
.history-timeline-heading .history-eyebrow { margin-bottom: 10px; }
.history-timeline-heading h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -.03em;
}
.history-timeline-caption { color: #c8e4de; font-size: 14px; font-weight: 700; white-space: nowrap; }
.history-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.history-event {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  padding: 25px;
  border: 1px solid #d7e6e2;
  border-radius: 16px;
  background: #fff;
}
.history-event-marker { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.history-event-marker time { color: #096b65; font-size: 20px; font-weight: 800; line-height: 1.2; }
.history-date-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #d6f1ec; color: #075c57; font-size: 17px; }
.history-event-card h3 { margin: 0 0 9px; color: #152b2a; font-size: 20px; font-weight: 700; line-height: 1.3; }
.history-event-card p { margin: 0; color: #314b48; font-size: 15px; font-weight: 500; line-height: 1.65; }
@media (max-width: 991px) {
  .history-intro { grid-template-columns: 1fr; gap: 24px; }
  .history-intro-copy { max-width: 760px; }
}
@media (max-width: 767px) {
  .history-timeline { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; gap: 12px; }
  .history-timeline-heading { align-items: start; flex-direction: column; gap: 12px; margin-top: 40px; }
  .history-heading h2 { font-size: clamp(38px, 9vw, 54px); }
  .history-intro-copy p { font-size: 16px; }
  .history-event { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 20px 16px; }
  .history-event-marker time { font-size: 18px; }
  .history-event-card h3 { font-size: 18px; }
}
