﻿@font-face {
  font-family: "Ubuntu";
  src: url("assets/fonts/Ubuntu-R.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ubuntu";
  src: url("assets/fonts/Ubuntu-M.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ubuntu";
  src: url("assets/fonts/Ubuntu-B.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ubuntu Condensed";
  src: url("assets/fonts/Ubuntu-C.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #0c0f0d;
  --graphite: #191e1a;
  --graphite-2: #252b26;
  --olive: #505a46;
  --olive-dark: #3f4839;
  --yellow: #d5b83c;
  --paper: #f3f2ec;
  --paper-light: #faf9f5;
  --line: #c9cbc3;
  --ink: #141714;
  --muted: #5a625b;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  background: #c7c9c5;
  color: var(--ink);
  font-family: "Ubuntu", Arial, sans-serif;
}

body {
  margin: 0;
  background: #c7c9c5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

.portfolio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 28px 0;
}

.portfolio-page {
  position: relative;
  width: 210mm;
  height: 297mm;
  overflow: hidden;
  background: var(--paper);
  page-break-after: always;
  break-after: page;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.17);
}

.portfolio-page:last-child {
  page-break-after: auto;
  break-after: auto;
}

.paper-page {
  background: var(--paper);
}

.dark-page {
  background: var(--graphite);
  color: var(--white);
}

.page-header {
  position: relative;
  z-index: 10;
  height: 22mm;
  padding: 0 15mm;
  display: grid;
  grid-template-columns: 1fr auto 26px;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 242, 236, 0.98);
}

.page-header > p,
.page-header > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.page-header > span {
  text-align: right;
}

.page-header-dark {
  border-color: rgba(255, 255, 255, 0.18);
  background: var(--black);
}

.page-header-dark > p,
.page-header-dark > span {
  color: #c7ccc7;
}

.brand-lockup {
  display: inline-flex;
  align-items: baseline;
  width: fit-content;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.4px;
}

.brand-main {
  font-size: 24px;
  color: var(--ink);
}

.brand-sub {
  margin-left: 6px;
  padding-left: 6px;
  border-left: 2px solid var(--yellow);
  color: var(--olive-dark);
  font-size: 12px;
  letter-spacing: 1.2px;
}

.brand-lockup-light .brand-main,
.brand-lockup-light .brand-sub {
  color: var(--white);
}

.brand-lockup-light .brand-sub {
  color: #d6dbd6;
}

.page-content {
  padding: 13mm 15mm 12mm;
}

.eyebrow {
  color: var(--olive-dark);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2.3px;
  text-transform: uppercase;
}

.eyebrow-accent {
  color: var(--yellow);
}

h1,
h2,
h3 {
  font-family: "Ubuntu Condensed", "Arial Narrow", sans-serif;
  font-weight: 400;
}

.page-content > h2,
.scope-heading h2,
.method-body > h2,
.final-content > h2 {
  max-width: 158mm;
  margin-top: 4mm;
  color: var(--ink);
  font-size: 48px;
  line-height: 0.98;
  letter-spacing: -1px;
}

/* Cover */

.cover-page {
  background: var(--black);
  color: var(--white);
}

.cover-photo {
  position: absolute;
  inset: 0 0 auto 0;
  height: 173mm;
  background: url("images/portfolio/caminhoes/caminhao-terreno-adverso.jpg") center 45% / cover no-repeat;
}

.cover-brandbar {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  height: 24mm;
  padding: 0 15mm;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--black);
  color: var(--white);
}

.cover-edition {
  color: #cdd2cd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.cover-content {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  height: 124mm;
  padding: 16mm 15mm 12mm;
  background: var(--black);
}

.cover-content h1 {
  margin-top: 4mm;
  font-size: 67px;
  line-height: 0.88;
  letter-spacing: -1.8px;
}

.cover-lead {
  width: 147mm;
  margin-top: 7mm;
  color: #e0e4e0;
  font-size: 16px;
  line-height: 1.52;
}

.cover-rule {
  width: 28mm;
  height: 3px;
  margin-top: 8mm;
  background: var(--yellow);
}

.cover-audience {
  width: 154mm;
  margin-top: 5mm;
  color: #abb2ac;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.2px;
}

/* Page 2 */

.page-two-content {
  padding-top: 12mm;
}

.page-two-content > h2 {
  width: 169mm;
  font-size: 51px;
}

.editorial-columns {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 12mm;
  margin-top: 10mm;
}

.editorial-columns p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.editorial-columns p + p {
  margin-top: 4mm;
}

.editorial-columns .editorial-lead {
  margin-bottom: 4mm;
  color: var(--ink);
  font-family: "Ubuntu Condensed", sans-serif;
  font-size: 22px;
  line-height: 1.24;
}

.editorial-statement {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8mm;
  padding: 4.5mm 6mm;
  border-left: 4px solid var(--yellow);
  background: var(--graphite);
  color: var(--white);
}

.editorial-statement strong,
.editorial-statement span {
  font-size: 14.5px;
  line-height: 1.3;
}

.editorial-statement span {
  color: #c6ccc6;
}

.wide-photo {
  margin-top: 7mm;
}

.wide-photo img {
  height: 116mm;
  object-fit: cover;
  object-position: center 42%;
}

.wide-photo figcaption,
.scope-photo figcaption,
.method-photo figcaption,
.management-photo figcaption {
  padding: 3mm 4mm;
  background: var(--black);
  color: #d4d8d4;
  font-size: 11.5px;
  line-height: 1.45;
  letter-spacing: 0.15px;
}

/* Page 3 */

.management-content {
  padding-top: 12mm;
}

.management-content > h2 {
  width: 160mm;
  color: var(--white);
  font-size: 52px;
}

.management-intro {
  width: 147mm;
  margin-top: 5mm;
  color: #c7cdc7;
  font-size: 15px;
  line-height: 1.6;
}

.management-grid {
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  gap: 9mm;
  margin-top: 9mm;
}

.management-list {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.management-item {
  display: grid;
  grid-template-columns: 12mm 1fr;
  gap: 5mm;
  padding: 6mm 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.management-item > span {
  color: var(--yellow);
  font-family: "Ubuntu Condensed", sans-serif;
  font-size: 20px;
}

.management-item h3 {
  color: var(--white);
  font-size: 23px;
  line-height: 1.05;
}

.management-item p {
  margin-top: 2.5mm;
  color: #bfc6c0;
  font-size: 14.5px;
  line-height: 1.5;
}

.management-photo img {
  height: 132mm;
  object-fit: cover;
  object-position: 48% center;
}

.governance-note {
  display: grid;
  grid-template-columns: 42mm 1fr;
  align-items: center;
  gap: 8mm;
  margin-top: 9mm;
  padding: 7mm 8mm;
  background: var(--olive);
}

.governance-label {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.9px;
}

.governance-note p {
  color: var(--white);
  font-size: 14.5px;
  line-height: 1.55;
}

/* Page 4 */

.scope-content {
  padding-top: 11mm;
}

.scope-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 10mm;
}

.scope-heading h2 {
  margin-top: 4mm;
  font-size: 47px;
}

.scope-heading > p {
  padding-bottom: 1mm;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.scope-photo {
  margin-top: 8mm;
}

.scope-photo img {
  height: 70mm;
  object-fit: cover;
  object-position: center 43%;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 11mm;
  margin-top: 7mm;
  border-top: 1px solid var(--line);
}

.scope-grid article {
  position: relative;
  min-height: 29mm;
  padding: 5mm 0 4.5mm 6mm;
  border-bottom: 1px solid var(--line);
}

.scope-grid article::before {
  content: "";
  position: absolute;
  top: 6mm;
  left: 0;
  width: 2.5mm;
  height: 2.5mm;
  background: var(--yellow);
}

.scope-grid h3 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.05;
}

.scope-grid p {
  margin-top: 2mm;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

/* Page 5 */

.method-page {
  background: var(--paper);
}

.method-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.method-photo {
  position: absolute;
  top: 22mm;
  left: 0;
  right: 0;
}

.method-photo img {
  height: 78mm;
  object-fit: cover;
  object-position: center 44%;
}

.method-photo figcaption {
  padding-left: 15mm;
  padding-right: 15mm;
}

.method-body {
  position: absolute;
  top: 112mm;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 11mm 15mm 10mm;
}

.method-body > h2 {
  margin-top: 4mm;
  font-size: 46px;
}

.method-intro {
  width: 156mm;
  margin-top: 4mm;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.method-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12mm;
  margin-top: 6mm;
}

.method-step {
  display: grid;
  grid-template-columns: 9mm 1fr;
  gap: 4mm;
  min-height: 30mm;
  padding: 4.5mm 0;
  border-top: 1px solid var(--line);
}

.method-step > span {
  color: var(--olive-dark);
  font-family: "Ubuntu Condensed", sans-serif;
  font-size: 22px;
}

.method-step h3 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.08;
}

.method-step p {
  margin-top: 1.7mm;
  color: var(--muted);
  font-size: 13.8px;
  line-height: 1.47;
}

.principle-box {
  margin-top: 4mm;
  padding: 5mm 6mm;
  background: var(--olive);
  color: var(--white);
}

.principle-box span {
  color: var(--yellow);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
}

.principle-box p {
  margin-top: 2.5mm;
  font-size: 13px;
  line-height: 1.5;
}

/* Page 6 */

.final-content {
  padding-top: 9mm;
}

.final-content > h2 {
  width: 166mm;
  font-size: 49px;
}

.final-intro {
  width: 162mm;
  margin-top: 5mm;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.62;
}

.final-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 12mm;
  margin-top: 6mm;
}

.result-column > h3,
.deliverable-column > h3 {
  padding-bottom: 3mm;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
  font-size: 22px;
}

.result-column article {
  display: grid;
  grid-template-columns: 9mm 1fr;
  gap: 4mm;
  padding: 4.3mm 0;
  border-bottom: 1px solid var(--line);
}

.result-column article > span {
  color: var(--olive-dark);
  font-family: "Ubuntu Condensed", sans-serif;
  font-size: 18px;
}

.result-column strong {
  color: var(--ink);
  font-size: 13.8px;
}

.result-column p {
  margin-top: 1.5mm;
  color: var(--muted);
  font-size: 13.2px;
  line-height: 1.45;
}

.deliverable-column ul {
  margin: 4mm 0 0;
  padding: 0;
  list-style: none;
}

.deliverable-column li {
  position: relative;
  padding: 3.3mm 0 3.3mm 6mm;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.35;
}

.deliverable-column li::before {
  content: "";
  position: absolute;
  top: 4.5mm;
  left: 0;
  width: 2.4mm;
  height: 2.4mm;
  background: var(--yellow);
}

.format-note {
  margin-top: 6mm;
  padding: 5mm 6mm;
  border-left: 3px solid var(--yellow);
  background: #e7e7df;
}

.format-note span {
  color: var(--olive-dark);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
}

.format-note p {
  margin-top: 2.5mm;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.results-disclaimer {
  margin-top: 3.5mm;
  color: #6d746d;
  font-size: 11.5px;
  line-height: 1.4;
}

.contact-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 67mm;
  padding: 10mm 15mm;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12mm;
  align-items: start;
  background: var(--black);
  color: var(--white);
}

.contact-panel h2 {
  margin-top: 4mm;
  font-size: 30px;
  line-height: 1.02;
}

.contact-details {
  display: grid;
  gap: 3.5mm;
}

.contact-details a {
  color: #e4e8e4;
  font-size: 13px;
  line-height: 1.3;
}

.contact-details span {
  display: block;
  margin-bottom: 1mm;
  color: #8f9991;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

@media screen and (max-width: 900px) {
  body {
    overflow-x: hidden;
  }

  .portfolio {
    display: block;
    padding: 0;
  }

  .portfolio-page {
    width: 100vw;
    height: auto;
    min-height: 141.43vw;
    box-shadow: none;
  }

  .portfolio-page:not(:first-child) {
    display: none;
  }

  .cover-photo {
    height: 58.25vw;
  }

  .cover-brandbar {
    height: 8.08vw;
    padding: 0 7.14vw;
  }

  .cover-content {
    height: 58.25vw;
    padding: 7.6vw 7.14vw 5.7vw;
  }

  .cover-content h1 {
    font-size: clamp(38px, 8.4vw, 67px);
  }

  .cover-lead {
    width: 100%;
    font-size: clamp(11px, 1.9vw, 15px);
  }

  .cover-audience {
    width: 100%;
  }
}

@page {
  size: A4;
  margin: 0;
}

@media print {
  html,
  body {
    background: transparent;
  }

  .portfolio {
    display: block;
    padding: 0;
  }

  .portfolio-page {
    width: 210mm;
    height: 297mm;
    box-shadow: none;
  }
}

