/*
  PALETA CENTRALIZADA:
  As variáveis abaixo concentram as cores do layout para facilitar a manutenção
  caso o CSS oficial do site seja carregado em conjunto com este artigo.
*/

/* FLOATING CTA */
.float-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.float-cta a {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  text-decoration: none;
  color: white;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12)
}

.wa-btn {
  background: linear-gradient(180deg, #48e222, #176b33)
}

:root {
  --primary: #16283f;
  --primary-dark: #0d1b2d;
  --accent: #b5965a;
  --accent-light: #d1b77d;
  --text: #26313d;
  --muted: #6d7680;
  --background: #f7f5f0;
  --surface: #ffffff;
  --border: #e5e1d8;
  --shadow: 0 16px 45px rgba(13, 27, 45, .08);
  --radius: 3px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.8;
}

a {
  color: inherit;
}

.article-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 42px 24px 80px;
}

.breadcrumb {
  margin-bottom: 30px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.article-header {
  padding: 54px clamp(28px, 6vw, 76px) 42px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--primary);
  font-weight: 600;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.lead {
  max-width: 820px;
  margin: 24px 0 0;
  color: #59636e;
  font-size: 19px;
  line-height: 1.75;
}

.article-meta {
  margin-top: 26px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

.article-body {
  padding: 42px clamp(28px, 6vw, 76px) 70px;
}

.article-body>p,
.article-body>ul,
.article-body>ol,
.article-body>blockquote,
.article-body>.highlight,
.article-body>.toc {
  max-width: 820px;
}

.article-body p {
  margin: 0 0 23px;
  font-size: 17px;
}

.article-body h2 {
  margin: 54px 0 19px;
  padding-top: 8px;
  font-size: 29px;
  line-height: 1.3;
}

.article-body h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-top: 13px;
  background: var(--accent);
}

.article-body ul {
  margin: 0 0 25px;
  padding-left: 25px;
  font-size: 17px;
}

.article-body li {
  margin: 7px 0;
}

.toc {
  margin: 8px 0 42px;
  padding: 25px 28px;
  background: #faf9f6;
  border-left: 3px solid var(--accent);
}

.toc strong {
  display: block;
  margin-bottom: 10px;
  color: var(--primary);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.toc a {
  color: var(--primary);
  text-decoration: none;
}

.toc a:hover {
  color: var(--accent);
}

.highlight {
  margin: 34px 0;
  padding: 28px 30px;
  background: var(--primary);
  color: #fff;
  border-left: 4px solid var(--accent);
}

.highlight p {
  margin: 0;
  color: #fff;
  font-size: 18px;
}

.highlight strong {
  color: var(--accent-light);
}

.cta {
  margin-top: 55px;
  padding: 42px clamp(28px, 5vw, 55px);
  background: var(--primary);
  color: #fff;
  text-align: center;
  border-top: 3px solid var(--accent);
}

.cta h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 30px;
}

.cta h2::after {
  display: none;
}

.cta p {
  max-width: 680px;
  margin: 0 auto 24px;
  color: #e8edf2;
}

.cta a {
  display: inline-block;
  padding: 13px 24px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.cta a:hover {
  background: var(--accent-light);
}

.site-footer {
  padding: 34px 24px;
  background: var(--primary-dark);
  color: #cdd4dc;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

@media (max-width: 760px) {

  .article-wrap {
    padding: 25px 14px 55px;
  }

  .article-header,
  .article-body {
    padding-left: 22px;
    padding-right: 22px;
  }

  h1 {
    font-size: 35px;
  }

  .lead {
    font-size: 17px;
  }

  .article-body p,
  .article-body ul {
    font-size: 16px;
  }

  .article-body h2 {
    font-size: 25px;
  }
}

    .related {
        max-width: 820px;
        margin: 40px 0 0;
        padding: 22px 26px;
        border: 1px solid var(--border);
        display: grid;
        gap: 6px
    }

    .related strong {
        color: var(--primary);
        font: 700 12px Arial, sans-serif;
        letter-spacing: .1em;
        text-transform: uppercase
    }

    .related a {
        color: var(--primary)
    }
