:root {
  font-family: Georgia, "Times New Roman", serif;
  color: #243640;
  background: #f6f4ed;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a {
  font: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #b47b28;
  outline-offset: 3px;
}
.shell {
  max-width: 1160px;
  margin: auto;
  padding: 0 28px;
}
.mast {
  background:
    linear-gradient(
      90deg,
      rgba(17, 34, 47, 0.93) 0%,
      rgba(17, 34, 47, 0.76) 42%,
      rgba(17, 34, 47, 0.1) 100%
    ),
    url("../../public/images/babilonia-amanhecer.webp") center 48% / cover
      no-repeat,
    #1b3040;
  color: #f9f3e6;
  border-bottom: 5px solid #d7ab60;
}
.mast .shell {
  padding-top: 28px;
  padding-bottom: 40px;
}
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.brand {
  font-family: system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e8bd70;
  font-weight: 700;
}
.counter {
  font-family: system-ui, sans-serif;
  font-size: 14px;
  color: #e7e1d4;
}
.mast h1 {
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.03;
  letter-spacing: -0.045em;
  margin: 46px 0 15px;
  max-width: 730px;
  font-weight: 500;
}
.mast p {
  max-width: 680px;
  font-size: 20px;
  line-height: 1.55;
  color: #e0e5e2;
  margin: 0;
}
.progress {
  margin-top: 32px;
  background: #53636b;
  height: 8px;
  border-radius: 12px;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: #e8bd70;
  transition: width 0.25s;
}
.main {
  padding-top: 36px;
  padding-bottom: 75px;
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}
.intro h2 {
  font-size: 29px;
  font-weight: 500;
  margin: 0 0 6px;
}
.intro p {
  margin: 0;
  color: #5d686b;
  font:
    15px/1.5 system-ui,
    sans-serif;
}
.period {
  display: flex;
  gap: 4px;
  background: #ebe7dc;
  padding: 5px;
  border-radius: 10px;
  white-space: nowrap;
}
.period button {
  border: 0;
  background: none;
  color: #42545c;
  border-radius: 7px;
  padding: 9px 14px;
  font:
    600 14px system-ui,
    sans-serif;
}
.period button[aria-pressed="true"] {
  background: #fff;
  box-shadow: 0 2px 7px #1b304019;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 26px;
  align-items: start;
}
.weeks {
  display: grid;
  gap: 22px;
}
.week {
  background: #fff;
  border: 1px solid #e5e2d8;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 9px 28px #2436400a;
}
.weekhead {
  padding: 21px 23px;
  background: #eeece4;
  border-bottom: 1px solid #e2ded3;
}
.eyebrow {
  font:
    700 12px system-ui,
    sans-serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #86652f;
}
.weekhead h3 {
  margin: 5px 0 0;
  font-size: 22px;
  font-weight: 500;
}
.days {
  padding: 10px;
}
.day {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  text-align: left;
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 13px 12px;
  gap: 13px;
  color: #243640;
}
.day:hover {
  background: #f6f4ed;
}
.day.active {
  background: #eef3f1;
  outline: 1px solid #c9d9d6;
}
.daynum {
  display: grid;
  place-items: center;
  background: #f0eee7;
  border-radius: 9px;
  height: 48px;
  font:
    700 15px system-ui,
    sans-serif;
  color: #5a6769;
}
.day.done .daynum {
  background: #dcebe4;
  color: #286149;
}
.daytxt strong {
  display: block;
  font:
    650 15px system-ui,
    sans-serif;
  margin-bottom: 4px;
}
.daytxt small {
  display: block;
  color: #697475;
  font:
    14px/1.35 system-ui,
    sans-serif;
}
.check {
  font:
    19px system-ui,
    sans-serif;
  color: #8c9898;
}
.day.done .check {
  color: #286149;
}
.detail {
  background: #fff;
  border: 1px solid #ddd9ce;
  border-radius: 16px;
  padding: 25px;
  position: sticky;
  top: 20px;
  box-shadow: 0 15px 35px #2436400c;
}
.detail-image {
  display: block;
  width: 100%;
  height: 128px;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 10px;
  margin: 15px 0 19px;
}
.detail-image--illustration {
  height: auto;
  aspect-ratio: auto 16 / 9;
}
.detail h2 {
  font-size: 30px;
  line-height: 1.12;
  font-weight: 500;
  margin: 10px 0;
}
.reference {
  font:
    700 14px system-ui,
    sans-serif;
  color: #8a6226;
  margin-bottom: 21px;
}
.section {
  border-top: 1px solid #e9e6dc;
  padding-top: 19px;
  margin-top: 20px;
}
.section h3 {
  font:
    700 12px system-ui,
    sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6a7778;
  margin: 0 0 9px;
}
.section p {
  font:
    16px/1.58 system-ui,
    sans-serif;
  margin: 0;
  color: #34464a;
}
.readlink,
.complete {
  display: block;
  text-align: center;
  border-radius: 9px;
  padding: 13px 16px;
  font:
    700 15px system-ui,
    sans-serif;
  text-decoration: none;
}
.readlink {
  background: #1b3040;
  color: white;
  margin-top: 24px;
}
.readlink:hover {
  background: #2c4b5c;
}
.complete {
  width: 100%;
  background: #e8bd70;
  color: #1b3040;
  border: 0;
  margin-top: 10px;
}
.complete:hover {
  background: #dbad58;
}
.complete.isdone {
  background: #e5eee9;
  color: #2b644b;
}
.note {
  font:
    13px/1.5 system-ui,
    sans-serif;
  color: #697475;
  margin: 17px 0 0;
}
.initiative {
  margin: 0 0 10px;
  color: #34464a;
}
.footer-note {
  margin: 0;
}
.footer {
  border-top: 1px solid #ddd9ce;
  padding: 24px 0 40px;
  color: #687476;
  font:
    14px/1.5 system-ui,
    sans-serif;
}
@media (max-width: 850px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .detail {
    position: static;
    grid-row: 1;
  }
  .intro {
    align-items: start;
    flex-direction: column;
  }
  .mast h1 {
    margin-top: 34px;
  }
}
@media (max-width: 520px) {
  .shell {
    padding-left: 18px;
    padding-right: 18px;
  }
  .mast .shell {
    padding-top: 20px;
    padding-bottom: 30px;
  }
  .mast {
    background-position: 64% center;
  }
  .mast h1 {
    font-size: 48px;
  }
  .mast p {
    font-size: 17px;
  }
  .detail {
    padding: 21px;
  }
  .day {
    grid-template-columns: 44px 1fr auto;
    gap: 9px;
    padding: 10px 7px;
  }
  .daynum {
    height: 43px;
  }
  .daytxt small {
    font-size: 13px;
  }
  .period {
    width: 100%;
  }
  .period button {
    flex: 1;
  }
}
