/* ============================================================
   Artigo Couro · Scot Consultoria — folha de estilos
   Cores e tipografia seguem o Design System Scot (verde/laranja/
   dourado). Unidades em px (padrão web), nada de mm/pt.
   ============================================================ */

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

  --font-display: "Bree Serif", Georgia, serif;
  --font-body: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

::selection {
  background: var(--scot-gold);
  color: #fff;
}

/* ================= NAV ================= */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--scot-gray-300);
}

.site-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 28px;
  gap: 16px;
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  text-decoration: none;
}

.site-nav__logo {
  height: 22px;
  width: auto;
  display: block;
}

.site-nav__brand-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--scot-gold);
  font-weight: 700;
  text-transform: uppercase;
  border-left: 1px solid var(--scot-gray-300);
  padding-left: 10px;
  white-space: nowrap;
}

.site-nav__sections {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 8px 28px 10px;
  border-top: 1px solid #e5e2d8;
  overflow-x: auto;
  white-space: nowrap;
}

.site-nav__link {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--scot-text);
  text-decoration: none;
  border: 0;
  font-weight: 700;
  flex-shrink: 0;
}

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

.cover {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.cover__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.cover__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 38%,
    rgba(0, 0, 0, 0.06) 60%,
    rgba(0, 0, 0, 0.18) 100%
  );
}

.cover__panel {
  position: relative;
  z-index: 3;
  width: 38%;
  min-width: 320px;
  background: var(--scot-green);
  color: var(--scot-white);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cover__logo {
  height: 34px;
  width: auto;
  display: block;
}

.cover__kicker {
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--scot-gold-light);
  font-weight: 700;
}

.cover__issue {
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--scot-cream);
  font-family: var(--font-display);
}

.cover__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--scot-white);
}

.cover__lead {
  font-style: italic;
  font-size: 16px;
  color: var(--scot-cream);
  line-height: 1.5;
  margin: 0 0 24px;
  max-width: 46ch;
}

.cover__byline {
  font-size: 12px;
  color: var(--scot-gold-light);
  line-height: 1.6;
}

.cover__byline-email {
  margin-top: 6px;
}

.cover__link-row {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 11px;
  color: var(--scot-cream);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.cover__link {
  color: var(--scot-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.cover__photo-area {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 20px 28px;
}

.cover__credit {
  font-size: 11px;
  color: var(--scot-white);
  background: rgba(0, 0, 0, 0.35);
  padding: 5px 10px;
  border-radius: 2px;
  letter-spacing: 0.03em;
}

/* ================= SUMÁRIO + EXPEDIENTE ================= */

.summary-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--scot-gray-300);
}

.summary-section__wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.summary-section__kicker {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--scot-gold);
  font-weight: 700;
  margin-bottom: 16px;
}

.toc-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  border-top: 2px solid var(--scot-green);
  border-bottom: 2px solid var(--scot-green);
}

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

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

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

.toc-nav__label {
  font-family: var(--font-display);
  font-size: 17px;
}

.expediente {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  background: var(--scot-cream);
  padding: 24px 28px;
}

.expediente__title {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--scot-gold);
  font-weight: 700;
  margin-bottom: 10px;
}

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

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

/* ================= SEÇÕES DE ARTIGO ================= */

.article-section {
  padding: 64px 0;
}

.article-section--alt {
  background: var(--scot-cream);
}

.article-section__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 28px;
}

.article-section__kicker {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--scot-gold);
  font-weight: 700;
  margin-bottom: 10px;
}

.article-section__title {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--scot-green);
  border-bottom: 2px solid var(--scot-green);
  padding-bottom: 12px;
  margin: 0 0 24px;
}

.article-section p {
  font-size: 17px;
  text-align: left;
  margin: 0 0 18px;
}

.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.35;
  color: var(--scot-green);
  border-left: 3px solid var(--scot-gold);
  padding: 4px 24px;
  margin: 40px 0;
  max-width: 56ch;
}

/* ================= FIGURAS / GRÁFICOS ================= */

.figure {
  margin: 36px 0;
}

.figure__caption {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--scot-text);
  margin-bottom: 4px;
}

.figure__source {
  font-size: 12px;
  color: var(--scot-gray);
  margin-top: 8px;
}

.figure__photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.figure__photo-caption {
  font-size: 12px;
  color: var(--scot-gray);
  margin-top: 8px;
}

.chart {
  height: 320px;
  margin-top: 10px;
}

.chart--tall {
  height: 340px;
}

.chart--short {
  height: 280px;
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.chart-grid__label {
  font-size: 12px;
  color: var(--scot-gray);
  text-align: center;
  margin-bottom: 4px;
}

.chart-block {
  margin-top: 10px;
}

.chart-block + .chart-block {
  margin-top: 20px;
}

.chart-block__label {
  font-size: 12px;
  color: var(--scot-gray);
  text-align: center;
  margin-bottom: 4px;
}

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

.site-footer {
  background: var(--scot-green-dark);
  color: var(--scot-cream);
  padding: 48px 28px 28px;
}

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

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 28px;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-footer__logo {
  height: 48px;
  width: auto;
}

.site-footer__cta-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--scot-white);
}

.site-footer__cta-link {
  color: var(--scot-gold-light);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 197, 160, 0.5);
}

.site-footer__contact {
  font-size: 13px;
  color: var(--scot-cream);
  line-height: 1.7;
}

.site-footer__social {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.site-footer__social-title {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--scot-gold-light);
  font-weight: 700;
}

.site-footer__social-list {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  text-decoration: none;
}

.site-footer__meta {
  margin-top: 20px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--scot-gold-light);
}
