/* ============================================================
   Carta Insumos · Fósforo mais caro — folha de estilos
   Cores/fontes seguem o Design System Scot. Unidades em px.
   ============================================================ */

:root {
  --scot-green: #345c28;
  --scot-green-dark: #2a4820;
  --scot-orange: #e47824;
  --scot-orange-light: #f2a05e;
  --scot-gold: #b0946c;
  --scot-gold-light: #d9c5a0;
  --scot-text: #1a1a1a;
  --scot-gray: #666666;
  --scot-gray-300: #cccccc;
  --scot-cream: #f2f0ea;
  --scot-white: #ffffff;

  --font-heading: "Bree Serif", serif;
  --font-body: "Poppins", Arial, sans-serif;
  --font-caption: "Source Sans Pro", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--scot-white);
  font-family: var(--font-body);
  color: var(--scot-text);
}

a {
  color: var(--scot-green);
  text-decoration: none;
  border-bottom: 1px solid var(--scot-gray-300);
}

a:hover {
  color: var(--scot-orange);
  border-color: var(--scot-orange);
}

/* ================= CAPA ================= */

.cover {
  position: relative;
  width: 100%;
  height: 640px;
  overflow: hidden;
  background: #1a1a1a;
}

.cover__bg {
  position: absolute;
  inset: 0;
}

.cover__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cover__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 15, 12, 0.18) 0%,
    rgba(15, 15, 12, 0.32) 45%,
    rgba(15, 15, 12, 0.92) 100%
  );
  pointer-events: none;
}

.cover__brand {
  position: absolute;
  top: 28px;
  left: 32px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}

.cover__brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 9px;
  background: var(--scot-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover__brand-icon img {
  width: 34px;
  height: 34px;
  display: block;
}

.cover__brand-text {
  display: flex;
  flex-direction: column;
}

.cover__brand-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.05em;
  color: var(--scot-white);
}

.cover__brand-issue {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--scot-gold-light);
  text-transform: uppercase;
}

.cover__content {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 44px;
  pointer-events: none;
}

.cover__kicker {
  display: inline-block;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--scot-orange-light);
  margin-bottom: 16px;
}

.cover__title {
  font-family: Montserrat, sans-serif;
  font-weight: 400;
  font-size: clamp(32px, 5.5vw, 58px);
  line-height: 1.06;
  color: var(--scot-white);
  margin: 0 0 14px;
  max-width: 820px;
}

.cover__lead {
  font-family: Montserrat, sans-serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.4;
  color: var(--scot-cream);
  max-width: 620px;
  margin: 0;
}

/* ================= FAIXA SOB A CAPA ================= */

.cover-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  padding: 10px 32px;
  background: var(--scot-green-dark);
}

.cover-bar__label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--scot-gold-light);
  text-transform: uppercase;
}

.cover-bar__link {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--scot-gold-light);
  border-bottom: 1px solid rgba(217, 197, 160, 0.4);
}

/* ================= COLUNA PRINCIPAL ================= */

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 24px;
}

.doc__lead {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.5;
  color: #2c2925;
  margin: 0 0 8px;
}

.doc__title-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 2px solid var(--scot-green);
  padding-bottom: 16px;
  margin-bottom: 32px;
}

.doc__title-bar-label {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--scot-gray);
}

.doc p {
  font-size: 16px;
  line-height: 1.68;
  text-align: left;
  margin: 0 0 16px;
}

/* ================= SUMÁRIO ================= */

.toc-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border-top: 2px solid var(--scot-text);
  border-bottom: 2px solid var(--scot-text);
  margin: 0 0 40px;
}

.toc-nav__link {
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  border-right: 1px solid var(--scot-gray-300);
  border-bottom: 1px solid var(--scot-gray-300);
  color: var(--scot-text);
}

.toc-nav__link:last-child {
  border-right: 0;
}

.toc-nav__num {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  color: var(--scot-gold);
  letter-spacing: 0.12em;
}

.toc-nav__label {
  font-family: var(--font-heading);
  font-size: 15px;
  margin-top: 4px;
}

.toc-nav__filler {
  border-bottom: 1px solid var(--scot-gray-300);
}

/* ================= EXPEDIENTE ================= */

.expediente {
  background: var(--scot-cream);
  border-radius: 4px;
  padding: 24px 28px;
  margin: 0 0 32px;
}

.expediente__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--scot-gold);
  text-transform: uppercase;
}

.expediente__credits {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--scot-text);
  margin: 10px 0 0;
}

.expediente__legal {
  font-size: 12px;
  line-height: 1.7;
  color: var(--scot-gray);
  margin: 12px 0 0;
}

/* ================= CABEÇALHO DE SEÇÃO ================= */

.section-header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 48px 0 20px;
  border-top: 1px solid var(--scot-gray-300);
  padding-top: 28px;
}

.section-header--first {
  margin: 0 0 20px;
  border-top: 0;
  padding-top: 0;
}

.section-header__num {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: var(--scot-gold);
  letter-spacing: 0.16em;
}

.section-header__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 27px;
  color: var(--scot-green);
  margin: 0;
}

/* ================= FIGURAS ================= */

.figure {
  margin: 0 0 40px;
  background: var(--scot-cream);
  border-radius: 4px;
  overflow: hidden;
}

.figure--tight {
  margin-bottom: 8px;
}

.figure__head {
  padding: 18px 20px 0;
}

.figure__label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--scot-green);
  text-transform: uppercase;
}

.figure__title {
  font-size: 14px;
  color: var(--scot-text);
  margin: 4px 0 12px;
  font-weight: 600;
}

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

.figure figcaption {
  padding: 10px 20px 18px;
  font-family: var(--font-caption);
  font-style: italic;
  font-size: 12px;
  color: var(--scot-gray);
}

.figure figcaption a {
  color: var(--scot-green);
  border-bottom: 1px solid var(--scot-gray-300);
}

/* ================= FOOTER ================= */

.site-footer {
  background: #1a1a1a;
  color: var(--scot-cream);
  padding: 48px 32px;
  margin-top: 16px;
}

.site-footer__wrap {
  max-width: 760px;
  margin: 0 auto;
}

.site-footer__logo {
  height: 44px;
  margin-bottom: 20px;
  display: block;
}

.site-footer__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 14px;
  color: var(--scot-white);
}

.site-footer__contact {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
  color: var(--scot-cream);
}

.site-footer__contact a {
  color: var(--scot-cream);
  border-bottom: 1px solid rgba(242, 240, 234, 0.4);
}

.site-footer__meta {
  opacity: 0.65;
  font-size: 12px;
  margin-top: 24px;
}

/* ================= REDES SOCIAIS ================= */

.social-strip {
  background: var(--scot-green-dark);
  padding: 32px;
  text-align: center;
}

.social-strip__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--scot-gold-light);
  text-transform: uppercase;
}

.social-strip__list {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.social-icon {
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--scot-green);
}
