/* Zebane — folha metálica e douramento. Folha de estilo única para todas as páginas. */

:root {
  --paper: #f1f2f0;
  --paper-alt: #e3e5e2;
  --dark: #141614;
  --ink: #171917;
  --ink-soft: #6a6e6a;
  --green: #2a6b3c;
  --ochre: #8a6a20;
  --rule: #c9ccc8;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --step: 80px;
  --gap: 24px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-transform: none; }

h1 {
  font-size: clamp(33px, 4.6vw, 57px);
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0;
}

h2 {
  font-size: clamp(23px, 2.3vw, 29px);
  line-height: 1.22;
  margin: 0;
}

h3 {
  font-style: italic;
  font-size: 21px;
  line-height: 1.35;
  margin: 34px 0 10px;
}

p { margin: 0 0 20px; max-width: 66ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

a:focus-visible,
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

img { max-width: 100%; height: auto; display: block; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
}

.label {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.14em;
  color: var(--ochre);
  margin: 0;
}

/* ---------- cabeçalho e navegação ---------- */

.site-head {
  padding: 26px 0 22px;
  background: var(--paper);
}

.site-head .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px 32px;
  justify-content: space-between;
}

.brand {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover { color: var(--green); }

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover { border-bottom-color: var(--green); color: var(--green); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--ochre); }

/* ---------- faixas ---------- */

.band { padding: var(--step) 0; background: var(--paper); }
.band--alt { background: var(--paper-alt); }
.band--dark { background: var(--dark); color: var(--paper); }
.band--dark h2, .band--dark h3 { color: var(--paper); }
.band--dark a { color: #9ecdaa; }
.band--dark .label { color: #b79a52; }

/* ---------- hero ---------- */

.hero { padding: 34px 0 var(--step); }

.hero__title { grid-column: 1 / 8; }
.hero__lede { grid-column: 9 / 13; }

.hero__lede p {
  font-size: 17px;
  color: var(--ink);
  max-width: 42ch;
}

.hero__lede .label { margin-bottom: 12px; }

.axis {
  position: relative;
  height: 104px;
  margin-top: 38px;
  max-width: 100%;
}

.axis::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--green);
}

.axis span {
  position: absolute;
  top: 0;
  width: 1px;
  background: var(--green);
}

.axis span::after {
  content: "";
  position: absolute;
  left: -3px;
  bottom: -7px;
  width: 7px;
  height: 7px;
  background: var(--ochre);
}

.axis span:nth-child(1) { left: 0; height: 96px; }
.axis span:nth-child(2) { left: 33%; height: 48px; }
.axis span:nth-child(3) { left: 64%; height: 72px; }

/* ---------- imagem principal ---------- */

.main-figure { margin: 0; }
.main-figure .shot { grid-column: 4 / 13; }
.main-figure figcaption {
  grid-column: 1 / 4;
  align-self: end;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
  padding-bottom: 4px;
}

/* ---------- secções de texto ---------- */

.sec { align-items: start; }
.sec + .sec { margin-top: 56px; }

.sec > h2 {
  grid-column: 1 / 4;
  padding-top: 2px;
}

.sec > h2::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background: var(--green);
  margin-bottom: 16px;
}

.band--dark .sec > h2::before { background: var(--ochre); }

.sec > .col { grid-column: 4 / 11; }

.checklist {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  max-width: 62ch;
}

.checklist li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 7px;
  height: 7px;
  background: var(--green);
}

.band--dark .checklist li::before { background: var(--ochre); }

ol.steps {
  margin: 24px 0 0;
  padding-left: 22px;
  max-width: 62ch;
}

ol.steps li { margin-bottom: 12px; padding-left: 6px; }
ol.steps li::marker { color: var(--ochre); font-size: 13px; letter-spacing: 0.08em; }

.note {
  margin-top: 26px;
  font-size: 15px;
  line-height: 1.68;
  color: var(--ink-soft);
  max-width: 60ch;
}

.band--dark .note { color: #a9aea8; }

/* ---------- secção contrastante com imagem de pormenor ---------- */

.detail__figure { grid-column: 1 / 6; margin: 0; }
.detail__figure figcaption {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.55;
  color: #a9aea8;
  max-width: 34ch;
}
.detail__text { grid-column: 7 / 13; }
.detail__text h2::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background: var(--ochre);
  margin-bottom: 16px;
}

/* ---------- páginas interiores ---------- */

.page-head { padding: 30px 0 var(--step); }
.page-head h1 { grid-column: 1 / 9; }
.page-head .page-lede { grid-column: 9 / 13; align-self: end; }
.page-head .page-lede p { font-size: 16px; color: var(--ink-soft); max-width: 40ch; }

.about-grid {
  display: grid;
  grid-template-columns: 3fr 1px 8fr;
  column-gap: 40px;
  row-gap: 0;
}

.about-rule { grid-column: 2; grid-row: 1 / -1; background: var(--rule); }
.about-grid > h2 { grid-column: 1; padding: 44px 0 0; }
.about-grid > h2:first-of-type { padding-top: 0; }
.about-grid > .about-body { grid-column: 3; padding: 44px 0 0; }
.about-grid > .about-body:first-of-type { padding-top: 0; }

/* ---------- rodapé ---------- */

.site-foot {
  background: var(--dark);
  color: var(--paper);
  padding: 56px 0 44px;
}

.foot-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 32px;
}

.foot-top .foot-name {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.2;
}

.foot-top a { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--ochre); }
.foot-top a:hover { color: #d9bf7a; }

.foot-line { height: 1px; background: #3a3d3a; margin: 26px 0 22px; }

.foot-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0 0 22px;
  padding: 0;
}

.foot-links a { color: var(--paper); font-size: 15px; text-decoration: none; border-bottom: 1px solid transparent; }
.foot-links a:hover { border-bottom-color: #9ecdaa; }

.foot-note {
  font-size: 14px;
  line-height: 1.65;
  color: #a9aea8;
  max-width: 68ch;
  margin: 0;
}

.site-foot a:focus-visible { outline: 2px solid #9ecdaa; outline-offset: 3px; }

/* ---------- comportamento responsivo ---------- */

@media (max-width: 1000px) {
  .hero__title { grid-column: 1 / 9; }
  .hero__lede { grid-column: 1 / 10; margin-top: 34px; }
  .main-figure .shot { grid-column: 3 / 13; }
  .main-figure figcaption { grid-column: 1 / 3; }
  .sec > h2 { grid-column: 1 / 5; }
  .sec > .col { grid-column: 5 / 13; }
  .detail__figure { grid-column: 1 / 7; }
  .detail__text { grid-column: 7 / 13; }
  .page-head h1 { grid-column: 1 / 10; }
  .page-head .page-lede { grid-column: 1 / 10; margin-top: 26px; }
}

@media (max-width: 720px) {
  :root { --step: 48px; --gap: 18px; }

  body { font-size: 16px; }

  .hero { padding: 24px 0 var(--step); }

  .hero__title,
  .hero__lede,
  .main-figure .shot,
  .main-figure figcaption,
  .sec > h2,
  .sec > .col,
  .detail__figure,
  .detail__text,
  .page-head h1,
  .page-head .page-lede {
    grid-column: 1 / -1;
  }

  .main-figure figcaption { margin-top: 12px; padding-bottom: 0; }

  .sec > h2 { margin-bottom: 18px; }
  .sec + .sec { margin-top: 40px; }

  .axis { height: 76px; margin-top: 28px; }
  .axis span:nth-child(1) { height: 68px; }
  .axis span:nth-child(2) { height: 34px; }
  .axis span:nth-child(3) { height: 52px; }

  .detail__text { margin-top: 32px; }

  .about-grid { grid-template-columns: 1fr; column-gap: 0; }
  .about-rule { display: none; }
  .about-grid > h2,
  .about-grid > .about-body { grid-column: 1; }
  .about-grid > h2 { padding-top: 34px; }
  .about-grid > .about-body { padding-top: 14px; }

  .site-head .wrap { flex-direction: column; align-items: flex-start; }
  .site-nav ul { gap: 6px 20px; }

  .foot-top { flex-direction: column; align-items: flex-start; }
  .foot-top .foot-name { font-size: 24px; }
}
