:root {
  --primary: #0eaacc;
  --secondary: #54c5ea;
  --heading: #232323;
  --text: #616161;
  --soft-bg: #faf6f4;
  --border: #e8e8e8;
  --white: #ffffff;
  --container: 1200px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  line-height: 1.875;
}

h1, h2, h3, h4 {
  color: var(--heading);
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  margin: 0;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--secondary); }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  gap: 24px;
}

.site-header .logo img { height: 55px; width: auto; }

.main-nav {
  display: flex;
  gap: 32px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 30px;
}

.main-nav a { color: var(--heading); }
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--primary); }

.mobile-nav { display: none; }

.page-header {
  background: #001322 url('https://sospreces.org.br/wp-content/uploads/2021/12/banner-paginas-peb-site.jpg') center bottom / cover no-repeat;
  min-height: 396px;
  margin-bottom: 50px;
  padding: 60px 16px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.page-header h1 {
  color: var(--white);
  font-size: 48px;
  line-height: 76px;
}

.page-header .accent {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 76px;
  color: var(--white);
}

.breadcrumbs {
  font-size: 14px;
  line-height: 24px;
  margin-top: 8px;
}

.breadcrumbs a { color: var(--white); }
.breadcrumbs a:hover { color: var(--secondary); }
.breadcrumbs span { opacity: .8; }

.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 28px;
  text-transform: uppercase;
  padding: 14px 34px;
  border-radius: 28px;
  transition: background .2s;
}

.btn:hover { background: var(--secondary); color: var(--white); }

.btn-light { background: var(--white); color: var(--primary); }
.btn-light:hover { background: var(--heading); color: var(--white); }

.blog-list {
  padding: 0 0 100px;
}

.blog-intro {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.blog-intro .accent {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: var(--primary);
}

.blog-intro h2 { font-size: 42px; line-height: 60px; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.post-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(0, 0, 0, .08);
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .12);
}

.post-card .cover {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  overflow: hidden;
}

.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }

.post-card .category {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--primary);
  color: var(--white);
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  padding: 2px 14px;
  border-radius: 14px;
}

.post-card .body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }

.post-meta {
  font-size: 14px;
  color: var(--text);
}

.post-card h3 {
  font-size: 22px;
  line-height: 32px;
  margin: 8px 0 12px;
}

.post-card h3 a { color: var(--heading); }
.post-card h3 a:hover { color: var(--primary); }

.post-card p { margin: 0 0 20px; flex: 1; }

.read-more {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
}

.article {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 16px 100px;
}

.article .post-meta { margin-bottom: 12px; }

.article .category-pill {
  background: var(--primary);
  color: var(--white);
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  padding: 2px 14px;
  border-radius: 14px;
  margin-right: 10px;
}

.article h1 {
  font-size: 42px;
  line-height: 56px;
  margin-bottom: 20px;
}

.article .lede {
  font-size: 20px;
  line-height: 1.7;
  color: var(--heading);
  border-left: 4px solid var(--primary);
  padding-left: 20px;
  margin: 0 0 40px;
}

.article h2 {
  font-size: 30px;
  line-height: 40px;
  margin: 48px 0 16px;
}

.article p { margin: 0 0 22px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 40px 0;
}

.stat {
  background: var(--soft-bg);
  border-radius: 10px;
  padding: 24px 16px;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.2;
  color: var(--primary);
}

.stat span { font-size: 14px; line-height: 1.5; display: block; margin-top: 6px; }

.pull-quote {
  position: relative;
  margin: 40px 0;
  padding: 40px 40px 32px;
  background: var(--soft-bg);
  border-radius: 10px;
}

.pull-quote::before {
  content: '\201C';
  position: absolute;
  top: -18px;
  left: 30px;
  font-family: 'Quicksand', sans-serif;
  font-size: 96px;
  line-height: 1;
  color: var(--primary);
}

.pull-quote p {
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.7;
  color: var(--heading);
}

.pull-quote cite {
  font-style: normal;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  color: var(--primary);
}

.pull-quote cite small {
  display: block;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 400;
  color: var(--text);
  font-size: 14px;
}

.help-cta {
  margin-top: 56px;
  padding: 48px 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  text-align: center;
}

.help-cta .accent {
  font-family: 'Amatic SC', cursive;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.1;
}

.help-cta h3 {
  color: var(--white);
  font-size: 30px;
  line-height: 40px;
  margin: 4px 0 12px;
}

.help-cta p { margin: 0 0 24px; }

.help-cta .note { font-size: 14px; opacity: .9; margin: 20px 0 0; }

.share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  color: var(--heading);
}

.share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--soft-bg);
  color: var(--primary);
}

.share a:hover { background: var(--primary); color: var(--white); }

.share svg { width: 18px; height: 18px; fill: currentColor; }

.back-link {
  display: inline-block;
  margin-top: 32px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
}

.site-footer {
  background: var(--soft-bg);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.site-footer h4 {
  font-size: 20px;
  line-height: 30px;
  margin-bottom: 16px;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { color: var(--text); }
.site-footer li a:hover { color: var(--primary); }

.footer-bottom {
  margin-top: 56px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-nav { display: block; position: relative; }

  .mobile-nav summary {
    list-style: none;
    cursor: pointer;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    color: var(--heading);
    padding: 8px 0;
  }

  .mobile-nav summary::-webkit-details-marker { display: none; }

  .mobile-nav nav {
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 220px;
    background: #2d2d2d;
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
  }

  .mobile-nav nav a {
    color: var(--white);
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 40px;
  }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .page-header { min-height: 260px; padding: 40px 16px 56px; }
  .page-header h1 { font-size: 34px; line-height: 44px; }
  .page-header .accent { font-size: 38px; line-height: 48px; }
  .blog-intro h2 { font-size: 30px; line-height: 40px; }
  .post-grid { grid-template-columns: 1fr; }
  .article h1 { font-size: 30px; line-height: 40px; }
  .article .lede { font-size: 18px; }
  .article h2 { font-size: 24px; line-height: 32px; }
  .pull-quote { padding: 36px 22px 24px; }
  .help-cta { padding: 36px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}

.steps {
  list-style: none;
  counter-reset: step;
  margin: 32px 0 40px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.steps li {
  counter-increment: step;
  position: relative;
  background: var(--soft-bg);
  border-radius: 10px;
  padding: 56px 18px 20px;
  font-size: 14px;
  line-height: 1.5;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 16px;
  left: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 30px;
  text-align: center;
}

.steps strong {
  display: block;
  font-family: 'Quicksand', sans-serif;
  font-size: 16px;
  color: var(--heading);
  margin-bottom: 4px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 2px var(--white);
}

.btn-outline-light:hover { background: var(--white); color: var(--primary); }

@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
}

.preview-strip {
  background: #232323;
  color: #ffffff;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  padding: 8px 16px;
}
